Update x86_64 ULps for AMD K10
[glibc.git] / ChangeLog
blobaa8eb36660bec9a33af4e30af31de0bcdc93789f
1 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
3         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
7         * math/auto-libm-test-in: Add tests of lgamma.
8         * math/auto-libm-test-out: Regenerated.
9         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
10         (M_LOG_2_SQRT_PIl): Likewise.
11         (lgamma_test_data): Use AUTO_TESTS_f_f1.
12         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13         mpfr_f_f1.
14         (func_calc_desc): Add mpfr_f_f1 union field.
15         (ARGS1): New macro.
16         (ARGS2): Likewise.
17         (ARGS3): Likewise.
18         (ARGS4): Likewise.
19         (RET1): Likewise.
20         (RET2): Likewise.
21         (CALC): Likewise.
22         (FUNC): Likewise.
23         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
24         (test_functions): Add lgamma.
25         (calc_generic_results): Handle mpfr_f_f1.
26         * sysdeps/i386/fpu/libm-test-ulps: Update.
27         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
32         __mpn_add_n for PowerPC64/POWER7.
33         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
34         __mpn_sub_n for PowerPC64/POWER7.
36 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
39         __mpn_addmul_1 for PowerPC64.
40         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
41         __mpn_submul_1 for PowerPC64.
42         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
43         for PowerPC64.
44         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
45         for PowerPC64.
47 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
49         [BZ #15089]
50         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
52 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
56 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
59         add multiarch folders.
60         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
61         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
62         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
63         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
64         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
65         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
66         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
67         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
68         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
69         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
70         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
71         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
72         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
73         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
74         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
75         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
76         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
78 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
81         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
82         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
83         New file.
84         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
85         New file.
86         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
87         multiarch __ieee754_hypot for PowerPC32.
88         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
89         New file.
90         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
91         New file.
92         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
93         multiarch __ieee754_hypotf for PowerPC32.
95 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
97         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
98         long_double_symbol only if __logbl is defined.
99         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
100         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
101         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
102         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
103         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
104         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
105         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
106         path for implementation.
107         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
108         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
110         logb, and logbl multiarch implementations for PowerPC32.
111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
112         file.
113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
114         file.
115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
116         multiarch logb for PowerPC32.
117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
118         file.
119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
120         file.
121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
122         multiarch logbf for PowerPC32.
123         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
125         file.
126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
127         multiarch logbl implementation for PowerPC32.
129 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
132         and modff multiarch implementations.
133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
134         New file.
135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
136         New file.
137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
138         multiarch modf for PowerPC32.
139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
140         New file.
141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
142         New file.
143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
144         multiarch modff for PowerPC32.
146 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
149         and lrintf multiarch implementations.
150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
151         New file.
152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
153         New file.
154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
155         multiarch lrint for PowerPC32.
156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
157         file: multiarch lrintf for PowerPC32.
159 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
162         and lroundf multiarch implementations.
163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
164         New file.
165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
166         New file.
167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
168         New file.
169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
170         multiarch lround for PowerPC32.
171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
172         file: multiarch lroundf for PowerPC32.
174 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
177         copysign and copysignf multiarch implementations.
178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
179         New file.
180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
181         New file.
182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
183         file: multiarch copysign for PowerPC32.
184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
185         file: multiarch copysignf for PowerPC32.
187 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
190         and truncf multiarch implementations.
191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
192         New file.
193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
194         file.
195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
196         multiarch trunc for PowerPC32.
197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
198         New file.
199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
200         New file.
201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
202         multiarch truncf for PowerPC32.
204 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
207         and roundf multiarch implementations.
208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
209         New file.
210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
211         file.
212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
213         multiarch round for PowerPC32.
214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
215         New file.
216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
217         New file.
218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
219         multiarch roundf for PowerPC32.
221 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
224         and floorf multiarch implementations.
225         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
226         New file.
227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
228         file.
229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
230         multiarch floor for PowerPC32.
231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
232         New file.
233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
234         New file.
235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
236         multiarch floorf for PowerPC32.
238 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
240         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
241         and ceilf multiarch implementations.
242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
243         New file.
244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
245         file.
246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
247         multiarch ceil for PowerPC32.
248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
249         New file.
250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
251         file.
252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
253         multiarch ceilf for PowerPC32.
255 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
257         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
258         is defined.
259         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
260         FINITEF is defined.
261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
262         and finitef multiarch implementations.
263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
264         New file.
265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
266         file.
267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
268         multiarch finite for PowerPC32.
269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
270         New file.
271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
272         file: multiarch finitef for PowerPC32.
274 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
277         and isinff multiarch implementations.
278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
279         file.
280         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
281         file.
282         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
283         multiarch isinf for PowerPC32.
284         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
285         New file.
286         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
287         multiarch isinff for PowerPC32.
289 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
291         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
292         alias when __isnan is defined.
293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
294         and isnanf multiarch implementations.
295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
296         file.
297         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
298         file.
299         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
300         file.
301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
302         file.
303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
304         multiarch isnan for PowerPC32.
305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
306         New file.
307         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
308         New file.
309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
310         multiarch isnanf for PowerPC32.
312 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
314         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
315         and sqrtf multiarch implementations.
316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
317         file.
318         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
319         file.
320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
321         multiarch sqrt for PowerPC32.
322         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
323         file.
324         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
325         file.
326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
327         multiarch sqrtf for PowerPC32.
329 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
331         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
332         and llroundf multiarch implementations.
333         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
334         New file.
335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
336         New file.
337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
338         New file.
339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
340         file: multiarch llround for PowerPC32.
341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
342         file: multiarch llroundf for PowerPC32.
344 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
347         multiarch PowerPC32 fpu implementations.
348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
349         New file.
350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
351         New file.
352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
353         multiarch llrint for PowerPC32.
354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
355         New file.
356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
357         New file.
358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
359         file.
361 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
365 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
367         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
368         file.
369         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
370         file.
371         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
372         file.
373         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
374         multiarch wordcopy for PPC32.
375         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
376         wordcopy objects.
377         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
378         (__libc_ifunc_impl_list): Likewise.
379         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
380         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
381         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
382         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
383         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
384         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
386 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
388         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
389         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
390         file.
391         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
392         file.
393         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
394         file.
395         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
396         multiarch wcscpy for PPC32.
397         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
398         multiarch objects.
399         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
400         (__libc_ifunc_impl_list): Likewise.
401         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
402         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
403         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
404         sysdeps/powerpc/power6/wcscpy.c.
406 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
408         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
409         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
410         file.
411         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
412         file.
413         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
414         file.
415         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
416         multiarch wcsrchr for PPC32.
417         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
418         multiarch objects.
419         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
420         (__libc_ifunc_impl_list): Likewise.
421         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
422         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
423         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
424         sysdeps/powerpc/power6/wcsrchr.c.
426 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
428         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
429         file.
430         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
431         file.
432         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
433         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
434         multiarch wcschr for PPc32.
435         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
436         multiarch objects.
437         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
438         (__libc_ifunc_impl_list): Likewise.
439         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
440         * sysdeps/powerpc/power6/wcschr.c: ... to here.
441         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
442         sysdeps/powerpc/power6/wcschr.c.
444 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
446         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
447         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
448         file.
449         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
450         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
451         file: multiarch strchr for PPC32.
452         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
453         multiarch objects.
454         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
455         (__libc_ifunc_impl_list): Likewise.
457 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
459         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
460         name.
461         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
462         file.
463         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
464         file.
465         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
466         multiarch strchrnul for PPC32.
467         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
468         multiarch objects.
469         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
470         (__libc_ifunc_impl_list): Likewise.
472 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
474         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
475         file.
476         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
477         multiarch strncasecmp for PPC32.
478         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
479         file.
480         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
481         multiarch strncasecmp_l for PPC32.
482         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
483         strncasecmp multiarch objects.
484         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
485         (__libc_ifunc_impl_list): Likewise.
487 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
489         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
490         file.
491         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
492         multiarch strncasecmp for PPC32.
493         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
494         New file.
495         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
496         multiarch strcasecmp_l for PPC32.
497         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
498         multiarch objects.
499         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
500         (__libc_ifunc_impl_list): Likewise.
502 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
504         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
505         file.
506         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
507         file.
508         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
509         multiarch strncmp for PPC32.
510         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
511         multiarch objects.
512         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
513         (__libc_ifunc_impl_list): Likewise.
515 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
517         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
518         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
519         file.
520         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
521         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
522         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
523         multiarch objects.
524         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
525         (__libc_ifunc_impl_list): Likewise.
527 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
529         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
530         file.
531         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
532         file.
533         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
534         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
535         multiarch objects.
536         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
537         (__libc_ifunc_impl_list): Likewise.
539 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
541         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
542         file.
543         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
544         file.
545         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
546         multiarch rawmemchr for PPC32.
547         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
548         multiarch objects.
549         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
550         (__libc_ifunc_impl_list): Likewise.
552 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
554         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
555         file.
556         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
557         file.
558         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
559         file: memrchr multiarch for PPC32.
560         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
561         multiarch objects.
562         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
563         (__libc_ifunc_impl_list): Likewise.
565 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
567         * string/memchr.c (__memchr): Using macro to redefine symbol name.
568         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
569         file.
570         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
571         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
572         multiarch memchr for PPC32.
573         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
574         multiarch objects.
575         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
576         (__libc_ifunc_impl_list): Likewise.
578 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
580         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
581         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
582         file.
583         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
584         file.
585         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
586         file: multiarch mempcpy for PPC32.
587         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
588         multiarch objects.
589         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
590         (__libc_ifunc_impl_list): Likewise.
592 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
594         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
595         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
596         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
597         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
598         multiarch bzero for PPC32.
599         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
600         file.
601         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
602         file.
603         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
604         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
605         file: multiarch memset for PPC32.
606         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
607         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
608         memset multiarch objects.
609         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
610         (__libc_ifunc_impl_list): Likewise.
612 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
614         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
615         file.
616         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
617         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
618         memcmp for PPC32.
619         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
620         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
621         multiarch objects.
622         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
623         (__libc_ifunc_impl_list): Likewise.
625 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
627         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
628         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
629         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
630         file.
631         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
632         file.
633         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
634         file.
635         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
636         multiarch memcpy for PPC32.
637         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
638         multiarch objects.
639         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
640         (__libc_ifunc_impl_list): Likewise.
642 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
644         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
645         support multiarch for POWER/PPC32.
646         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
647         Likewise.
648         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
650         Implies file to make multiarch folder appers before the fpu and
651         default folder for power4 configuration.
653 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
655         * scripts/bench.pl: Append volatile keyword to type.
657 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
659         * sysdeps/sh/sotruss-lib.c: New file.
660         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
662 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
664         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
666 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
668         [BZ #6810]
669         * math/w_tgamma.c: Include <errno.h>.
670         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
671         * math/w_tgammaf.c: Include <errno.h>.
672         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
673         * math/w_tgammal.c: Include <errno.h>.
674         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
675         * math/auto-libm-test-in: Do not allow missing errno on tgamma
676         underflow.  Add more tgamma tests.
677         * math/auto-libm-test-out: Regenerated.
678         * sysdeps/i386/fpu/libm-test-ulps: Update.
679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
681         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
682         sin, sinh, tan, tanh, tgamma, y0 and y1.
683         * math/auto-libm-test-out: Regenerated.
684         * math/libm-test.inc (TEST_COND_x86_64): New macro.
685         (TEST_COND_x86): Likewise.
686         (M_E2l): Remove macro.
687         (M_E3l): Likewise.
688         (M_2_SQRT_PIl): Likewise.
689         (M_SQRT_PIl): Likewise.
690         (M_1_DIV_El): Likewise.
691         (log_test_data): Use AUTO_TESTS_f_f.
692         (log10_test_data): Likewise.
693         (log1p_test_data): Likewise.
694         (log2_test_data): Likewise.
695         (sin_test_data): Likewise.
696         (sin_tonearest_test_data): Likewise.
697         (sin_towardzero_test_data): Likewise.
698         (sin_downward_test_data): Likewise.
699         (sin_upward_test_data): Likewise.
700         (sinh_test_data): Likewise.
701         (sinh_tonearest_test_data): Likewise.
702         (sinh_towardzero_test_data): Likewise.
703         (sinh_downward_test_data): Likewise.
704         (sinh_upward_test_data): Likewise.
705         (tan_test_data): Likewise.
706         (tan_tonearest_test_data): Likewise.
707         (tan_towardzero_test_data): Likewise.
708         (tan_downward_test_data): Likewise.
709         (tan_upward_test_data): Likewise.
710         (tanh_test_data): Likewise.
711         (tgamma_test_data): Likewise.
712         (y0_test_data): Likewise.
713         (y1_test_data): Likewise.
714         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
715         (special_real_inputs): Add pi/4.
716         * sysdeps/i386/fpu/libm-test-ulps: Update.
717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
719 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
721         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
722         "longjmp_target" static probes.
723         (__longjmp): Rename to __longjmp_symbol.
724         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
725         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
726         on which longjmp to generate.
727         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
728         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
729         probe.
730         (__sigsetjmp): Rename to __sigsetjmp_symbol.
731         (__sigjmp_save): Rename to __sigjmp_save_symbol.
732         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
733         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
734         and __sigjmp_save_symbol based on which sigsetjmp to generated.
735         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
737         __longjmp_symbol based on which __longjmp to generate.
738         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
739         probe.
740         (setjmp): Rename to setjmp_symbol.
741         (__sigsetjmp): Rename to __sigsetjmp_symbol.
742         (_setjmp): Rename to _setjmp_symbol.
743         (__sigsetjmp): Rename to __sigsetjmp_symbol.
744         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
745         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
746         which setjmp to generate.
747         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
748         "longjmp_target" static probes.
750 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
752         * benchtests/README: Add note about output arguments.
753         * benchtests/bench-sincos.c: Remove file.
754         * benchtests/sincos-inputs: New file.
755         * scripts/bench.pl: Identify output arguments and define
756         static variables for them.
758         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
760         [BZ #15941]
761         * Makefile (INSTALL): Add install-plain.texi as the primary
762         dependency.
763         * manual/install-plain.texi: New file.
764         * manual/install.texi: Include node directive only for
765         non-plaintext output.
767 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
769         * stdlib/longlong.h: Update from GCC.
771         [BZ #6807]
772         [BZ #15901]
773         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
774         * math/w_j0f.c (y0f): Likewise.
775         * math/w_j0l.c (__y0l): Likewise.
776         * math/w_j1.c (y1): Likewise.
777         * math/w_j1f.c (y1f): Likewise.
778         * math/w_j1l.c (__y1l): Likewise
779         * math/w_jn.c (yn): Likewise.
780         * math/w_jnf.c (ynf): Likewise.
781         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
782         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
783         value for Bessel function domain errors outside _SVID_ mode.
784         Adjust sign of return value for yn (negative integer, 0).
785         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
786         by zero in return for negative x and set sign appropriately for
787         negative n.
788         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
789         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
790         * math/libm-test.inc (y0_test_data): Add more tests and adjust
791         expectations in error cases.
792         (y1_test_data): Likewise.
793         (yn_test_data): Likewise.
794         * sysdeps/i386/fpu/libm-test-ulps: Update.
795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
797 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
799         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
800         "64" to "64-v1".  Add "64-v2".
801         (abi-64-options): Rename to ...
802         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
803         (abi-64-condition): Rename to ...
804         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
805         (abi-64-ld-soname): Rename to ...
806         (abi-64-v1-ld-soname): ... this.
807         (abi-64-v2-options): Define.
808         (abi-64-v2-condition): Likewise.
809         (abi-64-v2-ld-soname): Likewise.
810         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
811         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
816 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
817             Alan Modra  <amodra@gmail.com>
819         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
820         New versions for use with the ELFv2 ABI.
821         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
822         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
823         declaration.
824         (struct La_ppc64v2_retval): Likewise.
825         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
826         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
827         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
828         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
829         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
830         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
831         Do not save or restore CR.
832         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
833         (_dl_profile_resolve): Do no save or restore CR.  Support extended
834         return values for ELFv2 ABI.  Fix location of FPR return registers.
835         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
836         updated values for _CALL_ELF == 2.
837         (La_regs, La_retval, int_retval): Likewise.
839 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
841         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
842         (FRAME_MIN_SIZE_PARM): Likewise.
843         (FRAME_BACKCHAIN): Likewise.
844         (FRAME_CR_SAVE): Likewise.
845         (FRAME_LR_SAVE): Likewise.
846         (FRAME_TOC_SAVE): Likewise.
847         (FRAME_PARM_SAVE): Likewise.
848         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
849         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
850         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
851         (call_mcount_parm_offset): New macro.
852         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
853         (PROF): Use symbolic stack frame offsets.
854         (TAIL_CALL_SYSCALL_ERROR): Likewise.
855         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
856         Redefine in terms of FRAME_MIN_SIZE.
857         (_dl_runtime_resolve): Use symbolic stack frame offsets.
858         (_dl_profile_resolve): Likewise.  Update comment.
859         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
860         symbols stack frame offsets.
861         (__sigsetjmp): Likewise.
862         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
863         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
864         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
865         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
868         (FRAME_BACKCHAIN): Remove.
869         (FRAME_CR_SAVE): Likewise.
870         (FRAME_LR_SAVE): Likewise.
871         (FRAME_COMPILER_DW): Likewise.
872         (FRAME_LINKER_DW): Likewise.
873         (FRAME_TOC_SAVE): Likewise.
874         (FRAME_PARM_SAVE): Likewise.
875         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
876         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
877         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
879         (CHECK_SP): Use symbolic stack frame offsets.
880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
881         zone" instead of caller's parameter save area for temp storage.
882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
883         Likewise.  Also, use symbolic stack frame offsets.
884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
885         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
886         our own stack frame instead of the caller's.
887         (__socket): Use symbolic stack frame offsets.
889 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
890             Alan Modra  <amodra@gmail.com>
892         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
893         Define.
894         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
895         PPC64_LOCAL_ENTRY_OFFSET): Define.
896         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
897         New function.
898         (elf_machine_fixup_plt): Call it.
899         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
900         reloc arguments.
901         (elf_machine_rela): Update call to elf_machine_plt_conflict.
902         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
903         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
904         r2 before calling target.
906 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
907             Alan Modra  <amodra@gmail.com>
909         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
910         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
911         versions of macros to support ELFv2 ABI.
912         (LOCALENTRY): New macro.
913         (ENTRY, EALIGN): Use it.
914         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
915         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
916         fall through into ENTRY entry point.
917         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
918         Only define if _CALL_ELF != 2.
920         (elf_machine_matches_host): Verify ABI version matches.
921         (RTLD_START): Use LOCALENTRY.
922         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
923         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
924         (PLT_ENTRY_WORDS): New macro.
925         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
926         (elf_machine_runtime_setup): Support ELFv2 ABI.
927         (elf_machine_fixup_plt): Likewise.
928         (elf_machine_plt_conflict): Likewise.
929         (resolve_ifunc): Likewise.
930         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
931         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
932         Likewise.
933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
934         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
936         (makecontext): Support ELFv2 ABI.
937         * elf/elf.h (EF_PPC64_ABI): Define.
939 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
941         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
942         New assembler macro.
943         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
944         [ASSEMBLER] (ENTRY): ... but instead here ...
945         [ASSEMBLER] (EALIGN): ... and here.
946         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
947         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
948         [!ASSEMBLER] (ENTRY_2): Use it.
949         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
950         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
951         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
952         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
953         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
955         Use PPC64_LOAD_FUNCPTR.
957 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
959         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
961 2013-12-04  Alan Modra  <amodra@gmail.com>
963         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
964         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
965         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
966         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
968         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
969         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
970         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
971         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
972         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
973         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
975 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
978         (__makecontext): Fix incorrect CFI when backtracing out of
979         context created via makecontext.
980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
981         (__setcontext): Fix incorrect CFI during switch to new context.
982         (__novec_setcontext): Likewise.
984 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
986         [BZ #4772]
987         * time/strptime_l.c (__strptime_internal): Allow modifiers
988         in strptime.
989         * time/tst-strptime.c (day_tests): Add testcase.
992 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
994         * scripts/bench.pl: Skip over blank lines.
996 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
998         [BZ #926]
999         * manual/time.texi (Calendar Time): Clarify what timezone functions
1000         use.
1002 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1004         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1006 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
1008         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
1009         implementation.
1010         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
1011         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
1012         * debug/memset_chk.c (__memset_chk): Likewise.
1013         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
1014         * debug/strncpy_chk.c: Likewise.
1016 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
1018         [BZ #15268]
1019         [BZ #15425]
1020         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
1021         (__ieee754_exp): For possibly underflowing results, check size of
1022         result and force underflow exception if required.
1023         * math/auto-libm-test-in: Add more tests of exp.
1024         * math/auto-libm-test-out: Regenerated.
1025         * sysdeps/i386/fpu/libm-test-ulps: Update.
1026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1028         [BZ #16283]
1029         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
1030         * math/w_exp2f.c (__exp2f): Likewise.
1031         * math/w_exp2l.c (__exp2l): Likewise.
1032         * math/auto-libm-test-in: Do not allow missing errno on exp2
1033         underflow.
1034         * math/auto-libm-test-out: Regenerated.
1036 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
1038         [BZ #16274]
1039         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
1040         handle filename validation.
1041         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
1042         (do_open): Delete.
1044 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
1046         [BZ #6786]
1047         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
1048         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
1049         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
1050         <float.h>.
1051         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
1052         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
1053         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1054         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
1055         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1056         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
1057         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1058         * math/auto-libm-test-in: Don't allow missing errno from erfc.
1059         Add more erfc tests.
1060         * math/auto-libm-test-out: Regenerated.
1061         * sysdeps/i386/fpu/libm-test-ulps: Update.
1062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1064         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
1065         exp2, expm1, j0 and j1.
1066         * math/auto-libm-test-out: Regenerated.
1067         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
1068         (erfc_test_data): Likewise.
1069         (exp_test_data): Likewise.
1070         (exp_tonearest_test_data): Likewise.
1071         (exp_towardzero_test_data): Likewise.
1072         (exp_downward_test_data): Likewise.
1073         (exp_upward_test_data): Likewise.
1074         (exp10_test_data): Likewise.
1075         (exp2_test_data): Likewise.
1076         (expm1_test_data): Likewise.
1077         (j0_test_data): Likewise.
1078         (j1_test_data): Likewise.
1079         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
1080         (input_flag_type): Add flag_xfail_rounding.
1081         (input_flags): Add xfail-rounding.
1082         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
1083         (output_for_one_input_case): Handle flag_xfail_rounding.
1084         * sysdeps/i386/fpu/libm-test-ulps: Update.
1085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1087 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
1089         [BZ #16289]
1090         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
1091         division by 0.
1093 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
1095         [BZ #16195]
1096         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1097         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
1098         (STAP_PROBE0): New macro.
1099         (STAP_PROBE1): Likewise.
1100         (STAP_PROBE2): Likewise.
1101         (STAP_PROBE3): Likewise.
1102         (STAP_PROBE4): Likewise.
1104 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
1106         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
1108 2013-12-02  Steve Ellcey  <sellcey@mips.com>
1110         * benchtests/Makefile (bench): Add sqrt.
1111         (LDLIBS-bench-sqrt): New.
1112         * benchtests/sqrt-input: New.
1114 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
1116         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
1117         (GAIH_EAI): Likewise.
1118         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
1119         (gaih_inet): Likewise.
1120         (getaddrinfo): Don't use GAIH_EAI.
1122         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
1123         (struct gaih): Remove definition.
1125 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1127         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
1128         Use HERRNOP directly.
1130 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1132         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1134 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
1136         * math/gen-auto-libm-tests.c (test_functions): Add more
1137         single-argument functions.
1138         (special_fill_pi_2): New function.
1139         (special_fill_minus_pi_2): Likewise.
1140         (special_fill_pi_6): Likewise.
1141         (special_fill_minus_pi_6): Likewise.
1142         (special_fill_pi_3): Likewise.
1143         (special_fill_2pi_3): Likewise.
1144         (special_fill_e): Likewise.
1145         (special_fill_1_e): Likewise.
1146         (special_fill_e_minus_1): Likewise.
1147         (special_real_inputs): Add more special inputs.
1148         (output_for_one_input_case): Do not require ERANGE on underflow to
1149         zero if round-to-nearest result does not underflow to zero, unless
1150         exact results required.
1151         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
1152         atan, atanh, cbrt, cos and cosh.
1153         * math/auto-libm-test-out: Regenerated.
1154         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
1155         (acos_tonearest_test_data): Likewise.
1156         (acos_towardzero_test_data): Likewise.
1157         (acos_downward_test_data): Likewise.
1158         (acos_upward_test_data): Likewise.
1159         (acosh_test_data): Likewise.
1160         (asin_test_data): Likewise.
1161         (asin_tonearest_test_data): Likewise.
1162         (asin_towardzero_test_data): Likewise.
1163         (asin_upward_test_data): Likewise.
1164         (asinh_test_data): Likewise.
1165         (atan_test_data): Likewise.
1166         (atanh_test_data): Likewise.
1167         (cbrt_test_data): Likewise.
1168         (cos_test_data): Likewise.
1169         (cos_tonearest_test_data): Likewise.
1170         (cos_towardzero_test_data): Likewise.
1171         (cos_downward_test_data): Likewise.
1172         (cos_upward_test_data): Likewise.
1173         (cosh_test_data): Likewise.
1174         (cosh_tonearest_test_data): Likewise.
1175         (cosh_towardzero_test_data): Likewise.
1176         (cosh_downward_test_data): Likewise.
1177         (cosh_upward_test_data): Likewise.
1178         * sysdeps/i386/fpu/libm-test-ulps: Update.
1179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1181 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
1183         [BZ #6787]
1184         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
1185         * math/w_exp10f.c (__exp10f): Likewise.
1186         * math/w_exp10l.c (__exp10l): Likewise.
1187         * math/libm-test.inc (exp10_test_data): Add more tests and expect
1188         errno settings in existing tests.
1190         [BZ #14032]
1191         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
1192         precision control set to double precision.
1193         * sysdeps/i386/fpu/w_sqrt.c: New file.
1194         * math/auto-libm-test-in: Add more tests.
1195         * math/auto-libm-test-out: Update.
1197         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
1198         (sqrt_test_tonearest): New function.
1199         (sqrt_towardzero_test_data): New variable.
1200         (sqrt_test_towardzero): New function.
1201         (sqrt_downward_test_data): New variable.
1202         (sqrt_test_downward): New function.
1203         (sqrt_upward_test_data): New variable.
1204         (sqrt_test_upward): New function.
1205         (main): Call the new functions.
1207         * math/gen-auto-libm-tests.c: New file.
1208         * math/auto-libm-test-in: Likewise.
1209         * math/auto-libm-test-out: New generated file.
1210         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
1211         variables.
1212         (%beautify): Add generated representations of zero.
1213         (top level): Set $auto_input and call parse_auto_input.
1214         (beautify): Remove trailing "f" from hex float constants.
1215         (parse_args): Handle XFAIL_TEST.
1216         (convert_condition): New function.
1217         (or_value): Likewise.
1218         (or_cond_value): Likewise.
1219         (generate_testfile): Handle AUTO_TESTS_* lines.
1220         (parse_auto_input): New function.
1221         * math/libm-test.inc (XFAIL_TEST): New macro.
1222         (ERRNO_UNCHANGED): Update value.
1223         (ERRNO_EDOM): Likewise.
1224         (ERRNO_ERANGE): Likewise.
1225         (IGNORE_RESULT): Likewise.
1226         (TEST_COND_flt_32): New macro.
1227         (TEST_COND_dbl_64): Likewise.
1228         (TEST_COND_ldbl_96_intel): Likewise.
1229         (TEST_COND_ldbl_96_m68k): Likewise.
1230         (TEST_COND_ldbl_128): Likewise.
1231         (TEST_COND_ldbl_128ibm): Likewise.
1232         (TEST_COND_long32): Likewise.
1233         (TEST_COND_long64): Likewise.
1234         (TEST_COND_before_rounding): Likewise.
1235         (TEST_COND_after_rounding): Likewise.
1236         (enable_test): Handle XFAIL_TEST flag.
1237         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
1238         with finite results.
1239         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
1240         auto-libm-test-out.
1242 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
1243             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1245         [BZ #16214]
1246         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
1247         __tls_get_addr_internal instead of __tls_get_offset in order to
1248         avoid GOT pointer dependency.  Make rtld export
1249         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
1250         __tls_get_addr since we are a __tls_get_offset platform.
1251         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
1252         GOT pointer being set up before.
1253         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
1255 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
1257         * manual/math.texi (Errors in Math Functions): Document accuracy
1258         goals.
1260         [BZ #15004]
1261         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
1262         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
1263         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1264         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1265         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1266         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1267         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1268         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1269         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1270         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1271         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1272         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1273         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1274         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1275         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1276         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1278         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
1279         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
1280         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
1281         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
1282         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
1283         Likewise.
1284         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
1285         Likewise.
1286         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
1287         Likewise.
1288         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
1289         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
1290         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
1291         atomic-feupdateenv and flt-rounds.
1292         * sysdeps/powerpc/nofpu/Versions (libc): Add
1293         __atomic_feholdexcept, __atomic_feclearexcept,
1294         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
1295         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
1296         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
1297         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
1298         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
1299         here.
1300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1301         Update.
1303         * manual/arith.texi (FP Exceptions): Document that exceptions may
1304         not be raised when matherr is used.
1305         (Math Error Reporting): Document overflow in directed rounding
1306         modes.  Document that errno may not be set when finite values are
1307         returned on overflow.  Document intent to set errno on underflow
1308         only for underflow to zero.
1310         [BZ #16271]
1311         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
1312         round-to-nearest then adjust result for other rounding modes.
1313         * include/fenv.h (fegetround): Use libm_hidden_proto.
1314         * math/fegetround.c (fegetround): Use libm_hidden_def.
1315         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1316         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1317         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1318         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1319         Likewise.
1320         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
1321         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1322         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1323         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
1325 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1327         [BZ #16077]
1328         * nss/Versions (libnss_files): Add
1329         _nss_files_gethostbyname3_r.
1330         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
1331         New function.
1332         (HOST_DB_LOOKUP): Remove macro.
1333         (_nss_files_gethostbyname_r): Implement function without the
1334         HOST_DB_LOOKUP macro.
1335         (_nss_files_gethostbyname2_r): Likewise.
1337 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
1339         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
1341 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
1343         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
1344         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
1345         warning.
1347 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1349         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
1350         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
1351         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1352         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1353         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
1354         __fe_nomask_env_priv and attribute_hidden.
1355         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
1356         (libc_feupdateenv_test_ppc): Likewise.
1357         (libc_feresetround_ppc): Likewise.
1358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1359         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
1360         compat_symbol macro.
1361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1362         (__fe_nomask_env): Likewise.
1363         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
1365 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
1367         * string/Makefile: Remove ifunc tests.
1368         * string/test-string.h: Define TEST_IFUNC.
1369         * string/test-bcopy-ifunc.c: Remove.
1370         * string/test-bzero-ifunc.c: Likewise.
1371         * string/test-memccpy-ifunc.c: Likewise.
1372         * string/test-memchr-ifunc.c: Likewise.
1373         * string/test-memcmp-ifunc.c: Likewise.
1374         * string/test-memcpy-ifunc.c: Likewise.
1375         * string/test-memmem-ifunc.c: Likewise.
1376         * string/test-memmove-ifunc.c: Likewise.
1377         * string/test-mempcpy-ifunc.c: Likewise.
1378         * string/test-memrchr-ifunc.c: Likewise.
1379         * string/test-memset-ifunc.c: Likewise.
1380         * string/test-rawmemchr-ifunc.c: Likewise.
1381         * string/test-stpcpy-ifunc.c: Likewise.
1382         * string/test-stpncpy-ifunc.c: Likewise.
1383         * string/test-strcasecmp-ifunc.c: Likewise.
1384         * string/test-strcasestr-ifunc.c: Likewise.
1385         * string/test-strcat-ifunc.c: Likewise.
1386         * string/test-strchr-ifunc.c: Likewise.
1387         * string/test-strchrnul-ifunc.c: Likewise.
1388         * string/test-strcmp-ifunc.c: Likewise.
1389         * string/test-strcpy-ifunc.c: Likewise.
1390         * string/test-strcspn-ifunc.c: Likewise.
1391         * string/test-strlen-ifunc.c: Likewise.
1392         * string/test-strncasecmp-ifunc.c: Likewise.
1393         * string/test-strncat-ifunc.c: Likewise.
1394         * string/test-strncmp-ifunc.c: Likewise.
1395         * string/test-strncpy-ifunc.c: Likewise.
1396         * string/test-strnlen-ifunc.c: Likewise.
1397         * string/test-strpbrk-ifunc.c: Likewise.
1398         * string/test-strrchr-ifunc.c: Likewise.
1399         * string/test-strspn-ifunc.c: Likewise.
1400         * string/test-strstr-ifunc.c: Likewise.
1402 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
1404         * benchtests/Makefile: Remove ifunc tests.
1405         * benchtests/bench-string.h: Define TEST_IFUNC.
1406         * benchtests/bench-bcopy-ifunc.c: Remove.
1407         * benchtests/bench-bzero-ifunc.c: Likewise.
1408         * benchtests/bench-memccpy-ifunc.c: Likewise.
1409         * benchtests/bench-memchr-ifunc.c: Likewise.
1410         * benchtests/bench-memcmp-ifunc.c: Likewise.
1411         * benchtests/bench-memcpy-ifunc.c: Likewise.
1412         * benchtests/bench-memmem-ifunc.c: Likewise.
1413         * benchtests/bench-memmove-ifunc.c: Likewise.
1414         * benchtests/bench-mempcpy-ifunc.c: Likewise.
1415         * benchtests/bench-memrchr-ifunc.c: Likewise.
1416         * benchtests/bench-memset-ifunc.c: Likewise.
1417         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
1418         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
1419         * benchtests/bench-stpcpy-ifunc.c: Likewise.
1420         * benchtests/bench-stpncpy-ifunc.c: Likewise.
1421         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
1422         * benchtests/bench-strcasestr-ifunc.c: Likewise.
1423         * benchtests/bench-strcat-ifunc.c: Likewise.
1424         * benchtests/bench-strchr-ifunc.c: Likewise.
1425         * benchtests/bench-strchrnul-ifunc.c: Likewise.
1426         * benchtests/bench-strcmp-ifunc.c: Likewise.
1427         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
1428         * benchtests/bench-strcpy-ifunc.c: Likewise.
1429         * benchtests/bench-strcspn-ifunc.c: Likewise.
1430         * benchtests/bench-strlen-ifunc.c: Likewise.
1431         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
1432         * benchtests/bench-strncat-ifunc.c: Likewise.
1433         * benchtests/bench-strncmp-ifunc.c: Likewise.
1434         * benchtests/bench-strncpy-ifunc.c: Likewise.
1435         * benchtests/bench-strnlen-ifunc.c: Likewise.
1436         * benchtests/bench-strpbrk-ifunc.c: Likewise.
1437         * benchtests/bench-strrchr-ifunc.c: Likewise.
1438         * benchtests/bench-strsep-ifunc.c: Likewise.
1439         * benchtests/bench-strspn-ifunc.c: Likewise.
1440         * benchtests/bench-strstr-ifunc.c: Likewise.
1442 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
1444         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
1446 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
1448         * resolv/netdb.h: Use __glibc_reserved instead __unused.
1449         * rt/aio.h: Likewise.
1450         * sysdeps/gnu/bits/utmp.h: Likewise.
1451         * sysdeps/gnu/bits/utmpx.h: Likewise.
1452         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1453         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
1454         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
1455         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
1456         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
1457         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
1458         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
1459         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
1460         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
1461         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
1462         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
1463         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
1464         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
1465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
1466         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1467         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
1468         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
1469         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
1470         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
1471         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
1472         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
1473         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
1474         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
1475         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
1476         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
1477         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1478         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
1479         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
1480         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
1481         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
1482         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
1483         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
1484         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
1485         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1486         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
1487         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
1488         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
1489         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
1490         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
1491         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
1492         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
1493         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1495 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
1497         [BZ #16245]
1498         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
1499         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
1501 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
1503         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
1504         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1505         Likewise.
1507 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1509         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
1510         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
1511         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
1512         (__fesetround): Remove define.
1513         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
1514         rounding and exceptions handling.
1515         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
1516         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
1517         (__fe_nomask_env): Likewise.
1518         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
1519         __fegetround instead of fegetround.
1520         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
1521         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
1523 2013-11-21  Roland McGrath  <roland@hack.frob.com>
1525         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
1526         it's there.
1528         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
1530 2013-11-21  Meador Inge  <meadori@codesourcery.com>
1532         [BZ #11157]
1533         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
1534         (encrypt_r): Likewise.
1535         * malloc/obstack.h (obstack_free): Likewise.
1536         * posix/unistd.h (encrypt): Likewise.
1538 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
1540         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
1541         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
1542         DL_CALL_DT_FINI() that call the functions directly.
1543         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
1544         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
1545         * elf/dl-fini.c: Likewise.
1547 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
1549         * malloc/hooks.c (memalign_check): Add alignment rounding.
1550         * malloc/malloc.c (_mid_memalign): New function.
1551         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
1552         Implement by calling _mid_memalign.
1553         * manual/probes.texi (Memory Allocation Probes): Remove
1554         memory_valloc_retry and memory_pvalloc_retry.
1556 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
1558         * locale/programs/locarchive.c (open_archive): Add const
1559         qualifier to ARCHIVEFNAME and copy default fname to
1560         DEFAULT_FNAME.
1562         [BZ #15601]
1563         * libio/tst-widetext.input: Rename Oriya to Odia.
1564         * locale/iso-639.def: Likewise.
1566         * manual/probes.texi (Mathematical Function Probes): Add
1567         documentation for sin, cos, asin and acos probes.
1568         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
1569         (__sin32): Add slowasin probe.
1570         (__cos32): Add slowacos probe.
1571         (__mpsin): Add slowsin probe.
1572         (__mpcos): Add slowcos probe.
1574 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
1576         [BZ #15483]
1577         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
1578         thread-local __sim_exceptions_thread and global
1579         __sim_exceptions_global.
1580         (__sim_disabled_exceptions): Change to thread-local
1581         __sim_disabled_exceptions_thread and global
1582         __sim_disabled_exceptions_global.
1583         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1584         and global __sim_round_mode_global.
1585         (__simulate_exceptions): Use thread-local floating-point state and
1586         set global state from it as needed.
1587         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
1588         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
1589         __sim_round_mode_thread.
1590         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
1591         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
1592         and global __sim_exceptions_global.
1593         (__sim_disabled_exceptions): Change to thread-local
1594         __sim_disabled_exceptions_thread and global
1595         __sim_disabled_exceptions_global.
1596         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1597         and global __sim_round_mode_global.
1598         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
1599         (SIM_SET_GLOBAL): Likewise.
1600         * sysdeps/powerpc/soft-fp/sfp-machine.h
1601         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
1602         __sim_round_mode_thread.
1603         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
1604         __sim_disabled_exceptions_thread.
1605         (__sim_exceptions): Change to __sim_exceptions_thread.
1606         (__sim_disabled_exceptions): Change to
1607         __sim_disabled_exceptions_thread.
1608         (__sim_round_mode): Change to __sim_round_mode_thread.
1609         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
1610         thread-local floating-point state and set global state from it as
1611         needed.
1612         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
1613         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
1614         (__sim_disabled_exceptions): Remove extern declaration.
1615         (feenableexcept): Use thread-local floating-point state and set
1616         global state from it as needed.
1617         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
1618         extern declaration.
1619         (__sim_disabled_exceptions): Likewise.
1620         (__sim_round_mode): Likewise.
1621         (__fegetenv): Use thread-local floating-point state.
1622         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
1623         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1624         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
1625         floating-point state and set global state from it as needed.
1626         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
1627         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1628         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
1629         Likewise.
1630         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1631         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
1632         Likewise.
1633         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
1634         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
1635         Use __sim_round_mode_thread.
1636         * math/test-fenv-tls.c: New file.
1637         * math/Makefile (tests): Add test-fenv-tls.
1638         ($(objpfx)test-fenv-tls): Depend on
1639         $(common-objpfx)nptl/libpthread.so.
1641 2013-11-19  Andreas Schwab  <schwab@suse.de>
1643         * locale/programs/locale.c (show_info): Decode wordarray elements.
1644         * locale/categories.def (LC_MONETARY): Add element for
1645         _NL_MONETARY_CRNCYSTR.
1646         * locale/C-monetary.c (conversion_rate): New variable.
1647         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
1648         element.
1650 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
1652         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
1653         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
1655 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
1657         * elf/Makefile (tst-auxv): New test.
1658         * elf/tst-auxv.c: New
1659         * elf/rtld.c (dl_main): Adjust AT_EXECFN
1661 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
1663         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
1664         (hidden_proto): Caller changed.
1665         (hidden_tls_proto): New macro.
1666         (libc_hidden_tls_proto): Likewise.
1667         (rtld_hidden_tls_proto): Likewise.
1668         (libm_hidden_tls_proto): Likewise.
1669         (libresolv_hidden_tls_proto): Likewise.
1670         (librt_hidden_tls_proto): Likewise.
1671         (libdl_hidden_tls_proto): Likewise.
1672         (libnss_files_hidden_tls_proto): Likewise.
1673         (libnsl_hidden_tls_proto): Likewise.
1674         (libnss_nisplus_hidden_tls_proto): Likewise.
1675         (libutil_hidden_tls_proto): Likewise.
1677 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
1679         [BZ #10253]
1680         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
1681         (decompose_rpath): Defer expansion to fillin_rpath.
1682         (_dl_init_paths): Pass linkmap to fillin_rpath.
1684 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1686         * benchtests/Makefile: Add strsep.
1687         * benchtests/bench-strsep.c: New file: strsep benchtest.
1688         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
1690 2013-11-18  Andreas Schwab  <schwab@suse.de>
1692         * locale/programs/locale.c (show_info) [case byte]: Check for
1693         '\377' instead of '\177'.
1694         * locale/C-monetary.c (not_available): Always use "\377".
1695         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
1696         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
1697         detect unavailable sign_posn locale elements.
1698         * locale/localeconv.c (__localeconv): For grouping and
1699         mon_grouping handle "\177" and "\377" like no grouping.
1700         (INT_ELEM): New macro.  Use it to set all numeric members.
1701         * locale/programs/ld-monetary.c (monetary_read)
1702         <tok_mon_grouping>: Normalize single -1 to the empty string.
1703         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
1704         Likewise.
1706 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
1708         [BZ #16055]
1709         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
1710         when we match (nil).
1711         * stdio-common/tst-sscanf.c (struct test): Add testcase.
1713 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
1715         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
1716         (NO_TEST_INLINE): Update value.
1717         (ERRNO_UNCHANGED): Likewise.
1718         (ERRNO_EDOM): Likewise.
1719         (ERRNO_ERANGE): Likewise.
1720         (IGNORE_RESULT): Likewise.
1721         (check_float_internal): Check signs of NaN results if
1722         TEST_NAN_SIGN used.
1723         (check_complex): Pass TEST_NAN_SIGN flag through to second
1724         check_float_internal call.
1725         (copysign_test_data): Add tests with quiet NaNs as second
1726         argument.  Use TEST_NAN_SIGN.
1727         (fabs_test_data): Add test of negative quiet NaN argument.  Use
1728         TEST_NAN_SIGN.
1729         (signbit_test_data): Add tests of quiet NaN argument.
1730         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
1732         * math/gen-libm-test.pl (show_exceptions): Take extra argument
1733         $ignore_result.
1734         (parse_args): Handle function results specified as IGNORE.
1735         * math/libm-test.inc (IGNORE_RESULT): New macro.
1736         (check_float_internal): Do not check numerical result if flag
1737         IGNORE_RESULT set.
1738         (check_complex): Pass through IGNORE_RESULT to second
1739         check_float_internal call.
1740         (check_int): Do not check numerical result if flag IGNORE_RESULT
1741         set.
1742         (check_long): Likewise.
1743         (check_bool): Likewise.
1744         (check_longlong): Likewise.
1745         (lrint_test_data): Add tests of infinite and NaN arguments.
1746         (lrint_tonearest_test_data): Likewise.
1747         (lrint_towardzero_test_data): Likewise.
1748         (lrint_downward_test_data): Likewise.
1749         (lrint_upward_test_data): Likewise.
1750         (llrint_test_data): Likewise.
1751         (llrint_tonearest_test_data): Likewise.
1752         (llrint_towardzero_test_data): Likewise.
1753         (llrint_downward_test_data): Likewise.
1754         (llrint_upward_test_data): Likewise.
1755         (lround_test_data): Likewise.
1756         (llround_test_data): Likewise.
1758         * math/libm-test.inc (NO_TEST_INLINE): New macro.
1759         (ERRNO_UNCHANGED): Update value.
1760         (ERRNO_EDOM): Likewise.
1761         (ERRNO_ERANGE): Likewise.
1762         (NO_TEST_INLINE_FLOAT): New macro.
1763         (NO_TEST_INLINE_DOUBLE): Likewise.
1764         (enable_test): New function.
1765         (RUN_TEST_f_f): Check enable_test before running test.
1766         (RUN_TEST_2_f): Likewise.
1767         (RUN_TEST_fff_f): Likewise.
1768         (RUN_TEST_c_f): Likewise.
1769         (RUN_TEST_f_f1): Likewise.
1770         (RUN_TEST_fF_f1): Likewise.
1771         (RUN_TEST_fI_f1): Likewise.
1772         (RUN_TEST_ffI_f1): Likewise.
1773         (RUN_TEST_c_c): Likewise.
1774         (RUN_TEST_cc_c): Likewise.
1775         (RUN_TEST_f_i): Likewise.
1776         (RUN_TEST_f_i_tg): Likewise.
1777         (RUN_TEST_ff_i_tg): Likewise.
1778         (RUN_TEST_f_b): Likewise.
1779         (RUN_TEST_f_b_tg): Likewise.
1780         (RUN_TEST_f_l): Likewise.
1781         (RUN_TEST_f_L): Likewise.
1782         (RUN_TEST_fFF_11): Likewise.
1783         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
1784         conditionals.
1785         (cosh_test_data): Likewise.
1786         (exp_test_data): Likewise.
1787         (expm1_test_data): Likewise.
1788         (hypot_test_data): Likewise.
1789         (pow_test_data): Likewise.
1790         (sinh_test_data): Likewise.
1791         (tanh_test_data): Likewise.
1792         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
1793         flags argument.
1795         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
1796         tests with quiet NaN input and output.
1797         (acosh_test_data): Likewise.
1798         (asin_test_data): Likewise.
1799         (asinh_test_data): Likewise.
1800         (atan_test_data): Likewise.
1801         (atanh_test_data): Likewise.
1802         (atan2_test_data): Likewise.
1803         (cbrt_test_data): Likewise.
1804         (cos_test_data): Likewise.
1805         (cosh_test_data): Likewise.
1806         (erf_test_data): Likewise.
1807         (erfc_test_data): Likewise.
1808         (exp_test_data): Likewise.
1809         (exp10_test_data): Likewise.
1810         (exp2_test_data): Likewise.
1811         (expm1_test_data): Likewise.
1812         (hypot_test_data): Likewise.
1813         (j0_test_data): Likewise.
1814         (j1_test_data): Likewise.
1815         (jn_test_data): Likewise.
1816         (lgamma_test_data): Likewise.
1817         (log_test_data): Likewise.
1818         (log10_test_data): Likewise.
1819         (log1p_test_data): Likewise.
1820         (log2_test_data): Likewise.
1821         (pow_test_data): Likewise.
1822         (scalb_test_data): Likewise.
1823         (sin_test_data): Likewise.
1824         (sincos_test_data): Likewise.
1825         (sinh_test_data): Likewise.
1826         (tan_test_data): Likewise.
1827         (tanh_test_data): Likewise.
1828         (tgamma_test_data): Likewise.
1829         (y0_test_data): Likewise.
1830         (y1_test_data): Likewise.
1831         (yn_test_data): Likewise.
1833         [BZ #16167]
1834         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
1835         argument being NaN and avoid computations with second argument in
1836         that case.
1837         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1838         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1839         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1841 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
1843         * locale/iso-639.def: Add Chitwani Tharu (the).
1845 2013-11-14  Andreas Schwab  <schwab@suse.de>
1847         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
1848         word instead of empty string.
1850 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1853         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
1854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1855         (__fe_nomask_env): Likewise.
1857 2013-11-13  Steve Ellcey  <sellcey@mips.com>
1859         * benchtests/bench-timing.h: Include time.h.
1861 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
1863         [BZ #15997]
1864         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
1865         to 3.4.0 for x32.
1866         * sysdeps/unix/sysv/linux/configure: Regenerated.
1868 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
1870         [BZ #16151]
1871         * stdlib/strtod_l.c (round_and_return): Do not consider
1872         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
1873         exponent one less than half the least subnormal exponent.
1874         * stdlib/test-strtod-round-data: Add more tests.
1875         * stdlib/tst-strtod-round.c (tests): Regenerated.
1877 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1879         [BZ #14143]
1880         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
1881         (__fe_mask_env): Likewise.
1882         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
1883         libm_hidden_proto and add function prototype.
1884         (__fe_mask_env): Add function prototype.
1885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1886         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
1887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1888         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
1889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1890         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
1892 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1894         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
1895         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
1897 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1899         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
1900         of htab_find_slot().
1902 2013-11-11  David S. Miller  <davem@davemloft.net>
1904         [BZ #16150]
1905         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
1906         symbol in the non-vis3 case in static builds.
1907         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
1908         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
1909         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
1910         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
1912 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
1914         [BZ #387]
1915         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
1916         it is empty.
1918 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1920         * benchtests/Makefile: Add bench-strtod.
1921         * benchtests/bench-strtod.c: New file: strtod benchtest
1923 2013-11-11  Andreas Schwab  <schwab@suse.de>
1925         [BZ #16153]
1926         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
1927         terminating NUL in key length.
1929 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1931         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1932         Add artificial ODP entry for vDSO symbol for PPC64.
1933         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
1934         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
1936 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
1938         [BZ #15374]
1939         * nss/getent.c (services_keys): Recognize services starting with digit.
1941 2013-11-06  David S. Miller  <davem@davemloft.net>
1943         [BZ #15985]
1944         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
1945         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
1947 2013-11-06  Will Newton  <will.newton@linaro.org>
1949         * manual/memory.texi (Malloc Examples): Remove register
1950         keyword from examples.
1952 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
1954         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1956 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
1958         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
1959         depending on [__GCC_IEC_559 > 0].
1960         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
1961         depending on [__GCC_IEC_559_COMPLEX > 0].
1963 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
1965         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
1966         to iso-639.def.
1968 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
1970         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
1972 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
1974         [BZ #16112]
1975         * malloc/malloc (malloc_info): Do not handle first bin as
1976         special case.
1978 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
1980         * locale/iso-639.def: Add Central Nahuatl (nhn).
1982 2013-11-01  Bruno Haible  <bruno@clisp.org>
1984         [BZ #7003]
1985         * manual/math.texi (BSD Random): Specify range upper bound as
1986         in POSIX.
1988 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
1990         * locale/iso-639.def: Add Meadow Mari (mhr).
1992 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
1994         [BZ #14752], [BZ #15763]
1995         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
1996         Validate name.
1997         * rt/tst_shm.c: Add test for escaping directory.
1999 2013-10-31  Andreas Schwab  <schwab@suse.de>
2001         [BZ #15917]
2002         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
2003         followed by 'x' as part of digit sequence.
2004         * stdio-common/tst-sscanf.c (double_tests2): New tests.
2006 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2008         [BZ #16037]
2009         * configure.ac: allow GNU Make 4.0 and greater.
2010         * configure: Regenerated.
2012 2013-10-30  Will Newton  <will.newton@linaro.org>
2014         [BZ #16038]
2015         * malloc/hooks.c (memalign_check): Limit alignment to the
2016         maximum representable power of two.
2017         * malloc/malloc.c (__libc_memalign): Likewise.
2018         * malloc/tst-memalign.c (do_test): Add test for very
2019         large alignment values.
2020         * malloc/tst-posix_memalign.c (do_test): Likewise.
2022 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
2024         [BZ #11087]
2025         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
2026         (munmap_chunk): Likewise.
2027         (mremap_chunk): Likewise.
2029 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
2031         [BZ #15799]
2032         * stdlib/div.c (div): Remove obsolete code.
2033         * stdlib/ldiv.c (ldiv): Likewise.
2034         * stdlib/lldiv.c (lldiv): Likewise.
2036 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2038         [BZ #16071]
2039         * nss/nss_files/files-XXX.c (get_contents_ret): New
2040         enumerator.
2041         (get_contents): New function.
2042         (internal_getent): Use it.  Expand size of LINEBUFLEN.
2044 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
2046         * configure.in: Moved to ...
2047         * configure.ac: ... here. Change reference to configure.in
2048         to configure.ac.
2049         * sysdeps/arm/preconfigure.ac: ... here.
2050         configure.in to configure.ac.
2051         * sysdeps/gnu/configure.in: Moved to ...
2052         * sysdeps/gnu/configure.ac: ... here.
2053         * sysdeps/i386/configure.in: Moved to ...
2054         * sysdeps/i386/configure.ac: ... here.
2055         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
2056         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
2057         * sysdeps/mach/configure.in: Moved to ...
2058         * sysdeps/mach/configure.ac: ... here.
2059         * sysdeps/mach/hurd/configure.in: Moved to ...
2060         * sysdeps/mach/hurd/configure.ac: ... here.
2061         * sysdeps/powerpc/configure.in: Moved to ...
2062         * sysdeps/powerpc/configure.ac: ... here.
2063         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
2064         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
2065         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
2066         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
2067         * sysdeps/s390/s390-32/configure.in: Moved to ...
2068         * sysdeps/s390/s390-32/configure.ac: ... here.
2069         * sysdeps/s390/s390-64/configure.in: Moved to ...
2070         * sysdeps/s390/s390-64/configure.ac: ... here.
2071         * sysdeps/sh/configure.in: Moved to ...
2072         * sysdeps/sh/configure.ac: ... here.
2073         * sysdeps/sparc/configure.in: Moved to ...
2074         * sysdeps/sparc/configure.ac: ... here.
2075         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
2076         * sysdeps/unix/sysv/linux/configure.ac: ... here.
2077         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
2078         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
2079         * sysdeps/x86_64/configure.in: Moved to ...
2080         * sysdeps/x86_64/configure.ac: ... here.
2081         * sysdeps/x86_64/preconfigure.in: Moved to ...
2082         * sysdeps/x86_64/preconfigure.ac: ... here.
2083         * aclocal.m4: Change reference to configure.in to configure.ac.
2084         * config.h.in: Likewise.
2085         * manual/install.texi: Likewise.
2086         * manual/maint.texi: Likewise.
2087         * Makefile: Likewise.
2088         * malloc/Makefile: Likewise.
2089         * nscd/Makefile: Likewise.
2090         * Makeconfig: Change reference to configure.in and
2091         preconfigure.in to configure.ac and preconfigure.ac
2092         respectively.
2093         * INSTALL: Regenerated.
2094         * configure: Likewise.
2095         * sysdeps/gnu/configure: Likewise.
2096         * sysdeps/i386/configure: Likewise.
2097         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
2098         * sysdeps/mach/configure: Likewise.
2099         * sysdeps/mach/hurd/configure: Likewise.
2100         * sysdeps/powerpc/configure: Likewise.
2101         * sysdeps/powerpc/powerpc32/configure: Likewise.
2102         * sysdeps/powerpc/powerpc64/configure: Likewise.
2103         * sysdeps/s390/s390-32/configure: Likewise.
2104         * sysdeps/s390/s390-64/configure: Likewise.
2105         * sysdeps/sh/configure: Likewise.
2106         * sysdeps/sparc/configure: Likewise.
2107         * sysdeps/unix/sysv/linux/configure: Likewise.
2108         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
2109         * sysdeps/x86_64/configure: Likewise.
2110         * sysdeps/x86_64/preconfigure: Likewise.
2112 2013-10-29  Andreas Schwab  <schwab@suse.de>
2114         * stdio-common/Makefile (tst-swscanf-ENV): Define.
2116 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2118         * benchtests/pow-inputs: Add new inputs.
2120         * benchtests/exp-inputs: Add new inputs.
2122         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
2123         conditional check for return value.
2124         (__cos32): Likewise.
2126 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2128         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
2129         to provide a boost for large inputs with word alignment.
2130         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
2131         implementation based on optimized PPC64 strcpy.
2132         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
2133         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
2134         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
2135         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
2137 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
2139         [BZ #2801]
2140         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
2142 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
2144         [BZ #14876]
2145         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
2146         * time/tst-strptime.c (day_tests): Add testcase.
2148 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
2150         [BZ #14029]
2151         * manual/pattern.texi: Acknowledge that fnmatch can fail.
2153 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
2155         [BZ #16074]
2156         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
2157         MAP_FAILED on error.
2159 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
2161         [BZ #16072]
2162         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
2163         heap for large requests.
2165 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
2167         [BZ #9954]
2168         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
2169         result if the result has no associated interface.
2170         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
2171         interface for all 127.X.Y.Z addresses.
2173 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
2175         * locale/iso-639.def: Add Ligurian (lij)
2177 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
2179         [BZ #15825]
2180         * sunrpc/rpc_main.c: Document rpcgen -5.
2182 2013-10-19  Michael Stahl  <mstahl@redhat.com>
2184         * elf/rtld.c (do_preload): Print the reason why preloading failed.
2186 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
2188         [BZ #10278]
2189         * posix/glob.c: Match only directories when trailing slash is present.
2190         * posix/tst-gnuglob.c (my_opendir): Do not open files.
2191         (main): Add testcase.
2193 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
2195         [BZ #15670]
2196         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
2198 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
2200         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
2201         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
2202         AUTH_DES and cindex for FIPS 140-2.
2203         (DES Encryption): Add cindex FIPS 46-3.
2205         * locale/locarchive.h (struct locarhandle): Add fname.
2206         * locale/programs/localedef.c (main): Pass ARGV[remaining]
2207         if an optional argument was specified to --list-archive,
2208         otherwise NULL.
2209         * locale/programs/locarchive.c (show_archive_content): Take new
2210         argument fname and pass it via ah.fname to open_archive.
2211         * locale/programs/localedef.h: Update decl.
2212         (open_archive): If AH->fname is non-null, open that file
2213         rather than the default file name, and don't ignore ENOENT.
2214         (create_archive): Set AH.fname to NULL.
2215         (delete_locales_from_archive): Likewise.
2216         (add_locales_to_archive): Likewise.
2217         * locale/programs/locfile.c (write_all_categories): Likewise.
2219 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
2220             Aldy Hernandez  <aldyh@redhat.com>
2222         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
2223         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
2224         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
2225         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
2226         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
2227         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
2228         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
2229         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
2230         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
2231         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
2232         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
2233         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
2234         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
2235         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
2236         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
2237         Likewise.
2238         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
2239         Likewise.
2240         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
2241         Likewise.
2242         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
2243         Likewise.
2244         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
2245         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
2246         Likewise.
2247         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
2248         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
2249         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
2250         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
2251         Likewise.
2252         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
2253         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
2254         * sysdeps/powerpc/preconfigure: Likewise.
2255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
2256         Likewise.
2257         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
2258         Replace contents of file by #include of <fenv_libc.h>.
2259         * sysdeps/powerpc/soft-fp/sfp-machine.h
2260         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
2261         and <sys/prctl.h>.
2262         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
2263         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
2264         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
2265         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
2266         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
2267         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
2268         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
2269         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
2270         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
2271         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
2272         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
2273         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
2274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2275         Allow copysignl PLT reference to be missing.
2277 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
2278             Joseph Myers  <joseph@codesourcery.com
2280         [BZ #15948]
2281         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
2282         single character.
2283         (add_to_tablewc): Assert sequence of wide characters is nonempty.
2285 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2287         * elf/tst-tls-dlinfo.c: Don't include tls.h.
2288         * elf/tst-tls1.c: Likewise.
2289         * elf/tst-tls10.h: Likewise.
2290         * elf/tst-tls14.c: Likewise.
2291         * elf/tst-tls2.c: Likewise.
2292         * elf/tst-tls3.c: Likewise.
2293         * elf/tst-tls4.c: Likewise.
2294         * elf/tst-tls5.c: Likewise.
2295         * elf/tst-tls6.c: Likewise.
2296         * elf/tst-tls7.c: Likewise.
2297         * elf/tst-tls8.c: Likewise.
2298         * elf/tst-tls9.c: Likewise.
2299         * elf/tst-tlsmod1.c: Likewise.
2300         * elf/tst-tlsmod13.c: Likewise.
2301         * elf/tst-tlsmod13a.c: Likewise.
2302         * elf/tst-tlsmod14a.c: Likewise.
2303         * elf/tst-tlsmod16a.c: Likewise.
2304         * elf/tst-tlsmod16b.c: Likewise.
2305         * elf/tst-tlsmod2.c: Likewise.
2306         * elf/tst-tlsmod3.c: Likewise.
2307         * elf/tst-tlsmod4.c: Likewise.
2308         * elf/tst-tlsmod5.c: Likewise.
2309         * elf/tst-tlsmod6.c: Likewise.
2311 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
2313         [BZ #12486]
2314         * malloc/malloc.c: remove checks for statistics.
2316 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
2318         [BZ #15277]
2319         * inet/inet_net.c (inet_network): Detect additional invalid strings.
2320         * inet/tst-network.c: Add testcase.
2322 2013-10-17  Andreas Schwab  <schwab@suse.de>
2324         [BZ #15218]
2325         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
2326         to determine canonical name.
2328 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
2330         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
2331         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
2332         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2333         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2334         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2335         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2336         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2337         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2338         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
2339         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2340         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2341         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2342         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2343         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2344         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2345         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2346         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2347         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2348         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2349         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2350         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2351         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2352         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2353         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
2354         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
2355         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2356         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2357         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
2358         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2359         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
2360         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2361         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2362         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2363         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2364         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2365         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2366         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2367         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2368         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2369         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2370         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2371         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2372         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2373         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2374         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2375         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2376         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2377         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2378         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2379         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2380         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2381         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2382         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2383         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2384         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2385         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2386         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2387         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2389 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
2391         [BZ #16041]
2392         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
2393         make result into a quiet NaN.
2395 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
2397         * soft-fp/adddf3.c: Fix horizontal whitespace.
2398         * soft-fp/addsf3.c: Likewise.
2399         * soft-fp/addtf3.c: Likewise.
2400         * soft-fp/divdf3.c: Likewise.
2401         * soft-fp/divsf3.c: Likewise.
2402         * soft-fp/divtf3.c: Likewise.
2403         * soft-fp/double.h: Likewise.
2404         * soft-fp/eqdf2.c: Likewise.
2405         * soft-fp/eqsf2.c: Likewise.
2406         * soft-fp/eqtf2.c: Likewise.
2407         * soft-fp/extenddftf2.c: Likewise.
2408         * soft-fp/extended.h: Likewise.
2409         * soft-fp/extendsfdf2.c: Likewise.
2410         * soft-fp/extendsftf2.c: Likewise.
2411         * soft-fp/extendxftf2.c: Likewise.
2412         * soft-fp/fixdfdi.c: Likewise.
2413         * soft-fp/fixdfsi.c: Likewise.
2414         * soft-fp/fixdfti.c: Likewise.
2415         * soft-fp/fixsfdi.c: Likewise.
2416         * soft-fp/fixsfsi.c: Likewise.
2417         * soft-fp/fixsfti.c: Likewise.
2418         * soft-fp/fixtfdi.c: Likewise.
2419         * soft-fp/fixtfsi.c: Likewise.
2420         * soft-fp/fixtfti.c: Likewise.
2421         * soft-fp/fixunsdfdi.c: Likewise.
2422         * soft-fp/fixunsdfsi.c: Likewise.
2423         * soft-fp/fixunsdfti.c: Likewise.
2424         * soft-fp/fixunssfdi.c: Likewise.
2425         * soft-fp/fixunssfsi.c: Likewise.
2426         * soft-fp/fixunssfti.c: Likewise.
2427         * soft-fp/fixunstfdi.c: Likewise.
2428         * soft-fp/fixunstfsi.c: Likewise.
2429         * soft-fp/fixunstfti.c: Likewise.
2430         * soft-fp/floatdidf.c: Likewise.
2431         * soft-fp/floatdisf.c: Likewise.
2432         * soft-fp/floatditf.c: Likewise.
2433         * soft-fp/floatsidf.c: Likewise.
2434         * soft-fp/floatsisf.c: Likewise.
2435         * soft-fp/floatsitf.c: Likewise.
2436         * soft-fp/floattidf.c: Likewise.
2437         * soft-fp/floattisf.c: Likewise.
2438         * soft-fp/floattitf.c: Likewise.
2439         * soft-fp/floatundidf.c: Likewise.
2440         * soft-fp/floatundisf.c: Likewise.
2441         * soft-fp/floatunditf.c: Likewise.
2442         * soft-fp/floatunsidf.c: Likewise.
2443         * soft-fp/floatunsisf.c: Likewise.
2444         * soft-fp/floatunsitf.c: Likewise.
2445         * soft-fp/floatuntidf.c: Likewise.
2446         * soft-fp/floatuntisf.c: Likewise.
2447         * soft-fp/floatuntitf.c: Likewise.
2448         * soft-fp/fmadf4.c: Likewise.
2449         * soft-fp/fmasf4.c: Likewise.
2450         * soft-fp/fmatf4.c: Likewise.
2451         * soft-fp/gedf2.c: Likewise.
2452         * soft-fp/gesf2.c: Likewise.
2453         * soft-fp/getf2.c: Likewise.
2454         * soft-fp/ledf2.c: Likewise.
2455         * soft-fp/lesf2.c: Likewise.
2456         * soft-fp/letf2.c: Likewise.
2457         * soft-fp/muldf3.c: Likewise.
2458         * soft-fp/mulsf3.c: Likewise.
2459         * soft-fp/multf3.c: Likewise.
2460         * soft-fp/negdf2.c: Likewise.
2461         * soft-fp/negsf2.c: Likewise.
2462         * soft-fp/negtf2.c: Likewise.
2463         * soft-fp/op-1.h: Likewise.
2464         * soft-fp/op-2.h: Likewise.
2465         * soft-fp/op-4.h: Likewise.
2466         * soft-fp/op-8.h: Likewise.
2467         * soft-fp/op-common.h: Likewise.
2468         * soft-fp/quad.h: Likewise.
2469         * soft-fp/single.h: Likewise.
2470         * soft-fp/soft-fp.h: Likewise.
2471         * soft-fp/sqrtdf2.c: Likewise.
2472         * soft-fp/sqrtsf2.c: Likewise.
2473         * soft-fp/sqrttf2.c: Likewise.
2474         * soft-fp/subdf3.c: Likewise.
2475         * soft-fp/subsf3.c: Likewise.
2476         * soft-fp/subtf3.c: Likewise.
2477         * soft-fp/truncdfsf2.c: Likewise.
2478         * soft-fp/trunctfdf2.c: Likewise.
2479         * soft-fp/trunctfsf2.c: Likewise.
2480         * soft-fp/trunctfxf2.c: Likewise.
2481         * soft-fp/unorddf2.c: Likewise.
2482         * soft-fp/unordsf2.c: Likewise.
2483         * soft-fp/unordtf2.c: Likewise.
2485 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
2487         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
2488         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
2490 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
2492         * elf/dl-libc.c: Clear initfini list after freeing.
2494 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
2496         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
2497         * soft-fp/addsf3.c: Likewise.
2498         * soft-fp/addtf3.c: Likewise.
2499         * soft-fp/divdf3.c: Likewise.
2500         * soft-fp/divsf3.c: Likewise.
2501         * soft-fp/divtf3.c: Likewise.
2502         * soft-fp/double.h: Likewise.
2503         * soft-fp/eqdf2.c: Likewise.
2504         * soft-fp/eqsf2.c: Likewise.
2505         * soft-fp/eqtf2.c: Likewise.
2506         * soft-fp/extenddftf2.c: Likewise.
2507         * soft-fp/extended.h: Likewise.
2508         * soft-fp/extendsfdf2.c: Likewise.
2509         * soft-fp/extendsftf2.c: Likewise.
2510         * soft-fp/extendxftf2.c: Likewise.
2511         * soft-fp/fixdfdi.c: Likewise.
2512         * soft-fp/fixdfsi.c: Likewise.
2513         * soft-fp/fixdfti.c: Likewise.
2514         * soft-fp/fixsfdi.c: Likewise.
2515         * soft-fp/fixsfsi.c: Likewise.
2516         * soft-fp/fixsfti.c: Likewise.
2517         * soft-fp/fixtfdi.c: Likewise.
2518         * soft-fp/fixtfsi.c: Likewise.
2519         * soft-fp/fixtfti.c: Likewise.
2520         * soft-fp/fixunsdfdi.c: Likewise.
2521         * soft-fp/fixunsdfsi.c: Likewise.
2522         * soft-fp/fixunsdfti.c: Likewise.
2523         * soft-fp/fixunssfdi.c: Likewise.
2524         * soft-fp/fixunssfsi.c: Likewise.
2525         * soft-fp/fixunssfti.c: Likewise.
2526         * soft-fp/fixunstfdi.c: Likewise.
2527         * soft-fp/fixunstfsi.c: Likewise.
2528         * soft-fp/fixunstfti.c: Likewise.
2529         * soft-fp/floatdidf.c: Likewise.
2530         * soft-fp/floatdisf.c: Likewise.
2531         * soft-fp/floatditf.c: Likewise.
2532         * soft-fp/floatsidf.c: Likewise.
2533         * soft-fp/floatsisf.c: Likewise.
2534         * soft-fp/floatsitf.c: Likewise.
2535         * soft-fp/floattidf.c: Likewise.
2536         * soft-fp/floattisf.c: Likewise.
2537         * soft-fp/floattitf.c: Likewise.
2538         * soft-fp/floatundidf.c: Likewise.
2539         * soft-fp/floatundisf.c: Likewise.
2540         * soft-fp/floatunsidf.c: Likewise.
2541         * soft-fp/floatunsisf.c: Likewise.
2542         * soft-fp/floatuntidf.c: Likewise.
2543         * soft-fp/floatuntisf.c: Likewise.
2544         * soft-fp/floatuntitf.c: Likewise.
2545         * soft-fp/fmadf4.c: Likewise.
2546         * soft-fp/fmasf4.c: Likewise.
2547         * soft-fp/fmatf4.c: Likewise.
2548         * soft-fp/gedf2.c: Likewise.
2549         * soft-fp/gesf2.c: Likewise.
2550         * soft-fp/getf2.c: Likewise.
2551         * soft-fp/ledf2.c: Likewise.
2552         * soft-fp/lesf2.c: Likewise.
2553         * soft-fp/letf2.c: Likewise.
2554         * soft-fp/muldf3.c: Likewise.
2555         * soft-fp/mulsf3.c: Likewise.
2556         * soft-fp/multf3.c: Likewise.
2557         * soft-fp/negdf2.c: Likewise.
2558         * soft-fp/negsf2.c: Likewise.
2559         * soft-fp/negtf2.c: Likewise.
2560         * soft-fp/op-1.h: Likewise.
2561         * soft-fp/op-2.h: Likewise.
2562         * soft-fp/op-4.h: Likewise.
2563         * soft-fp/op-8.h: Likewise.
2564         * soft-fp/op-common.h: Likewise.
2565         * soft-fp/quad.h: Likewise.
2566         * soft-fp/single.h: Likewise.
2567         * soft-fp/soft-fp.h: Likewise.
2568         * soft-fp/sqrtdf2.c: Likewise.
2569         * soft-fp/sqrtsf2.c: Likewise.
2570         * soft-fp/sqrttf2.c: Likewise.
2571         * soft-fp/subdf3.c: Likewise.
2572         * soft-fp/subsf3.c: Likewise.
2573         * soft-fp/subtf3.c: Likewise.
2574         * soft-fp/truncdfsf2.c: Likewise.
2575         * soft-fp/trunctfdf2.c: Likewise.
2576         * soft-fp/trunctfsf2.c: Likewise.
2577         * soft-fp/trunctfxf2.c: Likewise.
2578         * soft-fp/unorddf2.c: Likewise.
2579         * soft-fp/unordsf2.c: Likewise.
2580         * soft-fp/unordtf2.c: Likewise.
2582 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
2584         [BZ #15672]
2585         * misc/error.c (error_tail): Fix possible buffer overflow.
2587 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
2589         [BZ #13028]
2590         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
2591         address.
2593 2013-10-14  P. J. McDermott  <pj@pehjota.net>
2595         [BZ #832]
2596         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
2597         testing pipefail option.
2599 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
2601         * soft-fp/double.h: Indent preprocessor directives inside #if.
2602         * soft-fp/extended.h: Likewise.
2603         * soft-fp/op-2.h: Likewise.
2604         * soft-fp/op-4.h: Likewise.
2605         * soft-fp/op-common.h: Likewise.
2606         * soft-fp/quad.h: Likewise.
2607         * soft-fp/single.h: Likewise.
2608         * soft-fp/soft-fp.h: Likewise.
2610 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
2612         * iconv/iconv_prog.c: Fix typos.
2613         * stdio-common/psiginfo-data.h: Likewise.
2615 2013-10-12   Reuben Thomas <rrt@sc3d.org>
2617         [BZ #15764]
2618         * locale/setlocale.c: Fix typo.
2620 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
2622         [BZ #16036]
2623         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
2624         signaling NaN arguments.
2625         * soft-fp/unordsf2.c (__unordsf2): Likewise.
2626         * soft-fp/unordtf2.c (__unordtf2): Likewise.
2628         [BZ #14910]
2629         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
2630         unordered operands.
2631         * soft-fp/gesf2.c (__gesf2): Likewise.
2632         * soft-fp/getf2.c (__getf2): Likewise.
2633         * soft-fp/ledf2.c (__ledf2): Likewise.
2634         * soft-fp/lesf2.c (__lesf2): Likewise.
2635         * soft-fp/letf2.c (__letf2): Likewise.
2637         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
2638         * soft-fp/eqsf2.c (__eqsf2): Likewise.
2639         * soft-fp/eqtf2.c (__eqtf2): Likewise.
2640         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
2641         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
2642         * soft-fp/fixdfti.c (__fixdfti): Likewise.
2643         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
2644         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
2645         * soft-fp/fixsfti.c (__fixsfti): Likewise.
2646         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
2647         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
2648         * soft-fp/fixtfti.c (__fixtfti): Likewise.
2649         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
2650         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
2651         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
2652         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
2653         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
2654         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
2655         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
2656         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
2657         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
2658         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
2659         * soft-fp/floatdisf.c (__floatdisf): Likewise.
2660         * soft-fp/floatsisf.c (__floatsisf): Likewise.
2661         * soft-fp/floattidf.c (__floattidf): Likewise.
2662         * soft-fp/floattisf.c (__floattisf): Likewise.
2663         * soft-fp/floattitf.c (__floattitf): Likewise.
2664         * soft-fp/floatundidf.c (__floatundidf): Likewise.
2665         * soft-fp/floatundisf.c (__floatundisf): Likewise.
2666         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
2667         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
2668         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
2669         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
2670         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
2671         * soft-fp/gesf2.c (__gesf2): Likewise.
2672         * soft-fp/getf2.c (__getf2): Likewise.
2673         * soft-fp/ledf2.c (__ledf2): Likewise.
2674         * soft-fp/lesf2.c (__lesf2): Likewise.
2675         * soft-fp/letf2.c (__letf2): Likewise.
2677         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
2678         Undefine and redefine.
2679         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
2680         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
2681         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
2682         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
2683         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2684         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
2685         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2686         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
2687         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2688         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
2689         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2690         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
2691         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2692         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
2693         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2695         [BZ #16032]
2696         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
2697         without decrementing exponent if mantissa >= that for the
2698         denominator, not >.
2699         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
2700         denominator, not >.  Decrement exponent in < case instead of
2701         incrementing in >= case.
2702         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
2703         without decrementing exponent if mantissa >= that for the
2704         denominator, not >.
2706         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
2707         computing saturated result for unsigned overflow.
2709 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2710             Jeff Law  <law@redhat.com>
2712         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
2713         (atan2Mp): Add systemtap probe marker.
2714         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
2715         (__ieee754_log): Add systemtap probe marker.
2716         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
2717         (atanMp): Add systemtap probe marker.
2718         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
2719         (tanMp): Add systemtap probe marker.
2720         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
2721         (__slowexp): Add systemtap probe marker.
2722         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
2723         (__slowpow): Add systemtap probe marker.
2724         * manual/probes.texi: Document probes.
2726 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
2728         [BZ #15362]
2729         * libio/fileops.c (_IO_new_file_write): Return count of bytes
2730         written.
2731         (_IO_new_file_xsputn): Don't return EOF if nothing has been
2732         written.
2733         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
2734         written to buffer but not flushed.
2735         * libio/iofwrite_u.c:  Likewise.
2736         * libio/iopadn.c:  Return bytes returned even if EOF was
2737         encountered.
2738         * libio/iowpadn.c:  Likewise.
2739         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
2740         if _IO_padn does not write the whole buffer.
2741         [!COMPILE_WPRINTF] (PAD): Likewise.
2743 2013-10-10  David S. Miller  <davem@davemloft.net>
2745         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
2746         directory block.
2748 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
2750         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
2751         instead of FSF address.
2752         * soft-fp/fixdfti.c: Likewise.
2753         * soft-fp/fixsfti.c: Likewise.
2754         * soft-fp/fixtfti.c: Likewise.
2755         * soft-fp/fixunsdfti.c: Likewise.
2756         * soft-fp/fixunssfti.c: Likewise.
2757         * soft-fp/fixunstfti.c: Likewise.
2758         * soft-fp/floattidf.c: Likewise.
2759         * soft-fp/floattisf.c: Likewise.
2760         * soft-fp/floattitf.c: Likewise.
2761         * soft-fp/floatuntidf.c: Likewise.
2762         * soft-fp/floatuntisf.c: Likewise.
2763         * soft-fp/floatuntitf.c: Likewise.
2764         * soft-fp/trunctfxf2.c: Likewise.
2766         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
2767         * soft-fp/fixdfti.c: Likewise.
2768         * soft-fp/fixsfti.c: Likewise.
2769         * soft-fp/fixtfti.c: Likewise.
2770         * soft-fp/fixunsdfti.c: Likewise.
2771         * soft-fp/fixunssfti.c: Likewise.
2772         * soft-fp/fixunstfti.c: Likewise.
2773         * soft-fp/floattidf.c: Likewise.
2774         * soft-fp/floattisf.c: Likewise.
2775         * soft-fp/floattitf.c: Likewise.
2776         * soft-fp/floatuntidf.c: Likewise.
2777         * soft-fp/floatuntisf.c: Likewise.
2778         * soft-fp/floatuntitf.c: Likewise.
2779         * soft-fp/trunctfxf2.c: Likewise.
2781 2013-10-10  David S. Miller  <davem@davemloft.net>
2783         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2785 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
2787         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
2788         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
2789         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
2790         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
2791         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
2792         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
2793         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
2795         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
2796         for NaNs before doing comparisons on argument.
2797         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2798         Likewise.
2800 2013-10-10  Will Newton  <will.newton@linaro.org>
2802         * malloc/hooks.c (memalign_check): Ensure the value of bytes
2803         passed to _int_memalign does not overflow.
2805 2013-10-10  Torvald Riegel  <triegel@redhat.com>
2807         * scripts/bench.pl: Add include-sources directive.
2808         * benchtests/README: Update documentation.
2810 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
2812         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
2813         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
2814         instead of FP_INIT_ROUNDMODE.
2815         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
2816         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
2818         [BZ #16034]
2819         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
2820         copy class of input value.
2821         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
2822         not handle exceptions.
2823         * soft-fp/negsf2.c (__negsf2): Likewise.
2824         * soft-fp/negtf2.c (__negtf2): Likewise.
2825         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
2827 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
2829         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
2830         semicolon.  From Linux kernel.
2832 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
2834         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
2836 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
2838         [BZ #156]
2839         * manual/socket.texi: Added statement about buffer
2840         for gethostbyname2_r.
2842 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
2844         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
2845         Use .p2align directive instead, throughout.
2846         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2847         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2848         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
2849         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2850         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2851         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
2852         * sysdeps/x86_64/strchr.S: Likewise.
2853         * sysdeps/x86_64/strrchr.S: Likewise.
2855 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
2857         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
2859         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
2861         * sysdeps/generic/math_private.h (__mpsin1): Remove
2862         declaration.
2863         (__mpcos1): Likewise.
2864         (__mpsin): New argument __range_reduce.
2865         (__mpcos): Likewise.
2866         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2867         (slow): Use __mpsin and __mpcos.
2868         (slow1): Likewise.
2869         (slow2): Likewise.
2870         (sloww): Likewise.
2871         (sloww1): Likewise.
2872         (sloww2): Likewise.
2873         (bsloww): Likewise.
2874         (bsloww1): Likewise.
2875         (bsloww2): Likewise.
2876         (cslow2): Likewise.
2877         (csloww): Likewise.
2878         (csloww1): Likewise.
2879         (csloww2): Likewise.
2880         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
2881         range_reduce.  Merge in __mpsin1.
2882         (__mpcos): Likewise.
2883         (__mpsin1): Remove.
2884         (__mpcos1): Likewise.
2886 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
2888         * locale/loadlocale.c (_nl_intern_locale_data): Use
2889         LOCFILE_ALIGNED_P.
2890         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
2891         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
2892         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
2893         obstack data is appropriately aligned.
2894         (obstack_int32_grow_fast): Likewise.
2895         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
2896         * locale/programs/locfile.c (add_locale_uint32): Likewise.
2897         (add_locale_uint32_array): Likewise.
2899 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
2901         * benchtests/Makefile: Remove ARGLIST and RET variables.
2902         ($(objpfx)bench-%.c): Pass only function name to the script.
2903         * benchtests/README: Update documentation.
2904         * benchtests/acos-inputs: Add new directives.
2905         * benchtests/acosh-inputs: Likewise.
2906         * benchtests/asin-inputs: Likewise.
2907         * benchtests/asinh-inputs: Likewise.
2908         * benchtests/atan-inputs: Likewise.
2909         * benchtests/atanh-inputs: Likewise.
2910         * benchtests/cos-inputs: Likewise.
2911         * benchtests/cosh-inputs: Likewise.
2912         * benchtests/exp-inputs: Likewise.
2913         * benchtests/log-inputs: Likewise.
2914         * benchtests/pow-inputs: Likewise.
2915         * benchtests/rint-inputs: Likewise.
2916         * benchtests/sin-inputs: Likewise.
2917         * benchtests/sinh-inputs: Likewise.
2918         * benchtests/tan-inputs: Likewise.
2919         * benchtests/tanh-inputs: Likewise.
2920         * scripts/bench.pl: Add support for new directives.
2922 2013-10-07  Alan Modra  <amodra@gmail.com>
2924         * README: Fix careless merge.
2926 2013-10-05  Alan Modra  <amodra@gmail.com>
2928         * NEWS: Mention powerpc64le support and bugs fixed.
2929         * README: Both big-endian and little-endian powerpc64 supported.
2931 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2933         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
2934         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
2935         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
2936         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
2938 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
2940         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
2941         match prototype.
2943 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
2945         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
2946         Move -mhard-float appending from
2947         ports/sysdeps/powerpc/powerpc32/Makefile.
2948         [$(with-fp) = yes] (ASFLAGS): Likewise.
2949         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
2950         * sysdeps/powerpc/nofpu: Move directory from
2951         ports/sysdeps/powerpc/nofpu.
2952         * sysdeps/powerpc/soft-fp: Move directory from
2953         ports/sysdeps/powerpc/soft-fp.
2954         * sysdeps/powerpc/powerpc32/405: Move directory from
2955         ports/sysdeps/powerpc/powerpc32/405.
2956         * sysdeps/powerpc/powerpc32/440: Move directory from
2957         ports/sysdeps/powerpc/powerpc32/440.
2958         * sysdeps/powerpc/powerpc32/464: Move directory from
2959         ports/sysdeps/powerpc/powerpc32/464.
2960         * sysdeps/powerpc/powerpc32/476: Move directory from
2961         ports/sysdeps/powerpc/powerpc32/476.
2962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
2963         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
2964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
2965         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
2966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
2967         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
2968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
2969         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
2970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
2971         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
2972         * README: Update for powerpc-*-linux-gnu software floating point
2973         support in libc.
2975         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
2976         case to powerpc/powerpc32*.
2977         * sysdeps/unix/sysv/linux/configure: Regenerated.
2979         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
2980         (_FPU_MASK_OM): Define as 0x04.
2981         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
2982         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
2983         0x00c10080.
2984         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
2985         0x0000003c.
2986         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
2988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
2989         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
2990         getcontext_e500.
2991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
2992         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
2993         setcontext_e500.
2994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
2995         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
2996         and setcontext_e500.
2998 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
3000         * locale/iso-3166.def: Update iso-1366.def and related occurrences
3002 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3004         * manual/threads.texi (Default Thread Attributes): Fix typo.
3006 2013-10-04  Will Newton  <will.newton@linaro.org>
3008         * malloc/Makefile: Add tst-memalign.
3009         * malloc/tst-memalign.c: New file.
3011         * malloc/tst-posix_memalign.c: Add comments.
3012         (do_test): Add comments and call free on all potentially
3013         allocated pointers. Add space after cast.
3015         * malloc/tst-pvalloc.c: Add comments.
3016         (do_test): Add comments and call free on all potentially
3017         allocated pointers. Remove duplicate check for NULL pointer.
3018         Add space after cast.
3020         * malloc/tst-valloc.c: Add comments.
3021         (do_test): Add comments and call free on all potentially
3022         allocated pointers. Remove duplicate check for NULL pointer.
3023         Add space after cast.
3025 2013-10-04  Alan Modra  <amodra@gmail.com>
3027         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3028         Use stdint types in rather than __attribute__((mode())).
3029         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3031 2013-10-04  Alan Modra  <amodra@gmail.com>
3033         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3034         Correct handling of unaligned relocs for little-endian.
3035         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3037 2013-10-04  Alan Modra  <amodra@gmail.com>
3039         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
3040         * configure: Regenerate.
3041         * nptl/shlib-versions: Powerpc*le starts at 2.18.
3042         * shlib-versions: Likewise.
3044 2013-10-04  Alan Modra  <amodra@gmail.com>
3046         * string/tester.c (test_memrchr): Increment reported test cycle.
3048 2013-10-04  Alan Modra  <amodra@gmail.com>
3050         * string/test-memcpy.c (do_one_test): When reporting errors, print
3051         string address and don't overrun end of string.
3053 2013-10-04  Alan Modra  <amodra@gmail.com>
3055         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
3056         insrdi.  Make better use of reg selection to speed exit slightly.
3057         Schedule entry path a little better.  Remove useless "are we done"
3058         checks on entry to main loop.  Handle wrapping around zero address.
3059         Correct main loop count.  Handle single left-over word from main
3060         loop inline rather than by using loop_small.  Remove extra word
3061         case in loop_small caused by wrong loop count.  Add little-endian
3062         support.
3063         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3064         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
3065         cache hint.
3066         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3067         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
3068         support.  Avoid rlwimi.
3069         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
3071 2013-10-04  Alan Modra  <amodra@gmail.com>
3073         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
3074         insrdi.  Formatting.
3075         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
3076         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3077         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3078         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3079         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3080         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
3082 2013-10-04  Alan Modra  <amodra@gmail.com>
3084         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
3085         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3086         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3087         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
3088         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3089         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3090         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3091         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
3092         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
3093         use of regs.  Use power7 mtocrf.  Tidy function tails.
3095 2013-10-04  Alan Modra  <amodra@gmail.com>
3097         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
3098         Formatting.  Consistently use rXXX register defines or rN defines.
3099         Use early exit labels that avoid restoring unused non-volatile regs.
3100         Make cr field use more consistent with rWORDn compares.  Rename
3101         regs used as shift registers for unaligned loop, using rN defines
3102         for short lifetime/multiple use regs.
3103         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3104         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
3105         addi 1,1,64 to pop stack frame.  Simplify return value code.
3106         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3108 2013-10-04  Alan Modra  <amodra@gmail.com>
3110         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
3111         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
3112         rather than rlwimi.
3113         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
3114         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
3115         little-endian support.  Correct typos.
3116         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
3117         rather than rlwimi.
3118         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
3119         in loop and entry code to keep "and." results.
3120         (strchr): Add little-endian support.  Comment.  Move cntlzd
3121         earlier in tail.
3122         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
3124 2013-10-04  Alan Modra  <amodra@gmail.com>
3126         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
3127         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
3128         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
3129         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
3131 2013-10-04  Alan Modra  <amodra@gmail.com>
3133         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
3134         (rTMP): Define as r11.
3135         (strcmp): Add little-endian support.  Optimise tail.
3136         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
3137         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3138         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3139         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3140         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3141         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3142         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3144 2013-10-04  Alan Modra  <amodra@gmail.com>
3146         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
3147         little-endian support.  Remove unnecessary "are we done" tests.
3148         Handle "s" wrapping around zero and extremely large "size".
3149         Correct main loop count.  Handle single left-over word from main
3150         loop inline rather than by using small_loop.  Correct comments.
3151         Delete "zero" tail, use "end_max" instead.
3152         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
3154 2013-10-04  Alan Modra  <amodra@gmail.com>
3156         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
3157         support.  Don't branch over align.
3158         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
3159         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
3160         support.  Rearrange tmp reg use to suit.  Comment.
3161         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
3163 2013-10-04  Alan Modra  <amodra@gmail.com>
3165         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
3167 2013-10-04  Alan Modra  <amodra@gmail.com>
3169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
3170         conditional form of branch and link when obtaining pc.
3171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3173 2013-10-04  Alan Modra  <amodra@gmail.com>
3175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
3176         HIWORD/LOWORD.
3177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
3178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
3180 2013-10-04  Alan Modra  <amodra@gmail.com>
3182         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
3183         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
3184         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3185         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
3186         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3187         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3188         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
3189         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3190         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3191         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
3193 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
3194             Alistair Popple <alistair@ozlabs.au.ibm.com>
3195             Alan Modra <amodra@gmail.com>
3197         [BZ #15723]
3198         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
3199         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
3200         _dl_hwcap access for little-endian.
3201         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
3202         destroy vmx regs when saving unaligned.
3203         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
3204         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
3205         destroy vmx regs when saving unaligned.
3207 2013-10-04  Alan Modra  <amodra@gmail.com>
3209         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
3210         Don't use a union to pack hi/low value.
3212 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
3214         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
3215         for little-endian.
3216         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3217         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
3218         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3219         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3220         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3222 2013-10-04  Alan Modra  <amodra@gmail.com>
3224         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
3225         constants to usual value for .cst8 section, and remove redundant
3226         high address load.
3227         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
3228         constant for 0x1p52.  Load little-endian words of double from
3229         correct stack offsets.
3231 2013-10-04  Alan Modra  <amodra@gmail.com>
3233         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
3234         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
3235         words of double from correct stack offsets.
3236         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3237         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
3238         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3239         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3240         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3241         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3242         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3243         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3244         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3245         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3246         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3247         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3248         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3249         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3250         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3251         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
3252         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3254 2013-10-04  Alan Modra  <amodra@gmail.com>
3256         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
3257         64-bit int/double union.
3258         (_FPU_SETCW): Likewise.
3259         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
3260         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
3262 2013-10-04  Alan Modra  <amodra@gmail.com>
3264         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
3265         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
3267 2013-10-04  Alan Modra  <amodra@gmail.com>
3269         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
3270         use vector int constants.
3271         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
3273 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
3275         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
3276         array with long long.
3277         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
3278         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
3279         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
3280         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
3281         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
3282         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
3283         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
3284         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
3285         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
3286         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
3287         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
3288         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
3289         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
3291 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
3293         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
3294         (__signbit): Likewise.  Correct for little-endian.
3295         (__signbitl): Call __signbit.
3296         (lrint): Correct for little-endian.
3297         (lrintf): Call lrint.
3299 2013-10-04  Alan Modra  <amodra@gmail.com>
3301         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
3302         union 32-bit int array member with 64-bit int array.
3303         (t515, tm256): Double rather than long double.
3304         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
3306 2013-10-04  Alan Modra  <amodra@gmail.com>
3308         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
3309         Delete.
3310         (IEEE854_LONG_DOUBLE_BIAS): Delete.
3311         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
3312         version of math_ldbl.h.
3314 2013-10-04  Alan Modra  <amodra@gmail.com>
3316         [BZ #15734], [BZ #15735]
3317         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
3318         all uses of ieee875 long double macros and unions.  Simplify test
3319         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
3320         ldbl_extract_mantissa value for ix,iy exponents.  Properly
3321         normalize after ldbl_extract_mantissa, and don't add hidden bit
3322         already handled.  Don't treat low word of ieee854 mantissa like
3323         low word of IBM long double and mask off bit when testing for
3324         zero.
3325         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
3326         all uses of ieee875 long double macros and unions.  Simplify tests
3327         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
3328         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
3329         two1022, instead use their values.  Recognise that tests for large
3330         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
3331         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
3332         Rewrite all uses of ieee875 long double macros and unions.  Simplify
3333         test for 0.0L and nan.  Correct negation.
3334         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
3335         ieee875 long double macros and unions.  Correct output for large
3336         magnitude x.  Correct absolute value calculation.
3337         (__erfcl): Likewise.
3338         * math/libm-test.inc: Add tests for errors discovered in IBM long
3339         double versions of fmodl, remainderl, erfl and erfcl.
3341 2013-10-04  Alan Modra  <amodra@gmail.com>
3343         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
3344         all uses of ieee854 long double macros and unions.  Simplify tests
3345         for long doubles that are fully specified by the high double.
3346         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3347         Likewise.
3348         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
3349         Remove dead code too.
3350         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3351         (__ieee754_ynl): Likewise.
3352         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
3353         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
3354         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
3355         Remove dead code too.
3356         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
3357         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
3358         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
3359         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
3360         Simplify.
3361         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
3362         Simplify.
3363         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
3364         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
3365         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
3366         Comment on variable precision.
3367         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
3368         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3369         Likewise.
3370         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3371         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3372         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3373         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
3374         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
3376 2013-10-04  Alan Modra  <amodra@gmail.com>
3378         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
3379         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
3380         all uses of ieee854 long double macros and unions.
3381         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
3382         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3383         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
3384         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
3385         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
3386         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3387         Likewise.
3388         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
3389         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3390         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
3391         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3392         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
3393         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
3394         Simplify sign and nan test too.
3395         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
3396         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
3397         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
3398         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
3399         Likewise.
3400         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3401         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
3402         Likewise.
3403         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3404         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
3405         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
3406         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
3407         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
3408         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
3410 2013-10-04  Alan Modra  <amodra@gmail.com>
3412         * stdio-common/printf_size.c (__printf_size): Don't use
3413         union ieee854_long_double in fpnum union.
3414         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
3415         signbit macro to retrieve sign from long double.
3416         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
3417         retrieve sign from long double.
3418         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
3419         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
3420         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
3421         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3422         * math/test-misc.c (main): Don't use union ieee854_long_double.
3424 2013-10-04  Alan Modra  <amodra@gmail.com>
3426         [BZ #15680]
3427         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
3428         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
3429         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
3430         calculation.  Remove unnecessary test for denormal exponent.
3431         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
3432         Correct handling of denormals.  Avoid undefined shift behaviour.
3433         Correct normalisation of low mantissa when low double is denormal.
3434         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
3435         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
3436         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
3437         Correct normalisation of low mantissa.  Test for overflow of high
3438         mantissa and normalise.
3439         (ldbl_nearbyint): Use more readable constant for two52.
3440         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
3441         (__mpn_construct_long_double): Fix test for overflow of high
3442         mantissa and correct normalisation.  Avoid undefined shift.
3444 2013-10-04  Alan Modra  <amodra@gmail.com>
3446         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3447         (union ibm_extended_long_double): Define as an array of ieee754_double.
3448         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
3449         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
3450         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
3451         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3452         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3453         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
3454         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3455         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3456         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3457         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
3458         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3460 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
3462         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
3463         page size instead of calling getpagesize.
3465         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
3466         (LOCFILE_ALIGN_MASK): Likewise.
3467         (LOCFILE_ALIGN_UP): Likewise.
3468         (LOCFILE_ALIGNED_P): Likewise.
3469         * locale/programs/ld-collate.c (collate_output): Use the new
3470         macros instead of __alignof__ (int32_t).
3471         * locale/weight.h (findidx): Likewise.
3473 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
3475         [BZ #431]
3476         * manual/string.texi: Fix strncat and wcsncat.
3478 2013-10-03  Brooks Moses  <bmoses@google.com>
3480         [BZ #15915]
3481         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
3482         * Makerules: ...here, and adjust associated comments.
3484 2013-10-02  Will Newton  <will.newton@linaro.org>
3486         * malloc/Makefile: Add tst-pvalloc.
3487         * malloc/tst-pvalloc.c: New file.
3489 2013-10-02  Will Newton  <will.newton@linaro.org>
3491         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
3492         improve test coverage.
3494 2013-10-02  Will Newton  <will.newton@linaro.org>
3496         * malloc/Makefile: Add tst-posix_memalign.
3497         * malloc/tst-posix_memalign.c: New file.
3499 2013-10-01  Eric Blake  <eblake@redhat.com>
3501         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
3502         Use __THROWNL rather than __THROW on static functions.
3504 2013-09-30  Petr Machata  <pmachata@redhat.com>
3506         * elf/elf.h (R_AARCH64_ABS16): New macro.
3507         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
3508         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
3509         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
3510         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
3511         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
3512         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
3513         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
3514         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
3515         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
3516         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
3517         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
3518         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
3519         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
3520         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
3521         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
3522         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
3523         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
3524         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
3525         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
3526         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
3527         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
3528         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
3529         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
3530         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
3531         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
3532         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
3533         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
3534         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
3535         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
3536         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
3537         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
3538         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
3539         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
3540         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
3541         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
3542         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
3543         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
3544         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
3545         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
3546         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
3547         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
3548         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
3549         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
3550         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
3551         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
3552         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
3553         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
3554         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
3555         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
3556         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
3557         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
3558         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
3559         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
3560         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
3561         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
3562         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
3563         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
3564         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
3565         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
3566         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
3567         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
3568         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
3569         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
3570         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
3571         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
3572         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
3573         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
3574         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
3575         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
3576         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
3577         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
3578         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
3579         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
3580         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
3581         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
3582         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
3583         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
3584         (R_AARCH64_TLSDESC_LDR): Likewise.
3585         (R_AARCH64_TLSDESC_ADD): Likewise.
3586         (R_AARCH64_TLSDESC_CALL): Likewise.
3588 2013-09-30  Andreas Schwab  <schwab@suse.de>
3590         [BZ #15048]
3591         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
3592         the nss database lookup.
3593         * nscd/initgrcache.c (addinitgroupsX): Likewise.
3594         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3596 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
3598         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
3600 2013-09-28  P. J. McDermott  <pj@pehjota.net>
3602         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
3603         ${Bash-specific parameter/pattern/string} parameter expansion.
3604         * sysdeps/unix/make-syscalls.sh: Likewise.
3606 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3608         * sysdeps/sh/stackguard-macros.h: New file.
3610 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
3612         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
3613         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
3614         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
3615         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
3616         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3617         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
3619 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3621         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
3622         Fix thread ID register.
3624 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
3626         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
3627         [POSIX || UNIX98]: Require rather than permitting all symbols from
3628         <time.h>.
3629         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
3630         element of struct sched_param.
3631         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
3632         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
3633         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
3634         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
3635         constant.
3637 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
3639         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
3640         argument calculation.
3642 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
3644         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
3645         Expect macro.
3646         [POSIX] (pthread_attr_t): Do not require type.
3647         [POSIX] (pthread_cond_t): Likewise.
3648         [POSIX] (pthread_condattr_t): Likewise.
3649         [POSIX] (pthread_key_t): Likewise.
3650         [POSIX] (pthread_mutex_t): Likewise.
3651         [POSIX] (pthread_mutexattr_t): Likewise.
3652         [POSIX] (pthread_once_t): Likewise.
3653         [POSIX] (pthread_t): Likewise.
3654         [POSIX-based standards] (pthread_atfork): Expect function.
3656 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
3657             Richard Sandiford  <richard@codesourcery.com>
3659         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
3660         (swap_endianness_p): New extern variable.
3661         (set_big_endian): New inline function.
3662         (maybe_swap_uint32): Likewise.
3663         (maybe_swap_uint32_array): Likewise.
3664         (maybe_swap_uint32_obstack): Likewise.
3665         * locale/programs/locfile.c: Include <stdbool.h>.
3666         (swap_endianness_p): New variable.
3667         (add_locale_uint32): Call maybe_swap_uint32.
3668         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
3669         (write_locale_data): Call maybe_swap_uint32_array.
3670         * locale/programs/ld-collate.c (obstack_int32_grow): Call
3671         maybe_swap_uint32.
3672         (obstack_int32_grow_fast): Likewise.
3673         (output_weightwc): Call maybe_swap_uint32_obstack.
3674         (collate_output): Likewise.
3675         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
3676         (OPT_LITTLE_ENDIAN): Likewise.
3677         (options): Add --little-endian and --big-endian options.
3678         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
3679         * locale/programs/locarchive.c: Include "locfile.h".
3680         (GET): New macro.
3681         (SET): Likewise.
3682         (INC): Likewise.
3683         (create_archive): Use the new macros to access fields of
3684         structures directly mapped from or written to locale archives.
3685         (oldlocrecentcmp): Likewise.
3686         (enlarge_archive): Likewise.
3687         (insert_name): Likewise.
3688         (add_alias): Likewise.
3689         (add_locale): Likewise.
3690         (delete_locales_from_archive): Likewise.
3691         (show_archive_content): Likewise.
3692         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
3693         locale data.
3695 2013-09-24  Roland McGrath  <roland@hack.frob.com>
3697         * manual/freemanuals.texi: Updated from (newly) canonical copy at
3698         http://www.gnu.org/doc/freemanuals.texi.
3699         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
3701 2013-09-24  Will Newton  <will.newton@linaro.org>
3703         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
3704         macro.
3706 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
3708         * locale/hashval.h (compute_hashval): Interpret bytes of key as
3709         unsigned char.
3711 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
3713         * manual/threads.texi (POSIX Threads): Fix a typo.
3715 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
3717         [BZ #14547]
3718         * string/tst-strcoll-overflow.c: New test case.
3719         * string/Makefile (xtests): Add tst-strcoll-overflow.
3720         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
3721         cache if string sizes may cause integer overflow.
3723         [BZ #14547]
3724         * string/strcoll_l.c (coll_seq): New members rule, idx,
3725         save_idx and back_us.
3726         (get_next_seq_nocache): New function.
3727         (do_compare_nocache): New function.
3728         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
3729         when malloc fails.
3731 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
3733         [BZ #15754]
3734         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
3735         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
3736         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
3738         [BZ #15754]
3739         * elf/Makefile (tests): Add tst-ptrguard1.
3740         (tests-static): Add tst-ptrguard1-static.
3741         (tst-ptrguard1-ARGS): Define.
3742         (tst-ptrguard1-static-ARGS): Define.
3743         * elf/tst-ptrguard1.c: New file.
3744         * elf/tst-ptrguard1-static.c: New file.
3745         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
3746         * sysdeps/i386/stackguard-macros.h: Likewise.
3747         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3748         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3749         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3750         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3751         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3752         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3754 2013-09-23  Hector Marco  <hecmargi@upv.es>
3755             Ismael Ripoll  <iripoll@disca.upv.es>
3756             Carlos O'Donell  <carlos@redhat.com>
3758         [BZ #15754]
3759         * sysdeps/generic/stackguard-macros.h: Define
3760         __pointer_chk_guard_local and POINTER_CHK_GUARD.
3761         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
3762         Define __pointer_chk_guard_local.
3763         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
3764         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
3766 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
3768         [BZ #15859]
3769         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
3771 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
3773         * include/string.h (__ffs): Declare as hidden.
3774         * string/ffs.c (__ffs): Define as hidden.
3775         * sysdeps/i386/ffs.c (__ffs): Likewise.
3776         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
3777         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
3778         * sysdeps/s390/ffs.c (__ffs): Likewise.
3779         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
3781 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
3783         * NEWS: Mention malloc probes.
3785         * malloc/arena.c (new_heap): New memory_heap_new probe.
3786         (grow_heap): New memory_heap_more probe.
3787         (shrink_heap): New memory_heap_less probe.
3788         (heap_trim): New memory_heap_free probe.
3789         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
3790         (systrim): New memory_sbrk_less probe.
3791         * manual/probes.texi: Document them.
3793         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
3794         * manual/probes.texi: Document it.
3796         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
3797         (__libc_realloc): Add memory_realloc_retry probe.
3798         (__libc_memalign): Add memory_memalign_retry probe.
3799         (__libc_valloc): Add memory_valloc_retry probe.
3800         (__libc_pvalloc): Add memory_pvalloc_retry probe.
3801         (__libc_calloc): Add memory_calloc_retry probe.
3802         * manual/probes.texi: Document them.
3804         * malloc/arena.c (get_free_list): Add probe
3805         memory_arena_reuse_free_list.
3806         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
3807         and memory_arena_reuse.
3808         (arena_get2) [!PER_THREAD]: Likewise.
3809         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
3810         memory_arena_reuse_realloc.
3811         * manual/probes.texi: Document them.
3813         * malloc/malloc.c (__libc_free): Add
3814         memory_mallopt_free_dyn_thresholds probe.
3815         (__libc_mallopt): Add multiple memory_mallopt probes.
3816         * manual/probes.texi: Document them.
3818         * malloc/malloc.c: Include stap-probe.h.
3819         (__libc_mallopt): Add memory_mallopt probe.
3820         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
3821         * manual/probes.texi: New.
3822         * manual/Makefile (chapters): Add probes.
3823         * manual/threads.texi: Set next node.
3825 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
3827         [BZ #15963, #13985]
3828         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
3829         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
3830         Add `Chinese' to `nan' entry name.
3832 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3834         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
3835         (POLYNOMIAL): Likewise.
3836         (TAYLOR_SINCOS): Likewise.
3837         (TAYLOR_SLOW): Likewise.
3838         (__sin): Use TAYLOR_SINCOS.
3839         (__cos): Likewise.
3840         (slow): Use TAYLOR_SLOW.
3841         (sloww): Likewise.
3842         (bsloww): Likewise.
3843         (csloww): Likewise.
3845 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3847         * stdlib/strtod_l.c: Fix buffer overrun.
3849 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3851         * benchtests/Makefile (bench): Add sincos.
3852         * benchtests/bench-sincos.c: New file.
3854         * math/libm-test.inc (cos_test_data): New test inputs.
3855         (sin_test_data): Likewise.
3857         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
3858         macro.
3859         (__sin): Use it.
3860         (__cos): Likewise.
3861         (slow1): Likewise.
3862         (slow2): Likewise.
3863         (sloww1): Likewise.
3864         (sloww2): Likewise.
3865         (bsloww1): Likewise.
3866         (bsloww2): Likewise.
3867         (cslow2): Likewise.
3868         (csloww1): Likewise.
3869         (csloww2): Likewise.
3871         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
3872         function.
3873         (__sin): Use it.
3874         (__cos): Likewise.
3876         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
3877         gotos.
3878         (__cos): Likewise.
3880 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
3882         * config.h.in (HAVE_MIPS_NAN2008): New macro.
3883         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
3884         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
3885         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
3886         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
3887         * elf/cache.c (print_entry): Handle the new cache flags.
3889 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
3890             Aldy Hernandez  <aldyh@redhat.com>
3892         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
3893         Change condition to [_SOFT_FLOAT].
3894         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
3895         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
3896         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
3897         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
3898         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
3899         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
3900         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
3901         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
3902         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
3903         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
3904         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
3905         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
3906         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
3907         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
3908         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
3909         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
3910         declaration.
3912 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
3914         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
3915         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
3916         (__longjmp): Use LOAD_GP to load saved GPRs.
3917         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
3918         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
3919         (__sigsetjmp): Use SAVE_GP to save GPRs.
3921         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
3922         Do not append -msoft-float.
3923         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
3925 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3927         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
3929 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
3931         [BZ #15966]
3932         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
3933         (_FPU_GETCW): Use initial "__" on variable and field names but not
3934         on macro parameter name.
3935         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
3936         parentheses around reference to macro parameter.
3938 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
3940         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
3941         prototype.
3942         (ctype_startup): Use uint32_t in cast and sizeof for
3943         ctype->charnames.
3945 2013-09-11  Jia Liu  <proljc@gmail.com>
3947         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
3948         __daddr_t_defined.
3949         [__FreeBSD__]: Likewise.
3951 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
3953         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3954         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
3955         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
3956         (strchr): Remove __strchr_sse42 ifunc selection.
3957         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
3958         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
3960 2013-09-11  Will Newton  <will.newton@linaro.org>
3962         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
3963         parameter to RES. Remove hardcoded 1000 value.
3964         * benchtests/bench-skeleton.c (main): Pass RES parameter
3965         to TIMING_INIT and multiply result by 1000.
3967 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3969         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3971 2013-09-11  Andreas Schwab  <schwab@suse.de>
3973         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
3974         if not defined.
3975         (O_TMPFILE) [__USE_GNU]: Define.
3976         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
3977         Define.
3979 2013-09-11  Will Newton  <will.newton@linaro.org>
3981         [BZ #15857]
3982         * malloc/malloc.c (__libc_memalign): Check the value of bytes
3983         does not overflow.
3985 2013-09-11  Will Newton  <will.newton@linaro.org>
3987         [BZ #15856]
3988         * malloc/malloc.c (__libc_valloc): Check the value of bytes
3989         does not overflow.
3991 2013-09-11  Will Newton  <will.newton@linaro.org>
3993         [BZ #15855]
3994         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
3995         does not overflow.
3997 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
3999         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
4000         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4001         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4002         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4003         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4005 2013-09-10  Allan McRae  <allan@archlinux.org>
4007         [BZ #15748]
4008         * manual/arith.texi (Parsing of Floats): Clarify
4009         cross-reference.
4011         [BZ #15849]
4012         * manual/install.texi (Running make install): Mention
4013         --enable-pt-chown.
4014         * INSTALL: Regenerated.
4016 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
4018         * csu/init-first.c (_init): Remove the !SHARED condition around
4019         FPU control word initialization.
4020         * elf/dl-support.c (_dl_fpu_control): New variable.
4021         (_dl_aux_init) <AT_FPUCW>: Initialize it.
4022         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
4023         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
4024         * math/test-fpucw-static.c: New file.
4025         * math/test-fpucw-ieee.c: New file.
4026         * math/test-fpucw-ieee-static.c: New file.
4027         * math/Makefile (tests): Add `test-fpucw-ieee' and
4028         `$(tests-static)'.
4029         (tests-static): New variable.
4030         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
4031         dependency to...
4032         [($(build-shared),yes)]
4033         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4034         ... this.
4035         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
4036         New dependency.
4038 2013-09-09  Allan McRae  <allan@archlinux.org>
4040         [BZ #15939]
4041         * manual/string.texi (Collation Functions): Fix typo in
4042         strcoll example.
4043         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
4045         [BZ #15893]
4046         * stdlib/isomac.c (get_null_defines): Fix memory leak.
4048         [BZ #15892]
4049         * libio/memstream.c (open_memstream): Fix memory leak.
4050         * libio/wmemstream.c (open_wmemstream): Likewise.
4052         [BZ #15895]
4053         * nscd/netgroupcache.c: Fix nesting of ifdefs.
4055 2013-09-09  Will Newton  <will.newton@linaro.org>
4057         * malloc/Makefile: Add tst-realloc to tests.
4058         * malloc/tst-realloc.c: New file.
4060 2013-09-09  Allan McRae  <allan@archlinux.org>
4062         [BZ #15844]
4063         * COPYING: Update from GNU website to fix FSF address.
4064         * COPYING.LIB: Likewise.
4066 2013-09-06  David S. Miller  <davem@davemloft.net>
4068         * po/zh_TW.po: Update Chinese (traditional) translation from
4069         translation project.
4071 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
4072             Joseph Myers  <joseph@codesourcery.com>
4074         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
4075         "localeinfo.h".
4076         (obstack_chunk_alloc): New macro.
4077         (obstack_chunk_free): Likewise.
4078         (record_offset): New function.
4079         (init_locale_data): Likewise.
4080         (align_locale_data): Likewise.
4081         (add_locale_empty): Likewise.
4082         (add_locale_raw_data): Likewise.
4083         (add_locale_raw_obstack): Likewise.
4084         (add_locale_string): Likewise.
4085         (add_locale_wstring): Likewise.
4086         (add_locale_uint32): Likewise.
4087         (add_locale_uint32_array): Likewise.
4088         (add_locale_char): Likewise.
4089         (start_locale_structure): Likewise.
4090         (end_locale_structure): Likewise.
4091         (start_locale_prelude): Likewise.
4092         (end_locale_prelude): Likewise.
4093         (write_locale_data): Take locale_file structure rather than an
4094         iovec.
4095         * locale/programs/locfile.h: Include "obstack.h".
4096         (struct locale_file): Change to store locale file contents instead
4097         of header.
4098         (init_locale_data): New prototype.
4099         (align_locale_data): Likewise.
4100         (add_locale_empty): Likewise.
4101         (add_locale_raw_data): Likewise.
4102         (add_locale_raw_obstack): Likewise.
4103         (add_locale_string): Likewise.
4104         (add_locale_wstring): Likewise.
4105         (add_locale_uint32): Likewise.
4106         (add_locale_uint32_array): Likewise.
4107         (add_locale_char): Likewise.
4108         (start_locale_structure): Likewise.
4109         (end_locale_structure): Likewise.
4110         (start_locale_prelude): Likewise.
4111         (end_locale_prelude): Likewise.
4112         (write_locale_data): Update prototype.
4113         * locale/programs/3level.h (struct TABLE): Remove result field.
4114         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
4115         Use new locale_file interface.
4116         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
4117         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
4118         * locale/programs/ld-address.c (address_output): Use new
4119         locale_file interface.
4120         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
4121         NO_ADD_LOCALE.
4122         (collate_finish): Don't call collseq_table_finalize.
4123         (collate_output): Use new locale_file interface.
4124         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
4125         in file.
4126         (NO_FINALIZE): Change to NO_ADD_LOCALE.
4127         (TABLE): Move defines earlier in file.
4128         (ELEMENT): Likewise.
4129         (DEFAULT): Likewise.
4130         (wctrans_table_add): Move macro and inline function earlier in
4131         file.
4132         (struct wctype_table): Move type earlier in file.
4133         (add_locale_wctype_table): New static prototype.
4134         (struct locale_ctype_t): Use logical types instead of struct iovec
4135         pointers for members.
4136         (ctype_output): Use new locale_file interface.
4137         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
4138         new locale_file interface.
4139         (allocate_arrays): Update for use of new locale_file interface.
4140         * locale/programs/ld-identification.c (identification_output): Use
4141         new locale_file interface.
4142         * locale/programs/ld-measurement.c (measurement_output): Likewise.
4143         * locale/programs/ld-messages.c (messages_output): Likewise.
4144         * locale/programs/ld-monetary.c (monetary_output): Likewise.
4145         * locale/programs/ld-name.c (name_output): Likewise.
4146         * locale/programs/ld-numeric.c (numeric_output): Likewise.
4147         * locale/programs/ld-paper.c (paper_output): Likewise.
4148         * locale/programs/ld-telephone.c (telephone_output): Likewise.
4149         * locale/programs/ld-time.c (time_output): Likewise.
4151 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4153         * benchtests/Makefile: Add memrchr benchmark.
4154         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
4155         benchmark as memrchr.
4156         * benchtests/bench-memrchr-ifunc.c: New file.
4157         * benchtests/bench-memrchr.c: New file.
4159 2013-09-06   Will Newton  <will.newton@linaro.org>
4161         * benchtests/Makefile (string-bench): Add memcpy.
4163 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
4164             Cong Wang  <amwang@redhat.com>
4166         * sysdeps/unix/sysv/linux/bits/in.h
4167         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
4168         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
4169         before __USE_KERNEL_IPV6_DEFS uses.
4170         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
4171         IPPROTO_BEETPH.
4172         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
4173         sockaddr_in6, or ipv6_mreq.
4175 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4177         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
4178         memory access for final bytes in some large inputs.
4179         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
4181 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4183         * string/test-memrchr.c: New file.
4184         * string/test-memrchr-ifunc.c: New file.
4185         * string/Makefile: Add new memrchr testcase.
4187 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
4189         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
4190         fanotify_init returns EPERM.
4192 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
4194         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
4195         errors.
4196         (top level): Treat second token from macro or constant entries for
4197         allowed headers as allowed.
4198         * include/complex.h: Condition internal declarations on
4199         [!_ISOMAC].
4200         * include/fenv.h: Condition include of <stdbool.h> and internal
4201         declarations on [!_ISOMAC].
4203 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
4205         [BZ #15923]
4206         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
4208 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
4210         * configure.in (--enable-versioning): Remove configure option.
4211         (libc_cv_asm_symver_directive): Remove configure test.
4212         (libc_cv_ld_version_script_option): Likewise.
4213         (VERSIONING): Remove variable and AC_SUBST.
4214         (DO_VERSIONING): Remove AC_DEFINE.
4215         * configure: Regenerated.
4216         * config.h.in (DO_VERSIONING): Remove macro.
4217         * Makerules [$(versioning) = yes]: Change conditionals to
4218         [$(build-shared) = yes].
4219         * config.make.in (versioning): Remove variable.
4220         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
4221         [$(build-shared) = yes].
4222         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
4223         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
4224         * elf/Makefile [$(versioning) = yes]: Change conditionals to
4225         [$(build-shared) = yes].
4226         * extra-lib.mk [$(versioning) = yes]: Likewise.
4227         * hurd/Makefile [$(versioning) = yes]: Likewise.
4228         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
4229         [SHARED].
4230         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
4231         [SHARED].
4232         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4233         [SHARED && !NO_HIDDEN].
4234         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
4235         [SHARED].
4236         [SHARED && DO_VERSIONING]: Likewise..
4237         * libio/Makefile [$(versioning) = yes]: Change conditionals to
4238         [$(build-shared) = yes].
4239         * manual/install.texi (--disable-versioning): Remove
4240         documentation.
4241         * INSTALL: Regenerated.
4242         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
4243         to [SHARED].
4244         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
4245         [$(build-shared) = yes].
4246         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
4247         * sysdeps/i386/i686/multiarch/strstr-c.c
4248         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4249         [SHARED && !NO_HIDDEN].
4250         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
4251         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
4252         * sysdeps/powerpc/powerpc32/dl-machine.c
4253         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
4254         * sysdeps/powerpc/powerpc32/sysdep.h
4255         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
4256         to [SHARED && PIC && !NO_HIDDEN].
4257         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
4258         conditional to [SHARED].
4260 2013-09-04   Will Newton  <will.newton@linaro.org>
4262         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
4263         * benchtests/bench-string.h: Include bench-timing.h instead
4264         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
4265         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
4266         call to HP_TIMING_DIFF_INIT.
4267         * benchtests/bench-memccpy.c: Use bench-timing.h macros
4268         instead of hp-timing.h macros.
4269         * benchtests/bench-memchr.c: Likewise.
4270         * benchtests/bench-memcmp.c: Likewise.
4271         * benchtests/bench-memcpy.c: Likewise.
4272         * benchtests/bench-memmem.c: Likewise.
4273         * benchtests/bench-memmove.c: Likewise.
4274         * benchtests/bench-memset.c: Likewise.
4275         * benchtests/bench-rawmemchr.c: Likewise.
4276         * benchtests/bench-strcasecmp.c: Likewise.
4277         * benchtests/bench-strcasestr.c: Likewise.
4278         * benchtests/bench-strcat.c: Likewise.
4279         * benchtests/bench-strchr.c: Likewise.
4280         * benchtests/bench-strcmp.c: Likewise.
4281         * benchtests/bench-strcpy.c: Likewise.
4282         * benchtests/bench-strcpy_chk.c: Likewise.
4283         * benchtests/bench-strlen.c: Likewise.
4284         * benchtests/bench-strncasecmp.c: Likewise.
4285         * benchtests/bench-strncat.c: Likewise.
4286         * benchtests/bench-strncmp.c: Likewise.
4287         * benchtests/bench-strncpy.c: Likewise.
4288         * benchtests/bench-strnlen.c: Likewise.
4289         * benchtests/bench-strpbrk.c: Likewise.
4290         * benchtests/bench-strrchr.c: Likewise.
4291         * benchtests/bench-strspn.c: Likewise.
4292         * benchtests/bench-strstr.c: Likewise.
4294 2013-09-04  Will Newton  <will.newton@linaro.org>
4296         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
4298 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
4300         [BZ #15427]
4301         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
4302         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
4303         * math/libm-test.inc (lgamma_test_data): Add more tests.
4304         * sysdeps/i386/fpu/libm-test-ulps: Update.
4305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4307 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
4309         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
4310         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4311         Add ifunc.
4312         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4313         Add strcmp-sse2-unaligned
4314         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
4316 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
4318         * Versions.def (libc): Add GLIBC_2.19.
4320 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
4322         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
4323         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
4325 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
4327         [BZ #14155]
4328         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
4329         intermediate calculations in recurrence.
4330         (__ieee754_ynf): Likewise.
4331         * math/libm-test.inc (jn_test_data): Do not allow spurious
4332         underflow exception.  Add more tests.
4333         (yn_test_data): Add more tests.
4334         * sysdeps/i386/fpu/libm-test-ulps: Update.
4335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4337 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
4339         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
4341 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
4343         * csu/init-first.c: Fix then/than typos.
4344         * locale/programs/ld-collate.c: Likewise.
4345         * locale/programs/linereader.h: Likewise.
4346         * manual/charset.texi: Likewise.
4347         * manual/filesys.texi: Likewise.
4348         * manual/stdio.texi: Likewise.
4349         * manual/string.texi: Likewise.
4350         * stdlib/fmtmsg.c: Likewise.
4351         * sysdeps/i386/stpncpy.S: Likewise.
4352         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4353         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4354         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4355         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4357 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
4359         * elf/dl-open.c: Fix typos.
4360         * iconvdata/gbbig5.c: Likewise.
4361         * iconvdata/iso-2022-jp.c: Likewise.
4362         * iconv/gconv_int.h: Likewise.
4363         * iconv/loop.c: Likewise.
4364         * nis/rpcsvc/nis.h: Likewise.
4365         * resolv/ns_name.c: Likewise.
4366         * stdio-common/vfscanf.c: Likewise.
4367         * streams/stropts.h: Likewise.
4368         * sunrpc/rpc_thread.c: Likewise.
4369         * sysdeps/i386/strpbrk.S: Likewise.
4370         * sysdeps/ieee754/k_standard.c: Likewise.
4371         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4372         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4373         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
4374         * sysdeps/mach/hurd/profil.c: Likewise.
4375         * sysdeps/s390/dl-procinfo.h: Likewise.
4376         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
4377         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4378         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
4379         * sysdeps/x86_64/dl-trampoline.S: Likewise.
4380         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4382 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
4384         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
4385         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
4387 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
4389         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
4390         aix specific files.
4391         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
4392         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
4393         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
4394         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
4395         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
4396         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
4397         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
4398         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
4400 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
4401             Roland McGrath  <roland@hack.frob.com>
4403         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
4404         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
4406 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4408         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
4409         __executable_start symbol instead of _start.
4411 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
4413         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
4414         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
4415         Move macros to...
4416         * sysdeps/gnu/ldsodefs.h: ... this new file.
4418         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
4419         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
4420         instead of ELFOSABI_LINUX.
4422         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
4423         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
4424         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
4425         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
4426         Likewise.
4427         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
4428         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
4429         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
4430         Likewise.
4431         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4432         (ibm_extended_long_double): Add ieee_nan member.
4433         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
4434         (do_test): New function.
4436         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
4437         TEST_TRUNC.
4438         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
4439         functions, renamed from truncdfsf_test, trunctfsf_test,
4440         trunctfdf_test.
4441         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
4442         functions.
4443         (do_test): Run all these.
4445 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
4447         * argp/argp-help.c: Fix typos.
4448         * argp/argp-parse.c: Likewise.
4449         * debug/backtracesyms.c: Likewise.
4450         * elf/elf.h: Likewise.
4451         * malloc/malloc.c: Likewise.
4452         * nis/nis_print.c: Likewise.
4453         * resolv/res_comp.c: Likewise.
4454         * stdlib/stdlib.h: Likewise.
4455         * sunrpc/clnt_tcp.c: Likewise.
4456         * sunrpc/clnt_udp.c: Likewise.
4457         * sunrpc/clnt_unix.c: Likewise.
4458         * sysdeps/unix/bsd/ptsname.c: Likewise.
4459         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4460         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
4461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
4462         Likewise.
4463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
4464         Likewise.
4465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4466         Likewise.
4467         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4469 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4471         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
4472         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4474 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
4476         [BZ #15897]
4477         * dlfcn/Makefile (tests): Add bug-dl-leaf.
4478         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
4479         ($(objpfx)bug-dl-leaf): New rule.
4480         ($(objpfx)bug-dl-leaf.so): Likewise.
4481         ($(objpfx)bug-dl-leaf.out): Likewise.
4482         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
4483         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
4484         * dlfcn/bug-dl-leaf.c: New test.
4485         * dlfcn/bug-dl-leaf-lib.c: Likewise.
4486         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
4487         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
4488         (dlclose): Likewise.
4489         (dlmopen): Likewise.
4491 2013-08-27  Roland McGrath  <roland@hack.frob.com>
4493         * include/netdb.h [!_ISOMAC]:
4494         Don't include <tls.h>.
4495         (h_errno, __libc_h_errno): Move declaration and macros out of
4496         [_LIBC_REENTRANT].
4498         * include/resolv.h [_RESOLV_H_]:
4499         Don't include <tls.h>.
4500         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
4501         * resolv/res_libc.c: Don't include <tls.h>.
4502         (_res): Use __attribute__ ((nocommon)) in place of
4503         __attribute__ ((section (".bss"))).
4505         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
4506         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
4508         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
4510         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
4511         only under [SIOCGIFCONF && SIOCGIFNETMASK].
4513         * resolv/res_mkquery.c: Include <sys/time.h>.
4515         * inet/ifreq.c: Moved to ...
4516         * sysdeps/unix/ifreq.c: ... here.
4517         * inet/ifreq.c: New file, true stub version.
4519         * socket/sa_len.c: New file.
4520         * socket/Makefile (aux): Add it.
4521         * sysdeps/unix/sysv/linux/Makefile
4522         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
4523         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
4524         and #include <socket/sa_len.c>.
4525         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
4526         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
4528         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
4529         * bits/socket.h: ... here.
4531         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
4532         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
4533         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
4535 2013-08-27  Andreas Schwab  <schwab@suse.de>
4537         [BZ #15736]
4538         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
4539         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
4540         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
4541         * string/test-strcasecmp.c (test_main): Run tests in several
4542         locales.
4543         * string/test-strncasecmp.c (test_main): Likewise.
4545         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
4546         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
4547         to __strcasecmp_nonascii and __strncasecmp_nonascii.
4548         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
4549         (__strncasecmp_ssse3) [PIC]: Likewise.
4551 2013-08-26  Roland McGrath  <roland@hack.frob.com>
4553         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
4555         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
4556         instead of explicitly declaring xdecrypt.
4557         * nis/nss_nis/nis-publickey.c: Likewise.
4559 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4561         [BZ #15890]
4562         * nscd/aicache.c: Include res_hconf.h.
4563         (addhstaiX): Initialize res_hconf.
4565 2013-08-26  Andreas Schwab  <schwab@suse.de>
4567         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
4568         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
4570 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4572         * nscd/aicache.c (addhstaiX): Fix indentation.
4574 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
4576         * configure.ac: Quote $build_pt_chown test.
4577         * configure: Regenerated.
4579 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
4581         [BZ #15532]
4582         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
4583         * math/s_cexpf.c (__cexpf): Likewise.
4584         * math/s_cexpl.c (__cexpl): Likewise.
4585         * math/libm-test.inc (cexp_test_data): Correct expected return
4586         value for NaN + i0.  Add another test.
4588 2013-08-22  David S. Miller  <davem@davemloft.net>
4590         * po/ca.po: Update Catalan translation from translation project.
4591         * po/uk.po: Add Ukrainian translations from translation project.
4593 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
4595         [BZ #15797]
4596         * math/s_fdim.c (__fdim): Check for infinite arguments if result
4597         is infinite, not alongside NaN test.
4598         * math/s_fdimf.c (__fdimf): Likewise.
4599         * math/s_fdiml.c (__fdiml): Likewise.
4600         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
4601         errno is unchanged.
4603 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
4605         * argp/argp-help.c: Fix typos.
4606         * crypt/speeds.c: Likewise.
4607         * csu/check_fds.c: Likewise.
4608         * elf/dl-load.c: Likewise.
4609         * elf/dl-open.c: Likewise.
4610         * elf/reldep3.c: Likewise.
4611         * elf/reldep.c: Likewise.
4612         * elf/sprof.c: Likewise.
4613         * iconv/iconv_charmap.c: Likewise.
4614         * iconv/skeleton.c: Likewise.
4615         * iconv/strtab.c: Likewise.
4616         * io/lockf64.c: Likewise.
4617         * libio/libioP.h: Likewise.
4618         * resolv/gai_notify.c: Likewise.
4619         * resolv/ns_name.c: Likewise.
4620         * resolv/ns_samedomain.c: Likewise.
4621         * resolv/res_send.c: Likewise.
4622         * stdlib/random.c: Likewise.
4623         * sunrpc/rpc/xdr.h: Likewise.
4624         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
4625         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4626         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4627         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4628         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4629         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4630         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4631         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4632         * sysdeps/mach/hurd/check_fds.c: Likewise.
4633         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4634         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4635         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4636         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4637         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4638         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4639         * sysdeps/pthread/aio_notify.c: Likewise.
4640         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
4641         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
4642         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
4643         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4644         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4646 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
4648         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
4649         version if bit_Slow_SSE4_2 is set.
4650         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4651         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4653 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4655         [BZ #15867]
4656         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
4657         trampoline stack frame information.
4658         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
4659         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
4660         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
4661         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
4662         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
4663         * sysdeps/unix/sysv/linux/powerpc/init-first.c
4664         (_libc_vdso_platform_setup): Initialize the signal trampolines.
4665         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
4666         sa_flags value.
4667         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
4668         interrupting a syscall and set with option SA_SIGINFO.
4670 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
4672         [BZ #15531]
4673         * math/s_cproj.c (__cproj): Only return an infinity if one part of
4674         argument is infinite.
4675         * math/s_cprojf.c (__cprojf): Likewise.
4676         * math/s_cprojl.c (__cprojl): Likewise.
4677         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
4678         * math/libm-test.inc (cproj_test_data): Add more tests.
4680         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
4682         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
4683         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
4684         size.  Use __ffs to determine corresponding shift.
4686 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
4687             Roland McGrath  <roland@hack.frob.com>
4689         * Makefile (INSTALL): Remove trailing blank lines from output of
4690         makeinfo.
4692 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4694         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
4695         Align 32 bit compat elf_greg to 8 bytes.
4697 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4699         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
4701 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
4703         * string/strcoll_l.c (coll_seq): New structure.
4704         (get_next_seq_cached): New function.
4705         (get_next_seq): New function.
4706         (do_compare): New function.
4707         (STRCOLL): Use GNU style definition.  Simplify implementation
4708         by using get_next_seq, get_next_seq_cached and do_compare.
4710 2013-08-16  Florian Weimer  <fweimer@redhat.com>
4712         [BZ #14699]
4713         CVE-2013-4237
4714         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
4715         member.
4716         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
4717         member.
4718         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
4719         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
4720         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
4721         conditional.
4722         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
4723         GETDENTS_64BIT_ALIGNED.
4724         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4725         * manual/filesys.texi (Reading/Closing Directory): Document
4726         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
4727         strongly.
4728         * manual/conf.texi (Limits for Files): Add portability note to
4729         NAME_MAX, PATH_MAX.
4730         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
4732 2013-08-13  Andreas Schwab  <schwab@suse.de>
4734         [BZ #15749]
4735         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
4736         of fabs.
4737         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
4738         LDBL_MAX_EXP >= 16384]: Add tests for it.
4740 2013-08-12  David S. Miller  <davem@davemloft.net>
4742         * version.h (RELEASE): Set to "development".
4743         (VERSION): Set to "2.18.90".
4744         * NEWS: Add 2.19 section.
4746 2013-08-03  David S. Miller  <davem@davemloft.net>
4748         * po/ko.po: Update Korean translation from translation project.
4750 2013-08-01  David S. Miller  <davem@davemloft.net>
4752         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
4753         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
4754         Bilka.
4756 2013-07-30  David S. Miller  <davem@davemloft.net>
4758         * po/fr.po: Update French translation from translation project.
4760 2013-07-28  David S. Miller  <davem@davemloft.net>
4762         * po/cs.po: Update Czech translation from translation project.
4764         * po/sv.po: Update Swedish translation from translation project.
4766 2013-07-27  David S. Miller  <davem@davemloft.net>
4768         * po/eo.po: Update Esperanto translation from translation project.
4770         * po/vi.po: Update Vietnamese translation from translation project.
4772         * po/de.po: Update German translation from translation project.
4774 2013-07-26  David S. Miller  <davem@davemloft.net>
4776         * po/bg.po: Update Bulgarian translation from translation project.
4778         * po/nl.po: Update Dutch translation from translation project.
4779         * po/pl.po: Update Polish translation from translation project.
4780         * po/ru.po: Update Russian translation from translation project.
4782 2013-07-24  David S. Miller  <davem@davemloft.net>
4784         * po/libc.pot: Update.
4786 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4788         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
4789         variable page size.
4790         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
4791         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
4792         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
4794 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4796         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
4798 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4799             Andreas Schwab  <schwab@suse.de>
4800             Roland McGrath  <roland@hack.frob.com>
4801             Joseph Myers  <joseph@codesourcery.com>
4802             Carlos O'Donell  <carlos@redhat.com>
4804         [BZ #15755]
4805         * config.h.in: Define HAVE_PT_CHOWN.
4806         * config.make.in (build-pt-chown): New variable.
4807         * configure.in (--enable-pt_chown): New configure option.
4808         * configure: Regenerate.
4809         * login/Makefile: Include Makeconfig.  Build pt_chown only if
4810         build-pt-chown is enabled.
4811         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
4812         pt_chown to fix pty ownership.
4813         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
4814         CLOSE_ALL_FDS.
4815         * manual/install.texi (Configuring and compiling): Mention
4816         --enable-pt_chown. Add @findex for grantpt.
4817         * INSTALL: Regenerate.
4819 2013-07-20  David S. Miller  <davem@davemloft.net>
4821         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
4822         difference between 32-bit and 64-bit.
4824 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
4826         [BZ #15711]
4827         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
4828         Avoid system header dependency with -ffreestanding.
4829         ($(objpfx)bits/syscall%d): Likewise.
4831 2013-07-13  David S. Miller  <davem@davemloft.net>
4833         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
4834         underflows from atanl/atan2l due to bug 15319.
4835         (casinh_test_data): Likewise.
4837 2013-07-07  David S. Miller  <davem@davemloft.net>
4839         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4841 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
4843         * sysdeps/i386/fpu/libm-test-ulps: Update.
4844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4846 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4848         * configure.in (--enable-lock-elision): Fix message text.
4849         * INSTALL: Regenerate.
4850         * configure: Regenerate.
4852 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4854         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4856 2013-07-03  Andreas Jaeger  <aj@suse.de>
4858         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
4859         define.
4860         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
4861         (ptrace_peeksiginfo_args): Add.
4862         (__ptrace_peeksiginfo_flags): Add.
4863         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4864         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4865         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4867 2013-07-03  Allan McRae  <allan@archlinux.org>
4869         * sysdeps/i386/fpu/libm-test-ulps: Update.
4871 2013-07-02  David S. Miller  <davem@davemloft.net>
4873         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4875 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
4877         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4879 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
4881         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4884 2013-07-02  Andi Kleen <ak@linux.intel.com>
4886         * config.h.in (ENABLE_LOCK_ELISION): Add.
4887         * configure.in (--enable-lock-elision): Add option.
4888         * manual/install.texi: Document --enable lock elision.
4889         * configure: Regenerate
4890         * INSTALL: Regenerate.
4892 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
4894         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
4895         SSE4.2 strcasecmp for libc.a.
4896         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4898 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
4900         [BZ #13304]
4901         * soft-fp/op-common.h (_FP_FMA): New macro.
4902         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
4903         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
4904         (_FP_MUL_MEAT_1_imm): ... here.
4905         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
4906         (_FP_MUL_MEAT_1_wide): ... here.
4907         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
4908         (_FP_MUL_MEAT_1_hard): ... here.
4909         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
4910         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
4911         (_FP_MUL_MEAT_2_wide): ... here.
4912         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
4913         (_FP_MUL_MEAT_2_wide_3mul): ... here.
4914         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
4915         (_FP_MUL_MEAT_2_gmp): ... here.
4916         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
4917         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
4918         (_FP_MUL_MEAT_4_wide): ... here.
4919         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
4920         (_FP_MUL_MEAT_4_gmp): ... here.
4921         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
4922         (_FP_WFRACBITS_DW_S): Likewise.
4923         (_FP_WFRACXBITS_DW_S): Likewise.
4924         (_FP_HIGHBIT_DW_S): Likewise.
4925         (FP_FMA_S): Likewise.
4926         (_FP_FRAC_HIGH_DW_S): Likewise.
4927         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
4928         (_FP_WFRACBITS_DW_D): Likewise.
4929         (_FP_WFRACXBITS_DW_D): Likewise.
4930         (_FP_HIGHBIT_DW_D): Likewise.
4931         (FP_FMA_D): Likewise.
4932         (_FP_FRAC_HIGH_DW_D): Likewise.
4933         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
4934         (_FP_WFRACBITS_DW_E): Likewise.
4935         (_FP_WFRACXBITS_DW_E): Likewise.
4936         (_FP_HIGHBIT_DW_E): Likewise.
4937         (FP_FMA_E): Likewise.
4938         (_FP_FRAC_HIGH_DW_E): Likewise.
4939         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
4940         (_FP_WFRACBITS_DW_Q): Likewise.
4941         (_FP_WFRACXBITS_DW_Q): Likewise.
4942         (_FP_HIGHBIT_DW_Q): Likewise.
4943         (FP_FMA_Q): Likewise.
4944         (_FP_FRAC_HIGH_DW_Q): Likewise.
4945         * soft-fp/fmasf4.c: New file.
4946         * soft-fp/fmadf4.c: Likewise.
4947         * soft-fp/fmatf4.c: Likewise.
4949 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
4951         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
4952         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
4953         Silvermont.
4954         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
4955         macro.
4956         (index_Slow_SSE4_2): Likewise.
4957         (index_Prefer_PMINUB_for_stringop): Likewise.
4958         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
4959         bit_Slow_SSE4_2 is set.
4960         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4961         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4963 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
4965         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
4966         rtld_global._dl_hwcap2.
4967         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
4968         POWER8.
4969         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
4970         POWER8 feature descriptions defined in _dl_hwcap2.
4971         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
4972         string handling for POWER8 feature bits.
4973         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
4974         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
4975         _dl_powerpc_cap_flags.
4976         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
4977         * sysdeps/powerpc/rtld-global-offsets.sym
4978         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
4979         _dl_hwcap2 in the rtld_global_ro structure.
4981 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
4983         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
4984         hardware capabilities in support of AT_HWCAP2.
4985         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
4986         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
4987         GLRO(dl_hwcap2).
4988         (_dl_show_auxv): Add support for calling _dl_procinfo to display
4989         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
4990         explicitly the unknown a_type display mechanism is used.
4991         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
4992         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
4993         struct member.
4994         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
4995         to macro prototype for AT_HWCAP2 support.
4996         * sysdeps/i386/dl-procinfo.h: Likewise.
4997         * sysdeps/s390/dl-procinfo.h: Likewise.
4998         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
4999         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
5000         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
5001         return -1 for unknown a_type display fallback.
5002         * sysdeps/sparc/dl-procinfo.h: Likewise.
5003         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
5004         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
5006 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
5008         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
5009         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
5011 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
5013         [BZ #12492]
5014         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
5015         mprotect making __stack_prot writable.
5017 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
5018             Joseph Myers  <joseph@codesourcery.com>
5020         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
5021         as being properly aligned.
5023 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
5025         * dlfcn/modstatic5.c: New file.
5026         * dlfcn/tststatic5.c: New file.
5027         * dlfcn/Makefile (tests): Add tststatic5.
5028         (tests-static): Likewise.
5029         (modules-names): Add modstatic5.
5030         (tststatic5-ENV): New variable.
5031         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
5033         [BZ #15022]
5034         * elf/dl-support.c (_dl_main_map): New variable.
5035         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
5036         (_dl_nns, _dl_load_adds): Set to 1.
5037         (_dl_initial_searchlist): Refer to _dl_main_map.
5038         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
5039         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
5040         call to _dl_get_origin.
5041         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
5042         around call_map.
5043         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
5044         * dlfcn/modstatic3.c: New file.
5045         * dlfcn/tststatic3.c: New file.
5046         * dlfcn/tststatic4.c: New file.
5047         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
5048         (tests-static): Likewise.
5049         (modules-names): Add modstatic3.
5050         (tststatic3-ENV, tststatic4-ENV): New variables.
5051         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
5052         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
5054 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
5056         * configure.in (CC): Require GCC version 4.4 or later.
5057         * configure: Regenerated.
5058         * manual/install.texi (Tools for Compilation): Update GCC version
5059         requirement.
5060         * INSTALL: Regenerated.
5062 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5064         [BZ #15674]
5065         * string/test-memcmp.c (check2): New.
5066         (main): Call check2.
5068         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
5070 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
5072         [BZ #15022]
5073         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
5074         over to...
5075         (dl_open_worker) [!SHARED]: ... here.
5077 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5079         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
5081 2013-06-25  Richard Henderson  <rth@redhat.com>
5083         * locale/programs/locarchive.c: Include <libc-internal.h>
5085 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
5087         * manual/texinfo.tex: Update to version 2013-06-21.17, with
5088         trailing whitespace removed.
5090 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
5092         [BZ #10283]
5093         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
5094         * locale/programs/locarchive.c: Include libc-mmap.h.
5095         (prepare_address_space): Take two new outputs (the mmap base and len).
5096         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
5097         values.
5098         (create_archive): Declare new mmap base and len values for
5099         prepare_address_space, and store the result in ah.
5100         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
5101         (enlarge_archive): If ah->mmap_base is not NULL, use that and
5102         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5103         Declare new mmap base and len values for
5104         prepare_address_space, and store the result in new_ah.
5105         (open_archive): Declare new mmap base and len values for
5106         prepare_address_space, and store the result in ah.
5107         (close_archive): If ah->mmap_base is not NULL, use that and
5108         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5109         * sysdeps/generic/libc-mmap.h: New file.
5111 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
5113         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
5114         (ALIGN_UP): Likewise.
5115         (PTR_ALIGN_DOWN): Likewise.
5116         (PTR_ALIGN_UP): Likewise.
5118 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5120         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
5121         entry mapped to PPC_PLATFORM_POWER8.
5122         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
5123         POWER8.
5124         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
5125         (_dl_string_platform): Add case for exporting platform position for
5126         POWER8.
5127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
5128         search path to sysdeps/powerpc/powerpc32/power8 directory.
5129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
5130         search path to sysdeps/powerpc/powerpc64/power8 directory.
5131         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
5132         power7 directories.
5133         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
5134         power7 directories.
5136 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5138         * INSTALL: Regenerate.
5140         * nscd/connections.c (nscd_init): Fix comment.
5142 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
5144         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
5146         [BZ #15667]
5147         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
5148         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
5150 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
5152         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
5153         DL_DST_REQ_STATIC.
5154         (DL_DST_REQ_STATIC): Remove macro.
5156 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
5158         [BZ #7006]
5159         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
5160         with a shift of 0 bits.
5162 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
5164         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
5165         $(tststatic-ENV).
5167 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5169         [BZ #15655]
5170         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
5172 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5174         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
5175         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
5176         accepts -fno-tree-loop-distribute-patterns.
5177         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
5178         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
5179         recursive call.
5180         * string/memset.c (memset): Likewise.
5181         * string/test-memmove.c (simple_memmove): Disable loop transformation
5182         to library calls.
5183         * string/test-memset.c (simple_memset): Likewise.
5184         * benchtests/bench-memmove.c (simple_memmove): Likewise.
5185         * benchtests/bench-memset.c (simple_memset): Likewise.
5186         * configure: Regenerated.
5188 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
5190         * math/test-misc.c (main): Ignore fesetround failure when failures
5191         of subsequent rounding tests would be ignored.
5193         [BZ #15654]
5194         * math/fedisblxcpt.c (fedisableexcept): Return 0.
5195         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
5196         * math/fegetenv.c (__fegetenv): Return 0.
5197         * math/fegetexcept.c (fegetexcept): Return 0.
5198         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
5199         FE_TONEAREST.
5200         * math/feholdexcpt.c (feholdexcept): Return 0.
5201         * math/fesetenv.c (__fesetenv): Return 0.
5202         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
5203         argument FE_TONEAREST.
5204         * math/feupdateenv.c (__feupdateenv): Return 0.
5205         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
5207 2013-06-18  Roland McGrath  <roland@hack.frob.com>
5209         * elf/rtld-Rules (rtld-compile-command.S): New variable.
5210         (rtld-compile-command.s, rtld-compile-command.c): New variables.
5211         ($(objpfx)rtld-%.os rules): Use them.
5213 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5215         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
5216         fields.
5218 2013-06-17  Roland McGrath  <roland@hack.frob.com>
5220         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
5221         length of target pattern, then descending length of dependency pattern.
5222         * configure.in (AWK): Require gawk 3.1.2 or newer.
5223         * manual/install.texi (Tools for Compilation): Say that we do.
5224         * configure: Regenerated.
5226         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
5227         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
5228         * scripts/sysd-rules.awk: ... this new script.
5229         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
5230         than a glob-style pattern.
5232 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
5234         * math/test-misc.c (main): Do not treat incorrectly rounded
5235         conversions as failure unless ROUNDING_TESTS passes.
5237 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
5239         [BZ #15631]
5240         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
5241         restore exception state around main square root computation, then
5242         check for inexactness explicitly.
5244         * math/libm-test.inc (fma_test_data): Add another test.
5246 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5248         * manual/threads.texi (Non-POSIX Extensions): New document
5249         node.  Document pthread_getattr_default_np and
5250         pthread_setattr_default_np.
5252         * Versions.def (libpthread): Add GLIBC_2.18.
5253         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
5254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5255         Likewise.
5256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5257         Likewise.
5258         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5259         Likewise.
5260         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5261         Likewise.
5262         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
5263         Likewise.
5264         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5265         Likewise.
5266         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5267         Likewise.
5268         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5269         Likewise.
5270         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5271         Likewise.
5273 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5275         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5276         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
5278 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
5279             H.J. Lu  <hjl.tools@gmail.com>
5281         [BZ #15627]
5282         * sysdeps/x86_64/rtld-memset.c: Remove file.
5283         * sysdeps/x86_64/rtld-memset.S: New file.
5285 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
5287         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
5288         (test_in_one_mode): Take arguments for whether the rounding mode
5289         is supported for each floating-point type.
5290         (do_test): Pass new arguments to test_in_one_mode using
5291         ROUNDING_TESTS.
5293 2013-06-13  Roland McGrath  <roland@hack.frob.com>
5295         * posix/tst-waitid.c (do_test): Distinguish different instances of
5296         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
5297         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
5298         before entering the kernel for waitpid.
5300 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
5302         * NEWS: Fix note on clock function precision.  Text by Roland
5303         McGrath.
5305 2013-06-13  Roland McGrath  <roland@hack.frob.com>
5307         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
5308         it into place only when and if the sanity check passes.
5310 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
5312         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
5313         output for whether conversion result is exact.  Take argument
5314         indicating whether type is IBM long double.
5315         (round_for_all): Change need_exact field to ibm_ld.
5316         * stdlib/tst-strtod-round.c (struct exactness): New type.
5317         (struct test): Change bool ld_ok field to struct exactness exact.
5318         (TEST): Update all definitions for change to field.
5319         (tests): Regenerate array contents.
5320         (test_in_one_mode): Take pointer to new field instead of old ld_ok
5321         field value.  Check for IBM long double here.
5322         (do_test): Update calls to test_in_one_mode.
5324 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
5326         [BZ #12515]
5327         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
5328         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
5330 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5332         [BZ #15605]
5333         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
5334         generated by the compiler on loop optimizations.
5335         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
5336         general definitions.
5338 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
5340         * math/bug-nextafter.c: Include <math-tests.h>.
5341         (main): Only test for exceptions if EXCEPTION_TESTS is true for
5342         the relevant type.
5343         * math/bug-nexttoward.c: Include <math-tests.h>.
5344         (main): Only test for exceptions if EXCEPTION_TESTS is true for
5345         the relevant type.
5346         * math/test-misc.c: Include <math-tests.h>.
5347         (main): Only test for exceptions if EXCEPTION_TESTS is true for
5348         the relevant type.
5350 2013-06-12  Andreas Jaeger  <aj@suse.de>
5352         * po/ia.po: Update Interlingua translation from translation
5353         project.
5355 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5357         * include/fenv.h: Include stdbool.h.
5358         (struct rm_ctx): New structure.
5359         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
5360         Define macro.
5361         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
5362         (SET_RESTORE_ROUNDF): Likewise.
5363         (SET_RESTORE_ROUNDL): Likewise.
5364         (SET_RESTORE_ROUND_NOEX): Likewise.
5365         (SET_RESTORE_ROUND_NOEXF): Likewise.
5366         (SET_RESTORE_ROUND_NOEXL): Likewise.
5367         (SET_RESTORE_ROUND_53BIT): Likewise.
5368         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
5369         (libc_feresetround_noexf_ctx): Likewise.
5370         (libc_feresetround_noexl_ctx): Likewise.
5371         (libc_feholdsetround_53bit_ctx): Likewise.
5372         (libc_feresetround_53bit_ctx): Likewise.
5373         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
5374         (libc_feholdexcept_setround_sse_ctx): New function.
5375         (libc_fesetenv_sse_ctx): Likewise.
5376         (libc_feupdateenv_sse_ctx): Likewise.
5377         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
5378         (libc_feholdexcept_setround_387_ctx): Likewise.
5379         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
5380         (libc_feholdsetround_387_prec_ctx): Likewise.
5381         (libc_feholdsetround_387_ctx): Likewise.
5382         (libc_feholdsetround_387_53bit_ctx): Likewise.
5383         (libc_feholdsetround_sse_ctx): Likewise.
5384         (libc_feresetround_sse_ctx): Likewise.
5385         (libc_feresetround_387_ctx): Likewise.
5386         (libc_feupdateenv_387_ctx): Likewise.
5387         (libc_feholdexcept_setroundf_ctx): Define macro.
5388         (libc_fesetenvf_ctx): Likewise.
5389         (libc_feupdateenvf_ctx): Likewise.
5390         (libc_feholdsetroundf_ctx): Likewise.
5391         (libc_feresetroundf_ctx): Likewise.
5392         (libc_feholdexcept_setround_ctx): Likewise.
5393         (libc_fesetenv_ctx): Likewise.
5394         (libc_feupdateenv_ctx): Likewise.
5395         (libc_feholdsetround_ctx): Likewise.
5396         (libc_feresetround_ctx): Likewise.
5397         (libc_feholdexcept_setroundl_ctx): Likewise.
5398         (libc_feupdateenvl_ctx): Likewise.
5399         (libc_feholdsetroundl_ctx): Likewise.
5400         (libc_feresetroundl_ctx): Likewise.
5401         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
5402         (libc_feresetround_53bit_ctx): Likewise.
5404 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5406         * locale/iso-639.def: Convert to UTF-8.
5408 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
5410         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
5411         (EXCEPTION_TESTS_double): Likewise.
5412         (EXCEPTION_TESTS_long_double): Likewise.
5413         (EXCEPTION_TESTS): Likewise.
5414         * math/libm-test.inc (test_exceptions): Only test exceptions if
5415         EXCEPTION_TESTS (FLOAT).
5417 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5419         * benchtests/Makefile (string-bench): Add strcpy_chk and
5420         stpcpy_chk.
5421         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
5422         * benchtests/bench-stpcpy_chk.c: New file.
5423         * benchtests/bench-strcpy_chk-ifunc.c: New file.
5424         * benchtests/bench-strcpy_chk.c: New file.
5425         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
5426         code.
5427         (do_test): Likewise.
5429 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5431         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
5432         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
5433         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
5434         with tabs where appropriate.
5435         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
5436         dl-procinfo.h.
5437         [PPC_PLATFORM_PPC440]: Likewise.
5438         [PPC_PLATFORM_PPC464]: Likewise.
5439         [PPC_PLATFORM_PPC476]: Likewise.
5440         (_dl_string_platform): Add support for detecting ppc405, ppc440,
5441         ppc464, and ppc476 platform strings merging from ports/
5442         dl-procinfo.h.
5444 2013-06-11  Andreas Schwab  <schwab@suse.de>
5446         [BZ #14991]
5447         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
5448         (from_ucs4_idx): Regenerate.
5449         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
5450         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
5451         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
5452         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
5453         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
5454         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
5455         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
5456         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
5457         from FROM_LOOP and TO_LOOP specific macros.
5458         (BODY): Handle combining characters.
5459         * iconvdata/BIG5HKSCS.irreversible: Update.
5460         * iconvdata/BIG5HKSCS.precomposed: New file.
5461         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
5462         characters.
5463         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
5465 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5467         * include/sys/time.h: Fix indentation and add copyright header.
5469         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
5470         (do_test): Likewise.
5471         * string/test-memchr.c (do_one_test): Likewise.
5472         (do_test): Likewise.
5473         * string/test-memcmp.c (do_one_test): Likewise.
5474         (do_test): Likewise.
5475         * string/test-memcpy.c (do_one_test): Likewise.
5476         (do_test): Likewise.
5477         * string/test-memmem.c (do_one_test): Likewise.
5478         (do_test): Likewise.
5479         (do_random_tests): Likewise.
5480         * string/test-memmove.c (do_one_test): Likewise.
5481         (do_test): Likewise.
5482         * string/test-memset.c (do_one_test): Likewise.
5483         (do_test): Likewise.
5484         * string/test-rawmemchr.c (do_one_test): Likewise.
5485         (do_test): Likewise.
5486         * string/test-strcasecmp.c (do_one_test): Likewise.
5487         (do_test): Likewise.
5488         * string/test-strcasestr.c (do_one_test): Likewise.
5489         (do_test): Likewise.
5490         * string/test-strcat.c (do_one_test): Likewise.
5491         (do_test): Likewise.
5492         * string/test-strchr.c (do_one_test): Likewise.
5493         (do_test): Likewise.
5494         * string/test-strcmp.c (do_one_test): Likewise.
5495         (do_test): Likewise.
5496         * string/test-strcpy.c (do_one_test): Likewise.
5497         (do_test): Likewise.
5498         * string/test-string.h: Likewise.
5499         (test_init): Likewise.
5500         * string/test-strlen.c (do_one_test): Likewise.
5501         (do_test): Likewise.
5502         * string/test-strncasecmp.c (do_one_test): Likewise.
5503         (do_test): Likewise.
5504         * string/test-strncat.c (do_one_test): Likewise.
5505         (do_test): Likewise.
5506         * string/test-strncmp.c (do_one_test): Likewise.
5507         (do_test_limit): Likewise.
5508         (do_test): Likewise.
5509         * string/test-strncpy.c (do_one_test): Likewise.
5510         (do_test): Likewise.
5511         * string/test-strnlen.c (do_one_test): Likewise.
5512         (do_test): Likewise.
5513         * string/test-strpbrk.c (do_one_test): Likewise.
5514         (do_test): Likewise.
5515         * string/test-strrchr.c (do_one_test): Likewise.
5516         (do_test): Likewise.
5517         * string/test-strspn.c (do_one_test): Likewise.
5518         (do_test): Likewise.
5519         * string/test-strstr.c (do_one_test): Likewise.
5520         (do_test): Likewise.
5522         * benchtests/Makefile (string-bench): Add string benchmarks.
5523         * benchtests/bench-bcopy-ifunc.c: New file.
5524         * benchtests/bench-bcopy.c: New file.
5525         * benchtests/bench-bzero-ifunc.c: New file.
5526         * benchtests/bench-bzero.c: New file.
5527         * benchtests/bench-memccpy-ifunc.c: New file.
5528         * benchtests/bench-memccpy.c: New file.
5529         * benchtests/bench-memchr-ifunc.c: New file.
5530         * benchtests/bench-memchr.c: New file.
5531         * benchtests/bench-memcmp-ifunc.c: New file.
5532         * benchtests/bench-memcmp.c: New file.
5533         * benchtests/bench-memmem-ifunc.c: New file.
5534         * benchtests/bench-memmem.c: New file.
5535         * benchtests/bench-memmove-ifunc.c: New file.
5536         * benchtests/bench-memmove.c: New file.
5537         * benchtests/bench-mempcpy-ifunc.c: New file.
5538         * benchtests/bench-mempcpy.c: New file.
5539         * benchtests/bench-memset-ifunc.c: New file.
5540         * benchtests/bench-memset.c: New file.
5541         * benchtests/bench-rawmemchr-ifunc.c: New file.
5542         * benchtests/bench-rawmemchr.c: New file.
5543         * benchtests/bench-stpcpy-ifunc.c: New file.
5544         * benchtests/bench-stpcpy.c: New file.
5545         * benchtests/bench-stpncpy-ifunc.c: New file.
5546         * benchtests/bench-stpncpy.c: New file.
5547         * benchtests/bench-strcasecmp-ifunc.c: New file.
5548         * benchtests/bench-strcasecmp.c: New file.
5549         * benchtests/bench-strcasestr-ifunc.c: New file.
5550         * benchtests/bench-strcasestr.c: New file.
5551         * benchtests/bench-strcat-ifunc.c: New file.
5552         * benchtests/bench-strcat.c: New file.
5553         * benchtests/bench-strchr-ifunc.c: New file.
5554         * benchtests/bench-strchr.c: New file.
5555         * benchtests/bench-strchrnul-ifunc.c: New file.
5556         * benchtests/bench-strchrnul.c: New file.
5557         * benchtests/bench-strcmp-ifunc.c: New file.
5558         * benchtests/bench-strcmp.c: New file.
5559         * benchtests/bench-strcpy-ifunc.c: New file.
5560         * benchtests/bench-strcpy.c: New file.
5561         * benchtests/bench-strcspn-ifunc.c: New file.
5562         * benchtests/bench-strcspn.c: New file.
5563         * benchtests/bench-strlen-ifunc.c: New file.
5564         * benchtests/bench-strlen.c: New file.
5565         * benchtests/bench-strncasecmp-ifunc.c: New file.
5566         * benchtests/bench-strncasecmp.c: New file.
5567         * benchtests/bench-strncat-ifunc.c: New file.
5568         * benchtests/bench-strncat.c: New file.
5569         * benchtests/bench-strncmp-ifunc.c: New file.
5570         * benchtests/bench-strncmp.c: New file.
5571         * benchtests/bench-strncpy-ifunc.c: New file.
5572         * benchtests/bench-strncpy.c: New file.
5573         * benchtests/bench-strnlen-ifunc.c: New file.
5574         * benchtests/bench-strnlen.c: New file.
5575         * benchtests/bench-strpbrk-ifunc.c: New file.
5576         * benchtests/bench-strpbrk.c: New file.
5577         * benchtests/bench-strrchr-ifunc.c: New file.
5578         * benchtests/bench-strrchr.c: New file.
5579         * benchtests/bench-strspn-ifunc.c: New file.
5580         * benchtests/bench-strspn.c: New file.
5581         * benchtests/bench-strstr-ifunc.c: New file.
5582         * benchtests/bench-strstr.c: New file.
5584         * benchtests/Makefile: Disable parallel execution of targets.
5585         (string-bench): Add memcpy.
5586         (benchset): New variable to store a list of benchmark sets.
5587         (bench-func): Renamed from bench.
5588         (bench-set): New target.
5589         (bench): Depend on bench-func and bench-set.
5590         * benchtests/README: Add section on benchmark sets.
5591         * benchtests/bench-memcpy-ifunc.c: New file.
5592         * benchtests/bench-memcpy.c: New file.
5593         * benchtests/bench-string.h: New file.
5595 2013-06-11  Andreas Schwab  <schwab@suse.de>
5597         [BZ #15577]
5598         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
5599         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
5600         values in the triple.
5601         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
5602         terminator in the group key.
5604 2013-06-11  Andreas Jaeger  <aj@suse.de>
5606         * po/zh_TW.po: Update Chinese (traditional) translation from
5607         translation project.
5609 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5611         * include/time.h (__clock_gettime): Add libc_hidden_proto.
5612         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
5613         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
5614         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5615         (clock_getcpuclockid): Likewise.
5616         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
5617         Add weak_alias and libc_hidden_def.
5618         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
5619         * rt/clock_gettime.c (clock_gettime): Rename to
5620         __clock_gettime.  Add weak_alias and libc_hidden_def.
5621         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
5622         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
5623         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
5624         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
5625         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
5626         Likewise.
5627         * rt/clock_settime.c (clock_settime): Rename to
5628         __clock_settime.  Add weak_alias and libc_hidden_def.
5629         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
5631 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
5633         * mach/err_boot.sub: Remove trailing whitespace.
5634         * mach/err_ipc.sub: Likewise.
5635         * mach/err_mach.sub: Likewise.
5637         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
5638         (ROUNDING_TESTS_double): Likewise.
5639         (ROUNDING_TESTS_long_double): Likewise.
5640         (ROUNDING_TESTS): Likewise.
5641         * math/libm-test.inc: Include <math-tests.h>.
5642         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
5643         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5644         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5645         (IF_ROUND_INIT_FE_UPWARD): Likewise.
5647 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5649         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
5650         of assigning.
5652 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
5654         * sysdeps/gnu/errlist.awk: Do not generate space at end of
5655         otherwise empty TRANS lines.
5656         * sysdeps/gnu/errlist.c: Regenerated.
5658         * catgets/gencat.c (error_print): Use (void) in function
5659         definition.
5660         * crypt/crypt_util.c (__init_des): Likewise.
5661         * crypt/speeds.c (Stop): Likewise.
5662         (main): Likewise.
5663         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
5664         * inet/ruserpass.c (token): Likewise.
5665         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
5666         * intl/localealias.c (extend_alias_table): Likewise.
5667         * intl/plural-exp.c (init_germanic_plural): Likewise.
5668         * libio/fcloseall.c (__fcloseall): Likewise.
5669         * libio/genops.c (_IO_flush_all): Likewise.
5670         (_IO_flush_all_linebuffered): Likewise.
5671         (_IO_cleanup): Likewise.
5672         (_IO_iter_begin): Likewise.
5673         (_IO_iter_end): Likewise.
5674         (_IO_list_lock): Likewise.
5675         (_IO_list_unlock): Likewise.
5676         (_IO_list_resetlock): Likewise.
5677         * libio/getchar.c (getchar): Likewise.
5678         * libio/getchar_u.c (getchar_unlocked): Likewise.
5679         * libio/getwchar.c (getwchar): Likewise.
5680         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
5681         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
5682         * login/getpt.c (__getpt): Likewise.
5683         * login/tst-utmp.c (main): Likewise.
5684         * malloc/hooks.c (__malloc_check_init): Likewise.
5685         * malloc/malloc.c (__malloc_stats): Likewise.
5686         * malloc/mtrace.c (tr_break): Likewise.
5687         (mtrace): Likewise.
5688         (muntrace): Likewise.
5689         * misc/fstab.c (endfsent): Likewise.
5690         * misc/getclktck.c (__getclktck): Likewise.
5691         * misc/getdtsz.c (__getdtablesize): Likewise.
5692         * misc/gethostid.c (gethostid): Likewise.
5693         * misc/getpagesize.c (__getpagesize): Likewise.
5694         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
5695         (__get_nprocs): Likewise.
5696         (__get_phys_pages): Likewise.
5697         (__get_avphys_pages): Likewise.
5698         * misc/getttyent.c (getttyent): Likewise.
5699         (setttyent): Likewise.
5700         (endttyent): Likewise.
5701         * misc/getusershell.c (getusershell): Likewise.
5702         (endusershell): Likewise.
5703         (setusershell): Likewise.
5704         (initshells): Likewise.
5705         * misc/hsearch.c (__hdestroy): Likewise.
5706         * misc/sync.c (sync): Likewise.
5707         * misc/syslog.c (closelog_internal): Likewise.
5708         (closelog): Likewise.
5709         * misc/ttyslot.c (ttyslot): Likewise.
5710         * misc/vhangup.c (vhangup): Likewise.
5711         * posix/fork.c (__fork): Likewise.
5712         * posix/getegid.c (__getegid): Likewise.
5713         * posix/geteuid.c (__geteuid): Likewise.
5714         * posix/getgid.c (__getgid): Likewise.
5715         * posix/getpid.c (__getpid): Likewise.
5716         * posix/getppid.c (__getppid): Likewise.
5717         * posix/getuid.c (__getuid): Likewise.
5718         * posix/pause.c (pause): Likewise.
5719         * posix/setpgrp.c (setpgrp): Likewise.
5720         * posix/setsid.c (__setsid): Likewise.
5721         * posix/test-vfork.c (noop): Likewise.
5722         * resolv/gethnamaddr.c (_endhtent): Likewise.
5723         (_gethtent): Likewise.
5724         (ht_endhostent): Likewise.
5725         (gethostent): Likewise.
5726         (dns_service): Likewise.
5727         * stdlib/drand48.c (drand48): Likewise.
5728         * stdlib/lrand48.c (lrand48): Likewise.
5729         * stdlib/mrand48.c (mrand48): Likewise.
5730         * stdlib/rand.c (rand): Likewise.
5731         * stdlib/random.c (__random): Likewise.
5732         * stdlib/setenv.c (clearenv): Likewise.
5733         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
5734         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
5735         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
5736         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
5737         (__get_nprocs): Likewise.
5738         (__get_phys_pages): Likewise.
5739         (__get_avphys_pages): Likewise.
5740         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
5741         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
5742         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
5743         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
5744         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
5745         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
5746         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
5747         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
5748         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
5749         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
5750         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
5751         * sysdeps/mach/hurd/sync.c (sync): Likewise.
5752         * sysdeps/posix/clock.c (clock): Likewise.
5753         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
5754         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
5755         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
5756         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
5757         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
5758         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
5759         (__get_nprocs_conf): Likewise.
5760         (__get_phys_pages): Likewise.
5761         (__get_avphys_pages): Likewise.
5762         * time/clock.c (clock): Likewise.
5763         * time/tzset.c (__tzname_max): Likewise.
5765 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
5767         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
5768         (__bswap_32): Do not use "register".
5769         * crypt/crypt.c (_ufc_doit_r): Likewise.
5770         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5771         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5772         * gmon/gmon.c (__monstartup): Likewise.
5773         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
5774         * hurd/hurdmalloc.c (more_memory): Likewise.
5775         (malloc): Likewise.
5776         (free): Likewise.
5777         (realloc): Likewise.
5778         (malloc_fork_prepare): Likewise.
5779         (malloc_fork_parent): Likewise.
5780         (malloc_fork_child): Likewise.
5781         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
5782         (_svcauth_des): Likewise.
5783         * inet/inet_lnaof.c (inet_lnaof): Likewise.
5784         * inet/inet_net.c (inet_network): Likewise.
5785         * inet/inet_netof.c (inet_netof): Likewise.
5786         * inet/rcmd.c (__validuser2_sa): Likewise.
5787         * io/fts.c (fts_open): Likewise.
5788         (fts_load): Likewise.
5789         (fts_close): Likewise.
5790         (fts_read): Likewise.
5791         (fts_children): Likewise.
5792         (fts_build): Likewise.
5793         (fts_stat): Likewise.
5794         (fts_sort): Likewise.
5795         (fts_alloc): Likewise.
5796         (fts_lfree): Likewise.
5797         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
5798         (_IO_file_xsgetn): Likewise.
5799         (_IO_file_xsgetn_mmap): Likewise.
5800         * libio/iofopncook.c (_IO_cookie_read): Likewise.
5801         (_IO_cookie_write): Likewise.
5802         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
5803         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
5804         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
5805         * malloc/obstack.c (_obstack_begin): Likewise.
5806         (_obstack_begin_1): Likewise.
5807         (_obstack_newchunk): Likewise.
5808         (_obstack_allocated_p): Likewise.
5809         (obstack_free): Likewise.
5810         (_obstack_memory_used): Likewise.
5811         * misc/getttyent.c (getttynam): Likewise.
5812         (getttyent): Likewise.
5813         (skip): Likewise.
5814         (value): Likewise.
5815         * misc/getusershell.c (initshells): Likewise.
5816         * misc/syslog.c (__vsyslog_chk): Likewise.
5817         * misc/ttyslot.c (ttyslot): Likewise.
5818         * nis/nis_hash.c (__nis_hash): Likewise.
5819         * posix/fnmatch_loop.c (FCT): Likewise.
5820         * posix/getconf.c (print_all): Likewise.
5821         (main): Likewise.
5822         * posix/getopt.c (exchange): Likewise.
5823         * posix/glob.c (globfree): Likewise.
5824         (prefix_array): Likewise.
5825         (__glob_pattern_type): Likewise.
5826         * resolv/arpa/nameser.h (NS_GET16): Likewise.
5827         (NS_GET32): Likewise.
5828         (NS_PUT16): Likewise.
5829         (NS_PUT32): Likewise.
5830         * resolv/gethnamaddr.c (getanswer): Likewise.
5831         (gethostbyname2): Likewise.
5832         (gethostbyaddr): Likewise.
5833         (_gethtent): Likewise.
5834         (_gethtbyname2): Likewise.
5835         (_gethtbyaddr): Likewise.
5836         * resolv/ns_print.c (dst_s_get_int16): Likewise.
5837         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5838         * resolv/res_init.c (__res_vinit): Likewise.
5839         (net_mask): Likewise.
5840         * resolv/res_mkquery.c (outchar): Likewise.
5841         (PRINT): Likewise.
5842         * stdio-common/printf_fp.c (outchar): Likewise.
5843         (PRINT): Likewise.
5844         * stdio-common/printf_fphex.c (outchar): Likewise.
5845         (PRINT): Likewise.
5846         * stdio-common/printf_size.c (outchar): Likewise.
5847         (PRINT): Likewise.
5848         * stdio-common/test_rdwr.c (main): Likewise.
5849         * stdio-common/tfformat.c (matches): Likewise.
5850         * stdio-common/vfprintf.c (outchar): Likewise.
5851         (printf_unknown): Likewise.
5852         (buffered_vfprintf): Likewise.
5853         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5854         * stdio-common/xbug.c (AppendToBuffer): Likewise.
5855         (ReadFile): Likewise.
5856         * stdlib/qsort.c (SWAP): Likewise.
5857         (_quicksort): Likewise.
5858         * stdlib/setenv.c (__add_to_environ): Likewise.
5859         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5860         * stdlib/strtol_l.c (__strtol_l): Likewise.
5861         * stdlib/tst-strtod.c (main): Likewise.
5862         * stdlib/tst-strtol.c (main): Likewise.
5863         * stdlib/tst-strtoll.c (main): Likewise.
5864         * string/bits/string2.h (__strcmp_cc): Likewise.
5865         (__strcmp_cg): Likewise.
5866         (__strcspn_c1): Likewise.
5867         (__strcspn_c2): Likewise.
5868         (__strcspn_c3): Likewise.
5869         (__strspn_c1): Likewise.
5870         (__strspn_c2): Likewise.
5871         (__strspn_c3): Likewise.
5872         (__strsep_1c): Likewise.
5873         (__strsep_2c): Likewise.
5874         (__strsep_3c): Likewise.
5875         * string/memccpy.c (__memccpy): Likewise.
5876         * string/stpcpy.c (__stpcpy): Likewise.
5877         * string/strcmp.c (strcmp): Likewise.
5878         * string/strrchr.c (strrchr): Likewise.
5879         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
5880         Likewise.
5881         * sysdeps/mach/hurd/getcwd.c
5882         (_hurd_canonicalize_directory_name_internal): Likewise.
5883         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
5884         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
5885         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
5886         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
5887         Likewise, in both definitions.
5888         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
5889         definitions.
5890         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
5891         64] (__bswap_64): Likewise.
5892         * time/test_time.c (main): Likewise.
5893         * time/tzfile.c (__tzfile_read): Likewise.
5894         (__tzfile_compute): Likewise.
5895         * time/tzset.c (__tzset_parse_tz): Likewise.
5896         (tzset_internal): Likewise.
5897         (compute_change): Likewise.
5898         * wcsmbs/wcscat.c (__wcscat): Likewise.
5899         * wcsmbs/wcschr.c (wcschr): Likewise.
5900         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
5901         * wcsmbs/wcscspn.c (wcscspn): Likewise.
5902         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
5903         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
5904         * wcsmbs/wcsspn.c (wcsspn): Likewise.
5905         * wcsmbs/wcsstr.c (wcsstr): Likewise.
5906         * wcsmbs/wmemchr.c (wmemchr): Likewise.
5907         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5908         * wcsmbs/wmemset.c (wmemset): Likewise.
5910 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
5912         * scripts/config.guess: Update to version 2013-05-16.
5913         * scripts/config.sub: Update to version 2013-04-24.
5914         * scripts/install-sh: Update to version 2011-11-20.07.
5915         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
5916         * scripts/move-if-change: Update to version 2012-01-06 07:23.
5918 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
5920         * debug/fgetws_u_chk.c: Fix leading whitespaces.
5921         * elf/sln.c: Likewise.
5922         * hurd/hurd/ioctl.h: Likewise.
5923         * hurd/hurdmalloc.c: Likewise.
5924         * hurd/xattr.c: Likewise.
5925         * include/shlib-compat.h: Likewise.
5926         * inet/ruserpass.c: Likewise.
5927         * libio/iofgets_u.c: Likewise.
5928         * libio/iofgetws_u.c: Likewise.
5929         * locale/programs/ld-identification.c: Likewise.
5930         * locale/programs/ld-time.c: Likewise.
5931         * mach/msg-destroy.c: Likewise.
5932         * nss/nss_files/files-netgrp.c: Likewise.
5933         * resolv/res_data.c: Likewise.
5934         * soft-fp/op-1.h: Likewise.
5935         * soft-fp/op-2.h: Likewise.
5936         * soft-fp/op-4.h: Likewise.
5937         * soft-fp/op-common.h: Likewise.
5938         * stdio-common/printf_fphex.c: Likewise.
5939         * stdlib/strtod_l.c: Likewise.
5940         * sunrpc/rpc/clnt.h: Likewise.
5941         * sysdeps/generic/framestate.c: Likewise.
5942         * sysdeps/i386/bsd-_setjmp.S: Likewise.
5943         * sysdeps/i386/bsd-setjmp.S: Likewise.
5944         * sysdeps/i386/__longjmp.S: Likewise.
5945         * sysdeps/i386/setjmp.S: Likewise.
5946         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5947         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5948         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5949         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5950         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5951         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5952         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5953         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5954         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5955         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5956         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5957         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5958         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5959         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5960         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5961         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5962         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5963         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
5964         * sysdeps/ieee754/support.c: Likewise.
5965         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5966         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
5967         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
5968         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
5969         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
5970         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
5971         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
5972         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
5973         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
5974         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
5975         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
5976         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
5977         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
5978         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
5979         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
5980         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
5981         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5984 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
5986         * posix/transbug.c: Remove executable mode.
5988 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
5990         * crypt/speeds.c: Remove trailing whitespace.
5991         * dlfcn/default.c: Likewise.
5992         * elf/ifuncdep2.c: Likewise.
5993         * elf/ifuncmain1.c: Likewise.
5994         * elf/ifuncmain1vis.c: Likewise.
5995         * elf/testobj.h: Likewise.
5996         * elf/tst-stackguard1.c: Likewise.
5997         * gmon/sys/gmon.h: Likewise.
5998         * hurd/hurdmsg.c: Likewise.
5999         * hurd/new-fd.c: Likewise.
6000         * hurd/ports-get.c: Likewise.
6001         * iconvdata/ibm1008_420.c: Likewise.
6002         * inet/tst-getni1.c: Likewise.
6003         * inet/tst-getni2.c: Likewise.
6004         * libio/ioungetc.c: Likewise.
6005         * libio/wfiledoalloc.c: Likewise.
6006         * manual/libm-err-tab.pl: Likewise.
6007         * math/w_dremf.c: Likewise.
6008         * misc/ftruncate.c: Likewise.
6009         * posix/bug-glob2.c: Likewise.
6010         * posix/tst-pcre.c: Likewise.
6011         * posix/wait4.c: Likewise.
6012         * resolv/README: Likewise.
6013         * resolv/res_debug.h: Likewise.
6014         * resolv/tst-inet_ntop.c: Likewise.
6015         * setjmp/bug269-setjmp.c: Likewise.
6016         * soft-fp/extended.h: Likewise.
6017         * soft-fp/op-1.h: Likewise.
6018         * soft-fp/op-2.h: Likewise.
6019         * soft-fp/op-4.h: Likewise.
6020         * soft-fp/op-8.h: Likewise.
6021         * soft-fp/testit.c: Likewise.
6022         * stdio-common/bug16.c: Likewise.
6023         * stdlib/random.c: Likewise.
6024         * sunrpc/rpcsvc/rquota.x: Likewise.
6025         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
6026         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6027         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6028         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6029         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6030         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6031         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6032         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6033         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6034         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6035         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6036         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6037         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6038         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6039         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6040         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6041         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6042         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6043         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6044         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6045         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6046         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6047         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6048         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6049         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6050         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6051         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6052         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6053         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6054         * sysdeps/ieee754/s_lib_version.c: Likewise.
6055         * sysdeps/mach/hurd/check_fds.c: Likewise.
6056         * sysdeps/mach/hurd/getsockname.c: Likewise.
6057         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
6058         * sysdeps/mach/hurd/recvfrom.c: Likewise.
6059         * sysdeps/powerpc/bits/link.h: Likewise.
6060         * sysdeps/powerpc/dl-procinfo.c: Likewise.
6061         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
6062         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
6063         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
6064         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6065         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6066         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
6067         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6068         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
6069         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6070         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
6071         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6072         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
6073         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6074         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6075         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6076         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6077         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6078         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6079         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6080         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6081         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
6082         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6083         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6084         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
6085         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6086         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6087         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6088         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6089         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6090         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6091         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6092         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6093         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6094         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
6095         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6096         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
6097         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6098         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
6099         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
6100         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
6101         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
6102         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
6103         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
6104         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6105         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
6106         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
6107         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6108         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
6109         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
6110         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6111         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6112         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6113         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6114         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
6115         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
6116         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
6117         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6118         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
6119         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
6120         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
6121         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
6122         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6123         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6124         * sysdeps/powerpc/sysdep.h: Likewise.
6125         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6126         * sysdeps/s390/s390-64/sub_n.S: Likewise.
6127         * sysdeps/sh/dl-trampoline.S: Likewise.
6128         * sysdeps/sh/memset.S: Likewise.
6129         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
6130         * sysdeps/sh/strlen.S: Likewise.
6131         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
6132         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
6133         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
6134         * sysdeps/sparc/sparc32/rem.S: Likewise.
6135         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
6136         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
6137         * sysdeps/sparc/sparc32/strchr.S: Likewise.
6138         * sysdeps/sparc/sparc32/udiv.S: Likewise.
6139         * sysdeps/sparc/sparc32/urem.S: Likewise.
6140         * sysdeps/sparc/sparc64/add_n.S: Likewise.
6141         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6142         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
6143         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
6144         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
6145         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
6146         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6147         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
6148         * sysdeps/unix/bsd/times.c: Likewise.
6149         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
6150         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
6151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6154         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6155         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6156         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
6157         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
6158         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
6159         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
6160         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6161         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6162         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6163         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6164         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
6165         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6166         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
6167         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
6168         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
6169         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
6170         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
6171         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6172         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
6173         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
6174         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6175         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
6176         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6177         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
6178         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
6179         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
6180         * sysdeps/x86_64/strcspn.S: Likewise.
6182 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6184         * locale/C-translit.h: Revert #include <stdint.h> because this is a
6185         generated file.  Regenerate properly from gen-translit.pl.
6186         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
6187         locale/C-translit.h.
6189 2013-06-05  Andreas Schwab  <schwab@suse.de>
6191         [BZ #15100]
6192         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
6193         week as 6 instead of -1.
6194         * time/tst-strptime.c (day_tests): Add test case.
6196 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
6198         * sysdeps/generic/math_private.h
6199         (libc_feholdexcept_setround_53bit): Replace with
6200         libc_feholdsetround_53bit.
6201         (libc_feupdateenv_53bit): Replace with
6202         libc_feresetround_53bit.
6203         (SET_RESTORE_ROUND_53BIT): Adjust.
6205 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
6207         * string/test-strchrnul.c: Add copyright header.
6209         * posix/tst-getaddrinfo4.c: Increase test timeout.
6211 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
6213         [BZ #15536]
6214         * math/libm-test.inc (MAX_EXP): Remove
6215         (MIN_EXP): Define.
6216         (ulp): Use MIN_EXP - MANT_DIG.
6217         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
6219 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
6221         * po/be.po: Revert last change.
6222         * po/zh_CN.po: Likewise.
6223         * po/header.pot: Likewise.
6225 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
6227         * Makefile ($(common-objpfx)linkobj/libc.so): Define
6228         link-libc-deps to empty as target-specific variable.
6229         * Makerules (link-libc-args): New variable.
6230         (libc-for-link): Likewise.
6231         (link-libc-deps): Likewise.
6232         (lib%.so): Depend on $(link-libc-deps).  Link with
6233         $(link-libc-args).
6234         (build-module): Link with $(link-libc-args).
6235         (build-module-asneeded): Likewise.
6236         (build-module-helper-objlist): Filter out $(link-libc-deps) from
6237         list of objects.
6238         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
6239         target-specific variable.
6240         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
6241         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
6242         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
6243         libc.
6244         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
6245         libc and ld.so.
6246         ($(objpfx)libpcprofile.so): Likewise.
6247         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
6248         libc_nonshared.a.
6249         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
6250         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
6251         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
6252         $(link-libc-deps).
6253         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
6254         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
6255         * login/Makefile ($(objpfx)libutil.so): Likewise.
6256         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
6257         * math/Makefile ($(objpfx)libm.so): Likewise.
6258         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
6259         $(objpfx)libnsl.so): Define libc-for-link as target-specific
6260         variable instead of depending directly on libc.
6261         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
6262         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
6263         $(link-libc-deps).
6264         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
6265         libc.
6266         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
6267         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
6268         ($(objpfx)libanl.so): Likewise.
6269         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
6270         ld.so.
6271         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
6272         $(link-libc-deps).
6273         * sysdeps/i386/fpu/Makefile: Remove file.
6274         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
6275         ($(objpfx)libm.so): Remove dependency on ld.so.
6277 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
6279         [BZ # 15553]
6280         * nis/yp_xdr.c (XDRMAXNAME): Define.
6281         (XDRMAXRECORD): Define.
6282         (xdr_domainname): Use XDRMAXNAME.
6283         (xdr_mapname): Likewise.
6284         (xdr_peername): Likewise.
6285         (xdr_keydat): Use XDRMAXRECORD.
6286         (xdr_valdat): Likewise.
6288 2013-05-30  Jeff Law  <law@redhat.com>
6290         [BZ #14256]
6291         * manual/errno.texi (ESTALE): Update to account for more than
6292         just NFS file systems.
6293         * sysdeps/gnu/errlist.c: Regenerated.
6295 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
6297         [BZ #15465]
6298         * elf/Makefile (tests): Add tst-null-argv.
6299         (modules-names):  Add tst-null-argv-lib.
6300         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
6301         (tst-null-argv-ENV): Set environment for tst-null-argv.
6302         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
6303         (RTLD_PROGNAME): New macro.
6304         * elf/tst-null-argv.c: New test case.
6305         * elf/tst-null-argv-lib.c: Library for test case.
6306         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
6307         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6308         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
6309         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
6310         * elf/dl-init.c (call_init): Likewise.
6311         (_dl_init): Likewise.
6312         * elf/dl-load.c (print_search_path): Likewise.
6313         (_dl_map_object): Likewise.
6314         * elf/dl-lookup.c (do_lookup_x): Likewise.
6315         (add_dependency): Likewise.
6316         (_dl_lookup_symbol_x): Likewise.
6317         (_dl_debug_bindings): Likewise.
6318         * elf/dl-open.c (_dl_show_scope): Likewise.
6319         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6320         * elf/dl-version.c (match_symbol): Likewise.
6321         (_dl_check_map_versions): Likewise.
6322         * elf/rtld.c (dl_main): Likewise.
6323         (print_unresolved): Use RTLD_PROGNAME.
6324         (print_missing_version): Likewise.
6325         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
6326         (elf_machine_rela): Likewise.
6327         * sysdeps/powerpc/powerpc32/dl-machine.c
6328         (__process_machine_rela): Likewise.
6329         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6330         Likewise.
6331         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6332         Likewise.
6333         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
6334         Likewise.
6335         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6336         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
6337         Likewise.
6338         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
6339         Likewise.
6340         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6342 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
6344         * po/be.po: Add descriptive title.
6345         * po/zh_CN.po: Likewise.
6346         * po/header.pot: Likewise.
6348 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
6350         * locale/programs/locarchive.c (create_archive): Inlucde fname in
6351         error message.
6352         (enlarge_archive): Likewise.
6354 2013-05-28  Ben North  <ben@redfrontdoor.org>
6356         * manual/arith.texi (frexp): It is the magnitude of the return
6357         value which lies in [0.5, 1), not the return value itself.
6359 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6361         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6363 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
6365         * stdio-common/bug26.c (main): Correct fscanf template.
6367         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
6368         declare _dl_skip_args.
6370         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
6371         Don't declare.
6373         * manual/platform.texi: Add missing @end deftypefun.
6375 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
6377         [BZ #15529]
6378         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
6379         bit of mantissa of 2^16382.
6380         * math/libm-test.inc (hypot_test_data): Add more tests.
6382         * math/libm-test.inc: Add drem and pow10 to list of tested
6383         functions.
6384         (pow10_test): New function.
6385         (drem_test): Likewise.
6386         (drem_test_tonearest): Likewise.
6387         (drem_test_towardzero): Likewise.
6388         (drem_test_downward): Likewise.
6389         (drem_test_upward): Likewise.
6390         (main): Call the new functions.
6392         * math/libm-test.inc (finite_test_data): Remove.
6393         (finite_test): Run tests from isfinite_test_data.
6394         (gamma_test_data): Remove.
6395         (gamma_test): Run tests from lgamma_test_data.
6396         * sysdeps/i386/fpu/libm-test-ulps: Update.
6397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6399 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6401         * manual/platform.texi: Add PowerPC PPR function set documentation.
6402         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
6403         implementation.
6405 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
6407         * math/libm-test.inc (MAX_EXP): Define.
6408         (ULPDIFF): Define.
6409         (ulp): New function.
6410         (check_float_internal): Use ULPDIFF.
6411         (cpow_test): Disable failing test.
6412         (check_ulp): Test ulp() implemetnation.
6413         (main): Call check_ulp before starting tests.
6415 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
6417         * math/gen-libm-test.pl (generate_testfile): Do not handle
6418         START_DATA and END_DATA.
6419         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
6420         END_DATA.
6421         (acos_tonearest_test_data): Likewise.
6422         (acos_towardzero_test_data): Likewise.
6423         (acos_downward_test_data): Likewise.
6424         (acos_upward_test_data): Likewise.
6425         (acosh_test_data): Likewise.
6426         (asin_test_data): Likewise.
6427         (asin_tonearest_test_data): Likewise.
6428         (asin_towardzero_test_data): Likewise.
6429         (asin_downward_test_data): Likewise.
6430         (asin_upward_test_data): Likewise.
6431         (asinh_test_data): Likewise.
6432         (atan_test_data): Likewise.
6433         (atanh_test_data): Likewise.
6434         (atan2_test_data): Likewise.
6435         (cabs_test_data): Likewise.
6436         (cacos_test_data): Likewise.
6437         (cacosh_test_data): Likewise.
6438         (carg_test_data): Likewise.
6439         (casin_test_data): Likewise.
6440         (casinh_test_data): Likewise.
6441         (catan_test_data): Likewise.
6442         (catanh_test_data): Likewise.
6443         (cbrt_test_data): Likewise.
6444         (ccos_test_data): Likewise.
6445         (ccosh_test_data): Likewise.
6446         (ceil_test_data): Likewise.
6447         (cexp_test_data): Likewise.
6448         (cimag_test_data): Likewise.
6449         (clog_test_data): Likewise.
6450         (clog10_test_data): Likewise.
6451         (conj_test_data): Likewise.
6452         (copysign_test_data): Likewise.
6453         (cos_test_data): Likewise.
6454         (cos_tonearest_test_data): Likewise.
6455         (cos_towardzero_test_data): Likewise.
6456         (cos_downward_test_data): Likewise.
6457         (cos_upward_test_data): Likewise.
6458         (cosh_test_data): Likewise.
6459         (cosh_tonearest_test_data): Likewise.
6460         (cosh_towardzero_test_data): Likewise.
6461         (cosh_downward_test_data): Likewise.
6462         (cosh_upward_test_data): Likewise.
6463         (cpow_test_data): Likewise.
6464         (cproj_test_data): Likewise.
6465         (creal_test_data): Likewise.
6466         (csin_test_data): Likewise.
6467         (csinh_test_data): Likewise.
6468         (csqrt_test_data): Likewise.
6469         (ctan_test_data): Likewise.
6470         (ctan_tonearest_test_data): Likewise.
6471         (ctan_towardzero_test_data): Likewise.
6472         (ctan_downward_test_data): Likewise.
6473         (ctan_upward_test_data): Likewise.
6474         (ctanh_test_data): Likewise.
6475         (ctanh_tonearest_test_data): Likewise.
6476         (ctanh_towardzero_test_data): Likewise.
6477         (ctanh_downward_test_data): Likewise.
6478         (ctanh_upward_test_data): Likewise.
6479         (erf_test_data): Likewise.
6480         (erfc_test_data): Likewise.
6481         (exp_test_data): Likewise.
6482         (exp_tonearest_test_data): Likewise.
6483         (exp_towardzero_test_data): Likewise.
6484         (exp_downward_test_data): Likewise.
6485         (exp_upward_test_data): Likewise.
6486         (exp10_test_data): Likewise.
6487         (exp2_test_data): Likewise.
6488         (expm1_test_data): Likewise.
6489         (fabs_test_data): Likewise.
6490         (fdim_test_data): Likewise.
6491         (finite_test_data): Likewise.
6492         (floor_test_data): Likewise.
6493         (fma_test_data): Likewise.
6494         (fma_towardzero_test_data): Likewise.
6495         (fma_downward_test_data): Likewise.
6496         (fma_upward_test_data): Likewise.
6497         (fmax_test_data): Likewise.
6498         (fmin_test_data): Likewise.
6499         (fmod_test_data): Likewise.
6500         (fpclassify_test_data): Likewise.
6501         (frexp_test_data): Likewise.
6502         (gamma_test_data): Likewise.
6503         (hypot_test_data): Likewise.
6504         (ilogb_test_data): Likewise.
6505         (isfinite_test_data): Likewise.
6506         (isgreater_test_data): Likewise.
6507         (isgreaterequal_test_data): Likewise.
6508         (isinf_test_data): Likewise.
6509         (isless_test_data): Likewise.
6510         (islessequal_test_data): Likewise.
6511         (islessgreater_test_data): Likewise.
6512         (isnan_test_data): Likewise.
6513         (isnormal_test_data): Likewise.
6514         (issignaling_test_data): Likewise.
6515         (isunordered_test_data): Likewise.
6516         (j0_test_data): Likewise.
6517         (j1_test_data): Likewise.
6518         (jn_test_data): Likewise.
6519         (ldexp_test_data): Likewise.
6520         (lgamma_test_data): Likewise.
6521         (lrint_test_data): Likewise.
6522         (lrint_tonearest_test_data): Likewise.
6523         (lrint_towardzero_test_data): Likewise.
6524         (lrint_downward_test_data): Likewise.
6525         (lrint_upward_test_data): Likewise.
6526         (llrint_test_data): Likewise.
6527         (llrint_tonearest_test_data): Likewise.
6528         (llrint_towardzero_test_data): Likewise.
6529         (llrint_downward_test_data): Likewise.
6530         (llrint_upward_test_data): Likewise.
6531         (log_test_data): Likewise.
6532         (log10_test_data): Likewise.
6533         (log1p_test_data): Likewise.
6534         (log2_test_data): Likewise.
6535         (logb_test_data): Likewise.
6536         (logb_downward_test_data): Likewise.
6537         (lround_test_data): Likewise.
6538         (llround_test_data): Likewise.
6539         (modf_test_data): Likewise.
6540         (nearbyint_test_data): Likewise.
6541         (nextafter_test_data): Likewise.
6542         (nexttoward_test_data): Likewise.
6543         (pow_test_data): Likewise.
6544         (pow_tonearest_test_data): Likewise.
6545         (pow_towardzero_test_data): Likewise.
6546         (pow_downward_test_data): Likewise.
6547         (pow_upward_test_data): Likewise.
6548         (remainder_test_data): Likewise.
6549         (remainder_tonearest_test_data): Likewise.
6550         (remainder_towardzero_test_data): Likewise.
6551         (remainder_downward_test_data): Likewise.
6552         (remainder_upward_test_data): Likewise.
6553         (remquo_test_data): Likewise.
6554         (rint_test_data): Likewise.
6555         (rint_tonearest_test_data): Likewise.
6556         (rint_towardzero_test_data): Likewise.
6557         (rint_downward_test_data): Likewise.
6558         (rint_upward_test_data): Likewise.
6559         (round_test_data): Likewise.
6560         (scalb_test_data): Likewise.
6561         (scalbn_test_data): Likewise.
6562         (scalbln_test_data): Likewise.
6563         (signbit_test_data): Likewise.
6564         (sin_test_data): Likewise.
6565         (sin_tonearest_test_data): Likewise.
6566         (sin_towardzero_test_data): Likewise.
6567         (sin_downward_test_data): Likewise.
6568         (sin_upward_test_data): Likewise.
6569         (sincos_test_data): Likewise.
6570         (sinh_test_data): Likewise.
6571         (sinh_tonearest_test_data): Likewise.
6572         (sinh_towardzero_test_data): Likewise.
6573         (sinh_downward_test_data): Likewise.
6574         (sinh_upward_test_data): Likewise.
6575         (sqrt_test_data): Likewise.
6576         (tan_test_data): Likewise.
6577         (tan_tonearest_test_data): Likewise.
6578         (tan_towardzero_test_data): Likewise.
6579         (tan_downward_test_data): Likewise.
6580         (tan_upward_test_data): Likewise.
6581         (tanh_test_data): Likewise.
6582         (tgamma_test_data): Likewise.
6583         (trunc_test_data): Likewise.
6584         (y0_test_data): Likewise.
6585         (y1_test_data): Likewise.
6586         (yn_test_data): Likewise.
6587         (significand_test_data): Likewise.
6589         * math/gen-libm-test.pl (@functions): Remove variable.
6590         (generate_testfile): Don't handle START and END lines.
6591         * math/libm-test.inc (START): New macro.
6592         (END): Likewise.
6593         (END_COMPLEX): Likewise.
6594         (acos_test): Use END macro without arguments.
6595         (acos_test_tonearest): Likewise.
6596         (acos_test_towardzero): Likewise.
6597         (acos_test_downward): Likewise.
6598         (acos_test_upward): Likewise.
6599         (acosh_test): Likewise.
6600         (asin_test): Likewise.
6601         (asin_test_tonearest): Likewise.
6602         (asin_test_towardzero): Likewise.
6603         (asin_test_downward): Likewise.
6604         (asin_test_upward): Likewise.
6605         (asinh_test): Likewise.
6606         (atan_test): Likewise.
6607         (atanh_test): Likewise.
6608         (atan2_test): Likewise.
6609         (cabs_test): Likewise.
6610         (cacos_test): Use END_COMPLEX macro without arguments.
6611         (cacosh_test): Likewise.
6612         (carg_test): Use END macro without arguments.
6613         (casin_test): Use END_COMPLEX macro without arguments.
6614         (casinh_test): Likewise.
6615         (catan_test): Likewise.
6616         (catanh_test): Likewise.
6617         (cbrt_test): Use END macro without arguments.
6618         (ccos_test): Use END_COMPLEX macro without arguments.
6619         (ccosh_test): Likewise.
6620         (ceil_test): Use END macro without arguments.
6621         (cexp_test): Use END_COMPLEX macro without arguments.
6622         (cimag_test): Use END macro without arguments.
6623         (clog_test): Use END_COMPLEX macro without arguments.
6624         (clog10_test): Likewise.
6625         (conj_test): Likewise.
6626         (copysign_test): Use END macro without arguments.
6627         (cos_test): Likewise.
6628         (cos_test_tonearest): Likewise.
6629         (cos_test_towardzero): Likewise.
6630         (cos_test_downward): Likewise.
6631         (cos_test_upward): Likewise.
6632         (cosh_test): Likewise.
6633         (cosh_test_tonearest): Likewise.
6634         (cosh_test_towardzero): Likewise.
6635         (cosh_test_downward): Likewise.
6636         (cosh_test_upward): Likewise.
6637         (cpow_test): Use END_COMPLEX macro without arguments.
6638         (cproj_test): Likewise.
6639         (creal_test): Use END macro without arguments.
6640         (csin_test): Use END_COMPLEX macro without arguments.
6641         (csinh_test): Likewise.
6642         (csqrt_test): Likewise.
6643         (ctan_test): Likewise.
6644         (ctan_test_tonearest): Likewise.
6645         (ctan_test_towardzero): Likewise.
6646         (ctan_test_downward): Likewise.
6647         (ctan_test_upward): Likewise.
6648         (ctanh_test): Likewise.
6649         (ctanh_test_tonearest): Likewise.
6650         (ctanh_test_towardzero): Likewise.
6651         (ctanh_test_downward): Likewise.
6652         (ctanh_test_upward): Likewise.
6653         (erf_test): Use END macro without arguments.
6654         (erfc_test): Likewise.
6655         (exp_test): Likewise.
6656         (exp_test_tonearest): Likewise.
6657         (exp_test_towardzero): Likewise.
6658         (exp_test_downward): Likewise.
6659         (exp_test_upward): Likewise.
6660         (exp10_test): Likewise.
6661         (exp2_test): Likewise.
6662         (expm1_test): Likewise.
6663         (fabs_test): Likewise.
6664         (fdim_test): Likewise.
6665         (finite_test): Likewise.
6666         (floor_test): Likewise.
6667         (fma_test): Likewise.
6668         (fma_test_towardzero): Likewise.
6669         (fma_test_downward): Likewise.
6670         (fma_test_upward): Likewise.
6671         (fmax_test): Likewise.
6672         (fmin_test): Likewise.
6673         (fmod_test): Likewise.
6674         (fpclassify_test): Likewise.
6675         (frexp_test): Likewise.
6676         (gamma_test): Likewise.
6677         (hypot_test): Likewise.
6678         (ilogb_test): Likewise.
6679         (isfinite_test): Likewise.
6680         (isgreater_test): Likewise.
6681         (isgreaterequal_test): Likewise.
6682         (isinf_test): Likewise.
6683         (isless_test): Likewise.
6684         (islessequal_test): Likewise.
6685         (islessgreater_test): Likewise.
6686         (isnan_test): Likewise.
6687         (isnormal_test): Likewise.
6688         (issignaling_test): Likewise.
6689         (isunordered_test): Likewise.
6690         (j0_test): Likewise.
6691         (j1_test): Likewise.
6692         (jn_test): Likewise.
6693         (ldexp_test): Likewise.
6694         (lgamma_test): Likewise.
6695         (lrint_test): Likewise.
6696         (lrint_test_tonearest): Likewise.
6697         (lrint_test_towardzero): Likewise.
6698         (lrint_test_downward): Likewise.
6699         (lrint_test_upward): Likewise.
6700         (llrint_test): Likewise.
6701         (llrint_test_tonearest): Likewise.
6702         (llrint_test_towardzero): Likewise.
6703         (llrint_test_downward): Likewise.
6704         (llrint_test_upward): Likewise.
6705         (log_test): Likewise.
6706         (log10_test): Likewise.
6707         (log1p_test): Likewise.
6708         (log2_test): Likewise.
6709         (logb_test): Likewise.
6710         (logb_test_downward): Likewise.
6711         (lround_test): Likewise.
6712         (llround_test): Likewise.
6713         (modf_test): Likewise.
6714         (nearbyint_test): Likewise.
6715         (nextafter_test): Likewise.
6716         (nexttoward_test): Likewise.
6717         (pow_test): Likewise.
6718         (pow_test_tonearest): Likewise.
6719         (pow_test_towardzero): Likewise.
6720         (pow_test_downward): Likewise.
6721         (pow_test_upward): Likewise.
6722         (remainder_test): Likewise.
6723         (remainder_test_tonearest): Likewise.
6724         (remainder_test_towardzero): Likewise.
6725         (remainder_test_downward): Likewise.
6726         (remainder_test_upward): Likewise.
6727         (remquo_test): Likewise.
6728         (rint_test): Likewise.
6729         (rint_test_tonearest): Likewise.
6730         (rint_test_towardzero): Likewise.
6731         (rint_test_downward): Likewise.
6732         (rint_test_upward): Likewise.
6733         (round_test): Likewise.
6734         (scalb_test): Likewise.
6735         (scalbn_test): Likewise.
6736         (scalbln_test): Likewise.
6737         (signbit_test): Likewise.
6738         (sin_test): Likewise.
6739         (sin_test_tonearest): Likewise.
6740         (sin_test_towardzero): Likewise.
6741         (sin_test_downward): Likewise.
6742         (sin_test_upward): Likewise.
6743         (sincos_test): Likewise.
6744         (sinh_test): Likewise.
6745         (sinh_test_tonearest): Likewise.
6746         (sinh_test_towardzero): Likewise.
6747         (sinh_test_downward): Likewise.
6748         (sinh_test_upward): Likewise.
6749         (sqrt_test): Likewise.
6750         (tan_test): Likewise.
6751         (tan_test_tonearest): Likewise.
6752         (tan_test_towardzero): Likewise.
6753         (tan_test_downward): Likewise.
6754         (tan_test_upward): Likewise.
6755         (tanh_test): Likewise.
6756         (tgamma_test): Likewise.
6757         (trunc_test): Likewise.
6758         (y0_test): Likewise.
6759         (y1_test): Likewise.
6760         (yn_test): Likewise.
6761         (significand_test): Likewise.
6763 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
6765         [BZ #15381]
6766         * libio/genops.c (_IO_no_init): Initialize wide struct info.
6768 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
6770         [BZ #14894]
6771         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
6772         __ppc_mdoio and __ppc_mdoom.
6773         * manual/platform.texi: Document new functions __ppc_yield,
6774         __ppc_mdoio and __ppc_mdoom.
6776 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
6778         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
6779         (main): Mention "tls" pseudo-hwcap is legacy.
6780         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
6782 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
6784         * math/gen-libm-test.pl (parse_args): Output only string of
6785         arguments as text for test name, not full call or descriptions of
6786         tests for extra outputs.
6787         (generate_testfile): Do not pass function name to parse_args.
6788         Generate this_func variable from START.
6789         * math/libm-test.inc (struct test_f_f_data): Rename test_name
6790         field to arg_str.
6791         (struct test_ff_f_data): Likewise.
6792         (test_ff_f_data_nexttoward): Likewise.
6793         (struct test_fi_f_data): Likewise.
6794         (struct test_fl_f_data): Likewise.
6795         (struct test_if_f_data): Likewise.
6796         (struct test_fff_f_data): Likewise.
6797         (struct test_c_f_data): Likewise.
6798         (struct test_f_f1_data): Likewise.  Remove field extra_name.
6799         (struct test_fF_f1_data): Likewise.
6800         (struct test_ffI_f1_data): Likewise.
6801         (struct test_c_c_data): Rename test_name field to arg_str.
6802         (struct test_cc_c_data): Likewise.
6803         (struct test_f_i_data): Likewise.
6804         (struct test_ff_i_data): Likewise.
6805         (struct test_f_l_data): Likewise.
6806         (struct test_f_L_data): Likewise.
6807         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
6808         and extra2_name.
6809         (COMMON_TEST_SETUP): New macro.
6810         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
6811         (COMMON_TEST_CLEANUP): Likewise.
6812         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
6813         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
6814         macros.
6815         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
6816         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
6817         macros.
6818         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
6819         (RUN_TEST_fff_f): Take argument string.  Call new setup and
6820         cleanup macros.
6821         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
6822         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
6823         macros.
6824         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
6825         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
6826         macros.
6827         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6828         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
6829         cleanup macros.
6830         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6831         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
6832         cleanup macros.
6833         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6834         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
6835         cleanup macros.
6836         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6837         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
6838         macros.
6839         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
6840         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
6841         macros.
6842         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
6843         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
6844         macros.
6845         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
6846         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
6847         cleanup macros.
6848         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
6849         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
6850         cleanup macros.
6851         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
6852         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
6853         macros.
6854         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
6855         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
6856         cleanup macros.
6857         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
6858         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
6859         macros.
6860         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
6861         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
6862         macros.
6863         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
6864         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
6865         cleanup macros.
6866         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
6868 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
6870         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
6871         to _sifields.sigfault.
6872         (si_addr_lsb): Define new macro.
6873         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6874         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6875         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
6877 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
6879         [BZ #15441]
6880         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
6881         returns -1.
6882         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
6883         null return -1.
6884         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
6885         loading the domain.
6887 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
6889         * math/gen-libm-test.pl (parse_args): Do not include expected
6890         result in test name.
6891         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
6892         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6893         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6894         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6895         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6898 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
6900         * benchtests/Makefile: Sort function entries.
6902         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
6903         tanh, asinh, acosh, atanh.
6904         * benchtests/acos-inputs: New file.
6905         * benchtests/acosh-inputs: New file.
6906         * benchtests/asin-inputs: New file.
6907         * benchtests/asinh-inputs: New file.
6908         * benchtests/atanh-inputs: New file.
6909         * benchtests/cosh-inputs: New file.
6910         * benchtests/log-inputs: New file.
6911         * benchtests/sinh-inputs: New file.
6912         * benchtests/tanh-inputs: New file.
6914 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
6916         [BZ #15339]
6917         * posix/tst-getaddrinfo4.c: New test.
6918         * posix/Makefile (tests): Add it.
6920 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6922         [BZ #15339]
6923         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
6924         when no services were used.
6925         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
6926         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
6928 2013-05-21  Andreas Schwab  <schwab@suse.de>
6930         [BZ #15014]
6931         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
6932         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
6933         successful.
6934         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
6935         redundant variable declarations and reallocation of buffer when
6936         parsing as IPv6 address.  Always set NSS status when called from
6937         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
6938         buffer too small.  Correct computation of needed size.
6939         * nss/Makefile (tests): Add test-digits-dots.
6940         * nss/test-digits-dots.c: New test.
6942 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6944         * benchtests/Makefile: Remove instructions for adding
6945         benchmark tests.
6946         * benchtests/README: New file to explain how to execute and
6947         enhance the benchmark tests.
6949 2013-05-21  Andreas Schwab  <schwab@suse.de>
6951         [BZ #15493]
6952         * setjmp/Makefile (tests): Add tst-sigsetjmp.
6953         * setjmp/tst-sigsetjmp.c: New test.
6955 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
6957         * sysdeps/x86_64/memset.S (memset): New implementation.
6958         (__bzero): Likewise.
6959         (__memset_tail): New function.
6961 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
6963         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
6964         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
6965         __memcpy_sse2_unaligned ifunc selection.
6966         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6967         Add memcpy-sse2-unaligned.S.
6968         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6969         Add: __memcpy_sse2_unaligned.
6971 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
6973         [BZ #15490]
6974         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
6975         math_force_eval before restoring floating-point envrionment.
6976         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
6977         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
6978         Likewise.
6979         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
6980         <math_private.h>.
6981         (__nearbyintl): Use math_force_eval before restoring
6982         floating-point environment.
6983         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
6985         * math/gen-libm-test.pl (special_functions): Remove.
6986         (parse_args): Don't handle TEST_extra.  Handle functions with no
6987         return value.
6988         * math/libm-test.inc (struct test_sincos_data): Replace with
6989         struct test_fFF_11_data.
6990         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
6991         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
6992         (sincos_test_data): Change element type to struct
6993         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
6994         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
6995         RUN_TEST_LOOP_sincos.
6996         * math/README.libm-test: Don't mention special handling of
6997         individual functions.
6998         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
6999         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7000         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7001         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7002         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7005         * math/gen-libm-test.pl (get_variable): Remove function.
7006         (parse_args): Don't show pointer parameters to call in test
7007         names.  Use "extra output N" in test names for extra outputs
7008         rather than naming variables.
7010 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
7012         [BZ #15488]
7013         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
7014         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
7015         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
7016         double tests.
7017         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
7018         disable.
7019         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
7020         check_long_double.
7022         * math/gen-libm-test.pl (@tests): Remove variable.
7023         ($count): Likewise.
7024         (new_test): Remove function.
7025         (show_exceptions): New function.
7026         (special_functions): Use show_exceptions instead of new_test.
7027         (parse_args): Likewise.
7028         (generate_testfile): Pass only function name in generated call to
7029         print_max_error or print_complex_max_error.
7030         (get_ulps): Do not handle complex tests specially.
7031         (output_test): Rename to ...
7032         (get_all_ulps_for_test): ... this.  Return a string rather than
7033         printing to a file.  Require ulps to be present.
7034         (output_ulps): Generate arrays rather than #defines.
7035         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
7036         (struct ulp_data): New type.
7037         (BUILD_COMPLEX_ULP): Remove macro.
7038         (compare_ulp_data): New function.
7039         (find_ulps): Likewise.
7040         (find_test_ulps): Likewise.
7041         (find_function_ulps): Likewise.
7042         (find_complex_function_ulps): Likewise.
7043         (print_max_error): Determine allowed ulps using
7044         find_function_ulps.
7045         (print_complex_max_error): Determine allowed ulps using
7046         find_complex_function_ulps.
7047         (check_float_internal): Determine max ulps using find_test_ulps.
7048         (check_float): Do not take max_ulp parameter.  Update call to
7049         check_float_internal.
7050         (check_complex): Likewise.
7051         (check_int): Do not take max_ulp parameter.
7052         (check_long): Likewise.
7053         (check_bool): Likewise.
7054         (check_longlong): Likewise.
7055         (struct test_f_f_data): Remove max_ulp field.
7056         (struct test_ff_f_data): Likewise.
7057         (struct test_ff_f_data_nexttoward): Likewise.
7058         (struct test_fi_f_data): Likewise.
7059         (struct test_fl_f_data): Likewise.
7060         (struct test_if_f_data): Likewise.
7061         (struct test_fff_f_data): Likewise.
7062         (struct test_c_f_data): Likewise.
7063         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
7064         (struct test_fF_f1_data): Likewise.
7065         (struct test_ffI_f1_data): Likewise.
7066         (struct test_c_c_data): Remove max_ulp field.
7067         (struct test_cc_c_data): Likewise.
7068         (struct test_f_i_data): Likewise.
7069         (struct test_ff_i_data): Likewise.
7070         (struct test_f_l_data): Likewise.
7071         (struct test_f_L_data): Likewise.
7072         (struct test_sincos_data): Likewise.
7073         (RUN_TEST_f_f): Do not handle ulps.
7074         (RUN_TEST_LOOP_f_f): Likewise.
7075         (RUN_TEST_2_f): Likewise.
7076         (RUN_TEST_LOOP_2_f): Likewise.
7077         (RUN_TEST_fff_f): Likewise.
7078         (RUN_TEST_LOOP_fff_f): Likewise.
7079         (RUN_TEST_c_f): Likewise.
7080         (RUN_TEST_LOOP_c_f): Likewise.
7081         (RUN_TEST_f_f1): Likewise.
7082         (RUN_TEST_LOOP_f_f1): Likewise.
7083         (RUN_TEST_fF_f1): Likewise.
7084         (RUN_TEST_LOOP_fF_f1): Likewise.
7085         (RUN_TEST_fI_f1): Likewise.
7086         (RUN_TEST_LOOP_fI_f1): Likewise.
7087         (RUN_TEST_ffI_f1): Likewise.
7088         (RUN_TEST_LOOP_ffI_f1): Likewise.
7089         (RUN_TEST_c_c): Likewise.
7090         (RUN_TEST_LOOP_c_c): Likewise.
7091         (RUN_TEST_cc_c): Likewise.
7092         (RUN_TEST_LOOP_cc_c): Likewise.
7093         (RUN_TEST_f_i): Likewise.
7094         (RUN_TEST_LOOP_f_i): Likewise.
7095         (RUN_TEST_f_i_tg): Likewise.
7096         (RUN_TEST_LOOP_f_i_tg): Likewise.
7097         (RUN_TEST_ff_i_tg): Likewise.
7098         (RUN_TEST_LOOP_ff_i_tg): Likewise.
7099         (RUN_TEST_f_b): Likewise.
7100         (RUN_TEST_LOOP_f_b): Likewise.
7101         (RUN_TEST_f_b_tg): Likewise.
7102         (RUN_TEST_LOOP_f_b_tg): Likewise.
7103         (RUN_TEST_f_l): Likewise.
7104         (RUN_TEST_LOOP_f_l): Likewise.
7105         (RUN_TEST_f_L): Likewise.
7106         (RUN_TEST_LOOP_f_L): Likewise.
7107         (RUN_TEST_sincos): Likewise.
7108         (RUN_TEST_LOOP_sincos): Likewise.
7110 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
7112         [BZ #15480]
7113         [BZ #15485]
7114         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
7115         main case of finite arguments, set rounding mode to FE_TONEAREST
7116         and discard exceptions.
7117         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
7118         exceptions.
7119         (remainder_tonearest_test_data): New variable.
7120         (remainder_test_tonearest): New function.
7121         (remainder_towardzero_test_data): New variable.
7122         (remainder_test_towardzero): New function.
7123         (remainder_downward_test_data): New variable.
7124         (remainder_test_downward): New function.
7125         (remainder_upward_test_data): New variable.
7126         (remainder_test_upward): New function.
7127         (main): Call the new test functions.
7129         * math/libm-test.inc (struct test_f_f1_data): Remove field
7130         extra_init.
7131         (struct test_fF_f1_data): Likewise.
7132         (struct test_ffI_f1_data): Likewise.
7133         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
7134         based on value of EXTRA_EXPECTED.
7135         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7136         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
7137         EXTRA_VAR based on value of EXTRA_EXPECTED.
7138         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7139         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
7140         EXTRA_VAR based on value of EXTRA_EXPECTED.
7141         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7142         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
7143         EXTRA_VAR based on value of EXTRA_EXPECTED.
7144         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7145         * math/gen-libm-test.pl (parse_args): Don't output initializers
7146         for extra output values.
7148         * math/libm-test.inc (check_int): Expect result to be exactly
7149         equal to expected value and do not handle ulps.
7150         (check_long): Likewise.
7151         (check_longlong): Likewise.
7153         * math/libm-test.inc (ceil_test_data): Test for "inexact"
7154         exceptions.
7155         (cimag_test_data): Likewise.
7156         (conj_test_data): Likewise.
7157         (copysign_test_data): Likewise.
7158         (cproj_test_data): Likewise.
7159         (creal_test_data): Likewise.
7160         (fabs_test_data): Likewise.
7161         (fdim_test_data): Likewise.
7162         (finite_test_data): Likewise.
7163         (floor_test_data): Likewise.
7164         (fmax_test_data): Likewise.
7165         (fmin_test_data): Likewise.
7166         (fmod_test_data): Likewise.
7167         (fpclassify_test_data): Likewise.
7168         (frexp_test_data): Likewise.
7169         (ilogb_test_data): Likewise.
7170         (isfinite_test_data): Likewise.
7171         (isgreater_test_data): Likewise.
7172         (isgreaterequal_test_data): Likewise.
7173         (isinf_test_data): Likewise.
7174         (isless_test_data): Likewise.
7175         (islessequal_test_data): Likewise.
7176         (islessgreater_test_data): Likewise.
7177         (isnan_test_data): Likewise.
7178         (isnormal_test_data): Likewise.
7179         (issignaling_test_data): Likewise.
7180         (isunordered_test_data): Likewise.
7181         (ldexp_test_data): Likewise.
7182         (lrint_test_data): Likewise.
7183         (lrint_test_data) [TEST_FLOAT]: Disable one test.
7184         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
7185         (lrint_tonearest_test_data): Test for "inexact" exceptions.
7186         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7187         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
7188         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7189         test input.
7190         (lrint_towardzero_test_data): Test for "inexact" exceptions.
7191         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7192         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
7193         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
7194         that test input.
7195         (lrint_downward_test_data): Test for "inexact" exceptions.
7196         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7197         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
7198         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7199         test input.
7200         (lrint_upward_test_data): Test for "inexact" exceptions.
7201         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
7202         test input.
7203         (llrint_test_data): Test for "inexact" exceptions.
7204         (llrint_test_data) [TEST_FLOAT]: Disable one test.
7205         (llrint_tonearest_test_data): Test for "inexact" exceptions.
7206         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7207         (llrint_towardzero_test_data): Test for "inexact" exceptions.
7208         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7209         (llrint_downward_test_data): Test for "inexact" exceptions.
7210         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7211         (llrint_upward_test_data): Test for "inexact" exceptions.
7212         (logb_test_data): Likewise.
7213         (logb_downward_test_data): Likewise.
7214         (nextafter_test_data): Likewise.
7215         (nexttoward_test_data): Likewise.
7216         (remainder_test_data): Likewise.
7217         (remquo_test_data): Likewise.
7218         (scalbn_test_data): Likewise.
7219         (scalbln_test_data): Likewise.
7220         (signbit_test_data): Likewise.
7221         (sqrt_test_data): Likewise.
7222         (significand_test_data): Likewise.
7224 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7226         [BZ #15424]
7227         * benchtests/bench-modf.c (struct args): Mark arg0 as
7228         volatile.
7229         * scripts/bench.pl: Mark members of struct args as volatile.
7231 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7233         [BZ # 15497]
7234         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
7235         negative infinity on POWER6 or lower.
7236         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
7238 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
7240         [BZ #15442]
7241         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
7242         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
7243         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
7244         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
7245         (_FP_SETQNAN): New macro.
7246         (_FP_SETQNAN_SEMIRAW): Likewise.
7247         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
7248         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
7249         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
7250         (FP_EXTEND): Use _FP_FRAC_SNANP.
7251         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
7252         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
7253         into account.
7254         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7255         New macro.
7256         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7257         Likewise.
7259 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
7261         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
7262         with DIVIDE_BY_ZERO_EXCEPTION.
7263         (gamma_test_data): Likewise.
7264         (lgamma_test_data): Likewise.
7265         (log_test_data): Likewise.
7266         (log10_test_data): Likewise.
7267         (log2_test_data): Likewise.
7268         (tgamma_test_data): Likewise.
7270         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
7271         (acos_test_tonearest): Likewise.
7272         (acos_test_towardzero): Likewise.
7273         (acos_test_downward): Likewise.
7274         (acos_test_upward): Likewise.
7275         (acosh_test): Likewise.
7276         (asin_test): Likewise.
7277         (asin_test_tonearest): Likewise.
7278         (asin_test_towardzero): Likewise.
7279         (asin_test_downward): Likewise.
7280         (asin_test_upward): Likewise.
7281         (asinh_test): Likewise.
7282         (atan_test): Likewise.
7283         (atanh_test): Likewise.
7284         (atan2_test): Likewise.
7285         (cabs_test): Likewise.
7286         (cacos_test): Likewise.
7287         (cacosh_test): Likewise.
7288         (casin_test): Likewise.
7289         (casinh_test): Likewise.
7290         (catan_test): Likewise.
7291         (catanh_test): Likewise.
7292         (cbrt_test): Likewise.
7293         (ccos_test): Likewise.
7294         (ccosh_test): Likewise.
7295         (cexp_test): Likewise.
7296         (clog_test): Likewise.
7297         (clog10_test): Likewise.
7298         (cos_test): Likewise.
7299         (cos_test_tonearest): Likewise.
7300         (cos_test_towardzero): Likewise.
7301         (cos_test_downward): Likewise.
7302         (cos_test_upward): Likewise.
7303         (cosh_test): Likewise.
7304         (cosh_test_tonearest): Likewise.
7305         (cosh_test_towardzero): Likewise.
7306         (cosh_test_downward): Likewise.
7307         (cosh_test_upward): Likewise.
7308         (cpow_test): Likewise.
7309         (csin_test): Likewise.
7310         (csinh_test): Likewise.
7311         (csqrt_test): Likewise.
7312         (ctan_test): Likewise.
7313         (ctan_test_tonearest): Likewise.
7314         (ctan_test_towardzero): Likewise.
7315         (ctan_test_downward): Likewise.
7316         (ctan_test_upward): Likewise.
7317         (ctanh_test): Likewise.
7318         (ctanh_test_tonearest): Likewise.
7319         (ctanh_test_towardzero): Likewise.
7320         (ctanh_test_downward): Likewise.
7321         (ctanh_test_upward): Likewise.
7322         (erf_test): Likewise.
7323         (erfc_test): Likewise.
7324         (exp_test): Likewise.
7325         (exp_test_tonearest): Likewise.
7326         (exp_test_towardzero): Likewise.
7327         (exp_test_downward): Likewise.
7328         (exp_test_upward): Likewise.
7329         (exp10_test): Likewise.
7330         (exp2_test): Likewise.
7331         (expm1_test): Likewise.
7332         (fmod_test): Likewise.
7333         (gamma_test): Likewise.
7334         (hypot_test): Likewise.
7335         (j0_test): Likewise.
7336         (j1_test): Likewise.
7337         (jn_test): Likewise.
7338         (lgamma_test): Likewise.
7339         (log_test): Likewise.
7340         (log10_test): Likewise.
7341         (log1p_test): Likewise.
7342         (log2_test): Likewise.
7343         (logb_test_downward): Likewise.
7344         (pow_test): Likewise.
7345         (pow_test_tonearest): Likewise.
7346         (pow_test_towardzero): Likewise.
7347         (pow_test_downward): Likewise.
7348         (pow_test_upward): Likewise.
7349         (remainder_test): Likewise.
7350         (remquo_test): Likewise.
7351         (sin_test): Likewise.
7352         (sin_test_tonearest): Likewise.
7353         (sin_test_towardzero): Likewise.
7354         (sin_test_downward): Likewise.
7355         (sin_test_upward): Likewise.
7356         (sincos_test): Likewise.
7357         (sinh_test): Likewise.
7358         (sinh_test_tonearest): Likewise.
7359         (sinh_test_towardzero): Likewise.
7360         (sinh_test_downward): Likewise.
7361         (sinh_test_upward): Likewise.
7362         (sqrt_test): Likewise.
7363         (tan_test): Likewise.
7364         (tan_test_tonearest): Likewise.
7365         (tan_test_towardzero): Likewise.
7366         (tan_test_downward): Likewise.
7367         (tan_test_upward): Likewise.
7368         (tanh_test): Likewise.
7369         (tgamma_test): Likewise.
7370         (y0_test): Likewise.
7371         (y1_test): Likewise.
7372         (yn_test): Likewise.
7374         * math/gen-libm-test.pl (adjust_arg): Remove function.
7375         (special_function): Remove argument $in_func.  Only handle
7376         generating output for tables of tests, not inside functions.
7377         (parse_args): Likewise.
7378         (generate_testfile): Remove variable $in_func.  Update call to
7379         parse_args.
7380         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
7381         (MINUS_ZERO_INIT): Rename macro to minus_zero.
7382         (PLUS_INFTY_INIT): Rename macro to plus_infty.
7383         (MINUS_INFTY_INIT): Rename macro to minus_infty.
7384         (QNAN_VALUE_INIT): Rename macro to qnan_value.
7385         (MAX_VALUE_INIT): Rename macro to max_value.
7386         (MIN_VALUE_INIT): Rename macro to min_value.
7387         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
7388         (plus_zero): Remove variable.
7389         (minus_zero): Likewise.
7390         (plus_infty): Likewise.
7391         (minus_infty): Likewise.
7392         (qnan_value): Likewise.
7393         (max_value): Likewise.
7394         (min_value): Likewise.
7395         (min_subnorm_value): Likewise.
7397 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7399         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
7400         uint64_t or uint32_t usage.
7401         * crypt/sha256-block.c: Likewise.
7402         * crypt/sha256-crypt.c: Likewise.
7403         * crypt/sha256.c: Likewise.
7404         * crypt/sha512-block.c: Likewise.
7405         * crypt/sha512-crypt.c: Likewise.
7406         * crypt/sha512.c: Likewise.
7407         * debug/backtrace-tst.c: Likewise.
7408         * debug/pcprofiledump.c: Likewise.
7409         * elf/cache.c: Likewise.
7410         * elf/dl-cache.c: Likewise.
7411         * elf/dl-misc.c: Likewise.
7412         * elf/dl-profile.c: Likewise.
7413         * elf/dl-support.c: Likewise.
7414         * elf/ldconfig.c: Likewise.
7415         * elf/sprof.c: Likewise.
7416         * iconv/dummy-repertoire.c: Likewise.
7417         * iconv/iconv_charmap.c: Likewise.
7418         * iconv/skeleton.c: Likewise.
7419         * iconvdata/8bit-generic.c: Likewise.
7420         * iconvdata/cp737.h: Likewise.
7421         * iconvdata/cp775.h: Likewise.
7422         * iconvdata/ibm1008.h: Likewise.
7423         * iconvdata/ibm1025.h: Likewise.
7424         * iconvdata/ibm1046.h: Likewise.
7425         * iconvdata/ibm1097.h: Likewise.
7426         * iconvdata/ibm1112.h: Likewise.
7427         * iconvdata/ibm1122.h: Likewise.
7428         * iconvdata/ibm1123.h: Likewise.
7429         * iconvdata/ibm1124.h: Likewise.
7430         * iconvdata/ibm1129.h: Likewise.
7431         * iconvdata/ibm1130.h: Likewise.
7432         * iconvdata/ibm1132.h: Likewise.
7433         * iconvdata/ibm1133.h: Likewise.
7434         * iconvdata/ibm1137.h: Likewise.
7435         * iconvdata/ibm1140.h: Likewise.
7436         * iconvdata/ibm1141.h: Likewise.
7437         * iconvdata/ibm1142.h: Likewise.
7438         * iconvdata/ibm1143.h: Likewise.
7439         * iconvdata/ibm1144.h: Likewise.
7440         * iconvdata/ibm1145.h: Likewise.
7441         * iconvdata/ibm1146.h: Likewise.
7442         * iconvdata/ibm1147.h: Likewise.
7443         * iconvdata/ibm1148.h: Likewise.
7444         * iconvdata/ibm1149.h: Likewise.
7445         * iconvdata/ibm1153.h: Likewise.
7446         * iconvdata/ibm1154.h: Likewise.
7447         * iconvdata/ibm1155.h: Likewise.
7448         * iconvdata/ibm1156.h: Likewise.
7449         * iconvdata/ibm1157.h: Likewise.
7450         * iconvdata/ibm1158.h: Likewise.
7451         * iconvdata/ibm1160.h: Likewise.
7452         * iconvdata/ibm1161.h: Likewise.
7453         * iconvdata/ibm1162.h: Likewise.
7454         * iconvdata/ibm1163.h: Likewise.
7455         * iconvdata/ibm1164.h: Likewise.
7456         * iconvdata/ibm1166.h: Likewise.
7457         * iconvdata/ibm1167.h: Likewise.
7458         * iconvdata/ibm12712.h: Likewise.
7459         * iconvdata/ibm1390.h: Likewise.
7460         * iconvdata/ibm1399.h: Likewise.
7461         * iconvdata/ibm16804.h: Likewise.
7462         * iconvdata/ibm4517.h: Likewise.
7463         * iconvdata/ibm4899.h: Likewise.
7464         * iconvdata/ibm4909.h: Likewise.
7465         * iconvdata/ibm4971.h: Likewise.
7466         * iconvdata/ibm5347.h: Likewise.
7467         * iconvdata/ibm803.h: Likewise.
7468         * iconvdata/ibm856.h: Likewise.
7469         * iconvdata/ibm901.h: Likewise.
7470         * iconvdata/ibm902.h: Likewise.
7471         * iconvdata/ibm9030.h: Likewise.
7472         * iconvdata/ibm9066.h: Likewise.
7473         * iconvdata/ibm921.h: Likewise.
7474         * iconvdata/ibm922.h: Likewise.
7475         * iconvdata/ibm9448.h: Likewise.
7476         * iconvdata/isiri-3342.h: Likewise.
7477         * iconvdata/jis0201.h: Likewise.
7478         * include/link.h: Likewise.
7479         * include/netdb.h: Likewise.
7480         * inet/check_native.c: Likewise.
7481         * inet/check_pf.c: Likewise.
7482         * inet/getipv4sourcefilter.c: Likewise.
7483         * inet/getnameinfo.c: Likewise.
7484         * inet/getsourcefilter.c: Likewise.
7485         * inet/htonl.c: Likewise.
7486         * inet/setipv4sourcefilter.c: Likewise.
7487         * inet/setsourcefilter.c: Likewise.
7488         * inet/test-inet6_opt.c: Likewise.
7489         * inet/tst-network.c: Likewise.
7490         * locale/C-collate.c: Likewise.
7491         * locale/C-ctype.c: Likewise.
7492         * locale/C-time.c: Likewise.
7493         * locale/C-translit.h: Likewise.
7494         * locale/loadarchive.c: Likewise.
7495         * locale/programs/3level.h: Likewise.
7496         * locale/programs/charmap.c: Likewise.
7497         * locale/programs/charmap.h: Likewise.
7498         * locale/programs/ld-address.c: Likewise.
7499         * locale/programs/ld-collate.c: Likewise.
7500         * locale/programs/ld-ctype.c: Likewise.
7501         * locale/programs/ld-identification.c: Likewise.
7502         * locale/programs/ld-measurement.c: Likewise.
7503         * locale/programs/ld-messages.c: Likewise.
7504         * locale/programs/ld-monetary.c: Likewise.
7505         * locale/programs/ld-name.c: Likewise.
7506         * locale/programs/ld-numeric.c: Likewise.
7507         * locale/programs/ld-paper.c: Likewise.
7508         * locale/programs/ld-telephone.c: Likewise.
7509         * locale/programs/ld-time.c: Likewise.
7510         * locale/programs/linereader.c: Likewise.
7511         * locale/programs/locale.c: Likewise.
7512         * locale/programs/locarchive.c: Likewise.
7513         * locale/programs/locfile.h: Likewise.
7514         * locale/programs/repertoire.c: Likewise.
7515         * locale/programs/simple-hash.c: Likewise.
7516         * locale/programs/simple-hash.h: Likewise.
7517         * malloc/memusage.c: Likewise.
7518         * malloc/memusagestat.c: Likewise.
7519         * nis/nis_defaults.c: Likewise.
7520         * nis/nis_hash.c: Likewise.
7521         * nis/nis_print.c: Likewise.
7522         * nis/nis_xdr.c: Likewise.
7523         * nscd/connections.c: Likewise.
7524         * nscd/hstcache.c: Likewise.
7525         * nscd/nscd_gethst_r.c: Likewise.
7526         * nscd/nscd_getserv_r.c: Likewise.
7527         * nscd/nscd_helper.c: Likewise.
7528         * nscd/servicescache.c: Likewise.
7529         * nss/makedb.c: Likewise.
7530         * nss/nss_db/db-XXX.c: Likewise.
7531         * nss/nss_db/db-initgroups.c: Likewise.
7532         * nss/nss_db/db-netgrp.c: Likewise.
7533         * nss/nss_files/files-network.c: Likewise.
7534         * nss/nss_files/files-parse.c: Likewise.
7535         * posix/bug-regex5.c: Likewise.
7536         * posix/fnmatch_loop.c: Likewise.
7537         * posix/regcomp.c: Likewise.
7538         * posix/regexec.c: Likewise.
7539         * posix/tst-rfc3484-2.c: Likewise.
7540         * posix/tst-rfc3484-3.c: Likewise.
7541         * posix/tst-rfc3484.c: Likewise.
7542         * resolv/nss_dns/dns-canon.c: Likewise.
7543         * resolv/nss_dns/dns-network.c: Likewise.
7544         * resolv/res_init.c: Likewise.
7545         * resolv/res_mkquery.c: Likewise.
7546         * resolv/tst-aton.c: Likewise.
7547         * stdlib/cxa_atexit.c: Likewise.
7548         * stdlib/cxa_finalize.c: Likewise.
7549         * stdlib/gen-fpioconst.c: Likewise.
7550         * stdlib/strtol_l.c: Likewise.
7551         * string/tst-endian.c: Likewise.
7552         * sunrpc/auth_des.c: Likewise.
7553         * sunrpc/clnt_udp.c: Likewise.
7554         * sunrpc/rtime.c: Likewise.
7555         * sunrpc/svcauth_des.c: Likewise.
7556         * sunrpc/xdr.c: Likewise.
7557         * sunrpc/xdr_intXX_t.c: Likewise.
7558         * sunrpc/xdr_rec.c: Likewise.
7559         * sysdeps/generic/ldconfig.h: Likewise.
7560         * sysdeps/generic/ldsodefs.h: Likewise.
7561         * sysdeps/generic/memusage.h: Likewise.
7562         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7563         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
7564         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
7565         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7566         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7567         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7568         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7569         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7570         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7571         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7572         * sysdeps/posix/getaddrinfo.c: Likewise.
7573         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7574         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7575         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7576         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7577         * sysdeps/powerpc/test-gettimebase.c: Likewise.
7578         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7579         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
7580         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
7581         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7582         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
7583         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7584         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7585         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
7586         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
7587         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
7588         * sysdeps/x86_64/dl-tls.h: Likewise.
7589         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
7590         * time/alt_digit.c: Likewise.
7591         * time/era.c: Likewise.
7592         * wcsmbs/tst-c16c32-1.c: Likewise.
7594 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
7596         * math/libm-test.inc (struct test_sincos_data): New type.
7597         (RUN_TEST_LOOP_sincos): New macro.
7598         (sincos_test_data): New variable.
7599         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
7601 2013-05-16  Richard Henderson  <rth@redhat.com>
7603         * math/atest-exp2.c (LIMB64): New macro.
7604         (CONSTSZ): New macro.
7605         (mp_exp1, mp_exp_m1, mp_log2): New variables.
7606         (hexdig): Move ...
7607         (print_mpn_fp): ... to function scope.
7608         (read_mpn_hex): Remove.
7609         (get_log2): Remove.
7610         (exp2_mpn): Use mp_log2.
7611         (main): Use mp_exp1.
7613 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
7615         * math/libm-test.inc: Remove comment about not testing "inexact"
7616         exceptions.
7617         (INEXACT_EXCEPTION): New macro.
7618         (NO_INEXACT_EXCEPTION): Likewise.
7619         (INVALID_EXCEPTION_OK): Update value.
7620         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7621         (OVERFLOW_EXCEPTION_OK): Likewise.
7622         (UNDERFLOW_EXCEPTION_OK): Likewise.
7623         (IGNORE_ZERO_INF_SIGN): Likewise.
7624         (ERRNO_UNCHANGED): Likewise.
7625         (ERRNO_EDOM): Likewise.
7626         (ERRNO_ERANGE): Likewise.
7627         (test_exceptions): Handle testing "inexact" exceptions.
7628         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
7629         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
7630         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
7631         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
7632         INEXACT_EXCEPTION.
7633         (rint_towardzero_test_data): Likewise.
7634         (rint_downward_test_data): Likewise.
7635         (rint_upward_test_data): Likewise.
7637         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
7638         with OVERFLOW_EXCEPTION.
7639         (exp10_test_data): Likewise.
7640         (exp2_test_data): Likewise.
7641         (expm1_test_data): Likewise.
7642         (lgamma_test_data): Likewise.
7643         (pow_test_data): Likewise.
7644         (tgamma_test_data): Likewise.
7645         (yn_test_data): Remove duplicate test of overflow.
7647         * math/libm-test.inc (struct test_cc_c_data): New type.
7648         (RUN_TEST_LOOP_cc_c): New macro.
7649         (cpow_test_data): New variable.
7650         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
7652         * math/libm-test.inc (struct test_f_L_data): New type.
7653         (RUN_TEST_LOOP_f_L): New macro.
7654         (llrint_test_data): New variable.
7655         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
7656         (llrint_tonearest_test_data): New variable.
7657         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
7658         (llrint_towardzero_test_data): New variable.
7659         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
7660         (llrint_downward_test_data): New variable.
7661         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
7662         (llrint_upward_test_data): New variable.
7663         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
7664         (llround_test_data): New variable.
7665         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
7667 2013-05-13  Peter Collingbourne  <pcc@google.com>
7669         * math/atest-exp2.c (get_log2): Remove const attribute.
7671 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
7673         * math/libm-test.inc (struct test_f_l_data): New type.
7674         (RUN_TEST_LOOP_f_l): New macro.
7675         (lrint_test_data): New variable.
7676         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
7677         (lrint_tonearest_test_data): New variable.
7678         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
7679         (lrint_towardzero_test_data): New variable.
7680         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
7681         (lrint_downward_test_data): New variable.
7682         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
7683         (lrint_upward_test_data): New variable.
7684         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
7685         (lround_test_data): New variable.
7686         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
7688 2013-05-15  Peter Collingbourne  <pcc@google.com>
7690         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
7691         (EXTRACT_WORDS64) Use where appropriate.
7692         (INSERT_WORDS64) Likewise.
7694         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
7695         constraints with x constraints.
7696         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
7698         * malloc/obstack.c (_obstack_compat): Add initializer.
7700 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
7702         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
7703         si_trapno and add si_addr_lsb to _sifields.sigfault.
7704         (si_trapno): Remove macro.
7705         (si_addr_lsb): Define new macro.
7706         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7708 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
7710         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
7711         instead of TEST_f_l.
7712         (llrint_test_tonearest): Likewise.
7713         (llrint_test_towardzero): Likewise.
7714         (llrint_test_downward): Likewise.
7715         (llrint_test_upward): Likewise.
7716         (llround_test): Likewise.
7718         * math/libm-test.inc (struct test_f_i_data): Add comment.
7719         (RUN_TEST_LOOP_f_b): New macro.
7720         (RUN_TEST_LOOP_f_b_tg): Likewise.
7721         (finite_test_data): New variable.
7722         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
7723         (isfinite_test_data): New variable.
7724         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7725         (isinf_test_data): New variable.
7726         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7727         (isnan_test_data): New variable.
7728         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7729         (isnormal_test_data): New variable.
7730         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7731         (issignaling_test_data): New variable.
7732         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7733         (signbit_test_data): New variable.
7734         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7736         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
7737         with INVALID_EXCEPTION.
7738         (acosh_test_data): Likewise.
7739         (asin_test_data): Likewise.
7740         (atanh_test_data): Likewise.
7741         (fmod_test_data): Likewise.
7742         (log_test_data): Likewise.
7743         (log10_test_data): Likewise.
7744         (log2_test_data): Likewise.
7745         (pow_test_data): Likewise.
7746         (sqrt_test_data): Likewise.
7747         (y0_test_data): Likewise.
7748         (y1_test_data): Likewise.
7749         (yn_test_data): Likewise.
7751         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
7752         function contents.
7754         * math/libm-test.inc (struct test_ff_i_data): New type.
7755         (RUN_TEST_LOOP_ff_i_tg): New macro.
7756         (isgreater_test_data): New variable.
7757         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7758         (isgreaterequal_test_data): New variable.
7759         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7760         (isless_test_data): New variable.
7761         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7762         (islessequal_test_data): New variable.
7763         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7764         (islessgreater_test_data): New variable.
7765         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7766         (isunordered_test_data): New variable.
7767         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7769 2013-05-14  David S. Miller  <davem@davemloft.net>
7771         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7773 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
7775         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
7777         * math/libm-test.inc (struct test_fF_f1_data): Change type of
7778         extra_test to int.
7779         (struct test_f_i_data): Change type of max_ulp to int.
7781         * math/libm-test.inc (test_ffI_f1_data): New type.
7782         (RUN_TEST_LOOP_ffI_f1): New macro.
7783         (remquo_test_data): New variable.
7784         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
7786         * setjmp/tst-setjmp-fp.c: New file.
7787         * setjmp/Makefile (tests): Add tst-setjmp-fp.
7788         (link-libm): New variable.
7789         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
7791         * math/libm-test.inc (struct test_f_i_data): New type.
7792         (RUN_TEST_LOOP_f_i): New macro.
7793         (RUN_TEST_LOOP_f_i_tg): Likewise.
7794         (fpclassify_test_data): New variable.
7795         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
7796         (ilogb_test_data): New variable.
7797         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
7799         * math/libm-test.inc (scalbln_test): Correct function name in END
7800         call.
7802         * math/libm-test.inc (struct test_f_f1_data): Add comment.
7803         (RUN_TEST_LOOP_fI_f1): New macro.
7804         (frexp_test_data): New variable.
7805         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
7807         * math/libm-test.inc (struct test_fF_f1_data): New type.
7808         (RUN_TEST_LOOP_fF_f1): New macro.
7809         (modf_test_data): New variable.
7810         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
7812         * math/libm-test.inc (struct test_f_f1_data): New type.
7813         (RUN_TEST_LOOP_f_f1): New macro.
7814         (gamma_test_data): New variable.
7815         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7816         (lgamma_test_data): New variable.
7817         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7819 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
7821         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
7822         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
7823         (main): Comment "tls" pseudo-hwcap.
7825 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
7827         * math/libm-test.inc (struct test_fl_f_data): New type.
7828         (RUN_TEST_LOOP_fl_f): New variable.
7829         (scalbln_test_data): New variable.
7830         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
7832         * math/libm-test.inc (struct test_fi_f_data): New type.
7833         (RUN_TEST_LOOP_fi_f): New macro.
7834         (ldexp_test_data): New variable.
7835         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
7836         (scalbn_test_data): New variable.
7837         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
7839         * math/libm-test.inc (struct test_c_f_data): New type.
7840         (RUN_TEST_LOOP_c_f): New macro.
7841         (cabs_test_data): New variable.
7842         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
7843         (carg_test_data): New variable.
7844         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
7845         (cimag_test_data): New variable.
7846         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
7847         (creal_test_data): New variable.
7848         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
7850         * math/libm-test.inc (struct test_if_f_data): New type.
7851         (RUN_TEST_LOOP_if_f): New macro.
7852         (jn_test_data): New variable.
7853         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
7854         (yn_test_data): New variable.
7855         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
7857         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
7859 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7861         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
7862         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
7864 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
7866         * benchtests/Makefile (CPPFLAGS-nonlib): Add
7867         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
7868         (bench-deps): Add bench-timing.h.
7869         * benchtests-bench-skeleton.c: Include bench-timing.h.
7870         (main): Use TIMING_* macros instead of clock_gettime.
7871         * benchtests/bench-timing.h: New file.
7873         [BZ #14582]
7874         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
7875         Renamed from _LIB_VERSION.
7876         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
7878 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
7880         * math/libm-test.inc (struct test_fff_f_data): New type.
7881         (RUN_TEST_LOOP_fff_f): New macro.
7882         (fma_test_data): New variable.
7883         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
7884         (fma_towardzero_test_data): New variable.
7885         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
7886         (fma_downward_test_data): New variable.
7887         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
7888         (fma_upward_test_data): New variable.
7889         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
7891         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
7892         (struct test_c_c_data): New type.
7893         (RUN_TEST_LOOP_c_c): New macro.
7894         (cacos_test_data): New variable.
7895         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
7896         (cacosh_test_data): New variable.
7897         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
7898         (casin_test_data): New variable.
7899         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
7900         (casinh_test_data): New variable.
7901         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
7902         (catan_test_data): New variable.
7903         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
7904         (catanh_test_data): New variable.
7905         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
7906         (ccos_test_data): New variable.
7907         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
7908         (ccosh_test_data): New variable.
7909         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
7910         (cexp_test_data): New variable.
7911         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
7912         (clog_test_data): New variable.
7913         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
7914         (clog10_test_data): New variable.
7915         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
7916         (conj_test_data): New variable.
7917         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
7918         (cproj_test_data): New variable.
7919         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
7920         (csin_test_data): New variable.
7921         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
7922         (csinh_test_data): New variable.
7923         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
7924         (csqrt_test_data): New variable.
7925         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
7926         (ctan_test_data): New variable.
7927         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
7928         (ctan_tonearest_test_data): New variable.
7929         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
7930         (ctan_towardzero_test_data): New variable.
7931         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
7932         (ctan_downward_test_data): New variable.
7933         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
7934         (ctan_upward_test_data): New variable.
7935         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
7936         (ctanh_test_data): New variable.
7937         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
7938         (ctanh_tonearest_test_data): New variable.
7939         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
7940         (ctanh_towardzero_test_data): New variable.
7941         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
7942         (ctanh_downward_test_data): New variable.
7943         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
7944         (ctanh_upward_test_data): New variable.
7945         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
7946         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
7947         of BUILD_COMPLEX.
7949         * math/libm-test.inc (struct test_ff_f_data): New type.
7950         (struct test_ff_f_data_nexttoward): Likewise.
7951         (RUN_TEST_LOOP_2_f): New macro.
7952         (RUN_TEST_LOOP_ff_f): Likewise.
7953         (atan2_test_data): New variable.
7954         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
7955         (copysign_test_data): New variable.
7956         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
7957         (fdim_test_data): New variable.
7958         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
7959         (fmax_test_data): New variable.
7960         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
7961         (fmin_test_data): New variable.
7962         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
7963         (fmod_test_data): New variable.
7964         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
7965         (hypot_test_data): New variable.
7966         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
7967         (nextafter_test_data): New variable.
7968         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
7969         (nexttoward_test_data): New variable.
7970         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
7971         (pow_test_data): New variable.
7972         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
7973         (pow_tonearest_test_data): New variable.
7974         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
7975         (pow_towardzero_test_data): New variable.
7976         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
7977         (pow_downward_test_data): New variable.
7978         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
7979         (pow_upward_test_data): New variable.
7980         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
7981         (remainder_test_data): New variable.
7982         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
7983         (scalb_test_data): New variable.
7984         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
7985         * sysdeps/i386/fpu/libm-test-ulps: Update.
7987 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
7989         * math/libm-test.inc (fma_test): Use max_value instead of local
7990         variable fltmax.
7991         (nextafter_test): Likewise.
7993         * math/libm-test.inc (acos_towardzero_test_data): New variable.
7994         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7995         (acos_downward_test_data): New variable.
7996         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7997         (acos_upward_test_data): New variable.
7998         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7999         (acosh_test_data): New variable.
8000         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
8001         (asin_test_data): New variable.
8002         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
8003         (asin_tonearest_test_data): New variable.
8004         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8005         (asin_towardzero_test_data): New variable.
8006         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8007         (asin_downward_test_data): New variable.
8008         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8009         (asin_upward_test_data): New variable.
8010         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8011         (asinh_test_data): New variable.
8012         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
8013         (atan_test_data): New variable.
8014         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
8015         (atanh_test_data): New variable.
8016         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
8017         (cbrt_test_data): New variable.
8018         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
8019         (ceil_test_data): New variable.
8020         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
8021         (cos_test_data): New variable.
8022         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
8023         (cos_tonearest_test_data): New variable.
8024         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8025         (cos_towardzero_test_data): New variable.
8026         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8027         (cos_downward_test_data): New variable.
8028         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8029         (cos_upward_test_data): New variable.
8030         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8031         (cosh_test_data): New variable.
8032         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
8033         (cosh_tonearest_test_data): New variable.
8034         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8035         (cosh_towardzero_test_data): New variable.
8036         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8037         (cosh_downward_test_data): New variable.
8038         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8039         (cosh_upward_test_data): New variable.
8040         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8041         (erf_test_data): New variable.
8042         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
8043         (erfc_test_data): New variable.
8044         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
8045         (exp_test_data): New variable.
8046         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
8047         (exp_tonearest_test_data): New variable.
8048         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8049         (exp_towardzero_test_data): New variable.
8050         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8051         (exp_downward_test_data): New variable.
8052         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8053         (exp_upward_test_data): New variable.
8054         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8055         (exp10_test_data): New variable.
8056         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
8057         (exp2_test_data): New variable.
8058         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
8059         (expm1_test_data): New variable.
8060         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
8061         (fabs_test_data): New variable.
8062         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
8063         (floor_test_data): New variable.
8064         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
8065         (j0_test_data): New variable.
8066         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
8067         (j1_test_data): New variable.
8068         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
8069         (log_test_data): New variable.
8070         (log_test): Run tests with RUN_TEST_LOOP_f_f.
8071         (log10_test_data): New variable.
8072         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
8073         (log1p_test_data): New variable.
8074         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
8075         (log2_test_data): New variable.
8076         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
8077         (logb_test_data): New variable.
8078         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
8079         (logb_downward_test_data): New variable.
8080         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8081         (nearbyint_test_data): New variable.
8082         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
8083         (rint_test_data): New variable.
8084         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
8085         (rint_tonearest_test_data): New variable.
8086         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8087         (rint_towardzero_test_data): New variable.
8088         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8089         (rint_downward_test_data): New variable.
8090         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8091         (rint_upward_test_data): New variable.
8092         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8093         (round_test_data): New variable.
8094         (round_test): Run tests with RUN_TEST_LOOP_f_f.
8095         (sin_test_data): New variable.
8096         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
8097         (sin_tonearest_test_data): New variable.
8098         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8099         (sin_towardzero_test_data): New variable.
8100         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8101         (sin_downward_test_data): New variable.
8102         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8103         (sin_upward_test_data): New variable.
8104         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8105         (sinh_test_data): New variable.
8106         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
8107         (sinh_tonearest_test_data): New variable.
8108         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8109         (sinh_towardzero_test_data): New variable.
8110         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8111         (sinh_downward_test_data): New variable.
8112         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8113         (sinh_upward_test_data): New variable.
8114         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8115         (sqrt_test_data): New variable.
8116         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
8117         (tan_test_data): New variable.
8118         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
8119         (tan_tonearest_test_data): New variable.
8120         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8121         (tan_towardzero_test_data): New variable.
8122         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8123         (tan_downward_test_data): New variable.
8124         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8125         (tan_upward_test_data): New variable.
8126         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8127         (tanh_test_data): New variable.
8128         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
8129         (tgamma_test_data): New variable.
8130         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
8131         (trunc_test_data): New variable.
8132         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
8133         (y0_test_data): New variable.
8134         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
8135         (y1_test_data): New variable.
8136         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
8137         (significand_test_data): New variable.
8138         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
8140 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
8142         [BZ #12387]
8143         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
8145 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
8147         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
8149 2013-05-10  Andreas Jaeger  <aj@suse.de>
8151         [BZ #15448]
8152         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
8153         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
8155 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
8157         * math/gen-libm-test.pl (adjust_arg): New function.
8158         (special_functions): Handle generating output in both functions
8159         and arrays.
8160         (parse_args): Likewise.
8161         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
8162         $in_func argument to parse_args.
8163         * math/libm-test.inc (struct test_f_f_data): New type.
8164         (IF_ROUND_INIT_): New macro.
8165         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
8166         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8167         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8168         (IF_ROUND_INIT_FE_UPWARD): Likewise.
8169         (ROUND_RESTORE_): Likewise.
8170         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
8171         (ROUND_RESTORE_FE_TONEAREST): Likewise.
8172         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
8173         (ROUND_RESTORE_FE_UPWARD): Likewise.
8174         (RUN_TEST_LOOP_f_f): New macro.
8175         (acos_test_data): New variable.
8176         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
8177         (acos_tonearest_test_data): New variable.
8178         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8180 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8182         * benchtests/bench-skeleton.c (startup): Fix coding style.
8184 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
8186         [BZ #6809]
8187         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
8188         negative infinity argument.
8189         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
8190         negative infinity argument.
8191         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
8192         negative infinity argument.
8193         * math/libm-test.inc (tgamma_test): Expect errno to be set for
8194         domain errors.
8196 2013-05-10  Florian Weimer  <fweimer@redhat.com>
8198         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
8199         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
8200         * iconv/iconv_prog.c (main): Likewise.
8201         * locale/programs/charmap-dir.c (charmap_readdir)
8202         (fopen_uncompressed): Likewise.
8203         * locale/programs/locfile.c (siblings_uncached)
8204         (write_locale_data): Use lstat64 instead of lstat.
8205         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
8206         stat.
8208 2013-05-10  Andreas Jaeger  <aj@suse.de>
8210         [BZ #15395]
8211         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
8212         localization.
8213         Include <locale.h>.
8215 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
8217         * elf/dl-close.c (_dl_close_worker): Add comments.
8219 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
8221         [BZ #15359]
8222         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
8223         high part of pi/2.
8224         (__ieee754_rem_pio2l): Update comments.
8226         [BZ #15429]
8227         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
8228         high part of pi/2.
8229         (__ieee754_rem_pio2l): Update comments.
8231         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
8232         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
8234         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
8235         M_PI_4l.
8237         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
8238         (M_PI_34_LOG10El): Likewise.
8239         (M_PI2_LOG10El): Likewise.
8240         (M_PI4_LOG10El): Likewise.
8241         (M_PI_LOG10El): Likewise.
8243 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8245         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8247 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
8249         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
8250         (MINUS_ZERO_INIT): Likewise.
8251         (PLUS_INFTY_INIT): Likewise.
8252         (MINUS_INFTY_INIT): Likewise.
8253         (QNAN_VALUE_INIT): Likewise.
8254         (MAX_VALUE_INIT): Likewise.
8255         (MIN_VALUE_INIT): Likewise.
8256         (MIN_SUBNORM_VALUE_INIT): Likewise.
8257         (plus_zero): Initialize with PLUS_ZERO_INIT.
8258         (minus_zero): Initialize with MINUS_ZERO_INIT.
8259         (plus_infty): Initialize with PLUS_INFTY_INIT.
8260         (minus_infty): Initialize with MINUS_INFTY_INIT.
8261         (qnan_value): Initialize with QNAN_VALUE_INIT.
8262         (max_value): Initialize with MAX_VALUE_INIT.
8263         (min_value): Initialize with MIN_VALUE_INIT.
8264         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
8266         * math/libm-test.inc (RUN_TEST_if_f): New macro.
8267         (jn_test): Use TEST_if_f instead of TEST_ff_f.
8268         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
8269         (yn_test): Use TEST_if_f instead of TEST_ff_f.
8271         * math/libm-test.inc (RUN_TEST_f_f): New macro.
8272         (RUN_TEST_2_f): Likewise.
8273         (RUN_TEST_ff_f): Likewise.
8274         (RUN_TEST_fi_f): Likewise.
8275         (RUN_TEST_fl_f): Likewise.
8276         (RUN_TEST_fff_f): Likewise.
8277         (RUN_TEST_c_f): Likewise.
8278         (RUN_TEST_f_f1): Likewise.
8279         (RUN_TEST_fF_f1): Likewise.
8280         (RUN_TEST_fI_f1): Likewise.
8281         (RUN_TEST_ffI_f1): Likewise.
8282         (RUN_TEST_c_c): Likewise.
8283         (RUN_TEST_cc_c): Likewise.
8284         (RUN_TEST_f_i): Likewise.
8285         (RUN_TEST_f_i_tg): Likewise.
8286         (RUN_TEST_ff_i_tg): Likewise.
8287         (RUN_TEST_f_b): Likewise.
8288         (RUN_TEST_f_b_tg): Likewise.
8289         (RUN_TEST_f_l): Likewise.
8290         (RUN_TEST_f_L): Likewise.
8291         (RUN_TEST_sincos): Likewise.
8292         * math/gen-libm-test.pl (new_test): Take new argument to indicate
8293         whether to show exceptions.  Do not include ");\n" in return
8294         value.
8295         (special_functions): Output call to RUN_TEST_sincos instead of
8296         check_float calls.  Update calls to new_test.
8297         (parse_args): Output call to single RUN_TEST_* macro instead of
8298         check_* calls and other assignments.  Update calls to new_test.
8300         [BZ #2546]
8301         [BZ #2560]
8302         [BZ #5159]
8303         [BZ #15426]
8304         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
8305         input to result for tgamma overflow.
8306         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
8307         (gamma_coeff): New variable.
8308         (NCOEFF): New macro.
8309         (gamma_positive): New function.
8310         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
8311         underflow here.  Use gamma_positive instead of exp (lgamma) for
8312         other arguments.
8313         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
8314         (gamma_coeff): New variable.
8315         (NCOEFF): New macro.
8316         (gammaf_positive): New function.
8317         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
8318         underflow here.  Use gamma_positive instead of exp (lgamma) for
8319         other arguments.
8320         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
8321         (gamma_coeff): New variable.
8322         (NCOEFF): New macro.
8323         (gammal_positive): New function.
8324         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
8325         underflow here.  Use gamma_positive instead of exp (lgamma) for
8326         other arguments.
8327         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
8328         (gamma_coeff): New variable.
8329         (NCOEFF): New macro.
8330         (gammal_positive): New function.
8331         (__ieee754_gammal_r): Handle positive infinity, overflow and
8332         underflow here.  Handle NaN the same as positive infinity.  Remove
8333         check x < 0xffffffff for negative integers.  Use gamma_positive
8334         instead of exp (lgamma) for other arguments.
8335         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
8336         (gamma_coeff): New variable.
8337         (NCOEFF): New macro.
8338         (gammal_positive): New function.
8339         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
8340         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
8341         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8342         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
8343         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
8344         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
8345         * sysdeps/generic/math_private.h (__gamma_productf): New
8346         prototype.
8347         (__gamma_product): Likewise.
8348         (__gamma_productl): Likewise.
8349         * math/Makefile (libm-calls): Add gamma_product.
8350         * math/libm-test.inc (tgamma_test): Add more tests.
8351         * sysdeps/i386/fpu/libm-test-ulps: Update.
8352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8354 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
8356         * benchtests/bench-skeleton.c (main): Preheat CPU.
8358 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
8360         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
8362 2013-05-07  Roland McGrath  <roland@hack.frob.com>
8364         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
8365         and _dl_skip_args_internal.
8367 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
8369         * manual/message.texi (Message Translation): Talk about users.
8370         Message to key mapping impacts design.
8372 2013-05-06  Roland McGrath  <roland@hack.frob.com>
8374         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
8376         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
8378         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
8379         * sysdeps/wordsize-64/glob64.c: ... here.
8381         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
8382         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
8383         New macros.
8385         * debug/getlogin_r_chk.c: Moved to ...
8386         * login/getlogin_r_chk.c: ... here.
8387         * debug/Makefile (routines): Move getlogin_r_chk to ...
8388         * login/Makefile (routines): ... here.
8389         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
8390         * login/Versions (libc: GLIBC_2.4): ... here.
8392         * io/poll.c (__poll): Renamed from poll.
8393         Add libc_hidden_def.
8394         (poll): Define as weak alias.
8396         * debug/ptsname_r_chk.c: Moved to ...
8397         * login/ptsname_r_chk.c: ... here.
8398         * debug/Makefile (routines): Move ptsname_r_chk to ...
8399         * login/Makefile (routines): ... here.
8400         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
8401         * login/Versions (libc: GLIBC_2.4): ... here.
8403         * posix/getlogin.c: Moved to ...
8404         * login/getlogin.c: ... here.
8405         * posix/getlogin_r.c: Moved to ...
8406         * login/getlogin_r.c: ... here.
8407         * posix/getlogin_r.c: Moved to ...
8408         * login/getlogin_r.c: ... here.
8409         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
8410         * login/Makefile (routines): ... here.
8411         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
8412         * login/Versions (libc: GLIBC_2.0): ... here.
8414         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
8415         (setrlimit): Define as weak alias.
8417         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
8418         Call __ names for open, ftruncate, and close.
8419         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
8420         (truncate): Define as weak alias.
8422 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
8424         * math/gen-libm-test.pl (parse_args): Initialize x before each
8425         test of frexp, modf and remquo.
8427         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
8428         test signgam value.
8430 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8432         [BZ #15418]
8433         [BZ #15419]
8434         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
8435         internal tests.
8436         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8438 2013-05-06  Roland McGrath  <roland@hack.frob.com>
8440         * elf/dl-writev.h: New file.
8441         * elf/dl-misc.c: Include it.
8442         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
8443         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
8445 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
8447         * math/libm-test.inc (noXFails): Remove variable.
8448         (noXPasses): Likewise.
8449         (BUILD_COMPLEX_INT): Remove macro.
8450         (print_screen): Remove xfail argument.
8451         (print_screen_max_error): Likewise.
8452         (update_stats): Likewise.
8453         (print_max_error): Likewise.  Update calls to other affected
8454         functions.
8455         (print_complex_max_error): Likewise.
8456         (test_single_exception): Update calls to print_screen.
8457         (test_single_errno): Likewise.
8458         (check_float_internal): Remove xfail argument.  Update calls to
8459         other affected functions.
8460         (check_float): Likewise.
8461         (check_complex): Likewise.
8462         (check_int): Likewise.
8463         (check_long): Likewise.
8464         (check_bool): Likewise.
8465         (check_longlong): Likewise.
8466         (main): Don't print noXFails and noXPasses.
8467         * math/gen-libm-test.pl (top level): Don't mention expected
8468         failure handling in comment.
8469         (new_test): Don't handle expected failures.
8470         (parse_args): Don't mention expected failure handling in comment.
8471         (generate_testfile): Don't handle expected failures.
8472         (parse_ulps): Likewise.
8473         (print_ulps_file): Likewise.
8474         (get_failure): Remove function.
8475         (output_test): Don't handle expected failures.
8476         * make/README.libm-test: Don't mention expected failure handling.
8478         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
8479         (minus_zero): Likewise.
8480         (plus_infty): Likewise.
8481         (minus_infty): Likewise.
8482         (qnan_value): Likewise.
8483         (max_value): Likewise.
8484         (min_value): Likewise.
8485         (min_subnorm_value): Likewise.
8486         (initialize): Do not initialize those variables dynamically.
8488 2013-05-03  Roland McGrath  <roland@hack.frob.com>
8490         * io/open.c (__open_2): Moved to ...
8491         * io/open_2.c: ... this new file.
8492         * io/open64.c (__open64_2): Moved to ...
8493         * io/open64_2.c: ... this new file.
8494         * io/openat.c (__openat_2): Moved to ...
8495         * io/openat_2.c: ... this new file.
8496         * io/openat64.c (__openat64_2): Moved to ...
8497         * io/openat64_2.c: ... this new file.
8498         * io/Makefile (routines): Add them.
8499         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
8500         * sysdeps/unix/sysv/linux/open_2.c: File removed.
8501         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
8502         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
8503         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
8504         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
8505         (__openat64): Add hidden_ver.
8506         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
8507         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
8509         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
8510         Separately conditionalize setting of GLRO(dl_sysinfo) so
8511         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
8512         as well, but the actual setting is only under [NEED_DL_SYSINFO].
8514 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8516         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
8517         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
8518         definition.
8519         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
8520         * sysdeps/unix/sysv/linux/powerpc/init-first.c
8521         (_libc_vdso_platform_setup): Add __vdso_time initialization.
8522         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
8523         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
8525 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
8527         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
8528         test signgam value.
8530         * math/libm-test.inc (hypot_test): Do not use
8531         IGNORE_ZERO_INF_SIGN.
8533 2013-05-03  Andreas Jaeger  <aj@suse.de>
8535         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
8536         Linux 3.9.
8537         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
8538         (PF_MAX): Adjust for VSOCK change.
8540 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8542         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8544 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
8546         [BZ #15264]
8547         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
8548         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
8549         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
8551 2013-05-02  David S. Miller  <davem@davemloft.net>
8553         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8555 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
8557         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
8559 2013-05-01  Roland McGrath  <roland@hack.frob.com>
8561         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
8563 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
8565         [BZ #14952]
8566         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
8567         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8568         Use __attribute__ ((__gnu_inline__)).
8569         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8570         Don't use __attribute__ ((__gnu_inline__)).
8572 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
8574         [BZ #15423]
8575         * math/s_catan.c (__catan): Handle small real or imaginary part of
8576         input specially to avoid spurious underflow.
8577         * math/s_catanf.c (__catanf): Likewise.
8578         * math/s_catanh.c (__catanh): Likewise.
8579         * math/s_catanhf.c (__catanhf): Likewise.
8580         * math/s_catanhl.c (__catanhl): Likewise.
8581         * math/s_catanl.c (__catanl): Likewise.
8582         * math/libm-test.inc (catan_test): Add more tests.
8583         (catanh_test): Likewise.
8584         * sysdeps/i386/fpu/libm-test-ulps: Update.
8585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8587 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8589         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8591 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
8593         [BZ #15416]
8594         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
8595         accurately for denominator in atan2.
8596         * math/s_catanf.c (__catanf): Likewise.
8597         * math/s_catanh.c (__catanh): Likewise.
8598         * math/s_catanhf.c (__catanhf): Likewise.
8599         * math/s_catanhl.c (__catanhl): Likewise.
8600         * math/s_catanl.c (__catanl): Likewise.
8601         * math/libm-test.inc (catan_test): Add more tests.
8602         (catanh_test): Likewise.
8603         * sysdeps/i386/fpu/libm-test-ulps: Update.
8604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8606 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8608         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
8610         * benchtests/Makefile (bench): Remove slow benchmarks.
8611         * benchtests/atan-inputs: Add slow benchmark inputs.
8612         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
8613         (BENCH_FUNC): Accept variant offset.
8614         (VARIANT): Define.
8615         * benchtests/bench-skeleton.c (main): Run benchmark for each
8616         variant.
8617         * benchtests/cos-inputs: Add slow benchmark inputs.
8618         * benchtests/exp-inputs: Likewise.
8619         * benchtests/pow-inputs: Likewise.
8620         * benchtests/sin-inputs: Likewise.
8621         * benchtests/slowatan-inputs: Remove.
8622         * benchtests/slowatan.c: Remove.
8623         * benchtests/slowcos-inputs: Remove.
8624         * benchtests/slowcos.c: Remove.
8625         * benchtests/slowexp-inputs: Remove.
8626         * benchtests/slowexp.c: Remove.
8627         * benchtests/slowpow-inputs: Remove.
8628         * benchtests/slowpow.c: Remove.
8629         * benchtests/slowsin-inputs: Remove.
8630         * benchtests/slowsin.c: Remove.
8631         * benchtests/slowtan-inputs: Remove.
8632         * benchtests/slowtan.c: Remove.
8633         * benchtests/tan-inputs: Add slow benchmark inputs.
8634         * scripts/bench.pl: Parse comments and directives.
8636         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
8637         in CPPFLAGS.
8638         ($(objpfx)bench-%.c): Remove *-ITER.
8639         * benchtests/bench-modf.c: Remove definition of ITER.
8640         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
8641         (main): Loop for DURATION seconds instead of fixed number of
8642         iterations.
8643         * scripts/bench.pl: Don't expect iterations in parameters.
8645 2013-04-29  Roland McGrath  <roland@hack.frob.com>
8647         * io/fchdir.c (__fchdir): Renamed from fchdir.
8648         (fchdir): Define as weak alias.
8650 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
8652         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
8653         (ERRNO_EDOM): Likewise.
8654         (ERRNO_ERANGE): Likewise.
8655         (noErrnoTests): New variable.
8656         (init_max_error): Set errno to 0.
8657         (test_single_errno): New function.
8658         (test_errno): Likewise.
8659         (check_float_internal): Call test_errno.  Set errno to 0.
8660         (check_complex): Refer to errno tests in comment.
8661         (check_int): Call test_errno.  Set errno to 0.
8662         (check_long): Likewise.
8663         (check_bool): Likewise.
8664         (check_longlong): Likewise.
8665         (cos_test): Use ERRNO_* flags for errno tests instead of
8666         check_int.
8667         (expm1_test): Likewise.
8668         (fmod_test): Likewise.
8669         (ilogb_test): Likewise.
8670         (lgamma_test): Likewise.
8671         (pow_test): Likewise.
8672         (remainder_test): Likewise.
8673         (sin_test): Likewise.
8674         (tan_test): Likewise.
8675         (yn_test): Likewise.
8676         (initialize): Set errno to 0.
8677         (main): Print number of errno tests.
8678         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
8680 2013-04-29  Andreas Jaeger  <aj@suse.de>
8682         [BZ #15084]
8683         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
8684         and RES_USEVC.
8686         [BZ #15085]
8687         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
8688         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
8689         unimplemented.
8691         [BZ #15380]
8692         * stdlib/random.c (__initstate): Return NULL if
8693         __initstate fails.
8695         [BZ #15086]
8696         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
8697         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
8698         RES_SNGLKUPREOP.
8700 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8702         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8704 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
8706         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
8707         of individual tests.
8708         (casin_test): Likewise.
8709         (casinh_test): Likewise.
8711 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
8713         [BZ #15409]
8714         * math/s_catan.c (__catan): Handle arguments with large real or
8715         imaginary part separately without squaring.
8716         * math/s_catanf.c (__catanf): Likewise.
8717         * math/s_catanh.c (__catanh): Likewise.
8718         * math/s_catanhf.c (__catanhf): Likewise.
8719         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8720         and redefine.
8721         (__catanhl): Handle arguments with large real or imaginary part
8722         separately without squaring.
8723         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8724         and redefine.
8725         (__catanl): Handle arguments with large real or imaginary part
8726         separately without squaring.
8727         * math/libm-test.inc (catan_test): Add more tests.
8728         (catanh_test): Likewise.
8729         * sysdeps/i386/fpu/libm-test-ulps: Update.
8730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8732 2013-04-27  Andreas Jaeger  <aj@suse.de>
8734         [BZ #15007]
8735         * stdlib/stdlib.h: Update guards for qecvt.
8736         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
8737         <stdlib.h>.
8739 2013-04-27  Allan McRae  <allan@archlinux.org>
8741         * sysdeps/i386/fpu/libm-test-ulps: Update.
8743 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
8745         [BZ #15406]
8746         * math/s_catan.c: Include <float.h>.
8747         (__catan): Ensure underflow exception occurs for underflowed
8748         result.
8749         * math/s_catanf.c: Include <float.h>.
8750         (__catanf): Ensure underflow exception occurs for underflowed
8751         result.
8752         * math/s_catanh.c: Include <float.h>.
8753         (__catanh): Ensure underflow exception occurs for underflowed
8754         result.
8755         * math/s_catanhf.c: Include <float.h>.
8756         (__catanhf): Ensure underflow exception occurs for underflowed
8757         result.
8758         * math/s_catanhl.c: Include <float.h>.
8759         (__catanhl): Ensure underflow exception occurs for underflowed
8760         result.
8761         * math/s_catanl.c: Include <float.h>.
8762         (__catanl): Ensure underflow exception occurs for underflowed
8763         result.
8764         * math/libm-test.inc (catan_test): Add more tests.
8765         (catanh_test): Likewise.
8767         [BZ #15405]
8768         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
8769         underflowed result.
8770         * math/s_ccoshf.c (__ccoshf): Likewise.
8771         * math/s_ccoshl.c (__ccoshl): Likewise.
8772         * math/s_csin.c (__csin): Likewise.
8773         * math/s_csinf.c (__csinf): Likewise.
8774         * math/s_csinh.c (__csinh): Likewise.
8775         * math/s_csinhf.c (__csinhf): Likewise.
8776         * math/s_csinhl.c (__csinhl): Likewise.
8777         * math/s_csinl.c (__csinl): Likewise.
8778         * math/libm-test.inc (ccos_test): Add more tests.
8779         (ccosh_test): Likewise.
8780         (csin_test): Likewise.
8781         (csinh_test): Likewise.
8783 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8785         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
8786         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
8787         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
8788         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
8789         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
8790         powerpc/power5+/fpu folders.
8791         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
8794 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
8796         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8798 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
8800         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
8801         additions to variable.
8802         [$(config-machine) = x86_64] (modules-names): Likewise.
8803         ($(objpfx)tst-audit3): Remove dependency.
8804         ($(objpfx)tst-audit3.out): Likewise.
8805         ($(objpfx)tst-audit4): Likewise.
8806         ($(objpfx)tst-audit4.out): Likewise.
8807         ($(objpfx)tst-audit5): Likewise.
8808         ($(objpfx)tst-audit5.out): Likewise.
8809         ($(objpfx)tst-audit6): Likewise.
8810         ($(objpfx)tst-audit6.out): Likewise.
8811         ($(objpfx)tst-audit7): Likewise.
8812         ($(objpfx)tst-audit7.out): Likewise.
8813         (tst-audit3-ENV): Remove variable.
8814         (tst-audit4-ENV): Likewise.
8815         (tst-audit5-ENV): Likewise.
8816         (tst-audit6-ENV): Likewise.
8817         (tst-audit7-ENV): Likewise.
8818         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
8819         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
8820         addition to variable.
8821         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
8822         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
8823         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
8824         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
8825         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
8826         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
8827         tst-audit3, tst-audit4 and tst-audit5.
8828         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
8829         tst-audit6 and tst-audit7.
8830         [$(subdir) = elf] (modules-names): Add audit modules for those
8831         tests.
8832         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
8833         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
8834         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
8835         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
8836         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
8837         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
8838         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
8839         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
8840         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
8841         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
8842         [$(subdir) = elf] (tst-audit3-ENV): New variable.
8843         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
8844         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
8845         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
8846         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
8847         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
8848         Likewise.
8849         [$(subdir) = elf && $(config-cflags-avx) = yes]
8850         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
8851         [$(subdir) = elf && $(config-cflags-avx) = yes]
8852         (CFLAGS-tst-auditmod4a.c): Likewise.
8853         [$(subdir) = elf && $(config-cflags-avx) = yes]
8854         (CFLAGS-tst-auditmod4b.c): Likewise.
8855         [$(subdir) = elf && $(config-cflags-avx) = yes]
8856         (CFLAGS-tst-auditmod6b.c): Likewise.
8857         [$(subdir) = elf && $(config-cflags-avx) = yes]
8858         (CFLAGS-tst-auditmod6c.c): Likewise.
8859         [$(subdir) = elf && $(config-cflags-avx) = yes]
8860         (CFLAGS-tst-auditmod7b.c): Likewise.
8861         * elf/tst-audit3.c: Move to ...
8862         * sysdeps/x86_64/tst-audit3.c: ... here.
8863         * elf/tst-audit4.c: Move to ...
8864         * sysdeps/x86_64/tst-audit4.c: ... here.
8865         * elf/tst-audit5.c: Move to ...
8866         * sysdeps/x86_64/tst-audit5.c: ... here.
8867         * elf/tst-audit6.c: Move to ...
8868         * sysdeps/x86_64/tst-audit6.c: ... here.
8869         * elf/tst-audit7.c: Move to ...
8870         * sysdeps/x86_64/tst-audit7.c: ... here.
8871         * elf/tst-auditmod3a.c: Move to ...
8872         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
8873         * elf/tst-auditmod3b.c: Move to ...
8874         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
8875         * elf/tst-auditmod4a.c: Move to ...
8876         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
8877         * elf/tst-auditmod4b.c: Move to ...
8878         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
8879         * elf/tst-auditmod5a.c: Move to ...
8880         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
8881         * elf/tst-auditmod5b.c: Move to ...
8882         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
8883         * elf/tst-auditmod6a.c: Move to ...
8884         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
8885         * elf/tst-auditmod6b.c: Move to ...
8886         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
8887         * elf/tst-auditmod6c.c: Move to ...
8888         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
8889         * elf/tst-auditmod7a.c: Move to ...
8890         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
8891         * elf/tst-auditmod7b.c: Move to ...
8892         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
8894 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
8896         [BZ #15366]
8897         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
8898         define unconditionally.
8899         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
8900         define unconditionally.
8901         (INT8_C, INT16_C, etc.): Likewise.
8903 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
8905         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
8906         __ehdr_start with hidden visibility.
8908         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
8910 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
8912         * math/libm-test.inc (cos_test): Use accurate hex constants.
8913         (sincost_test): Likewise.
8915 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
8917         * math/libm-test.inc (catan_test): Add more tests.
8918         (catanh_test): Likewise.
8920         * math/s_catanf.c (__catanf): Use suffixed floating-point
8921         constants.
8922         * math/s_catanhf.c (__catanhf): Likewise.
8923         * math/s_catanhl.c (__catanhl): Likewise.
8924         * math/s_catanl.c (__catanl): Likewise.
8926         [BZ #15394]
8927         * math/s_catan.c (__catan): Calculate imaginary part of result
8928         with log1p not log unless computing log of number close to 0.
8929         * math/s_catanf.c (__catanf): Likewise.
8930         * math/s_catanl.c (__catanl): Likewise.
8931         * math/s_catanh.c (__catanh): Calculate real part of result with
8932         log1p not log unless computing log of number close to 0.
8933         * math/s_catanhf.c (__catanhf): Likewise.
8934         * math/s_catanhl.c (__catanhl): Likewise.
8935         * math/libm-test.inc (catan_test): Add more tests.
8936         (catanh_test): Likewise.
8937         * sysdeps/i386/fpu/libm-test-ulps: Update.
8938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8940 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8942         * benchtests/Makefile: Mention files in which fast and slow
8943         paths of math functions are implemented.
8945 2013-04-23  Roland McGrath  <roland@hack.frob.com>
8947         * sysdeps/posix/timespec_get.c: New file.
8949 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8951         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
8952         POWER.
8953         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
8954         for POWER.
8955         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
8956         powerpc/power5/fpu folders.
8957         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
8958         * benchtests/Makefile: Add modf testcase.
8959         * benchtests/bench-modf.c: New file: Benchmark test for mo
8961 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
8963         [BZ #14888]
8964         * time/Makefile (tests): Add tst-strptime-whitespace.
8965         * time/strptime_l.c (get_number): Use ISSPACE.
8966         (__strptime_internal): Likewise.
8967         * time/tst-strptime-whitespace.c: New test case.
8969 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
8971         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
8972         member.
8973         (_nss_files_init): Set it here.
8975 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
8977         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
8978         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
8979         unsigned.
8981 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
8983         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
8985 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
8987         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
8988         size just once.
8990 2013-04-21  David S. Miller  <davem@davemloft.net>
8992         * po/ru.po: Update Russion translation from translation project.
8994 2013-04-17  Adam Conrad  <adconrad@0c3.net>
8996         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
8997         and setfsgid.
8999 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
9001         * configure.in: Remove i386 configure warning. Remove i386 case.
9002         * configure: Regenerate.
9003         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
9004         Add example to error message.
9005         * sysdeps/i386/configure: Regenerate.
9007 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
9009         * benchtests/Makefile (bench): Add cos, tan, slowcos and
9010         slowtan.
9011         * benchtests/cos-inputs: New file.
9012         * benchtests/slowcos-inputs: New file.
9013         * benchtests/slowcos.c: New file.
9014         * benchtests/slowtan-inputs: New file.
9015         * benchtests/slowtan.c: New file.
9016         * benchtests/tan-inputs: New file.
9018 2013-04-16  Roland McGrath  <roland@hack.frob.com>
9020         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
9021         considered kosher.
9023 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9025         * benchtests/Makefile: Include cppflags-iterator.mk to add
9026         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
9028         * Makefile.in (bench-clean): New target.
9029         * benchtests/Makefile (bench-clean): Likewise.
9031 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
9033         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
9035 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
9037         * stdio-common/tstdiomisc.c: Fix coding-style violation.
9039 2013-04-15  Andreas Schwab  <schwab@suse.de>
9041         * nscd/grpcache.c (cache_addgr): Properly check for short write.
9042         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9043         * nscd/pwdcache.c (cache_addpw): Likewise.
9044         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
9045         more than recsize.
9047 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9049         * benchtests/Makefile (bench): Write all output to
9050         bench-out.tmp together.
9052 2013-04-15  Andreas Schwab  <schwab@suse.de>
9054         * nscd/nscd.c (main): Don't fork again after closing files.
9056 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9058         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
9060         * benchtests/Rules (bench-deps): Collect dependencies into a
9061         single variable.  Add Makefile to dependencies.
9062         ($(objpfx)bench-%.c): Depend on bench-deps.
9064 2013-04-12  Roland McGrath  <roland@hack.frob.com>
9065             Xavier Roche  <roche+kml2@exalead.com>
9067         [BZ #15361]
9068         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
9069         just that it's a file descriptor.
9070         * manual/llio.texi (Synchronizing AIO Operations): Update description
9071         for EBADF error from aio_fsync.
9073 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9075         * Rules (bench): Move target definition...
9076         * benchtests/Makefile: ... here.
9078 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
9080         * math/libm-test.inc (cos_test): Fix PI/2 test.
9081         (sincos_test): Likewise.
9082         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9083         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9085 2013-04-11  Andreas Schwab  <schwab@suse.de>
9087         [BZ #13988]
9088         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
9089         accept exponent character only when digits were seen.
9090         * stdio-common/Makefile (tests): Add bug26.
9091         * stdio-common/bug26.c: New file.
9093         [BZ #14293]
9094         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
9095         non-freeable.
9097 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9099         * Makeconfig (rtld-prefix): Define built linker prefix.
9100         * Rules (run-bench): Use it.
9101         * math/Makefile (run-regen-ulps): Likewise.
9103         * Rules (bench): Remove eval.
9105 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9106             Roland McGrath  <roland@hack.frob.com>
9107             Ondrej Bilka  <neleai@seznam.cz>
9109         [BZ #15346]
9110         * time/getdate.c: Include ctype.h and alloca.h.
9111         (__getdate_r): Trim leading and trailing spaces of input.
9112         * time/tst-getdate.c (tests): Add tests with leading and
9113         trailing spaces.
9115 2013-04-08  Roland McGrath  <roland@hack.frob.com>
9117         [BZ #14280]
9118         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
9119         when computing value.
9121 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
9123         * math/README.libm-test (How can I generate "libm-test-ulps"?):
9124         Use testrun.sh to run libm tests.
9126         [BZ #15309]
9127         * elf/dl-open.c (dl_open_worker): memset all of seen array.
9129 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
9131         [BZ #15264]
9132         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
9134 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
9136         * Makefile.in (regen-ulps): New target.
9137         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
9138         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
9139         [ifneq (no,$(PERL)] (regen-ulps): New target.
9140         [ifeq (no,$(PERL)] (regen-ulps): New target.
9141         * math/libm-test.inc (ulps_file_name): Define.
9142         (output_dir): New variable.
9143         (options): Add "output-dir" option.
9144         (parse_opt): Handle 'o' case.
9145         (main): If output_dir is non-NULL use it as a prefix
9146         otherwise use "".
9147         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
9149 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
9151         [BZ #10060, #10062]
9152         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
9153         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
9154         fail configure if __sync_val_compare_and_swap is not inlined.
9155         * sysdeps/i386/configure: Regenerate.
9156         * configure.in: Build for i686 when configured for i386.
9157         * configure: Regenerate.
9158         * README: Remove i386 reference.
9160 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
9162         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
9163         * sysdeps/s390/s390-64/sysdep.h: Likewise.
9165 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
9167         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
9168         (lmsnanval): New variables.
9169         (F): Add conversion tests.
9170         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
9171         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
9173         * stdio-common/tstdiomisc.c (F): Properly collect individual
9174         tests' results.
9176         [BZ #14686, #15336]
9177         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
9178         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
9179         Instead, use input NaN values or generate a qNaN by arithmetic
9180         operation.  Also fix bugs to comply with the standard.
9181         * math/libm-test.inc (remainder_test): Add more tests.
9183         [BZ #15335, #15342]
9184         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
9185         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
9186         input NaN values or generate a qNaN by arithmetic operation.
9188         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
9189         unreachable code.
9191         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
9192         definitions.
9194 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
9196         [BZ #14478]
9197         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
9198         underflowed result.
9199         * math/s_cexpf.c (__cexpf): Likewise.
9200         * math/s_cexpl.c (__cexpl): Likewise.
9201         * math/libm-test.inc (cexp_test): Add more tests.
9203 2013-04-03  Andreas Schwab  <schwab@suse.de>
9205         [BZ #15330]
9206         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
9207         order arrays from heap if bigger than alloca cutoff.
9209 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
9211         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
9212         (SNAN_TESTS_double): Refer to GCC PR56831.
9213         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
9214         GCC PR56828.
9216 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
9218         * Rules (bench): Move bench.out after the run is complete.
9220         * Rules (bench): Echo currently running benchmark.
9222         * benchtests/Makefile (bench): Add atan and slowatan.
9223         * benchtests/atan-inputs: New file.
9224         * benchtests/slowatan-inputs: New file.
9225         * benchtests/slowatan.c: New file.
9227         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
9228         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
9229         its value.
9231         [BZ #15305]
9232         * sysdeps/unix/sysv/linux/kernel-features.h
9233         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
9234         __ASSUME_XFS_RESTRICTED_CHOWN.
9235         * sysdeps/unix/sysv/linux/pathconf.c
9236         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9237         Save and restore errno.
9239 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
9241         [BZ #15327]
9242         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
9243         arguments using __kernel_casinh.
9244         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
9245         arguments using __kernel_casinhf.
9246         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
9247         arguments using __kernel_casinhl.
9248         * math/libm-test.inc (cacosh_test): Add more tests.
9249         * sysdeps/i386/fpu/libm-test-ulps: Update.
9250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9252 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9254         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
9255         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
9257         * bench/Makefile (bench): Add sin and slowsin.
9258         * benchtests/sin-inputs: New file.
9259         * benchtests/slowsin-inputs: New file.
9260         * benchtests/slowsin.c: New file.
9262         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
9263         (bench): Add slowexp and slowpow.
9264         (exp-ITER): Increase iterations.
9265         (pow-ITER): Likewise.
9266         * benchtests/exp-inputs: Change input.
9267         * benchtests/pow-inputs: Likewise.
9268         * benchtests/slowexp-inputs: New file.
9269         * benchtests/slowexp.c: New file.
9270         * benchtests/slowpow-inputs: New file.
9271         * benchtests/slowpow.c: New file.
9273 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9275         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
9276         instructions.
9277         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9278         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
9279         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9280         * benchtests/Makefile: Add rint benchtest.
9281         * benchtests/rint-inputs: Input for rint benchtest.
9283 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
9285         * Versions.def (libm): Add GLIBC_2.18.
9286         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
9287         hidden libm prototypes.
9288         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
9289         * math/Makefile (libm-calls): Add s_issignaling.
9290         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
9291         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
9292         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
9293         declaration.
9294         * math/math.h [__USE_GNU] (issignaling): New macro.
9295         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
9296         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
9297         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
9298         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
9299         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
9300         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
9301         * manual/arith.texi (issignaling): New section.
9302         * manual/libm-err-tab.pl (@all_functions): Update comment.
9303         * math/gen-libm-test.pl (parse_args): Apply special handling for
9304         issignaling.
9305         * math/libm-test.inc (print_float, issignaling_test): New
9306         functions.
9307         (check_float_internal): Add issignaling checks.
9308         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
9309         default definition.
9310         * sysdeps/powerpc/math-tests.h: New file.
9311         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
9312         tests.
9313         * math/test-snan.c (TEST_FUNC): Likewise.
9315 2013-03-30  David S. Miller  <davem@davemloft.net>
9317         * po/de.po: Update from translation team.
9319 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
9321         [BZ #10357]
9322         * math/k_casinh.c (__kernel_casinh): Handle arguments with
9323         imaginary part less than 1.0 and real part less than 0.5
9324         specially.
9325         * math/k_casinhf.c (__kernel_casinhf): Likewise.
9326         * math/k_casinhl.c (__kernel_casinhl): Likewise.
9327         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
9328         (cacos_test): Add more tests.
9329         (casin_test): Likewise.
9330         (casinh_test): Likewise.
9331         * sysdeps/i386/fpu/libm-test-ulps: Update.
9332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9334 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9336         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
9337         ONE with its value.
9339         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
9340         (__pow_mp): Replace ONE and MONE with their values.
9341         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9342         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
9343         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9344         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
9345         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9346         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9348         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
9350         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
9351         (__pow_mp): Replace ZERO and MZERO with their values.
9352         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9353         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9354         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9355         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9356         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9357         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
9358         (__sqr): Likewise.
9360         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
9362         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
9364 2013-03-28  Roland McGrath  <roland@hack.frob.com>
9366         * include/stdlib.h [!SHARED] (__call_tls_dtors):
9367         Declare with __attribute__ ((weak)).
9368         * stdlib/exit.c (__libc_atexit) [!SHARED]:
9369         Call __call_tls_dtors only if it's not NULL.
9371 2013-03-28  Roland McGrath  <roland@hack.frob.com>
9373         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
9374         didn't do it already, then set _dl_phdr and _dl_phnum based on the
9375         magic __ehdr_start linker symbol if it's defined.
9376         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
9377         them up here if it was already done.
9379         * elf/dl-support.c (_dl_phdr): Make pointer to const.
9380         (_dl_aux_init): Use const in cast when setting it.
9381         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
9382         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
9383         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
9385         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
9386         Declare them here.
9387         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
9388         * csu/libc-tls.c: Nor here.
9389         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
9391         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
9392         (__libc_message): Never call vsyslog.
9394 2013-03-28  Alan Modra  <amodra@gmail.com>
9396         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
9397         Define as empty.
9398         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
9399         Likewise.
9401 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9403         [BZ #15214]
9404         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
9405         underflow.
9406         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9408 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9410         [BZ #15304]
9411         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9412         Don't add gid passed as argument.
9414         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
9416 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
9418         [BZ #15307]
9419         * math/k_casinh.c (__kernel_casinh): Handle arguments with
9420         imaginary part between 1.0 and 1.5 and real part less than 0.5
9421         specially.
9422         * math/k_casinhf.c (__kernel_casinhf): Likewise.
9423         * math/k_casinhl.c (__kernel_casinhl): Likewise.
9424         * math/libm-test.inc (cacos_test): Add more tests.
9425         (casin_test): Likewise.
9426         (casinh_test): Likewise.
9427         * sysdeps/i386/fpu/libm-test-ulps: Update.
9428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9430 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9432         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
9433         constants.
9434         (norm): Likewise.
9435         (denorm): Likewise.
9436         (__dbl_mp): Likewise.
9437         (add_magnitudes): Likewise.
9438         (sub_magnitudes): Likewise.
9439         (__add): Likewise.
9440         (__sub): Likewise.
9441         (__mul): Likewise.
9442         (__sqr): Likewise.
9443         (__inv): Likewise.
9444         (__dvd): Likewise.
9446         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
9447         commented code.
9448         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
9449         (__dubcos): Likewise.
9450         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
9451         (__ieee754_acos): Likewise.
9452         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9453         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
9454         (__exp1): Likewise.
9455         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9456         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9457         (log1): Likewise.
9458         (my_log2): Likewise.
9459         (checkint): Likewise.
9460         * sysdeps/ieee754/dbl-64/e_remainder.c
9461         (__ieee754_remainder): Likewise.
9462         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9463         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
9464         (bsloww): Likewise.
9465         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9467         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9468         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
9469         MANTISSA_STORE_T to store computations on mantissa.  Use
9470         macros for rounding and division.
9471         (denorm): Likewise.
9472         (__dbl_mp): Likewise.
9473         (add_magnitudes): Likewise.
9474         (sub_magnitudes): Likewise.
9475         (__mul): Likewise.
9476         (__sqr): Likewise.
9477         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
9478         powers of two in terms of TWOPOW macro.
9479         (mp_no): Make type of mantissa as MANTISSA_T.
9480         [!RADIXI]: Define RADIXI.
9481         [!TWO52]: Define TWO52.
9482         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9484 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9486         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
9487         llroundl symbol when building for PPC32.
9489 2013-03-24  Mark H Weaver  <mhw@netris.org>
9491         * manual/arith.texi (Normalization Functions): Fix prototypes for
9492         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
9494 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9496         [BZ #13889]
9497         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
9498         high value to check if expl overflow.
9499         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
9500         to check for underflow and overflow.
9501         * math/libm-test.inc: Add exp test.
9503 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
9505         [BZ #11120]
9506         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
9507         with NOT_IN_libc.
9509 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9511         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
9512         symbol.
9514 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
9516         * math/gen-libm-test.pl (parse_args, special_functions): Properly
9517         wrap blocks consisting of several statements.
9519         * sysdeps/generic/math-tests.h: New file.
9520         * sysdeps/i386/fpu/math-tests.h: Likewise.
9521         * math/test-snan.c: Include it.
9522         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
9524 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
9526         [BZ #15285]
9527         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
9528         (__ieee754_j0l): Do not improve calculations using cos of twice
9529         input for inputs above LDBL_MAX / 2.0L.
9530         (__ieee754_y0l): Likewise.
9531         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
9532         (__ieee754_j1l): Do not improve calculations using cos of twice
9533         input for inputs above LDBL_MAX / 2.0L.
9534         (__ieee754_y1l): Likewise.
9535         * math/libm-test.inc (j0_test): Add another test.
9536         (j1_test): Likewise.
9537         (y0_test): Likewise.
9538         (y1_test): Likewise.
9539         * sysdeps/i386/fpu/libm-test-ulps: Update.
9541 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9543         * Rules ($(objpfx)bench-%.c): Include code from a C source
9544         file.
9546 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
9548         [BZ #15287]
9549         * math/k_casinh.c (__kernel_casinh): Handle arguments with
9550         imaginary part 1.0 and real part less than 0.5 specially.
9551         * math/k_casinhf.c (__kernel_casinhf): Likewise.
9552         * math/k_casinhl.c (__kernel_casinhl): Likewise.
9553         * math/libm-test.inc (cacos_test): Add more tests.
9554         (casin_test): Likewise.
9555         (casinh_test): Likewise.
9556         * sysdeps/i386/fpu/libm-test-ulps: Update.
9557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9559 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9561         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
9562         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
9564 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
9566         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
9567         * config.make.in (config-cflags-sse4): Remove variable.
9568         (config-cflags-avx): Likewise.
9569         (config-cflags-sse2avx): Likewise.
9570         (config-cflags-novzeroupper): Likewise.
9571         (config-asflags-i686): Likewise.
9572         (have-mfma4): Likewise.
9573         (have-as-vis3): Likewise.
9574         (MIG): Likewise.
9575         * configure.in (MIG): Do not AC_SUBST.
9576         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
9577         (libc_cv_cc_sse4): Do not AC_SUBST.
9578         (libc_cv_cc_avx): Likewise.
9579         (libc_cv_cc_sse2avx): Likewise.
9580         (libc_cv_cc_novzeroupper): Likewise.
9581         (libc_cv_cc_fma4): Likewise.
9582         (libc_cv_as_i686): Likewise.
9583         (libc_cv_sparc_as_vis3): Likewise.
9584         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
9585         LIBC_CONFIG_VAR.
9586         (config-asflags-i686): Likewise.
9587         (config-cflags-avx): Likewise.
9588         (config-cflags-sse2avx): Likewise.
9589         (have-mfma4): Likewise.
9590         (config-cflags-novzeroupper): Likewise.
9591         * sysdeps/mach/configure.in (MIG): Likewise.
9592         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
9593         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
9594         LIBC_CONFIG_VAR.
9595         (config-cflags-avx): Likewise.
9596         (config-cflags-sse2avx): Likewise.
9597         (have-mfma4): Likewise.
9598         (config-cflags-novzeroupper): Likewise.
9599         * configure: Regenerated.
9600         * sysdeps/i386/configure: Likewise.
9601         * sysdeps/mach/configure: Likewise.
9602         * sysdeps/sparc/configure: Likewise.
9603         * sysdeps/x86_64/configure: Likewise.
9605 2013-03-20  Roland McGrath  <roland@hack.frob.com>
9607         [BZ #14812]
9608         * locale/programs/localedef.c (options): Put N_ translation marker
9609         on argument names, not just descriptions.
9611 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9613         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
9615 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
9617         [BZ #14176]
9618         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
9620 2013-03-19  Roland McGrath  <roland@hack.frob.com>
9622         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
9623         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
9624         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
9625         [!BEFORE_ABORT] (before_abort): New function.
9626         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
9627         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
9628         (writev_for_fatal): New function.
9629         (WRITEV_FOR_FATAL): New macro; call that.
9630         (backtrace_and_maps): New function.
9631         (BEFORE_ABORT): New macro; call that.
9632         (struct str_list): Type removed.
9633         (__libc_message, __libc_fatal): Functions removed.
9634         Include <sysdeps/posix/libc_fatal.c> instead.
9636 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
9638         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
9639         constants.
9640         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
9641         double constants.
9643 2013-03-19  Andreas Schwab  <schwab@suse.de>
9645         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
9646         * sysdeps/gnu/configure: Regenerate.
9648         * configure.in: Substitute libc_cv_rtlddir.
9649         * configure: Regenerate.
9650         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
9651         * Makeconfig (rtlddir, inst_rtlddir): New variables.
9652         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
9653         * elf/Makefile (install-others, CFLAGS-interp.c)
9654         (ldso_install, common-ldd-rewrite): Likewise.
9655         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
9656         $(inst_slibdir)/$(rtld-installed-name).
9657         * scripts/rellns-sh: Add -p option.
9658         * Makerules (make-shlib-link): Use rellns-sh to get relative name
9659         for source.
9661 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9663         * manual/nptl.texi: Renamed to ...
9664         * manual/threads.texi: ... this.
9665         * manual/Makefile (chapters): Update.
9667 2013-03-18  Roland McGrath  <roland@hack.frob.com>
9669         [BZ #14812]
9670         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
9671         on argument names, not just descriptions.
9672         * malloc/memusagestat.c (options): Likewise.
9673         * nss/getent.c (options): Likewise.
9675 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
9677         [BZ #14812]
9678         * iconv/iconv_prog.c (options): Put N_ translation marker
9679         on argument names, not just descriptions.
9680         * iconv/iconvconfig.c (options): Likewise.
9682 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
9684         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
9685         implementation which is faster on all x86_64 architectures.
9686         Tested on AMD, Intel Nehalem, SNB, IVB.
9687         * sysdeps/x86_64/strnlen.S: Likewise.
9689         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9690         Remove all multiarch strlen and strnlen versions.
9691         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9692         Remove strlen and strnlen related parts.
9694         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
9695         Inline strlen part.
9696         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9698         * sysdeps/x86_64/multiarch/strlen.S: Remove.
9699         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
9700         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
9701         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
9702         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
9703         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
9705 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
9707         * manual/memory.texi (Malloc Tunable Parameters):
9708         Sort parameters alphabetically. Add comments for missing entries.
9710 2013-03-17  David S. Miller  <davem@davemloft.net>
9712         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9714 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
9716         [BZ #15283]
9717         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
9718         for arguments at most half maximum finite value.
9719         * math/libm-test.inc (j0_test): Add more tests.
9720         (j1_test): Likewise.
9721         (y0_test): Likewise.
9722         (y1_test): Likewise.
9723         * sysdeps/i386/fpu/libm-test-ulps: Update.
9724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9726         [BZ #14155]
9727         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
9728         1 / x and functions P and Q for arguments above 0x1p256L.
9729         (__ieee754_y0l): Likewise.
9730         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
9731         (__ieee754_y1l): Likewise.
9732         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
9733         (j1_test): Likewise.
9734         (y0_test): Likewise.
9735         (y1_test): Likewise.
9737 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
9739         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
9740         variable.
9742 2013-03-15  Roland McGrath  <roland@hack.frob.com>
9744         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
9745         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
9746         zero since it's initialized to EXEC_PAGESIZE.
9748         * sysdeps/unix/sysv/linux/ldsodefs.h
9749         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
9750         * sysdeps/generic/ldsodefs.h: ... here.
9752 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
9754         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
9756         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
9757         math/test-snan.c.
9758         * math/test-snan.c: Renamed from
9759         sysdeps/powerpc/fpu/test-powerpc-snan.c.
9760         * math/Makefile (tests): Add test-snan.
9761         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
9762         test-powerpc-snan.
9764         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
9765         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
9766         functions.
9767         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
9768         __builtin_nan family of functions.
9769         * math/libm-test.inc (initialize): Initialize qnan_value with
9770         __builtin_nan family of functions.
9771         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
9772         Remove variables.
9773         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
9774         Remove functions.
9775         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
9776         storage class.  Initialize qNaN_var and sNaN_var with
9777         __builtin_nan and __builtin_nans families of functions,
9778         respectively.
9780         * math/libm-test.inc (acosh_test): Also test with qNaN input.
9781         (sqrt_test): Remove duplicate test with qNaN input.
9782         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
9783         (round_test, signbit_test, significand_test): Note missing +/-Inf
9784         as well as qNaN tests.
9786         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
9787         qNaN_var.  Fix a few strings, too.
9788         * math/libm-test.inc (nan_value): Rename to qnan_value.
9789         * math/gen-libm-test.pl (%beautify): Adjust to that.
9790         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
9791         * math/test-misc.c (main): Likewise.
9792         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
9793         to __qnan_bytes, and __qnan_union, respectively.
9794         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
9795         Likewise.
9796         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
9797         and lqnanval, respectively.
9798         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
9799         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
9800         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
9801         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
9803         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
9804         * math/test-misc.c (main) [__x86_64__]: Enable test for long
9805         doubles.
9807         * math/test-misc.c (main): Fix copy'n'pastos.
9808         * misc/tst-efgcvt.c (special): Likewise.
9810         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
9811         Remove declarations.
9813 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9815         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
9816         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
9817         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
9818         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
9820 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9822         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
9823         macro to return vdso values correctly in IFUNC implementations.
9824         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9825         Optimization by using IFUNC.
9827 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9828             Richard Henderson  <rth@redhat.com>
9829             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9831         * Makefile.in (bench): New target.
9832         * NEWS: Mention the benchmark framework.
9833         * Rules (bench): Likewise.
9834         (binaries-bench): Generate binaries for functions to
9835         benchmark.
9836         * benchtests/Makefile: New makefile for benchmark tests.
9837         * benchtests/bench-skeleton.c: New skeleton file for benchmark
9838         programs.
9839         * benchtests/exp-inputs: New input file for EXP function.
9840         * benchtests/pow-inputs: New input file for POW function.
9841         * scripts/bench.pl: New script to generate source files for
9842         benchmark programs.
9844 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9846         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9847         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
9848         computations on mantissa.  Use macros for rounding and
9849         division.
9850         (denorm): Likewise.
9851         (__dbl_mp): Likewise.
9852         (add_magnitudes): Likewise.
9853         (sub_magnitudes): Likewise.
9854         (__mul): Likewise.
9855         (__sqr): Likewise.
9856         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
9857         powers of two in terms of TWOPOW macro.
9858         (mp_no): Make type of mantissa as MANTISSA_T.
9859         [!RADIXI]: Define RADIXI.
9860         [!TWO52]: Define TWO52.
9861         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9863         * manual/nptl.texi (cindex): Modify threads to pthreads.
9865 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
9867         * sysdeps/x86_64/preconfigure: Regenerated.
9869 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
9871         [BZ #14155]
9872         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
9873         0x1p28 and above.
9874         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
9875         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
9876         0x1p28 and above.
9877         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
9878         * math/libm-test.inc (j0_test): Do not allow one spurious
9879         underflow exception.
9880         (y1_test): Likewise.
9882 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9884         * manual/Makefile (chapters): Add nptl.
9885         * manual/debug.texi (Debugging Support): Add link to Threads
9886         chapter.
9887         * manual/nptl.texi: New file.
9889         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
9891 2013-03-14  Petr Baudis  <pasky@ucw.cz>
9893         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
9894         for non-NULL pointer before the memory validity test. Pointed
9895         out by Holger Brunck <holger.brunck@keymile.com>.
9897 2013-03-13  Andreas Schwab  <schwab@suse.de>
9899         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
9900         instead of .os.
9902 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
9904         * timezone/zic.c: Update from tzcode 2013b.
9906 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
9908         * manual/install.texi (Configuring and compiling):
9909         Mention i686 and i586.
9910         * INSTALL: Regenerate.
9912 2013-03-12  Roland McGrath  <roland@hack.frob.com>
9914         * sysdeps/init_array/elf-init.c: New file.
9915         * csu/elf-init.c
9916         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
9917         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
9919         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
9920         __gmon_start__ as global, but as static with a .preinit_array pointer.
9921         * sysdeps/init_array/gmon-start.c: New file.  Use that.
9922         * sysdeps/init_array/crti.S: New file, empty except for comments.
9923         * sysdeps/init_array/crtn.S: Likewise.
9925 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
9927         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
9928         definining bcopy.
9929         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9930         Remove Prefer_SSE_for_memop.
9931         * sysdeps/x86_64/multiarch/init-arch.h: Remove
9932         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
9933         HAS_PREFER_SSE_FOR_MEMOP.
9934         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9935         memset-x86-64.
9936         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9937         Remove bzero, memset ifunc support.
9938         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
9939         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
9940         * sysdeps/x86_64/multiarch/memset.S: Likewise.
9941         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9943 2013-03-11  Andreas Schwab  <schwab@suse.de>
9945         [BZ #15234]
9946         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
9947         by SHLIB_COMPAT.
9948         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
9949         (GLIBC_2.16): Remove pthread_atfork.
9951 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
9953         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
9954         (ptestcases.h): Likewise.
9956 2013-03-08  Roland McGrath  <roland@hack.frob.com>
9958         * Makeconfig ($(common-objpfx)config.status): Depend on
9959         sysdeps/*/preconfigure{,.in} too.
9961 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
9963         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
9964         (__free_hook): Use void * instead of __malloc_ptr_t.
9965         (__malloc_hook): Likewise.
9966         (__realloc_hook): Likewise.
9967         (__memalign_hook): Likewise.
9968         (__after_morecore_hook): Likewise.
9969         * malloc/arena.c (save_malloc_hook): Likewise.
9970         (save_free_hook): Likewise.
9971         * malloc/hooks.c (malloc_hook_ini): Likewise.
9972         (realloc_hook_ini): Likewise.
9973         (memalign_hook_ini): Likewise.
9974         * malloc/malloc.c (malloc_hook_ini): Likewise.
9975         (realloc_hook_ini): Likewise.
9976         (memalign_hook_ini): Likewise.
9977         (__free_hook): Likewise.
9978         (__malloc_hook): Likewise.
9979         (__realloc_hook): Likewise.
9980         (__memalign_hook): Likewise.
9981         (__libc_malloc): Likewise.
9982         (__libc_free): Likewise.
9983         (__libc_realloc): Likewise.
9984         (__libc_memalign): Likewise.
9985         (__libc_valloc): Likewise.
9986         (__libc_pvalloc): Likewise.
9987         (__libc_calloc): Likewise.
9988         (__posix_memalign): Likewise.
9989         * malloc/morecore.c (__sbrk): Likewise.
9990         (__default_morecore): Likewise.
9992         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
9994         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
9995         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
9996         __malloc_ptrdiff_t.
9998         * malloc/malloc.h (__malloc_size_t): Remove macro.
9999         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
10000         __malloc_size_t.
10001         (old_memalign_hook): Likewise.
10002         (old_realloc_hook): Likewise.
10003         (struct hdr): Likewise.
10004         (flood): Likewise.
10005         (mallochook): Likewise.
10006         (memalignhook): Likewise.
10007         (reallochook): Likewise.
10008         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
10009         (tr_old_realloc_hook): Likewise.
10010         (tr_old_memalign_hook): Likewise.
10011         (tr_mallochook): Likewise.
10012         (tr_reallochook): Likewise.
10013         (tr_memalignhook): Likewise.
10015 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10017         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
10018         default_ldbl_pack and using as default implementation.
10019         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
10020         implementation.
10021         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
10022         redundant definition.
10023         (ldbl_insert_mantissa): Likewise.
10024         (ldbl_canonicalize): Likewise.
10025         (ldbl_nearbyint): Likewise.
10026         (ldbl_pack): Rename to ldbl_pack_ppc.
10027         (ldbl_unpack): Rename to ldbl_unpack_ppc.
10028         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
10029         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
10031 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
10033         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
10034         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
10035         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
10036         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
10037         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
10038         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
10039         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
10040         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
10042 2013-03-07  Andreas Jaeger  <aj@suse.de>
10044         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10045         bits/mman-linux.h.
10047 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
10049         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
10050         Include mpa.h and declare __MPEXP.
10051         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
10052         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10053         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10054         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
10055         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10056         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10057         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
10059         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
10060         (__slowpow): Use long double EXPL and LOGL functions to
10061         compute POW.
10062         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10063         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10064         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
10065         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10066         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10067         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
10069         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
10070         intermediate variable to calculate exponent.
10071         (__sqr): Likewise.
10072         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10073         Likewise.
10074         (__sqr): Likewise.
10076         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
10077         [!NO__SQR]: Define __sqr.
10078         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
10079         and NO__SQR.  Remove all code except __mul and __sqr.  Include
10080         sysdeps/ieee754/dbl-64/mpa.c.
10081         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10083         [BZ #12723]
10084         * posix/Makefile (tests): Add tst-pathconf.
10085         * posix/tst-pathconf.c: New test case.
10086         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
10087         _PC_PIPE_BUF.
10088         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
10090 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
10092         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
10094 2013-03-06  Andreas Jaeger  <aj@suse.de>
10096         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
10097         definition via __MAP_ANONYMOUS.
10099         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
10100         it's not part of Linux headers.
10102         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
10103         (MAP_HUGE_MASK): Define.
10105         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10106         Define.
10107         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10108         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10109         Define.
10110         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10111         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10112         Define.
10113         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10114         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
10115         Define.
10116         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10118         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
10119         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
10120         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
10121         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
10122         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
10123         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
10125         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10126         Handle f2fs.
10128         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10129         Handle f2fs and efivarfs.
10131         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
10132         f2fs.
10134         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
10135         (EFIVARFS_MAGIC): Add.
10136         (F2FS_LINK_MAX): Add.
10138 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
10140         * stdio-common/vfprintf.c: Replace __builtin_expect with
10141         __glibc_unlikely.
10143 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
10145         [BZ #13550]
10146         * sysdeps/generic/bp-sym.h: Remove file.
10147         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
10148         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
10149         <bp-sym.h> and <bp-asm.h>.
10150         (__longjmp): Don't use BP_SYM.
10151         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
10152         and <bp-asm.h>.
10153         (memcpy): Don't use BP_SYM.
10154         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
10155         <bp-sym.h> and <bp-asm.h>.
10156         (memcpy): Don't use BP_SYM.
10157         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
10158         <bp-asm.h>.
10159         (memcpy): Don't use BP_SYM.
10160         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
10161         <bp-asm.h>.
10162         (memset): Don't use BP_SYM.
10163         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10164         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10165         (__bzero): Don't use BP_SYM.
10166         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10167         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10168         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
10169         <bp-sym.h> and <bp-asm.h>.
10170         (memcmp): Don't use BP_SYM.  Remove comment about bounded
10171         pointers.
10172         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
10173         <bp-sym.h> and <bp-asm.h>.
10174         (memcpy): Don't use BP_SYM.
10175         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
10176         <bp-sym.h> and <bp-asm.h>.
10177         (memset): Don't use BP_SYM.
10178         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10179         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10180         (__bzero): Don't use BP_SYM.
10181         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10182         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10183         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
10184         <bp-sym.h> and <bp-asm.h>.
10185         (strncmp): Don't use BP_SYM.  Remove comment about bounded
10186         pointers.
10187         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
10188         <bp-sym.h> and <bp-asm.h>.
10189         (memcpy): Don't use BP_SYM.
10190         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
10191         <bp-sym.h> and <bp-asm.h>.
10192         (memset): Don't use BP_SYM.
10193         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10194         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10195         (__bzero): Don't use BP_SYM.
10196         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10197         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10198         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
10199         <bp-sym.h> and <bp-asm.h>.
10200         (__memchr): Don't use BP_SYM.
10201         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
10202         <bp-sym.h> and <bp-asm.h>.
10203         (memcmp): Don't use BP_SYM.  Remove comment about bounded
10204         pointers.
10205         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
10206         <bp-sym.h> and <bp-asm.h>.
10207         (memcpy): Don't use BP_SYM.
10208         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
10209         <bp-sym.h> and <bp-asm.h>.
10210         (__mempcpy): Don't use BP_SYM.
10211         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
10212         <bp-sym.h> and <bp-asm.h>.
10213         (__memrchr): Don't use BP_SYM.
10214         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
10215         <bp-sym.h> and <bp-asm.h>.
10216         (memset): Don't use BP_SYM.
10217         (__bzero): Likewise.
10218         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
10219         <bp-sym.h> and <bp-asm.h>.
10220         (__rawmemchr): Don't use BP_SYM.
10221         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
10222         <bp-sym.h> and <bp-asm.h>.
10223         (__STRCMP): Don't use BP_SYM.
10224         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
10225         <bp-sym.h> and <bp-asm.h>.
10226         (strchr): Don't use BP_SYM.
10227         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
10228         <bp-sym.h> and <bp-asm.h>.
10229         (__strchrnul): Don't use BP_SYM.
10230         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
10231         <bp-sym.h> and <bp-asm.h>.
10232         (strlen): Don't use BP_SYM.
10233         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
10234         <bp-sym.h> and <bp-asm.h>.
10235         (strncmp): Don't use BP_SYM.  Remove comment about bounded
10236         pointers.
10237         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
10238         <bp-sym.h> and <bp-asm.h>.
10239         (__strnlen): Don't use BP_SYM.
10240         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
10241         <bp-sym.h> and <bp-asm.h>.
10242         (__GI__setjmp): Don't use BP_SYM.
10243         (_setjmp): Likewise.
10244         (__sigsetjmp): Likewise.
10245         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
10246         (L(start_addresses)): Don't use BP_SYM.
10247         (_start): Likewise.
10248         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
10249         <bp-asm.h>.
10250         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
10251         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
10252         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10253         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10254         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
10255         <bp-asm.h>.
10256         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
10257         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
10258         about bounded pointers.
10259         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10260         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10261         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
10262         <bp-asm.h>.
10263         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
10264         about bounded pointers.  Remove GKM FIXME comments.
10265         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10266         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
10267         <bp-asm.h>.
10268         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
10269         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
10270         Remove GKM FIXME comments.
10271         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10272         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10273         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
10274         <bp-asm.h>.
10275         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
10276         about bounded pointers.  Remove GKM FIXME comment.
10277         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
10278         and <bp-asm.h>.
10279         (strncmp): Don't use BP_SYM.  Remove comment about bounded
10280         pointers.
10281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
10282         <bp-sym.h> and <bp-asm.h>.
10283         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
10285         <bp-sym.h> and <bp-asm.h>.
10286         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
10287         comment.
10289 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
10291         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
10292         call free(NULL).
10294 2013-03-05  David S. Miller  <davem@davemloft.net>
10296         * po/es.po: Update from translation team.
10298 2013-03-05  Andreas Jaeger  <aj@suse.de>
10300         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
10301         <bits/mman-linux.h>.
10302         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10303         is fine.
10304         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
10305         <bits/mman-linux.h> to end of file.
10306         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10307         is fine.
10308         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
10309         <bits/mman-linux.h> to end of file.
10310         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10311         is fine.
10312         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
10313         <bits/mman-linux.h> to end of file.
10315         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
10316         (MCL_CURRENT, MCL_FUTURE): Define here.
10318 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10320         [BZ #15232]
10321         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
10322         attribute_hidden.
10323         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10325 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10327         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
10328         fourth parameter needed for rt_sigprocmask syscall.
10329         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
10330         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
10331         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
10332         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
10333         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
10334         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
10336 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
10338         [BZ #13550]
10339         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
10340         comment about bounded pointers.
10341         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
10342         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
10344 2013-03-04  Andreas Jaeger  <aj@suse.de>
10346         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
10347         common definitions.
10349         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
10350         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
10351         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
10352         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10353         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10354         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10356 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10358         [BZ #15055]
10359         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
10360         __ieee754_sqrl instead of __sqrl.
10362 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
10364         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
10365         * sysdeps/powerpc/fpu_control.h: ... here.
10366         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
10367         * sysdeps/powerpc/bits/fenvinline.h: ... here.
10368         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
10369         * sysdeps/powerpc/bits/mathinline.h: ... here.
10371 2013-03-01  Roland McGrath  <roland@hack.frob.com>
10373         * elf/dl-hwcaps.c (_dl_important_hwcaps):
10374         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
10375         to just [NEED_DL_SYSINFO_DSO].
10376         * elf/dl-support.c: Likewise.
10377         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10378         * elf/rtld.c (dl_main): Likewise.
10379         * elf/setup-vdso.h (setup_vdso): Likewise.
10380         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
10381         * sysdeps/unix/sysv/linux/dl-sysdep.c
10382         (_dl_discover_osversion): Likewise.
10384 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
10386         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
10387         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10389 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
10391         * NEWS: Mention libm performance improvements and non-x86 PI
10392         futex support.
10394         * csu/libc-start.c (__pthread_initialize_minimal): Change
10395         function arguments.
10396         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10398 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
10400         [BZ #13550]
10401         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
10402         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
10403         <bp-sym.h> and <bp-asm.h>.
10404         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10405         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
10406         and <bp-asm.h>.
10407         (memcpy): Don't use BP_SYM.
10408         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
10409         <bp-asm.h>.
10410         (__mpn_add_n): Don't use BP_SYM.
10411         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
10412         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
10413         and <bp-asm.h>.
10414         (__mpn_addmul_1): Don't use BP_SYM.
10415         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10416         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
10417         <bp-sym.h>.
10418         (_setjmp): Don't use BP_SYM.
10419         (__novmx_setjmp): Likewise.
10420         (__GI__setjmp): Likewise.
10421         (__vmx_setjmp): Likewise.
10422         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
10423         <bp-sym.h>.
10424         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
10425         (__bzero): Don't use BP_SYM.
10426         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10427         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10428         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
10429         <bp-sym.h> and <bp-asm.h>.
10430         (memcpy): Don't use BP_SYM.
10431         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
10432         <bp-sym.h> and <bp-asm.h>.
10433         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10434         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
10435         <bp-sym.h> and <bp-asm.h>.
10436         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10437         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
10438         <bp-asm.h>.
10439         (__mpn_lshift): Don't use BP_SYM.
10440         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10441         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
10442         <bp-asm.h>.
10443         (memset): Don't use BP_SYM.
10444         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10445         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10446         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
10447         <bp-asm.h>.
10448         (__mpn_mul_1): Don't use BP_SYM.
10449         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10450         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
10451         <bp-sym.h> and <bp-asm.h>.
10452         (memcmp): Don't use BP_SYM.
10453         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
10454         <bp-sym.h> and <bp-asm.h>.
10455         (memcpy): Don't use BP_SYM.
10456         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
10457         <bp-sym.h> and <bp-asm.h>.
10458         (memset): Don't use BP_SYM.
10459         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
10460         <bp-sym.h> and <bp-asm.h>.
10461         (strncmp): Don't use BP_SYM.
10462         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
10463         <bp-sym.h> and <bp-asm.h>.
10464         (memcpy): Don't use BP_SYM.
10465         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
10466         <bp-sym.h> and <bp-asm.h>.
10467         (memset): Don't use BP_SYM.
10468         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
10469         <bp-sym.h> and <bp-asm.h>.
10470         (__memchr): Don't use BP_SYM.
10471         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
10472         <bp-sym.h> and <bp-asm.h>.
10473         (memcmp): Don't use BP_SYM.
10474         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
10475         <bp-sym.h> and <bp-asm.h>.
10476         (memcpy): Don't use BP_SYM.
10477         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
10478         <bp-sym.h> and <bp-asm.h>.
10479         (__mempcpy): Don't use BP_SYM.
10480         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
10481         <bp-sym.h> and <bp-asm.h>.
10482         (__memrchr): Don't use BP_SYM.
10483         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
10484         <bp-sym.h> and <bp-asm.h>.
10485         (memset): Don't use BP_SYM.
10486         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
10487         <bp-sym.h> and <bp-asm.h>.
10488         (__rawmemchr): Don't use BP_SYM.
10489         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
10490         <bp-sym.h> and <bp-asm.h>.
10491         (__STRCMP): Don't use BP_SYM.
10492         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
10493         <bp-sym.h> and <bp-asm.h>.
10494         (strchr): Don't use BP_SYM.
10495         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
10496         <bp-sym.h> and <bp-asm.h>.
10497         (__strchrnul): Don't use BP_SYM.
10498         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
10499         <bp-sym.h> and <bp-asm.h>.
10500         (strlen): Don't use BP_SYM.
10501         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
10502         <bp-sym.h> and <bp-asm.h>.
10503         (strncmp): Don't use BP_SYM.
10504         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
10505         <bp-sym.h> and <bp-asm.h>.
10506         (__strnlen): Don't use BP_SYM.
10507         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
10508         <bp-asm.h>.
10509         (__mpn_rshift): Don't use BP_SYM.
10510         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10511         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
10512         <bp-sym.h> and <bp-asm.h>.
10513         (__sigsetjmp): Don't use BP_SYM.
10514         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
10515         (L(start_addresses)): Don't use BP_SYM.
10516         (_start): Likewise.
10517         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
10518         <bp-asm.h>.
10519         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
10520         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10521         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10522         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
10523         <bp-asm.h>.
10524         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
10525         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10526         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10527         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
10528         <bp-asm.h>.
10529         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
10530         comments.
10531         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10532         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
10533         <bp-asm.h>.
10534         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
10535         FIXME comments.
10536         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10537         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10538         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
10539         <bp-asm.h>.
10540         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
10541         comment.
10542         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
10543         and <bp-asm.h>.
10544         (strncmp): Don't use BP_SYM,
10545         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
10546         <bp-asm.h>.
10547         (__mpn_sub_n): Don't use BP_SYM.
10548         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10549         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
10550         and <bp-asm.h>.
10551         (__mpn_submul_1): Don't use BP_SYM.
10552         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
10554         <bp-sym.h> and <bp-asm.h>.
10555         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
10557         <bp-sym.h> and <bp-asm.h>.
10558         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
10559         comment.
10561 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10563         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
10564         Use ZK to minimize writes to Z.
10565         (sub_magnitudes): Simplify code a bit.
10566         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
10567         Use ZK to minimize writes to Z.
10568         (sub_magnitudes): Simplify code a bit.
10570 2013-02-27  Roland McGrath  <roland@hack.frob.com>
10572         * csu/gmon-start.c: Add special exception to license text.
10574 2013-02-27  Richard Henderson  <rth@redhat.com>
10576         * scripts/config.guess: Update from config.git.
10577         * scripts/config.sub: Likewise.
10579 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10581         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
10583         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
10585         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
10587         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
10589         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
10591 2013-02-26  Roland McGrath  <roland@hack.frob.com>
10593         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
10594         [$(build-shared = yes].
10596 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10598         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
10599         (__mul): Reduce iterations for calculating mantissa.
10601         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
10602         MPTWO.
10603         (__mpranred): Likewise.
10605         [BZ #15160]
10606         * malloc/memusagestat.c (main): Draw graphs for heap and stack
10607         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
10609 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
10611         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
10612         Define __attribute__.
10614 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10616         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
10617         unused.
10618         * posix/regex_internal.h (__attribute): Remove.
10619         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
10620         (re_string_context_at): Likewise.
10621         (bitset_not): Use __attribute__ and mark function as possibly
10622         unused.
10623         (bitset_merge): Likewise.
10624         (bitset_mask): Likewise.
10625         (re_string_char_size_at): Likewise.
10626         (re_string_wchar_at): Likewise.
10627         (re_string_elem_size_at): Likewise.
10629 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
10631         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
10632         code.
10633         (cc32): Likewise.
10635         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
10636         (__acr): Likewise.
10637         (__cpy): Likewise.
10638         (norm): Likewise.
10639         (denorm): Likewise.
10640         (__dbl_mp): Likewise.
10641         (add_magnitudes): Likewise.
10642         (sub_magnitudes): Likewise.
10643         (__mul): Likewise.
10644         (__inv): Likewise.
10646         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
10647         style.
10649         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
10650         style.
10652         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
10653         code.
10655         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
10656         up changes with default code.
10657         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
10658         Likewise.
10660 2013-02-24  Allan McRae  <allan@archlinux.org>
10662         * manual/socket.texi (The Internet Namespace): Order menu items
10663         to match that in the file.
10665         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
10666         node listing of the info page menu.
10668 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
10670         [BZ #13550]
10671         * sysdeps/i386/bp-asm.h: Remove file.
10672         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
10673         (PARMS): Do not use macros from bp-asm.h.
10674         (S1): Likewise.
10675         (S2): Likewise.
10676         (SIZE): Likewise.
10677         (__mpn_add_n): Do not use BP_SYM
10678         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
10679         "bp-asm.h".
10680         (PARMS): Do not use macros from bp-asm.h.
10681         (S1): Likewise.
10682         (SIZE): Likewise.
10683         (__mpn_addmul_1): Do not use BP_SYM
10684         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
10685         "bp-asm.h".
10686         (PARMS): Do not use macros from bp-asm.h.
10687         (SIGMSK): Likewise.
10688         (_setjmp): Likewise.  Do not use BP_SYM.
10689         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
10690         "bp-asm.h".
10691         (PARMS): Do not use macros from bp-asm.h.
10692         (SIGMSK): Likewise.
10693         (setjmp): Likewise.  Do not use BP_SYM.
10694         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
10695         "bp-asm.h".
10696         (PARMS): Do not use macros from bp-asm.h.
10697         (__frexp): Do not use BP_SYM.
10698         (frexp): Likewise.
10699         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
10700         "bp-asm.h".
10701         (PARMS): Do not use macros from bp-asm.h.
10702         (__frexpf): Do not use BP_SYM.
10703         (frexpf): Likewise.
10704         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
10705         "bp-asm.h".
10706         (PARMS): Do not use macros from bp-asm.h.
10707         (__frexpl): Do not use BP_SYM.
10708         (frexpl): Likewise.
10709         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
10710         "bp-asm.h".
10711         (PARMS): Do not use macros from bp-asm.h.
10712         (__remquo): Do not use BP_SYM.
10713         (remquo): Likewise.
10714         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
10715         "bp-asm.h".
10716         (PARMS): Do not use macros from bp-asm.h.
10717         (__remquof): Do not use BP_SYM.
10718         (remquof): Likewise.
10719         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
10720         "bp-asm.h".
10721         (PARMS): Do not use macros from bp-asm.h.
10722         (__remquol): Do not use BP_SYM.
10723         (remquol): Likewise.
10724         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
10725         "bp-asm.h".
10726         (PARMS): Do not use macros from bp-asm.h.
10727         (DEST): Likewise.
10728         (SRC): Likewise.
10729         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
10730         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
10731         "bp-asm.h".
10732         (PARMS): Do not use macros from bp-asm.h.
10733         (strlen): Do not use BP_SYM.
10734         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
10735         "bp-asm.h".
10736         (PARMS): Do not use macros from bp-asm.h.
10737         (S1): Likewise.
10738         (S2): Likewise.
10739         (SIZE): Likewise.
10740         (__mpn_add_n): Do not use BP_SYM.
10741         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
10742         "bp-asm.h".
10743         (PARMS): Do not use macros from bp-asm.h.
10744         (S1): Likewise.
10745         (SIZE): Likewise.
10746         (__mpn_addmul_1): Do not use BP_SYM.
10747         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
10748         weak_alias.
10749         (bzero): Likewise.
10750         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
10751         "bp-asm.h".
10752         (PARMS): Do not use macros from bp-asm.h.
10753         (S): Likewise.
10754         (SIZE): Likewise.
10755         (__mpn_lshift): Do not use BP_SYM.
10756         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
10757         "bp-asm.h".
10758         (PARMS): Do not use macros from bp-asm.h.
10759         (DEST): Likewise.
10760         (SRC): Likewise.
10761         (LEN): Likewise.
10762         (memcpy): Likewise.  Do not use BP_SYM.
10763         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
10764         libc_hidden_def and weak_alias.
10765         (mempcpy): Do not use BP_SYM in weak_alias.
10766         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
10767         "bp-asm.h".
10768         (PARMS): Do not use macros from bp-asm.h.
10769         (DEST): Likewise.
10770         (LEN): Likewise.
10771         [!BZERO_P] (CHR): Likewise.
10772         (memset): Likewise.  Do not use BP_SYM.
10773         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
10774         "bp-asm.h".
10775         (PARMS): Do not use macros from bp-asm.h.
10776         (S1): Likewise.
10777         (SIZE): Likewise.
10778         (__mpn_mul_1): Do not use BP_SYM.
10779         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
10780         "bp-asm.h".
10781         (PARMS): Do not use macros from bp-asm.h.
10782         (S): Likewise.
10783         (SIZE): Likewise.
10784         (__mpn_rshift): Do not use BP_SYM.
10785         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
10786         "bp-asm.h".
10787         (PARMS): Do not use macros from bp-asm.h.
10788         (STR): Likewise.
10789         (CHR): Likewise.
10790         (strchr): Likewise.  Do not use BP_SYM.
10791         (index): Do not use BP_SYM in weak_alias.
10792         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
10793         "bp-asm.h".
10794         (PARMS): Do not use macros from bp-asm.h.
10795         (DEST): Likewise.
10796         (SRC): Likewise.
10797         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
10798         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
10799         "bp-asm.h".
10800         (PARMS): Do not use macros from bp-asm.h.
10801         (strlen): Do not use BP_SYM.
10802         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
10803         "bp-asm.h".
10804         (PARMS): Do not use macros from bp-asm.h.
10805         (S1): Likewise.
10806         (S2): Likewise.
10807         (SIZE): Likewise.
10808         (__mpn_sub_n): Do not use BP_SYM.
10809         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
10810         "bp-asm.h".
10811         (PARMS): Do not use macros from bp-asm.h.
10812         (S1): Likewise.
10813         (SIZE): Likewise.
10814         (__mpn_submul_1): Do not use BP_SYM.
10815         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
10816         "bp-asm.h".
10817         (PARMS): Do not use macros from bp-asm.h.
10818         (S1): Likewise.
10819         (S2): Likewise.
10820         (SIZE): Likewise.
10821         (__mpn_add_n): Do not use BP_SYM.
10822         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
10823         weak_alias.
10824         (bzero): Likewise.
10825         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
10826         "bp-asm.h".
10827         (PARMS): Do not use macros from bp-asm.h.
10828         (BLK2): Likewise.
10829         (LEN): Likewise.
10830         (memcmp): Do not use BP_SYM.
10831         (bcmp): Do not use BP_SYM in weak_alias.
10832         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
10833         "bp-asm.h".
10834         (PARMS): Do not use macros from bp-asm.h.
10835         (DEST): Likewise.
10836         (SRC): Likewise.
10837         (LEN): Likewise.
10838         (memcpy): Likewise.  Do not use BP_SYM.
10839         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
10840         "bp-asm.h".
10841         (PARMS): Do not use macros from bp-asm.h.
10842         (DEST): Likewise.
10843         (SRC): Likewise.
10844         (LEN): Likewise.
10845         (memmove): Likewise.  Do not use BP_SYM.
10846         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
10847         "bp-asm.h".
10848         (PARMS): Do not use macros from bp-asm.h.
10849         (DEST): Likewise.
10850         (SRC): Likewise.
10851         (LEN): Likewise.
10852         (__mempcpy): Likewise.  Do not use BP_SYM.
10853         (mempcpy): Do not use BP_SYM in weak_alias.
10854         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
10855         "bp-asm.h".
10856         (PARMS): Do not use macros from bp-asm.h.
10857         (DEST): Likewise.
10858         (LEN): Likewise.
10859         [!BZERO_P] (CHR): Likewise.
10860         (memset): Likewise.  Do not use BP_SYM.
10861         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
10862         "bp-asm.h".
10863         (PARMS): Do not use macros from bp-asm.h.
10864         (STR2): Likewise.
10865         (strcmp): Do not use BP_SYM.
10866         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
10867         "bp-asm.h".
10868         (PARMS): Do not use macros from bp-asm.h.
10869         (STR): Likewise.
10870         (DELIM): Likewise.
10871         [USE_AS_STRTOK_R] (SAVE): Likewise.
10872         (FUNCTION): Likewise.  Do not use BP_SYM.
10873         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
10874         aliases.
10875         (strtok_r): Likewise.
10876         (__GI___strtok_r): Likewise.
10877         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
10878         (PARMS): Do not use macros from bp-asm.h.
10879         (S): Likewise.
10880         (SIZE): Likewise.
10881         (__mpn_lshift): Do not use BP_SYM.
10882         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
10883         (PARMS): Do not use macros from bp-asm.h.
10884         (STR): Likewise.
10885         (CHR): Likewise.
10886         (__memchr): Do not use BP_SYM.
10887         (memchr): Do not use BP_SYM in weak_alias.
10888         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
10889         (PARMS): Do not use macros from bp-asm.h.
10890         (BLK2): Likewise.
10891         (LEN): Likewise.
10892         (memcmp): Do not use BP_SYM.
10893         (bcmp): Do not use BP_SYM in weak_alias.
10894         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
10895         (PARMS): Do not use macros from bp-asm.h.
10896         (S1): Likewise.
10897         (SIZE): Likewise.
10898         (__mpn_mul_1): Do not use BP_SYM.
10899         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
10900         "bp-asm.h".
10901         (PARMS): Do not use macros from bp-asm.h.
10902         (STR): Likewise.
10903         (CHR): Likewise.
10904         (__rawmemchr): Do not use BP_SYM.
10905         (rawmemchr): Do not use BP_SYM in weak_alias.
10906         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
10907         (PARMS): Do not use macros from bp-asm.h.
10908         (S): Likewise.
10909         (SIZE): Likewise.
10910         (__mpn_rshift): Do not use BP_SYM.
10911         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
10912         (PARMS): Do not use macros from bp-asm.h.
10913         (SIGMSK): Likewise.
10914         (__sigsetjmp): Likewise.  Do not use BP_SYM.
10915         * sysdeps/i386/start.S: Do not include "bp-sym.h".
10916         (_start): Do not use BP_SYM.
10917         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
10918         (PARMS): Do not use macros from bp-asm.h.
10919         (DEST): Likewise.
10920         (SRC): Likewise.
10921         (__stpcpy): Likewise.  Do not use BP_SYM.
10922         (stpcpy): Do not use BP_SYM in weak_alias.
10923         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
10924         "bp-asm.h".
10925         (PARMS): Do not use macros from bp-asm.h.
10926         (DEST): Likewise.
10927         (SRC): Likewise.
10928         (LEN): Likewise.
10929         (__stpncpy): Likewise.  Do not use BP_SYM.
10930         (stpncpy): Do not use BP_SYM in weak_alias.
10931         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
10932         (PARMS): Do not use macros from bp-asm.h.
10933         (STR): Likewise.
10934         (CHR): Likewise.
10935         (strchr): Likewise.  Do not use BP_SYM.
10936         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
10937         "bp-asm.h".
10938         (PARMS): Do not use macros from bp-asm.h.
10939         (STR): Likewise.
10940         (CHR): Likewise.
10941         (__strchrnul): Likewise.  Do not use BP_SYM.
10942         (strchrnul): Do not use BP_SYM in weak_alias.
10943         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
10944         "bp-asm.h".
10945         (PARMS): Do not use macros from bp-asm.h.
10946         (STOP): Likewise.
10947         (strcspn): Do not use BP_SYM.
10948         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
10949         "bp-asm.h".
10950         (PARMS): Do not use macros from bp-asm.h.
10951         (STR): Likewise.
10952         (STOP): Likewise.
10953         (strpbrk): Likewise.  Do not use BP_SYM.
10954         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
10955         "bp-asm.h".
10956         (PARMS): Do not use macros from bp-asm.h.
10957         (STR): Likewise.
10958         (CHR): Likewise.
10959         (strrchr): Likewise.  Do not use BP_SYM.
10960         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
10961         (PARMS): Do not use macros from bp-asm.h.
10962         (SKIP): Likewise.
10963         (strspn): Do not use BP_SYM.
10964         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
10965         (PARMS): Do not use macros from bp-asm.h.
10966         (STR): Likewise.
10967         (DELIM): Likewise.
10968         (SAVE): Likewise.
10969         (FUNCTION): Likewise.  Do not use BP_SYM.
10970         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
10971         aliases.
10972         (strtok_r): Likewise.
10973         (__GI___strtok_r): Likewise.
10974         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
10975         (PARMS): Do not use macros from bp-asm.h.
10976         (S1): Likewise.
10977         (S2): Likewise.
10978         (SIZE): Likewise.
10979         (__mpn_sub_n): Do not use BP_SYM.
10980         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
10981         "bp-asm.h".
10982         (PARMS): Do not use macros from bp-asm.h.
10983         (S1): Likewise.
10984         (SIZE): Likewise.
10985         (__mpn_submul_1): Do not use BP_SYM.
10986         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
10987         <bp-sym.h>.
10988         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
10989         and <bp-asm.h>.
10990         (PARMS): Do not use macros from bp-asm.h.
10991         (FLAGS): Likewise.
10992         (PTID): Likewise.
10993         (TLS): Likewise.
10994         (CTID): Likewise.
10995         (__clone): Do not use BP_SYM.
10996         (clone): Do not use BP_SYM in weak_alias.
10997         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
10998         and <bp-asm.h>.
10999         (PARMS): Do not use macros from bp-asm.h.
11000         (LEN): Likewise.
11001         (__mmap64): Do not use BP_SYM.
11002         (mmap64): Do not use BP_SYM in weak_alias.
11003         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11004         <bp-sym.h> and <bp-asm.h>.
11005         (PARMS): Do not use macros from bp-asm.h.
11006         (__posix_fadvise64_l64): Do not use BP_SYM.
11007         * sysdeps/unix/sysv/linux/i386/semtimedop.S
11008         (PARMS): Do not use macros from bp-asm.h.
11009         (NSOPS): Likewise.
11010         (semtimedop): Do not use BP_SYM.
11011         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
11012         and <bp-asm.h>.
11014 2013-02-21  Allan McRae  <allan@archlinux.org>
11016         * manual/message.texi (Charset conversion in gettext):
11017         Move @end statement to beginning of line.
11019 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11021         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
11022         static.
11023         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11024         Likewise.
11026         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
11027         (denorm): Likewise.
11028         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
11029         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
11031 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11033         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
11034         tail-call to the resolved function if pltexit isn't needed.
11036 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11038         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
11039         or Y being zero as being unlikely.
11040         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11041         Likewise.
11043 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
11045         * manual/nss.texi (System Databases and Name Service Switch):
11046         Remove frobnicate @pxref.
11048 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
11050         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11051         __attribute__ ((unused)) to __attribute__ ((__unused__)).
11053 2013-02-20  Petr Machata  <pmachata@redhat.com>
11055         * elf/elf.h (R_ARM_TARGET1): New macro.
11056         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
11057         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
11058         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
11059         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
11060         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
11061         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
11062         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
11063         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
11064         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
11065         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
11066         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
11067         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
11068         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
11069         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
11070         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
11071         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
11072         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
11073         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
11074         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
11075         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
11076         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
11077         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
11078         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
11079         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
11080         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
11081         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
11082         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
11083         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
11084         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
11085         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
11086         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
11087         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
11088         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
11089         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
11090         (R_ARM_THM_GOT_BREL12): Likewise.
11091         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
11092         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
11093         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
11094         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
11095         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
11096         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
11097         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
11098         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
11099         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
11101 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
11103         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11104         __attribute_used__ to __attribute__ ((unused)).
11106 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11108         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
11109         powerpc mpa.c.
11110         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
11111         comment formatting.
11112         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
11114 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
11116         [BZ #13550]
11117         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
11118         Remove macro.
11119         (ENTER): Remove both macro definitions.
11120         (LEAVE): Likewise.
11121         (CHECK_BOUNDS_LOW): Likewise.
11122         (CHECK_BOUNDS_HIGH): Likewise.
11123         (CHECK_BOUNDS_BOTH): Likewise.
11124         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
11125         (RETURN_BOUNDED_POINTER): Likewise.
11126         (RETURN_NULL_BOUNDED_POINTER): Likewise.
11127         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
11128         (POP_ERRNO_LOCATION_RETURN): Likewise.
11129         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
11130         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11131         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
11132         macros.
11133         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11134         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
11135         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
11136         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
11137         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
11138         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
11139         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
11140         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
11141         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
11142         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
11143         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
11144         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
11145         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11146         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
11147         removed macros.
11148         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11149         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
11150         macros.
11151         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11152         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
11153         * sysdeps/i386/i586/memset.S (memset): Likewise.
11154         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
11155         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11156         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
11157         macros.
11158         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11159         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
11160         Change uses of L(2) to L(out).
11161         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
11162         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
11163         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
11164         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11165         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
11166         removed macros.
11167         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11168         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
11169         macros.
11170         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11171         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
11172         (RETURN): Do not use macro LEAVE.
11173         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
11174         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
11175         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
11176         * sysdeps/i386/i686/memset.S (memset): Likewise.
11177         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
11178         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
11179         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11180         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
11181         Likewise.
11182         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11183         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
11184         L(1_2) and L(1_3) into L(1).
11185         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11186         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
11187         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11188         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
11189         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11190         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
11191         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
11192         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11193         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
11194         macros.
11195         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
11196         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11197         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
11198         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
11199         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
11200         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11201         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
11202         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
11203         * sysdeps/i386/strcspn.S (strcspn): Likewise.
11204         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
11205         * sysdeps/i386/strrchr.S (strrchr): Likewise.
11206         * sysdeps/i386/strspn.S (strspn): Likewise.
11207         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
11208         conditional code.
11209         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11210         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
11211         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11212         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
11213         L(1_3) into L(1_1).
11214         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
11215         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11216         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
11217         macros.
11218         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11220 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
11222         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
11223         macro.
11225 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11227         * math/atest-exp.c (exp_mpn): Remove ROUND.
11228         * math/atest-exp2.c (exp_mpn): Likewise.
11229         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
11231         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
11232         * stdlib/tst-tls-atexit-lib.c: Likewise.
11233         * stdlib/tst-tls-atexit.c: Likewise.
11235 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
11237         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
11238         and __attribute_alloc_size__.
11240 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
11242         * include/programs/xmalloc.h: Change __attribute_alloc_size to
11243         __attribute_alloc_size__.
11244         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
11245         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
11247 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
11249         * include/programs/xmalloc.h: New file.
11250         * catgets/gencat.c: Include it.
11251         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
11252         * elf/pldd.c: Likewise.
11253         * iconv/iconv_charmap.c: Likewise.
11254         * iconv/iconvconfig.c: Likewise.
11255         * iconv/strtab.c: Likewise.
11256         * locale/programs/locale.c: Likewise.
11257         * locale/programs/localedef.h: Likewise.
11258         * locale/programs/simple-hash.c: Likewise.
11259         * nscd/nscd.h: Likewise.
11260         * nss/makedb.c: Likewise.
11261         * sysdeps/generic/ldconfig.h: Likewise.
11263 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11265         * Versions.def: Add GLIBC_2.18.
11266         * include/link.h (struct link_map): New member l_tls_dtor_count.
11267         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
11268         (__call_tls_dtors): Likewise.
11269         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
11270         __cxa_thread_atexit_impl.
11271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11272         Likewise.
11273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11274         Likewise.
11275         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11276         Likewise.
11277         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11278         Likewise.
11279         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11280         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
11281         Likewise.
11282         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
11283         Likewise.
11284         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11285         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11286         Likewise.
11287         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
11288         (tests): Add test case tst-tls-atexit.
11289         (modules-names): Add shared library for tst-tls-atexit.
11290         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
11291         (GLIBC_PRIVATE): Add __call_tls_dtors.
11292         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
11293         for libstdc++.
11294         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
11295         * stdlib/tst-tls-atexit.c: New test case.
11296         * stdlib/tst-tls-atexit-lib.c: New test case.
11298         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
11300         * elf/Versions (ld): Add _dl_find_dso_for_object.
11301         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
11302         * elf/dl-open.c (_dl_find_dso_for_object): New function.
11303         (dl_open_worker): Use _dl_find_dso_for_object.
11304         * elf/dl-sym.c (do_sym): Likewise.
11305         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
11307 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11309         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
11310         Syntactic changes only.
11311         (_dl_runtime_profile): Do a tail-call to the resolved function.
11313 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
11315         [BZ #13550]
11316         * sysdeps/x86_64/bp-asm.h: Remove file.
11317         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
11318         <bp-sym.h> and <bp-asm.h>.
11319         (__clone): Do not use BP_SYM.
11320         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
11321         <bp-sym.h> and <bp-asm.h>.
11322         * sysdeps/unix/x86_64/sysdep.S: Likewise.
11323         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
11324         "bp-asm.h".
11325         (_setjmp): Do not use BP_SYM.
11326         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
11327         "bp-asm.h".
11328         (setjmp): Do not use BP_SYM.
11329         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
11330         libc_hidden_def.
11331         (mempcpy): Do not use BP_SYM in weak_alias.
11332         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
11333         "bp-asm.h".
11334         (strchr): Do not use BP_SYM.
11335         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
11336         "bp-asm.h".
11337         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
11338         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
11339         (_start): Do not use BP_SYM.
11340         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
11341         "bp-asm.h".
11342         (strcat): Do not use BP_SYM.
11343         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
11344         "bp-asm.h".
11345         (STRCMP): Do not use BP_SYM.
11346         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
11347         "bp-asm.h".
11348         (STRCPY): Do not use BP_SYM.
11349         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
11350         "bp-asm.h".
11351         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
11352         "bp-asm.h".
11353         (FUNCTION): Do not use BP_SYM.
11354         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
11355         weak_alias.
11356         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
11358 2013-02-17  Andreas Jaeger  <aj@suse.de>
11360         * time/Versions: Sort entries.
11361         * string/Versions: Likewise.
11362         * resolv/Versions: Likewise.
11363         * posix/Versions: Likewise.
11364         * iconv/Versions: Likewise.
11365         * elf/Versions: Likewise.
11366         * wcsmbs/Versions: Likewise.
11368 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11370         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
11371         loop termination condition.
11373         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
11374         variable to calculate EZ.
11375         (__sqr): Likewise.
11377         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
11378         the lower precision input.
11380 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
11382         [BZ #13550]
11383         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
11384         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
11385         (run-via-rtld-prefix): Do not handle %-bp tests.
11386         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
11387         (all-object-suffixes): Remove .ob.
11388         (bppfx): Remove variable.
11389         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
11390         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
11391         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
11392         [$(build-bounded) = yes] (libtype.ob): Likewise.
11393         * Makerules (elide-routines.ob): Remove variable.
11394         (do-tests-clean): Do not handle *-bp.out.
11395         (common-mostlyclean): Do not handle *-bp and *-bp.out.
11396         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
11397         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
11398         (tests): Do not include $(tests-bp.out).
11399         (xtests): Do not include $(xtests-bp.out).
11400         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
11401         [$(build-bounded) = yes] ($(addprefix
11402         $(objpfx),$(binaries-bounded))): Remove rule.
11403         ($(objpfx)%-bp.out): Remove rule.
11404         * config.make.in (build-bounded): Remove variable.
11405         * crypt/Makefile [$(build-bounded) = yes]
11406         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
11407         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
11408         append to variable.
11409         [$(build-bounded) = yes] (install-lib): Likewise.
11410         [$(build-bounded) = yes] (generated): Likewise.
11411         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
11412         Remove rule.
11413         * intl/Makefile [$(build-bounded) = yes]
11414         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
11415         * math/Makefile [$(build-bounded) = yes]
11416         ($(tests:%=$(objpfx)%-bp): Likewise.
11417         * misc/Makefile [$(build-bounded) = yes]
11418         ($(objpfx)tst-tsearch-bp): Likewise.
11419         * nptl/Makeconfig (bounded-thread-library): Remove variable.
11420         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
11421         Remove dependency.
11422         * string/Makefile (o-objects.ob): Remove variable.
11423         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
11424         (CFLAGS-.ob): Remove variable.
11425         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
11426         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
11427         both definitions of variable.
11428         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
11429         (ASFLAGS-.ob): Remove variable.
11431 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
11433         [BZ #13550]
11434         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
11435         Remove __BOUNDED_POINTERS__ from condition.
11436         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
11437         * string/bits/string2.h [!__NO_STRING_INLINES &&
11438         !__BOUNDED_POINTERS__]: Likewise.
11439         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
11440         Likewise.
11441         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
11442         Remove conditional code.
11443         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
11444         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
11445         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
11446         condition.
11448         [BZ #13550]
11449         * csu/libc-start.c: Do not include <bp-sym.h>.
11450         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
11451         * elf/dl-open.c: Do not include <bp-sym.h>.
11452         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
11453         * math/fegetenv.c: Do not include <bp-sym.h>.
11454         (fegetenv): Do not use BP_SYM in versioned symbols.
11455         * nptl/sysdeps/pthread/bits/libc-lockP.h
11456         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
11457         <bp-sym.h>.
11458         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11459         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
11460         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11461         (__pthread_mutex_destroy): Likewise.
11462         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11463         (__pthread_mutex_lock): Likewise.
11464         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11465         (__pthread_mutex_trylock): Likewise.
11466         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11467         (__pthread_mutex_unlock): Likewise.
11468         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11469         (__pthread_mutexattr_init): Likewise.
11470         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11471         (__pthread_mutexattr_destroy): Likewise.
11472         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11473         (__pthread_mutexattr_settype): Likewise.
11474         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11475         (__pthread_rwlock_init): Likewise.
11476         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11477         (__pthread_rwlock_destroy): Likewise.
11478         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11479         (__pthread_rwlock_rdlock): Likewise.
11480         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11481         (__pthread_rwlock_tryrdlock): Likewise.
11482         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11483         (__pthread_rwlock_wrlock): Likewise.
11484         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11485         (__pthread_rwlock_trywrlock): Likewise.
11486         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11487         (__pthread_rwlock_unlock): Likewise.
11488         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11489         (__pthread_key_create): Likewise.
11490         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11491         (__pthread_setspecific): Likewise.
11492         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11493         (__pthread_getspecific): Likewise.
11494         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
11495         Likewise.
11496         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11497         (_pthread_cleanup_push_defer): Likewise.
11498         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11499         (_pthread_cleanup_pop_restore): Likewise.
11500         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11501         (pthread_setcancelstate): Likewise.
11502         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
11503         <bp-sym.h>.
11504         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
11505         (memchr): Do not use BP_SYM in weak_alias.
11506         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
11507         (fegetenv): Do not use BP_SYM in versioned symbols.
11508         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
11509         (fesetenv): Do not use BP_SYM in versioned symbols.
11510         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11511         (feupdateenv): Do not use BP_SYM in versioned symbols.
11512         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11513         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11514         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
11515         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
11516         (open64): Do not use BP_SYM in weak_alias.
11517         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
11518         (fegetenv): Do not use BP_SYM in versioned symbols.
11519         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
11520         (fesetenv): Do not use BP_SYM in versioned symbols.
11521         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11522         (feupdateenv): Do not use BP_SYM in versioned symbols.
11523         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
11524         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
11525         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
11526         (feraiseexcept): Do not use BP_SYM in versioned symbols.
11527         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11528         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11529         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
11530         <bp-sym.h>.
11531         (__libc_start_main): Do not use BP_SYM.
11533 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11535         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
11536         redundant return line.
11537         (norm): Likewise.
11538         (denorm): Likewise.
11539         (dbl_mp): Likewise.
11540         (sub_magnitudes): Likewise.
11541         (__add): Likewise.
11542         (__sub): Likewise.
11543         (__mul): Likewise.
11544         (__inv): Likewise.
11545         (__dvd): Likewise.
11546         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
11547         (norm): Likewise.
11548         (denorm): Likewise.
11549         (dbl_mp): Likewise.
11550         (sub_magnitudes): Likewise.
11551         (__add): Likewise.
11552         (__sub): Likewise.
11553         (__mul): Likewise.
11554         (__inv): Likewise.
11555         (__dvd): Likewise.
11557         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
11558         instead of __mul.
11559         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11560         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
11561         (cc32): Likewise.
11563         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
11564         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
11565         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
11566         of __mul for squares.
11567         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
11568         function
11569         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
11570         Likewise.
11571         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
11572         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11574 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
11576         [BZ #13550]
11577         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
11578         code.
11579         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
11580         prototype or function definition.  Rename ubp_* variables and
11581         parameters.  Remove argv definitions conditional on
11582         [__BOUNDED_POINTERS__].
11583         * debug/backtrace.c (__backtrace): Do not use __unbounded.
11584         * elf/dl-runtime.c (_dl_fixup): Likewise.
11585         * include/set-hooks.h (RUN_HOOK): Likewise.
11586         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
11587         definition.
11588         * string/strcpy.c (strcpy): Do not use __unbounded.
11589         * sysdeps/generic/frame.h (struct layout): Likewise.
11590         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
11591         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
11592         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
11593         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
11594         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
11595         (__backtrace): Likewise.
11596         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
11597         use __ptrvalue.
11598         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
11599         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11600         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11601         Likewise.
11602         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
11603         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
11604         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11605         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11606         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
11607         Do not use __unbounded.
11608         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
11609         Rename __unboundedrlimits parameter to rlimits in prototype.
11610         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
11611         Do not use __unbounded.
11612         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
11613         not use __ptrvalue.
11614         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11615         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
11616         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11617         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
11618         __ptrvalue or __unbounded.
11619         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
11620         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
11621         use __unbounded.
11622         (__new_msgctl): Do not use __ptrvalue.
11623         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
11624         __unbounded.
11625         (__libc_msgrcv): Do not use __ptrvalue.
11626         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
11627         startup_info): Do not use __unbounded.
11628         (__libc_start_main): Likewise.  Rename ubp_* variables and
11629         parameters.  Remove argv definitions conditional on
11630         [__BOUNDED_POINTERS__].
11631         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
11632         __ptrvalue.
11633         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
11634         use __unbounded.
11635         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
11636         or __ptrvalue.
11637         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
11638         use __unbounded.
11639         (__new_shmctl): Do not use __ptrvalue.
11640         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
11641         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
11642         Likewise.
11643         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
11644         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
11645         (__libc_sigaction): Likewise.
11646         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
11647         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
11648         Likewise.
11649         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11651 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
11653         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
11655         * string/mempcpy.c: Implement by calling memcpy.
11657 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
11659         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
11661         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
11662         evaluation.
11664         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
11665         values in the mantissa.
11667         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
11668         minimize writes to Z.
11669         (sub_magnitudes): Simplify code a bit.
11671 2013-02-12  Roland McGrath  <roland@hack.frob.com>
11673         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
11674         from the message.  The linker prefixes all warnings with that already.
11676 2013-02-12  Andreas Schwab  <schwab@suse.de>
11678         [BZ #15078]
11679         * posix/regexec.c (extend_buffers): Add parameter min_len.
11680         (check_matching): Pass minimum needed length.
11681         (clean_state_log_if_needed): Likewise.
11682         (get_subexp): Likewise.
11683         * posix/Makefile (tests): Add bug-regex34.
11684         (bug-regex34-ENV): Define.
11685         * posix/bug-regex34.c: New file.
11687         [BZ #11561]
11688         * posix/regcomp.c (parse_bracket_exp): When looking up collating
11689         elements compare against the byte sequence of it, not its name.
11690         * posix/Makefile (tests): Add bug-regex35.
11691         (bug-regex35-ENV): Define.
11692         * posix/bug-regex35.c: New file.
11694 2013-02-11  Tom de Vries  <tom@codesourcery.com>
11696         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
11697         comment.
11698         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
11699         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
11700         (CHECK_EOL): Add undef.
11702 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
11704         * bits/stdlib-bsearch.h: New file.
11705         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
11706         * stdlib/stdlib.h: Likewise.
11708 2013-02-11  Roland McGrath  <roland@hack.frob.com>
11710         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
11711         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
11712         declaration.
11713         * manual/search.texi (Array Search Function): Add missing const in
11714         lfind prototype.
11715         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
11716         declaration to use rlim_t.
11717         (Basic Scheduling Functions): Remove erroneous const from
11718         sched_getparam prototype.  Remove erroneous * from
11719         sched_get_priority_max and sched_get_priority_min prototypes.
11720         (Resource Usage): Fix summary @comment on vtimes to refer to
11721         sys/vtimes.h rather than vtimes.h.
11722         Add missing *s in vtimes prototype.
11723         (Limits on Resources): Fix ulimit prototype to return long int.
11724         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
11725         prototypes to use long int rather than double.
11726         (BSD Random): Fix initstate and setstate to use char *, not void *.
11727         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
11728         prototype to make second argument 'struct aiocb64 *const[]'.
11729         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
11730         (Status of AIO Operations): Remove erroneous const in aio_return and
11731         aio_return64 prototypes.
11732         (Synchronizing I/O): Fix sync prototype to return void.
11733         * manual/startup.texi (Suboptions): Remove an erroneous const in
11734         getsubopt prototype.
11735         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
11736         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
11737         use size_t rather than int.
11738         (Scanning All Users): Likewise for getpwent_r.
11739         (Setting Groups): Add missing const to setgroups prototype.
11740         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
11741         * manual/socket.texi (Host Names): Fix gethostbyaddr and
11742         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
11743         'const void *' rather than 'const char *'.
11744         (Host Address Functions): Likewise for inet_ntop.
11745         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
11746         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
11747         ssize_t for return value.
11748         (Sending Data): Likewise for send, sendto, sendmsg.
11749         (Socket Option Functions): Add a missing const in setsockopt prototype.
11750         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
11751         use wchar_t for the argument.
11752         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
11753         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
11754         take no arguments.
11755         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
11756         double/float/long double for second argument.
11757         Fix return types of significand, significandf, significandl.
11758         * manual/filesys.texi (Setting Permissions): Use mode_t for second
11759         argument in fchmod prototype.
11760         (File Owner): Use uid_t and gid_t in fchown prototype.
11761         (File Times): Add const to utimes, futimes, and lutimes prototypes.
11762         (Making Special Files): Use mode_t and dev_t in mknod prototype.
11763         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
11764         use 'const struct dirent **' as argument types to CMP function pointer
11765         argument.
11766         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
11767         (File Times): Fix summary magic @comment for struct utimbuf and utime
11768         to refer to utime.h, not time.h.
11769         * manual/string.texi (Argz Functions): Add missing const in
11770         argz_extract and argz_next prototypes.
11771         (Finding Tokens in a String): Likewise for basename.
11772         (String/Array Comparison): Fix typo in wcscasecmp prototype.
11773         (Copying and Concatenation): Fix typo in wmemmove prototype.
11774         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
11775         (Signal Stack): Remove erroneous const in sigstack prototype.
11776         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
11777         prototype.
11778         (Simple Calendar Time): Likewise for stime.
11779         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
11780         prototype.
11781         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
11782         say sys/sysctl.h instead.
11783         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
11784         and vsyslog prototypes.
11786 2013-02-11  Tom de Vries  <tom@codesourcery.com>
11788         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
11789         Remove.
11791 2013-02-11  Roland McGrath  <roland@hack.frob.com>
11793         * misc/sys/mman.h: Fix typo in mremap comment.
11795 2013-02-08  Roland McGrath  <roland@hack.frob.com>
11797         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
11798         the '\0' terminator.
11800 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
11802         [BZ #13550]
11803         * debug/segfault.c: Don't include <bp-checks.h>.
11804         * sysdeps/generic/bp-checks.h: Remove file.
11805         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
11806         (__GETDENTS): Don't use CHECK_N.
11807         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
11808         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11809         (__getgroups): Don't use CHECK_N.
11810         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
11811         (setgroups): Don't use CHECK_N.
11812         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
11813         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
11814         (__libc_msgrcv): Don't use CHECK_N.
11815         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
11816         (__libc_msgsnd): Don't use CHECK_N.
11817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
11818         <bp-checks.h>.
11819         (__libc_pread): Don't use CHECK_N.
11820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
11821         include <bp-checks.h>.
11822         (__libc_pread64): Don't use CHECK_N.
11823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
11824         include <bp-checks.h>.
11825         (__libc_pwrite): Don't use CHECK_N.
11826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
11827         include <bp-checks.h>.
11828         (__libc_pwrite64): Don't use CHECK_N.
11829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
11830         <bp-checks.h>.
11831         (__libc_pread): Don't use CHECK_N.
11832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
11833         include <bp-checks.h>.
11834         (__libc_pread64): Don't use CHECK_N.
11835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
11836         include <bp-checks.h>.
11837         (__libc_pwrite): Don't use CHECK_N.
11838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
11839         include <bp-checks.h>.
11840         (__libc_pwrite64): Don't use CHECK_N.
11841         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
11842         (do_pread): Don't use CHECK_N.
11843         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
11844         (do_pread64): Don't use CHECK_N.
11845         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
11846         (do_pwrite): Don't use CHECK_N.
11847         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
11848         (do_pwrite64): Don't use CHECK_N.
11849         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
11850         (__libc_readv): Don't use CHECK_N.
11851         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
11852         (semop): Don't use CHECK_N.
11853         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
11854         <bp-checks.h>.
11855         (semtimedop): Don't use CHECK_N.
11856         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
11857         (__libc_pread): Don't use CHECK_N.
11858         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
11859         <bp-checks.h>.
11860         (__libc_pread64): Don't use CHECK_N.
11861         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
11862         <bp-checks.h>.
11863         (__libc_pwrite): Don't use CHECK_N.
11864         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
11865         <bp-checks.h>.
11866         (__libc_pwrite64): Don't use CHECK_N.
11867         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
11868         <bp-checks.h>.
11869         (__libc_msgrcv): Don't use CHECK_N.
11870         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
11871         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
11872         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
11873         (__libc_writev): Don't use CHECK_N.
11875 2013-02-08  Roland McGrath  <roland@hack.frob.com>
11877         * string/strcpy.c: Removed unused variable.
11879         * Makeconfig (+sysdep-includes): Define with := rather than =.
11880         Use an existing include/ subdir of each sysdeps dir before it.
11882 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
11884         * nscd/connection.c (register_traced_file): Comment function.
11885         [HAVE_INOTIFY] (union __inev): Define.
11886         [HAVE_INOTIFY] (inotify_check_files): New function.
11887         [HAVE_INOTIFY] (clear_db_cache): Likewise.
11888         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
11889         clear_db_cache.
11890         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
11892 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
11894         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
11895         loaded if not already and that a failure is permanent.
11897 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
11899         [BZ #15006]
11900         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
11901         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
11903 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
11905         [BZ #13550]
11906         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
11907         (CHECK_1_NULL_OK): Likewise.
11908         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
11909         (__fxstat): Do not use CHECK_1.
11910         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
11911         <bp-checks.h>.
11912         (___fxstat64): Do not use CHECK_1.
11913         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11914         <bp-checks.h>.
11915         (__fxstatat): Do not use CHECK_1.
11916         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11917         <bp-checks.h>.
11918         (__fxstatat64): Do not use CHECK_1.
11919         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
11920         <bp-checks.h>.
11921         (__fxstat): Do not use CHECK_1.
11922         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11923         <bp-checks.h>.
11924         (__fxstatat): Do not use CHECK_1.
11925         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11926         <bp-checks.h>.
11927         (__getresgid): Do not use CHECK_1.
11928         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11929         <bp-checks.h>.
11930         (__getresuid): Do not use CHECK_1.
11931         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
11932         <bp-checks.h>.
11933         (__lxstat): Do not use CHECK_1.
11934         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11935         <bp-checks.h>.
11936         (__old_msgctl): Do not use CHECK_1.
11937         (__new_msgctl): Likewise.
11938         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
11939         <bp-checks.h>.
11940         (__new_setrlimit): Do not use CHECK_1.
11941         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11942         <bp-checks.h>.
11943         (__old_shmctl): Do not use CHECK_1.
11944         (__new_shmctl): Likewise.
11945         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
11946         <bp-checks.h>.
11947         (__xstat): Do not use CHECK_1.
11948         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
11949         (__lxstat): Do not use CHECK_1.
11950         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
11951         <bp-checks.h>.
11952         (___lxstat64): Do not use CHECK_1.
11953         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
11954         (__old_msgctl): Do not use CHECK_1.
11955         (__new_msgctl): Likewise.
11956         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
11957         <bp-checks.h>.
11958         (__gettimeofday): Do not use CHECK_1.
11959         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
11960         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
11961         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
11962         <bp-checks.h>.
11963         (__gettimeofday): Do not use CHECK_1.
11964         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
11965         (__old_shmctl): Do not use CHECK_1_NULL_OK.
11966         (__new_shmctl): Do not use CHECK_1.
11967         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
11968         <bp-checks.h>.
11969         (do_sigtimedwait): Do not use CHECK_1.
11970         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
11971         <bp-checks.h>.
11972         (do_sigwaitinfo): Do not use CHECK_1.
11973         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
11974         <bp-checks.h>.
11975         (msgctl): Do not use CHECK_1.
11976         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
11977         <bp-checks.h>.
11978         (shmctl): Do not use CHECK_1.
11979         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
11980         (ustat): Do not use CHECK_1.
11981         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
11982         <bp-checks.h>.
11983         (__fxstat): Do not use CHECK_1.
11984         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11985         <bp-checks.h>.
11986         (__fxstatat): Do not use CHECK_1.
11987         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
11988         <bp-checks.h>.
11989         (__lxstat): Do not use CHECK_1.
11990         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
11991         <bp-checks.h>.
11992         (__xstat): Do not use CHECK_1.
11993         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
11994         (__xstat): Do not use CHECK_1.
11995         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
11996         (___xstat64): Do not use CHECK_1.
11998         [BZ #13550]
11999         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
12000         definitions.
12001         (CHECK_BOUNDS_HIGH): Likewise.
12002         * string/strcpy.c: Do not include <bp-checks.h>.
12003         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
12005 2013-02-07  Roland McGrath  <roland@hack.frob.com>
12007         * nscd/nscd-client.h (__nscd_drop_map_ref):
12008         Add __attribute__ ((unused)).
12009         * nis/nss-nisplus.h (niserr2nss): Likewise.
12011         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
12012         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
12014         * csu/libc-tls.c (init_static_tls, init_slotinfo):
12015         Remove inline keyword.
12016         * include/rounding-mode.h (round_away): Likewise.
12017         * libio/wfileops.c (adjust_wide_data): Likewise.
12018         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
12019         (__m128i_strloadu_tolower): Likewise.
12020         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
12021         (__m128i_strloadu_tolower): Likewise.
12022         * time/mktime.c (ydhms_diff): Likewise.
12023         * locale/elem-hash.h (elem_hash): Likewise.
12024         * locale/setlocale.c (setdata): Likewise.
12025         * posix/regex_internal.h (re_string_char_size_at): Likewise.
12026         (re_string_wchar_at): Likewise.
12027         (bitset_not, bitset_merge, bitset_mask): Likewise.
12028         [!(__GNUC__ > 3)] (inline): Remove macro.
12029         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
12030         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
12031         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
12032         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
12033         * string/memcmp.c (memcmp_bytes): Likewise.
12034         * locale/programs/locarchive.c (compute_hashval): Likewise.
12035         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
12036         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
12037         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
12038         * nss/getent.c (print_rpc, print_protocols): Likewise.
12039         (print_passwd, print_group, print_aliases): Likewise.
12040         * nis/nss-nisplus.h (niserr2nss): Likewise.
12041         * nscd/connections.c (restart_p): Likewise.
12042         Change return type to bool.
12044 2013-02-05  Roland McGrath  <roland@hack.frob.com>
12046         * Makeconfig (all-Depend-files): Add existing
12047         $(sorted-subdirs:=/Depend) files.
12048         (all-subdirs): Remove nss.
12049         * sysdeps/unix/inet/Subdirs: Add it here instead.
12050         * hesiod/Depend: New file.
12052         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
12053         instead of calling alloca.
12055         * io/lseek.c (__lseek): Rename to __libc_lseek.
12056         Define __lseek as an alias.
12058         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
12060 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
12062         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
12063         else clause and remove check for non-standard endianness.
12065 2013-02-04  David S. Miller  <davem@davemloft.net>
12067         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12069 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
12071         [BZ #13550]
12072         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
12073         (__ubp_memchr): Remove prototype.
12074         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
12075         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12076         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
12077         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12078         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
12079         Remove alias.
12080         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
12081         (__ubp_memchr): Likewise.
12082         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
12083         (__ubp_memchr): Likewise.
12084         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
12085         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
12086         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
12087         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
12088         CHECK_STRING.
12089         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12090         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
12091         (__getcwd): Do not use CHECK_STRING.
12092         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12093         <bp-checks.h>.
12094         (__real_chown): Do not use CHECK_STRING.
12095         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
12096         <bp-checks.h>.
12097         (fchownat): Do not use CHECK_STRING.
12098         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
12099         CHECK_STRING.
12100         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12101         <bp-checks.h>.
12102         (__lchown): Do not use CHECK_STRING.
12103         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12104         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12105         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12106         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12108         include <bp-checks.h>.
12109         (truncate64): Do not use CHECK_STRING.
12110         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12111         <bp-checks.h>.
12112         (__real_chown): Do not use CHECK_STRING.
12113         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12114         <bp-checks.h>.
12115         (__lchown): Do not use CHECK_STRING.
12116         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12117         <bp-checks.h>.
12118         (__chown): Do not use CHECK_STRING.
12119         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
12120         <bp-checks.h>.
12121         (truncate64): Do not use CHECK_STRING.
12122         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
12123         Likewise.
12124         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
12125         (__xmknod): Do not use CHECK_STRING.
12126         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
12127         <bp-checks.h>.
12128         (__xmknodat): Do not use CHECK_STRING.
12129         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12130         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
12132 2013-02-04  Andreas Schwab  <schwab@suse.de>
12134         [BZ #14142]
12135         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
12136         * include/netdb.h: Likewise for h_errno.
12137         * elf/tst-stackguard1.c: Include <tls.h>.
12139 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
12141         * elf/link.h (struct link_map): Extend the l_addr comment.
12142         * include/link.h (struct link_map): Likewise.
12144 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
12146         [BZ #13550]
12147         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
12148         (BOUNDED_1): Remove macro.
12149         * debug/backtrace.c: Don't include <bp-checks.h>.
12150         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
12151         (__backtrace): Likewise.
12152         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
12153         <bp-checks.h>.
12154         (__backtrace): Don't use BOUNDED_1.
12155         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
12156         <bp-checks.h>.
12157         (__backtrace): Don't use BOUNDED_1.
12158         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
12159         (__backtrace): Don't use BOUNDED_1.
12160         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
12161         (shmat): Don't use BOUNDED_N.
12163 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
12165         [BZ #13550]
12166         * sysdeps/generic/bp-start.h: Remove file.
12167         * csu/libc-start.c: Don't include <bp-start.h>.
12168         (LIBC_START_MAIN): Set up __environ directly instead of using
12169         INIT_ARGV_and_ENVIRON.
12170         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
12171         <bp-start.h>.
12173         [BZ #13550]
12174         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
12175         definitions.
12176         (CHECK_FCNTL): Likewise.
12177         (CHECK_N_PAGES): Likewise.
12179         [BZ #13550]
12180         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
12181         definitions.
12182         (CHECK_SIGSET_NULL_OK): Likewise.
12183         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
12184         <bp-checks.h>.
12185         (sigpending): Don't use CHECK_SIGSET.
12186         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
12187         <bp-checks.h>.
12188         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12189         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
12190         <bp-checks.h>.
12191         (do_sigsuspend): Don't use CHECK_SIGSET.
12192         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
12193         use CHECK_SIGSET.
12194         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
12195         (do_sigwait): Don't use CHECK_SIGSET.
12196         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
12197         use CHECK_SIGSET.
12198         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
12199         include <bp-checks.h>.
12200         (sigpending): Don't use CHECK_SIGSET.
12201         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
12202         include <bp-checks.h>.
12203         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12204         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
12205         <bp-checks.h>.
12206         (sigpending): Don't use CHECK_SIGSET.
12207         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
12208         <bp-checks.h>.
12209         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12211         [BZ #13550]
12212         * sysdeps/generic/bp-semctl.h: Remove file.
12213         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
12214         <bp-checks.h> and <bp-semctl.h>.
12215         (__old_semctl): Don't use CHECK_SEMCTL.
12216         (__new_semctl): Likewise.
12217         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
12218         and <bp-semctl.h>.
12219         (__old_semctl): Don't use CHECK_SEMCTL.
12220         (__new_semctl): Likewise.
12221         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
12222         <bp-checks.h> and <bp-semctl.h>.
12223         (__old_semctl): Don't use CHECK_SEMCTL.
12224         (__new_semctl): Likewise.
12225         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
12226         <bp-checks.h> and <bp-semctl.h>.
12227         (semctl): Don't use CHECK_SEMCTL.
12229         [BZ #13550]
12230         * Makerules (elide-bp-thunks): Remove variable.
12231         (elide-routines.oS): Don't use $(elide-bp-thunks).
12232         (elide-routines.os): Likewise.
12233         (elide-routines.o): Likewise.
12234         (elide-routines.op): Likewise.
12235         (elide-routines.og): Likewise.
12236         (objects): Don't use $(bp-thunks).
12237         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
12238         include.
12239         (common-generated): Do not add s-proto-bp.d.
12240         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
12241         (int): Likewise.
12242         (typ): Likewise.
12243         Do not generate makefile rules for bounded-pointer thunks.
12244         * sysdeps/generic/bp-thunks.h: Remove file.
12245         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
12246         * sysdeps/unix/s-proto-bp.S: Likewise.
12248         [BZ #15062]
12249         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
12250         parts of result separately when argument is not close to line from
12251         -i to i and one part of argument is small.
12252         * math/k_casinhf.c (__kernel_casinhf): Likewise.
12253         * math/k_casinhl.c (__kernel_casinhl): Likewise.
12254         * math/libm-test.inc (cacos_test): Add more tests.
12255         (casin_test): Likewise.
12256         (casinh_test): Likewise.
12257         * sysdeps/i386/fpu/libm-test-ulps: Update.
12258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12260 2013-01-31  David S. Miller  <davem@davemloft.net>
12262         * po/de.po: Update from translation team.
12264 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
12266         * time/tzfile.c: Include stdint.h for SIZE_MAX.
12268 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
12270         * configure.in (_AC_PROG_CC_C89): New definition.
12271         * configure: Regenerate.
12273         * configure.in (AC_PROG_CPP): New definition.
12274         * configure: Regenerate.
12276 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
12278         * debug/tst-backtrace.h: New file.
12279         * debug/tst-backtrace2.c: Include tst-backtrace.h.
12280         (ret): Remove variable.
12281         (x): Likewise.
12282         (FAIL): Remove macro.
12283         (NO_INLINE): Likewise.
12284         (fn1): Use match function instead of strstr.
12285         * debug/tst-backtrace3.c: Include tst-backtrace.h.
12286         (ret): Remove variable.
12287         (x): Likewise.
12288         (FAIL): Remove macro.
12289         (NO_INLINE): Likewise.
12290         (fn): Use match function instead of strstr.
12291         * debug/tst-backtrace4.c: Include tst-backtrace.h.
12292         (ret): Remove variable.
12293         (x): Likewise.
12294         (FAIL): Remove macro.
12295         (NO_INLINE): Likewise.
12296         (handle_signal): Use match function instead of strstr.
12297         * debug/tst-backtrace5.c: Include tst-backtrace.h.
12298         (ret): Remove variable.
12299         (x): Likewise.
12300         (FAIL): Remove macro.
12301         (NO_INLINE): Likewise.
12302         (handle_signal): Use match function instead of strstr.
12304 2013-01-23  Roland McGrath  <roland@hack.frob.com>
12306         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
12308 2013-01-23  David S. Miller  <davem@davemloft.net>
12310         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
12311         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
12312         argument of CAS if possible.
12313         * sysdeps/sparc/sparc64/bits/atomic.h
12314         (__arch_compare_and_exchange_val_32_acq): Likewise.
12315         (__arch_compare_and_exchange_val_64_acq): Likewise.
12317 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
12319         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
12320         * sysdeps/posix/ulimit.c: ... this.
12321         Include <limits.h>.
12322         * sysdeps/unix/bsd/ulimit.c: Remove file.
12324 2013-01-23  Adam Conrad  <adconrad@0c3.net>
12326         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
12327         (LDFLAGS-tst-array5): Likewise.
12329 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
12331         [BZ #15036]
12332         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
12333         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
12334         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
12335         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
12337 2013-01-21  David S. Miller  <davem@davemloft.net>
12339         * sysdeps/sparc/backtrace.c: New file.
12340         * sysdeps/sparc/sparc32/backtrace.h: New file.
12341         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
12342         * sysdeps/sparc/sparc64/backtrace.h: New file.
12343         * sysdeps/sparc/sparc64/backtrace.c: Delete.
12344         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
12345         -funwind-tables.
12347 2013-01-21  Andreas Schwab  <schwab@suse.de>
12349         [BZ #15020]
12350         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
12351         closed its stdout.
12353 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
12355         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
12356         "mpa2.h".
12357         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12359 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
12360             Mark Mitchell  <mark@codesourcery.com>
12361             Tom de Vries  <tom@codesourcery.com>
12362             Paul Pluzhnikov  <ppluzhnikov@google.com>
12364         * debug/tst-backtrace2.c: New file.
12365         * debug/tst-backtrace3.c: Likewise.
12366         * debug/tst-backtrace4.c: Likewise.
12367         * debug/tst-backtrace5.c: Likewise.
12368         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
12369         (CFLAGS-tst-backtrace3.c): Likewise.
12370         (CFLAGS-tst-backtrace4.c): Likewise.
12371         (CFLAGS-tst-backtrace5.c): Likewise.
12372         (LDFLAGS-tst-backtrace2): Likewise.
12373         (LDFLAGS-tst-backtrace3): Likewise.
12374         (LDFLAGS-tst-backtrace4): Likewise.
12375         (LDFLAGS-tst-backtrace5): Likewise.
12376         (tests): Add new tests tst-backtrace2, tst-backtrace3,
12377         tst-backtrace4 and tst-backtrace5.
12379 2013-01-18  Anton Blanchard  <anton@samba.org>
12380             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12382         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
12383         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
12384         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
12385         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
12386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12387         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
12388         "+r" and remove output regs list as redundant.  Add explicit inline
12389         asm to specify register of return val to work around compiler codegen
12390         bug.  Remove (int) cast on return value.  Add return type parameter to
12391         use in macro so that this macro does not truncate return value for
12392         64-bit values.
12393         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
12394         pass to INTERNAL_VSYSCALL_NCS.
12395         (INLINE_VSYSCALL): Add 'long int' as return type to
12396         INTERNAL_VSYSCALL_NCS macro invocation.
12397         (INTERNAL_VSYSCALL): Add 'long int' as return type to
12398         INTERNAL_VSYSCALL_NCS macro invocation.
12399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12401 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12403         [BZ #14496]
12404         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
12405         Fix application of SIMD FP exception mask.
12407         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
12408         mp_no from a power of two.
12409         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
12410         __mpexp_twomm1.  Use __pow_mp.
12412         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
12413         multiplication.
12415 2013-01-17  David S. Miller  <davem@davemloft.net>
12417         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12419 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
12421         [BZ #15023]
12422         * include/complex.h: Condition contents on [!_COMPLEX_H].
12423         (__kernel_casinhf): New prototype.
12424         (__kernel_casinh): Likewise.
12425         (__kernel_casinhl): Likewise.
12426         * math/Makefile (libm_calls): Add k_casinh.
12427         * math/k_casinh.c: New file.
12428         * math/k_casinhf.c: Likewise.
12429         * math/k_casinhl.c: Likewise.
12430         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
12431         finite nonzero arguments.
12432         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
12433         finite nonzero arguments.
12434         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
12435         finite nonzero arguments.
12436         * math/s_casinh.c: Do not include <float.h>.
12437         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
12438         * math/s_casinhf.c: Do not include <float.h>.
12439         (__casinhf): Move code for finite nonzero arguments to
12440         k_casinhf.c.
12441         * math/s_casinhl.c: Do not include <float.h>.
12442         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
12443         redefine.
12444         (__casinhl): Move code for finite nonzero arguments to
12445         k_casinhl.c.
12446         * math/libm-test.inc (cacos_test): Add more tests.
12447         * sysdeps/i386/fpu/libm-test-ulps: Update.
12448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12450 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
12452         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
12453         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
12454         [!HAVE_MREMAP]: Remove [defined linux] case.
12455         * malloc/arena.c: Do not include <malloc-sysdep.h>.
12457 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
12459         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
12461 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
12463         * elf/elf.h (R_386_SIZE32): New relocation.
12464         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
12465         R_386_SIZE32.
12466         (elf_machine_rela): Likewise.
12467         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12468         R_X86_64_SIZE64 and R_X86_64_SIZE32.
12470 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
12472         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
12473         (FP_FAST_FMA): Do not define.
12474         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
12475         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
12476         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
12477         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
12478         !_SOFT_FLOAT]: Likewise.
12479         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
12480         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
12481         value.
12482         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
12483         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
12484         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
12485         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
12486         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
12487         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
12488         file.
12490 2013-01-16  Andreas Schwab  <schwab@suse.de>
12492         [BZ #14327]
12493         * include/stdlib.h (__mktemp): Add declaration.
12494         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
12495         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
12497 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12499         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
12500         definitions.
12501         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12502         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
12503         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
12504         definitions here.
12505         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
12506         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
12507         definitions.
12508         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
12509         and ONE.
12510         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
12511         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
12512         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
12513         definitions.
12514         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
12515         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
12516         definitions.
12517         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
12519         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
12521 2013-01-15  David S. Miller  <davem@davemloft.net>
12523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12524         trunc{,f} to libm-sysdep_routes.
12525         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
12527         file.
12528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
12529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
12530         file.
12531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
12532         file.
12533         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
12534         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
12535         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
12536         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
12537         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
12538         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
12539         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
12540         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
12542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12543         nearbyint{,f} to libm-sysdep_routes.
12544         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
12546         New file.
12547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
12548         file.
12549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
12550         New file.
12551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
12552         file.
12553         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
12554         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
12555         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
12556         file.
12557         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
12558         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
12559         file.
12560         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
12561         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
12562         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
12564         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12565         libc_feholdexcept and libc_fesetenv.
12567 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
12569         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
12571 2013-01-14  David S. Miller  <davem@davemloft.net>
12573         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
12574         (SPARC_ASM_VIS2_IFUNC): Likewise.
12575         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
12576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
12577         use of 'siam' instruction.
12578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
12579         Likewise.
12580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
12581         Likewise.
12582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
12583         Likewise.
12584         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
12585         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
12586         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
12587         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
12588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
12589         file.
12590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
12591         file.
12592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
12593         file.
12594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
12595         file.
12596         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
12597         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
12598         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
12599         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
12600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
12601         new VIS2 routines.
12602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12605         Likewise.
12606         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12607         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12608         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12609         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
12611         routines to libm-sysdep_routines.
12612         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12615         fdim/fdimf to libm-sysdep_routines.
12616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
12617         file.
12618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
12619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
12620         file.
12621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
12622         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
12623         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
12624         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
12625         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
12626         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
12627         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
12629 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12631         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
12632         to optimize copies.
12634         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
12635         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12636         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12638         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
12639         local variable MPTWO.
12640         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12641         Likewise.
12643 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
12645         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
12646         GLOB_NOESCAPE.
12648 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
12650         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
12652 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
12654         * manual/pattern.texi (glob_t): Document gl_flags.
12655         (glob64_t): Likewise.
12657 2013-01-11  David S. Miller  <davem@davemloft.net>
12659         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
12660         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
12661         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
12662         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
12663         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
12664         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
12665         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
12666         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
12667         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
12668         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
12669         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
12670         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
12671         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
12673         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12674         sparc V9 rather than using V8 code.
12675         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12676         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12678         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12679         Move to...
12680         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
12681         Here.
12683 2013-01-11  Roland McGrath  <roland@hack.frob.com>
12685         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
12686         not in the main loop.
12687         * configure: Regenerated.
12689 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
12691         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
12692         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
12693         to just #else.
12694         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
12695         [!__GLIBC_HAVE_LONG_LONG] case.
12696         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
12697         condition to just #else.
12698         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
12699         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
12700         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
12701         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
12702         unconditional.
12703         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
12704         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
12705         #elif condition to just #else.
12706         * sysdeps/unix/sysv/linux/sys/sysmacros.h
12707         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
12708         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
12709         #elif condition to just #else.
12711 2013-01-11  Steve Ellcey  <sellcey@mips.com>
12713         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
12714         (EF_MIPS_ARCH_64): Fix value.
12715         (EF_MIPS_ARCH_32R2): New.
12716         (EF_MIPS_ARCH_64R2): New.
12718 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
12720         * Makeconfig (+link-pie-before-libc): New.
12721         (+link-pie-after-libc): Likewise.
12722         (+link-pie-tests): Likewise.
12723         (+link-pie): Rewritten.
12724         (link-before-libc): Remove $(config-LDFLAGS).
12725         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
12726         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
12727         (config-LDFLAGS): Renamed to ...
12728         (rtld-LDFLAGS): This.
12729         (rtld-tests-LDFLAGS): New macro.
12730         (link-libc-rpath-link): Likewise.
12731         (link-libc-tests-rpath-link): Likewise.
12732         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
12733         (link-libc): Prepand $(link-libc-rpath-link).
12734         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
12735         (test-program-prefix): New macro.
12736         (test-via-rtld-prefix): Likewise.
12737         (test-program-cmd): Likewise.
12738         (host-test-program-cmd): Likewise.
12739         * Makefile ($(common-objpfx)testrun.sh): Replace
12740         $(run-program-prefix) with $(test-program-prefix).
12741         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
12742         $(rtld-LDFLAGS).
12743         ($(common-objpfx)shlib.lds): Likewise.
12744         (build-module-helper): Likewise.
12745         ($(common-objpfx)format.lds): Likewise.
12746         * Rules (binaries-pie-tests): New.
12747         (binaries-pie-notests): Likewise.
12748         (binaries-pie): Rewritten.
12749         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
12750         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
12751         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
12752         (make-test-out): Replace $(host-built-program-cmd) with
12753         $(host-test-program-cmd).
12754         * config.make.in (build-hardcoded-path-in-tests): New variable.
12755         * configure.in (--enable-hardcoded-path-in-tests): New configure
12756         option.
12757         (hardcoded_path_in_tests): New AC_SUBST.
12758         * configure: Regenerated.
12759         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
12760         $(built-program-cmd) with $(test-program-cmd).
12761         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
12762         (test_program_cmd): This.
12763         * elf/Makefile ($(objpfx)order.out): Run test with
12764         $(test-program-prefix).
12765         ($(objpfx)order2.out): Likewise.
12766         ($(objpfx)tst-initorder.out): Likewise.
12767         ($(objpfx)tst-initorder2.out): Likewise.
12768         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
12769         $(test-program-cmd).
12770         ($(objpfx)tst-array1-static.out): Likewise.
12771         ($(objpfx)tst-array2.out): Likewise.
12772         ($(objpfx)tst-array3.out): Likewise.
12773         ($(objpfx)tst-array4.out): Likewise.
12774         ($(objpfx)tst-array5.out): Likewise.
12775         ($(objpfx)tst-array5-static.out): Likewise.
12776         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
12777         $(test-program-cmd).
12778         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
12779         $(run-program-prefix) with $(test-program-prefix).
12780         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
12781         (test_program_prefix): This.
12782         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
12783         $(run-program-prefix) with $(test-program-prefix).
12784         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
12785         (test_program_prefix): This.
12786         * iconvdata/tst-tables.sh: Likewise.
12787         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
12788         $(run-program-prefix) with $(test-program-prefix).
12789         ($(objpfx)tst-translit.out): Likewise.
12790         ($(objpfx)tst-gettext2.out): Likewise.
12791         ($(objpfx)tst-gettext4.out): Likewise.
12792         ($(objpfx)tst-gettext6.out): Likewise.
12793         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
12794         (test_program_prefix): This.
12795         * intl/tst-gettext2.sh: Likewise.
12796         * intl/tst-gettext4.sh  Likewise.
12797         * intl/tst-gettext6.sh: Likewise.
12798         * intl/tst-translit.sh: Likewise.
12799         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
12800         with $(test-program-cmd).
12801         * libio/Makefile ($(objpfx)test-freopen.out): Replace
12802         $(run-program-prefix) with $(test-program-prefix).
12803         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
12804         (test_program_prefix): This.
12805         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
12806         $(run-program-prefix) with $(test-program-prefix).
12807         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
12808         (test_program_prefix): This.
12809         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
12810         * posix/Makefile ($(objpfx)globtest.out): Replace
12811         $(run-via-rtld-prefix) and $(test-wrapper) with
12812         $(test-program-prefix) and $(test-via-rtld-prefix).
12813         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
12814         $(test-program-prefix).
12815         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
12816         $(host-test-program-cmd).
12817         (tst-spawn-ARGS): Likewise.
12818         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
12819         $(test-program-prefix).
12820         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
12821         (test_via_rtld_prefix): This.
12822         (test_wrapper): Renamed to ...
12823         (test_program_prefix): This.
12824         (run_program_prefix): Replaced by test_program_prefix.
12825         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
12826         (test_program_prefix): This.
12827         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
12828         with $(host-test-program-cmd).
12829         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
12830         $(run-program-prefix) with $(test-program-prefix).
12831         ($(objpfx)tst-printf.out): Likewise.
12832         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
12833         $(test-program-cmd).
12834         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
12835         (test_program_prefix): This.
12836         * stdio-common/tst-unbputc.sh: Likewise.
12837         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
12838         $(run-program-prefix) with $(test-program-prefix).
12839         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
12840         (test_program_prefix): This.
12841         * string/Makefile ($(objpfx)tst-svc.out):  Replace
12842         $(built-program-cmd) with $(test-program-cmd).
12844 2013-01-11  Andreas Jaeger  <aj@suse.de>
12846         [BZ #15003]
12847         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
12848         value. Sync with Linux 3.7.
12850 2013-01-10  David S. Miller  <davem@davemloft.net>
12852         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
12853         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12854         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12856 2013-01-10  Roland McGrath  <roland@hack.frob.com>
12858         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
12859         never set.
12860         * configure: Regenerated.
12862 2013-01-10  David S. Miller  <davem@davemloft.net>
12864         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12865         sparc V9 rather than using V8 code.
12866         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12867         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12869 2013-01-10  Roland McGrath  <roland@hack.frob.com>
12871         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
12872         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
12873         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
12874         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
12875         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
12876         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
12877         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
12878         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
12879         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
12880         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
12881         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
12882         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
12883         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
12884         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
12885         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
12886         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
12887         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
12888         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
12889         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
12890         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
12891         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
12892         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
12893         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
12894         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
12895         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
12896         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
12897         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
12899 2013-01-10  David S. Miller  <davem@davemloft.net>
12901         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12903 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
12905         * posix/Makefile (tests-static): New variable.
12906         (tests): Add $(tests-static).
12907         (tst-exec-static-ARGS): New variable.
12908         (tst-spawn-static-ARGS): Likewise.
12909         * posix/tst-exec-static.c: New file.
12910         * posix/tst-spawn-static.c: Likewise.
12911         * posix/tst-exec.c: Support run directly.
12912         * posix/tst-spawn.c: Likewise.
12914 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
12916         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
12917         long.
12918         * math/bits/mathcalls.h (llrint): Likewise.
12919         (llround): Likewise.
12920         * stdlib/stdlib.h (struct drand48_data): Likewise.
12921         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
12922         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
12923         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
12924         Likewise.
12925         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
12926         Likewise.
12927         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
12928         (elf_greg_t): Likewise.
12929         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
12930         (__jmp_buf): Likewise.
12931         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
12932         definitions.
12933         (llrint): Likewise, for all definitions.
12934         (llrintl): Likewise.
12936         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
12937         Remove [__GNUC__] condition.
12938         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
12939         condition to just [__USE_ISOC99].
12940         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
12942 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
12944         [BZ #14200]
12945         * sysdeps/unix/sysv/linux/x86/bits/environments.h
12946         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
12947         defined.
12948         (_POSIX_V6_ILP32_OFF32): Likewise.
12949         (_XBS5_ILP32_OFF32): Likewise.
12950         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
12951         (__ILP32_OFFBIG_LDFLAGS): Likewise.
12953 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12955         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
12957         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
12958         doubles __mpexp_twomm1.  Adjust usage.
12959         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
12960         Remove.
12962 2013-01-10  Andreas Schwab  <schwab@suse.de>
12964         [BZ #14964]
12965         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
12966         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
12968 2013-01-09  David S. Miller  <davem@davemloft.net>
12970         [BZ #15003]
12971         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
12972         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
12973         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
12974         TCP_FASTOPEN): Define.
12975         (tcp_repair_opt): New structure.
12976         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
12977         enum values.
12978         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
12979         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
12980         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
12981         (tcp_cookie_transactions): New structure.
12983 2013-01-09  Anton Blanchard  <anton@samba.org>
12985         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
12986         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
12987         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
12988         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
12990 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
12992         * include/features.h (__USE_ANSI): Remove.
12994 2013-01-09  Roland McGrath  <roland@hack.frob.com>
12996         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
12998         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
13000 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
13002         * sysdeps/s390/fpu/libm-test-ulps: Update.
13004         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13006         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
13007         (__acr): Likewise.
13008         (__cpy): Likewise.
13009         (norm): Likewise.
13010         (denorm): Likewise.
13011         (__mp_dbl): Likewise.
13012         (__dbl_mp): Likewise.
13013         (add_magnitudes): Likewise.
13014         (sub_magnitudes): Likewise.
13015         (__add): Likewise.
13016         (__sub): Likewise.
13017         (__mul): Likewise.
13018         (__inv): Likewise.
13019         (__dvd): Likewise.
13020         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
13021         (__acr): Likewise.
13022         (__cpy): Likewise.
13023         (norm): Likewise.
13024         (denorm): Likewise.
13025         (__mp_dbl): Likewise.
13026         (__dbl_mp): Likewise.
13027         (add_magnitudes): Likewise.
13028         (sub_magnitudes): Likewise.
13029         (__add): Likewise.
13030         (__sub): Likewise.
13031         (__mul): Likewise.
13032         (__inv): Likewise.
13033         (__dvd): Likewise.
13034         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
13035         (__acr): Likewise.
13036         (__cpy): Likewise.
13037         (norm): Likewise.
13038         (denorm): Likewise.
13039         (__mp_dbl): Likewise.
13040         (__dbl_mp): Likewise.
13041         (add_magnitudes): Likewise.
13042         (sub_magnitudes): Likewise.
13043         (__add): Likewise.
13044         (__sub): Likewise.
13045         (__mul): Likewise.
13046         (__inv): Likewise.
13047         (__dvd): Likewise.
13049 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
13051         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
13052         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
13053         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
13054         2 && __USE_EXTERN_INLINES]: Likewise.
13056 2013-01-08  Andreas Jaeger  <aj@suse.de>
13058         [BZ# 14985]
13059         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
13060         Remove.
13061         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13062         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13064 2013-01-07  Anton Blanchard  <anton@samba.org>
13066         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
13067         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13068         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
13069         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13070         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13071         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13072         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
13073         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13074         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13075         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13076         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13077         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13078         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13079         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13080         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13081         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13082         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13083         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13084         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13085         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13086         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13087         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
13088         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13089         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13090         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
13091         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13092         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13093         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13094         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
13095         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13096         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13097         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13098         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13099         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13100         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13101         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13102         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13103         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13104         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
13105         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13106         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
13107         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13108         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13110 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
13112         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
13113         (__MALLOC_PMT): Likewise.
13114         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
13115         [__GNUC__], only on [_LIBC].
13116         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13117         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
13118         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13119         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
13120         forward declaration.
13121         (realloc_hook_ini): Likewise.
13122         (memalign_hook_ini): Likewise.
13123         (__libc_memalign): Do not use __MALLOC_PMT in variable
13124         declaration.
13125         (__libc_valloc): Likewise.
13126         (__libc_pvalloc): Likewise.
13127         (__libc_calloc): Likewise.
13128         (__posix_memalign): Likewise.
13130         [BZ #14996]
13131         * math/s_casinh.c: Include <float.h>.
13132         (__casinh): Do not do computation with squaring and square root
13133         for large arguments.
13134         * math/s_casinhf.c: Include <float.h>.
13135         (__casinhf): Do not do computation with squaring and square root
13136         for large arguments.
13137         * math/s_casinhl.c: Include <float.h>.
13138         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
13139         (__casinhl): Do not do computation with squaring and square root
13140         for large arguments.
13141         * math/libm-test.inc (casin_test): Add more tests.
13142         (casinh_test): Likewise.
13143         * sysdeps/i386/fpu/libm-test-ulps: Update.
13144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13146 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
13148         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
13149         (__x86_64_raw_data_cache_size): Likewise.
13150         (__x86_64_data_cache_size_half): Likewise.
13151         (__x86_64_raw_data_cache_size_half): Likewise.
13152         (__x86_64_shared_cache_size): Likewise.
13153         (__x86_64_raw_shared_cache_size): Likewise.
13154         (__x86_64_shared_cache_size_half): Likewise.
13155         (__x86_64_raw_shared_cache_size_half): Likewise.
13156         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
13157         to ...
13158         (__x86_data_cache_size): This.
13159         (__x86_64_raw_data_cache_size): Renamed to ...
13160         (__x86_raw_data_cache_size): This.
13161         (__x86_64_data_cache_size_half): Renamed to ...
13162         (__x86_data_cache_size_half): This.
13163         (__x86_64_raw_data_cache_size_half): Renamed to ...
13164         (__x86_raw_data_cache_size_half): This.
13165         (__x86_64_shared_cache_size): Renamed to ...
13166         (__x86_shared_cache_size): This.
13167         (__x86_64_raw_shared_cache_size): Renamed to ...
13168         (__x86_raw_shared_cache_size): This.
13169         (__x86_64_shared_cache_size_half): Renamed to ...
13170         (__x86_shared_cache_size_half): This.
13171         (__x86_64_raw_shared_cache_size_half): Renamed to ...
13172         (__x86_raw_shared_cache_size_half): This.
13173         * sysdeps/x86_64/memcpy.S: Updated.
13174         * sysdeps/x86_64/memset.S: Likewise.
13175         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13176         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13177         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13179 2013-01-04  David S. Miller  <davem@davemloft.net>
13181         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13183 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
13185         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
13186         1 to avoid redefinition warning.
13187         (__USE_GNU): Don't define.
13188         (init_signaling_nan): Protoize.
13190         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13192 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13194         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
13195         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
13196         (__cpymn): Likewise.
13197         (norm): Remove commented code.
13198         (denorm): Likewise.
13199         (__mp_dbl): Likewise.
13200         (__inv): Likewise.
13201         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
13202         (__cpymn): Likewise.
13203         (norm): Remove commented code.
13204         (denorm): Likewise.
13205         (__mp_dbl): Likewise.
13206         (__inv): Likewise.
13208         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
13209         mp_no value for 1.0 and 2.0.
13210         (norm): Use RADIXI instead of radixi.d.
13211         (denorm): Likewise.
13212         (__mul): Use 0.0 instead of zero.d.
13213         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
13214         mp_no value for 1.0 and 2.0.
13215         (norm): Use RADIXI instead of radixi.d.
13216         (denorm): Likewise.
13217         (__mul): Use 0.0 instead of zero.d.
13219 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
13221         [BZ #14994]
13222         * math/s_casinh.c (__casinh): Reduce finite argument to first
13223         quadrant then set signs of results at the end.
13224         * math/s_casinhf.c (__casinhf): Likewise.
13225         * math/s_casinhl.c (__casinhl): Likewise.
13226         * math/libm-test.inc (casin_test): Add more tests.
13227         (casinh_test): Likewise.
13228         * sysdeps/i386/fpu/libm-test-ulps: Update.
13229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13231 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13233         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
13235         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
13237         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
13238         declarations.
13239         (denorm): Likewise.
13240         (__mp_dbl): Likewise.
13241         (__inv): Likewise.
13243         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
13244         and adjust the header comment.
13246         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
13247         variable name from declaration.
13249 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
13251         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13252         Initialize COMMON_CPUID_INDEX_7 element.
13253         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
13254         (CPUID_RTM): Likewise.
13255         (HAS_RTM): Likewise.
13256         (COMMON_CPUID_INDEX_7): New enum.
13258 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
13260         [BZ #14981]
13261         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
13262         size is zero, record memory as freed.
13264 2013-01-03  Andreas Jaeger  <aj@suse.de>
13266         * po/ia.po: Add new Interlingua translation.
13268 2012-01-03  Allan McRae  <allan@archlinux.org>
13270         * locale/programs/localedef.c: Fix description of '--posix' flag.
13272 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
13274         * NEWS: Update dates in second copyright notice.
13275         * README: Update copyright dates in example.
13276         * manual/libc.texinfo: Update copyright dates.
13277         * scripts/test-installation.pl: Update copyright date in --version
13278         output.
13280         * hurd/ctty-input.c: Fix copyright notice formatting.
13281         * hurd/ctty-output.c: Likewise.
13282         * hurd/dtable.c: Likewise.
13283         * hurd/hurd-raise.c: Likewise.
13284         * hurd/hurdprio.c: Likewise.
13285         * hurd/msgportdemux.c: Likewise.
13286         * misc/sys/file.h: Likewise.
13287         * misc/sys/ioctl.h: Likewise.
13288         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13289         * sysdeps/mach/hurd/chdir.c: Likewise.
13290         * sysdeps/mach/hurd/fchdir.c: Likewise.
13291         * sysdeps/mach/hurd/rename.c: Likewise.
13292         * sysdeps/mach/hurd/rmdir.c: Likewise.
13293         * sysdeps/mach/hurd/seekdir.c: Likewise.
13294         * sysdeps/mach/hurd/setsid.c: Likewise.
13295         * sysdeps/posix/wait3.c: Likewise.
13297         * All files with FSF copyright notices: Update copyright dates
13298         using scripts/update-copyrights.
13299         * intl/plural.c: Regenerated.
13300         * locale/programs/charmap-kw.h: Likewise.
13301         * locale/programs/locfile-kw.h: Likewise.
13303 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13305         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
13306         four values.
13308         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
13309         calculation loop and add branch prediction.
13311         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
13312         check access beyond bounds of m1np.
13314         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13315         MPTWO.
13316         (__inv): Remove local variable MPTWO to use the global
13317         constant.
13318         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
13319         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13320         variable MPTWO.
13321         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
13322         MP3HALFS static const.
13324 2013-01-01  David S. Miller  <davem@davemloft.net>
13326         * po/ca.po: Update from translation team.
13328 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
13330         * scripts/update-copyrights: New file.
13331         * Makeconfig: Reformat copyright notice.
13332         * ctype/ctype.h: Likewise.
13333         * debug/swprintf_chk.c: Likewise.
13334         * elf/dl-cache.c: Likewise.
13335         * elf/dl-debug.c: Likewise.
13336         * elf/dl-object.c: Likewise.
13337         * grp/initgroups.c: Likewise.
13338         * hurd/Makefile: Likewise.
13339         * hurd/hurd/signal.h: Likewise.
13340         * hurd/hurdfault.c: Likewise.
13341         * hurd/hurdioctl.c: Likewise.
13342         * hurd/hurdlookup.c: Likewise.
13343         * hurd/intr-msg.c: Likewise.
13344         * iconv/gconv_open.c: Likewise.
13345         * libio/swprintf.c: Likewise.
13346         * locale/lc-ctype.c: Likewise.
13347         * locale/nl_langinfo.c: Likewise.
13348         * mach/Machrules: Likewise.
13349         * mach/Makefile: Likewise.
13350         * malloc/obstack.h: Likewise.
13351         * manual/Makefile: Likewise.
13352         * manual/tsort.awk: Likewise.
13353         * misc/bits/stab.def: Likewise.
13354         * nis/nis_print_group_entry.c: Likewise.
13355         * nis/nis_table.c: Likewise.
13356         * nis/nss_compat/compat-pwd.c: Likewise.
13357         * nis/nss_compat/compat-spwd.c: Likewise.
13358         * po/Makefile: Likewise.
13359         * posix/fnmatch.c: Likewise.
13360         * posix/regex.h: Likewise.
13361         * resolv/Makefile: Likewise.
13362         * resolv/nss_dns/dns-network.c: Likewise.
13363         * resolv/res_hconf.c: Likewise.
13364         * scripts/gen-sorted.awk: Likewise.
13365         * soft-fp/soft-fp.h: Likewise.
13366         * stdio-common/printf.h: Likewise.
13367         * stdlib/monetary.h: Likewise.
13368         * stdlib/random.c: Likewise.
13369         * stdlib/random_r.c: Likewise.
13370         * sysdeps/generic/Makefile: Likewise.
13371         * sysdeps/gnu/Makefile: Likewise.
13372         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13373         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13374         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13375         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13376         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13377         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13378         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13379         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13380         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13381         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13382         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13383         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13384         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13385         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13386         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
13387         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13388         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13389         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13390         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13391         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13392         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13393         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13394         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13395         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13396         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
13397         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13398         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13399         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
13400         * sysdeps/mach/hurd/errnos.awk: Likewise.
13401         * sysdeps/mach/hurd/fork.c: Likewise.
13402         * sysdeps/mach/hurd/getcwd.c: Likewise.
13403         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
13404         * sysdeps/mach/hurd/mmap.c: Likewise.
13405         * sysdeps/mach/hurd/utimes.c: Likewise.
13406         * sysdeps/mach/hurd/xmknod.c: Likewise.
13407         * sysdeps/posix/profil.c: Likewise.
13408         * sysdeps/posix/readdir_r.c: Likewise.
13409         * sysdeps/powerpc/bits/mathdef.h: Likewise.
13410         * sysdeps/powerpc/bits/setjmp.h: Likewise.
13411         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
13412         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13413         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13414         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13415         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13416         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13417         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13418         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13419         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13420         * sysdeps/pthread/lio_listio.c: Likewise.
13421         * sysdeps/sparc/dl-procinfo.h: Likewise.
13422         * sysdeps/unix/i386/sysdep.S: Likewise.
13423         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
13424         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
13425         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
13426         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
13427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13428         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
13429         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
13430         * sysdeps/unix/sysv/linux/speed.c: Likewise.
13431         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
13432         * sysdeps/wordsize-32/divdi3.c: Likewise.
13433         * time/sys/time.h: Likewise.
13434         * wcsmbs/Makefile: Likewise.
13436 2013-01-01  David S. Miller  <davem@davemloft.net>
13438         * po/fr.po: Update from translation team.
13440         * catgets/gencat.c: Update copyright year.
13441         * csu/version.c: Likewise.
13442         * debug/catchsegv.sh: Likewise.
13443         * debug/pcprofiledump.c: Likewise.
13444         * debug/xtrace.sh: Likewise.
13445         * elf/ldconfig.c: Likewise.
13446         * elf/ldd.bash.in: Likewise.
13447         * elf/pldd.c: Likewise.
13448         * elf/sotruss.ksh: Likewise.
13449         * elf/sprof.c: Likewise.
13450         * iconv/iconv_prog.c: Likewise.
13451         * iconv/iconvconfig.c: Likewise.
13452         * locale/programs/locale.c: Likewise.
13453         * locale/programs/localedef.c: Likewise.
13454         * login/programs/pt_chown.c: Likewise.
13455         * malloc/memusage.sh: Likewise.
13456         * malloc/memusagestat.c: Likewise.
13457         * malloc/mtrace.pl: Likewise.
13458         * nscd/nscd.c: Likewise.
13459         * nss/getent.c: Likewise.
13460         * nss/makedb.c: Likewise.
13461         * posix/getconf.c: Likewise.
13463 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
13465         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
13466         numbers.
13468 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
13470         * math/bits/mathcalls.h (modf): Use __nonnull.
13472 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
13474         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
13475         (split): Use macro CN instead of the bare value.
13476         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
13477         could be used.
13478         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
13479         instead of the bare value.
13480         (power1): Likewise.
13482 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13484         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
13485         __ATAN_TWOM.
13486         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13488         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
13489         their values.
13490         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13491         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13492         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
13493         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13495 2012-12-28  Andreas Jaeger  <aj@suse.de>
13497         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
13498         values are from Linux 3.7.
13500         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
13501         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
13503 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13505         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
13506         TRUE case.
13508         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
13509         (norm): Likewise.
13510         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
13511         variables with preprocessor constants.
13512         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13513         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13514         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13516 2012-12-27  Bruno Haible  <bruno@clisp.org>
13518         [BZ #14317]
13519         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
13520         only if needed.
13522 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13524         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
13525         and use variable directly.
13526         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
13528         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13529         MPONE.
13530         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
13531         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13532         variable MPONE.
13533         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
13534         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13535         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
13536         include directive.  Remove local variable MPONE.
13537         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
13538         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
13539         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13541 2012-12-25  David S. Miller  <davem@davemloft.net>
13543         * version.h (RELEASE): Set to "development".
13544         (VERSION): Set to "2.17.90".
13545         * NEWS: Add 2.18 section.
13547 2012-12-21  David S. Miller  <davem@davemloft.net>
13549         * po/hr.po: Update from translation team.
13551 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13553         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
13555 2012-12-19  Steve Ellcey  <sellcey@mips.com>
13557         * NEWS:  Mention new memcpy for MIPS.
13559 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13561         * manual/contrib.texi (Contributors): Spelling correction.
13563 2012-12-15  David S. Miller  <davem@davemloft.net>
13565         * po/ru.po: Update from translation team.
13567 2012-12-13  David S. Miller  <davem@davemloft.net>
13569         * NEWS: Mention IFUNC testsuite enhancements.
13571         * po/pl.po: Update from translation team.
13572         * po/bg.po: Likewise.
13574         * manual/contrib.texi (Contributors): Update entries for Hongjiu
13575         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
13577 2012-12-11  David S. Miller  <davem@davemloft.net>
13579         * po/sv.po: Update from translation team.
13581         * po/vi.po: Update from translation team.
13583         * po/cs.po: Update from translation team.
13585         * po/de.po: Update from translation team.
13586         * po/eo.po: Likewise.
13587         * po/nl.po: Likewise.
13589 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13591         [BZ #14246]
13592         * manual/argp.texi (Argp Helper Functions): Move node to follow
13593         Argp Parsing State.
13595         [BZ #14872]
13596         * manual/conf.texi (Limits on File System Capacity): Mention if
13597         terminating null is included in the max size.
13599 2012-12-10  Andreas Jaeger  <aj@suse.de>
13601         * po/cs.po: Update from translation team.
13603 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13605         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
13606         void pointer and cast to uintptr_t.
13607         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
13608         path.
13609         * sysdeps/s390/s390-64/memcpy.S: Likewise.
13610         * sysdeps/s390/s390-64/memset.S: Likewise.
13612 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
13614         [BZ #14833]
13615         * menual/message.texi (Message Translation): Fix typos.
13616         (Helper programs for gettext): Likewise.
13618 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
13620         [BZ #14898]
13621         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
13622         Change to -1.
13624 2012-12-07  David S. Miller  <davem@davemloft.net>
13626         * po/libc.pot: Update.
13628 2012-12-07  Richard Henderson  <rth@redhat.com>
13630         [BZ #10114]
13631         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
13632         normal/normal case to before the switch.
13633         (_FP_DIV): Likewise.
13635 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
13636             Mike Frysinger  <vapier@gentoo.org>
13638         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
13639         check for __NR_fadvise64_64.
13641 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
13643         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
13644         0, not just to plain "0" as a statement.
13645         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
13646         with cw.
13648 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
13650         * NEWS: Use sourceware.org in Bugzilla URL.
13652 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
13654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13655         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13657         * stdio-common/tst-put-error.c (do_test): Add newline to the
13658         padded test to ensure flush.
13660 2012-12-05  Jeff Law  <law@redhat.com>
13662         * sunrpc/etc.rpc (fedfs_admin): Add entry.
13664 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
13666         * README: Don't refer to ports add-on as distributed separately.
13667         Mention AArch64 in list of systems supported in the ports add-on.
13669         * LICENSES: Add more non-FSF copyright and license notices.
13671         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
13672         ((unused)).
13674         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
13676         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
13677         10000 as width of padded output.
13679 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
13681         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
13683         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
13684         variable LX with __attribute__ ((unused)).
13685         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13686         Likewise.
13687         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13688         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13689         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
13690         with __attribute__ ((unused)).
13692 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
13694         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
13696 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
13698         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
13699         (CFLAGS-nldbl-acos.c): New variable.
13700         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
13701         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
13702         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
13703         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
13704         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
13705         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
13706         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
13707         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
13708         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
13709         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
13710         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
13711         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
13712         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
13713         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
13714         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
13715         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
13716         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
13717         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
13718         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
13719         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
13720         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
13721         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
13722         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
13723         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
13724         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
13725         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
13726         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
13727         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
13728         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
13729         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
13730         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
13731         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
13732         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
13733         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
13734         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
13735         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
13736         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
13737         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
13738         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
13739         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
13740         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
13741         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
13742         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
13743         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
13744         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
13745         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
13746         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
13747         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
13748         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
13749         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
13750         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
13751         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
13752         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
13753         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
13754         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
13755         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
13756         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
13757         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
13758         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
13759         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
13760         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
13761         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
13762         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
13763         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
13764         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
13765         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
13766         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
13767         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
13768         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
13769         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
13770         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
13771         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
13772         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
13773         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
13774         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
13775         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
13776         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
13777         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
13778         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
13779         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
13780         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
13781         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
13782         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
13783         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
13784         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
13785         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
13786         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
13787         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
13788         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
13789         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
13790         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
13791         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
13792         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
13793         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
13794         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
13795         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
13796         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
13798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13799         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13801         [BZ #14914]
13802         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
13803         whole low double instead of just low 47 bits when splitting values
13804         into two parts.
13806 2012-12-03  Allan McRae  <allan@archlinux.org>
13808         * manual/stdio.texi (Predefined Printf Handlers): Remove
13809         @hsep and @vsep usage.
13811 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
13813         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
13814         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
13816 2012-12-03  Jeff Law  <law@redhat.com>
13818         * time/sys/time.h (settimeofday): Do not mark TV argument
13819         as __nonnull.
13821 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
13823         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
13824         when currently writing and seek to current position when not.
13825         * libio/Makefile (tests): Remove bug-fclose1.
13826         * libio/bug-fclose1.c: Delete.
13828 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
13830         * manual/arith.texi (feenableexcept): Fix typo.
13831         (fedisableexcept): Likewise.
13833 2012-11-30  Roland McGrath  <roland@hack.frob.com>
13835         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
13836         second, differently-typed declaration, rather than a cast.
13838 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13840         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
13841         * include/rpc/svc.h: ... here.
13843 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
13845         [BZ #13013]
13846         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
13847         depending n and resplen2 to catch cases where answer
13848         equals answerp2.
13850 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
13852         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
13853         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
13855 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
13857         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
13859 2012-11-29  Roland McGrath  <roland@hack.frob.com>
13861         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
13863 2012-11-28  Jeff Law  <law@redhat.com>
13865         [BZ #13761]
13866         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
13867         dataset_temporary.  Track alloca usage into alloca_used.
13868         If dataset is large allocate and release it via malloc/free.
13870 2012-06-04  Florian Weimer  <fweimer@redhat.com>
13872         [BZ #14197]
13873         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
13875 2012-11-28  David S. Miller  <davem@davemloft.net>
13877         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13879 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
13881         [BZ #14803]
13882         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
13883         of pi/2 rounded to nearest to 64 bits.
13884         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
13885         nearest to 64 bits.
13886         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
13887         bits.
13889 2012-11-28  Jeff Law <law@redhat.com>
13890             Martin Osvald <mosvald@redhat.com>
13892         [BZ #14889]
13893         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
13894         * sunrpc/svc.c: Include time.h.
13895         (__svc_accept_failed): New function.
13896         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
13897         any reason other than EINTR, call __svc_accept_failed.
13898         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
13899         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
13901 2012-11-28  Andreas Schwab  <schwab@suse.de>
13903         * scripts/abilist.awk: Also handle indirect functions in .opd
13904         section.
13906 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
13908         [BZ #13881]
13909         * sysdeps/x86/fpu/powl_helper.c: New file.
13910         * sysdeps/x86/fpu/Makefile: Likewise.
13911         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
13912         (p3): New object.
13913         (__ieee754_powl): Use __powl_helper for finite arguments except
13914         integer exponents below 8.
13915         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
13916         (p3): New object.
13917         (__ieee754_powl): Use __powl_helper for finite arguments except
13918         integer exponents below 8.
13919         * math/libm-test.inc (pow_test): Add more tests and enable some
13920         previously disabled tests.
13921         * sysdeps/i386/fpu/libm-test-ulps: Update.
13922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13924 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13925             Carlos O'Donell  <carlos_odonell@mentor.com>
13927         * nss/makedb.c (is_prime): Assert that input is odd and greater
13928         than 4.  Note that fact in a comment too.
13929         (next_prime): Add 4 to input.
13931 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13933         [BZ #11741]
13934         * libio/Makefile (tests): Add test case tst-fwrite-error.
13935         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
13936         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
13937         * libio/tst-fwrite-error.c: New test case.
13939 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
13941         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
13942         before casting to void *.
13943         * include/libc-internal.h (__pointer_type): New macro.
13944         (__integer_if_pointer_type_sub): Likewise.
13945         (__integer_if_pointer_type): Likewise.
13946         (cast_to_integer): Likewise.
13947         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
13948         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
13949         before casting to atomic64_t.
13950         (atomic_exchange_acq): Likewise.
13951         (__arch_exchange_and_add_body): Likewise.
13952         (__arch_add_body): Likewise.
13953         (atomic_add_negative): Likewise.
13954         (atomic_add_zero): Likewise.
13956 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
13958         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
13959         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
13960         (add_fdes): Likewise.
13961         (linear_search_fdes): Likewise.
13962         (binary_search_unencoded_fdes): Likewise.
13964 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
13966         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
13968 2012-11-24  Adam Conrad  <adconrad@0c3.net>
13970         * configure.in: Autodetect C++ header directories.
13971         * configure: Regenerated.
13973 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
13975         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
13977 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
13979         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13981 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
13983         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
13984         LDBL_MANT_DIG == 106]: Disable some tests.
13985         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
13986         Likewise.
13987         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
13988         Likewise.
13990         [BZ #14871]
13991         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
13992         input for small inputs.  Return +/- pi/2 for large inputs.
13993         * math/libm-test.inc (atan_test): Add more tests.
13995         * sysdeps/generic/unwind-dw2-fde-glibc.c
13996         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
13997         __attribute__ ((unused)).
13999         [BZ #14645]
14000         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
14001         x * y if x and y are nonzero and z is zero.
14003         [BZ #14811]
14004         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
14005         nonzero exponents with absolute value below 0x1p-117 to +/-
14006         0x1p-117.
14008         [BZ #14869]
14009         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
14010         up arguments below 2**-450, not just those below 2**-500.
14011         * math/libm-test.inc (hypot_test): Add another test.
14013         [BZ #14868]
14014         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14015         Return a+b for ratio over 2**120, not 2**60.
14016         * math/libm-test.inc (hypot_test): Add another test.
14018         * math/libm-test.inc (clog_test): Use
14019         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
14020         (clog10_test): Likewise.
14022         [BZ #6778]
14023         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
14025 2012-11-22  Andreas Schwab  <schwab@suse.de>
14027         * sysdeps/i386/fpu/libm-test-ulps: Update.
14029 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
14031         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
14032         printf output with newline.
14034 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
14036         [BZ #14865]
14037         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
14038         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
14039         -z nodlopen, -z initfirst and -z execstack support.
14040         * configure: Regenerated.
14042         * elf/elf.h (DF_1_NODIRECT): New macro.
14043         (DF_1_IGNMULDEF): Likewise.
14044         (DF_1_NOKSYMS): Likewise.
14045         (DF_1_NOHDR): Likewise.
14046         (DF_1_EDITED): Likewise.
14047         (DF_1_NORELOC): Likewise.
14048         (DF_1_SYMINTPOSE): Likewise.
14049         (DF_1_GLOBAUDIT): Likewise.
14050         (DF_1_SINGLETON): Likewise.
14051         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
14052         DT_1_SUPPORTED_MASK bits.
14053         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
14055 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
14057         * sysdeps/unix/make-syscalls.sh: Document prefixes.
14059 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
14061         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
14062         macro.
14064         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
14065         (sendmmsg): Move declarations...
14066         * socket/sys/socket.h: ... here.
14067         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
14068         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
14069         include it from...
14070         * socket/recvmmsg.c: ... this new file.
14071         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
14072         (sendmmsg): Rename to __sendmmsg, create weak alias and make
14073         definition of __sendmmsg hidden.
14074         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
14075         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
14076         Move ENOSYS stub into and include it from...
14077         * socket/sendmmsg.c: ... this new file.
14078         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
14079         (sysdep_routines): Move recvmmsg and sendmmsg...
14080         * socket/Makefile (routines): ... here.
14081         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
14082         (GLIBC_PRIVATE): Add __sendmmsg.
14083         * include/sys/socket.h (__sendmmsg): Add declarations.
14084         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
14085         sendmmsg.
14087 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
14089         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
14090         variable I1 with __attribute__ ((unused)).
14091         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14093 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
14095         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
14096         DUMMY variables with __attribute__ ((unused)).
14098         * bits/byteswap.h: Include <bits/types.h>.
14099         (__bswap_64): Use __uint64_t instead of unsigned long long int.
14101 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
14103         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
14104         string_t.  Do not manually set errno.
14105         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
14106         length with __strnlen.  Make sure to both set errno and return it on
14107         failure.
14109 2012-11-19  David S. Miller  <davem@davemloft.net>
14111         With help from Joseph Myers.
14112         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
14113         very large arguments properly.
14114         * math/libm-test.inc (atan_test): New tests.
14115         (atan2_test): New tests.
14116         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14117         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14119 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
14121         [BZ #14856]
14122         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
14123         Define to 3.
14125         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
14126         [POSIX] (EADDRNOTAVAIL): Likewise.
14127         [POSIX] (EAFNOSUPPORT): Likewise.
14128         [POSIX] (EALREADY): Likewise.
14129         [POSIX] (ECONNABORTED): Likewise.
14130         [POSIX] (ECONNREFUSED): Likewise.
14131         [POSIX] (ECONNRESET): Likewise.
14132         [POSIX] (EDESTADDRREQ): Likewise.
14133         [POSIX] (EDQUOT): Likewise.
14134         [POSIX] (EHOSTUNREACH): Likewise.
14135         [POSIX] (EIDRM): Likewise.
14136         [POSIX] (EISCONN): Likewise.
14137         [POSIX] (ELOOP): Likewise.
14138         [POSIX] (EMULTIHOP): Likewise.
14139         [POSIX] (ENETDOWN): Likewise.
14140         [POSIX] (ENETUNREACH): Likewise.
14141         [POSIX] (ENOBUFS): Likewise.
14142         [POSIX] (ENODATA): Likewise.
14143         [POSIX] (ENOLINK): Likewise.
14144         [POSIX] (ENOMSG): Likewise.
14145         [POSIX] (ENOPROTOOPT): Likewise.
14146         [POSIX] (ENOSR): Likewise.
14147         [POSIX] (ENOSTR): Likewise.
14148         [POSIX] (ENOTCONN): Likewise.
14149         [POSIX] (ENOTSOCK): Likewise.
14150         [POSIX] (EOPNOTSUPP): Likewise.
14151         [POSIX] (EOVERFLOW): Likewise.
14152         [POSIX] (EPROTO): Likewise.
14153         [POSIX] (EPROTONOSUPPORT): Likewise.
14154         [POSIX] (EPROTOTYPE): Likewise.
14155         [POSIX] (ESTALE): Likewise.
14156         [POSIX] (ETIME): Likewise.
14157         [POSIX] (ETXTBSY): Likewise.
14158         [POSIX] (EWOULDBLOCK): Likewise.
14159         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
14160         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
14161         [POSIX] (SEEK_CUR): Likewise.
14162         [POSIX] (SEEK_END): Likewise.
14163         [POSIX || UNIX98] (mode_t): Do not require.
14164         [POSIX] (off_t): Likewise.
14165         [POSIX] (pid_t): Likewise.
14166         [POSIX] (sys/stat.h): Do not allow header.
14167         [POSIX] (unistd.h): Likewise.
14168         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
14169         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
14170         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
14171         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
14172         require.
14173         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
14174         sigevent): Specify elements.
14175         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
14176         entry.
14177         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
14178         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
14180         * conform/data/cpio.h-data [POSIX]: Disable whole file.
14181         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
14182         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
14183         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
14184         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
14185         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
14186         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
14187         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
14188         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
14189         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
14190         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
14191         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
14192         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
14193         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
14194         Likewise.
14195         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
14196         Likewise.
14197         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
14198         Likewise.
14199         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
14200         Likewise.
14201         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
14202         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
14203         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
14204         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
14205         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
14206         Specify lower bound on value.
14207         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
14208         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
14209         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
14210         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
14211         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
14212         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
14213         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
14214         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
14215         value.
14216         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
14217         as optional.
14218         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
14219         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
14220         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
14221         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
14222         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
14223         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
14224         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
14225         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
14226         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
14227         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
14228         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
14229         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
14230         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
14231         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
14232         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
14233         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
14234         entry.
14235         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
14236         optional.
14237         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
14238         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
14239         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
14240         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
14241         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
14242         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
14243         Likewise.
14244         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
14245         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
14246         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
14247         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
14248         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
14249         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
14250         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
14251         as optional.
14252         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
14253         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
14254         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
14255         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
14256         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
14257         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
14258         specify as optional.
14259         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
14260         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
14261         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
14262         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
14263         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
14264         [XPG3] (NL_LANGMAX): Likewise.
14265         [POSIX || XPG3] (NL_MSGMAX): Likewise.
14266         [POSIX || XPG3] (NL_NMAX): Likewise.
14267         [POSIX || XPG3] (NL_SETMAX): Likewise.
14268         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
14269         [XPG3] (NZERO): Likewise.
14270         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
14271         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
14272         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
14273         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
14274         (REG_ERANGE): Expect.
14275         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
14276         optional-constant.
14277         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
14278         Use (void) in prototype.
14279         [POSIX] (*_t): Allow.
14280         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
14281         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
14282         (WRDE_BADVAL): Expect.
14284         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
14285         expect.
14286         [XPG3 || XPG4] (O_RSYNC): Likewise.
14287         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
14288         Likewise.
14289         [XPG3 || XPG4] (pthread_sigmask): Likewise.
14290         [XPG3 || XPG4] (sigqueue): Likewise.
14291         [XPG3 || XPG4] (sigtimedwait): Likewise.
14292         [XPG3 || XPG4] (sigwaitinfo): Likewise.
14293         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
14294         [XPG3 || XPG4] (vsnprintf): Likewise.
14295         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
14296         Likewise.
14297         [XPG3 || XPG4] (blksize_t): Likewise.
14298         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
14299         Likewise.
14300         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
14301         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
14302         [XPG3 || XPG4] (struct itimerspec): Likewise.
14303         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
14304         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
14305         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
14306         [XPG3 || XPG4] (clockid_t): Likewise.
14307         [XPG3 || XPG4] (timer_t): Likewise.
14308         [XPG3 || XPG4] (clock_getres): Likewise.
14309         [XPG3 || XPG4] (clock_gettime): Likewise.
14310         [XPG3 || XPG4] (clock_settime): Likewise.
14311         [XPG3 || XPG4] (nanosleep): Likewise.
14312         [XPG3 || XPG4] (timer_create): Likewise.
14313         [XPG3 || XPG4] (timer_delete): Likewise.
14314         [XPG3 || XPG4] (timer_gettime): Likewise.
14315         [XPG3 || XPG4] (timer_getoverrun): Likewise.
14316         [XPG3 || XPG4] (timer_settime): Likewise.
14317         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
14318         [XPG3 || XPG4] (getlogin_r): Likewise.
14319         [XPG3 || XPG4] (pread): Likewise.
14320         [XPG3 || XPG4] (pthread_atfork): Likewise.
14321         [XPG3 || XPG4] (pwrite): Likewise.
14323         [BZ #14835]
14324         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
14325         <bits/siginfo.h>.
14327 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
14329         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
14330         finalizing MALLSTREAM.
14332         * sysdeps/mach/hurd/syncfs.c: New file.
14334 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14336         [BZ #14719]
14337         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
14338         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
14339         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
14340         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
14341         (_nss_dns_gethostbyname4_r): Likewise.
14342         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
14343         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
14345 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
14347         [BZ #13763]
14348         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
14350 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
14352         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
14353         * elf/cache.c (print_entry): Print ",AArch64" for
14354         FLAG_AARCH64_LIB64
14356         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
14357         * elf/cache.c (print_entry): Print ",hard-float" for
14358         FLAG_ARM_LIBHF.
14360 2012-11-18  David S. Miller  <davem@davemloft.net>
14362         With help from Joseph Myers.
14363         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
14364         cutoff to 2**-13.
14365         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
14366         cutoff to 2**-25.
14367         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
14368         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
14369         small.
14370         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
14371         * math/libm-test.inc (y0_test): New tests.
14372         (y1_test): New tests.
14373         * sysdeps/i386/fpu/libm-test-ulps: Update.
14374         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14375         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14377 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
14379         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
14380         64-bit targets.
14381         * configure: Regenerated.
14383 2012-11-17  David S. Miller  <davem@davemloft.net>
14385         [BZ #14811]
14386         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
14387         nonzero exponents with absolute value below 0x1p-128 to +/-
14388         0x1p-128.
14390 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
14392         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
14394         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
14396         * posix/getconf-speclist.c: New file.
14397         * posix/posix-envs.def: Likewise.
14398         * posix/confstr.c (START_ENV_GROUP): New macro.
14399         (END_ENV_GROUP): Likewise.
14400         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14401         (KNOWN_PRESENT_ENV_STRING): Likewise.
14402         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14403         (UNKNOWN_ENVIRONMENT): Likewise.
14404         (confstr): Include posix-envs.def instead of handling
14405         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
14406         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
14407         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
14408         (END_ENV_GROUP): Likewise.
14409         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14410         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14411         (UNKNOWN_ENVIRONMENT): Likewise.
14412         (__sysconf): Include posix-envs.def instead of handling associated
14413         cases directly here.
14414         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
14415         preprocessing getconf-speclist.c rather than running getconf or
14416         generating empty file.
14418 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
14420         * scripts/check-local-headers.sh: Ignore 'mach' headers.
14422 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
14424         [BZ #14672]
14425         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
14427 2012-11-16  David S. Miller  <davem@davemloft.net>
14429         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
14430         smaller than LDBL_EPSILON/2.0L, just return xm1.
14432 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
14434         * elf/tst-array1.c (init): Set constructor priority to 1000.
14435         (fini): Set destructor priority to 1000.
14436         * elf/tst-array2dep.c: Likewise.
14438 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14440         [BZ #11741]
14441         * libio/fileops.c (_IO_new_file_write): Correctly return error.
14442         (_IO_new_file_xsputn): Also return EOF if none of the input
14443         data was written when overflow failed.
14444         * libio/iopadn.c (_IO_padn): Likewise.
14445         * libio/iowpadn.c (_IO_wpadn): Likewise.
14446         * stdio-common/tst-put-error.c: Add copyright notice.
14447         (do_test): Add case for printing padded string.
14448         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
14449         _IO_padn returned error.
14450         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
14451         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
14452         return EOF.
14454 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14456         * libio/libioP.h: Add comment note that the references to C++
14457         bits are now obsolete.
14459 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14461         * math/libm-test.inc (check_complex): Use asprintf.
14463 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
14465         * debug/pcprofiledump.c (print_version): Update copyright year.
14466         * malloc/memusagestat.c (print_version): Likewise.
14468 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
14470         [BZ #14831]
14471         * elf/Makefile (tests): Add tst-audit8.
14472         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
14473         ($(objpfx)tst-audit8.out): New target.
14474         (tst-audit8-ENV): New variable.
14475         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
14476         audit if l_reloc_result is NULL.
14477         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
14478         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
14479         * elf/tst-audit8.c: New file.
14481 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14483         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
14484         * misc/Makefile (CFLAGS-select.c): Define.
14485         * posix/Makefile (CFLAGS-pause.c): Define.
14487 2012-11-13  David S. Miller  <davem@davemloft.net>
14489         * crypt/Makefile: Move test targets after toplevel Rules
14490         inclusion.  Grab any necessary sysdep routines when linking.
14491         * crypt/md5.c (md5_process_block): Remove define, we will always
14492         name it __md5_process_block.
14493         (md5_finish_ctx): Update md5_process_block call.
14494         (md5_stream): Likewise.
14495         (md5_process_bytes): Likewise.
14496         (md5_process_block): Rename to __md5_process_block and move to ...
14497         * crypt/md5-block.c: ... here.
14498         * crypt/sha256.c (sha256_process_block): Move to ...
14499         * crypt/sha256-block.c: ... here.
14500         * crypt/sha512.c (sha512_process_block): Move to ...
14501         * crypt/sha512-block.c: ... here.
14502         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
14503         path.
14504         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
14505         * sysdeps/sparc/sparc64/multiarch/Makefile
14506         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
14507         crypt subdir.
14508         (localedef-aux): Add md5 crypto assembler when in locale subdir.
14509         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
14510         multiarch changes.
14511         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
14512         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
14513         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
14514         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
14515         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
14516         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
14517         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
14518         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
14519         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
14520         file.
14521         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
14522         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
14523         file.
14524         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
14526 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
14528         * timezone/tzselect.ksh: Update from tzcode git revision
14529         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
14530         * timezone/zdump.c: Likewise.
14531         * timezone/zic.c: Likewise.
14532         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
14533         in TZVERSION setting, not $(PKGVERSION).
14534         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
14535         REPORT_BUGS_TO settings.
14537         [BZ #14838]
14538         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
14539         macro.
14541 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14543         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
14544         detection to immediately after _FP_ROUND().
14545         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
14546         bits are 0.
14548 2012-11-11  David S. Miller  <davem@davemloft.net>
14550         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
14551         inttypes.h
14552         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
14553         __close rather than their public counterparts.
14555 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
14557         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
14558         file.
14559         [UNIX98] (sem_timedwait): Do not expect.
14560         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
14561         [XPG4 || UNIX98] (sockatmark): Do not expect.
14562         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
14563         (clock_getcpuclockid): Do not expect.
14564         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
14565         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
14566         Do not expect.
14567         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
14568         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
14569         [UNIX98] (vwscanf): Likewise.
14570         [UNIX98] (vswscanf): Likewise.
14572 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
14574         * timezone/version.h: Remove file.
14575         * timezone/README: Do not refer to version.h.
14576         * timezone/Makefile ($(objpfx)zic.o): New dependency on
14577         $(objpfx)version.h.
14578         ($(objpfx)zdump.o): Likewise.
14579         ($(objpfx)version.h): New target.
14581         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
14582         2012i.
14583         * timezone/README: Don't mention modification to tzselect.ksh.
14584         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
14585         work on unmodified tzselect.ksh.  Substitute version numbers in
14586         tzselect.ksh.
14588         * Makefile (format-me): Remove.
14589         (INSTALL): Adjust indentation.  Use commands directly instead of
14590         using $(format-me).
14592         * aclocal.m4 (ACX_PKGVERSION): New macro.
14593         (ACX_BUGURL): Likewise.
14594         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
14595         (PKGVERSION): New AC_DEFINE_UNQUOTED.
14596         (REPORT_BUGS_TO): Likewise.
14597         * configure: Regenerated.
14598         * config.h.in (PKGVERSION): New macro.
14599         (REPORT_BUGS_TO): Likewise.
14600         * config.make.in (PKGVERSION): New variable.
14601         (PKGVERSION_TEXI): Likewise.
14602         (REPORT_BUGS_TO): Likewise.
14603         (REPORT_BUGS_TEXI): Likewise.
14604         * Makefile (format-me): Use -I$(common-objpfx)manual.
14605         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
14606         ($(common-objpfx)manual/%): New target.
14607         (manual/%): Remove target.
14608         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
14609         (print_version): Use PKGVERSION.
14610         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
14611         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
14612         and REPORT_BUGS_TO.
14613         ($(objpfx)xtrace): Likewise.
14614         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
14615         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
14616         (print_version): Use PKGVERSION.
14617         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
14618         (do_version): Use PKGVERSION.
14619         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
14620         REPORT_BUGS_TO.
14621         (common-ldd-rewrite): Likewise.
14622         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
14623         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
14624         (print_version): Use PKGVERSION.
14625         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
14626         * elf/pldd.c (argp_program_bug_address): Remove variable.
14627         (more_help): New function.
14628         (argp): Use more_help.
14629         (print_version): Use PKGVERSION.
14630         * elf/sln.c (main): Use PKGVERSION.
14631         (usage): Use REPORT_BUGS_TO.
14632         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
14633         (top level): Use PKGVERSION.
14634         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
14635         (print_version): Use PKGVERSION.
14636         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
14637         (print_version): Use PKGVERSION.
14638         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
14639         (print_version): Use PKGVERSION.
14640         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
14641         (print_version): Use PKGVERSION.
14642         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
14643         (print_version): Use PKGVERSION.
14644         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
14645         (print_version): Use PKGVERSION.
14646         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
14647         and BUGURL.
14648         ($(objpfx)memusage): Likewise.
14649         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
14650         (do_version): Use PKGVERSION.
14651         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
14652         (print_version): Use PKGVERSION.
14653         * malloc/mtrace.pl ($PACKAGE): Remove variable.
14654         ($PKGVERSION): New variable.
14655         ($REPORT_BUGS_TO): Likewise.
14656         (usage): Use $REPORT_BUGS_TO.
14657         (top level): Use $PKGVERSION.
14658         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
14659         ($(objpfx)pkgvers.texi): New rule.
14660         ($(objpfx)stamp-pkgvers): Likewise.
14661         * manual/install.texi: Include pkgvers.texi.
14662         (--with-pkgversion): Document new configure option.
14663         (--with-bugurl): Likewise.
14664         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
14665         than necessarily for this particular distribution.  Use
14666         REPORT_BUGS_TO for where to report bugs.
14667         * INSTALL: Regenerated.
14668         * manual/libc.texinfo: Include pkgvers.texi.
14669         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
14670         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
14671         (print_version): Use PKGVERSION.
14672         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
14673         (print_version): Use PKGVERSION.
14674         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
14675         (print_version): Use PKGVERSION.
14676         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
14677         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
14678         macro.
14679         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
14680         (print_version): Use PKGVERSION.
14681         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
14682         (print_version): Use PKGVERSION.
14683         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
14684         and PKGVERSION.
14686         * timezone/checktab.awk: Update from tzcode 2012i.
14687         * timezone/ialloc.c: Likewise.
14688         * timezone/private.h: Likewise.
14689         * timezone/scheck.c: Likewise.
14690         * timezone/tzfile.h: Likewise.
14691         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
14692         (TZVERSION): Hardcode tzcode version number.
14693         * timezone/zdump.c: Update from tzcode 2012i.
14694         * timezone/zic.c: Likewise.
14695         * timezone/version.h: New file.
14696         * timezone/README: Describe version.h.  Update upstream location.
14698         [BZ #14824]
14699         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
14700         (mktemp): Enable declaration.
14701         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
14702         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
14703         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
14704         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
14705         Likewise.
14706         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
14707         Likewise.
14708         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
14709         Likewise.
14710         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
14711         Likewise.
14712         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
14713         Likewise.
14714         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
14715         Likewise.
14717         [BZ #14821]
14718         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
14719         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
14720         for copies of such integer values.
14721         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14722         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14724 2012-11-09  Andreas Jaeger  <aj@suse.de>
14726         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
14727         definitions and declarations that are provided by
14728         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14730 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14732         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
14733         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
14734         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
14735         definition.
14737 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14739         * elf/elf.h: Update comment before AArch64 relocations.
14741 2012-11-07  David S. Miller  <davem@davemloft.net>
14743         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
14744         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14745         (__start_context): Declare.
14746         (__makecontext_ret): Delete.
14747         (__makecontext): Hook up __start_context instead of
14748         __makecontext_ret.
14749         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
14750         (sysdep_routines): Add __start_context when in stdlib.
14752 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
14754         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
14755         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
14756         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
14757         hardcoded "nm".
14758         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
14759         (READELF): New variable.  Use it instead of hardcoded "readelf".
14761 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
14763         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
14764         * sysdeps/x86/Makefile: Here.
14765         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
14766         * sysdeps/x86/tst-xmmymm.sh: This.
14768 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
14770         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
14771         expectations.
14772         [UNIX98] (pthread_barrier_t): Do not expect.
14773         [UNIX98] (pthread_barrierattr_t): Likewise.
14774         [UNIX98] (pthread_spinlock_t): Likewise.
14775         [UNIX98] (pthread_barrier_destroy): Likewise.
14776         [UNIX98] (pthread_barrier_init): Likewise.
14777         [UNIX98] (pthread_barrier_wait): Likewise.
14778         [UNIX98] (pthread_barrierattr_destroy): Likewise.
14779         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
14780         [UNIX98] (pthread_barrierattr_init): Likewise.
14781         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
14782         [UNIX98] (pthread_getcpuclockid): Likewise.
14783         [UNIX98] (pthread_mutex_timedlock): Likewise.
14784         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
14785         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
14786         [UNIX98] (pthread_sigmask): Likewise.
14787         [UNIX98] (pthread_spin_destroy): Likewise.
14788         [UNIX98] (pthread_spin_init): Likewise.
14789         [UNIX98] (pthread_spin_lock): Likewise.
14790         [UNIX98] (pthread_spin_trylock): Likewise.
14791         [UNIX98] (pthread_spin_unlock): Likewise.
14792         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
14793         Do not expect.
14794         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
14795         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
14796         [XPG3 || XPG4] (pthread_cond_t): Likewise.
14797         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
14798         [XPG3 || XPG4] (pthread_key_t): Likewise.
14799         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
14800         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
14801         [XPG3 || XPG4] (pthread_once_t): Likewise.
14802         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
14803         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
14804         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
14805         [XPG3 || XPG4] (pthread_t): Likewise.
14807         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
14808         not expect.
14809         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
14811         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
14812         Change function return type to int.
14814         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
14815         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
14816         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
14817         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
14818         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
14819         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
14820         [!POSIX] (posix_madvise): Likewise.
14821         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
14822         && !UNIX98].
14823         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
14824         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
14825         (mode_t): Likewise.
14826         (posix_mem_offset): Likewise.
14827         (posix_typed_mem_get_info): Likewise.
14828         (posix_typed_mem_open): Likewise.
14830         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
14831         Change condition to [XOPEN2K8].
14833         * conform/conformtest.pl: Preprocess allow-header data with -x c
14834         instead of from stdin.
14835         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
14836         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
14837         [C99-based standards] (cerfc): Likewise.
14838         [C99-based standards] (cexp2): Likewise.
14839         [C99-based standards] (cexpm1): Likewise.
14840         [C99-based standards] (clog10): Likewise.
14841         [C99-based standards] (clog1p): Likewise.
14842         [C99-based standards] (clog2): Likewise.
14843         [C99-based standards] (clgamma): Likewise.
14844         [C99-based standards] (ctgamma): Likewise.
14845         [C99-based standards] (cerff): Likewise.
14846         [C99-based standards] (cerfcf): Likewise.
14847         [C99-based standards] (cexp2f): Likewise.
14848         [C99-based standards] (cexpm1f): Likewise.
14849         [C99-based standards] (clog10f): Likewise.
14850         [C99-based standards] (clog1pf): Likewise.
14851         [C99-based standards] (clog2f): Likewise.
14852         [C99-based standards] (clgammaf): Likewise.
14853         [C99-based standards] (ctgammaf): Likewise.
14854         [C99-based standards] (cerfl): Likewise.
14855         [C99-based standards] (cerfcl): Likewise.
14856         [C99-based standards] (cexp2l): Likewise.
14857         [C99-based standards] (cexpm1l): Likewise.
14858         [C99-based standards] (clog10l): Likewise.
14859         [C99-based standards] (clog1pl): Likewise.
14860         [C99-based standards] (clog2l): Likewise.
14861         [C99-based standards] (clgammal): Likewise.
14862         [C99-based standards] (ctgammal): Likewise.
14863         * conform/data/inttypes.h-data [C99-based standards]: Include
14864         stdint.h-data.  Remove all expectations for stdint.h contents.
14865         [C99-based standards] (PRI*): Do not allow.
14866         [C99-based standards] (SCN*): Likewise.
14867         [C99-based standards] (*_t): Likewise.
14868         [C99-based-standards] (PRId8): Expect macro.
14869         [C99-based-standards] (PRIi8): Likewise.
14870         [C99-based-standards] (PRIo8): Likewise.
14871         [C99-based-standards] (PRIu8): Likewise.
14872         [C99-based-standards] (PRIx8): Likewise.
14873         [C99-based-standards] (PRIX8): Likewise.
14874         [C99-based-standards] (SCNd8): Likewise.
14875         [C99-based-standards] (SCNi8): Likewise.
14876         [C99-based-standards] (SCNo8): Likewise.
14877         [C99-based-standards] (SCNu8): Likewise.
14878         [C99-based-standards] (SCNx8): Likewise.
14879         [C99-based-standards] (PRIdLEAST8): Likewise.
14880         [C99-based-standards] (PRIiLEAST8): Likewise.
14881         [C99-based-standards] (PRIoLEAST8): Likewise.
14882         [C99-based-standards] (PRIuLEAST8): Likewise.
14883         [C99-based-standards] (PRIxLEAST8): Likewise.
14884         [C99-based-standards] (PRIXLEAST8): Likewise.
14885         [C99-based-standards] (SCNdLEAST8): Likewise.
14886         [C99-based-standards] (SCNiLEAST8): Likewise.
14887         [C99-based-standards] (SCNoLEAST8): Likewise.
14888         [C99-based-standards] (SCNuLEAST8): Likewise.
14889         [C99-based-standards] (SCNxLEAST8): Likewise.
14890         [C99-based-standards] (PRIdFAST8): Likewise.
14891         [C99-based-standards] (PRIiFAST8): Likewise.
14892         [C99-based-standards] (PRIoFAST8): Likewise.
14893         [C99-based-standards] (PRIuFAST8): Likewise.
14894         [C99-based-standards] (PRIxFAST8): Likewise.
14895         [C99-based-standards] (PRIXFAST8): Likewise.
14896         [C99-based-standards] (SCNdFAST8): Likewise.
14897         [C99-based-standards] (SCNiFAST8): Likewise.
14898         [C99-based-standards] (SCNoFAST8): Likewise.
14899         [C99-based-standards] (SCNuFAST8): Likewise.
14900         [C99-based-standards] (SCNxFAST8): Likewise.
14901         [C99-based-standards] (PRId16): Likewise.
14902         [C99-based-standards] (PRIi16): Likewise.
14903         [C99-based-standards] (PRIo16): Likewise.
14904         [C99-based-standards] (PRIu16): Likewise.
14905         [C99-based-standards] (PRIx16): Likewise.
14906         [C99-based-standards] (PRIX16): Likewise.
14907         [C99-based-standards] (SCNd16): Likewise.
14908         [C99-based-standards] (SCNi16): Likewise.
14909         [C99-based-standards] (SCNo16): Likewise.
14910         [C99-based-standards] (SCNu16): Likewise.
14911         [C99-based-standards] (SCNx16): Likewise.
14912         [C99-based-standards] (PRIdLEAST16): Likewise.
14913         [C99-based-standards] (PRIiLEAST16): Likewise.
14914         [C99-based-standards] (PRIoLEAST16): Likewise.
14915         [C99-based-standards] (PRIuLEAST16): Likewise.
14916         [C99-based-standards] (PRIxLEAST16): Likewise.
14917         [C99-based-standards] (PRIXLEAST16): Likewise.
14918         [C99-based-standards] (SCNdLEAST16): Likewise.
14919         [C99-based-standards] (SCNiLEAST16): Likewise.
14920         [C99-based-standards] (SCNoLEAST16): Likewise.
14921         [C99-based-standards] (SCNuLEAST16): Likewise.
14922         [C99-based-standards] (SCNxLEAST16): Likewise.
14923         [C99-based-standards] (PRIdFAST16): Likewise.
14924         [C99-based-standards] (PRIiFAST16): Likewise.
14925         [C99-based-standards] (PRIoFAST16): Likewise.
14926         [C99-based-standards] (PRIuFAST16): Likewise.
14927         [C99-based-standards] (PRIxFAST16): Likewise.
14928         [C99-based-standards] (PRIXFAST16): Likewise.
14929         [C99-based-standards] (SCNdFAST16): Likewise.
14930         [C99-based-standards] (SCNiFAST16): Likewise.
14931         [C99-based-standards] (SCNoFAST16): Likewise.
14932         [C99-based-standards] (SCNuFAST16): Likewise.
14933         [C99-based-standards] (SCNxFAST16): Likewise.
14934         [C99-based-standards] (PRId32): Likewise.
14935         [C99-based-standards] (PRIi32): Likewise.
14936         [C99-based-standards] (PRIo32): Likewise.
14937         [C99-based-standards] (PRIu32): Likewise.
14938         [C99-based-standards] (PRIx32): Likewise.
14939         [C99-based-standards] (PRIX32): Likewise.
14940         [C99-based-standards] (SCNd32): Likewise.
14941         [C99-based-standards] (SCNi32): Likewise.
14942         [C99-based-standards] (SCNo32): Likewise.
14943         [C99-based-standards] (SCNu32): Likewise.
14944         [C99-based-standards] (SCNx32): Likewise.
14945         [C99-based-standards] (PRIdLEAST32): Likewise.
14946         [C99-based-standards] (PRIiLEAST32): Likewise.
14947         [C99-based-standards] (PRIoLEAST32): Likewise.
14948         [C99-based-standards] (PRIuLEAST32): Likewise.
14949         [C99-based-standards] (PRIxLEAST32): Likewise.
14950         [C99-based-standards] (PRIXLEAST32): Likewise.
14951         [C99-based-standards] (SCNdLEAST32): Likewise.
14952         [C99-based-standards] (SCNiLEAST32): Likewise.
14953         [C99-based-standards] (SCNoLEAST32): Likewise.
14954         [C99-based-standards] (SCNuLEAST32): Likewise.
14955         [C99-based-standards] (SCNxLEAST32): Likewise.
14956         [C99-based-standards] (PRIdFAST32): Likewise.
14957         [C99-based-standards] (PRIiFAST32): Likewise.
14958         [C99-based-standards] (PRIoFAST32): Likewise.
14959         [C99-based-standards] (PRIuFAST32): Likewise.
14960         [C99-based-standards] (PRIxFAST32): Likewise.
14961         [C99-based-standards] (PRIXFAST32): Likewise.
14962         [C99-based-standards] (SCNdFAST32): Likewise.
14963         [C99-based-standards] (SCNiFAST32): Likewise.
14964         [C99-based-standards] (SCNoFAST32): Likewise.
14965         [C99-based-standards] (SCNuFAST32): Likewise.
14966         [C99-based-standards] (SCNxFAST32): Likewise.
14967         [C99-based-standards] (PRId64): Likewise.
14968         [C99-based-standards] (PRIi64): Likewise.
14969         [C99-based-standards] (PRIo64): Likewise.
14970         [C99-based-standards] (PRIu64): Likewise.
14971         [C99-based-standards] (PRIx64): Likewise.
14972         [C99-based-standards] (PRIX64): Likewise.
14973         [C99-based-standards] (SCNd64): Likewise.
14974         [C99-based-standards] (SCNi64): Likewise.
14975         [C99-based-standards] (SCNo64): Likewise.
14976         [C99-based-standards] (SCNu64): Likewise.
14977         [C99-based-standards] (SCNx64): Likewise.
14978         [C99-based-standards] (PRIdLEAST64): Likewise.
14979         [C99-based-standards] (PRIiLEAST64): Likewise.
14980         [C99-based-standards] (PRIoLEAST64): Likewise.
14981         [C99-based-standards] (PRIuLEAST64): Likewise.
14982         [C99-based-standards] (PRIxLEAST64): Likewise.
14983         [C99-based-standards] (PRIXLEAST64): Likewise.
14984         [C99-based-standards] (SCNdLEAST64): Likewise.
14985         [C99-based-standards] (SCNiLEAST64): Likewise.
14986         [C99-based-standards] (SCNoLEAST64): Likewise.
14987         [C99-based-standards] (SCNuLEAST64): Likewise.
14988         [C99-based-standards] (SCNxLEAST64): Likewise.
14989         [C99-based-standards] (PRIdFAST64): Likewise.
14990         [C99-based-standards] (PRIiFAST64): Likewise.
14991         [C99-based-standards] (PRIoFAST64): Likewise.
14992         [C99-based-standards] (PRIuFAST64): Likewise.
14993         [C99-based-standards] (PRIxFAST64): Likewise.
14994         [C99-based-standards] (PRIXFAST64): Likewise.
14995         [C99-based-standards] (SCNdFAST64): Likewise.
14996         [C99-based-standards] (SCNiFAST64): Likewise.
14997         [C99-based-standards] (SCNoFAST64): Likewise.
14998         [C99-based-standards] (SCNuFAST64): Likewise.
14999         [C99-based-standards] (SCNxFAST64): Likewise.
15000         [C99-based-standards] (PRIdMAX): Likewise.
15001         [C99-based-standards] (PRIiMAX): Likewise.
15002         [C99-based-standards] (PRIoMAX): Likewise.
15003         [C99-based-standards] (PRIuMAX): Likewise.
15004         [C99-based-standards] (PRIxMAX): Likewise.
15005         [C99-based-standards] (PRIXMAX): Likewise.
15006         [C99-based-standards] (SCNdMAX): Likewise.
15007         [C99-based-standards] (SCNiMAX): Likewise.
15008         [C99-based-standards] (SCNoMAX): Likewise.
15009         [C99-based-standards] (SCNuMAX): Likewise.
15010         [C99-based-standards] (SCNxMAX): Likewise.
15011         [C99-based-standards] (PRIdPTR): Likewise.
15012         [C99-based-standards] (PRIiPTR): Likewise.
15013         [C99-based-standards] (PRIoPTR): Likewise.
15014         [C99-based-standards] (PRIuPTR): Likewise.
15015         [C99-based-standards] (PRIxPTR): Likewise.
15016         [C99-based-standards] (PRIXPTR): Likewise.
15017         [C99-based-standards] (SCNdPTR): Likewise.
15018         [C99-based-standards] (SCNiPTR): Likewise.
15019         [C99-based-standards] (SCNoPTR): Likewise.
15020         [C99-based-standards] (SCNuPTR): Likewise.
15021         [C99-based-standards] (SCNxPTR): Likewise.
15022         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
15023         allow.
15024         * conform/data/stdint.h-data: Update comments to clarify
15025         requirements.
15026         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
15027         type.
15028         [C99-based standards] (INT8_MAX): Likewise.
15029         [C99-based standards] (INT16_MIN): Likewise.
15030         [C99-based standards] (INT16_MAX): Likewise.
15031         [C99-based standards] (INT32_MIN): Likewise.
15032         [C99-based standards] (INT32_MAX): Likewise.
15033         [C99-based standards] (INT64_MIN): Likewise.
15034         [C99-based standards] (INT64_MAX): Likewise.
15035         [C99-based standards] (UINT8_MAX): Likewise.
15036         [C99-based standards] (UINT16_MAX): Likewise.
15037         [C99-based standards] (UINT32_MAX): Likewise.
15038         [C99-based standards] (UINT64_MAX): Likewise.
15039         [C99-based standards] (INT_LEAST8_MIN): Likewise.
15040         [C99-based standards] (INT_LEAST8_MAX): Likewise.
15041         [C99-based standards] (INT_LEAST16_MIN): Likewise.
15042         [C99-based standards] (INT_LEAST16_MAX): Likewise.
15043         [C99-based standards] (INT_LEAST32_MIN): Likewise.
15044         [C99-based standards] (INT_LEAST32_MAX): Likewise.
15045         [C99-based standards] (INT_LEAST64_MIN): Likewise.
15046         [C99-based standards] (INT_LEAST64_MAX): Likewise.
15047         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
15048         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
15049         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
15050         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
15051         [C99-based standards] (INT_FAST8_MIN): Likewise.
15052         [C99-based standards] (INT_FAST8_MAX): Likewise.
15053         [C99-based standards] (INT_FAST16_MIN): Likewise.
15054         [C99-based standards] (INT_FAST16_MAX): Likewise.
15055         [C99-based standards] (INT_FAST32_MIN): Likewise.
15056         [C99-based standards] (INT_FAST32_MAX): Likewise.
15057         [C99-based standards] (INT_FAST64_MIN): Likewise.
15058         [C99-based standards] (INT_FAST64_MAX): Likewise.
15059         [C99-based standards] (UINT_FAST8_MAX): Likewise.
15060         [C99-based standards] (UINT_FAST16_MAX): Likewise.
15061         [C99-based standards] (UINT_FAST32_MAX): Likewise.
15062         [C99-based standards] (UINT_FAST64_MAX): Likewise.
15063         [C99-based standards] (INTPTR_MIN): Likewise.
15064         [C99-based standards] (INTPTR_MAX): Likewise.
15065         [C99-based standards] (UINTPTR_MAX): Likewise.
15066         [C99-based standards] (INTMAX_MIN): Likewise.
15067         [C99-based standards] (INTMAX_MAX): Likewise.
15068         [C99-based standards] (UINTMAX_MAX): Likewise.
15069         [C99-based standards] (PTRDIFF_MIN): Likewise.
15070         [C99-based standards] (PTRDIFF_MAX): Likewise.
15071         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
15072         [C99-based standards] (SIZE_MAX): Likewise.
15073         [C99-based standards] (WCHAR_MAX): Likewise.
15074         [C99-based standards] (WINT_MAX): Likewise.
15075         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
15076         constraint on value.
15077         [C99-based standards] (WCHAR_MIN): Likewise.
15078         [C99-based standards] (WINT_MIN): Likewise.
15079         [C99-based standards] (*_t): Allow.
15080         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
15081         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
15082         Include math.h-data and complex.h-data.  Remove all expectations
15083         of math.h and complex.h contents.
15084         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
15085         at end of line.
15086         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
15087         (struct tm): Expect tag.
15088         [C99-based-standards] (wcstof): Expect function.
15089         [C99-based-standards] (wcstold): Likewise.
15090         [C99-based-standards] (wcstoll): Likewise.
15091         [C99-based-standards] (wcstoull): Likewise.
15092         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
15093         macro-int-constant.  Specify type.
15094         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
15095         constraint on value.
15096         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15097         Specify type.
15098         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
15099         Specify value.
15100         [ISO C standards]: Do not allow headers.
15101         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
15102         wcs[abcdefghijklmnopqrstuvwxyz]*.
15103         [ISO C standards] (*_t): Do not allow.
15104         * conform/data/wctype.h-data [C99-based standards] (iswblank):
15105         Expect function.
15106         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
15107         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15108         Specify type.
15109         [ISO C standards]: Do not allow headers.
15110         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
15111         is[abcdefghijklmnopqrstuvwxyz]*.
15112         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
15113         to[abcdefghijklmnopqrstuvwxyz]*.
15114         [ISO C standards] (*_t): Do not allow.
15115         * conform/data/stdalign.h-data: New file.
15116         * conform/data/stdbool.h-data: Likewise.
15117         * conform/data/stdnoreturn.h-data: Likewise.
15119 2012-11-07  Roland McGrath  <roland@hack.frob.com>
15121         [BZ #14815]
15122         * manual/filesys.texi (Directory Entries): Typo fix.
15123         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
15125 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15127         * elf/elf.h (EM_AARCH64): New macro.
15128         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
15129         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
15130         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
15131         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
15132         (R_AARCH64_TLSDESC): Likewise.
15133         (NT_ARM_TLS): Likewise.
15134         (NT_ARM_HW_BREAK): Likewise.
15135         (NT_ARM_HW_WATCH): Likewise.
15137 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
15139         [BZ #14811]
15140         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
15141         (__ieee754_powl): Saturate nonzero exponents with absolute value
15142         below 0x1p-79 to +/- 0x1p-79.
15143         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
15144         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
15145         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
15146         nonzero exponents with absolute value below 0x1p-32 to +/-
15147         0x1p-32.
15148         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
15149         (__ieee754_powl): Saturate nonzero exponents with absolute value
15150         below 0x1p-79 to +/- 0x1p-79.
15151         * math/libm-test.inc (pow_test): Add more tests.
15153 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15155         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
15156         _dl_s390_cap_flags with kernel. Increase string length.
15157         (_dl_s390_platforms): Add z196 and zEC12.
15159 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
15161         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
15162         Change XOPEN21K to XOPEN2K.
15164 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
15166         * string/memmove.c: Use memcpy when possible.
15168 2012-11-06  Andreas Jaeger  <aj@suse.de>
15170         * po/eo.po: Update from translation team.
15172 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
15174         [BZ #14793]
15175         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
15176         exponent and small x and y exponents, scale x or y up.  Increase
15177         by 2 the exponent used in scaling up.
15178         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15179         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15180         * math/libm-test.inc (fma_test): Add more tests.
15181         (fma_test_towardzero): Likewise.
15182         (fma_test_downward): Likewise.
15183         (fma_test_upward): Likewise.
15185 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
15187         [BZ #14805]
15188         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
15189         fenv_t *.
15191         [BZ #14801]
15192         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
15193         namespace for names of struct fields.
15194         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
15195         fenv_t fields.
15196         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
15197         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
15199 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15201         [BZ #3665]
15202         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
15204 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
15206         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
15207         PTR_DEMANGLE.
15209         [BZ #5246]
15210         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
15211         PTR_DEMANGLE.
15213 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
15215         [BZ #14797]
15216         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
15217         definitely overflow as x * y not x * y + z.
15218         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15219         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15220         * math/libm-test.inc (fma_test): Add more tests.
15221         (fma_test_towardzero): Likewise.
15222         (fma_test_downward): Likewise.
15223         (fma_test_upward): Likewise.
15225 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
15227         [BZ #157]
15229         * include/stub-tag.h: Remove file.
15230         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
15231         '#include' of it.
15232         * manual/maint.texi (Porting): Don't reference it.
15233         * Makerules ($(objpfx)stubs): Likewise.
15234         * dirent/closedir.c: Don't include <stub-tag.h>.
15235         * dirent/dirfd.c: Likewise.
15236         * dirent/fdopendir.c: Likewise.
15237         * dirent/getdents.c: Likewise.
15238         * dirent/getdents64.c: Likewise.
15239         * dirent/opendir.c: Likewise.
15240         * dirent/readdir.c: Likewise.
15241         * dirent/readdir64.c: Likewise.
15242         * dirent/readdir64_r.c: Likewise.
15243         * dirent/readdir_r.c: Likewise.
15244         * dirent/rewinddir.c: Likewise.
15245         * dirent/seekdir.c: Likewise.
15246         * dirent/telldir.c: Likewise.
15247         * gmon/profil.c: Likewise.
15248         * grp/setgroups.c: Likewise.
15249         * inet/if_index.c: Likewise.
15250         * io/access.c: Likewise.
15251         * io/chdir.c: Likewise.
15252         * io/chmod.c: Likewise.
15253         * io/chown.c: Likewise.
15254         * io/close.c: Likewise.
15255         * io/dup.c: Likewise.
15256         * io/dup2.c: Likewise.
15257         * io/dup3.c: Likewise.
15258         * io/euidaccess.c: Likewise.
15259         * io/faccessat.c: Likewise.
15260         * io/fchdir.c: Likewise.
15261         * io/fchmod.c: Likewise.
15262         * io/fchmodat.c: Likewise.
15263         * io/fchown.c: Likewise.
15264         * io/fchownat.c: Likewise.
15265         * io/fcntl.c: Likewise.
15266         * io/flock.c: Likewise.
15267         * io/fstatfs.c: Likewise.
15268         * io/fstatfs64.c: Likewise.
15269         * io/fstatvfs.c: Likewise.
15270         * io/fstatvfs64.c: Likewise.
15271         * io/futimens.c: Likewise.
15272         * io/fxstat.c: Likewise.
15273         * io/fxstat64.c: Likewise.
15274         * io/fxstatat.c: Likewise.
15275         * io/fxstatat64.c: Likewise.
15276         * io/getcwd.c: Likewise.
15277         * io/isatty.c: Likewise.
15278         * io/lchmod.c: Likewise.
15279         * io/lchown.c: Likewise.
15280         * io/link.c: Likewise.
15281         * io/linkat.c: Likewise.
15282         * io/lseek.c: Likewise.
15283         * io/lseek64.c: Likewise.
15284         * io/lxstat64.c: Likewise.
15285         * io/mkdir.c: Likewise.
15286         * io/mkdirat.c: Likewise.
15287         * io/mkfifo.c: Likewise.
15288         * io/mkfifoat.c: Likewise.
15289         * io/open.c: Likewise.
15290         * io/open64.c: Likewise.
15291         * io/openat.c: Likewise.
15292         * io/openat64.c: Likewise.
15293         * io/pipe.c: Likewise.
15294         * io/pipe2.c: Likewise.
15295         * io/poll.c: Likewise.
15296         * io/posix_fadvise.c: Likewise.
15297         * io/posix_fadvise64.c: Likewise.
15298         * io/posix_fallocate.c: Likewise.
15299         * io/posix_fallocate64.c: Likewise.
15300         * io/read.c: Likewise.
15301         * io/readlink.c: Likewise.
15302         * io/readlinkat.c: Likewise.
15303         * io/rmdir.c: Likewise.
15304         * io/sendfile.c: Likewise.
15305         * io/sendfile64.c: Likewise.
15306         * io/statfs.c: Likewise.
15307         * io/statfs64.c: Likewise.
15308         * io/statvfs.c: Likewise.
15309         * io/statvfs64.c: Likewise.
15310         * io/symlink.c: Likewise.
15311         * io/symlinkat.c: Likewise.
15312         * io/ttyname.c: Likewise.
15313         * io/ttyname_r.c: Likewise.
15314         * io/umask.c: Likewise.
15315         * io/unlink.c: Likewise.
15316         * io/unlinkat.c: Likewise.
15317         * io/utime.c: Likewise.
15318         * io/utimensat.c: Likewise.
15319         * io/write.c: Likewise.
15320         * io/xmknod.c: Likewise.
15321         * io/xmknodat.c: Likewise.
15322         * io/xstat.c: Likewise.
15323         * io/xstat64.c: Likewise.
15324         * login/getpt.c: Likewise.
15325         * login/grantpt.c: Likewise.
15326         * login/unlockpt.c: Likewise.
15327         * math/e_acoshl.c: Likewise.
15328         * math/e_acosl.c: Likewise.
15329         * math/e_asinl.c: Likewise.
15330         * math/e_atan2l.c: Likewise.
15331         * math/e_atanhl.c: Likewise.
15332         * math/e_coshl.c: Likewise.
15333         * math/e_expl.c: Likewise.
15334         * math/e_fmodl.c: Likewise.
15335         * math/e_gammal_r.c: Likewise.
15336         * math/e_hypotl.c: Likewise.
15337         * math/e_j0l.c: Likewise.
15338         * math/e_j1l.c: Likewise.
15339         * math/e_jnl.c: Likewise.
15340         * math/e_lgammal_r.c: Likewise.
15341         * math/e_log10l.c: Likewise.
15342         * math/e_log2l.c: Likewise.
15343         * math/e_logl.c: Likewise.
15344         * math/e_powl.c: Likewise.
15345         * math/e_rem_pio2l.c: Likewise.
15346         * math/e_sinhl.c: Likewise.
15347         * math/e_sqrtl.c: Likewise.
15348         * math/fclrexcpt.c: Likewise.
15349         * math/fedisblxcpt.c: Likewise.
15350         * math/feenablxcpt.c: Likewise.
15351         * math/fegetenv.c: Likewise.
15352         * math/fegetexcept.c: Likewise.
15353         * math/fegetround.c: Likewise.
15354         * math/feholdexcpt.c: Likewise.
15355         * math/fesetenv.c: Likewise.
15356         * math/fesetround.c: Likewise.
15357         * math/feupdateenv.c: Likewise.
15358         * math/fgetexcptflg.c: Likewise.
15359         * math/fraiseexcpt.c: Likewise.
15360         * math/fsetexcptflg.c: Likewise.
15361         * math/ftestexcept.c: Likewise.
15362         * math/k_cosl.c: Likewise.
15363         * math/k_rem_pio2l.c: Likewise.
15364         * math/k_sinl.c: Likewise.
15365         * math/k_tanl.c: Likewise.
15366         * math/s_asinhl.c: Likewise.
15367         * math/s_atanl.c: Likewise.
15368         * math/s_cbrtl.c: Likewise.
15369         * math/s_erfl.c: Likewise.
15370         * math/s_expm1l.c: Likewise.
15371         * math/s_log1pl.c: Likewise.
15372         * math/s_tanhl.c: Likewise.
15373         * misc/acct.c: Likewise.
15374         * misc/brk.c: Likewise.
15375         * misc/chflags.c: Likewise.
15376         * misc/chroot.c: Likewise.
15377         * misc/fchflags.c: Likewise.
15378         * misc/fgetxattr.c: Likewise.
15379         * misc/flistxattr.c: Likewise.
15380         * misc/fremovexattr.c: Likewise.
15381         * misc/fsetxattr.c: Likewise.
15382         * misc/fsync.c: Likewise.
15383         * misc/ftruncate.c: Likewise.
15384         * misc/futimes.c: Likewise.
15385         * misc/futimesat.c: Likewise.
15386         * misc/getdomain.c: Likewise.
15387         * misc/getdtsz.c: Likewise.
15388         * misc/gethostid.c: Likewise.
15389         * misc/gethostname.c: Likewise.
15390         * misc/getloadavg.c: Likewise.
15391         * misc/getpagesize.c: Likewise.
15392         * misc/getsysstats.c: Likewise.
15393         * misc/getxattr.c: Likewise.
15394         * misc/gtty.c: Likewise.
15395         * misc/ioctl.c: Likewise.
15396         * misc/lgetxattr.c: Likewise.
15397         * misc/listxattr.c: Likewise.
15398         * misc/llistxattr.c: Likewise.
15399         * misc/lremovexattr.c: Likewise.
15400         * misc/lsetxattr.c: Likewise.
15401         * misc/lutimes.c: Likewise.
15402         * misc/madvise.c: Likewise.
15403         * misc/mincore.c: Likewise.
15404         * misc/mlock.c: Likewise.
15405         * misc/mlockall.c: Likewise.
15406         * misc/mmap.c: Likewise.
15407         * misc/mprotect.c: Likewise.
15408         * misc/msync.c: Likewise.
15409         * misc/munlock.c: Likewise.
15410         * misc/munlockall.c: Likewise.
15411         * misc/munmap.c: Likewise.
15412         * misc/preadv.c: Likewise.
15413         * misc/preadv64.c: Likewise.
15414         * misc/ptrace.c: Likewise.
15415         * misc/pwritev.c: Likewise.
15416         * misc/pwritev64.c: Likewise.
15417         * misc/readv.c: Likewise.
15418         * misc/reboot.c: Likewise.
15419         * misc/remap_file_pages.c: Likewise.
15420         * misc/removexattr.c: Likewise.
15421         * misc/revoke.c: Likewise.
15422         * misc/select.c: Likewise.
15423         * misc/setdomain.c: Likewise.
15424         * misc/setegid.c: Likewise.
15425         * misc/seteuid.c: Likewise.
15426         * misc/sethostid.c: Likewise.
15427         * misc/sethostname.c: Likewise.
15428         * misc/setregid.c: Likewise.
15429         * misc/setreuid.c: Likewise.
15430         * misc/setxattr.c: Likewise.
15431         * misc/sstk.c: Likewise.
15432         * misc/stty.c: Likewise.
15433         * misc/swapoff.c: Likewise.
15434         * misc/swapon.c: Likewise.
15435         * misc/sync.c: Likewise.
15436         * misc/syncfs.c: Likewise.
15437         * misc/syscall.c: Likewise.
15438         * misc/truncate.c: Likewise.
15439         * misc/ualarm.c: Likewise.
15440         * misc/usleep.c: Likewise.
15441         * misc/ustat.c: Likewise.
15442         * misc/utimes.c: Likewise.
15443         * misc/vhangup.c: Likewise.
15444         * misc/writev.c: Likewise.
15445         * posix/_exit.c: Likewise.
15446         * posix/alarm.c: Likewise.
15447         * posix/execve.c: Likewise.
15448         * posix/fexecve.c: Likewise.
15449         * posix/fork.c: Likewise.
15450         * posix/fpathconf.c: Likewise.
15451         * posix/getaddrinfo.c: Likewise.
15452         * posix/getegid.c: Likewise.
15453         * posix/geteuid.c: Likewise.
15454         * posix/getgid.c: Likewise.
15455         * posix/getgroups.c: Likewise.
15456         * posix/getlogin.c: Likewise.
15457         * posix/getlogin_r.c: Likewise.
15458         * posix/getpgid.c: Likewise.
15459         * posix/getpid.c: Likewise.
15460         * posix/getppid.c: Likewise.
15461         * posix/getresgid.c: Likewise.
15462         * posix/getresuid.c: Likewise.
15463         * posix/getsid.c: Likewise.
15464         * posix/getuid.c: Likewise.
15465         * posix/glob64.c: Likewise.
15466         * posix/nanosleep.c: Likewise.
15467         * posix/pathconf.c: Likewise.
15468         * posix/pause.c: Likewise.
15469         * posix/posix_madvise.c: Likewise.
15470         * posix/pread.c: Likewise.
15471         * posix/pread64.c: Likewise.
15472         * posix/pwrite.c: Likewise.
15473         * posix/pwrite64.c: Likewise.
15474         * posix/sched_getaffinity.c: Likewise.
15475         * posix/sched_getp.c: Likewise.
15476         * posix/sched_gets.c: Likewise.
15477         * posix/sched_primax.c: Likewise.
15478         * posix/sched_primin.c: Likewise.
15479         * posix/sched_rr_gi.c: Likewise.
15480         * posix/sched_setaffinity.c: Likewise.
15481         * posix/sched_setp.c: Likewise.
15482         * posix/sched_sets.c: Likewise.
15483         * posix/sched_yield.c: Likewise.
15484         * posix/setgid.c: Likewise.
15485         * posix/setlogin.c: Likewise.
15486         * posix/setpgid.c: Likewise.
15487         * posix/setresgid.c: Likewise.
15488         * posix/setresuid.c: Likewise.
15489         * posix/setsid.c: Likewise.
15490         * posix/setuid.c: Likewise.
15491         * posix/sleep.c: Likewise.
15492         * posix/spawni.c: Likewise.
15493         * posix/sysconf.c: Likewise.
15494         * posix/times.c: Likewise.
15495         * posix/wait.c: Likewise.
15496         * posix/wait3.c: Likewise.
15497         * posix/wait4.c: Likewise.
15498         * posix/waitpid.c: Likewise.
15499         * resolv/gai_sigqueue.c: Likewise.
15500         * resource/getpriority.c: Likewise.
15501         * resource/getrlimit.c: Likewise.
15502         * resource/getrusage.c: Likewise.
15503         * resource/nice.c: Likewise.
15504         * resource/setpriority.c: Likewise.
15505         * resource/setrlimit.c: Likewise.
15506         * resource/ulimit.c: Likewise.
15507         * rt/aio_cancel.c: Likewise.
15508         * rt/aio_fsync.c: Likewise.
15509         * rt/aio_read.c: Likewise.
15510         * rt/aio_sigqueue.c: Likewise.
15511         * rt/aio_suspend.c: Likewise.
15512         * rt/aio_write.c: Likewise.
15513         * rt/clock_getres.c: Likewise.
15514         * rt/clock_gettime.c: Likewise.
15515         * rt/clock_nanosleep.c: Likewise.
15516         * rt/clock_settime.c: Likewise.
15517         * rt/lio_listio.c: Likewise.
15518         * rt/mq_close.c: Likewise.
15519         * rt/mq_getattr.c: Likewise.
15520         * rt/mq_notify.c: Likewise.
15521         * rt/mq_open.c: Likewise.
15522         * rt/mq_receive.c: Likewise.
15523         * rt/mq_send.c: Likewise.
15524         * rt/mq_setattr.c: Likewise.
15525         * rt/mq_timedreceive.c: Likewise.
15526         * rt/mq_timedsend.c: Likewise.
15527         * rt/mq_unlink.c: Likewise.
15528         * rt/shm_open.c: Likewise.
15529         * rt/shm_unlink.c: Likewise.
15530         * rt/timer_create.c: Likewise.
15531         * rt/timer_delete.c: Likewise.
15532         * rt/timer_getoverr.c: Likewise.
15533         * rt/timer_gettime.c: Likewise.
15534         * rt/timer_settime.c: Likewise.
15535         * setjmp/__longjmp.c: Likewise.
15536         * setjmp/setjmp.c: Likewise.
15537         * signal/kill.c: Likewise.
15538         * signal/killpg.c: Likewise.
15539         * signal/raise.c: Likewise.
15540         * signal/sigaction.c: Likewise.
15541         * signal/sigaltstack.c: Likewise.
15542         * signal/sigblock.c: Likewise.
15543         * signal/sigignore.c: Likewise.
15544         * signal/sigintr.c: Likewise.
15545         * signal/signal.c: Likewise.
15546         * signal/sigpause.c: Likewise.
15547         * signal/sigpending.c: Likewise.
15548         * signal/sigqueue.c: Likewise.
15549         * signal/sigreturn.c: Likewise.
15550         * signal/sigset.c: Likewise.
15551         * signal/sigsetmask.c: Likewise.
15552         * signal/sigstack.c: Likewise.
15553         * signal/sigsuspend.c: Likewise.
15554         * signal/sigtimedwait.c: Likewise.
15555         * signal/sigvec.c: Likewise.
15556         * signal/sigwait.c: Likewise.
15557         * signal/sigwaitinfo.c: Likewise.
15558         * signal/sysv_signal.c: Likewise.
15559         * socket/accept.c: Likewise.
15560         * socket/accept4.c: Likewise.
15561         * socket/bind.c: Likewise.
15562         * socket/connect.c: Likewise.
15563         * socket/getpeername.c: Likewise.
15564         * socket/getsockname.c: Likewise.
15565         * socket/getsockopt.c: Likewise.
15566         * socket/isfdtype.c: Likewise.
15567         * socket/listen.c: Likewise.
15568         * socket/recv.c: Likewise.
15569         * socket/recvfrom.c: Likewise.
15570         * socket/recvmsg.c: Likewise.
15571         * socket/send.c: Likewise.
15572         * socket/sendmsg.c: Likewise.
15573         * socket/sendto.c: Likewise.
15574         * socket/setsockopt.c: Likewise.
15575         * socket/shutdown.c: Likewise.
15576         * socket/sockatmark.c: Likewise.
15577         * socket/socket.c: Likewise.
15578         * socket/socketpair.c: Likewise.
15579         * stdio-common/ctermid.c: Likewise.
15580         * stdio-common/cuserid.c: Likewise.
15581         * stdio-common/remove.c: Likewise.
15582         * stdio-common/rename.c: Likewise.
15583         * stdio-common/renameat.c: Likewise.
15584         * stdio-common/tempname.c: Likewise.
15585         * stdlib/getcontext.c: Likewise.
15586         * stdlib/makecontext.c: Likewise.
15587         * stdlib/setcontext.c: Likewise.
15588         * stdlib/swapcontext.c: Likewise.
15589         * stdlib/system.c: Likewise.
15590         * streams/fattach.c: Likewise.
15591         * streams/fdetach.c: Likewise.
15592         * streams/getmsg.c: Likewise.
15593         * streams/getpmsg.c: Likewise.
15594         * streams/putmsg.c: Likewise.
15595         * streams/putpmsg.c: Likewise.
15596         * sysdeps/unix/bsd/getpt.c: Likewise.
15597         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
15598         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
15599         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15601         Likewise.
15602         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
15603         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15604         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
15605         * sysvipc/msgctl.c: Likewise.
15606         * sysvipc/msgget.c: Likewise.
15607         * sysvipc/msgrcv.c: Likewise.
15608         * sysvipc/msgsnd.c: Likewise.
15609         * sysvipc/semctl.c: Likewise.
15610         * sysvipc/semget.c: Likewise.
15611         * sysvipc/semop.c: Likewise.
15612         * sysvipc/semtimedop.c: Likewise.
15613         * sysvipc/shmat.c: Likewise.
15614         * sysvipc/shmctl.c: Likewise.
15615         * sysvipc/shmdt.c: Likewise.
15616         * sysvipc/shmget.c: Likewise.
15617         * termios/tcdrain.c: Likewise.
15618         * termios/tcflow.c: Likewise.
15619         * termios/tcflush.c: Likewise.
15620         * termios/tcgetattr.c: Likewise.
15621         * termios/tcgetpgrp.c: Likewise.
15622         * termios/tcsendbrk.c: Likewise.
15623         * termios/tcsetattr.c: Likewise.
15624         * termios/tcsetpgrp.c: Likewise.
15625         * time/adjtime.c: Likewise.
15626         * time/clock.c: Likewise.
15627         * time/getitimer.c: Likewise.
15628         * time/gettimeofday.c: Likewise.
15629         * time/setitimer.c: Likewise.
15630         * time/settimeofday.c: Likewise.
15631         * time/stime.c: Likewise.
15632         * time/time.c: Likewise.
15634 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
15636         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
15637         /usr/old/bin.
15639         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
15640         instead of spaces.
15641         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
15643 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
15645         [BZ #14796]
15646         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
15647         FE_TONEAREST before applying Dekker multiplication and Knuth
15648         addition.  Clear inexact exceptions and check for exact zero
15649         results afterwards.
15650         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15651         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15652         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15653         * math/libm-test.inc (fma_test): Add more tests.
15654         (fma_test_towardzero): Likewise.
15655         (fma_test_downward): Likewise.
15656         (fma_test_upward): Likewise.
15657         * sysdeps/generic/math_private.h (default_libc_fesetround): New
15658         function.
15659         (libc_fesetround): New macro.
15660         (libc_fesetroundf): Likewise.
15661         (libc_fesetroundl): Likewise.
15662         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
15663         function.
15664         (libc_fesetround_387): Likewise.
15665         (libc_fesetroundf): New macro.
15666         (libc_fesetround): Likewise.
15667         (libc_fesetroundl): Likewise.
15668         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
15669         function.
15670         (libc_fesetroundf): New macro.
15671         (libc_fesetround): Likewise.
15672         (libc_fesetroundl): Likewise.
15673         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
15674         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
15675         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
15676         libm_hidden_ver.
15677         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
15678         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
15679         libm_hidden_def.
15680         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
15681         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
15682         libm_hidden_ver.
15683         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
15684         libm_hidden_def.
15686         [BZ #3439]
15687         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
15688         integer constant usable in #if and use that to give value to enum
15689         constant.
15690         (FE_DIVBYZERO): Likewise.
15691         (FE_UNDERFLOW): Likewise.
15692         (FE_OVERFLOW): Likewise.
15693         (FE_INVALID): Likewise.
15694         (FE_INVALID_SNAN): Likewise.
15695         (FE_INVALID_ISI): Likewise.
15696         (FE_INVALID_IDI): Likewise.
15697         (FE_INVALID_ZDZ): Likewise.
15698         (FE_INVALID_IMZ): Likewise.
15699         (FE_INVALID_COMPARE): Likewise.
15700         (FE_INVALID_SOFTWARE): Likewise.
15701         (FE_INVALID_SQRT): Likewise.
15702         (FE_INVALID_INTEGER_CONVERSION): Likewise.
15703         (FE_TONEAREST): Likewise.
15704         (FE_TOWARDZERO): Likewise.
15705         (FE_UPWARD): Likewise.
15706         (FE_DOWNWARD): Likewise.
15707         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
15708         (FE_DIVBYZERO): Likewise.
15709         (FE_OVERFLOW): Likewise.
15710         (FE_UNDERFLOW): Likewise.
15711         (FE_INEXACT): Likewise.
15712         (FE_TONEAREST): Likewise.
15713         (FE_DOWNWARD): Likewise.
15714         (FE_UPWARD): Likewise.
15715         (FE_TOWARDZERO): Likewise.
15716         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
15717         (FE_UNDERFLOW): Likewise.
15718         (FE_OVERFLOW): Likewise.
15719         (FE_DIVBYZERO): Likewise.
15720         (FE_INVALID): Likewise.
15721         (FE_TONEAREST): Likewise.
15722         (FE_TOWARDZERO): Likewise.
15723         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
15724         (FE_OVERFLOW): Likewise.
15725         (FE_UNDERFLOW): Likewise.
15726         (FE_DIVBYZERO): Likewise.
15727         (FE_INEXACT): Likewise.
15728         (FE_TONEAREST): Likewise.
15729         (FE_TOWARDZERO): Likewise.
15730         (FE_UPWARD): Likewise.
15731         (FE_DOWNWARD): Likewise.
15732         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
15733         (FE_DIVBYZERO): Likewise.
15734         (FE_OVERFLOW): Likewise.
15735         (FE_UNDERFLOW): Likewise.
15736         (FE_INEXACT): Likewise.
15737         (FE_TONEAREST): Likewise.
15738         (FE_DOWNWARD): Likewise.
15739         (FE_UPWARD): Likewise.
15740         (FE_TOWARDZERO): Likewise.
15742 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
15744         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
15746 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
15748         * scripts/cross-test-ssh.sh (command): Use newlines to separate
15749         commands.  Quote $PWD.
15750         (blacklist_exports): Don't use remove_newlines.  Replace "declare
15751         -x" by "export".
15752         (remove_newlines): Remove.
15754 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
15756         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
15757         * stdlib/stdlib.h (atof): Moved to ...
15758         * include/bits/stdlib-float.h: Here.  New file.
15759         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
15760         * stdlib/bits/stdlib-float.h: New file.
15761         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
15762         -mno-sse -mno-mmx.
15763         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
15764         <xmmintrin.h>.
15766 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
15768         * conform/conformtest.pl (@headers): Add fenv.h.
15769         * conform/data/fenv.h-data: New file.
15770         * include/fenv.h [_ISOMAC]: Disable all contents of file except
15771         include of <math/fenv.h>.
15773         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
15774         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
15775         && !UNIX98].  Enables tests for XOPEN2K8.
15776         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
15777         POSIX2008]: Likewise.
15779         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
15780         (struct rusage): Do not expect type or its members.
15782         [BZ #3439]
15783         * math/math.h (FP_NAN): Define macro to integer constant usable in
15784         #if and use that to give value to enum constant.
15785         (FP_INFINITE): Likewise.
15786         (FP_ZERO): Likewise.
15787         (FP_SUBNORMAL): Likewise.
15788         (FP_NORMAL): Likewise.
15790 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
15792         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
15793         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
15794         arguments.
15796 2012-11-02  Roland McGrath  <roland@hack.frob.com>
15798         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
15799         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
15800         autoconf-time if not.
15801         * configure.in: Remove AC_PREREQ.
15803 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15805         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
15806         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
15807         of the internal implementation.
15809 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
15811         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
15812         except include of <misc/sys/syslog.h>.
15814 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
15816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
15817         function returns with a NULL context exit with zero.
15819 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15821         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
15823 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
15825         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
15826         (run_program_cmd): This.
15827         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
15828         (tst_langinfo): New variable.  Use it.
15830 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
15832         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
15833         floating point opcodes.
15835 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
15837         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
15838         variable.
15840         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
15842         * sysdeps/mach/hurd/powerpc: Remove directory.
15843         * sysdeps/mach/powerpc: Likewise.
15845 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
15847         * scripts/check-local-headers.sh: Ignore c++ headers.
15849 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
15851         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
15852         __libc_cleanup_region_start argument.
15854 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
15856         [BZ #14784]
15857         [BZ #14785]
15858         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
15859         x * y using scaling, not as x * y + z.
15860         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15861         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15862         * math/libm-test.inc (fma_test): Add more tests.
15863         (fma_test_towardzero): Likewise.
15864         (fma_test_downward): Likewise.
15865         (fma_test_upward): Likewise.
15867 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
15869         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
15871 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
15873         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
15874         New variable.
15876 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
15878         * rt/tst-shm.c (worker): Correct checking for mmap failure.
15880 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
15882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15883         Fix sort order.
15884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15885         Likewise.
15887 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15890         Fix the order of the list for glibc 2.17.
15891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15892         Likewise.
15894 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
15896         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15898 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
15900         [BZ #14610]
15901         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
15902         for low part of x being zero before using __atanl (y).
15903         * math/libm-test.inc (atan2_test): Add another test.
15905         * manual/install.texi (Configuring and compiling): Document
15906         general use of test-wrapper and test-wrapper-env.
15907         * INSTALL: Regenerated.
15909         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
15910         (__fma): Do not extract and scale down low bits on after-rounding
15911         systems when result rounded to normal precision would have normal
15912         exponent.
15913         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
15914         (__fmal): Do not extract and scale down low bits on after-rounding
15915         systems when result rounded to normal precision would have normal
15916         exponent.
15917         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
15918         (__fmal): Do not extract and scale down low bits on after-rounding
15919         systems when result rounded to normal precision would have normal
15920         exponent.
15921         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
15922         macro.
15923         (fma_test): Add more tests.
15924         (fma_test_towardzero): Likewise.
15925         (fma_test_downward): Likewise.
15926         (fma_test_upward): Likewise.
15928 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
15930         * sysdeps/i386/tininess.h: Renamed to ...
15931         * sysdeps/x86/tininess.h: This.
15932         * sysdeps/x86_64/tininess.h: Removed.
15934 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
15936         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
15937         input.  Use $(build-program-cmd).
15938         ($(objpfx)tst-array1-static.out): Likewise.
15939         ($(objpfx)tst-array2.out): Likewise.
15940         ($(objpfx)tst-array3.out): Likewise.
15941         ($(objpfx)tst-array4.out): Likewise.
15942         ($(objpfx)tst-array5.out): Likewise.
15943         ($(objpfx)tst-array5-static.out): Likewise.
15945 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
15947         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
15948         if defined.
15950         * nss/nsswitch.h (nss_interface_function): Provide new
15951         macro for use with NSS functions.
15952         * grp/initgroups.c: Use new macro.
15953         * nss/getXXbyYY.c: Likewise.
15954         * nss/getXXbyYY_r.c: Likewise.
15955         * nss/getXXent.c: Likewise.
15956         * nss/getXXent_r.c: Likewise.
15957         * sysdeps/posix/getaddrinfo.c: Likewise.
15959 2012-10-30  Andreas Jaeger  <aj@suse.de>
15961         * po/ru.po: Update Russion translation from translation project.
15963 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
15965         [BZ #14152]
15966         [BZ #14783]
15967         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
15968         result and shift together with sticky bit instead of replicating
15969         round-to-nearest rounding.
15970         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15971         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15972         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
15973         missing underflow exceptions.
15974         (fma_test_towardzero): Add more tests.
15975         (fma_test_downward): Likewise.
15976         (fma_test_upward): Likewise.
15978         [BZ #14047]
15979         * sysdeps/generic/tininess.h: New file.
15980         * sysdeps/i386/tininess.h: Likewise.
15981         * sysdeps/sh/tininess.h: Likewise.
15982         * sysdeps/x86_64/tininess.h: Likewise.
15983         * stdlib/tst-strtod-underflow.c: Likewise.
15984         * stdlib/tst-tininess.c: Likewise.
15985         * stdlib/strtod_l.c: Include <tininess.h>.
15986         (round_and_return): Do not set errno for exact underflow cases.
15987         Force an underflow exception when setting errno for underflow.
15988         Determine underflow based on rounding to normal precision if
15989         TININESS_AFTER_ROUNDING.
15990         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
15991         ERANGE for exact underflow cases.
15992         * stdlib/Makefile (tests): Add tst-tininess and
15993         tst-strtod-underflow.
15994         ($(objpfx)tst-tininess): Use $(link-libm).
15995         ($(objpfx)tst-strtod-underflow): Likewise.
15997 2012-10-30  Andreas Jaeger  <aj@suse.de>
15999         [BZ#14767]
16000         * elf/Makefile (tests): Remove conditional for have-initfini-array
16001         since this is now always required and the variable does not exist
16002         anymore.
16003         (tests-static): Likewise.
16004         (modules-names): Likewise.
16006         * po/eo.po: Add Esperanto translation from translation project.
16008         * elf/tst-array1.c (fini_array): Make writeable so that it can be
16009         merged with constructor/destructor.
16010         (init_array): Likewise.
16011         * elf/tst-array2dep.c (fini_array): Likewise.
16012         (init_array): Likewise.
16014 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
16016         * manual/message.texi: Delete @cartouche tags.
16018 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
16020         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
16021         EOPNOTSUPP.
16022         * sysdeps/mach/hurd/fsync.c: Likewise.
16024         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
16025         [_POSIX_REALTIME_SIGNALS]: Change condition to
16026         [_POSIX_REALTIME_SIGNALS > 0].
16028 2012-10-27  Andreas Jaeger  <aj@suse.de>
16030         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
16031         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
16032         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
16033         [__WORDSIZE != 64]: Likewise.
16035 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
16037         *  iconvdata/tst-table.sh: Remove ${SHELL}.
16038         *  iconvdata/tst-tables.sh: Likewise.
16040 2012-10-25  David S. Miller  <davem@davemloft.net>
16042         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16043         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
16044         of strtoull.
16046         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
16047         ifunc-impl-list.c
16048         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16049         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
16050         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
16051         file.
16053 2012-10-25  Roland McGrath  <roland@hack.frob.com>
16055         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16056         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
16057         __getdirentries.
16059 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
16060             Jim Blandy  <jimb@codesourcery.com>
16062         * scripts/cross-test-ssh.sh: New file.
16063         * manual/install.texi (Configuring and compiling): Document use of
16064         cross-test-ssh.sh.
16065         * INSTALL: Regenerated.
16067 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
16069         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
16070         EOPNOTSUPP.
16072 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
16074         * Makeconfig (run-program-prefix): Fix comment.
16076 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
16077             Jim Blandy  <jimb@codesourcery.com>
16079         * Makeconfig (test-wrapper): New variable,
16080         (test-wrapper-env): Likewise.
16081         [$(cross-compiling) = yes && $(test-wrapper) != ""]
16082         (run-built-tests): Define to yes.
16083         (run-program-prefix): Use $(test-wrapper).
16084         (built-program-cmd): Likewise.
16085         * Rules (make-test-out): Use $(test-wrapper-env) and
16086         $(host-built-program-cmd).
16087         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
16088         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
16089         tst-pathopt.sh.
16090         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
16091         $(test-wrapper-env) to tst-rtld-load-self.sh.
16092         ($(objpfx)order2.out): Use $(test-wrapper).
16093         ($(objpfx)tst-initorder.out): Likewise.
16094         ($(objpfx)tst-initorder2.out): Likewise.
16095         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
16096         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
16097         (test_wrapper_env): New variable.  Use it to run ld.so.
16098         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
16099         Use it to run ld.so.
16100         (test_wrapper_env): Likewise.
16101         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
16102         $(test-wrapper) to run-iconv-test.sh.
16103         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
16104         (ICONV): Use $test_wrapper.
16105         * posix/Makefile ($(objpfx)globtest.out): Pass
16106         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
16107         globtest.sh, not $(run-program-prefix).
16108         * posix/globtest.sh (run_via_rtld_prefix): New variable.
16109         (test_wrapper): Likewise.
16110         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
16111         set together with run_via_rtld_prefix.
16112         (run_program_prefix): Define in terms of test_wrapper and
16113         run_via_rtld_prefix.
16115 2012-10-24  Roland McGrath  <roland@hack.frob.com>
16117         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
16118         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
16119         Targets removed.
16121         [BZ #14743]
16122         * include/time.h: Remove librt_hidden_proto (clock_gettime).
16123         Declare __clock_getres, __clock_gettime, __clock_settime,
16124         __clock_nanosleep, and __clock_getcpuclockid.
16125         * rt/clock_gettime.c: Define __clock_gettime as an alias.
16126         Remove librt_hidden_def (clock_gettime).
16127         * sysdeps/unix/clock_gettime.c: Likewise.
16128         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
16129         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16130         * rt/clock_getres.c: Define __clock_getres as an alias.
16131         * sysdeps/posix/clock_getres.c: Likewise.
16132         * rt/clock_settime.c: Define __clock_settime as an alias.
16133         * sysdeps/unix/clock_settime.c: Likewise.
16134         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
16135         * sysdeps/unix/clock_nanosleep.c: Likewise.
16136         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16137         * rt/clock-compat.c: New file.
16138         * rt/Makefile (librt-routines): Add clock-compat and move
16139         $(clock-routines) to ...
16140         (routines): ... here, new variable.
16141         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
16142         Don't add get_clockfreq here.
16143         * rt/Versions (libc: GLIBC_2.17): New version set.
16144         Add clock_* symbols here.
16145         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
16146         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
16147         (GLIBC_2.17): Add clock_* symbols.
16148         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16149         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16150         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16152         Likewise.
16153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16154         Likewise.
16155         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16156         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16157         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16158         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16159         * NEWS: Mention the move.
16161         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16162         Use __open, __read, __close rather than their public counterparts.
16163         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16164         (__get_clockfreq_via_cpuinfo): Likewise.
16165         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
16166         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
16168         * config.h.in (HAVE_IFUNC): New #undef.
16169         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
16170         was successful.
16171         * configure: Regenerated.
16173 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
16175         * configure.in: Move READELF check to start of file.
16176         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
16177         libc_cv_asm_gnu_indirect_function in the process.
16178         * configure: Regenerated.
16180 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
16182         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
16183         send the output to /dev/null.
16184         (libc_cv_cc_with_libunwind): Likewise.
16185         (libc_cv_as_noexecstack): Likewise.
16186         * configure: Regenerate.
16188 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
16190         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
16192         * posix/globtest.sh (TMPDIR): Do not set.
16193         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
16194         (testout): Likewise.
16196 2012-10-24  Andreas Jaeger  <aj@suse.de>
16198         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
16199         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
16200         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
16201         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
16202         posix_fadvise64, posix_fallocate64.
16204         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
16205         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
16206         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
16207         Likewise.
16208         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
16209         Likewise.
16210         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
16212         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
16213         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
16214         <bits/fcntl-linux.h>.
16215         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
16217         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
16218         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
16219         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
16220         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
16221         [__WORDSIZE != 64]: Likewise.
16223 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
16225         * Makeconfig (run-built-tests): New variable.
16226         * Rules [$(cross-compiling) = yes]: Change condition to
16227         [$(run-built-tests) = no].
16228         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
16229         to [$(run-built-tests) = yes].
16230         * elf/Makefile [$(cross-compiling) = no]: Likewise
16231         * grp/Makefile [$(cross-compiling) = no]: Likewise.
16232         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
16233         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
16234         * intl/Makefile [$(cross-compiling) = no]: Likewise.
16235         * io/Makefile [$(cross-compiling) = no]: Likewise.
16236         * libio/Makefile [$(cross-compiling) = no]: Likewise.
16237         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
16238         * misc/Makefile [$(cross-compiling) = no]: Likewise.
16239         * posix/Makefile [$(cross-compiling) = no]: Likewise.
16240         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
16241         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
16242         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
16243         * string/Makefile [$(cross-compiling) = no]: Likewise.
16245         * posix/Makefile ($(objpfx)globtest.out): Pass
16246         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
16247         $(rtld-installed-name).
16248         * posix/globtest.sh (elf_objpfx): Remove variable.
16249         (rtld_installed_name): Likewise.
16250         (library_path): Likewise.
16251         (run_program_prefix): New variable.  Use for running globtest
16252         binary.
16254 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
16255             Joseph Myers  <joseph@codesourcery.com>
16257         * Makeconfig (host-built-program-cmd): New variable.
16258         * elf/Makefile (tst-stackguard1-ARGS): Use
16259         $(host-built-program-cmd).
16260         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
16261         (tst-spawn-ARGS): Likewise.
16262         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
16264 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
16265             Jim Blandy  <jimb@codesourcery.com>
16267         * Makeconfig (run-via-rtld-prefix): New variable.
16268         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
16269         (built-program-cmd): Likewise.
16271 2012-10-22  Andreas Jaeger  <aj@suse.de>
16273         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
16274         __O_RSYNC if it exists, otherwise to O_SYNC.
16276 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
16277             Joseph Myers  <joseph@codesourcery.com>
16279         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
16280         /dev/null.
16281         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
16282         from /dev/null
16283         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
16284         /dev/null.
16286 2012-10-22  Andreas Jaeger  <aj@suse.de>
16288         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
16289         Define always.
16290         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
16292         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16293         bits/fcntl-linux.h.
16295         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
16296         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
16298         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
16299         to __O_LARGEFILE.
16300         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
16301         to __O_LARGEFILE.
16303 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
16304             Joseph Myers  <joseph@codesourcery.com>
16306         * config.make.in (NM): New variable.
16308 2012-10-21  Andreas Jaeger  <aj@suse.de>
16310         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
16311         definitions and declarations that are provided by
16312         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16314 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
16316         [BZ #14683]
16317         * elf/Makefile (tests-static): Add tst-leaks1-static.
16318         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
16319         ($(objpfx)tst-leaks1-static): New rule.
16320         ($(objpfx)tst-leaks1-static-mem): Likewise.
16321         (tst-leaks1-static-ENV): New macro.
16322         * elf/dl-open.c (dl_open_worker): Check the main application
16323         only if SHARED is defined.
16324         * elf/tst-leaks1-static.c: New file.
16326 2012-10-20  Andreas Jaeger  <aj@suse.de>
16328         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
16329         generic values for Linux.
16330         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
16331         and declarations that are provided by <bits/fcntl-linux.h> and
16332         include <bits/fcntl-linux.h>.
16333         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16334         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16336 2012-10-20  Roland McGrath  <roland@hack.frob.com>
16338         * io/fcntl.h: Move include of <bits/types.h> to the top and
16339         include it unconditionally.
16341 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
16343         * wcsmbs/Makefile (tests-ifunc): New variable.
16344         (tests): Add $(tests-ifunc).
16345         * wcsmbs/test-wcschr-ifunc.c: New file.
16346         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
16347         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
16348         * wcsmbs/test-wcslen-ifunc.c: Likewise.
16349         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
16350         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
16352         * string/Makefile (tests-ifunc): New variable.
16353         (tests): Add $(tests-ifunc).
16354         * string/test-memccpy.c (TEST_NAME): New macro.
16355         * string/test-memchr.c (TEST_NAME): Likewise.
16356         * string/test-memcmp.c (TEST_NAME): Likewise.
16357         * string/test-memcpy.c (TEST_NAME): Likewise.
16358         * string/test-memmem.c (TEST_NAME): Likewise.
16359         * string/test-memmove.c (TEST_NAME): Likewise.
16360         * string/test-memset.c (TEST_NAME): Likewise.
16361         * string/test-rawmemchr.c (TEST_NAME): Likewise.
16362         * string/test-stpcpy.c (TEST_NAME): Likewise.
16363         * string/test-stpncpy.c (TEST_NAME): Likewise.
16364         * string/test-strcasecmp.c (TEST_NAME): Likewise.
16365         * string/test-strcasestr.c (TEST_NAME): Likewise.
16366         * string/test-strcat.c (TEST_NAME): Likewise.
16367         * string/test-strchr.c (TEST_NAME): Likewise.
16368         * string/test-strcmp.c(TEST_NAME): Likewise.
16369         * string/test-strcpy.c (TEST_NAME): Likewise.
16370         * string/test-strcspn.c (TEST_NAME): Likewise.
16371         * string/test-strlen.c (TEST_NAME): Likewise.
16372         * string/test-strncasecmp.c (TEST_NAME): Likewise.
16373         * string/test-strncmp.c (TEST_NAME): Likewise.
16374         * string/test-strncpy.c (TEST_NAME): Likewise.
16375         * string/test-strnlen.c (TEST_NAME): Likewise.
16376         * string/test-strpbrk.c (TEST_NAME): Likewise.
16377         * string/test-strrchr.c (TEST_NAME): Likewise.
16378         * string/test-strspn.c (TEST_NAME): Likewise.
16379         * string/test-strstr.c (TEST_NAME): Likewise.
16380         * string/test-bcopy-ifunc.c: New file.
16381         * string/test-bzero-ifunc.c: Likewise.
16382         * string/test-memccpy-ifunc.c: Likewise.
16383         * string/test-memchr-ifunc.c: Likewise.
16384         * string/test-memcmp-ifunc.c: Likewise.
16385         * string/test-memcpy-ifunc.c: Likewise.
16386         * string/test-memmem-ifunc.c: Likewise.
16387         * string/test-memmove-ifunc.c: Likewise.
16388         * string/test-mempcpy-ifunc.c: Likewise.
16389         * string/test-memset-ifunc.c: Likewise.
16390         * string/test-rawmemchr-ifunc.c: Likewise.
16391         * string/test-stpcpy-ifunc.c: Likewise.
16392         * string/test-stpncpy-ifunc.c: Likewise.
16393         * string/test-strcasecmp-ifunc.c: Likewise.
16394         * string/test-strcasestr-ifunc.c: Likewise.
16395         * string/test-strcat-ifunc.c: Likewise.
16396         * string/test-strchr-ifunc.c: Likewise.
16397         * string/test-strchrnul-ifunc.c: Likewise.
16398         * string/test-strcmp-ifunc.c: Likewise.
16399         * string/test-strcpy-ifunc.c: Likewise.
16400         * string/test-strcspn-ifunc.c: Likewise.
16401         * string/test-strlen-ifunc.c: Likewise.
16402         * string/test-strncasecmp-ifunc.c: Likewise.
16403         * string/test-strncat-ifunc.c: Likewise.
16404         * string/test-strncmp-ifunc.c: Likewise.
16405         * string/test-strncpy-ifunc.c: Likewise.
16406         * string/test-strnlen-ifunc.c: Likewise.
16407         * string/test-strpbrk-ifunc.c: Likewise.
16408         * string/test-strrchr-ifunc.c: Likewise.
16409         * string/test-strspn-ifunc.c: Likewise.
16410         * string/test-strstr-ifunc.c: Likewise.
16412         * debug/Makefile (tests-ifunc): New variable.
16413         (tests): Add $(tests-ifunc).
16414         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
16415         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
16416         * debug/test-stpcpy_chk-ifunc.c: New file.
16417         * debug/test-strcpy_chk-ifunc.c: Likewise.
16419 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16421         [BZ #13601]
16422         * elf/dl-load.c (open_verify): Retry read if the entire ELF
16423         header is not read in.
16425 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
16427         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
16428         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
16429         directly.  Pass built executable to script as
16430         $(built-program-cmd).
16431         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
16432         $testprogram without using LD_LIBRARY_PATH and $ldso.
16434         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
16435         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
16436         $(rtld-installed-name).
16437         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
16438         (rtld_installed_name): Likewise.
16439         (library_path): Likewise.
16440         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
16441         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
16442         $(run-program-prefix) to tst-tables.sh.
16443         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
16444         it to run tst-table-from and tst-table-to.
16445         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
16446         Pass it to tst-table.sh.
16447         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
16448         $(run-program-prefix) to tst-gettext.sh.
16449         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
16450         tst-translit.sh.
16451         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
16452         tst-gettext2.sh.
16453         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
16454         to run tst-gettext.
16455         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
16456         to run tst-gettext2.
16457         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
16458         to run tst-translit.
16459         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
16460         $(run-program-prefix) to tst-mtrace.sh.
16461         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
16462         to run tst-mtrace.
16463         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
16464         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
16465         $(rtld-installed-name).
16466         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
16467         (rtld_installed_name): Likewise.
16468         (run_program_prefix): New variable.  Use it to run wordexp-test.
16470         * Makeconfig (ARCH): Remove all definitions.
16471         (machine): Likewise.
16472         [ARCH]: Remove conditional code.
16473         [!objdir]: Give error.
16474         [!objdir] (objpfx): Remove.
16475         [!objdir] (common-objpfx): Likewise.
16476         [!objdir] (common-objdir): Likewise.
16477         * configure.in (config_makefile): Remove.  Hardcode Makefile in
16478         AC_CONFIG_FILES call.
16479         * configure: Regenerated.
16481         [BZ #13888]
16482         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
16483         or TMPDIR.
16484         (testout): Likewise.
16486         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
16487         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
16488         $(rtld-installed-name).
16489         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
16490         (rtld_installed_name): Likwise.
16491         (runit): Remove function.
16492         (run_getconf): New variable,  Use it for running getconf binary.
16494 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
16496         [BZ #14716]
16497         * string/test-memmem.c (check_result): New function.
16498         (do_one_test): Use it.
16499         (check1): New function.
16500         (test_main): Use it.
16502 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
16504         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
16506 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
16508         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
16509         (_G_LSEEK64): Likewise.
16510         (_G_MMAP64): Likewise.
16511         (_G_FSTAT64): Likewise.
16512         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
16513         (_G_LSEEK64): Likewise.
16514         (_G_MMAP64): Likewise.
16515         (_G_FSTAT64): Likewise.
16516         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
16517         unconditional.  Call __mmap64 directly.
16518         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
16519         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
16520         __lseek64 directly.
16521         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
16522         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
16523         __mmap64 directly.
16524         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
16525         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
16526         __lseek64 directly.
16527         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
16528         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
16529         __lseek64 directly.
16530         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
16531         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
16532         __lseek64 directly.
16533         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
16534         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
16535         __fxstat64 directly.
16536         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
16537         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
16538         unconditional.
16539         (freopen64) [!_G_OPEN64]: Remove conditional code.
16540         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
16541         unconditional.
16542         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
16543         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
16544         unconditional.
16545         (ftello64) [!_G_LSEEK64]: Remove conditional code.
16546         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
16547         unconditional.
16548         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16549         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
16550         unconditional.
16551         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
16552         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
16553         unconditional.
16554         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16555         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
16556         unconditional.
16557         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16558         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
16559         unconditional.
16560         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16562 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16564         [BZ #12140]
16565         * manual/memory.texi (Malloc Tunable Parameters): Add note
16566         about free list pointers overwriting some perturb bytes.
16567         Wording suggested by Roland McGrath.
16569 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
16571         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
16572         (lgamma_test): Likewise.
16573         (tgamma_test): Likewise.
16575 2012-10-16  Florian Weimer  <fweimer@redhat.com>
16577         [BZ #14700]
16578         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
16579         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
16581 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
16583         * NEWS: Mention BZ #14716.
16584         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
16585         when removing AVAILABLE1_USES_J macro.
16587 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
16589         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
16590         (__bswap_64): __uint64_t for unsigned 64-bit int.
16592 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
16594         * include/string.h (memmem): Declare libc hidden alias.
16595         * string/memmem.c (memmem): Define libc hidden alias.
16596         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
16597         __read, __close instead of open, read, close.
16599 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
16601         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
16602         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
16603         global and hidden.
16604         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
16605         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
16606         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
16607         Likewise.
16608         (__rawmemchr_sse2): Likewise.
16609         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
16610         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
16611         (__strchr_sse2): Likewise.
16612         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
16613         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
16614         (__strcasecmp_sse2): Likewise.
16615         (__strncasecmp_sse2): Likewise.
16616         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
16617         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
16618         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
16619         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
16620         (__strrchr_sse2): Likewise.
16621         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
16622         ifunc-impl-list.c.
16623         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16624         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16625         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16626         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16627         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16628         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16629         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16630         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16631         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
16632         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
16633         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
16634         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
16635         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
16636         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16637         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16638         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16639         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16640         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16641         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
16642         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
16643         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
16644         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
16645         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
16646         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16647         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
16648         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16649         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16650         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16651         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16652         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16654         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
16655         global and hidden.
16656         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
16657         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
16658         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
16659         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
16660         Likewise.
16661         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
16662         Likewise.
16663         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
16664         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
16665         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
16666         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
16667         ifunc-impl-list.c.
16668         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16669         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16670         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16671         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16672         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16673         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16674         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16675         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16676         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16677         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16678         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16679         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16680         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16681         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
16682         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
16683         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16684         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
16685         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
16686         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16687         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16688         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16689         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16690         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16691         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16692         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16693         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
16694         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
16695         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
16696         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
16697         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16698         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
16699         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16700         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16701         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
16702         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16703         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16704         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16705         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16706         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16707         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16708         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
16710         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
16711         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
16712         * include/ifunc-impl-list.h: New file.
16713         * misc/ifunc-impl-list.c: Likewise.
16714         * misc/Makefile (routines): Add ifunc-impl-list.
16715         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
16716         * string/test-string.h: Include <ifunc-impl-list.h>.
16717         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
16718         impl_array): New variables.
16719         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
16720         are defined.
16721         (test_init): Call __libc_ifunc_impl_list to initialize
16722         func_list if TEST_IFUNC and TEST_NAME are defined.
16724         * string/Makefile (strop-tests): Add bcopy and bzero.
16725         * string/test-bcopy.c: New file.
16726         * string/test-bzero.c: Likewise.
16727         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
16728         defined.
16729         * string/test-memset.c: Support bzero test if TEST_BZERO is
16730         defined.
16731         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
16732         __libc_memmove.
16733         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
16734         __libc_memset.
16735         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
16736         of memset.
16738 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
16740         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
16741         * configure: Regenerated.
16743         * Makeconfig (+link-static-before-libc): Don't include
16744         $(link-static-libc).
16746         * libio/libio.h (_IO_pos_t): Remove.
16748 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
16750         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
16751         McGrath.
16753 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
16755         * crypt/crypt-entry.c: Include fips-private.h.
16756         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
16757         * crypt/md5c-test.c (main): Tolerate disabled MD5.
16758         * sysdeps/unix/sysv/linux/fips-private.h: New file.
16759         * sysdeps/generic/fips-private.h: New file, dummy fallback.
16761 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
16763         * crypt/crypt-private.h: Include stdbool.h.
16764         (_ufc_setup_salt_r): Return bool.
16765         * crypt/crypt-entry.c: Include errno.h.
16766         (__crypt_r): Return NULL with EINVAL for bad salt.
16767         * crypt/crypt_util.c (bad_for_salt): New.
16768         (_ufc_setup_salt_r): Check that salt is long enough and within
16769         the specified alphabet.
16770         * crypt/badsalttest.c: New file.
16771         * crypt/Makefile (tests): Add it.
16772         ($(objpfx)badsalttest): New.
16774 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
16776         * NEWS: Add entry for BZ #14602.
16778 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
16780         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
16781         type-generic.
16782         * math/libm-test.inc: Update comment listing what functions and
16783         macros are tested.
16784         (isgreater_test): New function.
16785         (isgreaterequal_test): Likewise.
16786         (isless_test): Likewise.
16787         (islessequal_test): Likewise.
16788         (islessgreater_test): Likewise.
16789         (isunordered_test): Likewise.
16790         (main): Call the new functions.
16792 2012-10-09  Roland McGrath  <roland@hack.frob.com>
16794         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
16795         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
16796         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
16797         * sysdeps/i386/configure: Regenerated.
16798         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
16799         * sysdeps/mach/configure: Regenerated.
16800         * sysdeps/mach/hurd/configure: Regenerated.
16801         * sysdeps/powerpc/configure: Regenerated.
16802         * sysdeps/powerpc/powerpc32/configure: Regenerated.
16803         * sysdeps/powerpc/powerpc64/configure: Regenerated.
16804         * sysdeps/s390/s390-32/configure: Regenerated.
16805         * sysdeps/s390/s390-64/configure: Regenerated.
16806         * sysdeps/sh/configure: Regenerated.
16807         * sysdeps/sparc/configure: Regenerated.
16808         * sysdeps/unix/sysv/linux/configure: Regenerated.
16809         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
16810         * sysdeps/x86_64/configure: Regenerated.
16812         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
16813         defined.  Don't check if MAP is NULL.
16815 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
16817         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
16818         (_G_stat64): Likewise.
16819         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
16820         (_G_stat64): Likewise.
16821         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
16822         instead of struct _G_stat64.
16823         * libio/fileops.c (mmap_remap_check): Likewise.
16824         (decide_maybe_mmap): Likewise.
16825         (_IO_new_file_seekoff): Likewise.
16826         (_IO_file_stat): Likewise.
16827         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
16828         _G_off64_t.
16829         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
16830         instead of struct _G_stat64.
16831         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16833 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
16835         [BZ #14602]
16836         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16837         Replace with ...
16838         (CHECK_EOL): New macro.
16839         (two_way_short_needle): Check beginning of haystack for EOL.  Use
16840         CHECK_EOL.
16841         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16842         Replace with CHECK_EOL.
16843         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16844         Replace with CHECK_EOL.
16846 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
16848         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
16849         type-generic.
16850         * math/libm-test.inc: Update comment listing what functions and
16851         macros are tested.
16852         (finite_test): New function.
16853         (isinf_test): Likewise.
16854         (isnan_test): Likewise.
16855         (fpclassify_test): Test subnormal input.
16856         (isfinite_test): Likewise.
16857         (isnormal_test): Likewise.
16858         (main): Call the new functions.
16860 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
16862         [BZ #14660]
16863         * Makerules (%.dynsym): Force C locale when running
16864         $(OBJDUMP) --dynamic-syms.
16866 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
16868         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
16869         <stdint.h>.
16871 2012-10-06  David S. Miller  <davem@davemloft.net>
16873         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
16874         upper 32-bits of the length value in %o2 since we use branch-on-register
16875         tests which consider the entire 64-bit register.
16877 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
16879         * string/test-strstr.c (check2): Add a test for page boundary.
16881 2012-10-05  David S. Miller  <davem@davemloft.net>
16883         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
16884         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
16885         file.
16886         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16887         sysdep_routines.
16888         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16889         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
16890         and bzero when HWCAP_SPARC_CRYPTO is present.
16892 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
16894         [BZ #14602]
16895         * string/test-strstr.c (check2): New function.
16896         (test_main): Call check2.
16898         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
16899         and bug-strchr1.
16900         * string/bug-strcasestr1.c (do_test): Moved to ...
16901         * string/test-strcasestr.c (check1): Here.  New function.
16902         (do_one_test): Break out result checking code into ...
16903         (check_result): This.  New function.
16904         (do_one_test): Call check_result.
16905         (test_main): Call check1.
16906         * string/bug-strchr1.c (do_test): Moved to ...
16907         * string/test-strchr.c (check1): Here.  New function.
16908         (do_one_test): Break out result checking code into ...
16909         (check_result): This.  New function.
16910         (do_one_test): Call check_result.
16911         (test_main): Call check1.
16912         * string/bug-strstr1.c (main): Moved to ...
16913         * string/test-strstr.c (check1): Here.  New function.
16914         (do_one_test): Break out result checking code into ...
16915         (check_result): This.  New function.
16916         (do_one_test): Call check_result.
16917         (test_main): Call check1.
16918         * string/bug-strcasestr1.c: Removed.
16919         * string/bug-strchr1.c: Likewise.
16920         * string/bug-strstr1.c: Likewise.
16922         * elf/Makefile (dl-routines): Add hwcaps.
16923         * elf/dl-support.c (_dl_important_hwcaps): Removed.
16924         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
16925         (_dl_important_hwcaps): Moved to ...
16926         * elf/dl-hwcaps.c: Here.  New file.
16927         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
16929         [BZ #14557]
16930         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
16931         if IS_IN_rtld isn't defined.
16933         * elf/dl-support.c (_dl_sysinfo_map): New.
16934         Include "get-dynamic-info.h" and "setup-vdso.h".
16935         (_dl_non_dynamic_init): Call setup_vdso.
16936         * elf/dynamic-link.h: Don't include <assert.h>.
16937         (elf_get_dynamic_info): Moved to ...
16938         * elf/get-dynamic-info.h: Here.  New file.
16939         * elf/dynamic-link.h: Include "get-dynamic-info.h".
16940         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
16941         * elf/setup-vdso.h: Here.  New file.
16942         * elf/rtld.c: Include "setup-vdso.h".
16943         (dl_main): Call setup_vdso.
16945 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
16947         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
16948         creal in comment listing functions tested.  List finite, isinf,
16949         isnan, isless, islessequal, isgreater, isgreaterequal,
16950         islessgreater, isunordered, lgamma_r and pow10 as functions and
16951         macros not tested.  Mention which functions not tested are aliases
16952         for other functions.  Fix typo.  Note that signs of NaNs are not
16953         tested.
16955         * scripts/config.guess: Update from config.git.
16956         * scripts/config.sub: Likewise.
16958 2012-10-04  Roland McGrath  <roland@hack.frob.com>
16960         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
16961         * misc/madvise.c (madvise): Renamed to __madvise.
16962         Make madvise a weak alias.
16963         * include/sys/mman.h: Declare __madvise.
16964         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
16965         * sysdeps/unix/syscalls.list
16966         (madvise): Make __madvise the strong name, and madvise a weak alias.
16967         * sysdeps/unix/sysv/linux/syscalls.list
16968         (madvise, mmap): Remove redundant entries.
16969         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
16970         * malloc/malloc.c (mtrim): Likewise.
16971         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
16973 2012-10-03  Roland McGrath  <roland@hack.frob.com>
16975         * sysdeps/mach/hurd/dl-cache.c: File removed.
16976         * config.h.in (USE_LDCONFIG): New #undef.
16977         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
16978         * configure: Regenerated.
16979         * elf/Makefile (dl-routines): Add dl-cache only under
16980         [$(use-ldconfig) = yes].
16981         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
16982         cache on [USE_LDCONFIG].
16983         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
16984         [USE_LDCONFIG].
16985         * elf/rtld.c (dl_main): Likewise.
16987 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
16989         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
16990         _SC_LEVEL4_CACHE_LINESIZE.
16992 2012-10-03  Roland McGrath  <roland@hack.frob.com>
16994         * sysdeps/unix/bsd/confstr.h: File removed.
16996 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
16998         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
16999         sys/sdt-config.h.
17001 2012-10-02  Roland McGrath  <roland@hack.frob.com>
17003         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
17004         Make 'mapoff' field ElfW(Off) rather than off_t.
17006 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
17008         * nscd/Makefile: Remove nscd-cflags and all its users.
17009         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
17010         (CFLAGS-nonlib): Add compiler flags for nscd modules.
17012         [BZ #10631]
17013         * malloc.c (malloc_printerr): Clarify error message.
17015 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
17017         [BZ #14648]
17018         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17019         Set bit_FMA_Usable if FMA is supported.
17020         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
17021         macro.
17022         (bit_FMA4_Usable): Updated.
17023         (index_FMA_Usable): New macro.
17024         (CPUID_FMA): Likewise
17025         (HAS_FMA): Defined with bit_FMA_Usable.
17027 2012-10-01  Roland McGrath  <roland@hack.frob.com>
17029         * bits/types.h (__swblk_t): Type removed.
17030         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
17031         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
17032         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17033         (__SWBLK_T_TYPE): Likewise.
17034         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17035         (__SWBLK_T_TYPE): Likewise.
17036         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17037         (__SWBLK_T_TYPE): Likewise.
17038         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17039         (__SWBLK_T_TYPE): Likewise.
17041 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
17042             Honza Horak <hhorak@redhat.com>
17044         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
17045         (xdr_mapname): Use YPMAXMAP as maxsize.
17046         (xdr_peername): Use YPMAXPEER as maxsize.
17047         (xdr_keydat): Use YPAXRECORD as maxsize.
17048         (xdr_valdat): Use YPMAXRECORD as maxsize.
17050 2012-10-01  Roland McGrath  <roland@hack.frob.com>
17052         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
17054         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
17055         * csu/init-first.c: ... here.
17056         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
17057         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
17058         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
17059         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17060         * sysdeps/i386/init-first.c: File removed.
17061         * sysdeps/sh/init-first.c: File removed.
17063 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
17065         [BZ #14645]
17066         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
17067         if x * y might underflow to zero and z is zero.
17068         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17069         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17070         * math/libm-test.inc (min_subnorm_value): New variable.
17071         (fma_test): Add more tests.
17072         (fma_test_towardzero): Likewise.
17073         (fma_test_downward): Likewise
17074         (fma_test_upward): Likewise.
17075         (initialize): Set min_subnorm_value.
17077 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
17079         [BZ #14638]
17080         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
17081         0 + 0.
17082         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
17083         mode for addition resulting in exact zero.
17084         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
17085         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
17086         exact 0 + 0.
17087         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17088         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17089         * math/libm-test.inc (fma_test): Add more tests.
17090         (fma_test_towardzero): New function.
17091         (fma_test_downward): Likewise.
17092         (fma_test_upward): Likewise.
17093         (main): Call the new functions.
17095 2012-09-28  David S. Miller  <davem@davemloft.net>
17097         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
17099 2012-09-28  Roland McGrath  <roland@hack.frob.com>
17101         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
17102         instead of SIGALRM.
17104         * sysdeps/gnu/_G_config.h: Moved to ...
17105         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
17106         * sysdeps/mach/hurd/_G_config.h: Moved to ...
17107         * sysdeps/generic/_G_config.h: ... here.
17109         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
17111         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
17113         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
17114         Conditionalize target on [libnss_test1.so-version].
17116         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
17118         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
17119         (elfobjdir): Move out of conditionals.
17121         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
17122         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
17123         (__nss_lookup_function): Conditionalize label remove_from_tree on
17124         [!DO_STATIC_NSS || SHARED], matching its only use.
17126 2012-09-28  David S. Miller  <davem@davemloft.net>
17128         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
17129         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
17130         file.
17131         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17132         sysdep_routines.
17133         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17134         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
17135         when HWCAP_SPARC_CRYPTO is present.
17137 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
17139         * io/tst-mknodat.c: Create a FIFO instead of a socket.
17141 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
17143         [BZ #6530]
17144         * stdio-common/vfprintf.c (process_string_arg): Revert
17145         2000-07-22 change.
17147 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
17149         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
17150         for testcase.
17151         * stdio-common/tst-sprintf.c: Include <locale.h>
17152         (main): Test sprintf's handling of incomplete multibyte
17153         characters.
17155 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
17157         * elf/dl-runtime.c (VERSYMIDX): Removed.
17158         * elf/dl-version.c (VERSYMIDX): Likewise.
17159         * elf/do-rel.h (VERSYMIDX): Likewise.
17160         (VALIDX): Likewise.
17161         * elf/dynamic-link.h (VERSYMIDX): Likewise.
17162         * elf/rtld.c (VALIDX): Likewise.
17163         (ADDRIDX): Likewise.
17164         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
17165         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
17166         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
17167         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
17168         (VALIDX): Likewise.
17169         (ADDRIDX): Likewise.
17171 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
17173         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
17175 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
17177         [BZ #11438]
17178         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
17179         to global scope.
17180         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
17181         addresses are in the same scope as 192.0.2/24.
17182         * posix/gai.conf: Document new scope table defaults.
17184 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17186         [BZ #5298]
17187         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
17188         for ftell.  Compute offsets from write pointers instead.
17189         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17191 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17193         [BZ #14543]
17194         * libio/Makefile (tests): New test case tst-fseek.
17195         * libio/tst-fseek.c: New test case to verify that fseek/ftell
17196         combination works in wide mode.
17197         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
17198         state when the external buffer state changes.
17200 2012-09-27  David S. Miller  <davem@davemloft.net>
17202         [BZ #14376]
17203         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
17204         pass reloc->r_addend in as the 'high' argument to
17205         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
17207         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17209 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
17211         * rt/tst-aio2.c: Include <pthread.h>.
17212         * rt/tst-aio3.c: Likewise.
17214 2012-09-27  Steve Ellcey  <sellcey@mips.com>
17216         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
17218 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
17220         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
17221         contents on [SHARED].
17223 2012-09-26  Marek Polacek  <polacek@redhat.com>
17225         [BZ #14530]
17226         [BZ #13741]
17227         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
17228         for C++ and GCC <4.3 as well as for non GCC compilers.
17230 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
17232         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17234 2012-09-25  Roland McGrath  <roland@hack.frob.com>
17236         * Makefile.in (all, install): Declare with .PHONY.
17237         Reported by Michael Hope <michael.hope@linaro.org>.
17239 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17241         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
17242         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
17243         system header.
17244         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
17245         Likewise.
17246         (sydep_routines): Add the new and the internal functions.
17247         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
17248         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
17249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
17250         (GLIBC_2.17): Add the new function.
17251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17252         (GLIBC_2.17): Likewise.
17253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
17254         (GLIBC_2.17): Likewise.
17255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
17256         (GLIBC_2.17): Likewise.
17257         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
17259 2012-09-25  Alan Modra  <amodra@gmail.com>
17261         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
17262         Add release barrier before setting once_control to say
17263         initialisation is done.  Add hints on lwarx.  Use macro in
17264         place of isync.
17265         (clear_once_control): Add release barrier.
17267 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
17269         [BZ #13629]
17270         * math/s_clog.c (__clog): Handle more values close to |z| = 1
17271         specially.
17272         * math/s_clog10.c (__clog10): Likewise.
17273         * math/s_clog10f.c (__clog10f): Likewise.
17274         * math/s_clog10l.c (__clog10l): Likewise.
17275         * math/s_clogf.c (__clogf): Likewise.
17276         * math/s_clogl.c (__clogl): Likewise.
17277         * math/Makefile (libm-calls): Add x2y2m1.
17278         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
17279         (__x2y2m1): Likewise.
17280         (__x2y2m1l): Likewise.
17281         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
17282         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
17283         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17284         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17285         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
17286         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
17287         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
17288         * sysdeps/i386/fpu/libm-test-ulps: Update.
17289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17291         [BZ #14621]
17292         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
17293         int as type of variable DEPTH.
17294         (glob): Use size_t instead of int as type of variables NEWCOUNT
17295         and OLD_PATHC.
17297 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17299         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17300         Add s_sincosf-sse2.
17301         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
17302         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
17303         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
17304         macros for using routine as __sincosf_ia32.
17305         Use macro for function declaration and weak_alias.
17306         * sysdeps/i386/fpu/libm-test-ulps: Update.
17308         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
17309         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17311         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
17312         subnormal argument.
17313         * math/s_cexpf.c (__cexpf): Likewise.
17314         * math/s_csinf.c (__csinf): Likewise.
17315         * math/s_csinhf.c (__csinhf): Likewise.
17316         * math/s_ctanf.c (__ctanf): Likewise.
17317         * math/s_ctanhf.c (__ctanhf): Likewise.
17318         * math/s_ccosh.c (__ccoshf): Likewise.
17319         * math/s_cexp.c (__cexpl): Likewise.
17320         * math/s_csin.c (__csin): Likewise.
17321         * math/s_csinh.c (__csinh): Likewise.
17322         * math/s_ctan.c (__ctan): Likewise.
17323         * math/s_ctanh.c (ctanh): Likewise.
17324         * math/s_ccoshl.c (__ccoshl): Likewise.
17325         * math/s_cexpl.c (__cexpl): Likewise.
17326         * math/s_csinl.c (__csinl): Likewise.
17327         * math/s_csinhl.c (__csinhl): Likewise.
17328         * math/s_ctanl.c (__ctanl): Likewise.
17329         * math/s_ctanhl.c (__ctanhl): Likewise.
17331 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
17333         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
17334         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
17335         (_IO_off_t): Define to __off_t, not _G_off_t.
17336         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
17337         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
17338         (_IO_wint_t): Define to wint_t, not _G_wint_t.
17339         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
17340         type of __dummy and __dummy2 fields.
17341         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
17342         (_G_ssize_t): Likewise.
17343         (_G_off_t): Likewise.
17344         (_G_pid_t): Likewise.
17345         (_G_uid_t): Likewise.
17346         (_G_wchar_t): Likewise.
17347         (_G_wint_t): Likewise.
17348         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
17349         (_G_ssize_t): Likewise.
17350         (_G_off_t): Likewise.
17351         (_G_pid_t): Likewise.
17352         (_G_uid_t): Likewise.
17353         (_G_wchar_t): Likewise.
17354         (_G_wint_t): Likewise.
17355         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
17356         (_G_ssize_t): Likewise.
17357         (_G_off_t): Likewise.
17358         (_G_pid_t): Likewise.
17359         (_G_uid_t): Likewise.
17360         (_G_wchar_t): Likewise.
17361         (_G_wint_t): Likewise.
17363 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
17365         * malloc/arena.c: Include malloc-sysdep.h.
17366         (shrink_heap): Use check_may_shrink_heap to decide if madvise
17367         is sufficient to shrink the heap or an unmap is needed.
17368         * sysdeps/generic/malloc-sysdep.h: New file.  Define
17369         new function check_may_shrink_heap.
17370         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
17371         new function check_may_shrink_heap.
17373 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
17375         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
17376         comments.
17378 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
17380         * catgets/test-gencat.sh: Add "set -e".
17381         * elf/tst-pathopt.sh: Likewise.
17382         * grp/tst_fgetgrent.sh: Likewise.
17383         * iconvdata/run-iconv-test.sh: Likewise.
17384         * intl/tst-gettext.sh: Likewise.
17385         * intl/tst-gettext2.sh: Likewise.
17386         * intl/tst-gettext4.sh: Likewise.
17387         * intl/tst-gettext6.sh: Likewise.
17388         * intl/tst-translit.sh: Likewise.
17389         * io/ftwtest-sh: Likewise.
17390         * libio/test-freopen.sh: Likewise.
17391         * malloc/tst-mtrace.sh: Likewise.
17392         * posix/globtest.sh: Likewise.
17393         * posix/tst-getconf.sh: Likewise.
17394         * posix/wordexp-tst.sh: Likewise.
17395         * stdio-common/tst-printf.sh: Likewise.
17396         * stdio-common/tst-unbputc.sh: Likewise.
17397         * stdlib/tst-fmtmsg.sh: Likewise.
17398         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17399         * catgets/Makefile: Do not specify -e option when running
17400         testsuite shell scripts.
17401         * elf/Makefile: Likewise.
17402         * grp/Makefile: Likewise.
17403         * iconvdata/Makefile: Likewise.
17404         * intl/Makefile: Likewise.
17405         * io/Makefile: Likewise.
17406         * libio/Makefile: Likewise.
17407         * malloc/Makefile: Likewise.
17408         * posix/Makefile: Likewise.
17409         * stdio-common/Makefile: Likewise.
17410         * stdlib/Makefile: Likewise.
17411         * sysdeps/x86_64/Makefile: Likewise.
17413         * io/ftwtest-sh: Add copyright header.
17414         * posix/globtest.sh: Likewise.
17415         * posix/tst-getconf.sh: Likewise.
17416         * posix/wordexp-tst.sh: Likewise.
17417         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17419 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
17421         [BZ #13679]
17422         * Makeconfig (+link): Defined as $(+link-static) if
17423         $(build-shared) isn't yes.
17424         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
17425         isn't yes.
17426         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
17428         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
17430         [BZ #14562]
17431         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
17432         new chunk size with MALLOC_ALIGN_MASK.
17434 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
17436         [BZ #5044]
17437         * stdio-common/printf_fphex.c: Include <stdbool.h> and
17438         <rounding-mode.h>.
17439         (__printf_fphex): Determine rounding using get_rounding_mode and
17440         round_away.
17441         * stdio-common/tst-printf-round.c (struct hex_test): New
17442         structure.
17443         (hex_tests): New variable.
17444         (test_hex_in_one_mode): New function.
17445         (do_test): Also run tests for hex float output.
17447 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
17449         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17450         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17451         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
17452         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17453         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17454         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
17455         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17456         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17458 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
17460         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
17461         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
17462         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
17463         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
17465 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
17467         [BZ #14579]
17468         * elf/rtld.c (dl_main): Limit the check for self loading to normal
17469         mode only.
17470         * elf/tst-rtld-load-self.sh: New test.
17471         * elf/Makefile: Run it.
17473 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
17475         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
17476         (tst-writev-ENV): Remove.
17477         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
17479 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
17481         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
17483 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
17485         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
17486         unconditional.
17487         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
17488         Likewise.
17489         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
17490         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
17491         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
17492         Likewise.
17494 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
17496         [BZ #14587]
17497         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
17498         * config.make.in (have-cpp-asm-debuginfo): Removed.
17499         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
17500         * configure: Regenerated.
17502 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
17504         [BZ #5044]
17505         * stdio-common/printf_fp.c: Include <stdbool.h> and
17506         <rounding-mode.h>.
17507         (___printf_fp): Determine rounding using get_rounding_mode and
17508         round_away.
17509         * stdio-common/tst-printf-round.c: New file.
17510         * stdio-common/Makefile (tests): Add tst-printf-round.
17511         (link-libm): New variable.
17512         ($(objpfx)tst-printf-round): Depend in $(link-libm).
17514 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
17516         [BZ #14576]
17517         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
17518         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
17519         Likewise.
17520         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
17521         Likewise.
17523 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
17525         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
17526         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17527         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17528         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17530 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
17532         [BZ #14518]
17533         * include/rounding-mode.h: New file.
17534         * sysdeps/generic/get-rounding-mode.h: Likewise.
17535         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
17536         * stdlib/strtod_l.c: Include <rounding-mode.h>.
17537         (MAX_VALUE): New macro.
17538         (MIN_VALUE): Likewise.
17539         (overflow_value): New function.
17540         (underflow_value): Likewise.
17541         (round_and_return): Use overflow_value and underflow_value to
17542         determine return values in overflow and underflow cases.  Use
17543         round_away to determine rounding depending on rounding mode.
17544         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
17545         determine return values in overflow and underflow cases.
17546         * stdlib/tst-strtod-round.c: Include <fenv.h>.
17547         (struct test_results): New structure.
17548         (struct test): Use struct test_results to store expected results
17549         for all rounding modes.
17550         (TEST): Include expected results for all rounding modes.
17551         (test_in_one_mode): New function.
17552         (do_test): Use test_in_one_mode to compute and check results.
17553         Check results for all rounding modes.
17554         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
17555         $(link-libm).
17557 2012-12-09  Allan McRae  <allan@archlinux.org>
17559         * sysdeps/i386/fpu/libm-test-ulps: Update
17561 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
17563         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
17564         (_G_int32_t): Likewise.
17565         (_G_uint16_t): Likewise.
17566         (_G_uint32_t): Likewise.
17567         (_G_HAVE_BOOL): Likewise.
17568         (_G_HAVE_ATEXIT): Likewise.
17569         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17570         (_G_HAVE_IO_FILE_OPEN): Likewise.
17571         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
17572         (_G_int32_t): Likewise.
17573         (_G_uint16_t): Likewise.
17574         (_G_uint32_t): Likewise.
17575         (_G_HAVE_BOOL): Likewise.
17576         (_G_HAVE_ATEXIT): Likewise.
17577         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17578         (_G_HAVE_IO_FILE_OPEN): Likewise.
17579         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
17580         (_G_int32_t): Likewise.
17581         (_G_uint16_t): Likewise.
17582         (_G_uint32_t): Likewise.
17583         (_G_HAVE_BOOL): Likewise.
17584         (_G_HAVE_ATEXIT): Likewise.
17585         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17586         (_G_HAVE_IO_FILE_OPEN): Likewise.
17588 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
17590         * csu/libc-tls.c: Update copyright years.
17592 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
17594         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
17595         [!_G_USING_THUNKS]: Remove conditional code.
17596         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
17597         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
17599         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
17600         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
17601         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17602         (_G_VTABLE_LABEL_PREFIX): Likewise.
17603         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17604         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17605         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17606         (_G_VTABLE_LABEL_PREFIX): Likewise.
17607         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17608         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17609         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17610         (_G_VTABLE_LABEL_PREFIX): Likewise.
17611         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17613 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
17615         * libio/Makefile: Include ../Makeconfig before tests.
17616         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
17617         only if $(build-shared) is yes.
17619         * iconv/gconv_db.c: Update copyright years.
17621 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17623         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
17624         unwind info if defined PIC. Fix special cases description.
17625         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
17627         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
17628         DP_HI_MASK entry.
17629         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
17631 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
17633         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
17635         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
17636         is NULL.
17638         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
17639         (LDLIBS-tst-chk4): This.
17640         (LDFLAGS-tst-chk5): Renamed to ...
17641         (LDLIBS-tst-chk5): This.
17642         (LDFLAGS-tst-chk6): Renamed to ...
17643         (LDLIBS-tst-chk6): This.
17644         (LDFLAGS-tst-lfschk4): Renamed to ...
17645         (LDLIBS-tst-lfschk4): This.
17646         (LDFLAGS-tst-lfschk5): Renamed to ...
17647         (LDLIBS-tst-lfschk5): This.
17648         (LDFLAGS-tst-lfschk6): Renamed to ...
17649         (LDLIBS-tst-lfschk6): This.
17651         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
17652         on $(common-objpfx)soversions.mk.
17654 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
17656         [BZ #10014]
17657         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
17658         example host name.
17660 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
17662         * malloc/arena.c (arena_get_retry): New function that gets
17663         another arena for the caller to try its request on.
17664         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
17665         current arena cannot fulfill the request.
17666         (__libc_memalign): Likewise.
17667         (__libc_memalign): Likewise.
17668         (__libc_pvalloc): Likewise.
17669         (__libc_calloc): Likewise.
17671 2012-09-05  John Tobey  <john.tobey@gmail.com>
17673         [BZ #13542]
17674         * manual/arith.texi (Operations on Complex): Fix description
17675         of carg branch cut.
17677 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
17679         [BZ #10014]
17680         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
17681         host name.
17683         [BZ #10038]
17684         * manual/memory.texi (Memory): Make order of menu items match
17685         order of sections.
17687 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
17689         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
17690         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
17691         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
17693 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
17695         * csu/libc-tls.c (static_dtv): Renamed to ...
17696         (_dl_static_dtv): This.  Make it global.
17697         (_dl_initial_dtv): Removed.
17698         (__libc_setup_tls): Updated.
17699         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
17700         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
17701         DL_INITIAL_DTV.
17703 2012-09-06  Petr Machata  <pmachata@redhat.com>
17705         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
17706         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
17707         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
17708         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
17710 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
17712         [BZ #14545]
17713         * csu/libc-tls.c (_dl_initial_dtv): New variable.
17714         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
17715         freeing dtv[-1].
17717 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
17719         [BZ #14544]
17720         * Makeconfig (link-static-before-libc): Replace $(+prector)
17721         with $(+prectorT).
17722         (link-static-after-libc): Replace $(+postctor) with
17723         $(+postctorT).
17724         (link-bounded): Replace $(+prector)/$(+postctor) with
17725         $(+prectorT)/$(+postctorT).
17726         (+prectorT): New macro.
17727         (+postctorT): Likewise.
17729 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
17731         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
17732         (round_str): Handle values above the maximum for IBM long double
17733         as inexact.
17734         * stdlib/tst-strtod-round.c (tests): Regenerated.
17736 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17738         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
17739         assembler flag.
17740         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
17741         zarch_nohighgprs around the zarch optimized routines.
17742         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
17743         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
17744         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
17745         for zarch.
17747 2012-09-05  David S. Miller  <davem@davemloft.net>
17749         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17751         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
17752         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
17753         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
17754         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
17755         entries.
17757 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
17759         * malloc/arena.c: Fold copyright years.
17760         * malloc/mcheck.c, malloc/memusage.c: Likewise.
17762 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
17764         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
17766 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
17768         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
17770 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
17772         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
17773         change internal state upon failure.
17775 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
17777         * malloc/mcheck.c (mcheck_check_all): Fix typo.
17778         * malloc/memusage.c (mmap): Likewise.
17779         (mmap64, mremap): Likewise.  Adjust name in comment.
17781 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17783         * libio/fileops.c: Fix typos in comments.
17784         * libio/oldfileops.c: Likewise.
17785         * libio/wfileops.c: Likewise.
17787 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17789         [BZ #1349]
17790         * malloc/Makefile (tests): Add tst-malloc-usable test case.
17791         (tst-malloc-usable-ENV): Set environment for test case.
17792         * malloc/hooks.c (malloc_check_get_size): New function to get
17793         requested size.
17794         * malloc/malloc.c (musable): Use malloc_check_get_size.
17795         * malloc/tst-malloc-usable.c: New test case.
17797 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
17799         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
17801 2012-09-05  Allan McRae  <allan@archlinux.org>
17803         [BZ #13966]
17804         * configure.in (CXX_SYSINCLUDES): Use compiler output to
17805         determine header location.
17806         * configure: Regenerated.
17808 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
17810         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
17811         float format.
17812         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
17813         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
17814         format.
17815         (test): Regenerate.
17817 2012-09-04  David S. Miller  <davem@davemloft.net>
17819         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
17820         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
17821         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
17823 2012-09-04  Florian Weimer  <fweimer@redhat.com>
17825         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
17826         failures.
17828         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
17830 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
17832         [BZ #9914]
17833         * libio/iogetdelim.c: Include <limits.h>.
17834         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
17835         + len + 1 would overflow.
17837 2012-09-03  Andreas Jaeger  <aj@suse.de>
17839         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17840         * sysdeps/i386/fpu/libm-test-ulps: Update.
17842 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17844         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17845         Add s_sinf-sse2, s_conf-sse2.
17847         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
17848         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
17849         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
17850         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
17852         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
17853         for using routine as __sinf_ia32.
17854         Use macro for function declaration and weak_alias.
17855         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
17856         for using routine as __cosf_ia32.
17857         Use macro for function declaration and weak_alias.
17859         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
17860         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
17862         * sysdeps/x86_64/fpu/s_sinf.S: New file.
17863         * sysdeps/x86_64/fpu/s_cosf.S: New file.
17864         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17866         * math/libm-test.inc (cos_test): Add more test cases.
17867         (sin_test): Likewise.
17868         (sincos_test): Likewise.
17870 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17872         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
17873         (IFUNC_RESOLVE): Make pointers to the specialized implementations
17874         hidden.
17875         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17877 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
17879         [BZ #14538]
17880         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
17881         first element of the GOT.
17882         (elf_machine_load_address): Return the difference between
17883         the runtime address of _DYNAMIC and elf_machine_dynamic ().
17885 2012-09-01  Allan McRae  <allan@archlinux.org>
17887         [BZ #13412]
17888         * configure.in (AWK): Require gawk version 3.0 or later.
17889         * configure: Regenerated.
17891 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
17893         * sysdeps/unix/sysv/linux/kernel-features.h
17894         (__ASSUME_POSIX_CPU_TIMERS): Remove.
17895         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17896         [__NR_clock_getres]: Make code unconditional.
17897         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
17898         (clock_getcpuclockid): Remove code left unreachable by removal of
17899         conditionals.
17900         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
17901         code unconditional.
17902         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
17903         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17904         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
17905         Make code unconditional.
17906         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
17907         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17908         * sysdeps/unix/sysv/linux/clock_settime.c
17909         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
17910         conditional code.
17911         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
17912         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17914 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
17916         [BZ #14476]
17917         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
17918         scripts/test-installation.pl.
17920         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
17921         and $ld_so_version if it is set.
17923 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17925         [BZ #14516]
17926         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
17927         failure if reading from procfs failed.
17928         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
17930 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
17932         * sysdeps/unix/sysv/linux/kernel-features.h
17933         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
17934         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
17935         Remove conditional code.
17936         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17937         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
17938         Remove conditional code.
17939         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17940         * sysdeps/unix/sysv/linux/i386/fxstat.c
17941         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17942         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17943         * sysdeps/unix/sysv/linux/i386/fxstatat.c
17944         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17945         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17946         * sysdeps/unix/sysv/linux/i386/lxstat.c
17947         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17948         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17949         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
17950         Remove conditional code.
17951         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17952         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
17953         Remove conditional code.
17954         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17955         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
17956         <kernel-features.h>.
17957         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
17958         Remove.
17959         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
17960         Remove conditional code.
17961         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17962         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
17963         Remove conditional.
17965 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
17967         [BZ #5400]
17968         * NEWS: Add fixed bug number.
17970 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
17972         [BZ #14519]
17973         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
17974         underflowing exponent in case of negative sign.
17975         * stdlib/tst-strtod-round-data: Add more tests.
17976         * stdlib/tst-strtod-round.c (tests): Regenerated.
17978         [BZ #3479]
17979         * stdlib/strtod_l.c (NDIG): Remove.
17980         (HEXNDIG): Likewise.
17981         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
17982         smallest representable value.
17983         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
17984         lie within an exact representation of 1/2 ulp of the result.
17985         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
17986         unconditionally.
17987         (TENS_P9_IDX): Define unconditionally.
17988         (TENS_P9_SIZE): Likewise.
17989         (TENS_P10_IDX): Likewise.
17990         (TENS_P10_SIZE): Likewise.
17991         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
17992         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
17993         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
17994         entries for 10^2^13 and 10^2^14.
17995         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
17996         (TENS_P13_IDX): Define.
17997         (TENS_P13_SIZE): Likewise.
17998         (TENS_P14_IDX): Likewise.
17999         (TENS_P14_SIZE): Likewise.
18000         (_fpioconst_pow10): Change array size to
18001         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
18002         unconditional.
18003         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
18004         1024]: Add entries for 10^2^13 and 10^2^14.
18005         [LAST_POW10 > _LAST_POW10]: Remove #error.
18006         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
18007         (_fpioconst_pow10): Change array size to
18008         FPIOCONST_POW10_ARRAY_SIZE.
18009         * stdlib/gen-fpioconst.c: New file.
18010         * stdlib/gen-tst-strtod-round.c: Likewise.
18011         * stdlib/tst-strtod-round-data: Likewise.
18012         * stdlib/tst-strtod-round.c: Likewise.
18013         * stdlib/Makefile (tests): Add tst-strtod-round.
18015         [BZ #14459]
18016         * stdlib/strtod_l.c: Include <stdint.h>.
18017         (NDEBUG): Do not define.
18018         (round_and_return): Change EXPONENT parameter to type intmax_t.
18019         Rearrange calculations to avoid internal overflow possibilities.
18020         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
18021         Rearrange calculations to avoid internal overflow possibilities.
18022         Assert that number fits inside MPNSIZE limbs.
18023         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
18024         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
18025         calculations and add assertions to avoid internal overflow
18026         possibilities.  Add casts to avoid signed/unsigned operations.
18027         * stdlib/tst-strtod-overflow.c: New file.
18028         * stdlib/Makefile (tests): Add tst-strtod-overflow.
18030 2012-08-25  Marek Polacek  <polacek@redhat.com>
18032         * time/time.h: Fix some typos in comments.
18034 2012-08-23  Roland McGrath  <roland@hack.frob.com>
18036         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
18037         * posix/tst-rfc3484-2.c: Likewise.
18038         * posix/tst-rfc3484-3.c: Likewise.
18040 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
18042         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
18043         (EF_ARM_ABI_FLOAT_HARD): Likewise.
18045 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
18047         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
18048         #include of fxstatat64.c.
18050 2012-08-22  Roland McGrath  <roland@hack.frob.com>
18052         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
18053         * shadow/getspent_r.c: Likewise.
18054         * shadow/getspnam.c: Likewise.
18055         * shadow/getspnam_r.c: Likewise.
18056         * gshadow/getsgent.c: Likewise.
18057         * gshadow/getsgent_r.c: Likewise.
18058         * gshadow/getsgnam.c: Likewise.
18059         * gshadow/getsgnam_r.c: Likewise.
18060         * inet/getnetbyad.c: Likewise.
18061         * inet/getnetbyad_r.c: Likewise.
18062         * inet/getnetbynm.c: Likewise.
18063         * inet/getnetbynm_r.c: Likewise.
18064         * inet/getnetent.c: Likewise.
18065         * inet/getnetent_r.c: Likewise.
18066         * inet/getproto.c: Likewise.
18067         * inet/getproto_r.c: Likewise.
18068         * inet/getprtent.c: Likewise.
18069         * inet/getprtent_r.c: Likewise.
18070         * inet/getprtname.c: Likewise.
18071         * inet/getprtname_r.c: Likewise.
18072         * inet/getrpcbyname.c: Likewise.
18073         * inet/getrpcbyname_r.c: Likewise.
18074         * inet/getrpcbynumber.c: Likewise.
18075         * inet/getrpcbynumber_r.c: Likewise.
18076         * inet/getrpcent.c: Likewise.
18077         * inet/getrpcent_r.c: Likewise.
18078         * inet/getaliasent.c: Likewise.
18079         * inet/getaliasent_r.c: Likewise.
18080         * inet/getaliasname.c: Likewise.
18081         * inet/getaliasname_r.c: Likewise.
18082         * nscd/getgrgid_r.c: Likewise.
18083         * nscd/getgrnam_r.c: Likewise.
18084         * nscd/gethstbyad_r.c: Likewise.
18085         * nscd/gethstbynm3_r.c: Likewise.
18086         * nscd/getpwnam_r.c: Likewise.
18087         * nscd/getpwuid_r.c: Likewise.
18088         * nscd/getsrvbynm_r.c: Likewise.
18089         * nscd/getsrvbypt_r.c: Likewise.
18090         * nscd/gai.c: Likewise.
18092         * configure.in (build_nscd): New substituted variable, set
18093         by --disable-build-nscd and defaults to $use_nscd.
18094         * configure: Regenerated.
18095         * config.make.in (build-nscd): New substituted variable.
18096         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
18097         Change conditional to require [$(build-nscd) = yes] as well.
18098         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
18100         [BZ# 13696]
18101         * configure.in (use_nscd): New substituted variable, set by
18102         --disable-nscd.  If enabled, define USE_NSCD.
18103         * configure: Regenerated.
18104         * config.h.in: Add USE_NSCD.
18105         * config.make.in (use-nscd): New substituted variable.
18106         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18107         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
18108         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
18109         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
18110         (CFLAGS-getgrnam_r.c): Likewise.
18111         (CFLAGS-initgroups.c): Likewise.
18112         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
18113         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
18114         Variables removed.
18115         * inet/getnetgrent_r.c
18116         (nscd_setnetgrent): New function, broken out of ...
18117         (setnetgrent): ... here.  Call it.
18118         (innetgr): Conditionalize nscd bits on [USE_NSCD].
18119         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
18120         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
18121         * nscd/Makefile (routines, aux): Move definitions after include of
18122         Makeconfig.  Conditionalize on [$(use-nscd) != no].
18123         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
18124         Conditionalize on [USE_NSCD].
18125         (is_nscd, nscd_init_cb): Likewise.
18126         (nss_load_library): Conditionalize init callback on [USE_NSCD].
18127         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
18128         * nss/nss_db/db-init.c: Likewise.
18129         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
18130         [USE_NSCD].
18131         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
18132         (make_request): Use it.
18133         (cache_valid_p): New function.
18134         (__check_pf): Use it.
18135         * NEWS: Add item for --disable-nscd.
18137 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
18139         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
18140         to support sed >= 4.2.1-20-ga9bf076.
18141         * configure: Regenerated.
18143 2012-08-22  Roland McGrath  <roland@hack.frob.com>
18145         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
18146         Conditionalize whole body on [IREL].
18148 2012-08-22  Jeff Law <law@redhat.com>
18150         [BZ #14505]
18151         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
18152         if the family is PF_UNSPEC.
18154 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
18156         * Makerules (lib-version): Rename from V.
18157         (install-lib-nosubdir): Change V to lib-version.
18159 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
18161         [BZ #14252]
18162         * powerpc32/power6/wcschr.c: New file.
18163         * powerpc32/power6/wcscpy.c: New file.
18164         * powerpc32/power6/wcsrchr.c: New file.
18165         * powerpc64/power6/wcschr.c: New file.
18166         * powerpc64/power6/wcscpy.c: New file.
18167         * powerpc64/power6/wcsrchr.c: New file.
18169 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
18171         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
18172         (two_way_short_needle): Use it.
18173         * string/strstr.c (AVAILABLE1_USES_J): Define.
18174         * string/strcasestr.c: Likewise.
18176         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
18177         array references.
18178         * string/strcasestr.c (TOLOWER): Make side-effect safe.
18180         [BZ #11607]
18181         * NEWS: Add an entry.
18182         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
18183         define their defaults.
18184         (two_way_short_needle): Detect end-of-string on-the-fly.
18185         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
18186         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
18187         * string/bug-strcasestr1.c: New test.
18188         * string/Makefile: Run it.
18190 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
18192         [BZ #11607]
18193         * string/str-two-way.h (two_way_short_needle): Optimize matching of
18194         the first character.
18196 2012-08-21  Roland McGrath  <roland@hack.frob.com>
18198         * csu/elf-init.c (__libc_csu_irel): Function removed.
18199         * csu/libc-start.c (apply_irel): New function.
18200         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
18202 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
18204         * sysdeps/unix/sysv/linux/kernel-features.h
18205         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
18206         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18207         <kernel-features.h>.
18208         [__NR_fadvise64_64]: Make code unconditional.
18209         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
18210         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18211         !__NR_fadvise64_64)]: Likewise.
18212         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18213         !__NR_fadvise64_64))]: Likewise.
18214         [__NR_fadvise64]: Make code unconditional.
18215         [!__NR_fadvise64]: Remove conditional code.
18216         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
18217         <kernel-features.h>.
18218         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18219         unconditional.
18220         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18221         conditional code.
18222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
18223         not include <kernel-features.h>.
18224         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18225         unconditional.
18226         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18227         conditional code.
18228         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
18229         include <kernel-features.h>.
18230         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18231         unconditional.
18232         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18233         conditional code.
18235 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
18237         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
18238         slight instruction rearrangements per scrollpipe analysis.
18239         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18241 2012-08-20  Roland McGrath  <roland@hack.frob.com>
18243         * manual/syslog.texi (syslog; vsyslog, closelog):
18244         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
18245         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
18247         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
18248         DSOCAPS to match condition on defining it.
18250 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
18252         * sysdeps/unix/sysv/linux/kernel-features.h
18253         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
18254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
18255         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18256         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
18258         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18259         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
18261         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18262         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18264         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
18265         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
18267         * sysdeps/unix/sysv/linux/kernel-features.h
18268         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
18269         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
18270         unconditional.
18271         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18272         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
18273         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18274         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18275         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
18276         Make code unconditional.
18277         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18278         (__mmap64) [!__NR_mmap2]: Likewise.
18279         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
18280         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18281         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18282         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
18283         [__NR_mmap2]: Make code unconditional.
18284         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18285         (__mmap64) [!__NR_mmap2]: Likewise.
18287 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18289         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
18291 2012-08-18  Andreas Jaeger  <aj@suse.de>
18293         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
18295 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
18297         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
18298         * include/unistd.h (__have_sock_cloexec): Likewise.
18299         (__have_pipe2): Likewise.
18300         (__have_dup3): Likewise.
18302 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
18304         [BZ #9685]
18305         * include/unistd.h (__have_pipe2): Change define into an extern int.
18306         (__have_dup3): Likewise.
18307         * socket/have_sock_cloexec.c: Include fcntl.h.
18308         (__have_pipe2): New variable.
18309         (__have_dup3): Likewise.
18311 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
18313         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
18315 2012-08-17  Marek Polacek  <polacek@redhat.com>
18317         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
18318         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
18320 2012-08-17  Roland McGrath  <roland@hack.frob.com>
18322         * configure.in: Add AC_SUBST for sysheaders.
18323         * configure: Regenerated.
18324         * config.make.in (sysheaders): New substituted variable.
18326         * sysdeps/unix/mkfifo.c: Moved ...
18327         * sysdeps/posix/mkfifo.c: ... here.
18328         * sysdeps/unix/mkfifoat.c: Moved ...
18329         * sysdeps/posix/mkfifoat.c: ... here.
18331         * sysdeps/unix/utime.c: Moved ...
18332         * sysdeps/posix/utime.c: ... here.
18334         * sysdeps/unix/time.c: Moved ...
18335         * sysdeps/posix/time.c: ... here.
18336         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
18337         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
18339         * sysdeps/unix/nice.c: Moved ...
18340         * sysdeps/posix/nice.c: ... here.
18342         * sysdeps/unix/alarm.c: Moved ...
18343         * sysdeps/posix/alarm.c: ... here.
18345         * intl/Makefile ($(codeset_mo)): Depend on the input file.
18347 2012-08-17  Jeff Law <law@redhat.com>
18349         * intl/Makefile (codeset_mo): New variable.
18350         ($(codeset_mo)): New target.
18351         (tst-codeset.out): Depend on that.  Remove explicit rule.
18352         (tst-gettext3.out, tst-gettext5.out): Likewise.
18353         (LOCPATH-ENV, tst-codeset-ENV): New variables.
18354         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
18355         * intl/tst-codeset.sh: Remove.
18356         * intl/tst-gettext3.sh: Likewise.
18357         * intl/tst-gettext5.sh: Likewise.
18359 2012-08-17  Roland McGrath  <roland@hack.frob.com>
18361         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
18362         * sysdeps/unix/syscalls.list: ... here.
18364         * sysdeps/posix/getaddrinfo.c
18365         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
18366         (gaiconf_init, gaiconf_reload): Use them.
18367         [!_STATBUF_ST_NSEC]
18368         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
18369         Define using time_t rather than struct timespec.
18371         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
18372         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
18373         Macros removed.
18374         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
18375         [!NO_THREADS].
18376         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
18377         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
18378         Likewise.
18380         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
18381         __libc_cleanup_push argument.
18383         * bits/param.h: New file.
18384         * misc/sys/param.h: New file.
18385         * include/sys/param.h: New file.
18386         * misc/Makefile (headers): Add bits/param.h.
18387         * sysdeps/generic/sys/param.h: File removed.
18388         * sysdeps/unix/sysv/linux/bits/param.h: New file.
18389         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
18390         * sysdeps/mach/hurd/bits/param.h: New file.
18391         * sysdeps/mach/hurd/sys/param.h: File removed.
18393         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
18394         last change.
18396         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
18397         [_IO_MTSAFE_IO].
18398         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
18399         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
18400         New macros.
18402         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
18403         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
18404         rather than -D_IO_MTSAFE_IO conditionally.
18405         * stdio-common/Makefile (CPPFLAGS): Likewise.
18406         * wcsmbs/Makefile (CPPFLAGS): Likewise.
18407         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
18408         Use $(libio-mtsafe).
18409         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
18410         of -D_IO_MTSAFE_IO.
18411         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
18412         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
18413         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
18414         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
18415         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
18416         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
18417         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
18418         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
18419         (CFLAGS-fread_u_chk.c): Likewise.
18420         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
18421         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
18422         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
18423         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
18424         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
18425         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
18426         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
18427         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
18428         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
18430         * libio/Makefile: Test [$(libc-reentrant) = yes]
18431         instead of [$(filter %REENTRANT, $(defines)) nonempty].
18433         * Makeconfig
18434         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
18435         * sysdeps/pthread/configure: File removed.
18436         * sysdeps/pthread/Makeconfig: New file.
18437         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
18438         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
18440 2012-08-16  Gary Benson  <gbenson@redhat.com>
18442         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
18443         unmapping the first object in a namespace.
18445 2012-08-16  Roland McGrath  <roland@hack.frob.com>
18447         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
18448         (__internal_setnetgrent): ... this.  Add internal_function to
18449         definition.  Add libc_hidden_def.
18450         (setnetgrent): Update caller.
18451         (internal_endnetgrent): Renamed to ...
18452         (__internal_endnetgrent): ... this.  Add internal_function to
18453         definition.  Add libc_hidden_def.
18454         (endnetgrent): Update caller.
18455         (internal_getnetgrent_r): Renamed to ...
18456         (__internal_getnetgrent_r): ... this.  Add internal_function to
18457         definition.  Add libc_hidden_def.
18458         (__getnetgrent_r): Update caller.
18459         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
18461 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
18463         * stdlib/longlong.h: Update from GCC.
18465 2012-08-16  Roland McGrath  <roland@hack.frob.com>
18467         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
18468         on _QL, which is set by umul_ppmm but never used.
18469         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
18470         variables, which are set by GMP macros but never used.
18471         * stdio-common/_itowa.c (_itowa): Likewise.
18472         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
18473         * stdlib/mod_1.c (mpn_mod_1): Likewise.
18475 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
18477         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
18478         struct La_sh_regs is not constant.
18479         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
18480         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
18481         and struct La_sparc64_regs are not constant.
18483 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
18485         * sysdeps/unix/sysv/linux/kernel-features.h
18486         (__ASSUME_POSIX_TIMERS): Remove.
18487         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18488         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18489         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
18490         Make code unconditional.
18491         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18492         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
18493         Make code unconditional.
18494         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18495         * sysdeps/unix/sysv/linux/clock_nanosleep.c
18496         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
18497         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18498         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
18499         Make code unconditional.
18500         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18501         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
18502         (__libc_missing_posix_timers): Remove.
18504 2012-08-15  Roland McGrath  <roland@hack.frob.com>
18506         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
18507         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
18509         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
18511         * elf/dl-sym.c: Include <stdlib.h>.
18513         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
18514         constants, which avoids warnings in 32-bit builds.
18516         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
18517         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
18519         * misc/lseek.c: File moved to ...
18520         * io/lseek.c: ... here.
18522         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
18524         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
18525         shifting LEN more than 31 bits at once.
18527 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18529         [BZ #14195]
18530         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
18531         segmentation fault for a case of two empty input strings.
18532         * string/test-strncasecmp.c (check1): Renamed to...
18533         (bz12205): ...this.
18534         (bz14195): Add new testcase for two empty input strings and N > 0.
18535         (test_main): Call new testcase, adapt for renamed function.
18537 2012-08-15  Andreas Jaeger  <aj@suse.de>
18539         [BZ #14090]
18540         * crypt/md5test2.c: New test, based on test supplied by Serge
18541         Belyshev <belyshev@depni.sinp.msu.ru>.
18542         * crypt/Makefile (xtests): Add md5test-giant..
18543         * crypt/Makefile ($(objpfx)md5test-giant): Add.
18545 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
18547         [BZ #14090]
18548         * crypt/md5.c (md5_process_block): Don't assume the buffer
18549         length is less than 2**32.
18550         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
18551         length is less than 2**64.
18553 2012-08-15  Roland McGrath  <roland@hack.frob.com>
18555         * string/str-two-way.h: Include <sys/param.h>.
18556         (MAX): Macro removed.
18558         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
18559         Move #define and #undef of memmove to just before and after
18560         including <string.h>.
18562         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
18563         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
18564         and after including <string.h>.  Move declarations of
18565         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
18566         to before #include "string/memmove.c".
18568         * include/dirent.h: Declare __getdirentries.
18570         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
18571         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
18573 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
18575         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
18576         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
18577         * sysdeps/i386/configure: Regenerated.
18578         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
18579         STABS_CURRENT_FILE, and STABS_FUN.
18580         (END): Remove call to STABS_FUN_END.
18581         (STABS_CURRENT_FILE1): Delete.
18582         (STABS_CURRENT_FILE): Likewise.
18583         (STABS_FUN): Likewise.
18584         (STABS_FUN_END): Likewise.
18585         (STABS_FUN2): Likewise.
18586         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
18587         * sysdeps/x86_64/configure: Regenerated.
18589 2012-08-14  Roland McGrath  <roland@hack.frob.com>
18591         * elf/dl-open.c: Include <atomic.h>.
18592         * elf/dl-lookup.c: Likewise.
18594 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
18596         * sysdeps/unix/sysv/linux/kernel-features.h
18597         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
18598         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
18599         unconditionally.
18600         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
18601         unconditionally.
18602         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
18603         condition on __ASSUME_CLONE_THREAD_FLAGS.
18605 2012-08-14  Andreas Jaeger  <aj@suse.de>
18607         * sysdeps/i386/fpu/libm-test-ulps: Update.
18609 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
18611         * include/atomic.h (atomic_exchange_and_add): Split into ...
18612         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
18613         New atomic macros.
18615 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
18617         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18619 2012-08-13  Jeff Law <law@redhat.com>
18621         * manual/stdio.texi (snprintf): Clarify handling of the trailing
18622         null byte in the output string.
18624 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
18626         * sysdeps/unix/sysv/linux/kernel-features.h
18627         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
18628         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
18629         (__ASSUME_ARG_MAX_STACK_BASED): Define.
18630         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18631         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
18632         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
18633         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
18635 2012-08-09  Jeff Law <law@redhat.com>
18637         [BZ #13939]
18638         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
18639         When avoid_arena is set, don't retry in the that arena.  Pick the
18640         next one, whatever it might be.
18641         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
18642         (arena_lock): Pass in new parameter to arena_get2.
18643         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
18644         arena_get2.
18645         (__libc_malloc): Unify retrying after main arena failure with
18646         __libc_memalign version.
18647         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
18649 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
18651         [BZ #14166]
18652         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
18653         to __redirect_strstr.
18654         (__strstr_sse42): Use typeof __redirect_strstr.
18655         (__strstr_ia32): Likewise.
18656         (__libc_strstr): New prototype.
18657         (strstr): Renamed to ...
18658         (__libc_strstr): This.
18659         (strstr): New strong alias of __libc_strstr.
18660         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18661         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
18662         __redirect_time.
18663         Include <time.h>.
18664         (__libc_time): New prototype.
18665         (time_ifunc): Replace time with __libc_time.
18666         (time): New strong alias and hidden definition of __libc_time.
18667         (__GI_time): Remove strong alias.
18668         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
18669         Include <stddef.h>.
18670         (memmove): Redefined to __redirect_memmove.
18671         (__memmove_sse2): Use typeof __redirect_memmove.
18672         (__memmove_ssse3): Likewise.
18673         (__memmove_ssse3_back): Likewise.
18674         (__libc_memmove): New prototype.
18675         (memmove): Renamed to ...
18676         (__libc_memmove): This.
18677         (memmove): New strong alias of __libc_memmove.
18679 2012-08-08  Mark Salter  <msalter@redhat.com>
18681         * elf/elf.h
18682         (R_MN10300_TLS_GD): Define.
18683         (R_MN10300_TLS_LD): Likewise.
18684         (R_MN10300_TLS_LDO): Likewise.
18685         (R_MN10300_TLS_GOTIE): Likewise.
18686         (R_MN10300_TLS_IE): Likewise.
18687         (R_MN10300_TLS_LE): Likewise.
18688         (R_MN10300_TLS_DTPMOD): Likewise.
18689         (R_MN10300_TLS_DTPOFF): Likewise.
18690         (R_MN10300_TLS_TPOFF): Likewise.
18691         (R_MN10300_SYM_DIFF): Likewise.
18692         (R_MN10300_ALIGN): Likewise.
18693         (R_MN10300_NUM): Update.
18695 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
18697         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
18698         Remove.
18700 2012-08-08  Roland McGrath  <roland@hack.frob.com>
18702         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
18704         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
18705         sysdeps/unix -> sysdeps/posix move.
18706         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18708 2012-08-07      Allan McRae     <allan@archlinux.org>
18710         [BZ #14303]
18711         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
18712         (SUNOS_CPP): Likewise.
18713         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
18714         not found.
18715         (open_input): Call CPP using execvp.
18717 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
18719         * sysdeps/unix/sysv/linux/kernel-features.h
18720         (__ASSUME_PROT_GROWSUPDOWN): Remove.
18721         (__ASSUME_NO_CLONE_DETACHED): Likewise.
18722         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18723         (__ASSUME_WAITID_SYSCALL): Likewise.
18724         * sysdeps/unix/sysv/linux/dl-execstack.c
18725         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
18726         code unconditional.
18727         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
18728         conditional code.
18729         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
18730         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
18731         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
18732         code.
18733         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
18734         unconditional.
18735         [__ASSUME_WAITID_SYSCALL]: Likewise.
18736         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
18738 2012-08-07  Roland McGrath  <roland@hack.frob.com>
18740         * sysdeps/unix/closedir.c: Renamed to ...
18741         * sysdeps/posix/closedir.c: ... here.
18742         * sysdeps/unix/dirfd.c: Renamed to ...
18743         * sysdeps/posix/dirfd.c: ... here.
18744         * sysdeps/unix/dirstream.h: Renamed to ...
18745         * sysdeps/posix/dirstream.h: ... here.
18746         * sysdeps/unix/fdopendir.c: Renamed to ...
18747         * sysdeps/posix/fdopendir.c: ... here.
18748         * sysdeps/unix/opendir.c: Renamed to ...
18749         * sysdeps/posix/opendir.c: ... here.
18750         * sysdeps/unix/readdir.c: Renamed to ...
18751         * sysdeps/posix/readdir.c: ... here.
18752         * sysdeps/unix/readdir_r.c: Renamed to ...
18753         * sysdeps/posix/readdir_r.c: ... here.
18754         * sysdeps/unix/rewinddir.c: Renamed to ...
18755         * sysdeps/posix/rewinddir.c: ... here.
18756         * sysdeps/unix/seekdir.c: Renamed to ...
18757         * sysdeps/posix/seekdir.c: ... here.
18758         * sysdeps/unix/telldir.c: Renamed to ...
18759         * sysdeps/posix/telldir.c: ... here.
18760         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
18761         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
18762         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
18763         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
18765         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
18766         * bits/fcntl.h: ... here.
18768         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
18769         not 0.
18770         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
18771         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
18772         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
18773         (struct flock): Move l_start, l_len to the beginning.
18774         Use __pid_t for l_pid.
18775         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
18776         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
18777         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
18778         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
18779         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
18780         [__USE_LARGEFILE64] (struct flock64): New type.
18781         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
18783         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
18784         * bits/dirent.h: ... here.
18786         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
18787         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
18789 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
18791         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18792         Change from 2.6.0 to 2.6.16.
18793         * sysdeps/unix/sysv/linux/configure: Regenerated.
18794         * sysdeps/unix/sysv/linux/kernel-features.h
18795         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
18796         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
18797         version.
18798         (__ASSUME_UTIMES): Likewise.
18799         (__ASSUME_CLONE_STOPPED): Remove.
18800         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
18801         architectures, not kernel version.
18802         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
18803         (__ASSUME_NO_CLONE_DETACHED): Likewise.
18804         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18805         (__ASSUME_WAITID_SYSCALL): Likewise.
18806         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
18807         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
18808         * README: State 2.6.16 as minimum Linux kernel version.  Do not
18809         refer to older versions.
18811 2012-08-06  Roland McGrath  <roland@hack.frob.com>
18813         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
18814         Define alphasort64 as an alias.
18815         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
18816         Define versionsort64 as an alias.
18817         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
18818         Define scandir64 as an alias.
18819         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
18820         Define scandirat64 as an alias.
18821         * dirent/alphasort64.c (alphasort64):
18822         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
18823         * dirent/versionsort64.c: Likewise.
18824         * dirent/scandir64.c: Likewise.
18825         * dirent/scandirat64.c: Likewise.
18826         * sysdeps/wordsize-64/alphasort.c: File removed.
18827         * sysdeps/wordsize-64/alphasort64.c: File removed.
18828         * sysdeps/wordsize-64/scandir.c: File removed.
18829         * sysdeps/wordsize-64/scandir64.c: File removed.
18830         * sysdeps/wordsize-64/scandirat.c: File removed.
18831         * sysdeps/wordsize-64/scandirat64.c: File removed.
18832         * sysdeps/wordsize-64/versionsort.c: File removed.
18833         * sysdeps/wordsize-64/versionsort64.c: File removed.
18834         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
18835         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
18836         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
18837         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
18838         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
18839         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
18840         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
18841         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
18843         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
18844         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18845         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
18846         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18847         [defined __arch64__ || defined __sparcv9]
18848         (__INO_T_MATCHES_INO64_T): New macro.
18849         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18850         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
18851         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
18852         * sysdeps/unix/sysv/linux/bits/dirent.h
18853         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
18854         (_DIRENT_MATCHES_DIRENT64): New macro.
18856         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
18857         Define lockf64 as an alias.
18858         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
18859         Define fseeko64 as an alias.
18860         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
18861         Define ftello64 as an alias.
18862         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
18863         Define _IO_fgetpos64 and fgetpos64 as aliases.
18864         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
18865         Define _IO_fsetpos64 and fsetpos64 as aliases.
18866         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
18867         Conditionalize body on this.
18868         * libio/fseeko64.c: Likewise.
18869         * libio/ftello64.c: Likewise.
18870         * libio/iofgetpos64.c: Likewise.
18871         * libio/iofsetpos64.c: Likewise.
18872         * sysdeps/wordsize-64/lockf.c: File removed.
18873         * sysdeps/wordsize-64/lockf64.c: File removed.
18874         * sysdeps/wordsize-64/fseeko.c: File removed.
18875         * sysdeps/wordsize-64/fseeko64.c: File removed.
18876         * sysdeps/wordsize-64/ftello.c: File removed.
18877         * sysdeps/wordsize-64/ftello64.c: File removed.
18878         * sysdeps/wordsize-64/iofgetpos.c: File removed.
18879         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
18880         * sysdeps/wordsize-64/iofsetpos.c: File removed.
18881         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
18882         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
18883         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
18884         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
18885         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
18886         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
18887         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
18888         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
18889         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
18890         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
18891         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
18893         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
18894         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18895         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
18896         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18897         [defined __arch64__ || defined __sparcv9]
18898         (__OFF_T_MATCHES_OFF64_T): New macro.
18899         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18900         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
18901         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18902         (__OFF_T_MATCHES_OFF64_T): New macro.
18904 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
18906         * stdlib/secure-getenv.c (__secure_getenv): Replace
18907         GLIBC_2_16 with GLIBC_2_17.
18909 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
18911         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
18912         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18914 2012-08-03  David S. Miller  <davem@davemloft.net>
18916         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18918 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
18920         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
18921         Remove.
18922         (__ASSUME_CORRECT_SI_PID): Likewise.
18923         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
18924         (__ASSUME_TMPFS_NAME): Likewise.
18925         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
18926         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
18927         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
18928         (HAVE_AUX_SECURE): Make definition unconditional.
18929         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
18930         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
18932 2012-08-03  Roland McGrath  <roland@hack.frob.com>
18934         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
18935         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
18936         * sysdeps/mach/hurd/eloop-threshold.h: New file.
18937         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18938         __eloop_threshold instead of SYMLOOP_MAX.
18940         * sysdeps/generic/eloop-threshold.h: New file.
18941         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
18942         of MAXSYMLINKS.
18943         * elf/chroot_canon.c (chroot_canon): Likewise.
18945 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
18947         [BZ #13717]
18948         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18949         Change to 2.6.0 everywhere.
18950         * sysdeps/unix/sysv/linux/configure: Regenerated.
18951         * sysdeps/unix/sysv/linux/kernel-features.h
18952         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
18953         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
18954         kernel versions.
18955         (__ASSUME_POSIX_TIMERS): Define unconditionally.
18956         (__ASSUME_FUTEX_REQUEUE): Remove.
18957         (__ASSUME_STATFS64): Define unconditionally.
18958         (__ASSUME_AT_SECURE): Likewise.
18959         (__ASSUME_CORRECT_SI_PID): Likewise.
18960         (__ASSUME_TGKILL): Define without depending on kernel version for
18961         i386.
18962         (__ASSUME_UTIMES): Likewise.
18963         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
18964         kernel version.
18965         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
18966         (__ASSUME_TMPFS_NAME): Likewise.
18967         * README: Update reference to Linux kernel versions.
18969 2012-08-02  Marek Polacek  <polacek@redhat.com>
18971         [BZ# 14150]
18972         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
18973         libc_cv_asm_type_prefix with %.
18974         * configure: Regenerated.
18975         * include/libc-symbols.h: Remove comment about
18976         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
18977         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
18978         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
18979         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
18980         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
18981         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
18982         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
18983         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
18984         * elf/tst-unique2mod1.c: Likewise.
18985         * elf/tst-unique1mod2.c: Likewise.
18986         * elf/tst-unique1mod1.c: Likewise.
18987         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
18988         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
18989         Replace ASM_TYPE_DIRECTIVE with .type.
18990         * sysdeps/s390/s390-64/sysdep.h: Likewise.
18991         * sysdeps/i386/sysdep.h: Likewise.
18992         * sysdeps/x86_64/sysdep.h: Likewise.
18993         * sysdeps/sh/sysdep.h: Likewise.
18994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18995         Do not define ASM_TYPE_DIRECTIVE.
18996         * sysdeps/powerpc/sysdep.h: Likewise.
18997         * sysdeps/powerpc/powerpc32/sysdep.h:
18998         Replace ASM_TYPE_DIRECTIVE with .type.
18999         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19000         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19001         * sysdeps/i386/fpu/e_powf.S: Likewise.
19002         * sysdeps/i386/fpu/e_expl.S: Likewise.
19003         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19004         * sysdeps/i386/fpu/e_acosh.S: Likewise.
19005         * sysdeps/i386/fpu/e_pow.S: Likewise.
19006         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19007         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19008         * sysdeps/i386/fpu/s_expm1.S: Likewise.
19009         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19010         * sysdeps/i386/fpu/e_log2.S: Likewise.
19011         * sysdeps/i386/fpu/e_log2l.S: Likewise.
19012         * sysdeps/i386/fpu/e_scalb.S: Likewise.
19013         * sysdeps/i386/fpu/e_powl.S: Likewise.
19014         * sysdeps/i386/fpu/e_log10f.S: Likewise.
19015         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19016         * sysdeps/i386/fpu/e_logl.S: Likewise.
19017         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19018         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19019         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19020         * sysdeps/i386/fpu/e_log2f.S: Likewise.
19021         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19022         * sysdeps/i386/fpu/e_log.S: Likewise.
19023         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19024         * sysdeps/i386/fpu/e_logf.S: Likewise.
19025         * sysdeps/i386/fpu/e_log10l.S: Likewise.
19026         * sysdeps/i386/fpu/e_atanh.S: Likewise.
19027         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19028         * sysdeps/i386/fpu/e_log10.S: Likewise.
19029         * sysdeps/i386/fpu/s_frexp.S: Likewise.
19030         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19031         * sysdeps/i386/fpu/s_asinh.S: Likewise.
19032         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19033         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19034         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
19035         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19036         * sysdeps/i386/i686/strtok.S: Likewise.
19037         * sysdeps/i386/i386-mcount.S: Likewise.
19038         * sysdeps/i386/strtok.S: Likewise.
19039         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
19040         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19041         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19042         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19043         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19044         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19045         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19046         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19047         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19048         * sysdeps/x86_64/_mcount.S: Likewise.
19049         * sysdeps/x86_64/strtok.S: Likewise.
19050         * sysdeps/sh/_mcount.S: Likewise.
19052 2012-08-01  Roland McGrath  <roland@hack.frob.com>
19054         * libio/iofopen.c: Include <fcntl.h>.
19055         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
19056         (_IO_fopen64, fopen64): Define as aliases.
19057         * libio/iofopen64.c: Include <fcntl.h>.
19058         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
19059         Conditionalize body on this.
19060         * sysdeps/wordsize-64/iofopen.c: File removed.
19061         * sysdeps/wordsize-64/iofopen64.c: File removed.
19063 2012-08-01  Marek Polacek  <polacek@redhat.com>
19065         * libc/Makeconfig: Use elf in place of binfmt-subdir.
19066         Use dlfcn directly instead of a variable.
19067         (binfmt-subdir): Do not define.
19068         (dlfcn): Likewise.
19070 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
19072         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
19073         Remove all definitions.
19074         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
19075         <kernel-features.h>.
19076         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19077         (miss_F_GETOWN_EX): Remove all definitions.
19078         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
19079         macro definition.
19080         [!__ASSUME_FCNTL64]: Remove conditional code.
19081         [__ASSUME_FCNTL64]: Make code unconditional.
19082         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
19083         <kernel-features.h>.
19084         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19085         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
19086         (lockf64) [__NR_fcntl64]: Make code unconditional.
19087         (lockf64) [__ASSUME_FCNTL64]: Likewise.
19089         * sysdeps/unix/sysv/linux/kernel-features.h
19090         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
19091         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
19092         Make code unconditional.
19093         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19094         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
19096         [__NR_vfork]: Make code unconditional.
19097         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19098         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
19100         [__NR_vfork]: Make code unconditional.
19101         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19102         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19104 2012-08-01  Roland McGrath  <roland@hack.frob.com>
19106         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
19107         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
19109         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19110         Define mkstemp64 as an alias.
19111         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19112         Define mkstemps64 as an alias.
19113         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19114         Define mkostemp64 as an alias.
19115         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19116         Define mkostemps64 as an alias.
19117         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
19118         Conditionalize body on this.
19119         * misc/mkostemp64.c: Likewise.
19120         * misc/mkostemps64.c: Likewise.
19121         * misc/mkstemps64.c: Likewise.
19122         * sysdeps/wordsize-64/mkstemp64.c: File removed.
19123         * sysdeps/wordsize-64/mkostemp64.c: File removed.
19124         * sysdeps/wordsize-64/mkostemp.c: File removed.
19125         * sysdeps/wordsize-64/mkstemp.c: File removed.
19126         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
19127         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
19128         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
19129         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
19131         [BZ #14138]
19132         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
19133         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
19134         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
19135         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
19137         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
19138         compat_symbol macros from <shlib-compat.h> rather than the underlying
19139         default_symbol_version and symbol_version macros, so that DEFAULT
19140         lines in shlib-versions are respected.
19141         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
19143 2012-08-01  Florian Weimer  <fweimer@redhat.com>
19145         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
19146         Declare with warn_unused_result.
19147         (setgid, setregid, setegid, setresgid): Likewise.
19148         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
19149         Likewise.
19150         * WUR-REPORT: Remove set*id functions.
19152 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
19154         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
19156 2012-07-31  Roland McGrath  <roland@hack.frob.com>
19158         [BZ #10191]
19159         * include/sys/socket.h (__libc_accept, __libc_accept4):
19160         Add attribute_hidden.
19161         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
19163         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
19164         use of PTR_MANGLE.
19165         * inet/getnetgrent_r.c (setup): Likewise.
19167         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
19169 2012-07-31  David S. Miller  <davem@davemloft.net>
19171         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19173 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
19175         [BZ #13629]
19176         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
19177         value between 1.0 and 2.0 and smaller part has absolute value less
19178         than 1.0.
19179         * math/s_clog10.c (__clog10): Likewise.
19180         * math/s_clog10f.c (__clog10f): Likewise.
19181         * math/s_clog10l.c (__clog10l): Likewise.
19182         * math/s_clogf.c (__clogf): Likewise.
19183         * math/s_clogl.c (__clogl): Likewise.
19184         * math/libm-test.inc (clog_test): Add more tests.
19185         (clog10_test): Likewise.
19186         * sysdeps/i386/fpu/libm-test-ulps: Update.
19187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19189 2012-07-31  Florian Weimer  <fweimer@redhat.com>
19191         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
19192         Exit with zero in case no suitable GID is found, and write a
19193         message to standard error.
19195 2012-07-30  Roland McGrath  <roland@hack.frob.com>
19197         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
19198         rather than to 1.
19199         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
19200         (MAXPATHLEN): Removed.
19201         (NOGROUP, NODEV): New macros.
19202         (setbit, clrbit, isset, isclr): New macros.
19203         (howmany, roundup, powerof2): New macros.
19204         (DEV_BSIZE): New macro.
19206         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
19207         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
19209         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
19210         definition on [!__NO_LONG_DOUBLE_MATH].
19212         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
19213         PTR_MANGLE and PTR_DEMANGLE.
19215         * socket/accept4.c (accept4): Rename to __libc_accept4.
19216         Define accept4 as a weak alias.
19218         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
19219         on [_DIRENT_HAVE_D_TYPE].
19220         * io/ftw.c (ftw_dir): Likewise.
19222         * io/xmknod.c (__xmknod): Don't check PATH for being null.
19224         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
19226         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
19227         Use the BSD numbers rather than the arbitrary ones we had.
19228         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
19229         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
19230         (SIGXCPU, SIGXFSZ): New macros.
19231         (_NSIG): Now 32.
19233         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
19234         initializer on [_LIBC_REENTRANT].
19236         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
19237         definitions inside [_POSIX_MAPPED_FILES].
19239         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
19241         * dirent/opendir.c: Include <fcntl.h>.
19243         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
19244         (__libc_getspecific): Likewise.
19245         (__libc_key_create): Likewise.
19247         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
19248         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
19249         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
19250         (tmpfile64): Define as alias.
19251         * sysdeps/wordsize-64/tmpfile.c: File removed.
19252         * sysdeps/wordsize-64/tmpfile64.c: File removed.
19253         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
19254         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
19256         * stdio-common/vfscanf.c: Include <stdbool.h>.
19257         * nss/makedb.c: Likewise.
19258         * stdio-common/_i18n_number.h: Likewise.
19259         * argp/argp-help.c: Likewise.
19260         * posix/wordexp.c: Likewise.
19261         * sysdeps/posix/spawni.c: Likewise.
19262         * nss/nss_files/files-initgroups.c: Likewise.
19263         * stdio-common/reg-modifier.c: Include <stdlib.h>.
19264         * nss/nss_files/files-initgroups.c: Likewise.
19265         * nss/nss_db/db-netgrp.c: Likewise.
19266         * nss/nss_db/db-initgroups.c: Likewise.
19267         * io/fchmodat.c: Include <sys/stat.h>.
19269         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
19270         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
19272         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
19273         [HAVE_MMAP].
19275         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
19276         Add multiple inclusion protection.
19278 2012-07-27  David S. Miller  <davem@davemloft.net>
19280         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19282 2012-07-27  Gary Benson  <gbenson@redhat.com>
19284         [BZ #14298]
19285         * elf/rtld.c: Include <stap-probe.h>.
19286         (dl_main): Added static probes "init_start" and "init_complete".
19287         * elf/dl-load.c: Include <stap-probe.h>.
19288         (lose): Take new parameter "nsid".
19289         Added static probe "map_failed".
19290         (_dl_map_object_from_fd): Pass namespace id to lose.
19291         Added static probe "map_start".
19292         (open_verify): Pass namespace id to lose.
19293         * elf/dl-open.c: Include <stap-probe.h>.
19294         (dl_open_worker) Added static probes "map_complete", "reloc_start"
19295         and "reloc_complete".
19296         * elf/dl-close.c: Include <stap-probe.h>.
19297         (_dl_close_worker): Added static probes "unmap_start" and
19298         "unmap_complete".
19299         * elf/rtld-debugger-interface.txt: New file documenting the above.
19301 2012-07-26  Roland McGrath  <roland@hack.frob.com>
19303         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
19304         rather than a string variable.
19305         * sunrpc/rpc_main.c (h_output): Likewise.
19306         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
19308 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
19310         * inet/check_native.c: New file.
19312 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
19314         [BZ #13629]
19315         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
19316         if larger part has absolute value 1.0.
19317         * math/s_clog10.c (__clog10): Likewise.
19318         * math/s_clog10f.c (__clog10f): Likewise.
19319         * math/s_clog10l.c (__clog10l): Likewise.
19320         * math/s_clogf.c (__clogf): Likewise.
19321         * math/s_clogl.c (__clogl): Likewise.
19322         * math/libm-test.inc (clog_test): Add more tests.
19323         (clog10_test): Likewise.
19324         * sysdeps/i386/fpu/libm-test-ulps: Update.
19325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19327         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
19328         (pltexit): Likewise.
19329         (La_regs): Likewise.
19330         (La_retval): Likewise.
19331         (int_retval): Likewise.
19332         Update #error for removed macros to refer only to definitions in
19333         tst-audit.h.
19334         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
19335         macro.
19336         (pltexit): Likewise.
19337         (La_regs): Likewise.
19338         (La_retval): Likewise.
19339         (int_retval): Likewise.
19340         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
19341         macro.
19342         (pltexit): Likewise.
19343         (La_regs): Likewise.
19344         (La_retval): Likewise.
19345         (int_retval): Likewise.
19346         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
19347         macro.
19348         (pltexit): Likewise.
19349         (La_regs): Likewise.
19350         (La_retval): Likewise.
19351         (int_retval): Likewise.
19352         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
19353         macro.
19354         (pltexit): Likewise.
19355         (La_regs): Likewise.
19356         (La_retval): Likewise.
19357         (int_retval): Likewise.
19358         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
19359         macro.
19360         (pltexit): Likewise.
19361         (La_regs): Likewise.
19362         (La_retval): Likewise.
19363         (int_retval): Likewise.
19364         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
19365         macro.
19366         (pltexit): Likewise.
19367         (La_regs): Likewise.
19368         (La_retval): Likewise.
19369         (int_retval): Likewise.
19370         * sysdeps/generic/tst-audit.h: Update comment to refer only to
19371         macro definitions in tst-audit.h.
19372         * sysdeps/i386/tst-audit.h: New file.
19373         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
19374         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
19375         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
19376         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
19377         * sysdeps/sh/tst-audit.h: Likewise.
19378         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
19379         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
19380         * sysdeps/x86_64/tst-audit.h: Likewise.
19382 2012-07-26  Andreas Jaeger  <aj@suse.de>
19384         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
19385         ptrace.
19387         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
19388         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
19389         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
19390         PTRACE_O_MASK.
19391         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
19392         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
19393         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
19395         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
19396         value.
19398         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
19399         _sigsys.
19400         (si_call_addr, si_syscall, si_arch): Define new macro.
19401         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
19402         _sigsys.
19403         (si_call_addr, si_syscall, si_arch): Define new marcro.
19404         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
19405         _sigsys.
19406         (si_call_addr, si_syscall, si_arch): Define new macro.
19407         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
19408         _sigsys.
19409         (si_call_addr, si_syscall, si_arch): Define new macro.
19411 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
19413         [BZ #13717]
19414         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19415         Change to 2.4.21 where previously 2.4.1.
19416         * sysdeps/unix/sysv/linux/configure: Regenerated.
19417         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
19418         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
19419         Linux kernel version.
19420         (__ASSUME_STD_AUXV): Remove.
19421         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
19422         kernel version.
19423         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
19424         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
19425         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
19426         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
19427         (__ASSUME_NETLINK_SUPPORT): Likewise.
19428         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
19429         (__no_netlink_support): Remove conditional definition.
19430         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
19431         Remove.
19432         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19433         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
19434         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
19435         (if_nameindex_ioctl): Remove.
19436         (if_nameindex_netlink): Do not handle __no_netlink_support.
19437         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19438         code.
19439         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
19440         Remove conditional code.
19441         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19442         code.
19443         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
19444         unconditional.
19445         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19446         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
19447         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
19448         Remove.
19449         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
19450         [!__ASSUME_STD_AUXV]: Remove conditional code.
19451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
19452         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
19453         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
19454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
19455         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
19456         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19457         code.
19458         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19460         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
19461         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19462         conditional code.
19463         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19465         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19466         code.
19467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19468         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19469         conditional code.
19470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
19471         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19472         code unconditional.
19473         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19474         conditional code.
19475         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19476         unconditional.
19477         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19478         conditional code.
19479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19480         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19481         unconditional.
19482         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19483         conditional code.
19484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
19485         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19486         code unconditional.
19487         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19488         conditional code.
19489         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19490         unconditional.
19491         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19492         conditional code.
19493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
19494         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19495         code unconditional.
19496         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19497         conditional code.
19498         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19499         unconditional.
19500         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19501         conditional code.
19503 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
19505         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
19506         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
19507         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
19508         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
19509         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
19510         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
19511         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
19512         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
19513         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
19514         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
19515         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
19516         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
19517         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
19518         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
19519         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
19520         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
19521         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
19522         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
19523         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
19524         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
19525         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
19526         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
19527         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19529 2012-07-25  Florian Weimer  <fweimer@redhat.com>
19531         * Versions.def: Add GLIBC_2.17.
19532         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
19533         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
19534         Introduce __libc_secure_getenv.
19535         * stdlib/Versions (2.17): Add secure_getenv
19536         (GLIBC_PRIVATE): Add __libc_secure_getenv.
19537         * stdlib/secure-getenv.c: Rename __secure_getenv to
19538         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
19539         symbol __secure_getenv for GLIBC_2.0.
19540         * stdlib/tst-secure-getenv.c: New.
19541         * stdlib/Makefile (tests): Add testcase.
19542         * manual/startup.texi (Environment Access): Document
19543         secure_getenv.
19544         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
19545         __libc_secure_getenv.
19546         * inet/ruserpass.c (ruserpass): Likewise.
19547         * malloc/mtrace.c (mtrace): Likewise.
19548         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
19549         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
19550         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
19551         * sysdeps/posix/tempname.c: Likewise.  Evaluate
19552         HAVE_SECURE_GETENV.
19553         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
19554         __secure_getenv to __libc_secure_getenv.
19555         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
19556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19557         Likewise.
19558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19559         Likewise.
19560         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19561         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19562         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19563         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19564         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19565         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19566         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
19568 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
19570         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
19571         (struct La_i86_retval): Likewise.
19572         (struct La_x86_64_regs): Likewise.
19573         (struct La_x86_64_retval): Likewise.
19574         (struct La_x32_regs): Likewise.
19575         (struct La_x32_retval): Likewise.
19576         (struct La_ppc32_regs): Likewise.
19577         (struct La_ppc32_retval): Likewise.
19578         (struct La_ppc64_regs): Likewise.
19579         (struct La_ppc64_retval): Likewise.
19580         (struct La_sh_regs): Likewise.
19581         (struct La_sh_retval): Likewise.
19582         (struct La_s390_32_regs): Likewise.
19583         (struct La_s390_32_retval): Likewise.
19584         (struct La_s390_64_regs): Likewise.
19585         (struct La_s390_64_retval): Likewise.
19586         (struct La_sparc32_regs): Likewise.
19587         (struct La_sparc32_retval): Likewise.
19588         (struct La_sparc64_regs): Likewise.
19589         (struct La_sparc64_retval): Likewise.
19590         (struct audit_ifaces): Remove architecture-specific pltenter and
19591         pltexit members.
19592         * sysdeps/i386/ldsodefs.h: New file.
19593         * sysdeps/powerpc/ldsodefs.h: Likewise.
19594         * sysdeps/s390/ldsodefs.h: Likewise.
19595         * sysdeps/sh/ldsodefs.h: Likewise.
19596         * sysdeps/sparc/ldsodefs.h: Likewise.
19597         * sysdeps/x86_64/ldsodefs.h: Likewise.
19599 2012-07-25  Marek Polacek  <polacek@redhat.com>
19601         [BZ #6808]
19602         * math/libm-test.inc (yn_test): Add another test.
19603         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
19604         to ERANGE when the result is +-Inf.
19605         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19606         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
19607         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
19608         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
19610 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
19612         * conform/data/time.h-data (NULL): Use macro-constant.  Require
19613         equal to 0.
19614         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
19615         clock_t.
19616         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
19618 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
19620         * configure.in <sysdeps resolving>: Correct printing
19621         Implies_before.
19622         * configure: Regenerate.
19624 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
19626         * math/w_ilogb.c: Include <limits.h>.
19627         * math/w_ilogbl.c: Likewise.
19629 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
19631         * manual/lang.texi (__va_copy): Document primarily as ISO C99
19632         va_copy.  Document allowing for unavailable va_copy only as
19633         pre-C99 compatibility.
19634         * manual/string.texi (Copying and Concatenation): Use va_copy
19635         instead of __va_copy in concat example.
19637 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
19639         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
19640         (__sendto): Use create_address_port.  Initialize APORT and deallocate
19641         it if not null.
19643         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
19644         with O_NOLINK passed to __file_name_lookup.
19646         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
19647         with O_NOLINK passed to __file_name_lookup.
19649         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
19650         negative N or less than NGIDS.
19652         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
19653         type to string_t.  Set ERANGE as errno and return it if NAME is not big
19654         enough.  Use memcpy instead of strncpy.
19656 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
19658         * elf/Makefile (check-data): Remove.
19659         (localplt.data): New vpath directive.
19660         ($(objpfx)check-localplt.out): Use localplt.data from vpath
19661         instead of $(check-data).
19662         * scripts/data/localplt-generic.data: Move to ...
19663         * sysdeps/generic/localplt.data: ... here.
19664         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
19665         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
19666         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
19667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
19668         ... here.
19669         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
19670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
19671         ... here.
19672         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
19673         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
19674         ... here.
19675         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
19676         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
19677         ... here.
19678         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
19679         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
19680         ... here.
19681         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
19682         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
19683         ... here.
19685 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19687         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
19688         PPC32 and PPC64 files.
19689         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
19690         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
19692 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19694         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
19695         __makecontext_ret to ...
19696         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
19697         ... here and call exit if uc_link is NULL.  New file.
19698         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
19699         __makecontext_ret.S.
19700         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
19701         __makecontext_ret to ...
19702         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
19703         ... here and call exit if uc_link is NULL.  New file.
19704         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
19705         __makecontext_ret.S.
19707 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19709         * elf/elf.h (R_390_IRELATIVE): New definition.
19710         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
19711         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
19712         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
19713         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19714         (elf_machine_lazy_rel): Likewise.
19715         * sysdeps/s390/dl-irel.h: New file.
19716         * sysdeps/s390/s390-64/memcpy.S: New asm code.
19717         * sysdeps/s390/s390-64/memset.S: New asm code.
19718         * sysdeps/s390/s390-64/memcmp.S: New asm code.
19719         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
19720         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
19721         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
19722         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
19723         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
19724         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
19725         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
19726         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
19727         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
19728         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
19729         * sysdeps/s390/s390-32/memcpy.S: New asm code.
19730         * sysdeps/s390/s390-32/memset.S: New asm code.
19731         * sysdeps/s390/s390-32/memcmp.S: New asm code.
19733 2012-07-17  Marek Polacek  <polacek@redhat.com>
19735         [BZ #14349]
19736         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
19737         * sysdeps/s390/s390-64/configure.in: Likewise.
19738         * sysdeps/sparc/configure.in: Likewise.
19739         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
19740         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
19741         * sysdeps/i386/configure.in: Likewise.
19742         * sysdeps/x86_64/configure.in: Likewise.
19743         * sysdeps/sh/configure.in: Likewise.
19744         * sysdeps/s390/s390-32/configure: Regenerated.
19745         * sysdeps/s390/s390-64/configure: Likewise.
19746         * sysdeps/x86_64/configure: Likewise.
19747         * sysdeps/sh/configure: Likewise.
19748         * sysdeps/powerpc/powerpc64/configure: Likewise.
19749         * sysdeps/powerpc/powerpc32/configure: Likewise.
19750         * sysdeps/sparc/configure: Likwise.
19751         * sysdeps/i386/configure: Likewise.
19753         * elf/dl-open.c: Comment fixes.
19755 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
19757         * Makefile [CXX] (check-data): Remove.
19758         [CXX] (c++-types.data): New vpath directive.
19759         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
19760         vpath.  Do not allow for C++ type data being missing.
19761         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
19762         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
19763         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
19764         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
19765         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
19766         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
19767         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
19768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
19769         ... here.
19770         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
19771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
19772         ... here.
19773         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
19774         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
19775         ... here.
19776         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
19777         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
19778         ... here.
19779         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
19780         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
19781         ... here.
19782         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
19783         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
19784         ... here.
19785         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
19786         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
19787         ... here.
19788         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
19789         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
19791         * elf/tls-macros.h (TLS_LE): Move architecture-specific
19792         definitions to architecture-specific files.
19793         (TLS_IE): Likewise.
19794         (TLS_LD): Likewise.
19795         (TLS_GD): Likewise.
19796         * sysdeps/i386/tls-macros.h: New file.
19797         * sysdeps/powerpc/tls-macros.h: Likewise.
19798         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
19799         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
19800         * sysdeps/sh/tls-macros.h: Likewise.
19801         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
19802         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
19803         * sysdeps/x86_64/tls-macros.h: Likewise.
19805 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
19807         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
19808         zero value for regular exit case.
19810         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
19811         (__start_context): Preserve zero value for regular exit case.
19813 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
19814             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19816         * manual/setjmp.texi (setcontext): Clarify normal process
19817         termination when uc_link is the null pointer.
19818         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
19819         exit call.
19821 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
19823         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
19824         preprocessor.  Test for each exception mask separately.
19826 2012-07-16  Andreas Jaeger  <aj@suse.de>
19828         * po/ru.po: Update from translation team.
19830 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
19832         * conform/data/string.h-data (NULL): Use macro-constant.  Require
19833         equal to 0.
19834         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19835         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19836         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
19837         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
19838         [ISO || ISO99 || ISO11] (*_t): Do not allow.
19840 2012-07-13  Andreas Jaeger  <aj@suse.de>
19842         * po/fr.po: Update from translation team.
19844 2012-07-12  Marek Polacek  <polacek@redhat.com>
19846         [BZ #14173]
19847         * math/libm-test.inc (yn_test): Add test for BZ #14173.
19848         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
19849         loop condition.
19851 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
19853         [BZ #13717]
19854         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19855         Change to 2.4.1 where previously 2.4.0.
19856         * sysdeps/unix/sysv/linux/configure: Regenerated.
19857         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
19858         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
19859         version.
19860         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
19861         (__ASSUME_AT_CLKTCK): Remove.
19862         (__ASSUME_AT_PAGESIZE): Likewise.
19863         (__ASSUME_AT_XID): Likewise.
19864         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
19865         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
19866         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
19867         unconditionally.
19868         (HAVE_AUX_PAGESIZE): Likewise.
19869         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
19870         [__ASSUME_AT_CLKTCK]: Make code unconditional.
19871         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
19873 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
19875         [BZ #14307]
19876         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
19877         the temporary buffer used to invoke __gethostbyname2_r,
19878         __gethostbyaddr_r and gethostbyname4_r to make room for struct
19879         host_data / struct gaih_addrtuple.
19880         * resolv/nss_dns/dns-host.c (global scope): Move definition of
19881         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
19882         header file nss/nsswitch.h.
19883         * nss/nsswitch.h (global scope): Add definition of implementation
19884         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
19885         resolv/nss_dns/dns-host.c).
19887 2012-07-11  Andreas Jaeger  <aj@suse.de>
19889         * po/fr.po: Update from translation team.
19891         * po/sv.po: Update from translation team
19892         * po/fr.po: Another update from translation team.
19894 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19896         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
19897         for subnormals or multiply small sinh result by itself.
19898         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19899         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19901 2012-07-11  David S. Miller  <davem@davemloft.net>
19903         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19905 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
19907         [BZ #14347]
19908         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
19909         (INTERNAL_MARK): Shift it here.
19911 2012-07-10  Marek Polacek  <polacek@redhat.com>
19913         [BZ #14151]
19914         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
19915         libc_cv_asm_global_directive with .globl.
19916         * configure: Regenerated.
19917         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
19918         with .globl.
19919         * sysdeps/i386/configure: Regenerated.
19920         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
19921         with .globl.
19922         * sysdeps/x86_64/configure: Regenerated.
19923         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
19924         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
19925         * elf/tst-unique2mod2.c: Likewise.
19926         * elf/tst-unique2mod1.c: Likewise.
19927         * elf/tst-unique1mod2.c: Likewise.
19928         * elf/tst-unique1mod1.c: Likewise.
19929         * sysdeps/s390/s390-32/sysdep.h: Likewise.
19930         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19931         * sysdeps/s390/s390-64/sysdep.h: Likewise.
19932         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19933         * sysdeps/mach/sysdep.h: Likewise.
19934         * sysdeps/i386/sysdep.h: Likewise.
19935         * sysdeps/i386/i386-mcount.S: Likewise.
19936         * sysdeps/x86_64/_mcount.S: Likewise.
19937         * sysdeps/x86_64/sysdep.h: Likewise.
19938         * sysdeps/sh/_mcount.S: Likewise.
19939         * sysdeps/sh/sysdep.h: Likewise.
19940         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
19941         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
19942         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
19943         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19944         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
19945         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
19946         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
19947         * locale/localeinfo.h: Likewise.
19948         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
19949         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
19951 2012-07-09  Roland McGrath  <roland@hack.frob.com>
19953         [BZ #14336]
19954         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
19955         system".
19956         * manual/message.texi (The Uniforum approach): Likewise.
19957         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
19958         (glibc iconv Implementation): Likewise.
19960 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
19962         [BZ #14337]
19963         * math/s_clog.c (__clog): Avoid scaling a value down where that
19964         could result in underflow.
19965         * math/s_clog10.c (__clog10): Likewise.
19966         * math/s_clog10f.c (__clog10f): Likewise.
19967         * math/s_clog10l.c (__clog10l): Likewise.
19968         * math/s_clogf.c (__clogf): Likewise.
19969         * math/s_clogl.c (__clogl): Likewise.
19970         * math/libm-test.inc (clog_test): Add more tests.
19971         (clog10_test): Likewise.
19972         * sysdeps/i386/fpu/libm-test-ulps: Update.
19973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19975 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
19977         [BZ #14283]
19978         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
19979         by 7 not 8 to examine high bit of fractional part.
19981         [BZ #14042]
19982         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
19983         for call to __mcount_internal.
19984         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
19985         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
19986         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
19988 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
19990         [BZ #14154]
19991         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
19992         approximation for values within 0x1p-13f of an odd multiple of
19993         pi/4.
19994         * math/libm-test.inc (tan_test): Do not allow spurious underflow
19995         exception.  Add more tests.
19996         * sysdeps/i386/fpu/libm-test-ulps: Update.
19998         [BZ #6778]
19999         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
20000         inputs and return -1 for them.  Do not check for +Inf in case not
20001         reachable for +Inf.
20002         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20003         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
20004         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20005         and return -1 for them.  Do not check for +Inf in case not
20006         reachable for +Inf.
20007         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
20008         define.
20009         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20010         and return -1 for them.  Do not check for +Inf in case not
20011         reachable for +Inf.
20012         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
20013         spurious underflow.
20014         * sysdeps/i386/fpu/libm-test-ulps: Update.
20015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20017 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
20019         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
20021 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
20023         [BZ #14157]
20024         [BZ #14331]
20025         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
20026         could result in spurious underflow.  Scale down values above
20027         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
20028         * math/s_csqrtf.c (__csqrtf): Likewise.
20029         * math/s_csqrtl.c (__csqrtl): Likewise.
20030         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
20031         spurious underflow.
20032         * sysdeps/i386/fpu/libm-test-ulps: Update.
20033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20035 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
20037         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
20038         xopen-msg.sed.
20039         * catgets/xopen-msg.awk: New file.
20040         * catgets/xopen-msg.sed: Removed.
20042         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
20043         po2text.sed.
20044         * intl/po2test.awk: New file.
20045         * intl/po2test.sed: Removed.
20047 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
20049         [BZ #14328]
20050         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
20051         or multiply small sinh result by itself.
20052         * math/s_ctanf.c (__ctanf): Likewise.
20053         * math/s_ctanh.c (__ctanh): Likewise.
20054         * math/s_ctanhf.c (__ctanhf): Likewise.
20055         * math/s_ctanhl.c (__ctanhl): Likewise.
20056         * math/s_ctanl.c (__ctanl): Likewise.
20057         * math/libm-test.inc (ctan_test_tonearest): New function.
20058         (ctan_test_towardzero): Likewise.
20059         (ctan_test_downward): Likewise.
20060         (ctan_test_upward): Likewise.
20061         (ctanh_test_tonearest): Likewise.
20062         (ctanh_test_towardzero): Likewise.
20063         (ctanh_test_downward): Likewise.
20064         (ctanh_test_upward): Likewise.
20065         (main): Call these new functions.
20066         * sysdeps/i386/fpu/libm-test-ulps: Update.
20067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20069 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
20071         * .gitignore: Delete /ports entry.
20073 2012-07-03  Andreas Jaeger  <aj@suse.de>
20075         * po/bg.po: Update from translation team.
20076         * po/cs.po: Likewise.
20077         * po/de.po: Likewise.
20078         * po/hr.po: Likewise.
20079         * po/nl.pl: Likewise.
20080         * po/pl.po: Likewise.
20081         * po/vi.po: Likewise.
20083 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
20085         * Makeconfig [!+link] (+link-before-libc): New variable.
20086         [!+link] (+link-after-libc): Likewise.
20087         [!+link] (+link-tests): Likewise.
20088         [!+link] (+link): Define in terms of $(+link-before-libc) and
20089         $(+link-after-libc).
20090         [!+link-static] (+link-static-before-libc): New variable.
20091         [!+link-static] (+link-static-after-libc): Likewise.
20092         [!+link-static] (+link-static-tests): Likewise.
20093         [!+link-static] (+link-static): Define in terms of
20094         $(+link-static-before-libc) and $(+link-static-after-libc).
20095         [build-shared] (link-libc-before-gnulib): New variable.
20096         [build-shared] (link-libc-tests): Likewise.
20097         [build-shared] (link-libc): Define in terms of
20098         $(link-libc-before-gnulib).
20099         [!build-shared] (link-libc-tests): New variable.
20100         (link-libc-static-tests): New variable.
20101         [!gnulib] (gnulib-arch): New variable.
20102         [!gnulib] (gnulib-tests): Likewise.
20103         [!gnulib] (static-gnulib-arch): Likewise.
20104         [!gnulib] (static-gnulib-tests): Likewise.
20105         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
20106         Define with "=" instead of ":=".
20107         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
20108         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
20109         * Rules (binaries-all-notests): New variable.
20110         (binaries-all-tests): Likewise.
20111         (binaries-static-notests): Likewise.
20112         (binaries-static-tests): Likewise.
20113         (binaries-all): Define using $(binaries-all-notests) and
20114         $(binaries-all-tests).
20115         (binaries-static): Define using $(binaries-static-notests) and
20116         $(binaries-static-tests).
20117         (binaries-shared-tests): New variable.
20118         (binaries-shared-notests): Likewise.
20119         (binaries-shared): Remove variable.
20120         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
20121         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
20122         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
20123         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
20124         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
20125         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
20126         * elf/Makefile (sln-modules): New variable.
20127         (extra-objs): Add $(sln-modules:=.o).
20128         (ldconfig-modules): Add static-stubs.
20129         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
20130         * elf/static-stubs.c: New file.
20132         [BZ #14283]
20133         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
20134         by 7 not 8 to examine high bit of fractional part.  Use volatile
20135         variables when splitting into final array of floats if
20136         __FLT_EVAL_METHOD__ != 0.
20137         * math/libm-test.inc (cos_test): Add another test.
20138         (sin_test): Likewise.
20139         * sysdeps/i386/fpu/libm-test-ulps: Update.
20141         [BZ #14273]
20142         * math/libm-test.inc (cosh_test): Add more tests.
20144         * version.h (RELEASE): Set to "development".
20145         (VERSION): Set to "2.16.90".
20147 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
20149         * NEWS: Update copyright. Remove last-updated date.
20150         Mention math library bug fixes and timezone data changes.
20151         * README: Mention GNU/Hurd, x32, and HPPA support status.
20153 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
20155         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
20157 2012-06-27  Andreas Jaeger  <aj@suse.de>
20159         * manual/contrib.texi (Contributors): Add Samuel Thibault.
20161 2012-06-25  Andreas Jaeger  <aj@suse.de>
20163         * sysdeps/s390/fpu/libm-test-ulps: Update.
20165 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
20166             Thomas Schwinge  <thomas@codesourcery.com>
20168         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
20169         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
20170         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
20171         fanotify_mark.
20173 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
20175         * sysdeps/mach/start.c: Remove file.
20176         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
20177         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
20178         * sysdeps/sh/init-first.c: Likewise.
20180         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
20181         registers for frame unwinding purposes, add CFI directives.
20182         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20183         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
20184         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
20185         Likewise.
20187         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
20188         __fortify_fail returning.
20189         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20191         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
20192         sysdeps/sh/____longjmp_chk.S.
20193         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
20194         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
20195         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
20196         (gen-as-const-headers): Append sigaltstack-offsets.sym.
20198         * sysdeps/sh/abort-instr.h: New file.
20199         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
20200         process in case exit returns.
20202         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
20203         initialize the GOT register before use.
20205         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
20206         calculation of ARGC > 4.
20208         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
20209         meaningful names to some local labels.
20211 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
20212             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20214         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
20215         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
20216         (__arch_compare_and_exchange_val_16_acq): Likewise.
20217         (__arch_compare_and_exchange_val_32_acq): Likewise.
20218         (atomic_exchange_and_add): Fix gUSA sequence.
20219         (atomic_add): Likewise.
20220         (atomic_add_negative): Likewise.
20221         (atomic_add_zero): Likewise.
20222         (atomic_bit_test_set): Likewise.
20224 2012-06-22  Andreas Schwab  <schwab@redhat.com>
20226         [BZ #13579]
20227         * include/link.h (struct link_map): Add l_free_initfini.
20228         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
20229         l_initfini.
20230         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
20231         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
20232         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
20233         set.
20235 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
20237         * configure.in: Use AC_LANG_SOURCE.
20238         * configure: Regenerate.
20240 2012-06-22  Roland McGrath  <roland@hack.frob.com>
20242         * configure.in (libc_cv_localstatedir): New substituted variable.
20243         * configure: Regenerated.
20244         * config.make.in (localstatedir): New variable, substituted from
20245         libc_cv_localstatedir.
20246         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
20247         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
20248         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
20249         * sysdeps/gnu/configure: Regenerated.
20251 2012-06-21  Jeff Law  <law@redhat.com>
20253         [BZ #14277]
20254         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
20255         free.  Simplify list management for _LIBC case.
20257 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
20259         [BZ #14273]
20260         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
20261         Clear sign bit of 64-bit integer value before comparing against
20262         overflow value.
20264         * sysdeps/mach/configure: Regenerated.
20266 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
20268         [BZ #14278]
20269         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
20271 2012-06-21  Jeff Law  <law@redhat.com>
20273         [BZ #13882]
20274         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
20275         uint16_t for elements in the "seen" array to avoid char overflows.
20276         * elf/dl-fini.c (_dl_sort_fini): Likewise.
20277         * elf/dl-open.c (dl_open_worker): Likewise.
20279 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
20281         * scripts/list-sources.sh: Scan PORTS for translations.
20282         * po/libc.pot: Regenerated.
20284 2012-06-21  Andreas Jaeger  <aj@suse.de>
20286         [BZ #12194]
20287         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
20288         warning.
20289         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
20290         * bits/byteswap-16.h (__bswap_16): Likewise.
20291         * bits/byteswap.h (__bswap_constant_16): Likewise.
20293 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
20295         [BZ #14117]
20296         * sysdeps/i386/fpu_control.h: Removed.
20297         * sysdeps/x86_64/fpu_control.h: Moved to ...
20298         * sysdeps/x86/fpu_control.h: Here.
20300         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
20301         (_FPU_SETCW): Likewise.
20303 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
20305         [BZ #14117]
20306         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
20307         * sysdeps/x86/fpu/bits/mathinline.h: This.
20308         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
20310         [BZ #14050]
20311         [BZ #14117]
20312         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
20313         functions if __x86_64__ is defined.
20315 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
20317         * string/endian.h: Add !__ASSEMBLER__ condition for including
20318         conversion interfaces.
20320 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
20322         [BZ #14241]
20323         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
20324         of ABS(x) in calculating zero to negative powers other than odd
20325         integers.
20326         * math/libm-test.inc (pow_test): Add more tests.
20328 2012-06-15  Andreas Jaeger  <aj@suse.de>
20330         * manual/contrib.texi (Contributors): Update entry of Liubov
20331         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
20332         Machado Filho.
20334 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
20336         * string/string.h: Add __wur to GNU version of strerror_r.
20338 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
20340         [BZ #14229]
20341         * string/Makefile (tests): Add tst-strtok_r.
20342         * string/tst-strtok_r.c: New file.
20343         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
20344         RAX_LP/RDX_LP on SAVE_PTR.
20346 2012-06-14  Roland McGrath  <roland@hack.frob.com>
20348         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
20350 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
20352         * libm_test.inc (csqrt_test): Allow more spurious underflow
20353         exceptions.
20354         (j0_test): Likewise.
20355         (j1_test): Likewise.
20356         (y0_test): Likewise.
20357         (y1_test): Likewise.
20359 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
20361         * po/Makefile (libc.pot): Use UTF-8 charset.
20363 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
20365         [BZ #14210]
20366         Suppress sign-conversion warning from FD_SET.
20367         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
20368         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
20369         not unsigned long int.
20370         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
20372 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
20374         [BZ #14050]
20375         [BZ #14117]
20376         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
20377         __extern_always_inline instead of __extern_inline.
20378         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
20379         (__signbit): Likewise.
20380         (__signbitl): Support C++ namespace.
20381         (lrintf): New inline function.
20382         (lrint): Likewise.
20383         (llrintf): Likewise.
20384         (llrint): Likewise.
20385         (fmaxf): Likewise.
20386         (fmax): Likewise.
20387         (fminf): Likewise.
20388         (fmin): Likewise.
20389         (rint): Likewise.
20390         (rintf): Likewise.
20391         (ceil): Likewise.
20392         (ceilf): Likewise.
20393         (floor): Likewise.
20394         (floorf): Likewise.
20395         (nearbyint): Likewise.
20396         (nearbyintf): Likewise.
20398 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
20400         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
20401         non-default versions.
20403 2012-06-11  Roland McGrath  <roland@hack.frob.com>
20405         [BZ #14218]
20406         * manual/argp.texi (Argp): Reword argp_parse description slightly.
20408 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
20410         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
20411         (FE_UPWARD, FE_DOWNWARD): Don't define.
20412         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
20413         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20415         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
20416         reading it.
20417         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
20418         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20420 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20422         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20423         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
20424         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
20425         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
20427 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
20429         [BZ #14117]
20430         * sysdeps/i386/fpu/bits/fenv.h: Removed.
20431         * sysdeps/i386/fpu/Implies: New file.
20432         * sysdeps/x86_64/fpu/Implies: Likewise.
20433         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
20434         * sysdeps/x86/fpu/bits/fenv.h: This.
20436         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
20437         __SSE_MATH__.
20439 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
20441         [BZ #14134]
20442         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
20443         character 0xffff that matches the last element of the
20444         conversion table.
20446 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20448         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
20449         fmodl commit.
20451 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20453         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
20454         values higher than 25.6283.
20456 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20458         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
20459         subnormal exponent extraction and add some __builtin_expect.
20460         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
20461         Fix for subnormal mantissa calculation.
20463 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
20465         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
20466         cpu2 is -1 and errno is not ENOSYS.
20468 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
20470         [BZ #14117]
20471         * sysdeps/i386/i486/bits/string.h: Renamed to ...
20472         * sysdeps/x86/bits/string.h: This.
20473         * sysdeps/x86_64/bits/string.h: Removed.
20475         * sysdeps/i386/i486/bits/string.h: Define inline functions only
20476         if not compiling for x86-64, but compiling for >= i486.
20478         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
20479         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
20481         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
20482         New macro from Linux kernel 3.4.0.
20483         (FP_XSTATE_MAGIC2): Likewise.
20484         (FP_XSTATE_MAGIC2_SIZE): Likewise.
20485         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
20486         (struct _fpx_sw_bytes): New struct.
20487         (struct _xsave_hdr): Likewise.
20488         (struct _ymmh_state): Likewise.
20489         (struct _xstate): Likewise.
20491         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
20492         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
20493         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
20494         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
20495         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
20496         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
20498         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
20499         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
20500         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
20501         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
20502         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
20503         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
20505 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20507         [BZ #13743]
20508         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
20509         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
20510         (sysdep_headers): Include sys/platform/ppc.h.
20511         * sysdeps/powerpc/test-gettimebase.c: Test for
20512         __ppc_get_timebase() to catch future ISA opcode/insn changes.
20513         * manual/Makefile (appendices): Include platform.texi.
20514         * manual/contrib.texi (Contributors): Update @node pointers.
20515         * manual/maint.texi (Maintenance): Likewise.
20516         (Platform): New node.
20517         * manual/platform.texi: New file.  Document the new features.
20519 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20520             Jakub Jelinek  <jakub@redhat.com>
20522         [BZ #14188]
20523         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
20524         where __builtin_expect is unavailable.
20526 2012-06-03  David S. Miller  <davem@davemloft.net>
20528         * stdlib/longlong.h: Updated from GCC.
20530 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
20532         [BZ #14042]
20533         * sysdeps/powerpc/powerpc32/mcount.c: New file.
20534         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
20535         __mcount_internal.
20536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20537         (GLIBC_2.16): Likewise.
20539 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
20541         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
20543 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
20545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
20546         (default-abi): New variable.
20547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
20548         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
20549         variable.
20550         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
20551         Likewise.
20552         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
20553         Likewise.
20554         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
20555         Likewise.
20557         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
20558         definition.  Document in comment.
20560 2012-06-01  David S. Miller  <davem@davemloft.net>
20562         * stdlib/longlong.h: Updated from GCC.
20564 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
20566         [BZ #14117]
20567         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
20568         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
20569         sys/debugreg.h sys/io.h here.
20570         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
20571         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
20572         sys/io.h.
20573         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
20574         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
20575         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
20576         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
20577         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
20578         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
20580         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
20581         Define only if __x86_64__ is defined.
20583 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
20585         [BZ #14048]
20586         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
20587         Use int64_t for variable i.
20588         * math/libm-test.inc (fmod_test): Add more tests.
20590         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
20591         z computation is not scheduled after fetestexcept.
20592         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
20593         Use math_force_eval instead of asm to ensure calculation scheduled
20594         before exception test.
20595         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
20596         Ensure a1 + u.d computation is not scheduled after fetestexcept.
20598 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
20600         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
20601         computation is not scheduled after fetestexcept.
20603 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
20605         [BZ #14117]
20606         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
20607         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
20609 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20611         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
20612         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
20614 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
20616         [BZ #14117]
20617         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
20618         <bits/wordsize.h>.
20619         (__WCHAR_MIN): Support __WORDSIZE == 64.
20620         (__WCHAR_MAX): Likewise.
20622         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
20623         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
20625         [BZ #14183]
20626         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
20627         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
20629         [BZ #14117]
20630         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
20631         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
20633         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
20634         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
20636         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
20637         Defined to 1 if __x86_64__ isn't defined.
20638         (_STAT_VER_LINUX_OLD): New.
20639         (st_atime): Remove duplicate.
20640         (st_mtime): Likewise.
20641         (st_ctime): Likewise.
20643 2012-05-31  David S. Miller  <davem@davemloft.net>
20645         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
20646         entries.
20648 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
20650         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
20651         gen-libm-test.pl.
20653         [BZ #14132]
20654         * elf/dl-reloc.c: Include <_itoa.h>.
20655         (_dl_reloc_bad_type): Remove use of INTUSE.
20656         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
20657         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
20658         * stdio-common/psiginfo.c (psiginfo): Likewise.
20659         * stdio-common/psignal.c (psignal): Likewise.
20660         * string/strsignal.c (strsignal): Likewise.
20661         * include/signal.h (_sys_siglist): Declare hidden proto.
20662         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
20663         INTVARDEF with libc_hidden_data_def.
20664         * stdio-common/itoa-udigits.c: Likewise.
20665         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
20666         (_itoa_lower_digits_internal): Remove declaration.
20667         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
20668         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
20669         (_sys_sigabbrev_internal): Remove aliases.
20670         (_sys_siglist): Define hidden alias.
20672 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
20674         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20675         bits/sysctl.h.
20677 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
20679         [BZ #14117]
20680         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
20681         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
20683         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
20684         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
20685         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
20686         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
20687         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
20688         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
20690         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
20691         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
20692         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
20694         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
20695         with __addr.
20696         (insw): Likewise.
20697         (insl): Likewise.
20698         (outsb): Likewise.
20699         (outsw): Likewise.
20700         (outsl): Likewise.
20702         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
20703         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
20704         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
20706         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
20707         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
20708         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
20709         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
20710         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
20711         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
20713         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
20714         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
20716         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
20717         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
20719         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
20720         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
20721         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
20723         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
20724         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
20725         to ...
20726         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
20728         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
20729         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
20730         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
20732         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
20733         for x86-64.
20734         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
20736 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
20738         * math/math.h (M_El): Use two more decimal places.
20739         (M_LOG2El): Likewise.
20740         (M_LOG10El): Likewise.
20741         (M_LN2l): Likewise.
20742         (M_LN10l): Likewise.
20743         (M_PIl): Likewise.
20744         (M_PI_2l): Likewise.
20745         (M_PI_4l): Likewise.
20746         (M_1_PIl): Likewise.
20747         (M_2_PIl): Likewise.
20748         (M_2_SQRTPIl): Likewise.
20749         (M_SQRT2l): Likewise.
20750         (M_SQRT1_2l): Likewise.
20752 2012-05-31  David S. Miller  <davem@davemloft.net>
20754         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
20755         values between float registers.
20756         * sysdeps/sparc/sparc64/memset.S: Likewise.
20757         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20759 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
20761         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
20762         -D_FORTIFY_SOURCE=1.
20763         (CPPFLAGS-tst-longjmp_chk.c): Define.
20764         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
20765         (CPPFLAGS-tst-longjmp_chk2.c): Define.
20766         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
20767         CFLAGS-tst-wchar-h.c.
20769 2012-05-31  Marek Polacek  <polacek@redhat.com>
20771         [BZ #14132]
20772         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
20773         __endmntent_internal): Remove declaration.
20774         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
20775         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
20776         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
20778 2012-05-30  David S. Miller  <davem@davemloft.net>
20780         * sysdeps/sparc/sparc32/soft-fp/q_util.c
20781         (___Q_simulate_exceptions): Use real FP ops rather than writing
20782         into the %fsr.
20783         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
20784         Likewise.
20786 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
20788         [BZ #14117]
20789         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
20790         * sysdeps/x86/bits/xtitypes.h: This.
20792         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
20793         * sysdeps/x86/bits/wordsize.h: This.
20795         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
20796         * sysdeps/x86/bits/huge_vall.h: This.
20798         * sysdeps/i386/bits/select.h: Removed.
20799         * sysdeps/x86_64/bits/select.h: Renamed to ...
20800         * sysdeps/x86/bits/select.h: This.
20802         * sysdeps/i386/bits/setjmp.h: Removed.
20803         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
20804         * sysdeps/x86/bits/setjmp.h: This.
20806         * sysdeps/i386/bits/mathdef.h: Removed.
20807         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
20808         * sysdeps/x86/bits/mathdef.h: This.
20810 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
20812         [BZ #14132]
20813         * include/sys/socket.h (__connect_internal)
20814         (__libc_sa_len_internal): Remove declaration.
20815         (__connect, __libc_sa_len): Declare hidden_proto.
20816         (SA_LEN): Remove use of INTUSE.
20817         * socket/connect.c: Add libc_hidden_def.
20818         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
20819         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
20820         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
20821         alias.
20822         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
20823         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
20824         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
20825         of adding _internal alias.
20827 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
20829         [BZ #14117]
20830         * sysdeps/i386/bits/link.h: Removed.
20831         * sysdeps/i386/bits/linkmap.h: Likewise.
20832         * sysdeps/x86_64/bits/link.h: Renamed to ...
20833         * sysdeps/x86/bits/link.h: This.
20834         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
20835         * sysdeps/x86/bits/linkmap.h: This.
20837         * sysdeps/i386/bits/endian.h: Removed.
20838         * sysdeps/x86_64/bits/endian.h: Renamed to ...
20839         * sysdeps/x86/bits/endian.h: This.
20841         * sysdeps/i386/bits/byteswap.h: Removed.
20842         * sysdeps/i386/bits/byteswap-16.h: Likewise.
20843         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
20844         * sysdeps/x86/bits/byteswap.h: This.
20845         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
20846         * sysdeps/x86/bits/byteswap-16.h: This.
20847         * sysdeps/i386/Implies: Add x86.
20848         * sysdeps/x86_64/Implies: Likewise.
20850 2012-05-30  David S. Miller  <davem@davemloft.net>
20852         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
20853         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
20854         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
20855         (FP_TRAPPING_EXCEPTIONS): Define.
20856         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
20857         (FP_TRAPPING_EXCEPTIONS): Define.
20858         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
20859         subnormals only when inexact has been signalled or underflow
20860         exceptions are enabled.
20861         (_FP_PACK_CANONICAL): Likewise.
20863 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
20865         [BZ #14183]
20866         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
20867         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
20869 2012-05-30  Richard Henderson  <rth@twiddle.net>
20871         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
20872         with #ifndef NOT_IN_libc.
20874         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
20875         marked to avoid plt entry.
20877 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
20879         [BZ #14112]
20880         * Makeconfig (default-abi): New macro.
20881         (abi-includes): Likewise.
20882         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
20883         $(abi-$(default-abi)-lib-soname) for soname if defined.
20884         ($(common-objpfx)gnu/lib-names.stmp): Generate from
20885         abi-variants.
20886         * Makefile (installed-stubs): Likewise.
20887         * include/stubs-biarch.h: Removed.
20888         * scripts/lib-names.awk: Only handle one library at a time.
20889         * scripts/soversions.awk: Remove WORDSIZE support.
20890         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
20891         entries.
20892         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
20893         Removed.
20894         (syscall-list-default-condition): Likewise.
20895         (syscall-list-default-condition): Likewise.
20896         (syscall-list-includes): Likewise.
20897         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
20898         syscall-list-* with abi-*.  Handle undefined abi-variants.
20899         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
20900         * sysdeps/unix/sysv/linux/i386/Implies: New file.
20901         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
20902         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
20903         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
20904         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
20905         Removed.
20906         (syscall-list-32-options): Likewise.
20907         (syscall-list-32-condition): Likewise.
20908         (syscall-list-64-options): Likewise.
20909         (syscall-list-64-condition): Likewise.
20910         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
20911         macro.
20912         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
20913         Renamed to ...
20914         (abi-*): This.
20915         (abi-64-ld-soname): New macro.
20916         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
20917         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
20918         Renamed to ...
20919         (abi-*): This.
20920         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
20921         * sysdeps/x86_64/x32/shlib-versions: Likewise.
20923 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
20925         * sysdeps/unix/sysv/linux/kernel-features.h
20926         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
20927         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
20928         include <kernel-features.h>.
20929         [!__NR_ftruncate64]: Remove conditional code.
20930         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20931         [__NR_ftruncate64]: Make code unconditional.
20932         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20933         * sysdeps/unix/sysv/linux/truncate64.c: Do not
20934         include <kernel-features.h>.
20935         [!__NR_ftruncate64]: Remove conditional code.
20936         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20937         [__NR_ftruncate64]: Make code unconditional.
20938         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
20940         include <kernel-features.h>.
20941         [!__NR_ftruncate64]: Remove conditional code.
20942         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20943         [__NR_ftruncate64]: Make code unconditional.
20944         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20946         include <kernel-features.h>.
20947         [!__NR_ftruncate64]: Remove conditional code.
20948         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20949         [__NR_ftruncate64]: Make code unconditional.
20950         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20952         * configure.in (libc_cv_fpie): Weaken to a compile test using
20953         LIBC_TRY_CC_OPTION.
20954         * configure: Regenerated.
20956 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20958         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
20959         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
20960         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
20961         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20962         Refreshed.
20963         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
20964         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
20965         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
20966         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
20967         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
20968         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20969         Refreshed.
20971 2012-05-27  David S. Miller  <davem@davemloft.net>
20973         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
20974         (___Q_zero): New.
20975         (__Q_simulate_exceptions): Return void.  Change to simulate
20976         exceptions by writing into the %fsr.
20977         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
20978         (__Qp_handle_exceptions): Likewise.
20979         (numbers): Delete.
20980         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
20981         __Qp_handle_exceptions.
20982         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
20983         __Qp_handle_exceptions.
20984         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
20985         as unused and give dummy FP_RND_NEAREST initializer.
20986         (FP_INHIBIT_RESULTS): Define.
20987         (___Q_simulate_exceptions): Update declaration.
20988         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
20989         formatting.
20990         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
20991         as unused and give dummy FP_RND_NEAREST initializer.
20992         (__Qp_handle_exceptions): Update declaration.
20993         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
20994         formatting.
20996 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
20998         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
20999         the temporary FPU control word.
21000         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21001         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
21002         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
21003         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21004         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21005         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
21006         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
21007         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21008         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21009         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
21010         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21012 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21014         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
21015         fields.
21017 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
21019         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
21020         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
21021         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
21022         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
21023         Likewise.
21024         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
21025         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
21026         Likewise.
21028 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
21030         * po/h.po: Update from translation team.
21032 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
21034         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
21036         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
21037         handling of denormals.
21038         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21039         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21040         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21041         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21042         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21043         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
21044         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
21045         Likewise.
21047 2012-05-26  Marek Polacek  <polacek@redhat.com>
21049         [BZ #14152]
21050         * math/libm-test.inc (fma_test): Don't always expect underflow
21051         exception.
21053 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21055         [BZ #12416]
21056         * elf/tst-execstack.c: Include stackinfo.h.
21057         (do_test): Adjust test case to ensure that pthread_getattr_np
21058         behaviour remains the same after marking stack executable.
21060 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
21062         * sysdeps/unix/sysv/linux/kernel-features.h
21063         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
21064         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
21065         kernel-features.h.
21066         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21067         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21068         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
21069         kernel-features.h.
21070         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21071         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21073 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
21075         * configure.in: Define the default includes to being none.
21076         * configure: Regenerated.
21078 2012-05-25  Roland McGrath  <roland@hack.frob.com>
21080         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
21081         * sysdeps/x86_64/setjmp.S: Likewise.
21082         * sysdeps/i386/bsd-setjmp.S: Likewise.
21083         * sysdeps/i386/bsd-_setjmp.S: Likewise.
21084         * sysdeps/i386/setjmp.S: Likewise.
21085         * sysdeps/i386/__longjmp.S: Likewise.
21086         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21087         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
21089         * include/stap-probe.h: New file.
21090         * configure.in: Handle --enable-systemtap.
21091         * configure: Regenerated.
21092         * config.h.in (USE_STAP_PROBE): New #undef.
21093         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
21094         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
21095         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21097 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
21099         [BZ #13717]
21100         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21101         to 2.4.0 where earlier.
21102         * sysdeps/unix/sysv/linux/configure: Regenerated.
21103         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21104         <kernel-features.h>.
21105         [__ASSUME_32BITUIDS]: Make code unconditional.
21106         [!__ASSUME_32BITUIDS]: Remove conditional code.
21107         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
21108         <kernel-features.h>.
21109         [__ASSUME_32BITUIDS]: Make code unconditional.
21110         [!__ASSUME_32BITUIDS]: Remove conditional code.
21111         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
21112         [__ASSUME_32BITUIDS]: Make code unconditional.
21113         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
21114         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
21115         <kernel-features.h>.
21116         [__ASSUME_32BITUIDS]: Make code unconditional.
21117         [!__ASSUME_32BITUIDS]: Remove conditional code.
21118         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
21119         <kernel-features.h>.
21120         [__ASSUME_32BITUIDS]: Make code unconditional.
21121         [!__ASSUME_32BITUIDS]: Remove conditional code.
21122         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
21123         <kernel-features.h>.
21124         [__ASSUME_32BITUIDS]: Make code unconditional.
21125         [!__ASSUME_32BITUIDS]: Remove conditional code.
21126         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
21127         <kernel-features.h>.
21128         [__ASSUME_32BITUIDS]: Make code unconditional.
21129         [!__ASSUME_32BITUIDS]: Remove conditional code.
21130         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21131         <kernel-features.h>.
21132         [__ASSUME_32BITUIDS]: Make code unconditional.
21133         [!__ASSUME_32BITUIDS]: Remove conditional code.
21134         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21135         <kernel-features.h>.
21136         [__ASSUME_32BITUIDS]: Make code unconditional.
21137         [!__ASSUME_32BITUIDS]: Remove conditional code.
21138         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
21139         <kernel-features.h>.
21140         [__ASSUME_32BITUIDS]: Make code unconditional.
21141         [!__ASSUME_32BITUIDS]: Remove conditional code.
21142         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21143         <kernel-features.h>.
21144         [__ASSUME_32BITUIDS]: Make code unconditional.
21145         [!__ASSUME_32BITUIDS]: Remove conditional code.
21146         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21147         <kernel-features.h>.
21148         [__ASSUME_32BITUIDS]: Make code unconditional.
21149         [!__ASSUME_32BITUIDS]: Remove conditional code.
21150         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
21151         <kernel-features.h>.
21152         [__ASSUME_32BITUIDS]: Make code unconditional.
21153         [!__ASSUME_32BITUIDS]: Remove conditional code.
21154         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
21155         <kernel-features.h>.
21156         [__NR_setresgid] (__setresgid): Do not declare.
21157         [__ASSUME_32BITUIDS]: Make code unconditional.
21158         [!__ASSUME_32BITUIDS]: Remove conditional code.
21159         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
21160         <kernel-features.h>.
21161         [__NR_setresuid] (__setresuid): Do not declare.
21162         [__ASSUME_32BITUIDS]: Make code unconditional.
21163         [!__ASSUME_32BITUIDS]: Remove conditional code.
21164         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
21165         <kernel-features.h>.
21166         [__ASSUME_32BITUIDS]: Make code unconditional.
21167         [!__ASSUME_32BITUIDS]: Remove conditional code.
21168         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
21169         <kernel-features.h>.
21170         [__ASSUME_32BITUIDS]: Make code unconditional.
21171         [!__ASSUME_32BITUIDS]: Remove conditional code.
21172         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
21173         <kernel-features.h>.
21174         [__ASSUME_32BITUIDS]: Make code unconditional.
21175         [!__ASSUME_32BITUIDS]: Remove conditional code.
21176         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
21177         <kernel-features.h>.
21178         [__ASSUME_32BITUIDS]: Make code unconditional.
21179         [!__ASSUME_32BITUIDS]: Remove conditional code.
21180         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
21181         <kernel-features.h>.
21182         [__ASSUME_32BITUIDS]: Make code unconditional.
21183         [!__ASSUME_32BITUIDS]: Remove conditional code.
21184         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
21185         <kernel-features.h>.
21186         [__ASSUME_32BITUIDS]: Make code unconditional.
21187         [!__ASSUME_32BITUIDS]: Remove conditional code.
21188         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
21189         <kernel-features.h>.
21190         [__ASSUME_32BITUIDS]: Make code unconditional.
21191         [!__ASSUME_32BITUIDS]: Remove conditional code.
21192         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
21193         <kernel-features.h>.
21194         [__ASSUME_32BITUIDS]: Make code unconditional.
21195         [!__ASSUME_32BITUIDS]: Remove conditional code.
21196         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
21197         <kernel-features.h>.
21198         [__ASSUME_32BITUIDS]: Make code unconditional.
21199         [!__ASSUME_32BITUIDS]: Remove conditional code.
21200         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21201         <kernel-features.h>.
21202         [__ASSUME_32BITUIDS]: Make code unconditional.
21203         [!__ASSUME_32BITUIDS]: Remove conditional code.
21204         * sysdeps/unix/sysv/linux/kernel-features.h
21205         (__ASSUME_SETRESUID_SYSCALL): Remove.
21206         (__ASSUME_SETRESGID_SYSCALL): Likewise.
21207         (__ASSUME_32BITUIDS): Likewise.
21208         (__ASSUME_LDT_WORKS): Likewise.
21209         (__ASSUME_O_DIRECTORY): Likewise.
21210         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
21211         architecture but not kernel version.
21212         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
21213         (__ASSUME_MMAP2_SYSCALL): Likewise.
21214         (__ASSUME_STAT64_SYSCALL): Likewise.
21215         (__ASSUME_IPC64): Likewise.
21216         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
21217         <kernel-features.h>.
21218         [__ASSUME_32BITUIDS]: Make code unconditional.
21219         [!__ASSUME_32BITUIDS]: Remove conditional code.
21220         * sysdeps/unix/sysv/linux/opendir.c: Do not include
21221         <kernel-features.h>.
21222         [__ASSUME_O_DIRECTORY]: Make code unconditional.
21223         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
21224         132096]: Remove conditional code.
21225         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
21226         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21227         <kernel-features.h>.
21228         [__ASSUME_32BITUIDS]: Make code unconditional.
21229         [!__ASSUME_32BITUIDS]: Remove conditional code.
21230         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21231         <kernel-features.h>.
21232         [__ASSUME_32BITUIDS]: Make code unconditional.
21233         [!__ASSUME_32BITUIDS]: Remove conditional code.
21234         * sysdeps/unix/sysv/linux/setegid.c: Do not include
21235         <kernel-features.h>.
21236         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
21237         unconditional.
21238         (__setresgid): Do not declare.
21239         [__ASSUME_32BITUIDS]: Make code unconditional.
21240         [!__ASSUME_32BITUIDS]: Remove conditional code.
21241         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
21242         <kernel-features.h>.
21243         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
21244         unconditional.
21245         (__setresuid): Do not declare.
21246         [__ASSUME_32BITUIDS]: Make code unconditional.
21247         [!__ASSUME_32BITUIDS]: Remove conditional code.
21248         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21249         <kernel-features.h>.
21250         [__ASSUME_32BITUIDS]: Make code unconditional.
21251         [!__ASSUME_32BITUIDS]: Remove conditional code.
21252         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
21253         <kernel-features.h>.
21254         [__ASSUME_32BITUIDS]: Make code unconditional.
21255         [!__ASSUME_32BITUIDS]: Remove conditional code.
21257 2012-05-25  Richard Henderson  <rth@twiddle.net>
21259         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
21260         dl_hwcap to ifunc resolver.
21261         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
21262         elf_ifunc_invoke.
21263         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
21264         dl_hwcap to ifunc resolver.
21265         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
21267 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
21269         [BZ #14153]
21270         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
21271         for |x| <= 2**-26, not 2**-57.
21272         * math/libm-test.inc (acos_test): Do not allow spurious underflow
21273         exception.
21275 2012-05-24  Jeff Law  <law@redhat.com>
21277         * stdio-common/Makefile (tests): Add bug25.
21278         * stdio-common/bug25.c: New test.
21280 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
21282         [BZ #13576]
21283         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
21284         multiple of MALLOC_ALIGNMENT in size.
21285         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
21287 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
21289         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
21290         Require >= 256.
21291         (FILENAME_MAX): Use macro-int-constant.
21292         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
21293         (_IOFBF): Use macro-int-constant.
21294         (_IOLBF): Likewise.
21295         (_IONBF): Likewise.
21296         (SEEK_CUR): Likewise.
21297         (SEEK_END): Likewise.
21298         (SEEK_SET): Likewise.
21299         (TMP_MAX): Likewise.
21300         (EOF): Use macro-int-constant.  Require < 0.
21301         (NULL): Use macro-constant.  Require == 0.
21302         (stdin): Require type to be FILE *.
21303         (stdout): Likewise.
21304         (stderr): Likewise.
21305         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
21306         macro-int-constant.
21307         (EXIT_SUCCESS): Likewise.
21308         (NULL): Use macro-constant.  Require == 0.
21309         (RAND_MAX): Use macro-int-constant.
21310         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
21311         [C99-based standards] (strtof): Require function.
21312         [C99-based standards] (strtold): Likewise.
21313         [C99-based standards] (strtoll): Likewise.
21314         [C99-based standards] (strtoull): Likewise.
21315         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21316         [ISO || ISO99 || ISO11] (limits.h): Likewise.
21317         [ISO || ISO99 || ISO11] (math.h): Likewise.
21318         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
21319         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21320         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21322 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
21324         [BZ #14132]
21325         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
21326         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
21327         * intl/dgettext.c (DCGETTEXT): Likewise.
21328         * intl/gettext.c (DCGETTEXT): Likewise.
21329         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
21330         * posix/regex_internal.h (gettext): Likewise.
21331         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
21332         Remove declaration.
21333         * include/argz.h (__argz_count_internal)
21334         (__argz_stringify_internal): Remove declaration.
21335         (__argz_count, __argz_stringify): Declare hidden proto.
21336         * intl/dcgettext.c: Remove use of INTDEF.
21337         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
21338         * string/argz-stringify.c: Likewise.
21339         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21340         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21341         Declare hidden proto.
21342         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21343         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21344         Declare hidden proto.
21345         * include/stdio.h (__asprintf_internal): Don't declare.
21346         (__asprintf): Don't define as macro.  Declare hidden proto.
21347         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
21348         (__fsetlocking): Declare hidden proto.
21349         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
21350         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
21351         hidden proto.
21352         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
21353         (_IO_setlinebuf): Remove use of INTUSE.
21354         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
21355         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
21356         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
21357         Remove declaration.
21358         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
21359         (_IO_do_flush): Remove use of INTUSE.
21360         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
21361         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
21362         (_IO_adjust_column, _IO_least_wmarker)
21363         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
21364         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
21365         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
21366         (_IO_default_doallocate, _IO_wdefault_doallocate)
21367         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
21368         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
21369         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
21370         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
21371         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
21372         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
21373         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
21374         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
21375         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
21376         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
21377         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
21378         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
21379         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
21380         proto.
21381         (_IO_flush_all_internal, _IO_adjust_column_internal)
21382         (_IO_default_uflow_internal, _IO_default_finish_internal)
21383         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
21384         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
21385         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
21386         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
21387         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
21388         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
21389         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
21390         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
21391         (_IO_file_close_internal, _IO_file_close_it_internal)
21392         (_IO_file_underflow_internal, _IO_file_overflow_internal)
21393         (_IO_file_init_internal, _IO_file_attach_internal)
21394         (_IO_file_fopen_internal, _IO_file_read_internal)
21395         (_IO_file_sync_internal, _IO_file_seek_internal)
21396         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
21397         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
21398         (_IO_str_underflow_internal, _IO_str_overflow_internal)
21399         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
21400         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
21401         (_IO_list_all_internal, _IO_link_in_internal)
21402         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
21403         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
21404         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
21405         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
21406         (_IO_do_write_internal, _IO_padn_internal)
21407         (_IO_getline_info_internal, _IO_getline_internal)
21408         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
21409         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
21410         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
21411         (_IO_vfscanf_internal, _IO_vfprintf_internal)
21412         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
21413         (_IO_init_internal, _IO_un_link_internal): Don't declare.
21414         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
21415         with libc_hidden_ver, remove use of INTUSE.
21416         * libio/genops.c: Likewise.
21417         * libio/freopen.c: Likewise.
21418         * libio/freopen64.c: Likewise.
21419         * libio/iofclose.c: Likewise.
21420         * libio/iofdopen.c: Likewise.
21421         * libio/iofflush.c: Likewise.
21422         * libio/iofflush_u.c: Likewise.
21423         * libio/iofgets.c: Likewise.
21424         * libio/iofgets_u.c: Likewise.
21425         * libio/iofopen.c: Likewise.
21426         * libio/iofopncook.c: Likewise.
21427         * libio/iofread.c: Likewise.
21428         * libio/iofread_u.c: Likewise.
21429         * libio/ioftell.c: Likewise.
21430         * libio/iofwrite.c: Likewise.
21431         * libio/iogetline.c: Likewise.
21432         * libio/iogets.c: Likewise.
21433         * libio/iogetwline.c: Likewise.
21434         * libio/iopadn.c: Likewise.
21435         * libio/iopopen.c: Likewise.
21436         * libio/ioseekoff.c: Likewise.
21437         * libio/ioseekpos.c: Likewise.
21438         * libio/iosetbuffer.c: Likewise.
21439         * libio/iosetvbuf.c: Likewise.
21440         * libio/ioungetc.c: Likewise.
21441         * libio/ioungetwc.c: Likewise.
21442         * libio/iovdprintf.c: Likewise.
21443         * libio/iovsprintf.c: Likewise.
21444         * libio/iovsscanf.c: Likewise.
21445         * libio/memstream.c: Likewise.
21446         * libio/obprintf.c: Likewise.
21447         * libio/oldfileops.c: Likewise.
21448         * libio/oldiofclose.c: Likewise.
21449         * libio/oldiofdopen.c: Likewise.
21450         * libio/oldiofopen.c: Likewise.
21451         * libio/oldiopopen.c: Likewise.
21452         * libio/oldstdfiles.c: Likewise.
21453         * libio/putc.c: Likewise.
21454         * libio/setbuf.c: Likewise.
21455         * libio/setlinebuf.c: Likewise.
21456         * libio/stdfiles.c: Likewise.
21457         * libio/strops.c: Likewise.
21458         * libio/vasprintf.c: Likewise.
21459         * libio/vscanf.c: Likewise.
21460         * libio/vsnprintf.c: Likewise.
21461         * libio/vswprintf.c: Likewise.
21462         * libio/wfiledoalloc.c: Likewise.
21463         * libio/wfileops.c: Likewise.
21464         * libio/wgenops.c: Likewise.
21465         * libio/wmemstream.c: Likewise.
21466         * libio/wstrops.c: Likewise.
21467         * libio/__fpurge.c: Likewise.
21468         * libio/__fsetlocking.c: Likewise.
21469         * assert/assert.c: Likewise.
21470         * debug/fgets_chk.c: Likewise.
21471         * debug/fgets_u_chk.c: Likewise.
21472         * debug/fread_chk.c: Likewise.
21473         * debug/fread_u_chk.c: Likewise.
21474         * debug/gets_chk.c: Likewise.
21475         * debug/obprintf_chk.c: Likewise.
21476         * debug/vasprintf_chk.c: Likewise.
21477         * debug/vdprintf_chk.c: Likewise.
21478         * debug/vsnprintf_chk.c: Likewise.
21479         * debug/vsprintf_chk.c: Likewise.
21480         * malloc/mtrace.c: Likewise.
21481         * misc/error.c: Likewise.
21482         * misc/syslog.c: Likewise.
21483         * stdio-common/asprintf.c: Likewise.
21484         * stdio-common/fxprintf.c: Likewise.
21485         * stdio-common/getw.c: Likewise.
21486         * stdio-common/isoc99_fscanf.c: Likewise.
21487         * stdio-common/isoc99_scanf.c: Likewise.
21488         * stdio-common/isoc99_vfscanf.c: Likewise.
21489         * stdio-common/isoc99_vscanf.c: Likewise.
21490         * stdio-common/isoc99_vsscanf.c: Likewise.
21491         * stdio-common/printf-prs.c: Likewise.
21492         * stdio-common/printf_fp.c: Likewise.
21493         * stdio-common/printf_fphex.c: Likewise.
21494         * stdio-common/printf_size.c: Likewise.
21495         * stdio-common/putw.c: Likewise.
21496         * stdio-common/scanf.c: Likewise.
21497         * stdio-common/sprintf.c: Likewise.
21498         * stdio-common/tmpfile.c: Likewise.
21499         * stdio-common/vfprintf.c: Likewise.
21500         * stdio-common/vfscanf.c: Likewise.
21501         * stdlib/strfmon_l.c: Likewise.
21502         * sunrpc/openchild.c: Likewise.
21503         * sunrpc/xdr_stdio.c: Likewise.
21504         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
21505         * sysdeps/mach/hurd/tmpfile.c: Likewise.
21507 2012-05-24  Roland McGrath  <roland@hack.frob.com>
21509         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21511         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
21512         in the third column, to generate for the shared library an IFUNC
21513         that uses _dl_vdso_vsym.
21514         * Makerules (COMPILE.c, compile-stdin.c): New variables.
21515         * Makeconfig (object-suffixes-noshared): New variable.
21517         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
21518         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
21519         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
21520         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
21522         [BZ #14132]
21523         * include/sys/time.h (__gettimeofday): Remove macro.
21524         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
21525         * time/gettimeofday.c (__gettimeofday): Remove #undef.
21526         Remove INTDEF.
21527         (__gettimeofday): Add libc_hidden_def.
21528         (gettimeofday): Add libc_hidden_weak.
21529         * sysdeps/mach/gettimeofday.c: Likewise.
21530         * sysdeps/posix/gettimeofday.c: Likewise.
21531         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
21532         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
21533         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
21534         (__gettimeofday_internal): Remove strong_alias.
21535         (__gettimeofday): Add libc_hidden_def.
21536         (gettimeofday): Add libc_hidden_weak.
21537         * sysdeps/unix/syscalls.list (gettimeofday):
21538         Remove __gettimeofday_internal alias.
21540 2012-05-24  Daniel Jacobowitz  <drow@false.org>
21541             H.J. Lu  <hongjiu.lu@intel.com>
21543         [BZ #12495]
21544         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
21545         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
21546         (largebin_index_32_big): New.
21547         (largebin_index): Use it for 16-byte alignment.
21548         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
21549         correction with front_misalign.
21551 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
21553         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
21554         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
21555         Likewise.
21556         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
21557         Likewise.
21558         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21559         Likewise.
21560         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
21561         Likewise.
21562         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
21563         Likewise.
21564         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
21565         Likewise.
21566         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
21567         Likewise.
21568         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
21569         Likewise.
21570         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
21571         Likewise.
21572         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
21573         Likewise.
21574         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
21575         Likewise.
21576         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
21577         Likewise.
21579         * scripts/data/c++-types-x32-linux-gnu.data: New file.
21580         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
21582 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
21584         [BZ #10846]
21585         [BZ #14036]
21586         * math/libm-test.inc (exp_test): Add test from bug 14036.
21587         (pow_test): Add test from bug 10846.
21589         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
21590         and other flags.
21591         (special_function): Do not include flags in test name.
21592         (parse_args): Likewise.
21593         * sysdeps/i386/fpu/libm-test-ulps: Update.
21594         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21595         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21596         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21599         * math/gen-libm-test.pl (%beautify): Add entries for underflow
21600         exceptions.
21601         * math/libm-test.inc ("Philosophy"): Update comment about
21602         exception testing.
21603         (UNDERFLOW_EXCEPTION): New macro.
21604         (UNDERFLOW_EXCEPTION_OK): Likewise.
21605         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
21606         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
21607         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
21608         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
21609         (INVALID_EXCEPTION_OK): Update value.
21610         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21611         (OVERFLOW_EXCEPTION_OK): Likewise.
21612         (IGNORE_ZERO_INF_SIGN): Likewise.
21613         (test_exceptions): Handle underflow exceptions.
21614         (acos_test): Update for underflow exception expectations.
21615         (cexp_test): Likewise.
21616         (clog_test): Likewise.
21617         (clog10_test): Likewise.
21618         (csqrt_test): Likewise.
21619         (ctan_test): Likewise.
21620         (ctanh_test): Likewise.
21621         (exp_test): Likewise.
21622         (exp10_test): Likewise.
21623         (exp2_test): Likewise.
21624         (expm1_test): Likewise.
21625         (fma_test): Likewise.
21626         (j0_test): Likewise.
21627         (jn_test): Likewise.
21628         (nexttoward_test): Likewise.
21629         (pow_test): Likewise.
21630         (scalbn_test): Likewise.
21631         (scalbln_test): Likewise.
21632         (tan_test): Likewise.
21633         (y1_test): Likewise.
21634         * sysdeps/i386/fpu/libm-test-ulps: Update.
21635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21637 2012-05-23  David S. Miller  <davem@davemloft.net>
21639         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21640         (__libc_sigaction): Remove unused local variables.
21642 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
21644         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
21646 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
21648         mktime: avoid signed integer overflow
21649         * time/mktime.c (__mktime_internal): Do not mishandle the case
21650         where diff == INT_MIN.
21652         mktime: simplify computation of average
21653         * time/mktime.c (ranged_convert): Use new time_t_avg function
21654         instead of rolling our own (probably-slower) code.
21656         mktime: do not assume signed right shift propagates sign bit
21657         * time/mktime.c (isdst_differ): New static function.
21658         (__mktime_internal): No need to normalize tm_isdst now.
21659         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
21660         tm_isdst values.
21662         mktime: merge another wrapv change from gnulib
21663         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
21664         from some compilers.
21666         mktime: remove incorrect attempt at unusual arithmetics
21667         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
21668         The code didn't really work on such machines anyway.
21669         (TYPE_MINIMUM): Assume two's complement.
21670         (twos_complement_arithmetic): Verify that long_int and time_t
21671         are two's complement (or unsigned, in the latter case).
21673         mktime: check signed shifts on long_int and time_t, too
21674         * time/mktime.c (SHR): Check that shifts work as desired
21675         on the types long_int and time_t too, as SHR is used on
21676         such types.
21678         mktime: do not assume 'long' is wide enough
21679         * time/mktime.c (verify): Move decl up.
21680         (long_int): New type.
21681         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
21682         to remove assumption in the code that 'long' is wide enough to
21683         store year values.  This assumption is not true on x32 and on
21684         some non-glibc platforms.
21686         mktime: merge wrapv change from gnulib
21687         * time/mktime.c (WRAPV): New macro.
21688         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
21689         (guess_time_tm, __mktime_internal): Do not assume that signed
21690         integer overflow wraps around; modern compilers generate code
21691         where this assumption is no longer valid.
21693 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
21695         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21696         Replace "jmp L(pseudo_end)" with "ret".
21697         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
21698         Likewise.
21700 2012-05-23  Andreas Jaeger  <aj@suse.de>
21702         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
21703         * sysdeps/unix/sysv/linux/poll.c: Remove file.
21705 2012-05-23  Andreas Jaeger  <aj@suse.de>
21706             Maximilian Attems  <max@stro.at>
21708         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
21709         New macros.
21711 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
21713         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
21714         code so that pseudo_end is just ret and the stack pointer is
21715         correct also for static library in error case.
21717 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
21719         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
21720         move to syscalls.list.
21721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
21722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
21723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
21724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
21726         * manual/install.texi (Running make install): Do not mention Linux
21727         kernel version for which pt_chown is not needed.
21728         (Linux): Do not mention problems with nscd with 2.0 kernels.
21729         * INSTALL: Regenerated.
21731 2012-05-23  Andreas Jaeger  <aj@suse.de>
21733         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
21734         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
21735         macro.
21736         * sysdeps/unix/sysv/linux/s390/bits/mman.h
21737         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21738         * sysdeps/unix/sysv/linux/sh/bits/mman.h
21739         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21740         * sysdeps/unix/sysv/linux/i386/bits/mman.h
21741         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21742         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
21743         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21744         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
21745         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21746         * sysdeps/unix/sysv/linux/bits/in.h
21747         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
21749 2012-05-22  Roland McGrath  <roland@hack.frob.com>
21751         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
21752         (PREPARE_VERSION): Just use assert instead, it will be elided
21753         under [NDEBUG] anyway.
21755 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
21757         * sysdeps/unix/sysv/linux/Makefile: Include
21758         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
21759         (sysdep_routines): Remove sysctl.
21760         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
21761         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
21762         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
21763         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
21764         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
21766 2012-05-22  Andreas Jaeger  <aj@suse.de>
21768         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
21769         that pseudo_end is just ret and the stack pointer is correct also
21770         for static library in error case.
21772 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
21774         [BZ #14122]
21775         * nss/nsswitch.c (defconfig_entries): New variable.
21776         (__nss_database_lookup): Don't leak defconfig entries.
21777         (nss_parse_service_list): Don't leak on error paths.
21778         (free_database_entries): New function.
21779         (free_defconfig): New function.
21780         (free_mem): Move common code to free_database_entries.
21782 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
21784         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
21785         Add arch_prctl.
21786         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
21788         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21789         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
21790         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
21791         New macro.
21792         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
21793         (INTERNAL_SYSCALL_TYPES): Likewise.
21794         (LOAD_ARGS_TYPES_[1-6]): Likewise.
21795         (LOAD_REGS_TYPES_[1-6]): Likewise.
21796         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
21797         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
21799 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21801         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
21802         copysignl for GLIBC_2_0.
21803         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
21804         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
21805         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
21806         logbl for GLIBC_2_0.
21807         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
21808         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
21810 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
21812         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
21813         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
21815         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21816         Use "neg %eax".
21818         * time/mktime.c: Update copyright years.
21820 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
21822         mktime: merge comment-quoting-style change from gnulib
21823         * time/mktime.c: Quote 'like this' in comments.
21824         The GNU coding standards suggest that we no longer quote `like this',
21825         as "`" and "'" are typically rendered asymmetrically nowadays.
21826         The typical gnulib style is to quote 'like this' when quoting
21827         code, and "like this" when quoting English.
21829         * time/mktime.c (compile-command): Add "-I.".
21831         mktime: merge mktime-internal.h change from gnulib
21832         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
21834         mktime: merge time_r change from gnulib
21835         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
21837         mktime: merge DEBUG change from gnulib
21838         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
21839         case system <time.h> has a #define.
21841         mktime: merge <sys/types.h> change from gnulib
21842         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
21843         since <time.t> is now guaranteed to define time_t.
21845         mktime: merge HAVE_CONFIG_H change from gnulib
21846         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
21848 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
21850         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21851         Use "neg %eax".
21853         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
21854         __rlim_t cast.
21855         (struct rusage): Use anonymous union to pad each field to
21856         __syscall_slong_t.
21858 2012-05-21  David S. Miller  <davem@davemloft.net>
21860         * Makefules (o-iterator): Remove .s cases.
21861         (compile-command.s): Delete.
21862         (COMPILE.s): Delete.
21863         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
21865 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
21867         * configure.in (libc_cv_predef_stack_protector): Only consider
21868         "foobar" and "__stack_chk_fail" lines in libc_undefs.
21869         * configure: Regenerated.
21871 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
21873         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21874         New macro.  Use R*LP on int and pointer.
21875         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
21876         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
21877         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
21878         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
21880         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
21881         [__WORDSIZE_TIME64_COMPAT32] instead of
21882         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
21883         (struct utmp): Likewise.
21884         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
21885         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
21886         Renamed to ...
21887         (__WORDSIZE_TIME64_COMPAT32): This.
21888         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
21889         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
21890         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
21891         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
21892         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
21893         (__WORDSIZE_TIME64_COMPAT32): New macro.
21895 2012-05-21  Andreas Jaeger  <aj@suse.de>
21897         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
21898         only if [SHARED]. Add prototype for __wcschr_ia32.
21900 2012-05-21  Roland McGrath  <roland@hack.frob.com>
21902         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
21903         of %rbp unmolested in the jmp_buf while mangling the low bits.
21904         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
21905         unmolested high bits of %rbp while demangling the low bits.
21906         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21908 2012-05-21  Andreas Jaeger  <aj@suse.de>
21910         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
21911         * sunrpc/svc_simple.c: Use it for registerrpc.
21912         * sunrpc/xcrypt.c: Use it for passwd2des.
21914         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
21916 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
21918         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
21919         Don't define if [__SYSCALL_WORDSIZE != 32].
21920         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
21921         New macro.
21923 2012-05-21  Bruno Haible  <bruno@clisp.org>
21924             Andreas Jaeger  <aj@suse.de>
21926         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
21927         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
21928         inptr and inend for must_buffer_ch.
21929         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
21930         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
21931         * stdio-common/Makefile (tests): Remove bug15.
21932         (bug15-ENV): Remove macro.
21933         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
21934         anymore.
21936 2012-05-19  Andreas Jaeger  <aj@suse.de>
21937             Roland McGrath  <roland@hack.frob.com>
21939         * manual/contrib.texi: Completely rewritten. It contains now an
21940         alphabetical list of contributors and their contributions.
21942 2012-05-21  Richard Henderson  <rth@twiddle.net>
21944         * misc/getauxval.c (__getauxval): Use unsigned long int.
21945         * misc/sys/auxv.h: Include <sys/cdefs.h>.
21946         (getauxval): Use unsigned long int.
21948 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
21950         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21952 2012-05-21  Roland McGrath  <roland@hack.frob.com>
21954         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
21955         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
21956         __alignof__ (long double).
21958 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21960         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21962 2012-05-20  Richard Henderson  <rth@twiddle.net>
21964         * misc/getauxval.c: New file.
21965         * misc/sys/auxv.h: New file.
21966         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
21967         (routines): Add getauxval.
21968         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
21969         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
21970         * elf/dl-sysdep.c (_dl_auxv): Remove.
21971         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
21972         * elf/dl-support.c (_dl_auxv): New variable.
21973         (_dl_aux_init): Initialize it.
21974         * manual/startup.texi (Auxiliary Vector): New node.
21975         * sysdeps/generic/bits/hwcap.h: New file.
21976         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
21977         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
21978         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
21979         * sysdeps/sparc/sysdep.h: ... here.  Include it.
21980         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
21981         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
21982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21983         Update.
21984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
21985         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
21986         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
21987         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
21988         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
21989         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
21990         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
21991         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
21993 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21995         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21997 2012-05-19  David S. Miller  <davem@davemloft.net>
21999         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22001 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
22003         [BZ #14123]
22004         * math/s_ccosh.c: Include <float.h>
22005         (__ccosh): Avoid internal overflow calculating sinh and cosh
22006         values before multiplying by sin and cos values.
22007         * math/s_ccoshf.c: Likewise.
22008         * math/s_ccoshl.c: Likewise.
22009         * math/s_csin.c: Likewise.
22010         * math/s_csinf.c: Likewise.
22011         * math/s_csinl.c: Likewise.
22012         * math/s_csinh.c: Likewise.
22013         * math/s_csinhf.c: Likewise.
22014         * math/s_csinhl.c: Likewise.
22015         * math/libm-test.inc (ccos_test): Add more tests.
22016         (ccosh_test): Likewise.
22017         (csin_test): Likewise.
22018         (csinh_test): Likewise.
22019         * sysdeps/i386/fpu/libm-test-ulps: Update.
22020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22022 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
22024         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
22025         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
22027         * sysdeps/x86_64/x32/_itoa.h: Add comment.
22029 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
22031         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
22032         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
22033         * sysdeps/powerpc/soft-fp/Versions: Likewise.
22034         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
22035         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
22036         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
22037         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
22038         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
22039         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
22040         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
22041         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
22042         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
22043         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
22044         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
22045         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
22046         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
22047         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
22048         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
22049         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
22050         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
22051         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
22052         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
22053         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
22054         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
22055         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
22056         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
22057         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
22058         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
22059         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
22060         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
22061         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
22063 2012-05-18  Andreas Jaeger  <aj@suse.de>
22065         * csu/.gitignore: Delete.
22067 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
22069         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
22070         (timex): Use __syscall_slong_t.
22072 2012-05-18  Andreas Jaeger  <aj@suse.de>
22073             Carlos O'Donell  <carlos_odonell@mentor.com>
22075         * manual/install.texi (Configuring and compiling): Update
22076         description about files modified in the source directory.
22077         * INSTALL: Regenerated.
22079 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
22081         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
22082         value.  Use "or" to set return value to -1.
22083         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
22084         negate return value.
22086 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22088         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
22089         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
22090         failure if the compiler has Graphite support disabled.
22091         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
22092         Likewise.
22093         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
22094         CFLAGS-memmove.c): Likewise.
22095         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
22096         Likewise.
22098 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
22100         * sysdeps/x86_64/x32/_itoa.h: New file.
22102         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
22103         getdents system call only if kernel and user dirents have the
22104         same d_ino and d_off.
22106         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22107         LLONG_MAX != LONG_MAX.
22108         (_itoa_word): Use _ITOA_WORD_TYPE on value.
22109         (_fitoa_word): Likewise.
22111         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
22112         years.
22113         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
22114         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
22115         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
22117         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
22118         include <bits/wordsize.h>.  Check __x86_64__ instead of
22119         __WORDSIZE.
22120         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
22121         if __x86_64__ is defined.  Use anonymous union on fpstate.
22123         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
22124         anonymous union.
22126 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
22128         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
22129         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
22130         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
22131         Refer to _rtld_local_ro instead of _rtld_global_ro.
22132         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
22133         Likewise.
22134         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
22135         Likewise.
22136         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
22137         Likewise.
22138         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
22139         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
22140         of _rtld_global, and rtld_progname instead of _dl_argv[0].
22142         * sysdeps/powerpc/powerpc32/dl-machine.c
22143         (__elf_machine_runtime_setup) [PROF]: Don't reference
22144         _dl_prof_resolve.
22146 2012-05-18  Andreas Jaeger  <aj@suse.de>
22148         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
22149         function only available for GCCs before 3.4 since GCC 3.4
22150         introduced a builtin.
22151         (lrint): Likewise.
22152         (llrintf): Likewise.
22153         (llrint): Likewise.
22154         (fmaxf): Likewise.
22155         (fmax): Likewise.
22156         (fminf): Likewise.
22157         (fmin): Likewise.
22158         (rint): Likewise.
22159         (rintf): Likewise.
22160         (nearbyint): Likewise.
22161         (nearbyintf): Likewise.
22162         (ceil): Likewise.
22163         (ceilf): Likewise.
22164         (floor): Likewise.
22165         (floorf): Likewise.
22167 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
22169         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
22170         on both fields and cast pointer to __syscall_ulong_t.
22172         * bits/types.h (__fsword_t): New type.
22173         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
22174         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
22175         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22176         (__FSWORD_T_TYPE): Likewise.
22177         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22178         (__FSWORD_T_TYPE): Likewise.
22179         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22180         (__FSWORD_T_TYPE): Likewise.
22181         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
22182         (__FSWORD_T_TYPE): Likewise.
22183         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
22184         __SWORD_TYPE with __fsword_t.
22185         (statfs64): Likewise.
22187 2012-05-17  David S. Miller  <davem@davemloft.net>
22189         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
22191 2012-05-17  Andreas Jaeger  <aj@suse.de>
22193         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
22194         warning.
22196 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
22198         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
22200 2012-05-17  Andreas Jaeger  <aj@suse.de>
22202         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
22203         when it is used.
22205 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
22207         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
22209 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
22211         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
22212         * sysdeps/x86_64/tst-mallocalign1.c: New file.
22214 2012-05-17  Andreas Jaeger  <aj@suse.de>
22215             Carlos O'Donell  <carlos_odonell@mentor.com>
22217         [BZ #14059]
22218         * sysdeps/x86_64/multiarch/init-arch.h
22219         (bit_YMM_Usable): Rename to...
22220         (bit_AVX_Usable): ... this.
22221         (bit_FMA4_Usable): New macro.
22222         (bit_XMM_state): New macro.
22223         (bit_YMM_state): New macro.
22224         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
22225         [__ASSEMBLER__] (index_AVX_Usable): ... this.
22226         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
22227         (CPUID_OSXSAVE): New macro.
22228         (CPUID_AVX): New macro.
22229         (CPUID_FMA4): New macro.
22230         (index_YMM_Usable): Rename to...
22231         (index_AVX_Usable): ... this.
22232         (HAS_AVX): Use HAS_ARCH_FEATURE.
22233         (HAS_FMA4): Likewise.
22234         (HAS_YMM_USABLE): Remove.
22235         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22236         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
22237         are present.
22238         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
22239         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
22240         * sysdeps/x86_64/multiarch/Makefile: Likewise.
22241         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
22242         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
22244 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
22246         * math/libm-test.c: Support platforms without multiple rounding modes.
22247         * math/bug-nextafter.c: Support platforms without FP exceptions.
22248         * math/bug-nexttoward.c: Likewise.
22249         * math/test-fenv.c: Likewise.
22250         * math/test-misc.c: Likewise.
22251         * stdlib/bug-getcontext.c: Likewise.
22253 2012-05-17  Andreas Jaeger  <aj@suse.de>
22255         * manual/examples/search.c (critter_cmp): Change signature to
22256         avoid warnings.
22257         * manual/string.texi (Collation Functions): Likewise.
22259 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22261         * bits/types.h: Fold copyright years.
22262         * bits/typesizes.h: Likewise.
22263         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
22264         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
22265         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
22266         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
22267         * time/time.h: Likewise.
22269 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
22271         [BZ #208]
22272         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
22273         in instead of returning them.  Return void.
22274         (__libc_mallinfo): Accumulate over all arenas.
22275         (__malloc_stats): Adjust for change in int_mallinfo interface.
22277 2012-05-16  Roland McGrath  <roland@hack.frob.com>
22279         [BZ #10375]
22280         * configure.in (NM): Add AC_CHECK_TOOL for it.
22281         (libc_extra_cflags): New substituted variable.
22282         Check for -fstack-protector being used implicitly.
22283         * configure: Regenerated.
22284         * config.make.in (config-extra-cflags): New variable,
22285         gets @libc_extra_cflags@.
22286         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
22288         [BZ #10375]
22289         * configure.in: Check for _FORTIFY_SOURCE being predefined.
22290         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
22291         * configure: Regenerated.
22292         * config.make.in (CPPUNDEFS): New substituted variable.
22293         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
22294         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
22295         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
22297 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22299         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
22300         (mq_attr): Use __syscall_slong_t.
22302 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22304         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
22305         Check __x86_64__ instead of __WORDSIZE.
22306         (_STAT_VER_LINUX): Likewise.
22307         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
22308         __syscall_ulong_t and __syscall_slong_t.
22309         (stat64): Likewise.
22311 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22313         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
22315 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22317         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
22319 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22321         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
22322         __syscall_ulong_t.
22324         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
22325         include <bits/wordsize.h>.  Check __x86_64__ instead of
22326         __WORDSIZE.
22327         (greg_t): Use "__extension__ long long int" if __x86_64__ is
22328         defined.
22329         (mcontext_t): Replace "unsigned long" with "unsigned long long".
22331         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
22332         include <bits/wordsize.h>.  Check __x86_64__ instead of
22333         __WORDSIZE.
22334         (user_regs_struct): Use "__extension__ unsigned long long"
22335         instead of "unsigned long" if __x86_64__ is defined.
22336         (user): Likewise.  Pad after pointer field if __ILP32__ is
22337         defined.
22339 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
22341         * configure.in (makeinfo): Require version 4.5 or later.  Allow
22342         versions 5 to 9.
22343         * configure: Regenerated.
22344         * manual/install.texi (texinfo): Increase version requirement to
22345         4.5 or later.
22346         * INSTALL: Regenerated.
22348         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
22350 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22352         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
22354         * sysdeps/x86_64/x32/ffs.c: New file.
22356         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
22357         __syscall_ulong_t.
22358         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
22359         defined.  Use __syscall_ulong_t.
22360         (shminfo): Use __syscall_ulong_t.
22361         (shm_info): Likewise.
22363         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
22364         __syscall_ulong_t.
22366         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
22367         <bits/wordsize.h>.
22368         (msgqnum_t): Use __syscall_ulong_t.
22369         (msglen_t): Likewise.
22370         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
22371         __syscall_ulong_t.
22373         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
22374         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
22376         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
22378         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
22379         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
22381         * sysvipc/sys/msg.h (msgbuf): Replace long int with
22382         __syscall_slong_t.
22384         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
22385         include <bits/wordsize.h>.  Check __x86_64__ instead of
22386         __WORDSIZE.
22388         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
22389         "unsigned long long int" if __x86_64__ is defined.
22390         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
22392         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
22393         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
22394         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
22396         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
22397         <stdint.h>.
22398         (GET_PC): Cast to uintptr_t first.
22399         (GET_FRAME): Likewise.
22400         (GET_STACK): Likewise.
22402         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
22403         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
22404         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
22405         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
22406         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
22407         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
22408         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
22409         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
22410         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
22411         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
22412         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
22413         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
22414         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
22415         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
22416         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
22417         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
22418         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
22419         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
22420         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
22421         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
22422         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
22423         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
22424         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
22425         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
22426         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
22427         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
22428         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
22429         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
22430         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
22432 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
22434         * Makerules (+depfiles): Also collect depfiles from .oS in
22435         $(extra-objs).
22436         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
22437         .oS, $(libnldbl-routines)).
22439         * Makerules (native-compile-mkdep-flags): Define.
22440         * sunrpc/Makefile (extra-objs): Add $(addprefix
22441         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
22442         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
22443         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
22444         calling $(make-target-directory).
22446 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22448         * bits/types.h (__snseconds_t): Removed.
22449         * time/time.h (struct timespec): Replace __snseconds_t with
22450         __syscall_slong_t.
22451         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
22452         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
22453         Likewise.
22454         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22455         (__SNSECONDS_T_TYPE): Likewise.
22456         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22457         (__SNSECONDS_T_TYPE): Likewise.
22458         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22459         (__SNSECONDS_T_TYPE): Likewise.
22461 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22463         * sysdeps/mach/hurd/bits/typesizes.h
22464         (__SYSCALL_SLONG_TYPE): New macro.
22465         (__SYSCALL_ULONG_TYPE): Likewise.
22467 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22469         * bits/types.h (__syscall_slong_t): New type.
22470         (__syscall_ulong_t): Likewise.
22472         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
22473         (__SYSCALL_ULONG_TYPE): Likewise.
22474         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22475         (__SYSCALL_SLONG_TYPE): Likewise.
22476         (__SYSCALL_ULONG_TYPE): Likewise.
22477         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22478         (__SYSCALL_SLONG_TYPE): Likewise.
22479         (__SYSCALL_ULONG_TYPE): Likewise.
22480         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22481         (__SYSCALL_SLONG_TYPE): Likewise.
22482         (__SYSCALL_ULONG_TYPE): Likewise.
22484 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22486         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
22487         Add sigaltstack-offsets.sym.
22488         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
22489         <sigaltstack-offsets.h>.
22490         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
22491         longjmp_msg pointer.
22492         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
22493         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
22494         signal stack.
22495         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
22497 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
22499         * elf/stackguard-macros.h: Remove file.
22500         * sysdeps/generic/stackguard-macros.h: New file.
22501         * sysdeps/i386/stackguard-macros.h: Likewise.
22502         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22503         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22504         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22505         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22506         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22507         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22508         * sysdeps/x86_64/stackguard-macros.h: Likewise.
22509         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
22510         <elf/stackguard-macros.h>.
22512         [BZ #14109]
22513         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
22514         __aligned__ in attribute.
22515         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
22516         (gregset_t): Likewise.
22518 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22520         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
22521         * sysdeps/x86_64/64/Implies-after: Here.  New file.
22522         * sysdeps/x86_64/x32/Implies-after: New file.
22524 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22526         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
22527         and access return value for _dl_profile_fixup.  Use R10_LP to
22528         load frame size.
22530 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22532         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
22534 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22536         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
22537         * sysdeps/x86_64/x32/sysdep.h: New file.
22539 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22541         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
22542         * sysdeps/x86_64/setjmp.S: Likewise.
22544 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22546         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
22547         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
22548         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
22549         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
22550         remove unused global constant.
22552 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
22554         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
22555         include of <not-cancel.h>.
22557 2012-05-15  Roland McGrath  <roland@hack.frob.com>
22559         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
22561 2012-05-15  Jeff Law  <law@redhat.com>
22562             Andreas Jaeger  <aj@suse.de>
22564         [BZ #13594]
22565         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
22566         out from...
22567         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
22568         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
22569         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
22570         code changing __hst_map_handle.map.
22572 2012-05-15  Roland McGrath  <roland@hack.frob.com>
22574         * configure.in (sysnames): Look for Implies-before and Implies-after
22575         files.
22576         * configure: Regenerated.
22578 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22580         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
22581         8-byte data alignment with LP_SIZE alignment.
22583 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22585         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
22586         into R10_LP.
22588 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22590         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
22592 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22594         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
22595         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
22596         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
22597         Likewise.
22598         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22600 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22602         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
22603         (stackinfo_sub_sp): Likewise.
22605 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22607         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
22608         RAX_LP.
22610 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22612         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
22613         into R*_LP.
22615 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22617         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
22618         sizes into R*_LP.
22620 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22622         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
22624 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22626         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
22627         into R11_LP and load __x86_64_shared_cache_size_half into
22628         R8_LP.
22630 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22632         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
22633         R8_LP.
22635 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22637         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
22638         logb for POWER7.
22639         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
22640         logbf for POWER7.
22641         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
22642         logbl for POWER7.
22643         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
22644         powerpc32/power7/fpu/s_logb.c via #include.
22645         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
22646         powerpc32/power7/fpu/s_logbf.c via #include.
22647         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
22648         powerpc32/power7/fpu/s_logbl.c via #include.
22650 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
22652         * README.libm: Remove file.
22654 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
22656         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
22657         count for x32.  Use R*_LP and omit operand-size suffix.
22659 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
22661         * shlib-versions: Move x86_64-.*-linux.* entries to ...
22662         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
22663         * sysdeps/x86_64/x32/shlib-versions: New file.
22665 2012-05-14  Roland McGrath  <roland@hack.frob.com>
22667         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
22668         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
22669         Use _dl_fatal_printf instead.
22671 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
22673         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
22674         set if not set by the user.  Do not allow for being unset.
22675         * sysdeps/unix/sysv/linux/configure: Regenerated.
22677 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
22679         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
22680         the `q' suffix from lea and replace .quad with ASM_ADDR.
22682 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
22684         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
22685         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
22686         instead of $17.
22687         (PTR_DEMANGLE): Likewise.
22689 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
22691         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
22692         (LP_OP): Likewise.
22693         (ASM_ADDR): Likewise.
22694         (RAX_LP): Likewise.
22695         (RBP_LP): Likewise.
22696         (RBX_LP): Likewise.
22697         (RCX_LP): Likewise.
22698         (RDI_LP): Likewise.
22699         (RSI_LP): Likewise.
22700         (RSP_LP): Likewise.
22701         (R8_LP): Likewise.
22702         (R9_LP): Likewise.
22703         (R10_LP): Likewise.
22704         (R10_LP): Likewise.
22705         (R11_LP): Likewise.
22706         (R12_LP): Likewise.
22707         (R13_LP): Likewise.
22708         (R14_LP): Likewise.
22709         (R15_LP): Likewise.
22711 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
22713         * sysdeps/x86_64/x32/dl-machine.h: New file.
22715 2012-05-14  Andreas Jaeger  <aj@suse.de>
22717         * manual/Makefile (subdir): Remove export of subdir.
22718         (all): Remove target.
22719         (.PHONY): Remove all from list.
22720         (mkinstalldirs): Remove.
22721         (.PHONY): Remove installdirs from list.
22722         ($(inst_infodir)/libc.info): Use make-target-directory.
22723         (installdirs): Remove.
22724         (subdir_%): Remove.
22725         (glibc-targets): Remove.
22726         (lib): Remove.
22727         (stubs): Remove.
22728         ($(objpfx)stubs ../po/manual.pot): Remove.
22729         ($(objpfx)stamp%): Remove.
22730         (make-target-directory): Remove.
22731         (subdir_install): Remove.
22732         (routines): Remove.
22733         (aux): Remove.
22734         (sources): Remove.
22735         (objects): Remove.
22736         (headers): Remove.
22738         [BZ #13750]
22739         * manual/.gitignore: Remove, it's not needed anymore.
22740         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
22741         all files in it.
22742         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
22743         directory.
22744         (texis): Renamed to $(objpfx)texis.
22745         (texis-path): New, contains path to generated files.
22746         (chapters.%): Use texis-path for complete path, add extra argument
22747         libc-texinfo.sh.
22748         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
22749         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
22750         (summary,texi, stamp-summary): Use complete path of
22751         files. Generate files in build dir.
22752         (dir-add.texi): Build in build dir.
22753         (libm-err.texi,stamp-libm-err): Likewise.
22754         (version.texi, stamp-version): Likewise.
22755         (.%c.texi): Likewise.
22756         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
22757         (mostlyclean): Remove target.
22758         (realclean): Remove target.
22759         (generated): Add new variable with contents from mostlyclean and
22760         realclean, remove entries duplicated in common-mostlyclean, add
22761         stamp-libm-err and stamp-version.
22762         (generated-dirs): Add libc directory.
22763         ($(inst_infodir)/libc.info): Install files from build dir.
22765         * manual/install.texi (Configuring and compiling): Adjust since
22766         the info files are not part of the tar ball anymore.
22768 2012-05-14  Andreas Jaeger  <aj@suse.de>
22770         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
22771         variable.
22773 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
22775         [BZ #13717]
22776         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22777         to 2.2.0 where earlier.
22778         * sysdeps/unix/sysv/linux/configure: Regenerated.
22779         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
22780         Remove conditional code.
22781         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
22782         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
22783         Remove conditional code.
22784         [!__NR_lchown]: Likewise.
22785         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22786         [__NR_lchown]: Likewise.
22787         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
22788         comment referencing __ASSUME_LCHOWN_SYSCALL.
22789         * sysdeps/unix/sysv/linux/i386/sigaction.c
22790         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22791         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22792         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
22793         Remove conditional code.
22794         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
22795         (__protocol_available): Remove #if 0 code.
22796         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
22797         conditional code.
22798         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
22799         * sysdeps/unix/sysv/linux/kernel-features.h
22800         (__ASSUME_GETCWD_SYSCALL): Don't define.
22801         (__ASSUME_REALTIME_SIGNALS): Likewise.
22802         (__ASSUME_PREAD_SYSCALL): Likewise.
22803         (__ASSUME_PWRITE_SYSCALL): Likewise.
22804         (__ASSUME_POLL_SYSCALL): Likewise.
22805         (__ASSUME_LCHOWN_SYSCALL): Likewise.
22806         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
22807         non-SPARC.
22808         (__ASSUME_SIOCGIFNAME): Don't define.
22809         (__ASSUME_MSG_NOSIGNAL): Likewise.
22810         (__ASSUME_SENDFILE): Define unconditionally.
22811         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
22812         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
22813         conditional code.
22814         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
22815         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
22816         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22817         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22818         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
22819         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22820         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
22822         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22823         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22825         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22826         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
22828         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22829         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
22831         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22832         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
22834         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22835         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
22837         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22838         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
22840         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22841         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
22843         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22844         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22845         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
22846         Remove conditional code.
22847         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22848         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22849         Remove conditional code.
22850         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22851         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
22852         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
22853         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22854         Remove conditional code.
22855         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22856         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
22857         Remove conditional code.
22858         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22859         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
22860         Remove conditional code.
22861         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22862         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22863         Remove conditional code.
22864         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22865         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22866         Remove conditional code.
22867         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22868         * sysdeps/unix/sysv/linux/sh/pwrite64.c
22869         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22870         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22871         * sysdeps/unix/sysv/linux/sigaction.c
22872         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22873         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22874         * sysdeps/unix/sysv/linux/sigpending.c
22875         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22876         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22877         * sysdeps/unix/sysv/linux/sigprocmask.c
22878         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22879         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22880         * sysdeps/unix/sysv/linux/sigsuspend.c
22881         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22882         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22883         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22884         (__libc_missing_rt_sigs): Remove.
22885         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
22886         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
22887         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
22888         Remove conditional code.
22889         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
22890         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
22891         return 1.
22892         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
22893         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
22894         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
22895         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
22897 2012-05-14  Andreas Jaeger  <aj@suse.de>
22899         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
22900         it's not used in glibc.
22901         (__coshm1): Likewise.
22902         (__acosh1p): Likewise.
22903         (__sgn): Likewise.
22905         * manual/string.texi (Copying and Concatenation): Add missing
22906         variable in concat example.
22907         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
22909 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
22911         [BZ #14103]
22912         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
22913         __builtin_clzl with __builtin_clzll.
22915 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
22917         [BZ #14104]
22918         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
22919         libc_freeres_ptr.
22921 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22923         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
22924         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
22925         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
22926         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
22928 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
22930         * NEWS: Update ia64 info.
22932 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
22934         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
22935         used as bcopy.
22937 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
22939         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
22940         * sysdeps/unix/syscalls.list (dup3): Likewise.
22941         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
22942         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
22944 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
22946         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
22947         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
22949 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
22951         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
22952         thread pointer.
22953         (TLS_IE): Use mov/add instead of movq/addq to load thread
22954         pointer.
22955         (TLS_GD_PREFIX): New.
22956         (TLS_GD): Use it.
22958 2012-05-11  David S. Miller  <davem@davemloft.net>
22960         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
22961         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
22962         (_FPU_SETCW): Likewise.
22964 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
22966         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
22967         is 32-byte aligned.
22969 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
22971         [BZ #11837]
22972         * iconvdata/gb18030.c: Update tables.
22973         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
22974         characters specially.
22975         (BODY for TO_LOOP): Add encoding of missing ranges.
22977 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
22979         [BZ #13673]
22980         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
22981         * sysdeps/mach/hurd/dup3.c: Likewise.
22982         * sysdeps/mach/hurd/readlinkat.c: Likewise.
22983         * sysdeps/powerpc/memmove.c:: Likewise.
22985 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
22987         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
22988         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
22990 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
22992         * elf/elf.h (R_X86_64_RELATIVE64): New.
22993         (R_X86_64_NUM): Updated.
22994         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22995         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
22996         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
22997         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
22998         tst-quad1pie tst-quad2pie
22999         (modules-names): Add tst-quadmod1 tst-quadmod2.
23000         ($(objpfx)tst-quad1): New dependency.
23001         ($(objpfx)tst-quad2): Likewise.
23002         ($(objpfx)tst-quad1pie): Likewise.
23003         ($(objpfx)tst-quad2pie): Likewise.
23004         * sysdeps/x86_64/tst-quad1.c: New file.
23005         * sysdeps/x86_64/tst-quad1pie.c: New file.
23006         * sysdeps/x86_64/tst-quad2.c: Likewise.
23007         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
23008         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
23009         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
23010         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
23011         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
23013 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23015         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
23016         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
23017         * streams/stropts.h (t_scalar_t): Define type.
23019         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
23020         (_PATH_PRESERVE): Set to "/var/lib".
23021         (_PATH_RWHODIR): Set to "/var/spool/rwho".
23023         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
23024         instead of int.
23026         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
23027         if __dir_mkfile succeeded.
23029         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
23030         checking for _hurd_dtablesize.  Unlock it right after having
23031         finished _hurd_dtable allocation.
23033 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23035         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
23036         * sysdeps/mach/hurd/configure: Regenerated.
23037         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
23038         special-casing to...
23039         * sysdeps/gnu/configure.in: ... this new file.
23040         * sysdeps/unix/sysv/linux/configure: Regenerated.
23041         * sysdeps/gnu/configure: New generated file.
23043         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
23044         for Linux: use nsec instead of usec, as well as:
23045         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
23046         members of type struct timespec.
23047         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
23048         New macros.
23049         (struct stat64): Likewise.
23050         (_STATBUF_ST_NSEC): New macro.
23051         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
23053         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
23054         __strtoul_internal rather than strtoul.
23056 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23058         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
23059         and reject them.
23061 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23063         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
23064         which preserves existing values.
23065         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
23067 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23069         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
23070         TIMEOUT values.  Return EINVAL for NFDS values either negative or
23071         greater than FD_SETSIZE.
23073 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23075         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
23076         allocated, call __vm_protect to finish enabling the existing space, and
23077         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
23078         allocate the remainder.
23080 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23082         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
23083         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
23085 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23087         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
23088         sysdeps/mach/hurd/readlink.c.
23090         * posix/tst-sysconf.c (posix_options): Only use
23091         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
23092         _POSIX_SYNCHRONIZED_IO when they are defined
23093         * sysdeps/mach/hurd/bits/posix_opt.h:
23094         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
23095         (_XOPEN_REALTIME): Undefine macro.
23096         (_XOPEN_REALTIME_THREADS): Undefine macro.
23097         (_XOPEN_SHM): Undefine macro.
23098         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
23099         macro to -1.
23100         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
23101         macro to -1.
23102         (_POSIX_ASYNC_IO): Undefine macro.
23103         (_POSIX_PRIORITIZED_IO): Undefine macro.
23104         (_POSIX_SPIN_LOCKS): Define macro to -1.
23106         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
23107         SA_NODEFER, SA_RESETHAND.
23108         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
23109         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
23110         F_DUPFD_CLOEXEC.
23112 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23114         * elf/Makefile (pldd-modules): Define unconditionally.
23116 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23118         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
23120 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23122         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
23123         Return ENOENT when name is empty.
23124         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
23126 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23128         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
23130         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
23132 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23134         Fix mlock in all cases except non-readable pages.
23135         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
23136         instead of VM_PROT_ALL as parameter to __vm_wire function.
23138         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
23139         (__mkdir): When path is `/', just fail with EEXIST.
23140         * sysdeps/mach/hurd/mkdirat.c: Likewise.
23142 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23144         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
23145         <sys/uio.h> (for writev).
23146         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
23147         and <sys/param.h> (for MIN).
23149 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23151         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
23152         REQUESTED_TIME.  Properly set the remaining time and return EINTR
23153         if interrupted.
23155 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23157         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
23158         Depend on against $(link-rpcuserlibs).
23160 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23162         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
23163         (__libc_stack_end): Do not use attribute_relro.
23164         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
23165         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
23166         to libthread-provided value.
23167         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
23168         attribute_relro.
23170 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23172         [BZ #3748]
23173         * bits/libc-lock.h (__libc_once_get): New macro.
23174         * sysdeps/mach/bits/libc-lock.h: Likewise.
23175         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
23176         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
23177         instead of using implementation details.
23179         * libio/fileops.c: Unconditionally include <kernel-features.h>.
23180         * libio/freopen.c: Likewise.
23181         * libio/freopen64.c: Likewise.
23182         * misc/syslog.c: Likewise.
23183         * nscd/connections.c: Likewise.
23184         * nscd/netgroupcache.c: Likewise.
23185         * sysdeps/posix/getcwd.c: Likewise.
23187 2012-05-10  Roland McGrath  <roland@hack.frob.com>
23189         * math/w_ilogbf.c: Add #include <limits.h>.
23191 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23193         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
23194         path instead of returning without unlocking.
23196         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
23197         immediate-write ioctls.
23198         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
23200 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23202         * sysdeps/mach/hurd/i386/init-first.c (init): Use
23203         __builtin_frame_address instead of making assumptions about the
23204         location of the return address relative to DATA.  Force early load of
23205         the return address.
23206         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
23207         __builtin_frame_address.
23209         dup3 for GNU Hurd.
23210         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
23211         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
23212         implement dup3 and do some further code clean-ups.
23213         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
23214         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
23216 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23218         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
23220         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
23221         HURD_CRITICAL_END around holding _hurd_dtable_lock.
23222         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
23223         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
23224         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
23225         d->port.lock.
23227         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
23228         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
23229         when handler == SIG_ERR, not when handler != SIG_ERR.
23231 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23233         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
23234         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
23235         definitions.
23237         accept4 for GNU Hurd.
23238         * include/sys/socket.h (__libc_accept4): New prototype.
23239         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
23240         to implement __libc_accept4.
23241         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
23242         __libc_accept4.
23243         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
23245         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
23246         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
23247         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
23248         signal-defines.sym.
23250 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23252         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
23254 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23256         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
23257         assertion on O_CLOEXEC flag.
23258         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
23259         * hurd/intern-fd.c: Likewise.
23260         * hurd/port2fd.c: Likewise.
23262 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23264         [BZ #3906]
23265         * bits/in.h (IPV6_PKTINFO): Define new macro.
23266         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
23268 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23270         [BZ #13954]
23271         [BZ #13955]
23272         [BZ #13956]
23273         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
23274         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23275         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
23276         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23277         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23278         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23279         * math/libm-test.inc (logb_test) : Additional logb tests.
23281 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
23282             Andreas Jaeger  <aj@suse.de>
23284         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
23285         * configure: Regenerated.
23286         * config.h.in (LINK_OBSOLETE_RPC): New macro.
23287         * config.make.in (link-obsolete-rpc): New substituted variable.
23288         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
23289         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
23290         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23291         (shared-only-routines): Don't set it under [link-obsolete-rpc],
23292         so that libc.a contains the symbols.
23293         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23294         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
23295         * sunrpc/auth_none.c: Likewise.
23296         * sunrpc/auth_unix.c: Likewise.
23297         * sunrpc/authdes_prot.c: Likewise.
23298         * sunrpc/authuxprot.c: Likewise.
23299         * sunrpc/clnt_gen.c: Likewise.
23300         * sunrpc/clnt_perr.c: Likewise.
23301         * sunrpc/clnt_raw.c: Likewise.
23302         * sunrpc/clnt_simp.c: Likewise.
23303         * sunrpc/clnt_tcp.c: Likewise.
23304         * sunrpc/clnt_udp.c: Likewise.
23305         * sunrpc/clnt_unix.c: Likewise.
23306         * sunrpc/des_crypt.c: Likewise.
23307         * sunrpc/des_soft.c: Likewise.
23308         * sunrpc/get_myaddr.c: Likewise.
23309         * sunrpc/key_call.c: Likewise.
23310         * sunrpc/key_prot.c: Likewise.
23311         * sunrpc/netname.c: Likewise.
23312         * sunrpc/pm_getmaps.c: Likewise.
23313         * sunrpc/pm_getport.c: Likewise.
23314         * sunrpc/pmap_clnt.c: Likewise.
23315         * sunrpc/pmap_prot.c: Likewise.
23316         * sunrpc/pmap_prot2.c: Likewise.
23317         * sunrpc/pmap_rmt.c: Likewise.
23318         * sunrpc/publickey.c: Likewise.
23319         * sunrpc/rpc_cmsg.c: Likewise.
23320         * sunrpc/rpc_common.c: Likewise.
23321         * sunrpc/rpc_dtable.c: Likewise.
23322         * sunrpc/rpc_prot.c: Likewise.
23323         * sunrpc/rpc_thread.c: Likewise.
23324         * sunrpc/rtime.c: Likewise.
23325         * sunrpc/svc.c: Likewise.
23326         * sunrpc/svc_auth.c: Likewise.
23327         * sunrpc/svc_raw.c: Likewise.
23328         * sunrpc/svc_run.c: Likewise.
23329         * sunrpc/svc_tcp.c: Likewise.
23330         * sunrpc/svc_udp.c: Likewise.
23331         * sunrpc/svc_unix.c: Likewise.
23332         * sunrpc/svcauth_des.c: Likewise.
23333         * sunrpc/xcrypt.c: Likewise.
23334         * sunrpc/xdr.c: Likewise.
23335         * sunrpc/xdr_array.c: Likewise.
23336         * sunrpc/xdr_float.c: Likewise.
23337         * sunrpc/xdr_intXX_t.c: Likewise.
23338         * sunrpc/xdr_mem.c: Likewise.
23339         * sunrpc/xdr_rec.c: Likewise.
23340         * sunrpc/xdr_ref.c: Likewise.
23341         * sunrpc/xdr_sizeof.c: Likewise.
23342         * sunrpc/xdr_stdio.c: Likewise.
23344 2012-05-10  Roland McGrath  <roland@hack.frob.com>
23346         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
23347         change.  Update copyright years.
23349 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
23351         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
23353 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
23354             Joseph Myers  <joseph@codesourcery.com>
23355             Paul Pluzhnikov  <ppluzhnikov@google.com>
23357         [BZ #14012]
23358         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
23359         requiring rpcgen.
23360         [cross-compiling] (extra-libs): Likewise.
23361         [cross-compiling] (extra-libs-others): Likewise.
23362         [cross-compiling] (librpcsvc-routines): Likewise.
23363         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
23364         [cross-compiling] (omit-deps): Likewise.
23365         (sunrpc-CPPFLAGS): New variable.
23366         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
23367         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
23368         (cross-rpcgen-objs): New variable.
23369         (extra-objs): Append $(cross-rpcgen-objs).
23370         ($(cross-rpcgen-objs)): New rule.
23371         ($(objpfx)cross-rpcgen): Likewise.
23372         (rpcgen-cmd): Define to use $(built-program-file).  Expand
23373         comment.
23374         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
23375         ($(objpfx)x%.stmp): Likewise.
23376         * sunrpc/proto.h [IS_IN_build] (_): Define.
23377         [IS_IN_build] (_libc_intl_domainname): Likewise.
23379 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
23381         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
23382         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
23383         and R_X86_64_TPOFF64.
23385 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
23387         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
23388         sysdeps/unix/sysv/syscalls.list.
23389         (stime): Likewise.
23390         (utime): Likewise.
23391         * sysdeps/unix/sysv/syscalls.list: Remove file.
23393 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
23395         [BZ #3440]
23396         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
23397         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
23398         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
23399         (__LC_IDENTIFICATION): Make these macros useful in #if
23400         expressions, as required by C99.
23402 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
23404         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
23405         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
23406         after this.
23408 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
23410         * stdlib/longlong.h: Updated from GCC.
23412 2012-05-09  Andreas Jaeger  <aj@suse.de>
23414         * nscd/nscd.c (run_modes): Make named enum, reorder so that
23415         default is first entry.
23416         (run_mode): Set type.
23417         (main): Remove informal message about syslog.
23418         (options): Fix typo.
23420         [BZ #14053]
23421         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
23422         to asm.
23423         (lrint): Likewise.
23424         (llrintf): Likewise.
23425         (llrint): Likewise.
23426         (rint): Likewise.
23427         (rintf): Likewise.
23428         (nearbyint): Likewise.
23429         (nearbyintf): Likewise.
23431 2012-05-09  Andreas Jaeger  <aj@suse.de>
23432             Pedro Alves  <palves@redhat.com>
23434         * nscd/nscd.c (run_mode): Use enum.
23435         (main): Cleanup coding style issue.
23437 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
23438             Andreas Jaeger  <aj@suse.de>
23440         * nscd/nscd.c (go_background): Replaced with...
23441         (run_mode): ... this.
23442         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
23443         (options): Add -F --foreground.
23444         (main): Implement it.
23445         (parse_opt): Parse it.
23447 2012-05-09  Andreas Jaeger  <aj@suse.de>
23449         [BZ #14083]
23450         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
23451         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
23452         -Wconversion warning.
23453         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
23454         Likewise.
23456 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
23458         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
23459         == 0.
23460         (LC_ALL): Use macro-int-constant.
23461         (LC_COLLATE): Likewise.
23462         (LC_CTYPE): Likewise.
23463         (LC_MESSAGES): Likewise.
23464         (LC_MONETARY): Likewise.
23465         (LC_NUMERIC): Likewise.
23466         (LC_TIME): Likewise.
23467         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
23468         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23469         [ISO || ISO99 || ISO11] (*_t): Do not allow.
23470         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
23471         Specify type.
23472         [C99-based standards] (float_t): Expect type.
23473         [C99-based standards] (double_t): Expect type.
23474         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
23475         type.
23476         [C99-based standards] (HUGE_VALL): Likewise.
23477         [C99-based standards] (INFINITY): Likewise.
23478         [C99-based standards] (NAN): Likewise.
23479         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
23480         [C99-based standards] (FP_NAN): Likewise.
23481         [C99-based standards] (FP_NORMAL): Likewise.
23482         [C99-based standards] (FP_SUBNORMAL): Likewise.
23483         [C99-based standards] (FP_ZERO): Likewise.
23484         [C99-based standards] (FP_FAST_FMA): Use
23485         optional-macro-int-constant.  Specify type.  Require == 1.
23486         [C99-based standards] (FP_FAST_FMAF): Likewise.
23487         [C99-based standards] (FP_FAST_FMAL): Likewise.
23488         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
23489         [C99-based standards] (FP_ILOGBNAN): Likewise.
23490         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
23491         Specify type.
23492         [C99-based standards] (MATH_ERREXCEPT): Likewise.
23493         [C99-based standards] (math_errhandling): Specify type.
23494         [ISO99 || ISO11] (signgam): Do not allow.
23495         [non-C99-based standards] (copysignf): Do not allow.
23496         [non-C99-based standards] (exp2f): Likewise.
23497         [non-C99-based standards] (log2f): Likewise.
23498         [non-C99-based standards] (modff): Allow.
23499         [non-C99-based standards] (erff): Do not allow.
23500         [non-C99-based standards] (erfcf): Likewise.
23501         [non-C99-based standards] (gammaf): Likewise.
23502         [non-C99-based standards] (hypotf): Likewise.
23503         [non-C99-based standards] (j0f): Likewise.
23504         [non-C99-based standards] (j1f): Likewise.
23505         [non-C99-based standards] (jnf): Likewise.
23506         [non-C99-based standards] (lgammaf): Likewise.
23507         [non-C99-based standards] (tgammaf): Likewise.
23508         [non-C99-based standards] (y0f): Likewise.
23509         [non-C99-based standards] (y1f): Likewise.
23510         [non-C99-based standards] (ynf): Likewise.
23511         [non-C99-based standards] (isnanf): Likewise.
23512         [non-C99-based standards] (acoshf): Likewise.
23513         [non-C99-based standards] (asinhf): Likewise.
23514         [non-C99-based standards] (atanhf): Likewise.
23515         [non-C99-based standards] (cbrtf): Likewise.
23516         [non-C99-based standards] (expm1f): Likewise.
23517         [non-C99-based standards] (ilogbf): Likewise.
23518         [non-C99-based standards] (log1pf): Likewise.
23519         [non-C99-based standards] (logbf): Likewise.
23520         [non-C99-based standards] (nextafterf): Likewise.
23521         [non-C99-based standards] (remainderf): Likewise.
23522         [non-C99-based standards] (rintf): Likewise.
23523         [non-C99-based standards] (scalbf): Likewise.
23524         [non-C99-based standards] (copysignl): Likewise.
23525         [non-C99-based standards] (exp2l): Likewise.
23526         [non-C99-based standards] (log2l): Likewise.
23527         [non-C99-based standards] (modfl): Allow.
23528         [non-C99-based standards] (erfl): Do not allow.
23529         [non-C99-based standards] (erfcl): Likewise.
23530         [non-C99-based standards] (gammal): Likewise.
23531         [non-C99-based standards] (hypotl): Likewise.
23532         [non-C99-based standards] (j0l): Likewise.
23533         [non-C99-based standards] (j1l): Likewise.
23534         [non-C99-based standards] (jnl): Likewise.
23535         [non-C99-based standards] (lgammal): Likewise.
23536         [non-C99-based standards] (tgammal): Likewise.
23537         [non-C99-based standards] (y0l): Likewise.
23538         [non-C99-based standards] (y1l): Likewise.
23539         [non-C99-based standards] (ynl): Likewise.
23540         [non-C99-based standards] (isnanl): Likewise.
23541         [non-C99-based standards] (acoshl): Likewise.
23542         [non-C99-based standards] (asinhl): Likewise.
23543         [non-C99-based standards] (atanhl): Likewise.
23544         [non-C99-based standards] (cbrtl): Likewise.
23545         [non-C99-based standards] (expm1l): Likewise.
23546         [non-C99-based standards] (ilogbl): Likewise.
23547         [non-C99-based standards] (log1pl): Likewise.
23548         [non-C99-based standards] (logbl): Likewise.
23549         [non-C99-based standards] (nextafterl): Likewise.
23550         [non-C99-based standards] (remainderl): Likewise.
23551         [non-C99-based standards] (rintl): Likewise.
23552         [non-C99-based standards] (scalbl): Likewise.
23553         [ISO || ISO99 || ISO11] (*_t): Do not allow.
23554         [non-C99-based standards] (FP_*): Do not allow.
23555         [C99-based standards] (FP_*): Change to
23556         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23557         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23558         allow.
23559         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
23560         (SIG_ERR): Likewise.
23561         [X/Open-based standards] (SIG_HOLD): Likewise.
23562         (SIG_IGN): Likewise.
23563         (SIGABRT): Use macro-int-constant.  Specify type.  Require
23564         positive value.
23565         (SIGFPE): Likewise.
23566         (SIGILL): Likewise.
23567         (SIGINT): Likewise.
23568         (SIGSEGV): Likewise.
23569         (SIGTER): Likewise.
23570         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
23571         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
23572         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
23573         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
23574         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
23575         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
23576         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
23577         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
23578         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
23579         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
23580         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
23581         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
23582         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
23583         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
23584         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
23585         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
23586         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
23587         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
23588         [X/Open-based standards] (SIGTRAP): Likewise.
23589         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
23590         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
23591         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
23592         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
23593         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23594         allow.
23596 2012-05-08  Ian Wienand  <ianw@vmware.com>
23598         [BZ #14080]
23599         * time/tzset.c (__tzset_parse_tz): Update default rules for
23600         daylight time changes in the Energy Policy Act of 2005.
23602 2012-05-09  Andreas Jaeger  <aj@suse.de>
23604         [BZ #13983]
23605         * elf/ldconfig.c (parse_conf): Change string to make clear that
23606         ldconfig only issued a warning if ld.so.conf does not exist.
23608 2012-05-08  David S. Miller  <davem@davemloft.net>
23610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
23611         movxtod instead of popping the value on the stack.
23613         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23615 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
23617         * config.h.in: Add HAVE_ARM_PCS_VFP.
23619 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
23621         [BZ #13979]
23622         * include/features.h: Warn if user requests __FORTIFY_SOURCE
23623         checking but the checks are disabled for any reason.
23625 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
23627         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
23628         and ELF64_R_TYPE with ELFW(R_TYPE).
23630 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
23632         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
23633         (ulimit): Likewise.
23635         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
23636         (settimeofday): Likewise.
23638 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
23640         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
23641         a struct th_u2 inside the union, and move tu_block/tu_code into
23642         a new th_u3 union of tu_block/tu_code inside of that.  Move
23643         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
23644         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
23645         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
23646         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
23647         (th_stuff): Change to th_u1.tu_stuff.
23648         (th_data): Define.
23649         (th_msg): Change to th_u1.th_u2.tu_data.
23651 2012-05-07  David S. Miller  <davem@davemloft.net>
23653         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23655         [BZ #14074]
23656         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
23657         (SETUP_PIC_REG): Use it.
23658         (SETUP_PIC_REG_LEAF): Use it.
23660 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
23662         [BZ #13885]
23663         [BZ #13923]
23664         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23665         USE_AS_EXPM1L.
23666         (EXPL_FINITE): Likewise.
23667         (FLDLOG): Likewise.
23668         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23669         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23670         e_expl.S.
23671         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23672         USE_AS_EXPM1L.
23673         (EXPL_FINITE): Likewise.
23674         (FLDLOG): Likewise.
23675         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23676         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23677         e_expl.S.
23678         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
23679         test of -max_value argument for long double.
23680         * sysdeps/i386/fpu/libm-test-ulps: Update.
23681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23683 2012-05-06  David S. Miller  <davem@davemloft.net>
23685         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
23686         quad soft-float symbols whose references which are compiler
23687         generated.
23688         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23690 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
23692         [BZ #13884]
23693         [BZ #13914]
23694         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23695         USE_AS_EXP10L.
23696         (EXPL_FINITE): Likewise.
23697         (FLDLOG): Likewise.
23698         (c0): Likewise.
23699         (c1): Likewise.
23700         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
23701         Adjust comments for base varying.
23702         (__expl_finite): Change alias to EXPL_FINITE.
23703         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
23704         e_expl.S.
23705         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
23706         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
23707         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23708         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
23709         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23710         USE_AS_EXP10L.
23711         (EXPL_FINITE): Likewise.
23712         (FLDLOG): Likewise.
23713         (c0): Likewise.
23714         (c1): Likewise.
23715         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
23716         Adjust comments for base varying.
23717         (__expl_finite): Change alias to EXPL_FINITE.
23718         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
23719         tests for bugs.
23720         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23722         [BZ #14064]
23723         * math/libm-test.inc (check_float_internal): Correct ulp
23724         calculation for subnormal expected results.
23726 2012-05-06  Andreas Jaeger  <aj@suse.de>
23728         * Makeconfig (+math-flags): New, set to -frounding-math.
23729         (+cflags): Add +math-flags so that all of glibc gets compiled with
23730         it.
23732         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
23734 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
23736         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
23737         Disable one test.
23739         [BZ #13787]
23740         [BZ #13922]
23741         [BZ #14036]
23742         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
23743         (__ieee754_expl): Allow for and saturate large arguments.
23744         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
23745         (u_threshold): Likewise.
23746         (__exp): Call __ieee754_exp before checking for overflow and
23747         underflow.
23748         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
23749         (u_threshold): Likewise.
23750         (__expf): Call __ieee754_expf before checking for overflow and
23751         underflow.
23752         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
23753         (u_threshold): Likewise.
23754         (__expl): Call __ieee754_expl before checking for overflow and
23755         underflow.
23756         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
23757         (__ieee754_expl): Allow for and saturate large arguments.
23758         * math/libm-test.inc (exp_test): Add another test.  Do not allow
23759         missing overflow exception on overflow.
23760         (expm1_test): Do not allow missing overflow exception on overflow.
23762         * sysdeps/i386/fpu/e_expl.c: Move to ...
23763         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
23764         rather than using inline asm.
23765         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
23766         * sysdeps/x86_64/fpu/e_expl.S: Copy from
23767         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
23769         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
23770         (nice): Likewise.
23771         (poll): Likewise.
23772         (signal): Likewise.
23773         (time): Likewise.
23774         (times): Likewise.
23776 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
23778         * sysdeps/unix/syscalls.list (adjtime): Add entry from
23779         sysdeps/unix/common/syscalls.list.
23780         (fchmod): Likewise.
23781         (fchown): Likewise.
23782         (ftruncate): Likewise.
23783         (getrusage): Likewise.
23784         (gettimeofday): Likewise.
23785         (setpgid): Likewise.
23786         (setregid): Likewise.
23787         (setreuid): Likewise.
23788         (sigaction): Likewise.
23789         (truncate): Likewise.
23790         (vhangup): Likewise.
23791         * sysdeps/unix/common/syscalls.list: Remove file.
23792         * sysdeps/unix/bsd/Implies: Don't include unix/common.
23793         * sysdeps/unix/sysv/linux/Implies: Likewise.
23795 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
23797         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
23798         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
23799         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
23800         Moved to ...
23801         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
23802         Here.
23803         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
23804         to ...
23805         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
23806         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
23807         to ...
23808         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
23809         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
23810         to ...
23811         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
23812         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
23813         to ...
23814         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
23815         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
23816         to ...
23817         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
23818         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
23819         to ...
23820         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
23821         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
23822         to ...
23823         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23824         Here.
23825         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
23826         to ...
23827         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
23828         Here.
23829         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
23830         to ...
23831         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
23832         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
23833         Moved to ...
23834         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
23835         Here.
23836         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
23837         to ...
23838         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
23840 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
23842         * sysdeps/unix/common/bits/dirent.h: Remove file.
23843         * sysdeps/unix/common/bits/fcntl.h: Likewise.
23845         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
23846         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
23847         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
23848         * sysdeps/unix/bsd/isatty.c: Likewise.
23849         * sysdeps/unix/bsd/tcdrain.c: Likewise.
23850         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
23851         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
23853 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23855         [BZ #13563]
23856         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
23857         long double comparison inaccuracies.
23858         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23859         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23861 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
23863         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
23864         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
23866 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
23868         [BZ #14049]
23869         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
23870         nonzero digits before rounding a hex value.
23871         * stdlib/tst-strtod.c (tests): Add another test.
23873 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23875         * sysdeps/s390/fpu/libm-test-ulps: Update.
23877 2012-05-03  Andreas Jaeger  <aj@suse.de>
23879         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
23880         does not get optimized out.
23881         (malloc_opt_barrier): New.
23883 2012-05-03  Andreas Jaeger  <aj@suse.de>
23884             Roland McGrath  <roland@hack.frob.com>
23886         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
23887         intermediate file deletion.
23888         (generated): Add .symlist files.
23890 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
23892         [BZ #13775]
23893         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
23894         Redirect under this condition.
23895         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
23896         [__USE_GNU] (__dprintf_chk): Not under this condition.
23897         [__USE_GNU] (__vdprintf_chk): Likewise.
23898         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
23899         under this condition.
23900         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
23901         [__USE_XOPEN2K8] (dprintf): Define under this condition.
23902         [__USE_XOPEN2K8] (vdprintf): Likewise.
23903         [__USE_GNU] (__dprintf_chk): Not under this condition.
23904         [__USE_GNU] (__vdprintf_chk): Likewise.
23905         [__USE_GNU] (dprintf): Likewise.
23906         [__USE_GNU] (vdprintf): Likewise.
23908 2012-05-03  Roland McGrath  <roland@hack.frob.com>
23910         * elf/Makefile (common-generated): Set this instead of generated for
23911         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
23912         $(all-built-dso)-derived lists.
23914 2012-05-03  Andreas Jaeger  <aj@suse.de>
23916         * sysdeps/i386/fpu/libm-test-ulps: Update.
23918         * FAQ: Removed.
23919         * FAQ.in: Likewise.
23920         * scripts/gen-FAQ.pl: Likewise.
23921         * manual/install.texi (Installation): Point to online location of
23922         FAQ.
23923         * Makefile (files-for-dist): Remove FAQ.
23924         (FAQ): Remove.
23926 2012-05-02  Allan McRae  <allan@archlinux.org>
23928         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
23929         (LDFLAGS-reldepmod5.so): Likewise.
23930         (LDFLAGS-reldep6mod1.so): Likewise.
23931         (LDFLAGS-reldep6mod4.so): Likewise.
23932         (LDFLAGS-reldep8mod3.so): Likewise.
23933         (LDFLAGS-unload4mod1.so): Likewise.
23934         (LDFLAGS-unload4mod2.so): Likewise.
23935         (LDFLAGS-tst-initorder): Likewise.
23936         (LDFLAGS-tst-initordera2.so): Likewise.
23937         (LDFLAGS-tst-initordera3.so): Likewise.
23938         (LDFLAGS-tst-initordera4.so): Likewise.
23939         (LDFLAGS-tst-initorderb2.so): Likewise.
23940         (LDFLAGS-noload): Likewise.
23941         (LDFLAGS-next): Likewise.
23942         (LDFLAGS-order2mod1.so): Likewise.
23943         (LDFLAGS-order2mod2.so): Likewise.
23944         (LDFLAGS-tst-initorder2): Likewise.
23945         (LDFLAGS-tst-initorder2a.so): Likewise.
23946         (LDFLAGS-tst-initorder2b.so): Likewise.
23947         (LDFLAGS-tst-initorder2c.so): Likewise.
23948         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
23950 2012-05-02  David S. Miller  <davem@davemloft.net>
23952         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23954 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
23956         [BZ #14055]
23957         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
23959 2012-05-02  Andreas Jaeger  <aj@suse.de>
23961         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
23962         since we manipulate rounding mode.
23963         (CPPFLAGS-test-idouble.c): Likewise.
23964         (CPPFLAGS-test-ifloat.c): Likewise.
23965         (CFLAGS-test-ldouble.c): Likewise.
23966         (CFLAGS-test-double.c): Likewise.
23967         (CFLAGS-test-float.c): Likewise.
23968         (CFLAGS-test-misc.c): Likewise.
23969         (CFLAGS-test-test-fenv.c): Likewise.
23971 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23973         [BZ #2550]
23974         [BZ #2570]
23975         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
23976         comparisons to determine direction to adjust input.
23978 2012-05-01  Roland McGrath  <roland@hack.frob.com>
23980         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
23981         output to the target.
23983         * scripts/localplt.awk: New file.
23984         * elf/Makefile ($(objpfx)check-localplt): Target removed.
23985         (check-localplt-CFLAGS): Variable removed.
23986         ($(all-built-dso:=.jmprel)): New static pattern rule.
23987         (generated): Add those targets.
23988         (localplt-built-dso): New variable.
23989         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
23991         * elf/check-localplt.c: File removed.
23993         * scripts/check-execstack.awk: New file.
23994         * elf/Makefile ($(objpfx)check-execstack): Target removed.
23995         (check-execstack-CFLAGS): Variable removed.
23996         ($(objpfx)check-execstack.h): Target removed.
23997         ($(objpfx)execstack-default): New target.
23998         (generated): Add that instead of check-execstack.h.
23999         ($(all-built-dso:=.phdr)): New static pattern rule.
24000         (generated): Add those targets.
24001         * elf/check-execstack.c: File removed.
24003         * scripts/check-textrel.awk: New file.
24004         * elf/Makefile ($(objpfx)check-textrel): Target removed.
24005         (check-textrel-CFLAGS): Variable removed.
24006         (all-built-dso): Use := to define.o
24007         ($(all-built-dso:=.dyn)): New static pattern rule.
24008         (generated): Add those targets.
24009         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
24010         * config.make.in (READELF): New substituted variable.
24011         * elf/check-textrel.c: File removed.
24013 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
24015         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24016         allow.
24017         * conform/data/ctype.h-data [C99-based standards] (isblank):
24018         Expect function.
24019         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
24020         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
24021         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24022         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
24023         Specify type.  Require positive value.
24024         (EILSEQ): Likewise.
24025         (ERANGE): Likewise.
24026         [ISO || POSIX] (EILSEQ): Do not expect.
24027         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
24028         Specify type.  Require positive value.
24029         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
24030         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
24031         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
24032         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
24033         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
24034         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
24035         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
24036         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
24037         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
24038         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
24039         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
24040         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
24041         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
24042         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
24043         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
24044         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
24045         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
24046         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
24047         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
24048         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
24049         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
24050         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
24051         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
24052         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
24053         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
24054         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
24055         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
24056         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
24057         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
24058         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
24059         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
24060         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
24061         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
24062         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
24063         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
24064         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
24065         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
24066         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
24067         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
24068         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
24069         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
24070         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
24071         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
24072         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
24073         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
24074         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
24075         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
24076         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
24077         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
24078         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
24079         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
24080         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
24081         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
24082         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
24083         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
24084         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
24085         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
24086         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
24087         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
24088         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
24089         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
24090         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
24091         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
24092         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
24093         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
24094         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
24095         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
24096         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
24097         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
24098         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
24099         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
24100         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
24101         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
24102         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
24103         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
24104         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
24105         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
24106         Require >= 2.
24107         (FLT_ROUNDS): Expect as macro, not constant.
24108         (FLT_MANT_DIG): Use macro-int-constant.
24109         (DBL_MANT_DIG): Likewise.
24110         (LDBL_MANT_DIG): Likewise.
24111         (FLT_DIG): Likewise.
24112         (DBL_DIG): Likewise.
24113         (LDBL_DIG): Likewise.
24114         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
24115         (DBL_MIN_EXP): Likewise.
24116         (LDBL_MIN_EXP): Likewise.
24117         (FLT_MAX_EXP): Use macro-int-constant.
24118         (DBL_MAX_EXP): Likewise.
24119         (LDBL_MAX_EXP): Likewise.
24120         (FLT_MAX_10_EXP): Likewise.
24121         (DBL_MAX_10_EXP): Likewise.
24122         (LDBL_MAX_10_EXP): Likewise.
24123         (FLT_MAX): Use macro-constant.
24124         (DBL_MAX): Likewise.
24125         (LDBL_MAX): Likewise.
24126         (FLT_EPSILON): Use macro-constant.  Give upper bound.
24127         (DBL_EPSILON): Likewise.
24128         (LDBL_EPSILON): Likewise.
24129         (FLT_MIN): Likewise.
24130         (DBL_MIN): Likewise.
24131         (LDBL_MIN): Likewise.
24132         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
24133         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
24134         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
24135         [ISO11] (FLT_HAS_SUBNORM): Likewise.
24136         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
24137         [ISO11] (DBL_DECIMAL_DIG): Likewise.
24138         [ISO11] (FLT_DECIMAL_DIG): Likewise.
24139         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
24140         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
24141         [ISO11] (FLT_TRUE_MIN): Likewise.
24142         [ISO11] (LDBL_TRUE_MIN): Likewise.
24143         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24144         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
24145         (SCHAR_MIN): Use macro-int-constant.  Specify type.
24146         (SCHAR_MAX): Likewise.
24147         (UCHAR_MAX): Likewise.
24148         (CHAR_MIN): Likewise.
24149         (CHAR_MAX): Likewise.
24150         (MB_LEN_MAX): Use macro-int-constant.
24151         (SHRT_MIN): Use macro-int-constant.  Specify type.
24152         (SHRT_MAX): Likewise.
24153         (USHRT_MAX): Likewise.
24154         (INT_MAX): Likewise.
24155         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
24156         bound negative.
24157         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
24158         bound with "U".
24159         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
24160         bound with "L".
24161         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
24162         bound negative.  Suffix upper bound with "L".
24163         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
24164         bound with "UL".
24165         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
24166         Specify type.
24167         [C99-based standards] (LLONG_MAX): Likewise.
24168         [C99-based standards] (ULLONG_MAX): Likewise.
24169         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
24170         == 0.
24171         [ISO11] (max_align_t): Require type.
24172         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24174         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
24175         from $CFLAGS, without defining away __attribute__ calls.
24176         (checknamespace): Use $CFLAGS_namespace.
24178         * conform/conformtest.pl (@keywords): Only include C99 keywords
24179         for standards based on C99 or C11.
24181         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
24182         Disable tests.
24183         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
24184         UNIX98]: Likewise.
24186         * conform/conformtest.pl: Handle "macro-int-constant" and test for
24187         usability of symbols in #if.
24189         * conform/conformtest.pl: If macro or constant types start
24190         "promoted:", expect the symbol to be of the following type
24191         promoted by the integer promotions.
24193         * conform/conformtest.pl: Parse all "constant" and "macro" lines
24194         in one place.  Also handle "macro-constant".
24196         * conform/conformtest.pl: Only accept expected macro values with
24197         "==".  Parse all "macro" lines in one place.
24198         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
24200         * conform/conformtest.pl: Handle braced types on "constant" lines
24201         instead of handling "typed-constant".
24202         * conform/data/signal.h-data: Use "constant" instead of
24203         "typed-constant".
24205         * conform/conformtest.pl: Handle "optional-" at start of lines in
24206         one place rather than duplicating several cases.  Handle each
24207         format of "macro" line with initial "optional-".
24209         * conform/conformtest.pl: Only accept expected constant or
24210         optional-constant values with "==".  Parse all "constant" lines in
24211         one place.  Parse all "optional-constant" lines in one place.
24212         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
24213         * conform/data/fmtmsg.h-data: Likewise.
24214         * conform/data/netinet/in.h-data: Likewise.
24215         * conform/data/tar.h-data: Likewise.
24216         * conform/data/limits.h-data: Use "==" form on "constant" and
24217         "optional-constant" lines.
24219         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
24220         Use -std=c99 for XOPEN2K.
24221         (@knownproblems): Remove.
24222         (newtoken): Don't check %isknown.
24224         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
24225         Do not expect macro.
24226         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
24227         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
24228         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
24229         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
24230         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
24231         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
24232         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
24233         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
24234         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
24235         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
24236         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
24237         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
24238         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
24239         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
24240         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
24241         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
24242         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
24243         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
24244         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
24245         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
24246         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
24247         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
24248         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
24249         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
24250         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
24251         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
24252         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
24253         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
24254         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
24255         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
24256         [XPG3] (acosh): Likewise.
24257         [XPG3] (asinh): Likewise.
24258         [XPG3] (atanh): Likewise.
24259         [XPG3] (cbrt): Likewise.
24260         [XPG3] (expm1): Likewise.
24261         [XPG3] (ilogb): Likewise.
24262         [XPG3] (log1p): Likewise.
24263         [XPG3] (logb): Likewise.
24264         [XPG3] (nextafter): Likewise.
24265         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
24266         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
24267         [XPG3] (remainder): Likewise.
24268         [XPG3] (rint): Likewise.
24269         [XPG3 || XPG4 || UNIX98] (round): Likewise.
24270         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
24271         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
24272         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
24273         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
24274         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
24275         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
24276         [UNIX98 || XOPEN2K] (scalb): Expect.
24277         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
24278         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
24279         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
24280         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
24281         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
24282         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
24283         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
24284         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
24285         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
24286         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
24287         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
24288         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
24289         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
24290         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
24291         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
24292         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
24293         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
24294         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
24295         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
24296         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
24297         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
24298         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
24299         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
24300         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
24301         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
24302         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
24303         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
24304         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
24305         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
24306         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
24307         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
24308         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
24309         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
24310         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
24311         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
24312         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
24313         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
24314         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
24315         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
24316         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
24317         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
24318         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
24319         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
24320         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
24321         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
24322         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
24323         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
24324         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
24325         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
24326         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
24327         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
24328         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
24329         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
24330         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
24331         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
24332         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
24333         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
24334         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
24335         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
24336         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
24337         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
24338         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
24339         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
24340         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
24341         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
24342         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
24343         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
24344         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
24345         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
24346         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
24347         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
24348         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
24349         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
24350         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
24351         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
24352         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
24353         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
24354         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
24355         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
24356         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
24357         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
24358         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
24359         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
24360         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
24361         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
24362         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
24363         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
24364         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
24365         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
24366         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
24367         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
24368         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
24369         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
24370         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
24371         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
24372         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
24373         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
24374         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
24375         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
24376         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
24377         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
24378         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
24379         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
24380         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
24381         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
24382         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
24383         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
24384         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
24385         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
24386         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
24387         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
24388         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
24389         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
24390         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
24391         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
24392         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
24393         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
24394         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
24395         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
24396         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
24397         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
24398         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
24399         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
24400         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
24401         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
24402         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
24403         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
24404         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
24405         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
24406         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
24407         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
24408         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
24409         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
24410         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
24411         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
24412         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
24413         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
24415         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
24416         _XOPEN_SOURCE_EXTENDED for XPG4.
24418         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
24420         * Makeconfig (localtime): Remove variable.
24421         (inst_localtime-file): Likewise.
24423 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
24425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
24426         Update.
24427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24428         Update.
24429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
24430         Update.
24431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24432         Update.
24433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
24434         Update.
24435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
24436         Update.
24437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24438         Update.
24439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
24440         Update.
24441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24442         Update.
24444 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
24446         [BZ #2550]
24447         [BZ #2570]
24448         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
24449         comparisons to determine direction to adjust input.
24450         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
24451         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
24452         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
24453         Likewise.
24454         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
24455         Likewise.
24456         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24457         Likewise.
24458         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
24459         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
24460         Likewise.
24461         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
24462         Likewise.
24463         * math/libm-test.inc (nexttoward_test): Add more tests.
24465 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
24467         [BZ #14040]
24468         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
24469         in version GLIBC_2.1, not GLIBC_2.0.
24470         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
24471         Likewise.
24473 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
24475         [BZ #13942]
24476         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
24477         (1 - x) * (1 + x).
24478         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24479         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
24480         * math/libm-test.inc (acos_test): Add more tests.
24481         (asin_test): Likewise.
24482         * sysdeps/i386/fpu/libm-test-ulps: Update.
24483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24485         [BZ #14034]
24486         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
24487         of square root.
24488         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
24489         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24490         * math/libm-test.inc (acos_test_tonearest): New function.
24491         (acos_test_towardzero): Likewise.
24492         (acos_test_downward): Likewise.
24493         (acos_test_upward): Likewise.
24494         (asin_test_tonearest): Likewise.
24495         (asin_test_towardzero): Likewise.
24496         (asin_test_downward): Likewise.
24497         (asin_test_upward): Likewise.
24498         (main): Call the new functions.
24499         * sysdeps/i386/fpu/libm-test-ulps: Update.
24500         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24502         [BZ #13884]
24503         [BZ #13924]
24504         * math/e_exp10.c: Include <float.h>.
24505         (__ieee754_exp10): Handle underflow here rather than multiplying
24506         large negative argument by M_LN10.
24507         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
24508         of __ieee754_expf.
24509         * math/e_exp10l.c: Include <float.h>.
24510         (__ieee754_exp10l): Handle underflow here rather than multiplying
24511         large negative argument by M_LN10l.
24512         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
24513         spurious overflow exception on underflow.
24515 2012-04-29  Marek Polacek  <polacek@redhat.com>
24517         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
24518         (__fortify_function): New macro.
24519         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
24520         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
24521         __extern_always_inline.
24522         * libio/bits/stdio2.h: Likewise.
24523         * libio/bits/stdio.h: Likewise.
24524         * string/string.h: Likewise.
24525         * string/bits/string3.h: Likewise.
24526         * include/stdio.h: Likewise.
24527         * stdlib/bits/stdlib.h: Likewise.
24528         * stdlib/stdlib.h: Likewise.
24529         * rt/bits/mqueue2.h: Likewise.
24530         * rt/mqueue.h: Likewise.
24531         * posix/bits/unistd.h: Likewise.
24532         * posix/unistd.h: Likewise.
24533         * io/bits/poll2.h: Likewise.
24534         * io/bits/fcntl2.h: Likewise.
24535         * io/fcntl.h: Likewise.
24536         * io/sys/poll.h: Likewise.
24537         * misc/bits/syslog.h: Likewise.
24538         * misc/bits/syslog-ldbl.h: Likewise.
24539         * misc/sys/syslog.h: Likewise.
24540         * socket/bits/socket2.h: Likewise.
24541         * socket/sys/socket.h: Likewise.
24542         * debug/tst-chk1.c: Likewise.
24543         * wcsmbs/bits/wchar2.h: Likewise.
24544         * wcsmbs/bits/wchar-ldbl.h: Likewise.
24545         * wcsmbs/wchar.h: Likewise.
24547 2012-04-29  Andreas Jaeger  <aj@suse.de>
24549         * Makerules (tests): Remove enable-check-abi protection.
24550         (check-abi-warn): Remove.
24551         (check-abi-%): Remove check-abi-warn usage.
24553         * configure.in: Remove check-abi configure option.
24554         * configure: Regenerated.
24555         * config.make.in (enable-check-abi): Remove.
24557 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
24559         [BZ #14033]
24560         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
24561         double functions to double *_finite functions.
24563         [BZ #13941]
24564         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
24565         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
24566         LDBL_MIN_EXP.
24567         * stdio-common/Makefile (tests): Add tst-sprintf3.
24568         * stdio-common/tst-sprintf3.c: New file.
24570         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
24571         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
24573 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
24575         * conform/conformtest.pl: Remove duplicate typed-constant
24576         handling.
24578 2012-04-28  David S. Miller  <davem@davemloft.net>
24580         * Makerules (%.abilist): Add vpath on sysdep_dirs.
24581         (check-abi-%): Remove AWK script prerequisite and explicit
24582         abilist directory.
24583         (check-abi): Rewrite to just diff the symlist with the abilist.
24584         (config-tls, config-abi-config): Delete, no longer used.
24585         (update-abi-%): Remove AWK script and explicit abilist directory.
24586         (update-abi): Rewrite to simply compare and conditionally copy the
24587         symlist and the sysdep abilist file.  Remove update-abi-config
24588         checks.
24589         * abilist/ld.abilist: Remove.
24590         * abilist/libBrokenLocale.abilist: Remove.
24591         * abilist/libanl.abilist: Remove.
24592         * abilist/libcrypt.abilist: Remove.
24593         * abilist/libdl.abilist: Remove.
24594         * abilist/librt.abilist: Remove.
24595         * abilist/libthread_db.abilist: Remove.
24596         * abilist/libutil.abilist: Remove.
24597         * scripts/extract-abilist.awk: Remove.
24598         * scripts/merge-abilist.awk: Remove.
24599         * sysdeps/generic/libcidn.abilist: New file.
24600         * sysdeps/generic/libnss_compat.abilist: New file.
24601         * sysdeps/generic/libnss_db.abilist: New file.
24602         * sysdeps/generic/libnss_dns.abilist: New file.
24603         * sysdeps/generic/libnss_files.abilist: New file.
24604         * sysdeps/generic/libnss_hesiod.abilist: New file.
24605         * sysdeps/generic/libnss_nis.abilist: New file.
24606         * sysdeps/generic/libnss_nisplus.abilist: New file.
24607         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
24608         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
24609         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
24610         file.
24611         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
24612         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
24613         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
24614         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
24615         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
24616         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
24617         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
24618         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
24619         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
24620         file.
24621         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
24622         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
24623         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
24624         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
24625         file.
24626         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
24627         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
24628         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
24629         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
24630         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
24631         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
24632         file.
24633         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
24634         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
24635         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
24636         file.
24637         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
24638         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
24639         New file.
24640         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
24641         New file.
24642         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
24643         New file.
24644         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
24645         New file.
24646         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
24647         New file.
24648         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
24649         New file.
24650         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
24651         New file.
24652         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
24653         New file.
24654         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
24655         New file.
24656         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
24657         New file.
24658         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
24659         New file.
24660         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
24661         New file.
24662         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
24663         New file.
24664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
24665         file.
24666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
24667         New file.
24668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
24669         New file.
24670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
24671         file.
24672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
24673         New file.
24674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
24675         New file.
24676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
24677         file.
24678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
24679         New file.
24680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24681         New file.
24682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
24683         New file.
24684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
24685         New file.
24686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
24687         New file.
24688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
24689         New file.
24690         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
24691         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
24692         file.
24693         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
24694         New file.
24695         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
24696         file.
24697         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
24698         file.
24699         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
24700         file.
24701         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
24702         file.
24703         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
24704         file.
24705         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24706         New file.
24707         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
24708         file.
24709         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
24710         file.
24711         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
24712         New file.
24713         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
24714         file.
24715         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
24716         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
24717         file.
24718         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
24719         New file.
24720         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
24721         file.
24722         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
24723         file.
24724         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
24725         file.
24726         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
24727         file.
24728         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
24729         file.
24730         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24731         New file.
24732         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
24733         file.
24734         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
24735         file.
24736         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
24737         New file.
24738         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
24739         file.
24740         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
24741         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
24742         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
24743         file.
24744         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
24745         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
24746         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
24747         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
24748         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
24749         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
24750         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
24751         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
24752         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
24753         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
24754         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
24755         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
24756         file.
24757         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
24758         New file.
24759         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
24760         file.
24761         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
24762         file.
24763         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
24764         file.
24765         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
24766         file.
24767         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
24768         file.
24769         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24770         New file.
24771         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
24772         New file.
24773         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
24774         file.
24775         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
24776         New file.
24777         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
24778         file.
24779         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
24780         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
24781         file.
24782         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
24783         New file.
24784         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
24785         file.
24786         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
24787         file.
24788         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
24789         file.
24790         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
24791         file.
24792         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
24793         file.
24794         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24795         New file.
24796         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
24797         New file.
24798         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
24799         file.
24800         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
24801         New file.
24802         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
24803         file.
24805 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
24807         * conform/conformtest.pl: Fix typo in handling typed-constant from
24808         allow-header.
24810 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
24812         * README: Cut down references to pre-2.6 Linux kernels and
24813         Linuxthreads.  Update lists of configurations in libc and ports
24814         and sort alphabetically.  Say "or newer" with Linux kernel version
24815         requirements.
24817         * config.h.in [IS_IN_build]: Allow compiling without optimization.
24819 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24821         [BZ #887]
24822         * math/libm-test.inc (logb_test_downward): New test to expose
24823         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
24824         rounding mode.
24826 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
24828         [BZ #14027]
24829         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
24830         to be done.
24831         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
24832         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
24834 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
24836         * sysdeps/unix/i386/brk.S: Remove file.
24837         * sysdeps/unix/i386/dl-brk.S: Likewise.
24838         * sysdeps/unix/i386/pipe.S: Likewise.
24839         * sysdeps/unix/i386/sigreturn.S: Likewise.
24840         * sysdeps/unix/i386/syscall.S: Likewise.
24841         * sysdeps/unix/i386/vfork.S: Likewise.
24842         * sysdeps/unix/i386/wait.S: Likewise.
24844         * sysdeps/unix/common/tcsendbrk.c: Move to ...
24845         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
24847         * configure.in (arm*-none*): Do not allow without
24848         --enable-hacker-mode.
24849         (netbsd*): Remove case setting base_os.
24850         (386bsd*): Likewise.
24851         (freebsd*): Likewise.
24852         (bsdi*): Likewise.
24853         (osf*): Likewise.
24854         (sunos*): Likewise.
24855         (ultrix*): Likewise.
24856         (newsos*): Likewise.
24857         (dynix*): Likewise.
24858         (*bsd*): Likewise.
24859         (sysv*): Likewise.
24860         (isc*): Likewise.
24861         (esix*): Likewise.
24862         (sco*): Likewise.
24863         (minix*): Likewise.
24864         (irix4*): Likewise.
24865         (irix6*): Likewise.
24866         (solaris[2-9]*): Likewise.
24867         (none): Likewise.
24868         * configure: Regenerated.
24870 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24872         [BZ #11521]
24873         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
24874         overflow or cancellation in calculating denominator.
24875         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
24876         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
24877         down expression to avoid unexpected rounding in newer GCCs.
24878         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
24880 2012-04-26  David S. Miller  <davem@davemloft.net>
24882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
24883         long-double compat symbols.
24884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
24888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24889         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
24890         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
24891         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
24892         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
24893         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
24894         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
24895         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
24896         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24898 2012-04-25  David S. Miller  <davem@davemloft.net>
24900         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
24901         HWCAP_* values only after the memory barriers have been defined.
24902         (atomic_full_barrier): Define.
24903         (atomic_read_barrier): Define.
24904         (atomic_write_barrier): Define.
24906 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24908         * shlib-versions: Add libgcc_s version information.
24909         * sysdeps/generic/libgcc_s.h: Remove.
24910         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
24911         libgcc_s.h.
24912         * sysdeps/gnu/unwind-resume.c: Likewise.
24913         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
24915 2012-04-25  David S. Miller  <davem@davemloft.net>
24917         * sysdeps/unix/sparc/brk.S: Delete.
24918         * sysdeps/unix/sparc/dl-brk.S: Delete.
24919         * sysdeps/unix/sparc/pipe.S: Delete.
24920         * sysdeps/unix/sparc/sysdep.S: Delete.
24921         * sysdeps/unix/sparc/sysdep.h: Delete.
24922         * sysdeps/unix/sparc/vfork.S: Delete.
24923         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
24924         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
24925         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
24926         ret_ERRVAL, r0, r1, MOVE): Define.
24927         (JUMPTARGET): Remove.
24928         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
24929         sysdeps/unix/sparc/sysdep.h
24930         (ENTRY, END): Remove.
24931         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24933 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
24935         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
24936         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
24937         -DIS_IN_build.
24939         * timezone/README: Update upstream location and email address for
24940         tzcode and tzdata.
24941         * timezone/zdump.c: Update from tzcode 2012b.
24942         * timezone/zic.c: Likewise.
24944         * configure.in (libc_cv_as_needed): Remove test.
24945         * configure: Regenerated.
24946         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
24947         conditional definition.
24948         [$(have-as-needed) != yes] (no-as-needed): Likewise.
24949         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
24950         * config.make.in (have-as-needed): Remove variable.
24952 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
24953             Paul Pluzhnikov  <ppluzhnikov@google.com>
24955         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
24956         strings correctly.
24958 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
24960         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
24961         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
24962         * sysdeps/sh/strlen.S: Likewise.
24964 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
24966         * sysdeps/unix/fork.S: Remove file.
24967         * sysdeps/unix/i386/fork.S: Likewise.
24968         * sysdeps/unix/sparc/fork.S: Likewise.
24970         * sysdeps/unix/system.c: Remove file.
24971         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
24973         * sysdeps/unix/getegid.S: Remove file.
24974         * sysdeps/unix/geteuid.S: Likewise.
24976 2012-04-24  Roland McGrath  <roland@hack.frob.com>
24978         * scripts/check-localplt.awk: New file.
24979         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
24980         of diff.
24981         * scripts/data/localplt-generic.data: Add a comment.
24983         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
24984         NODE when __dir_mkfile failed.
24985         * sysdeps/mach/hurd/symlinkat.c: Likewise.
24986         Reported by Ludovic Courtès <ludo@gnu.org>.
24988 2012-04-24  Andreas Jaeger  <aj@suse.de>
24990         * Makerules (common-clean): Also remove gen-as-const-headers
24991         files.
24993 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
24995         * Makerules (native-compile): Do not change working directory for
24996         build.  Use $(OUTPUT_OPTION) in command.
24997         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
24999 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25001         [BZ #13886]
25002         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
25003         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
25004         * math/libm-test.inc (floor_test): Add more tests.
25005         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
25007 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
25009         * sysdeps/unix/getdents.c: Remove file.
25010         * sysdeps/unix/sysv/getdents.c: Likewise.
25011         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
25013         * sysdeps/unix/syscalls.list (madvise): Add syscall from
25014         sysdeps/unix/mman/syscalls.list.
25015         (mmap): Likewise.
25016         (mprotect): Likewise.
25017         (msync): Likewise.
25018         (munmap): Likewise.
25019         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
25020         * sysdeps/unix/mman/syscalls.list: Remove.
25021         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
25023         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
25024         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
25025         * configure: Regenerated.
25026         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
25027         $(libgcc_s_suffix).
25028         * config.make.in (libgcc_s_suffix): Remove variable.
25030 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
25032         * sysdeps/unix/sysv/gethostname.c: Move to ...
25033         * sysdeps/posix/gethostname.c: ... here.
25035         * sysdeps/unix/execve.S: Remove file.
25037         * sysdeps/unix/_exit.S: Remove file.
25039 2012-04-23  Andreas Jaeger  <aj@suse.de>
25041         [BZ #13739]
25042         * manual/Makefile: Remove make dist support, there's no
25043         need for a stand-alone documentation tar ball.
25044         (TEXI2DVI): Define always, it's not in Makeconfig.
25045         (dist): Removed.
25046         (tar-it): Removed.
25047         (edition): Removed.
25048         (glibc-doc-$(edition).tar): Removed
25049         (%.Z): Removed.
25050         (%.gz): Removed.
25051         (%.uu): Removed.
25052         (ETAGS): Remove, it's in Makeconfig.
25053         (move-if-change): Remove, it's in Makeconfig.
25055 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
25057         [BZ #13970]
25058         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
25059         (strtod, strtof, strtold, strtol, strtoul, strtoq)
25060         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
25061         (strtod_l, strtof_l, strtold_l): Remove __wur.
25062         It is not necessarily an error to ignore strtol's return value.
25063         One can reliably look at the stored endptr to decide whether
25064         the number had valid syntax.
25066 2012-04-21  Andreas Jaeger  <aj@suse.de>
25068         [BZ #13739]
25069         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
25071 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
25073         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
25074         * sysdeps/unix/sysv/Versions: Remove file.
25076 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
25078         [BZ #13927]
25079         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25081 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
25083         [BZ #7064]
25084         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
25085         version from __vm86.
25087 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
25089         * sysdeps/unix/common/lxstat.c: Remove file.
25090         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
25092         * sysdeps/unix/sysv/Makefile: Remove file.
25094         * sysdeps/unix/sysv/direct.h: Remove file.
25096         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
25097         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
25098         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
25099         * sysdeps/unix/sysv/bits/signum.h: Likewise.
25100         * sysdeps/unix/sysv/bits/stat.h: Likewise.
25101         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
25102         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
25104         * sysdeps/unix/sysv/setrlimit.c: Remove file.
25106         * sysdeps/unix/xmknod.c: Remove file.
25107         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
25109         * sysdeps/unix/sysv/settimeofday.c: Remove file.
25111         * sysdeps/unix/sysv/i386/time.S: Remove file.
25113         * sysdeps/unix/fxstat.c: Remove file.
25114         * sysdeps/unix/xstat.c: Likewise.
25115         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
25117         * sysdeps/unix/sysv/sigaction.c: Remove file.
25119         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
25120         (sysdep_headers): Remove variable.
25121         [termio.h not in sysdep_headers] (generated): Likewise.
25122         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
25123         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
25124         * sysdeps/unix/sysv/tcdrain.c: Likewise.
25125         * sysdeps/unix/sysv/tcflow.c: Likewise.
25126         * sysdeps/unix/sysv/tcflush.c: Likewise.
25127         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
25128         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
25129         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
25130         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
25131         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
25133         * sysdeps/unix/siglist.c: Remove file.
25135         * sysdeps/unix/getppid.S: Remove file.
25137         * sysdeps/unix/mkdir.c: Remove file.
25138         * sysdeps/unix/rmdir.c: Likewise.
25140 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
25142         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
25143         ERR_MAX value.
25144         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
25145         errlist-compat value.
25147 2012-04-18  David S. Miller  <davem@davemloft.net>
25149         * sysdeps/generic/memcopy.h (reg_char): Delete.
25150         * debug/strcat_chk.c: Use char, not reg_char.
25151         * debug/strcpy_chk.c: Likewise.
25152         * debug/strncat_chk.c: Likewise.
25153         * debug/strncpy_chk.c: Likewise.
25154         * string/memchr.c: Likewise.
25155         * string/memrchr.c: Likewise.
25156         * string/rawmemchr.c: Likewise.
25157         * string/strcat.c: Likewise.
25158         * string/strchr.c: Likewise.
25159         * string/strchrnul.c: Likewise.
25160         * string/strcmp.c: Likewise.
25161         * string/strcpy.c: Likewise.
25162         * string/strncat.c: Likewise.
25163         * string/strncmp.c: Likewise.
25164         * string/strncpy.c: Likewise.
25166 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
25168         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
25169         __builtin_memcopy is called when src and dest ranges are known to not
25170         overlap.
25172 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
25174         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
25175         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
25176         fwd_align_merge macro call.
25177         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
25178         bwd_align_merge macro call.
25179         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25181 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
25183         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
25184         bwd_align_merge macros.
25185         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
25186         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
25187         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25189 2012-04-18  David S. Miller  <davem@davemloft.net>
25191         * sysdeps/sparc/sparc64/memcopy.h: Delete.
25193 2012-04-18  Andreas Jaeger  <aj@suse.de>
25195         [BZ# 6794]
25196         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
25197         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
25198         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25200         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
25201         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
25202         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25204         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
25205         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
25206         Adjust for changed ldbl-128 files.
25208         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
25209         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
25210         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25212 2012-04-17  David S. Miller  <davem@davemloft.net>
25214         * sysdeps/sparc/sparc32/memcopy.h: Delete.
25216 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
25218         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
25219         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
25220         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
25221         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
25222         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25223         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
25225 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25227         [BZ #6794]
25228         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
25229         * math/libm-test.inc: Add ilogb errno and exception tests.
25230         * math/w_ilogb.c: New file: ilogb wrapper.
25231         * math/w_ilogbf.c: New file: ilogbf wrapper.
25232         * math/w_ilogbl.c: New file: ilogbl wrapper.
25233         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
25234         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
25235         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
25236         exception being thrown with 0.0 as argument.
25237         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
25238         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
25239         exception being thrown with 0.0 as argument.
25240         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
25241         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25242         exception being thrown with 0.0 as argument.
25243         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
25244         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25245         exception being thrown with 0.0 as argument.
25246         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
25247         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
25248         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
25249         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
25250         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
25251         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
25252         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
25253         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
25254         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
25256 2012-04-17  Petr Baudis  <pasky@ucw.cz>
25258         * include/sys/uio.h: Change __vector to __iovec to avoid clash
25259         with altivec.
25261 2012-04-16  Marek Polacek  <polacek@redhat.com>
25263         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
25265 2012-04-16  Marek Polacek  <polacek@redhat.com>
25267         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
25268         operands of fdivp instruction.
25270 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
25272         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
25273         * elf/tst-auditmod3b.c: Likewise.
25274         * elf/tst-auditmod4b.c: Likewise.
25275         * elf/tst-auditmod5b.c: Likewise.
25276         * elf/tst-auditmod6b.c: Likewise.
25277         * elf/tst-auditmod6c.c: Likewise.
25278         * elf/tst-auditmod7b.c: Likewise.
25279         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
25280         * sysdeps/x86_64/preconfigure.in: Likewise.
25281         * sysdeps/x86_64/preconfigure: Regenerated.
25283 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
25285         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
25286         __ILP32__.
25288 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
25290         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25291         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
25293 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
25295         [BZ #13973]
25296         * locale/iso-639.def: Fix gl language name. Spotted by
25297         Yaron Shahrabani.
25299 2012-04-12  Roland McGrath  <roland@hack.frob.com>
25301         [BZ #2074]
25302         * libio/libio.h (__io_write_fn): Update comment.
25304 2012-04-12  Petr Baudis  <pasky@ucw.cz>
25306         [BZ #2074]
25307         * stdio.texi (Hook Functions): The user provided writer function
25308         is not allowed to return -1.
25310 2012-04-11  David S. Miller  <davem@davemloft.net>
25312         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25314 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
25316         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
25317         Add a leading slash to rtkaio.
25319 2012-04-11  Jim Meyering  <meyering@redhat.com>
25321         [BZ #11959]
25322         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
25323         It is not necessarily an error to ignore fwrite's return
25324         value.  One can reliably use ferror to test for errors after
25325         the fact.
25327 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
25329         * bits/types.h (__snseconds_t): New type.
25330         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
25332         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
25333         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25334         (__SNSECONDS_T_TYPE): Likewise.
25335         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25336         (__SNSECONDS_T_TYPE): Likewise.
25337         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25338         (__SNSECONDS_T_TYPE): Likewise.
25340 2012-04-10  Andreas Jaeger  <aj@suse.de>
25342         [BZ #2636]
25343         * manual/time.texi (Processor Time): Return type of times is
25344         elapsed real time since an arbitrary point in the past.
25345         (CPU Time): Move CLK_TCK from here...
25346         (Processor Time): ...to here.  Correct description.
25347         * manual/conf.texi (Constants for Sysconf): Correct description of
25348         _SC_CLK_TCK.
25350 2012-04-10  David S. Miller  <davem@davemloft.net>
25352         [BZ #13967]
25353         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
25354         where the is a gap between DT_REL(A) and DT_JMPREL.
25356 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
25358         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
25359         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25360         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25362 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25364         * elf/dl-support.c (_dl_inhibit_cache): New variable.
25365         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
25366         (dl_main): Handle --inhibit-cache.
25367         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
25368         _dl_inhibit_cache.
25369         * elf/dl-load.c (_dl_map_object): Use it.
25370         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
25372 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
25374         [BZ #13872]
25375         * sysdeps/i386/fpu/e_powl.S (p78): New object.
25376         (__ieee754_powl): Saturate large exponents rather than testing for
25377         overflow of y*log2(x).
25378         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25379         * math/libm-test.inc (pow_test): Do not permit spurious overflow
25380         exceptions.
25382         [BZ #11521]
25383         * math/s_ctan.c: Include <float.h>.
25384         (__ctan): Avoid internal overflow or cancellation in calculating
25385         denominator.
25386         * math/s_ctanf.c: Likewise.
25387         * math/s_ctanl.c: Likewise.
25388         * math/s_ctanh.c: Likewise.
25389         * math/s_ctanhf.c: Likewise.
25390         * math/s_ctanhl.c: Likewise.
25391         * math/libm-test.inc (ctan_test): Add more tests.
25392         (ctanh_test): Likewise.
25393         * sysdeps/i386/fpu/libm-test-ulps: Update.
25394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25396 2012-04-09  Andreas Jaeger  <aj@suse.de>
25398         [BZ #6894]
25399         * manual/filesys.texi (Directory Entries): Mention that d_namlen
25400         is an optional BSD extension.
25402         [BZ #10254]
25403         * manual/stdio.texi (Opening Streams): Document additional fopen
25404         parameters.
25406 2012-04-09  Roland McGrath  <roland@hack.frob.com>
25408         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
25409         %eax without telling the compiler.
25411 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
25413         [BZ # 13963]
25414         * manual/install.texi: Use sourceware.org.
25416 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
25418         [BZ #13873]
25419         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
25420         (__ieee754_pow): Generate overflow and underflow using huge*huge
25421         and tiny*tiny rather than just returning constant infinity or zero
25422         for large exponents.
25423         * math/libm-test.inc (pow_test): Require overflow exceptions for
25424         applicable cases of large exponents.
25426         [BZ #706]
25427         * sysdeps/i386/fpu/e_pow.S (p10): New object.
25428         (__ieee754_pow): Use iterative multiplication algorithm only for
25429         integer exponents with absolute value below 1024.  Check for odd
25430         integer exponents when using algorithm for real exponents.
25431         * math/libm-test.inc (pow_test): Add more tests.
25432         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25434 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
25436         [BZ #13705]
25437         * math/libm-test.inc (exp_test): Do not allow overflow exception
25438         on underflow test.
25440 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
25442         [BZ #13705]
25443         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
25444         instead of __kernel_standard_f.
25446 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
25448         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
25449         * sysdeps/x86_64/memset_chk.S: Likewise.
25451 2012-04-08  Andreas Jaeger  <aj@suse.de>
25453         [BZ #10153]
25454         * manual/startup.texi (Environment Access): Describe return value
25455         for putenv and setenv.
25457         [BZ #6895]
25458         * manual/filesys.texi (Directory Entries): Add description for
25459         DT_LNK.
25461         [BZ #6890]
25462         * manual/filesys.texi (Directory Entries): Clarify that it's file
25463         system not operating system in the description of DT_UNKNOWN.
25465         [BZ #6578]
25466         * manual/syslog.texi (closelog): Fix reference, it's openlog.
25468 2012-04-08  Stephen Compall  <s11@member.fsf.org>
25470         [BZ #6649]
25471         * manual/llio.texi (Opening and Closing Files): Add cross
25472         reference to explain mode argument.
25474 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
25476         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
25477         * sysdeps/x86_64/memset_chk.S: Likewise.
25479 2012-04-07  David S. Miller  <davem@davemloft.net>
25481         * elf/elf.h (R_SPARC_WDISP10): Define.
25482         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
25483         R_SPARC_SIZE32.
25484         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
25485         R_SPARC_SIZE64 and R_SPARC_H34.
25487 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
25489         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
25490         conditions and remove no longer applicable assertion.
25492 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
25494         * bits/byteswap.h: Include <features.h>.
25495         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25496         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25498 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
25500         * bits/byteswap.h (__bswap_16): Removed.
25501         Include <bits/byteswap-16.h> to get __bswap_16.
25502         * sysdeps/i386/bits/byteswap.h: Likewise.
25503         * sysdeps/s390/bits/byteswap.h: Likewise.
25504         * sysdeps/x86_64/bits/byteswap.h: Likewise.
25505         * bits/byteswap-16.h: New file.
25506         * sysdeps/i386/bits/byteswap-16.h: Likewise.
25507         * sysdeps/s390/bits/byteswap-16.h: Likewise.
25508         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
25509         * string/Makefile (headers): Add bits/byteswap-16.h.
25511 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
25513         [BZ #13895]
25514         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
25515         extra indirection.
25516         * nss/Makefile (tests-static, tests): Add tst-nss-static.
25517         * nss/tst-nss-static.c: New.
25519 2012-04-06  Robert Millan  <rmh@gnu.org>
25521         [BZ #6486]
25522         * manual/llio.texi (File Position Primitive): lseek
25523         refers to WHENCE when it really means OFFSET.
25525 2012-04-06  Andreas Jaeger  <aj@suse.de>
25527         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
25528         strncmp declarations.
25530         * abilist/libc.abilist: Add __poll and __ppoll.
25532 2012-04-05  David S. Miller  <davem@davemloft.net>
25534         * scripts/check-local-headers.sh: Accept a host triplet in the
25535         path matched by the exclude regexp.
25537         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
25538         definition.
25539         * sysdeps/powerpc/powerpc32/dl-machine.h
25540         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
25541         * sysdeps/s390/s390-32/dl-machine.h
25542         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25543         * sysdeps/sparc/sparc32/dl-machine.h
25544         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25545         * sysdeps/sparc/sparc64/dl-machine.h
25546         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25548         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
25549         lazy binding.
25550         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
25551         undefined symbol errors.
25553         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
25554         DT_NEEDED entries.
25556 2012-04-05  Michael Matz  <matz@suse.de>
25558         [BZ #13592]
25559         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
25561 2012-04-05  Andreas Jaeger  <aj@suse.de>
25563         [BZ #13908]
25564         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
25565         comment.
25567 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
25569         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
25570         which ROUND is no valid rounding mode.
25572 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
25574         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
25575         read again.
25576         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
25578 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
25580         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
25581         an exception using FPU order intentionally.
25583 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
25585         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
25586         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
25587         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
25588         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
25590 2012-04-05  Simon Josefsson  <simon@josefsson.org>
25592         [BZ #12340]
25593         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
25594         EINVAL when BUFLEN is too smal.
25596 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
25598         [BZ #13553]
25599         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
25600         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
25602 2012-04-03  Andreas Jaeger  <aj@suse.de>
25604         [BZ #13938]
25605         * manual/setjmp.texi (System V contexts): Fix sentence.
25607         [BZ #13926]
25608         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
25609         New macro for this case.
25610         [!__GNUC__] (__bswap_64): New inline function for this case.
25611         * sysdeps/x86_64/bits/byteswap.h: Likewise.
25612         * bits/byteswap.h: Likewise.
25613         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
25614         ull, guard with __GLIBC_HAVE_LONG_LONG.
25616         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
25617         __GLIBC_HAVE_LONG_LONG.
25619         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
25620         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
25622 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25624         [BZ #13691]
25625         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
25626         inptr and inend, rather than using last_ch.
25628 2012-04-02  David S. Miller  <davem@davemloft.net>
25630         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
25631         * stdio-common/printf-parse.h (read_int): Change return type to
25632         'int', return -1 on INT_MAX overflow.
25633         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
25634         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
25635         overflows INT_MAX.  Check for overflow of in-format-string precision
25636         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
25637         SIZE_MAX not INT_MAX for integer overflow test.
25638         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
25639         skip the construct in the format string but do not record anything.
25640         * stdio-common/bug22.c: Adjust to test both width/prevision
25641         INT_MAX overflow as well as total length INT_MAX overflow.  Check
25642         explicitly for proper errno values.
25644 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
25646         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
25647         CHAR_MAX.
25648         * string/test-strcmp.c [! WIDE]: Likewise.
25649         * time/tst-mktime2.c: Likewise for INT_MAX.
25650         * string/test-string.h: #include <sys/param.h> for MIN.
25652         * csu/init-first.c (__libc_init_first): Call __ctype_init.
25653         * sysdeps/i386/init-first.c (init): Likewise.
25654         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
25655         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
25656         * sysdeps/sh/init-first.c (init): Likewise.
25658 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
25660         * po/ru.po: Update from translation team.
25661         * po/vi.po: Likewise.
25663 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25665         * resolv/nss_dns/dns-host.c: Merge copyright years.
25667 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25669         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25670         Optimize memcpy with prefetch if
25671         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
25672         src, dst pointers have unequal 16 byte alignments.
25674 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25676         [BZ #13928]
25677         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
25678         from a CNAME entry and return the minimum ttl for the query.
25679         (gaih_getanswer_slice): Likewise.
25681 2012-03-30  Jeff Law  <law@redhat.com>
25683         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
25684         due to long keys.
25685         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
25686         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
25688         * resolv/nss_dns/dns-host.c: Update copyright year.
25690 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
25692         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
25693         requests to save a system call.  Fix check that all bytes are sent.
25695         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
25696         comments for sendmmsg.
25698 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25700         [BZ #13691]
25701         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
25702         with only 1 character between 0x0041 and 0x01b0.
25703         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
25704         * wcsmbs/tst-mbsnrtowcs.c: New file.
25706 2012-03-29  David S. Miller  <davem@davemloft.net>
25708         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
25709         small copies by hand.
25711 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25713         [BZ #13761]
25714         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
25715         _nss_compat_initgroups_dyn): Fall back to malloc/free
25716         for large group memberships.
25718 2012-03-28  David S. Miller  <davem@davemloft.net>
25720         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
25721         that branches into memcpy.
25722         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25723         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
25724         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25725         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
25726         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
25727         bits.
25728         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
25729         implementation too.
25730         * sysdeps/sparc/mempcpy.S: New file.
25732         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
25733         the IFUNC routine in the libc case.
25734         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25736         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
25737         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
25738         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
25739         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
25740         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
25741         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
25742         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
25743         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
25745         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
25746         loop to 256 bytes instead of 64 bytes and fix test signedness.
25748         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
25749         * sysdeps/sparc/sparc32/Makefile: rather than here...
25750         * sysdeps/sparc/sparc64/Makefile: and here.
25752 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
25754         * malloc/mallocbug.c: Avoid warnings about unused variables.
25756 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
25758         [BZ #13760]
25759         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
25760         in the right place. Discard and retry query if response is
25761         larger than input buffer size.
25763 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
25765         [BZ #369]
25766         [BZ #2678]
25767         [BZ #3866]
25768         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
25769         x for large integer exponent.
25770         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25771         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
25772         sign of result as needed afterwards.
25773         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
25774         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
25775         result for underflowing pow the same as for overflow.
25776         (__kernel_standard_l): Handle powl overflow and underflow here
25777         rather than calling __kernel_standard.
25778         * math/libm-test.inc (pow_test): Add more tests.
25780         [BZ #3868]
25781         [BZ #13879]
25782         [BZ #13910]
25783         [BZ #13911]
25784         [BZ #13912]
25785         [BZ #13913]
25786         [BZ #13915]
25787         [BZ #13916]
25788         [BZ #13917]
25789         [BZ #13918]
25790         [BZ #13919]
25791         [BZ #13920]
25792         [BZ #13921]
25793         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
25794         * sysdeps/ieee754/k_standard.c: Include <float.h>.
25795         (__kernel_standard_l): New function.
25796         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
25797         __kernel_standard.
25798         * math/w_acosl.c (__acosl): Likewise.
25799         * math/w_asinl.c (__asinl): Likewise.
25800         * math/w_atan2l.c (__atan2l): Likewise.
25801         * math/w_atanhl.c (__atanhl): Likewise.
25802         * math/w_coshl.c (__coshl): Likewise.
25803         * math/w_exp10l.c (__exp10l): Likewise.
25804         * math/w_exp2l.c (__exp2l): Likewise.
25805         * math/w_fmodl.c (__fmodl): Likewise.
25806         * math/w_hypotl.c (__hypotl): Likewise.
25807         * math/w_j0l.c (__j0l, __y0l): Likewise.
25808         * math/w_j1l.c (__j1l, __y1l): Likewise.
25809         * math/w_jnl.c (__jnl, __ynl): Likewise.
25810         * math/w_lgammal.c (__lgammal): Likewise.
25811         * math/w_log10l.c (__log10l): Likewise.
25812         * math/w_log2l.c (__log2l): Likewise.
25813         * math/w_logl.c (__logl): Likewise.
25814         * math/w_powl.c (__powl): Likewise.
25815         * math/w_remainderl.c (__remainderl): Likewise.
25816         * math/w_scalbl.c (sysv_scalbl): Likewise.
25817         * math/w_sinhl.c (__sinhl): Likewise.
25818         * math/w_sqrtl.c (__sqrtl): Likewise.
25819         * math/w_tgammal.c (__tgammal): Likewise.
25820         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
25821         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
25822         * math/libm-test.inc (acos_test): Add more tests.
25823         (acosh_test): Likewise.
25824         (asin_test): Likewise.
25825         (atanh_test): Likewise.
25826         (exp_test): Likewise.
25827         (exp10_test): Likewise.
25828         (exp2_test): Likewise.
25829         (expm1_test): Likewise.
25830         (lgamma_test): Likewise.
25831         (log_test): Likewise.
25832         (log10_test): Likewise.
25833         (log1p_test): Likewise.
25834         (log2_test): Likewise.
25835         (pow_test): Do not allow some spurious overflow exceptions.
25836         (sqrt_test): Add more tests.
25837         (tgamma_test): Likewise.
25838         (y0_test): Likewise.
25839         (y1_test): Likewise.
25840         (yn_test): Likewise.
25842 2012-03-27  Anton Blanchard  <anton@samba.org>
25844         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
25845         MAP_HUGETLB.
25846         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25847         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25848         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25850 2012-03-27  David S. Miller  <davem@davemloft.net>
25852         * conform/Makefile: Run run-conformtest.sh using $(BASH).
25854         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
25855         have-as-vis3 check.
25857 2012-03-27  Andreas Jaeger  <aj@suse.de>
25859         * sysdeps/x86_64/elf/configure.in: Moved to ...
25860         * sysdeps/x86_64/configure.in: ... here.
25861         * sysdeps/x86_64/elf/start.S: Moved to ...
25862         * sysdeps/x86_64/start.S: ... here.
25863         * sysdeps/x86_64/elf/configure: Delete.
25865         * sysdeps/x86_64/configure.in: Merge contents from
25866         sysdeps/i386/configure.in (without i686 check).
25868         * sysdeps/i386/elf/Versions: Merge into ...
25869         * sysdeps/i386/Versions: ... this.
25870         * sysdeps/i386/elf/Versions: Delete file.
25871         * sysdeps/i386/elf/start.S: Moved to ...
25872         * sysdeps/i386/start.S: ...here.
25873         * sysdeps/i386/elf/configure.in: Merge into...
25874         * sysdeps/i386/configure.in: ...here.
25875         * sysdeps/i386/elf/configure.in: Delete file.
25876         * sysdeps/i386/elf/configure: Delete file.
25878         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
25879         * debug/backtracesyms.c: ... here.
25880         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
25881         * debug/backtracesymsfd.c: ... here.
25882         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
25883         * sysdeps/generic/ifunc-sel.h: ... here.
25885         * sysdeps/unix/i386/start.c: Delete file.
25886         * sysdeps/unix/sparc/start.c: Delete file.
25887         * sysdeps/unix/start.c: Delete file.
25889         * sysdeps/sh/elf/configure.in: Moved to ...
25890         * sysdeps/sh/configure.in: ... here.
25891         * sysdeps/sh/elf/start.S: Moved to ...
25892         * sysdeps/sh/start.S: ... here.
25893         * sysdeps/sh/elf/configure: Delete file.
25895         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
25896         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
25897         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
25898         * sysdeps/powerpc/powerpc64/entry.h: ... here.
25899         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
25900         * sysdeps/powerpc/powerpc64/start.S: here.
25901         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
25902         * sysdeps/powerpc/powerpc64/Makefile: ... this.
25903         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
25904         * sysdeps/powerpc/powerpc64/configure.in: ... this.
25905         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
25907         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
25908         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
25909         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
25910         * sysdeps/powerpc/powerpc32/start.S: ... here.
25911         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
25912         * sysdeps/powerpc/powerpc32/configure.in: ... this.
25913         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
25915         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
25916         * sysdeps/powerpc/ifunc-sel.h: ... here.
25917         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
25918         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
25920         * sysdeps/sparc/elf/configure.in: Moved to ...
25921         * sysdeps/sparc/configure.in: ... here.
25922         * sysdeps/sparc/elf/configure: Delete file.
25923         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
25924         * sysdeps/sparc/sparc32/start.S: ... here.
25925         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
25926         * sysdeps/sparc/sparc64/start.S: ... here.
25927         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
25928         * sysdeps/sparc/sparc32/Makefile: ... this.
25929         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
25930         * sysdeps/sparc/sparc64/Makefile: ... this.
25932         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
25933         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
25934         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
25935         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
25936         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
25937         * sysdeps/s390/s390-32/setjmp.S: ... here.
25938         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
25939         * sysdeps/s390/s390-32/configure.in: ... here.
25940         * sysdeps/s390/s390-32/elf/configure: Delete file.
25941         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
25942         * sysdeps/s390/s390-32/start.S: ... here.
25944         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
25945         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
25946         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
25947         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
25948         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
25949         * sysdeps/s390/s390-64/setjmp.S: ... here.
25950         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
25951         * sysdeps/s390/s390-64/configure.in: ... here
25952         * sysdeps/s390/s390-64/elf/configure: Delete file.
25953         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
25954         * sysdeps/s390/s390-64/start.S: ... here.
25955         * sysdeps/s390/s390-64/elf/configure: Delete.
25957         * configure.in: Remove support for elf directories in sysdeps.
25959         * configure: Regenerated.
25960         * sysdeps/i386/configure: Regenerated.
25961         * sysdeps/powerpc/powerpc32/configure: Regenerated.
25962         * sysdeps/powerpc/powerpc64/configure: Regenerated.
25963         * sysdeps/s390/s390-32/configure: Regenerated.
25964         * sysdeps/s390/s390-64/configure: Regenerated.
25965         * sysdeps/sh/configure: Regenerated.
25966         * sysdeps/sparc/configure: Regenerated.
25967         * sysdeps/x86_64/configure: Regenerated.
25969 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
25971         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25973         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
25974         denormal result into account.
25976 2012-03-25  Roland McGrath  <roland@hack.frob.com>
25978         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
25979         Reported by Allan McRae <allan@archlinux.org>.
25981 2012-03-23  Jeff Law  <law@redhat.com>
25983         * nss/getnssent.c (__nss_getent): Fix typo.
25985 2012-03-23  David S. Miller  <davem@davemloft.net>
25987         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25989 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
25991         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
25992         to pad to uint64_t for each field.
25993         (dl_tls_index): Replace unsigned long with uint64_t.
25995 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
25996         Paul Pluzhnikov  <ppluzhnikov@google.com>
25998         [BZ #6528]
25999         * grp/Makefile (otherlibs): Don't set it.
26000         * inet/Makefile (otherlibs): Likewise.
26001         * login/Makefile (otherlibs): Likewise.
26002         * nscd/Makefile (otherlibs): Likewise.
26003         * posix/Makefile (otherlibs): Likewise.
26004         * pwd/Makefile (otherlibs): Likewise.
26005         * rt/Makefile (otherlibs): Likewise.
26006         * sunrpc/Makefile (otherlibs): Likewise.
26007         * nss/Makefile (otherlibs): Likewise.
26008         Add libnss_files to routines and static-only-routines.
26009         ($(objpfx)getent): Remove rule.
26010         * resolv/Makefile: Add libnss_dns and libresolv to routines and
26011         static-only-routines.
26013 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
26015         [BZ #13892]
26016         * math/s_cexp.c: Include <float.h>.
26017         (__cexp): Handle exp result overflowing not necessarily
26018         overflowing both real and imaginary parts of result.
26019         * math/s_cexpf.c: Likewise.
26020         * math/s_cexpl.c: Likewise.
26021         * math/libm-test.inc (cexp_test): Add more tests.
26022         * sysdeps/i386/fpu/libm-test-ulps: Update.
26023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26025 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
26027         * include/link.h (ELFW): New macro.
26028         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
26029         Replace ELF64_R_TYPE with ELFW(R_TYPE).
26031 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
26033         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
26034         with uint64_t.
26036 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
26038         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
26039         declaration.
26040         (struct La_x32_retval): Likewise.
26042 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
26044         * sysdeps/x86_64/preconfigure.in: New file.
26045         * sysdeps/x86_64/preconfigure: New generated file.
26047 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
26049         [BZ #13824]
26050         * math/e_exp2l.c: Include <float.h>.
26051         (__ieee754_exp2l): Handle overflow and underflow cases
26052         separately.  Only pass fractional part of argument to
26053         __ieee754_expl.
26054         * math/libm-test.inc (exp2_test): Add more tests.
26056         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
26057         negating x to take absolute value.
26058         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
26059         Likewise.
26060         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26061         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
26062         Likewise.
26063         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
26064         computing low part if x was negated.
26065         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26067 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
26069         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
26070         la_x32_gnu_pltexit.
26071         (pltexit): Cast int_retval to ptrdiff_t.
26072         * elf/tst-auditmod3b.c: Likewise.
26073         * elf/tst-auditmod4b.c: Likewise.
26074         * elf/tst-auditmod5b.c: Likewise.
26075         * elf/tst-auditmod6b.c: Likewise.
26076         * elf/tst-auditmod6c.c: Likewise.
26077         * elf/tst-auditmod7b.c: Likewise.
26079         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
26080         and x32_gnu_pltexit.
26082         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
26083         __ELF_NATIVE_CLASS.
26084         (La_x32_regs): New macro.
26085         (La_x32_retval): Likewise.
26086         (la_x32_gnu_pltenter): New function prototype.
26087         (la_x32_gnu_pltexit): Likewise.
26089 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
26091         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
26092         exponent.
26094         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26096         * configure.in (libc_cv_cc_nofma): Check for option to disable
26097         generation of FMA instructions.
26098         * configure: Regenerate.
26099         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
26100         * sysdeps/ieee754/dbl-64/Makefile: New file.
26101         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26102         Remove brandred-fma4.
26103         (CFLAGS-brandred-fma4.c): Remove.
26104         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
26105         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
26106         define.
26107         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
26108         define.
26110 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
26112         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
26113         LLONG_MAX != LONG_MAX.
26114         (_itoa_word): Use _ITOA_WORD_TYPE on value.
26115         (_fitoa_word): Likewise.
26116         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
26117         LLONG_MAX != LONG_MAX.
26118         * stdio-common/_itowa.h: Include <_itoa.h>.
26119         (_itowa_word): Use _ITOA_WORD_TYPE on value.
26120         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
26121         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
26122         only if not defined.
26123         (_ITOA_WORD_TYPE): Likewise.
26124         (_itoa_word): Use _ITOA_WORD_TYPE on value.
26125         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
26127 2012-03-21  David S. Miller  <davem@davemloft.net>
26129         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26131 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
26133         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
26134         of x86_64 when setting libc_cv_slibdir, libdir and
26135         libc_cv_localedir.
26136         * sysdeps/unix/sysv/linux/configure: Regenerated.
26138 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
26140         * manual/lang.texi (Old Varargs): Remove section.
26141         (How Variadic): Update menu.
26142         (va_start): Do not mention varargs.h.
26144 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
26145             Joseph Myers  <joseph@codesourcery.com>
26147         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
26148         link test.
26149         * configure: Regenerated.
26151 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
26153         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
26154         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
26155         conformtest.pl
26157 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
26159         * NOTES: Remove.
26160         * Makefile (files-for-dist): Remove NOTES.
26161         (NOTES): Remove rule.
26162         * README: Don't refer to NOTES.
26163         * manual/creature.texi: Don't include macros.texi.
26164         * manual/intro.texi (creature.texi): Remove comment referring to
26165         NOTES.
26167         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
26168         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
26169         * configure: Regenerated.
26170         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
26171         LIBC_TRY_CC_OPTION.
26172         (libc_cv_as_i686): Likewise.
26173         (libc_cv_cc_avx): Likewise.
26174         (libc_cv_cc_sse2avx): Likewise.
26175         (libc_cv_cc_fma4): Likewise.
26176         (libc_cv_cc_novzeroupper): Likewise.
26177         * sysdeps/i386/configure: Regenerated.
26179         [BZ #13883]
26180         * sysdeps/i386/fpu/s_cexp.S: Remove.
26181         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26182         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26183         * math/libm-test.inc (cexp_test): Add more tests.
26184         * sysdeps/i386/fpu/libm-test-ulps: Update.
26185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26187 2012-03-21  Allan McRae  <allan@archlinux.org>
26189         * timezone/Makefile: Do not install iso3166.tab and zone.tab
26191 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
26193         [BZ #13871]
26194         * math/w_exp2.c: Do not include <float.h>.
26195         (o_threshold, u_threshold): Remove.
26196         (__exp2): Calculate result before checking finiteness and calling
26197         __kernel_standard.
26198         * math/w_exp2f.c: Likewise.
26199         * math/w_exp2l.c: Likewise.
26200         * math/libm-test.inc (exp2_test): Require overflow exception for
26201         1e6 input.
26203         [BZ #3866]
26204         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
26205         range of signed 64-bit integers before using fistpll.  Remove
26206         checks for whether integers fit in mantissa bits.
26207         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
26208         the range of signed 32-bit integers before using fistpl.  Remove
26209         checks for whether integers fit in mantissa bits.
26210         * sysdeps/i386/fpu/e_powl.S (p64): New object.
26211         (__ieee754_powl): Test for y outside the range of signed 64-bit
26212         integers before using fistpll.  Reduce 64-bit values to 63-bit
26213         ones as needed.
26214         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
26215         divide-by-zero is raised for zero to large negative powers.
26216         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
26217         (__ieee754_powl): Test for y outside the range of signed 64-bit
26218         integers before using fistpll.  Reduce 64-bit values to 63-bit
26219         ones as needed.
26220         * math/libm-test.inc (pow_test): Add more tests.
26222 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
26224         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
26225         <stdio-common/_itoa.h>.
26226         * debug/segfault.c: Likewise.
26227         * elf/dl-cache.c: Likewise.
26228         * elf/dl-minimal.c: Likewise.
26229         * elf/dl-misc.c: Likewise.
26230         * elf/dl-sysdep.c: Likewise.
26231         * elf/dl-version.c: Likewise.
26232         * elf/rtld.c: Likewise.
26233         * hurd/hurdsock.c: Likewise.
26234         * hurd/lookup-retry.c: Likewise.
26235         * malloc/malloc.c: Likewise.
26236         * malloc/mtrace.c: Likewise.
26237         * nscd/nscd_getgr_r.c: Likewise.
26238         * nscd/nscd_getpw_r.c: Likewise.
26239         * nscd/nscd_getserv_r.c: Likewise.
26240         * posix/getopt_init.c: Likewise.
26241         * posix/wordexp.c: Likewise.
26242         * stdio-common/_itoa.c: Likewise.
26243         * stdio-common/printf_fphex.c: Likewise.
26244         * stdio-common/vfprintf.c: Likewise.
26245         * string/_strerror.c: Likewise.
26246         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
26247         * sysdeps/i386/i686/hp-timing.h: Likewise.
26248         * sysdeps/mach/_strerror.c: Likewise.
26249         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
26250         * sysdeps/mach/hurd/sethostid.c: Likewise.
26251         * sysdeps/mach/hurd/xmknodat.c: Likewise.
26252         * sysdeps/mach/xpg-strerror.c: Likewise.
26253         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26254         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26255         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
26256         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
26257         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26258         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
26259         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
26260         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
26261         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
26262         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
26263         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
26264         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
26265         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
26266         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26267         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26268         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
26269         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
26270         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
26271         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
26272         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
26273         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
26275         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
26277         * stdio-common/_itoa.h: Moved to ...
26278         * sysdeps/generic/_itoa.h: Here.
26280         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
26282         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
26283         instead of "_itoa.h" and "_itowa.h".
26284         * stdio-common/vfprintf.: Likewise.
26286 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
26288         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
26289         <bits/wordsize.h>.
26290         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
26291         (__signbit): Likwise.
26292         (llrintf): Likwise.
26293         (llrint): Likwise.
26295 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
26297         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
26298         __WORDSIZE != 64.
26300 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
26302         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
26303         OVERFLOW_EXCEPTION_OK.
26304         * math/libm-test.inc ("Philosophy"): Update comment about
26305         exception testing.
26306         (OVERFLOW_EXCEPTION): Define.
26307         (OVERFLOW_EXCEPTION_OK): Likewise.
26308         (INVALID_EXCEPTION_OK): Renumber.
26309         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26310         (IGNORE_ZERO_INF_SIGN): Likewise.
26311         (test_exceptions): Handle FE_OVERFLOW.
26312         (exp10_test): Expect overflow exceptions.
26313         (exp2_test): Likewise.
26314         (expm1_test): Likewise.
26315         (nextafter_test): Likewise.
26316         (pow_test): Likewise.
26317         (scalbn_test): Likewise.
26318         (scalbln_test): Likewise.
26320 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
26322         * sysdeps/x86_64/bits/atomic.h
26323         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
26324         64bit integer.
26325         (atomic_exchange_acq): Likewise.
26326         (__arch_exchange_and_add_body): Likewise.
26327         (__arch_add_body): Likewise.
26328         (atomic_add_negative): Likewise.
26329         (atomic_add_zero): Likewise.
26331 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
26333         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
26334         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
26336 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
26338         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
26339         Check __x86_64__ instead of __WORDSIZE.
26341 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
26343         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
26345 2012-03-19  David S. Miller  <davem@davemloft.net>
26347         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26349         * sysdeps/sparc/fpu/fenv_private.h: New file.
26350         * sysdeps/sparc/fpu/math_private.h: Use it.
26351         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
26352         Remove.
26353         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
26354         (libc_feholdexcept_setroundl): Remove.
26355         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
26356         Remove.
26357         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
26358         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
26360 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
26362         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
26363         int64_t instead of long int.
26364         (INSERT_WORDS64): Likwise.
26366 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
26368         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
26369         _Unwind_GetCFA return to _Unwind_Ptr first.
26371 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
26373         [BZ #13629]
26374         * math/s_clog.c: Include <float.h>.
26375         (__clog): Scale large or subnormal inputs.
26376         * math/s_clogf.c: Likewise.
26377         * math/s_clogl.c: Likewise.
26378         * math/s_clog10.c: Include <float.h>.
26379         (M_LOG10_2): Define.
26380         (__clog10): Scale large or subnormal inputs.
26381         * math/s_clog10f.c: Likewise.
26382         * math/s_clog10l.c: Likewise.
26383         * math/libm-test.inc (clog_test): Add more tests.
26384         (clog10_test): Likewise.
26385         * sysdeps/i386/fpu/libm-test-ulps: Update.
26386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26388         [BZ #11451]
26389         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
26390         x and y.
26391         * math/libm-test.inc (atan2_test): Add another test.
26393         * Makerules (common-objdir-compile): Remove.
26394         * sysdeps/unix/Makefile (config-generated): Do not add
26395         $(unix-generated) to variable.
26396         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
26397         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
26398         Remove rule.
26399         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
26400         Likewise.
26401         [generic bits/local_lim.h] (before-compile): Do not append to
26402         variable.
26403         [generic bits/local_lim.h] (common-generated): Likewise.
26404         [generic sys/param.h] (before-compile): Do not append to variable.
26405         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
26406         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
26407         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
26408         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
26409         include.
26410         [generic sys/param.h] (sys/param.h-includes): Remove variable.
26411         [generic sys/param.h] (sys/param.h-includes): Remove rule.
26412         [generic sys/param.h] ($(addprefix
26413         $(common-objpfx),$(sys/param.h-includes))): Likewise.
26414         [generic sys/param.h] (common-generated): Do not append to
26415         variable.
26416         [generic sys/param.h] (sysdep_headers): Likewise.
26417         [generic bits/errno.h] (before-compile): Do not append to
26418         variable.
26419         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
26420         rule.
26421         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
26422         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
26423         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
26424         [generic bits/errno.h] (common-generated): Do not append to
26425         variable.
26426         [generic bits/ioctls.h] (before-compile): Do not append to
26427         variable.
26428         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
26429         rule.
26430         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
26431         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
26432         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
26433         rule.
26434         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
26435         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
26436         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
26437         [generic bits/ioctls.h] (common-generated): Do not append to
26438         variable.
26439         [generic sys/syscall.h] (syscall.h): Remove variable.
26440         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
26441         rule.
26442         [generic sys/syscall.h] (before-compile): Do not append to
26443         variable.
26444         [generic sys/syscall.h] (common-generated): Likewise.
26445         * sysdeps/unix/errnos-tmpl.c: Remove file.
26446         * sysdeps/unix/errnos.awk: Likewise.
26447         * sysdeps/unix/ioctls-tmpl.c: Likewise.
26448         * sysdeps/unix/ioctls.awk: Likewise.
26449         * sysdeps/unix/mk-local_lim.c: Likewise.
26450         * sysdeps/unix/snarf-ioctls: Likewise.
26452 2012-03-19  Richard Henderson  <rth@twiddle.net>
26454         * sysdeps/i386/fpu/fenv_private.h: New file.
26455         * sysdeps/i386/fpu/math_private.h: Use it.
26456         (math_opt_barrier, math_force_eval): Remove.
26457         (libc_feholdexcept_setround_53bit): Remove.
26458         (libc_feupdateenv_53bit): Remove.
26459         * sysdeps/x86_64/fpu/math_private.h: Likewise.
26460         (math_opt_barrier, math_force_eval): Remove.
26461         (libc_feholdexcept): Remove.
26462         (libc_feholdexcept_setround): Remove.
26463         (libc_fetestexcept, libc_fesetenv): Remove.
26464         (libc_feupdateenv_test): Remove.
26465         (libc_feupdateenv, libc_feholdsetround): Remove.
26466         (libc_feresetround): Remove.
26468         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
26469         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26471         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
26472         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
26473         (libc_feupdateenv_testl): New.
26474         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
26475         (libc_feupdateenv_testf): New.
26476         (libc_feupdateenv): Use libc_feupdateenv_test.
26477         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
26478         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
26480         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
26481         (libc_feholdsetroundf, libc_feholdsetroundl): New.
26482         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
26483         (libc_feresetround_noex): New.
26484         (libc_feresetround_noexf): New.
26485         (libc_feresetround_noexl): New.
26486         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
26487         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
26488         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
26489         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
26490         SET_RESTORE_ROUND.
26491         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26492         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
26493         (__cos): Likewise.
26494         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
26495         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
26496         SET_RESTORE_ROUND_NOEX.
26497         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
26498         SET_RESTORE_ROUND_NOEXF.
26499         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
26500         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
26501         (libc_feholdsetroundf): New.
26502         (libc_feresetround, libc_feresetroundf): New.
26504         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
26505         (libc_feholdexcept_setround_53bit): Convert from macro to function.
26506         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
26508         * sysdeps/generic/math_private.h: Include <fenv.h>.
26509         (default_libc_feholdexcept): New.
26510         (default_libc_feholdexcept_setround): New.
26511         (default_libc_fesetenv, default_libc_feupdateenv): New.
26512         (libc_feholdexcept): Only define if undefined.
26513         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
26514         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
26515         (libc_feholdexcept_setroundl): Likewise.
26516         (libc_feholdexcept_setround_53bit): Likewise.
26517         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
26518         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
26519         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
26520         (libc_feupdateenv_53bit): Likewise.
26521         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
26522         (libc_feholdexcept): Convert from macro to inline function.
26523         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
26524         (libc_fesetenv, libc_feupdateenv): Likewise.
26526         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
26527         not previously defined.
26528         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
26529         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
26530         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
26531         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
26532         * sysdeps/ieee754/flt-32/math_private.h: New file.
26533         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
26534         math_private.h below SET_FLOAT_WORD.
26535         (__isnan, __isinf_ns, __finite): Remove.
26536         (__isnanf, __isinf_nsf, __finitef): Remove.
26538 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
26540         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26542 2012-03-17  David S. Miller  <davem@davemloft.net>
26544         [BZ #6471]
26545         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
26546         for 2.16.
26548 2012-03-16  David S. Miller  <davem@davemloft.net>
26550         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
26551         warnings.
26553         [BZ #6471]
26554         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
26555         properly.
26556         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
26557         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
26558         sysdep_routines when subdir is sysvipc.
26559         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
26560         __getshmlba helper.
26562         * sysdeps/sparc/fpu/libm-test/ulps: Update.
26564 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
26566         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
26567         [__LP64__].
26569 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
26571         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
26572         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
26573         (__lround): Renamed to ...
26574         (__llround): This.  Replace long int with long long int.
26575         Define lround functions as aliases of llround functions.
26576         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
26578 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
26580         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
26581         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
26582         adresses to uintptr_t.  Replace "long int" and "unsigned long
26583         int" with "greg_t" on va_arg.
26585 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
26587         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
26588         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
26590         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
26591         Move e_machine check before EI_CLASS check.  Handle x32
26592         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
26593         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
26594         SKIP_EM_IA_64 and include
26595         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
26597         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
26598         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
26599         (add_system_dir): New macro.
26601         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
26602         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
26604 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
26606         [BZ #2551]
26607         [BZ #2552]
26608         [BZ #2553]
26609         [BZ #2554]
26610         [BZ #2562]
26611         [BZ #2563]
26612         [BZ #2565]
26613         [BZ #2566]
26614         [BZ #2576]
26615         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
26616         (y0): Likewise.
26617         * math/w_j0f.c (j0f): Likewise.
26618         (y0f): Likewise.
26619         * math/w_j0l.c (__j0l): Likewise.
26620         (__y0l): Likewise.
26621         * math/w_j1.c (j1): Likewise.
26622         (y1): Likewise.
26623         * math/w_j1f.c (j1f): Likewise.
26624         (y1f): Likewise.
26625         * math/w_j1l.c (__j1l): Likewise.
26626         (__y1l): Likewise.
26627         * math/w_jn.c (jn): Likewise.
26628         (yn): Likewise.
26629         * math/w_jnf.c (jnf): Likewise.
26630         (ynf): Likewise.
26631         * math/w_jnl.c (__jnl): Likewise.
26632         (__ynl): Likewise.
26633         * math/libm-test.inc (j0_test): Add more tests.
26634         (j1_test): Likewise.
26635         (jn_test): Likewise.  Add trailing semicolon to existing test.
26636         (y0_test): Likewise.
26637         (y1_test): Likewise.
26638         * sysdeps/i386/fpu/libm-test-ulps: Update.
26639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26641         [BZ #13851]
26642         [BZ #13854]
26643         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
26644         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
26645         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
26646         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
26647         (__tanl): Set errno for infinite argument.
26648         * sysdeps/i386/fpu/mptan.c: Remove.
26649         * sysdeps/i386/fpu/s_tan.S: Likewise.
26650         * sysdeps/i386/fpu/s_tanl.S: Likewise.
26651         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
26652         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
26653         * math/libm-test.inc (tan_test): Add more tests and enable more
26654         tests for double and long double.
26655         * sysdeps/i386/fpu/libm-test-ulps: Update.
26656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26658 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
26660         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
26661         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
26663 2012-03-16  Roland McGrath  <roland@hack.frob.com>
26665         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
26666         * configure.in: Use it for both main tree and add-ons.
26667         * configure: Regenerated.
26669 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
26671         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
26673 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
26675         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
26676         in comment.
26678         [BZ #13851]
26679         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
26680         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
26681         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
26682         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
26683         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
26684         infinite argument.
26685         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
26686         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
26687         != 0 for prec == 2.
26688         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
26689         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
26690         * sysdeps/i386/fpu/s_cosl.S: Likewise.
26691         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
26692         * sysdeps/i386/fpu/s_sinl.S: Likewise.
26693         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
26694         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
26695         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
26696         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
26697         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
26698         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
26699         * math/libm-test.inc (cos_test): Add more tests and enable more
26700         tests for long double.
26701         (sin_test): Likewise.
26702         (sincos_test): Likewise.
26703         * sysdeps/i386/fpu/libm-test-ulps: Update.
26704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26706 2012-03-16  David S. Miller  <davem@davemloft.net>
26708         * sysdeps/sparc/fpu/math_private.h: New file.
26710 2012-03-15  David S. Miller  <davem@davemloft.net>
26712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
26713         file.
26714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
26715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
26716         file.
26717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
26718         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
26719         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
26720         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
26721         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
26722         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
26723         sysdep routines.
26724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26726         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
26727         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
26729         * sysdeps/sparc/sparc-ifunc.h: New file.
26730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
26731         sparc-ifunc.h
26732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
26733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26734         Likewise.
26735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
26736         Likewise.
26737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
26738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
26739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26741         Likewise.
26742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
26744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
26746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
26747         Likewise.
26748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
26749         Likewise.
26750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
26752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
26753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
26754         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26755         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26756         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
26757         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
26758         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26759         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26760         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
26761         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
26762         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
26763         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
26764         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
26765         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
26766         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
26767         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
26768         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
26769         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
26770         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
26771         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
26772         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
26773         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
26775 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
26777         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
26778         scaling.
26779         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26781 2012-03-15  Andreas Jaeger  <aj@suse.de>
26783         [BZ #13852]
26784         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
26785         ieee754/flt-32 implementation for sin, cos and sincos.
26786         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
26787         * sysdeps/i386/fpu/s_cosf.S: Likewise.
26788         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
26789         * sysdeps/i386/fpu/s_sinf.S: Likewise.
26790         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
26791         ieee754/flt-32 implementation for tan.
26793         * math/libm-test.inc (cos_test): Enable some large input tests for
26794         float as well
26795         (sin_test): Likewise.
26796         (sincos_test): Likewise.
26797         (tan_test): Add tests for large input.
26799         * sysdeps/i386/fpu/libm-test-ulps: Update.
26801 2012-03-15  Andreas Jaeger  <aj@suse.de>
26803         [BZ #13658]
26804         * math/libm-test.inc (cos_test): Add more test cases.
26805         (sin_test): Likewise.
26806         (sincos_test): Likewise.
26808 2012-03-15  Andreas Jaeger  <aj@suse.de>
26810         [BZ #13837]
26811         * math/libm-test.inc (cos_test): Add a test case for large input
26812         value.
26813         (sin_test): Likewise.
26814         (sincos_test): Likewise.
26816 2012-03-15  Andreas Jaeger  <aj@suse.de>,
26817         Joseph Myers  <joseph@codesourcery.com>
26819         [BZ #13658]
26820         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
26821         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
26822         * sysdeps/i386/fpu/branred.c: Likewise.
26823         * sysdeps/i386/fpu/dosincos.c: Likewise.
26824         * sysdeps/i386/fpu/mpa.c: Likewise.
26825         * sysdeps/i386/fpu/s_cos.S: Likewise.
26826         * sysdeps/i386/fpu/s_sin.S: Likewise.
26827         * sysdeps/i386/fpu/s_sincos.S: Likewise.
26828         * sysdeps/i386/fpu/sincos32.c: Likewise.
26830         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
26831         Define.
26832         (libc_feupdateenv_53bit): Define.
26833         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
26834         Define.
26835         (libc_feupdateenv_53bit): Define.
26837         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
26838         53 bit (without extend i386 double precision).
26840         * math/libm-test.inc (sincos_test): Add tests for large input.
26841         (sin): Likewise.
26842         (cos): Likewise.
26844         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
26846 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
26848         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26850 2012-03-15  David S. Miller  <davem@davemloft.net>
26852         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
26853         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
26854         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
26855         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
26856         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
26857         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
26858         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
26859         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
26860         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
26861         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
26862         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
26863         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
26864         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
26865         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
26866         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
26867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
26868         file.
26869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
26870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
26871         file.
26872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
26873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
26874         file.
26875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
26876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
26877         file.
26878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
26879         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
26880         fmin/fmax sysdep routines.
26881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26883 2012-03-14  David S. Miller  <davem@davemloft.net>
26885         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
26886         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
26887         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
26888         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
26889         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
26890         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
26891         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
26892         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
26893         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
26894         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
26895         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
26896         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
26897         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
26898         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
26899         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
26900         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
26901         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
26902         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
26903         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
26904         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
26905         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
26906         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
26907         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
26908         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
26909         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
26910         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
26911         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
26912         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
26913         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
26914         routines.
26915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
26916         file.
26917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
26918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
26919         file.
26920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
26921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
26922         file.
26923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
26924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
26925         file.
26926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
26927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
26928         file.
26929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
26930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
26931         file.
26932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
26933         file.
26934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
26935         file.
26936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
26937         file.
26938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
26939         New file.
26940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
26941         file.
26942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
26943         file.
26944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
26945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
26946         file.
26947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
26948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
26949         file.
26950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
26951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
26952         file.
26953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
26954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
26955         VIS3 routines.
26957         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26958         New file.
26960         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26962         * sysdeps/sparc/configure.in: New file.
26963         * sysdeps/sparc/configure: Generate.
26964         * configure.in (libc_cv_sparc_as_vis3): Substitute.
26965         * configure: Regenerate.
26966         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
26967         * config.make.in (have-as-vis3): New.
26968         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
26969         available use -Av9d instead of -Av9a.
26970         * sysdeps/sparc/sparc64/Makefile: Likewise.
26971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
26972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
26973         New file.
26974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
26975         file.
26976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
26977         New file.
26978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
26979         file.
26980         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
26981         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
26982         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
26983         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
26984         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
26986         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
26987         fzeros/fnegs to load 0x80000000 into a float register instead of
26988         using the stack.
26989         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
26991 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
26993         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26994         bits/syscall.h.
26995         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
26996         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
26997         ($(inst_includedir)/bits/syscall.h): Remove rule.
26998         ($(objpfx)bits/syscall.d): Include instead of
26999         $(objpfx)syscall-list.d.
27000         (generated): Change syscall-list.h and syscall-list.d to
27001         bits/syscall.h and bits/syscall.d.
27003 2012-03-14  Roland McGrath  <roland@hack.frob.com>
27005         [BZ #13846]
27006         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
27008 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
27010         [BZ #13841]
27011         * math/s_csqrt.c: Include <float.h>.
27012         (__csqrt): Scale large or subnormal inputs.
27013         * math/s_csqrtf.c: Likewise.
27014         * math/s_csqrtl.c: Likewise.
27015         * math/libm-test.inc (csqrt_test): Add more tests.
27016         * sysdeps/i386/fpu/libm-test-ulps: Update.
27017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27019         [BZ #13840]
27020         * math/libm-test.inc (hypot_test): Add more tests.
27022 2012-03-13  David S. Miller  <davem@davemloft.net>
27024         [BZ #13840]
27025         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
27026         double-precision for the calculation instead of scaling.
27028 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
27030         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
27031         manipulate bits before adding and subtracting TWO52[sx].
27032         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
27033         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27034         Likewise.
27035         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
27037 2012-03-13  David S. Miller  <davem@davemloft.net>
27039         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
27040         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
27041         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
27042         rtld-global-offsets.h
27043         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27045         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
27046         large parameters.
27048         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
27050         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
27051         'err' in the ifdef scope in which it is actually used.
27053         * nss/nss_db/db-init.c: Include string.h
27055 2012-03-12  David S. Miller  <davem@davemloft.net>
27057         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27058         masking out of the most significant byte of random value used.
27059         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27060         Fix coding style in previous change.
27062         * sysdeps/unix/sysv/linux/kernel-features.h
27063         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
27064         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
27065         expression.
27066         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
27067         later.
27069 2012-03-11  David S. Miller  <davem@davemloft.net>
27071         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27072         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
27073         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
27074         for 'resultvar' otherwise things get truncated on 64-bit.
27076         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27077         Fix masking out of the most significant byte of random value used.
27079         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27081 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
27083         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27085 2012-03-09  David S. Miller  <davem@davemloft.net>
27087         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
27088         variables with appropriate CPP guards.
27089         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
27090         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
27091         on resulting framesize and the management of the outregs buffer for pltexit.
27092         Preserve floating point return values across _dl_call_pltexit call.
27093         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
27094         framesize and the management of the outregs buffer for pltexit.
27095         Preserve floating point return values across _dl_call_pltexit
27096         call.
27097         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
27098         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
27099         (print_exit): Fix format string for return register value.
27101 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
27103         * sunrpc/Makefile (others): Add rpcgen.
27104         ($(objpfx)rpcgen): Remove special build rule and dependency on
27105         libc.
27106         * sunrpc/rpcgen.c: New file.
27108 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
27110         [BZ #13673]
27111         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
27112         * stdio-common/bug-vfprintf-nargs.c: Likewise.
27113         * sysdeps/i386/crti.S: Likewise.
27114         * sysdeps/i386/crtn.S: Likewise.
27115         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
27116         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
27117         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
27118         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
27119         * sysdeps/sh/crti.S: Likewise.
27120         * sysdeps/sh/crtn.S: Likewise.
27121         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27123         [BZ #13673]
27124         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
27125         with URL.
27126         * locale/programs/locfile-kw.gperf: Likewise.
27127         * locale/programs/charmap-kw.h: Regenerated.
27128         * locale/programs/locfile-kw.h: Likewise.
27130         [BZ #13673]
27131         * intl/plural.y: Replace FSF snail mail address with URL.
27132         * intl/plural.c: Regenerated.
27134 2012-03-09  Richard Henderson  <rth@twiddle.net>
27136         * include/math_private.h: Remove file.
27137         * math/math_private.h: Move file ...
27138         * sysdeps/generic/math_private.h: ... here.
27140         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
27141         * sysdeps/powerpc/fpu/math_private.h: Likewise.
27142         * sysdeps/x86_64/fpu/math_private.h: Likewise.
27144         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
27145         and <math_private.h>.
27146         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27147         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27148         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27149         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27150         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27151         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
27152         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27153         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27154         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27155         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27156         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27157         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27158         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27159         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27160         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27161         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27162         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27163         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27164         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27165         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27166         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27167         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27168         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27169         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27170         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27171         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27172         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27173         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27174         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27175         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27176         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27177         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27178         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27179         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27180         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27181         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27182         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27183         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27184         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27185         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27186         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
27187         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27188         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27189         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27190         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27191         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27192         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
27193         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27194         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27195         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27196         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27197         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
27198         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27199         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27200         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27201         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27202         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27203         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27204         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27205         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
27206         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27207         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27208         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27209         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27210         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
27211         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27212         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27213         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27214         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
27215         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
27216         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27217         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27218         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27219         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27220         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
27221         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
27222         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
27223         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27224         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
27225         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
27226         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27227         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
27228         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27229         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27230         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27231         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
27232         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
27233         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
27234         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27235         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27236         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27237         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27238         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27239         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27240         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27241         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27242         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27243         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27244         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27245         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27246         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27247         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27248         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27249         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27250         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27251         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27252         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27253         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27254         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27255         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27256         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27257         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27258         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27259         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27260         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
27261         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27262         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27263         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27264         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27265         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27266         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27267         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27268         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27269         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
27270         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27271         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27272         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27273         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
27274         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27275         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
27276         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
27277         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27278         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27279         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
27280         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
27281         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27282         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27283         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27284         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
27285         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27286         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27287         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27288         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27289         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
27290         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
27291         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27292         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27293         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27294         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
27295         * sysdeps/ieee754/k_standard.c: Likewise.
27296         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27297         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27298         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27299         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27300         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27301         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27302         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27303         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27304         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27305         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27306         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27307         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27308         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27309         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27310         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27311         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27312         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27313         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27314         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27315         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
27316         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
27317         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
27318         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27319         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27320         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27321         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
27322         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27323         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27324         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27325         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27326         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27327         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27328         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27329         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27330         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27331         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27332         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27333         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
27334         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
27335         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27336         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27337         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27338         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27339         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27340         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27341         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27342         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27343         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27344         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27345         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27346         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27347         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27348         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27349         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
27350         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27351         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27352         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
27353         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
27354         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27355         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27356         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27357         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27358         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27359         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27360         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27361         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27362         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27363         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27364         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27365         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27366         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27367         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27368         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27369         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27370         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27371         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27372         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
27373         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27374         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27375         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27376         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27377         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27378         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27379         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27380         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
27381         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27382         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27383         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
27384         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27385         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27386         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
27387         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27388         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
27389         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27390         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27391         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27392         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
27393         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
27394         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
27395         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
27396         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27397         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27398         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27399         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27400         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
27401         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27402         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27403         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
27404         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
27405         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27406         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27407         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27408         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27409         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27410         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27411         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27412         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27413         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27414         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27415         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27416         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27417         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27418         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27419         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27420         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27421         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
27422         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27423         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27424         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27425         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27426         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27427         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27428         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27429         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
27430         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27431         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27432         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
27433         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
27434         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27435         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
27436         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
27437         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27438         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
27439         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
27440         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27441         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27442         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27443         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27444         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27445         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
27446         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27447         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27448         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27449         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27450         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
27451         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
27452         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27453         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27454         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27455         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
27456         * sysdeps/ieee754/s_lib_version.c: Likewise.
27457         * sysdeps/ieee754/s_matherr.c: Likewise.
27458         * sysdeps/ieee754/s_signgam.c: Likewise.
27459         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27460         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27461         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
27462         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
27463         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
27464         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27465         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
27466         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
27467         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
27468         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
27469         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27470         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
27471         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27472         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27473         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
27474         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27475         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27476         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27477         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27478         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27479         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27481 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
27483         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
27484         * sunrpc/rpc_main.c: Likewise.
27485         * sunrpc/rpc_svcout.c: Likewise.
27487 2012-03-09  David S. Miller  <davem@davemloft.net>
27489         * include/math_private.h: New file.
27491 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
27493         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
27494         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
27495         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
27496         from <bits/socket_type.h>.
27497         (enum __socket_type): Don't define here.
27498         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
27499         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27500         bits/socket_type.h.
27502         [BZ #13566]
27503         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
27504         checking __USE_GNU.
27506         * Makerules ($(inst_includedir)/%.h): New rule.
27507         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
27508         (install-others): Remove variable setting.
27509         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
27511 2012-03-08  Richard Henderson  <rth@twiddle.net>
27513         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
27514         from macro to inline function; merge with the
27515         !__LIBC_INTERNAL_MATH_INLINES version.
27516         (__ieee754_sqrtf): Likewise.
27518         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
27519         to inline function.
27520         (__rintf, __floor, __floorf): Likewise.
27522         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
27523         macro to inline function.
27524         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
27526         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
27527         not <math/math_private.h>.
27529 2012-03-08  David S. Miller  <davem@davemloft.net>
27531         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
27532         copyright year.
27533         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
27535 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
27537         * resolv/gai_misc.c (handle_requests): Fix struct timespec
27538         normalization.
27539         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
27540         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
27542 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
27544         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
27545         be defined individually, they must be defined as a block.  Define
27546         S for printing a string instead of hidint the different by using a
27547         macro for adding the 'l'.
27548         * stdio-common/tst-fphex-wide.c: Adjust.
27550 2012-03-07  Marek Polacek  <polacek@redhat.com>
27552         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
27554 2012-03-08  Marek Polacek  <polacek@redhat.com>
27556         [BZ #13806]
27557         * stdio-common/Makefile (tests): Add tst-fphex-wide.
27558         * stdio-common/tst-fphex.c: Define a few macros to make the
27559         test reusable.  Use them.
27560         * stdio-common/tst-fphex-wide.c: New file.
27562 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
27564         [BZ #6911]
27565         * manual/macros.texi (gnusystems): New macro.
27566         (nongnusystems): Likewise.
27567         (gnulinuxhurdsystems): Likewise.
27568         (gnuhurdsystems): Likewise..
27569         (gnulinuxsystems): Likewise.
27570         * manual/charset.texi: Use new macros or @theglibc{} to refer to
27571         variants of the GNU system, not "GNU system".
27572         * manual/conf.texi: Likewise.
27573         * manual/errno.texi: Likewise.  Update example of errno macro
27574         expansion.
27575         * manual/filesys.texi: Likewise.
27576         (getumask): Document as specific to GNU/Hurd.
27577         * manual/install.texi: Likewise.  Reword some references to
27578         GNU/Linux.
27579         * manual/intro.texi: Likewise.
27580         * manual/io.texi: Likewise.
27581         (File Name Portability): Detail which constraints are inapplicable
27582         to all GNU systems and which are only inapplicable to GNU/Hurd.
27583         * manual/job.texi: Likewise.
27584         * manual/llio.texi: Likewise.
27585         (O_NOCTTY): Document as present on GNU/Linux.
27586         * manual/maint.texi: Likewise.
27587         * manual/memory.texi: Likewise.
27588         * manual/pattern.texi: Likewise.
27589         * manual/pipe.texi: Likewise.
27590         * manual/process.texi: Likewise.
27591         * manual/resource.texi: Likewise.
27592         (RUSAGE_CHILDREN): Remove statement about specifying a particular
27593         child on GNU/Hurd.
27594         * manual/setjmp.texi: Likewise.
27595         * manual/signal.texi: Likewise.
27596         * manual/startup.texi: Likewise.
27597         * manual/stdio.texi: Likewise.
27598         * manual/terminal.texi: Likewise.
27599         (ONLCR): Document as POSIX.
27600         (OXTABS): Document availability on GNU/Linux as XTABS.
27601         (ONOEOT): Document availability separately from other bits.
27602         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
27603         * manual/time.texi: Likewise.
27604         * manual/users.texi: Likewise.
27605         * INSTALL: Regenerated.
27606         * sysdeps/gnu/errlist.c: Regenerated.
27608         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
27609         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
27610         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
27611         puts.
27612         * configure: Regenerated.
27614 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
27616         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
27617         default includes instead of AC_HEADER_CHECK.
27618         * sysdeps/i386/configure: Regenerated.
27620         [BZ #10716]
27621         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
27622         * math/s_cacoshf.c (__cacoshf): Likewise.
27623         * math/s_cacoshl.c (__cacoshl): Likewise.
27624         * math/s_casinh.c (__casinh): Set signs of result from argument.
27625         * math/s_casinhf.c (__casinhf): Likewise.
27626         * math/s_casinhl.c (__casinhl): Likewise.
27627         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
27628         (casinh_test): Add more tests.
27629         * sysdeps/i386/fpu/libm-test-ulps: Update.
27630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27632 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
27634         * po/zh_TW.po: Update from translation team.
27636         * login/Makefile (distribute): Remove variable.
27637         * catgets/Makefile: Likewise.
27638         * mach/Makefile: Likewise.
27639         * malloc/Makefile: Likewise.
27640         * misc/Makefile: Likewise.
27641         * iconv/Makefile: Likewise.
27642         * nscd/Makefile: Likewise.
27643         * hurd/Makefile: Likewise.
27644         * manual/Makefile: Likewise.
27645         * locale/Makefile: Likewise.
27646         * intl/Makefile: Likewise.
27647         * conform/Makefile: Likewise.
27648         * nss/Makefile: Likewise.
27649         * time/Makefile: Likewise.
27650         * soft-fp/Makefile: Likewise.
27651         * dirent/Makefile: Likewise.
27652         * gmon/Makefile: Likewise.
27653         * po/Makefile: Likewise.
27654         * rt/Makefile: Likewise.
27655         * socket/Makefile: Likewise.
27656         * math/Makefile: Likewise.
27657         * signal/Makefile: Likewise.
27658         * debug/Makefile: Likewise.
27659         * elf/Makefile: Likewise.
27660         * timezone/Makefile: Likewise.
27661         * stdlib/Makefile: Likewise.
27662         * iconvdata/Makefile: Likewise.
27663         * sunrpc/Makefile: Likewise.
27664         * io/Makefile: Likewise.
27665         * argp/Makefile: Likewise.
27666         * inet/Makefile: Likewise.
27667         * hesiod/Makefile: Likewise.
27668         * grp/Makefile: Likewise.
27669         * csu/Makefile: Likewise.
27670         * wctype/Makefile: Likewise.
27671         * crypt/Makefile: Likewise.
27672         * libio/Makefile: Likewise.
27673         * string/Makefile: Likewise.
27674         * nis/Makefile: Likewise.
27675         * resolv/Makefile: Likewise.
27676         * stdio-common/Makefile: Likewise.
27677         * wcsmbs/Makefile: Likewise.
27678         * dlfcn/Makefile: Likewise.
27679         * posix/Makefile: Likewise.
27681         [BZ #6959]
27682         * timezone/Makefile: Don't install timezone files, just the programs
27683         and scripts.
27685 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
27687         * nss/databases.def: Add missing gshadow entry.
27689         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
27691 2012-03-06  Marek Polacek  <polacek@redhat.com>
27693         [BZ #13726]
27694         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
27695         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
27696         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
27697         * stdio-common/tst-long-dbl-fphex.c: New file.
27699 2012-03-06  David S. Miller  <davem@davemloft.net>
27701         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27702         (set_obp_int): New function.
27703         (get_obp_int): New function.
27704         (__get_clockfreq_via_dev_openprom): Likewise.
27705         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
27706         Avoid unused variable warnings on 'val' and use builtin_expect.
27707         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
27708         __builtin_expect.
27709         (INLINE_CLONE_SYSCALL): Likewise.
27711 2012-03-05  David S. Miller  <davem@davemloft.net>
27713         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27715 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
27717         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27719         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
27720         only for |x| >= 40.
27721         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27723 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
27725         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
27726         Replace gettimeofday with __vdso_gettimeofday.
27728         * sysdeps/unix/sysv/linux/x86_64/init-first.c
27729         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
27730         __vdso_clock_gettime and __vdso_getcpu.
27732         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
27733         time with __vdso_time.
27735 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
27737         * manual/lang.texi (size_t): Note types to which size_t may be
27738         equivalent with the GNU C Library, but do not describe when
27739         differences between them are significant.
27741 2012-03-05  Andreas Jaeger  <aj@suse.de>
27743         * sysdeps/i386/fpu/libm-test-ulps: Update.
27745 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
27747         [BZ #3976]
27748         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
27749         (__ieee754_pow): Save and restore rounding mode and use
27750         round-to-nearest for main computations.
27751         * math/libm-test.inc (pow_test_tonearest): New function.
27752         (pow_test_towardzero): Likewise.
27753         (pow_test_downward): Likewise.
27754         (pow_test_upward): Likewise.
27755         (main): Call the new functions.
27756         * sysdeps/i386/fpu/libm-test-ulps: Update.
27757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27759         [BZ #3976]
27760         * math/libm-test.inc (cosh_test_tonearest): New function.
27761         (cosh_test_towardzero): Likewise.
27762         (cosh_test_downward): Likewise.
27763         (cosh_test_upward): Likewise.
27764         (sinh_test_tonearest): Likewise.
27765         (sinh_test_towardzero): Likewise.
27766         (sinh_test_downward): Likewise.
27767         (sinh_test_upward): Likewise.
27768         (main): Call the new functions.
27769         * sysdeps/i386/fpu/libm-test-ulps: Update.
27770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27772 2012-03-05  Tom de Vries  <tom@codesourcery.com>
27774         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
27775         default stack guard is set in last bytes.
27776         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
27778 2012-03-05  Kees Cook  <keescook@chromium.org>
27780         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
27782         [BZ #13656]
27783         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
27784         possibly allocate from heap instead of stack.
27785         * stdio-common/bug-vfprintf-nargs.c: New file.
27786         * stdio-common/Makefile (tests): Add nargs overflow test.
27788 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
27790         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27792 2012-03-03  Marek Polacek  <polacek@redhat.com>
27794         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
27795         * math/math_private.h: Likewise.
27796         * stdlib/tst-strtod.c: Likewise.
27797         * sysdeps/i386/i486/bits/atomic.h: Likewise.
27798         * sysdeps/x86_64/bits/atomic.h: Likewise.
27800 2012-03-02  David S. Miller  <davem@davemloft.net>
27802         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
27803         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
27804         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
27805         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
27806         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
27807         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
27808         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
27809         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
27811 2012-03-02  Roland McGrath  <roland@hack.frob.com>
27813         [BZ #13792]
27814         * manual/examples/README: New file, says the example source files
27815         can be used under GPL>=2.
27816         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
27817         line containing just "*/".
27818         * manual/examples/add.c: Add copyright header (GPL>=2).
27819         * manual/examples/argp-ex1.c: Likewise.
27820         * manual/examples/argp-ex2.c: Likewise.
27821         * manual/examples/argp-ex3.c: Likewise.
27822         * manual/examples/argp-ex4.c: Likewise.
27823         * manual/examples/atexit.c: Likewise.
27824         * manual/examples/db.c: Likewise.
27825         * manual/examples/dir.c: Likewise.
27826         * manual/examples/dir2.c: Likewise.
27827         * manual/examples/execinfo.c: Likewise.
27828         * manual/examples/filecli.c: Likewise.
27829         * manual/examples/filesrv.c: Likewise.
27830         * manual/examples/fmtmsgexpl.c: Likewise.
27831         * manual/examples/genpass.c: Likewise.
27832         * manual/examples/inetcli.c: Likewise.
27833         * manual/examples/inetsrv.c: Likewise.
27834         * manual/examples/isockad.c: Likewise.
27835         * manual/examples/longopt.c: Likewise.
27836         * manual/examples/memopen.c: Likewise.
27837         * manual/examples/memstrm.c: Likewise.
27838         * manual/examples/mkfsock.c: Likewise.
27839         * manual/examples/mkisock.c: Likewise.
27840         * manual/examples/mygetpass.c: Likewise.
27841         * manual/examples/pipe.c: Likewise.
27842         * manual/examples/popen.c: Likewise.
27843         * manual/examples/rprintf.c: Likewise.
27844         * manual/examples/search.c: Likewise.
27845         * manual/examples/select.c: Likewise.
27846         * manual/examples/setjmp.c: Likewise.
27847         * manual/examples/sigh1.c: Likewise.
27848         * manual/examples/sigusr.c: Likewise.
27849         * manual/examples/stpcpy.c: Likewise.
27850         * manual/examples/strdupa.c: Likewise.
27851         * manual/examples/strftim.c: Likewise.
27852         * manual/examples/strncat.c: Likewise.
27853         * manual/examples/subopt.c: Likewise.
27854         * manual/examples/swapcontext.c: Likewise.
27855         * manual/examples/termios.c: Likewise.
27856         * manual/examples/testopt.c: Likewise.
27857         * manual/examples/testpass.c: Likewise.
27858         * manual/examples/timeval_subtract.c: Likewise.
27860         [BZ #13792]
27861         * manual/time.texi (Elapsed Time): Move timeval_subtract example
27862         function to ...
27863         * manual/timeval_subtract.c.texi: ... here, new file.
27865 2012-03-02  David S. Miller  <davem@davemloft.net>
27867         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
27869 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
27871         [BZ #3976]
27872         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
27873         (__sin): Save and restore rounding mode and use round-to-nearest
27874         for all computations.
27875         (__cos): Save and restore rounding mode and use round-to-nearest
27876         for all computations.
27877         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
27878         <fenv.h>.
27879         (tan): Save and restore rounding mode and use round-to-nearest for
27880         all computations.
27881         * math/libm-test.inc (cos_test_tonearest): New function.
27882         (cos_test_towardzero): Likewise.
27883         (cos_test_downward): Likewise.
27884         (cos_test_upward): Likewise.
27885         (sin_test_tonearest): Likewise.
27886         (sin_test_towardzero): Likewise.
27887         (sin_test_downward): Likewise.
27888         (sin_test_upward): Likewise.
27889         (tan_test_tonearest): Likewise.
27890         (tan_test_towardzero): Likewise.
27891         (tan_test_downward): Likewise.
27892         (tan_test_upward): Likewise.
27893         (main): Call the new functions.
27894         * sysdeps/i386/fpu/libm-test-ulps: Update.
27895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27897         [BZ #10135]
27898         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
27899         small n, then large n, before computing and testing k+n.
27900         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
27901         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
27902         Likewise.
27903         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
27904         Likewise.
27905         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
27906         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
27907         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
27908         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
27909         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
27910         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
27911         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
27912         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
27913         * math/libm-test.inc (scalbn_test): Add more tests.
27914         (scalbln_test): Likewise.
27916         * manual/filesys.texi (mode_t): Describe constraints on size and
27917         signedness, not exact equivalence to a particular type.
27918         (ino_t): Likewise.
27919         (ino64_t): Likewise.
27920         (dev_t): Likewise.
27921         (nlink_t): Likewise.
27922         (blkcnt_t): Likewise.
27923         (blkcnt64_t): Likewise.
27924         * manual/llio.texi (off_t): Likewise.
27926         [BZ #3976]
27927         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
27928         (__ieee754_exp): Save and restore rounding mode and use
27929         round-to-nearest for all computations.
27930         * math/libm-test.inc (exp_test_tonearest): New function.
27931         (exp_test_towardzero): Likewise.
27932         (exp_test_downward): Likewise.
27933         (exp_test_upward): Likewise.
27934         (main): Call the new functions.
27935         * sysdeps/i386/fpu/libm-test-ulps: Update.
27936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27938 2012-03-01  Chris Demetriou  <cgd@google.com>
27940         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
27941         have predictable order.
27943 2012-03-01  David S. Miller  <davem@davemloft.net>
27945         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
27947         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
27948         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
27949         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
27950         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
27952         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
27953         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
27954         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
27955         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
27956         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
27957         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
27958         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
27959         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
27960         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
27962         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27964         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
27965         * sysdeps/sparc/fpu/libm-test-ulps: to here.
27966         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
27968         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
27969         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27970         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27971         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
27972         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
27973         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
27974         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
27975         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27976         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27977         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
27978         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
27979         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27980         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27981         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27982         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27983         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27984         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
27985         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
27986         * sysdeps/sparc/elf/configure: Regenerated.
27988 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
27990         * configure.in (AS, LD): Require binutils 2.20 or later.
27991         * configure: Regenerated.
27992         * manual/install.texi (Tools for Compilation): Give binutils 2.20
27993         as required minimum version.
27994         * INSTALL: Regenerated.
27996         [BZ #2541]
27997         [BZ #4108]
27998         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
27999         before squaring exponent.
28000         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
28001         bottom long double and 27 bits of top long double before squaring
28002         exponent.
28003         * math/libm-test.inc (erfc_test): Add more tests.
28004         * sysdeps/i386/fpu/libm-test-ulps: Update.
28005         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28008 2012-03-01  Kai Tietz  <ktietz@redhat.com>
28010         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
28011         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
28012         containing bit-fields.
28013         * soft-fp/extended.h (_FP_UNION_E): Likewise.
28014         * soft-fp/single.h (_FP_UNION_S): Likewise.
28015         * soft-fp/double.h (_FP_UNION_D): Likewise.
28017 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
28019         [BZ #13786]
28020         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
28021         not include ../strcmp.S.
28022         [USE_AS_STRNCASECMP_L]: Likewise.
28023         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
28024         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
28025         * sysdeps/i386/i686/multiarch/strncase_l-c.c
28026         (__strncasecmp_l_ia32): Define as alias to
28027         __strncasecmp_l_nonascii.
28029         [BZ #5794]
28030         * math/libm-test.inc (expm1_test): Add test for bug 5794.
28031         * sysdeps/i386/fpu/libm-test-ulps: Update.
28032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28034         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
28035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28037 2012-02-29  Jeff Law  <law@redhat.com>
28039         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
28040         out of bounds read.
28042 2012-02-29  Marek Polacek  <polacek@redhat.com>
28044         [BZ #13706]
28045         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
28046         * elf/Makefile: Add rules to run tst-unused-dep.out.
28048 2012-02-28  David S. Miller  <davem@davemloft.net>
28050         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
28051         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
28052         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
28053         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
28054         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
28055         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
28057 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
28059         * math/libm-test.inc (llround_test): Move one test from
28060         lround_test.  Use TEST_f_L in moved test.
28061         (lround_test): Move misplaced test to llround_test.  Add testcase
28062         from bug 2561.
28064 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
28066         * sysdeps/x86_64/fpu/e_expf.S: New file.
28067         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
28069 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
28071         [BZ #13637]
28072         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
28073         of remain_len that may cause incomplete multi-byte character and
28074         false match.
28075         * posix/bug-regex33.c: New file.
28076         * posix/Makefile (tests): Add bug-regex33.
28078 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
28080         * manual/macros.texi: New file.
28081         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
28082         * manual/libc.texinfo: Include macros.texi.
28083         * manual/creatute.texi: Likewise.
28084         * manual/install.texi: Likewise.
28085         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
28086         @glibcadj{} in references to the GNU C Library.
28087         * manual/charset.texi: Likewise.
28088         * manual/conf.texi: Likewise.
28089         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
28090         when not using those macros.
28091         * manual/creature.texi: Likewise.
28092         * manual/crypt.texi: Likewise.
28093         * manual/errno.texi: Likewise.
28094         * manual/filesys.texi: Likewise.
28095         * manual/header.texi: Likewise.
28096         * manual/install.texi: Likewise.
28097         * manual/intro.texi: Likewise.
28098         * manual/io.texi: Likewise.
28099         * manual/job.texi: Likewise.
28100         * manual/lang.texi: Likewise.
28101         * manual/libc.texiinfo: Likewise.
28102         * manual/llio.texi: Likewise.
28103         * manual/locale.texi: Likewise.
28104         * manual/maint.texi: Likewise.
28105         * manual/math.texi: Likewise.
28106         * manual/memory.texi: Likewise.
28107         * manual/message.texi: Likewise.
28108         * manual/nss.texi: Likewise.
28109         * manual/pattern.texi: Likewise.
28110         * manual/process.texi: Likewise.
28111         * manual/resource.texi: Likewise.
28112         * manual/search.texi: Likewise.
28113         * manual/setjmp.texi: Likewise.
28114         * manual/signal.texi: Likewise.
28115         * manual/socket.texi: Likewise.
28116         * manual/startup.texi: Likewise.
28117         * manual/stdio.texi: Likewise.
28118         * manual/string.texi: Likewise.
28119         * manual/sysinfo.texi: Likewise.
28120         * manual/syslog.texi: Likewise.
28121         * manual/terminal.texi: Likewise.
28122         * manual/time.texi: Likewise.
28123         * manual/users.texi: Likewise.
28124         * INSTALL: Regenerated.
28125         * NOTES: Regenerated.
28126         * sysdeps/gnu/errlist.c: Regenerated.
28128 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
28130         * include/dirent.h: Include <dirstream.h> before
28131         <dirent/dirent.h>.
28133 2012-02-28  David S. Miller  <davem@davemloft.net>
28135         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
28136         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
28137         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
28138         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
28140 2012-02-27  David S. Miller  <davem@davemloft.net>
28142         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
28143         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
28144         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
28145         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
28147         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
28148         frame pointer instead of stack pointer relative arg slot.
28149         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28150         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28151         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28153 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
28155         [BZ #3992]
28156         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
28158 2012-02-27  David S. Miller  <davem@davemloft.net>
28160         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
28161         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28162         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28163         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
28164         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28165         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28166         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
28167         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
28169 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
28171         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
28172         later.  Allow versions 5-9.
28173         * configure: Regenerated.
28174         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
28175         required minimum version and 4.6 as recommended version.  Do not
28176         mention bugs in GCC 2.7 and 2.8.
28177         * INSTALL: Regenerated.
28179 2012-02-27  David S. Miller  <davem@davemloft.net>
28181         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
28182         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
28183         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
28184         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
28185         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
28186         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
28187         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
28188         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
28190         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
28191         manipulate bits before adding and subtracting TWO112[sx].
28192         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28194 2012-02-27  Roland McGrath  <roland@hack.frob.com>
28196         [BZ #13775]
28197         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
28198         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
28199         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
28200         being in POSIX, because they are in 1003.1-2008.
28202         * rt/tst-aio.c: Include <fcntl.h>.
28203         * rt/tst-aio7.c: Likewise.
28204         * rt/tst-aio64.c: Likewise.
28206         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
28208 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
28210         * manual/install.texi (--with-headers): Describe headers as
28211         interface headers, not private headers.
28212         (Specific advice for GNU/Linux systems): Describe use of headers
28213         from "make headers_install", not private headers from older
28214         kernels.
28215         * INSTALL: Regenerated.
28216         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
28217         Change to 2.6.19.
28218         * sysdeps/unix/sysv/linux/configure: Regenerated.
28220         * manual/llio.texi (fclean): Remove documentation.
28222         * manual/Makefile (libc-texi-generated): New variable.  Include
28223         version.texi.
28224         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
28225         $(libc-texi-generated), not duplicated list of files.
28226         (version.texi, stamp-version): New rules.
28227         (realclean): Remove $(libc-texi-generated), not individual files
28228         from that list.  Do not remove dir-add.texinfo.
28229         * manual/libc.texinfo: Comment out uses of edition numbers and
28230         references to printed manual.  Remove last-updated dates.
28231         (EDITION): Comment out.
28232         (ISBN): Likewise.
28233         (VERSION, UPDATED): Remove.
28234         (version.texi): Include.
28236 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
28238         * sysdeps/posix/spawni.c: Include <signal.h>.
28239         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
28240         * sysdeps/pthread/aio_fsync.c: Likewise.
28242 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
28244         * conform/Makefile (tests): Run only when not cross-compiling and
28245         when fast-check is not defined.
28247         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
28248         * conform/data/limits.h-data: Fixes for POSIX2008.
28249         * conform/run-conformtest.sh: Run all tests.
28250         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
28251         headers.
28252         * include/bits/dlfcn.h: Likewise.
28253         * include/langinfo.h: Likewise.
28254         * include/monetary.h: Likewise.
28255         * include/sys/poll.h: Likewise.
28257         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
28258         for __USE_GNU.
28259         * posix/spawn.h: Define __need_sigset_t.
28260         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
28261         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
28262         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
28263         to get sigevent_t only.
28264         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
28265         only for __USE_GNU.
28266         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28267         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28268         process_vm_writev only for __USE_GNU.
28269         * termios/termios.h: Declare tcgetsid also for POSIX2008.
28271         * conform/Makefile: For now ignore errors from run-conformtest.
28272         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
28273         POSIX to avoid namespace pollution.  Don't prepend headers.
28274         * conform/data/aio.h-data: Fixes for POSIX testing.
28275         * conform/data/fcntl.h-data: Likewise.
28276         * conform/data/glob.h-data: Likewise.
28277         * conform/data/grp.h-data: Likewise.
28278         * conform/data/pthread.h-data: Likewise.
28279         * conform/data/pwd.h-data: Likewise.
28280         * conform/data/signal.h-data: Likewise.
28281         * conform/data/spawn.h-data: Likewise.
28282         * conform/data/stdio.h-data: Likewise.
28283         * conform/data/stdlib.h-data: Likewise.
28284         * conform/data/stropts.h-data: Likewise.
28285         * conform/data/sys/mman.h-data: Likewise.
28286         * conform/data/sys/stat.h-data: Likewise.
28287         * conform/data/sys/types.h-data: Likewise.
28288         * conform/data/sys/wait.h-data: Likewise.
28289         * conform/data/time.h-data: Likewise.
28290         * conform/data/unistd.h-data: Likewise.
28291         * conform/data/utime.h-data: Likewise.
28293         * io/sys/stat.h: fchmod was always in POSIX.
28294         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
28295         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
28296         * rt/aio.h: Define __need_timespec before including <time.h>.
28297         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
28298         struct.  Add forward declaration of pthread_attr_t and use it in
28299         sigevent.
28300         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28301         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28302         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
28303         always remove CLK_TCK definition.
28305 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
28307         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
28309 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
28311         * conform/run-conformtest.sh: New file.
28312         * conform/Makefile: Run run-conformtest for tests.
28313         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
28314         support.
28316         * conform/data/uchar.h-data: New file.
28317         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
28318         * conform/data/arpa/inet.h-data: Likewise.
28319         * conform/data/assert.h-data: Likewise.
28320         * conform/data/complex.h-data: Likewise.
28321         * conform/data/cpio.h-data: Likewise.
28322         * conform/data/ctype.h-data: Likewise.
28323         * conform/data/dirent.h-data: Likewise.
28324         * conform/data/dlfcn.h-data: Likewise.
28325         * conform/data/errno.h-data: Likewise.
28326         * conform/data/fcntl.h-data: Likewise.
28327         * conform/data/float.h-data: Likewise.
28328         * conform/data/fmtmsg.h-data: Likewise.
28329         * conform/data/fnmatch.h-data: Likewise.
28330         * conform/data/ftw.h-data: Likewise.
28331         * conform/data/glob.h-data: Likewise.
28332         * conform/data/grp.h-data: Likewise.
28333         * conform/data/iconv.h-data: Likewise.
28334         * conform/data/inttypes.h-data: Likewise.
28335         * conform/data/langinfo.h-data: Likewise.
28336         * conform/data/libgen.h-data: Likewise.
28337         * conform/data/limits.h-data: Likewise.
28338         * conform/data/locale.h-data: Likewise.
28339         * conform/data/math.h-data: Likewise.
28340         * conform/data/monetary.h-data: Likewise.
28341         * conform/data/mqueue.h-data: Likewise.
28342         * conform/data/ndbm.h-data: Likewise.
28343         * conform/data/net/if.h-data: Likewise.
28344         * conform/data/netdb.h-data: Likewise.
28345         * conform/data/netinet/in.h-data: Likewise.
28346         * conform/data/nl_types.h-data: Likewise.
28347         * conform/data/poll.h-data: Likewise.
28348         * conform/data/pthread.h-data: Likewise.
28349         * conform/data/pwd.h-data: Likewise.
28350         * conform/data/regex.h-data: Likewise.
28351         * conform/data/sched.h-data: Likewise.
28352         * conform/data/search.h-data: Likewise.
28353         * conform/data/semaphore.h-data: Likewise.
28354         * conform/data/setjmp.h-data: Likewise.
28355         * conform/data/signal.h-data: Likewise.
28356         * conform/data/spawn.h-data: Likewise.
28357         * conform/data/stdarg.h-data: Likewise.
28358         * conform/data/stdio.h-data: Likewise.
28359         * conform/data/stdlib.h-data: Likewise.
28360         * conform/data/string.h-data: Likewise.
28361         * conform/data/strings.h-data: Likewise.
28362         * conform/data/stropts.h-data: Likewise.
28363         * conform/data/sys/ipc.h-data: Likewise.
28364         * conform/data/sys/mman.h-data: Likewise.
28365         * conform/data/sys/msg.h-data: Likewise.
28366         * conform/data/sys/resource.h-data: Likewise.
28367         * conform/data/sys/select.h-data: Likewise.
28368         * conform/data/sys/sem.h-data: Likewise.
28369         * conform/data/sys/shm.h-data: Likewise.
28370         * conform/data/sys/socket.h-data: Likewise.
28371         * conform/data/sys/stat.h-data: Likewise.
28372         * conform/data/sys/statvfs.h-data: Likewise.
28373         * conform/data/sys/time.h-data: Likewise.
28374         * conform/data/sys/timeb.h-data: Likewise.
28375         * conform/data/sys/times.h-data: Likewise.
28376         * conform/data/sys/types.h-data: Likewise.
28377         * conform/data/sys/uio.h-data: Likewise.
28378         * conform/data/sys/un.h-data: Likewise.
28379         * conform/data/sys/utsname.h-data: Likewise.
28380         * conform/data/sys/wait.h-data: Likewise.
28381         * conform/data/syslog.h-data: Likewise.
28382         * conform/data/tar.h-data: Likewise.
28383         * conform/data/termios.h-data: Likewise.
28384         * conform/data/utime.h-data: Likewise.
28385         * conform/data/utmpx.h-data: Likewise.
28386         * conform/data/varargs.h-data: Likewise.
28387         * conform/data/wchar.h-data: Likewise.
28388         * conform/data/wctype.h-data: Likewise.
28389         * conform/data/wordexp.h-data: Likewise.
28391         * include/stropts.h: New file.
28392         * include/uchar.h: New file.
28393         * include/aio.h: Changes to allow conformtest.pl to use the headers.
28394         * include/assert.h: Likewise.
28395         * include/ctype.h: Likewise.
28396         * include/dirent.h: Likewise.
28397         * include/dlfcn.h: Likewise.
28398         * include/fcntl.h: Likewise.
28399         * include/fnmatch.h: Likewise.
28400         * include/glob.h: Likewise.
28401         * include/grp.h: Likewise.
28402         * include/libio.h: Likewise.
28403         * include/locale.h: Likewise.
28404         * include/math.h: Likewise.
28405         * include/net/if.h: Likewise.
28406         * include/netdb.h: Likewise.
28407         * include/netinet/in.h: Likewise.
28408         * include/pthread.h: Likewise.
28409         * include/pwd.h: Likewise.
28410         * include/regex.h: Likewise.
28411         * include/sched.h: Likewise.
28412         * include/search.h: Likewise.
28413         * include/setjmp.h: Likewise.
28414         * include/signal.h: Likewise.
28415         * include/stdio.h: Likewise.
28416         * include/stdlib.h: Likewise.
28417         * include/string.h: Likewise.
28418         * include/sys/cdefs.h: Likewise.
28419         * include/sys/mman.h: Likewise.
28420         * include/sys/msg.h: Likewise.
28421         * include/sys/resource.h: Likewise.
28422         * include/sys/select.h: Likewise.
28423         * include/sys/socket.h: Likewise.
28424         * include/sys/stat.h: Likewise.
28425         * include/sys/statvfs.h: Likewise.
28426         * include/sys/time.h: Likewise.
28427         * include/sys/times.h: Likewise.
28428         * include/sys/uio.h: Likewise.
28429         * include/sys/utsname.h: Likewise.
28430         * include/sys/wait.h: Likewise.
28431         * include/termios.h: Likewise.
28432         * include/time.h: Likewise.
28433         * include/ulimit.h: Likewise.
28434         * include/unistd.h: Likewise.
28435         * include/utime.h: Likewise.
28436         * include/wchar.h: Likewise.
28437         * include/wctype.h: Likewise.
28438         * include/wordexp.h: Likewise.
28440         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
28442         * time/time.h: TIME_UTC must be a macro.
28443         Make timespec_get available for ISO C11 only as well.
28445 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
28447         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
28448         Reported by Peng Haitao <penght@cn.fujitsu.com>.
28450 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
28452         * configure.in: Use -o not -a in test for unsupported multi-arch.
28454 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
28456         * manual/texinfo.tex: Update to version 2012-01-19.16.
28458 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
28460         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
28462 2012-02-24  Roland McGrath  <roland@hack.frob.com>
28464         [BZ #13738]
28465         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
28466         * manual/fdl-1.3.texi: New file.
28467         * manual/fdl-1.1.texi: File removed.
28469         [BZ #13738]
28470         * manual/libc.texinfo (FDL_VERSION): New @set.
28471         Use it for mention of FDL in cover text.
28472         (Documentation License): Use it in @include file name.
28474 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
28475             Roland McGrath  <roland@hack.frob.com>
28477         [BZ #5461]
28478         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
28479         not LONG_LONG_MAX and LONG_LONG_MIN.
28480         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
28481         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
28482         name.
28483         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
28485 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
28487         [BZ #2547]
28488         [BZ #11365]
28489         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
28490         manipulate bits before adding and subtracting TWO23[sx].
28491         * math/libm-test.inc (nearbyint_test): Add more tests.
28493 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
28495         [BZ #2548]
28496         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
28497         bits before adding and subtracting TWO23[sx].
28498         * math/libm-test.inc (rint_test): Add more tests.
28499         (rint_test_tonearest): Likewise.
28500         (rint_test_towardzero): Likewise.
28501         (rint_test_downward): Likewise.
28502         (rint_test_upward: Likewise.
28504 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
28506         [BZ #10110]
28507         * include/stdc-predef.h: New file.  Extracted from features.h.
28508         * include/features.h: Include stdc-predef.h.
28509         * Makefile (headers): Add stdc-predef.h.
28510         * CONFORMANCE (Compiler limitations): Update.
28512 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
28514         * manual/libc.texinfo (VERSION, UPDATED): Revert.
28516 2012-02-21  David S. Miller  <davem@davemloft.net>
28518         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
28519         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28521 2012-02-20  David S. Miller  <davem@davemloft.net>
28523         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
28524         using a normal save/restore sequence, rather than allocating a
28525         dummy stack frame just to store a frame pointer and restore.
28526         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28528 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
28530         * manual/install.texi: Fix stray word in line-wrapped comment.
28532 2012-02-20  David S. Miller  <davem@davemloft.net>
28534         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
28535         both binutils and gcc support GOTDATA.
28537         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
28538         "rd %pc" in the PIC register setup sequences.
28540         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
28541         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
28542         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28543         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
28544         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28545         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28546         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28547         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28548         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
28549         (SYSCALL_ERROR_HANDLER): Likewise.
28550         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28551         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28552         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
28553         (SYSCALL_ERROR_HANDLER): Likewise.
28555         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
28556         (HAVE_GCC_GOTDATA): New.
28557         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
28558         relocation support in both binutils and gcc.
28559         * sysdeps/sparc/elf/configure: Regenerate.
28561         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
28562         * sysdeps/sparc/sparc32/elf/configure: Delete.
28563         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
28564         * sysdeps/sparc/sparc64/elf/configure: Delete.
28565         * sysdeps/sparc/elf/configure.in: New file.
28566         * sysdeps/sparc/elf/configure: Generate.
28568         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
28569         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
28570         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28571         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
28572         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
28574 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
28576         * manual/install.texi: Do not mention specific glibc version
28577         numbers.
28578         * manual/libc.texinfo (VERSION, UPDATED): Update.
28579         (@copying): Use @copyright{} and range of years.
28581 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
28583         [BZ #13695]
28584         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
28585         [crti.S not in sysdirs] (generated): Do not append.
28586         [crti.S not in sysdirs] (omit-deps): Likewise.
28587         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
28588         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
28589         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
28590         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
28591         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
28592         Likewise.
28593         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
28594         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
28595         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
28596         * csu/defs.awk: Remove file.
28597         * sysdeps/generic/initfini.c: Likewise.
28598         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
28599         variable.
28600         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
28601         Likewise.
28603 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
28605         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
28606         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
28607         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
28608         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
28609         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28610         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
28611         <bits/epoll.h>.
28612         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
28613         (__EPOLL_PACKED): Define to empty if not defined by
28614         <bits/epoll.h>.
28615         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
28616         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28617         bits/epoll.h.
28619 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
28621         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
28622         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
28623         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
28624         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
28625         <bits/timerfd.h>.
28626         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
28627         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28628         bits/timerfd.h.
28630 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
28632         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
28633         in C locale.
28634         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28635         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28636         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
28637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28639 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
28641         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28642         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28644 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
28646         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
28647         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
28648         defined.
28649         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
28650         Likewise.
28651         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
28652         entry for 2.16.
28654 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
28656         * math/w_acos.c: Use non-signaling floating-point comparisons.
28657         * math/w_acosf.c: Likewise.
28658         * math/w_acosh.c: Likewise.
28659         * math/w_acoshf.c: Likewise.
28660         * math/w_acoshl.c: Likewise.
28661         * math/w_acosl.c: Likewise.
28662         * math/w_asin.c: Likewise.
28663         * math/w_asinf.c: Likewise.
28664         * math/w_asinl.c: Likewise.
28665         * math/w_atanh.c: Likewise.
28666         * math/w_atanhf.c: Likewise.
28667         * math/w_atanhl.c: Likewise.
28668         * math/w_exp2.c: Likewise.
28669         * math/w_exp2f.c: Likewise.
28670         * math/w_exp2l.c: Likewise.
28671         * math/w_j0.c: Likewise.
28672         * math/w_j0f.c: Likewise.
28673         * math/w_j0l.c: Likewise.
28674         * math/w_j1.c: Likewise.
28675         * math/w_j1f.c: Likewise.
28676         * math/w_j1l.c: Likewise.
28677         * math/w_jn.c: Likewise.
28678         * math/w_jnf.c: Likewise.
28679         * math/w_log.c: Likewise.
28680         * math/w_log10.c: Likewise.
28681         * math/w_log10f.c: Likewise.
28682         * math/w_log10l.c: Likewise.
28683         * math/w_log2.c: Likewise.
28684         * math/w_log2f.c: Likewise.
28685         * math/w_log2l.c: Likewise.
28686         * math/w_logf.c: Likewise.
28687         * math/w_logl.c: Likewise.
28688         * math/w_sqrt.c: Likewise.
28689         * math/w_sqrtf.c: Likewise.
28690         * math/w_sqrtl.c: Likewise.
28691         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28692         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
28693         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28694         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28695         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28697 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
28699         [BZ #9739]
28700         * manual/string.texi (strnlen): Use correct parameter name in
28701         equivalent expression.
28703 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
28705         [BZ #11174]
28706         * manual/users.texi (seteuid): Consistently use neweuid for
28707         argument name.
28709 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
28711         [BZ #13704]
28712         * manual/nss.texi (Services in the NSS configuration): Correct
28713         list of services in example configuration file.
28715 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
28717         [BZ #11322]
28718         * manual/arith.texi: Remove statements about negative zero
28719         behaving identically to zero.
28721 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
28723         [BZ #5993]
28724         * manual/install.texi: Do not document upgrading from libc5.
28726 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
28728         [BZ #4596]
28729         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
28731 2012-02-18  David S. Miller  <davem@davemloft.net>
28733         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
28734         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
28735         %o7 across the call.
28736         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
28737         instead.
28738         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
28739         SETUP_PIC_REG_LEAF.
28740         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28741         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
28742         * sysdeps/sparc/crtn.S: Likewise.
28744 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
28746         * aout/Makefile: Remove.
28748 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
28750         [BZ #13058]
28751         * manual/examples/argp-ex1.c (main): Format definition in GNU
28752         style.
28753         * manual/examples/argp-ex2.c (main): Likewise.
28754         * manual/examples/argp-ex3.c (main): Likewise.
28755         * manual/examples/argp-ex4.c (main): Likewise.
28756         * manual/examples/longopt.c (main): Use new-style prototype
28757         definition.
28758         * manual/examples/strncat.c (main): Specify return type and use
28759         (void) for arguments.
28760         * manual/examples/subopt.c (main): Use char **argv argument.
28762 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
28764         [BZ #5077]
28765         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
28766         rounding modes.
28768 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
28770         [BZ #6907]
28771         * manual/string.texi (strchr): Change when strchrnul is
28772         recommended.
28774 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
28776         [BZ #174]
28777         * manual/locale.texi (setlocale): Document LOCPATH.
28779 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
28781         [BZ #10210]
28782         * manual/process.texi (execle): Move @dots{} before last argument.
28784 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
28786         [BZ #12047]
28787         * manual/charset.texi (Generic Charset Conversion): Fix typo
28788         (LC_TYPE -> LC_CTYPE).
28790 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
28792         [BZ #5805]
28793         * manual/arith.texi (scalbn): Use @var{} on parameter names.
28794         (scalbnf): Likewise.
28795         (scalbnl): Likewise.
28796         (scalbln): Likewise.
28797         (scalblnf): Likewise.
28798         (scalblnl): Likewise.
28799         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
28800         (vwarnx): Likewise.
28801         (verr): Likewise.
28802         (verrx): Likewise.
28803         * manual/filesys.texi (telldir): Use braces around return type.
28804         * manual/llio.texi (mmap): Add space after comma.
28805         (mmap64): Likewise.
28806         * manual/math.texi (jn): Use @var{} on parameter names.
28807         (jnf): Likewise.
28808         (jnl): Likewise.
28809         (yn): Likewise.
28810         (ynf): Likewise.
28811         (ynl): Likewise.
28812         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
28813         line.
28814         * manual/resource.texi (ulimit): Use @dots{} instead of literal
28815         "...".
28816         (sched_get_priority_min): Remove semicolon on @deftypefun line.
28817         (sched_get_priority_max): Likewise.
28818         * manual/signal.texi (sigvec): Add space after comma.
28819         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
28820         names.
28821         (if_indextoname): Likewise.
28822         (if_freenameindex): Likewise.
28823         (sendto): Use ',' instead of '.' in prototype.
28824         * manual/startup.texi (syscall): Use @dots{} instead of literal
28825         "...".
28826         * manual/stdio.texi (__fpending): Separate initial words of
28827         paragraph from @deftypefun line.
28828         * manual/syslog.texi (syslog): Use @dots{} instead of literal
28829         "...".
28830         (vsyslog): Use @var{} on parameter names.
28831         * manual/terminal.texi (stty): Use @var{} on parameter names.
28832         * manual/users.texi (getutmp): Use @var{} on parameter names.
28833         (getutmpx): Likewise.
28835 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
28837         [BZ #6884]
28838         * manual/stdio.texi (fopen): Fix typos in description of
28839         ",ccs=STRING".
28841 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
28843         [BZ #4026]
28844         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
28845         get clock_id definition.
28847 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
28849         [BZ #4822]
28850         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
28851         (madvise): Cast every argument to void on its own.
28853 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
28855         [BZ #9902]
28856         * manual/startup.texi (Exit Status): Fix typo.
28858 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
28860         [BZ #10140]
28861         * manual/examples/argp-ex1.c: Include <stdlib.h>.
28862         * manual/examples/argp-ex2.c: Likewise.
28863         * manual/examples/argp-ex3.c: Likewise.
28865 2012-02-16  Richard Henderson  <rth@redhat.com>
28867         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
28868         * sysdeps/s390/s390-32/initfini.c: Remove.
28869         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
28870         * sysdeps/s390/s390-64/initfini.c: Remove.
28872 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28874         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
28875         compiler output for sysdeps/generic/initfini.c.
28876         * sysdeps/sh/elf/initfini.c: Remove file.
28878 2012-02-16  David S. Miller  <davem@davemloft.net>
28880         [BZ #11494]
28881         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
28883         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
28884         * sysdeps/sparc/crti.S: New file.
28885         * sysdeps/sparc/crtn.S: New file.
28886         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
28887         * sysdeps/sparc/sparc64/Makefile: Likewise.
28889 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
28891         [BZ #3335]
28892         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
28894 2012-02-15  Roland McGrath  <roland@hack.frob.com>
28896         [BZ #4822]
28897         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
28899         * mach/devstream.c (cookie_io_functions_t): Macro removed.
28900         (write, read, close): Likewise.
28901         Patch by Aurelien Jarno <aurelien@aurel32.net>.
28903 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
28905         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
28906         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
28907         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
28908         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
28909         <bits/signalfd.h>.
28910         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
28911         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28912         bits/signalfd.h.
28914 2012-02-14  Marek Polacek  <polacek@redhat.com>
28916         * sysdeps/x86_64/crti.S: New file.
28917         * sysdeps/x86_64/crtn.S: New file.
28918         * sysdeps/x86_64/elf/initfini.c: Remove file.
28920 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
28922         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
28923         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
28924         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
28925         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
28926         <bits/inotify.h>.
28927         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
28928         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28929         bits/inotify.h.
28931 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
28933         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
28934         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
28935         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
28936         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
28937         <bits/eventfd.h>.
28938         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
28939         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28940         bits/eventfd.h.
28942 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
28944         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
28945         __feraiseexcept instead of feraiseexcept.
28947         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
28948         nanosleep invocations.
28949         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
28950         strings, and add error checking for a nanosleep invocations.
28952 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
28954         Replace FSF snail mail address with URLs, as per GNU coding standards.
28955         Most of the snail mail addresses were wrong anyway, and omitting
28956         them makes the source code easier to maintain.  Almost all of the
28957         changes are to license notices and to locale LC_IDENTIFICATION
28958         addresses, except for this one:
28959         * manual/libc.texinfo: In "Published by", give the FSF's URL,
28960         not its snail mail address.
28962 2012-02-09  Richard Henderson  <rth@twiddle.net>
28964         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
28965         of kernel-features.h.
28967         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
28969 2012-02-08  Marek Polacek  <polacek@redhat.com>
28971         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
28972         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
28973         * sysdeps/gnu/_G_config.h: Likewise.
28974         * sysdeps/generic/_G_config.h: Likewise.
28976 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
28978         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
28979         tests.
28980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28982         * sysdeps/powerpc/powerpc32/crti.S: New file.
28983         * sysdeps/powerpc/powerpc32/crtn.S: New file.
28984         * sysdeps/powerpc/powerpc64/crti.S: New file.
28985         * sysdeps/powerpc/powerpc64/crtn.S: New file.
28987         * Makeconfig (have-initfini): Don't set.
28988         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
28989         * configure.in (nopic_initfini): Don't substitute.
28990         * config.h.in (HAVE_INITFINI): Don't #undef.
28991         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
28992         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
28994 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
28996         Support crti.S and crtn.S provided directly by architectures.
28997         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
28998         [crti.S in sysdirs] (omit-deps): Likewise.
28999         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
29000         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
29001         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
29002         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
29003         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
29004         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
29005         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
29006         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
29007         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
29008         compiler output for sysdeps/generic/initfini.c.
29009         * sysdeps/i386/elf/Makefile: Remove file.
29010         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
29012 2012-02-07  Marek Polacek  <polacek@redhat.com>
29014         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
29015         * sysdeps/gnu/_G_config.h: Likewise.
29016         * sysdeps/mach/hurd/_G_config.h: Likewise.
29018 2012-02-07  Marek Polacek  <polacek@redhat.com>
29020         * math/Makefile (tests): Add tst-CMPLX2.
29021         * math/tst-CMPLX2.c: New file.
29023 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
29025         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29027         * math/libm-test.inc (jn_test): Add missing L suffix.
29029 2012-02-06  Marek Polacek  <polacek@redhat.com>
29031         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
29032         * sysdeps/i386/fpu/e_powf.S: Likewise.
29033         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29034         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29035         * sysdeps/i386/fpu/e_acosh.S: Likewise.
29036         * sysdeps/i386/fpu/e_pow.S: Likewise.
29037         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29038         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29039         * sysdeps/i386/fpu/s_expm1.S: Likewise.
29040         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29041         * sysdeps/i386/fpu/e_log2.S: Likewise.
29042         * sysdeps/i386/fpu/e_log2l.S: Likewise.
29043         * sysdeps/i386/fpu/e_scalb.S: Likewise.
29044         * sysdeps/i386/fpu/e_powl.S: Likewise.
29045         * sysdeps/i386/fpu/s_log1p.S: Likewise.
29046         * sysdeps/i386/fpu/e_log10f.S: Likewise.
29047         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29048         * sysdeps/i386/fpu/e_logl.S: Likewise.
29049         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29050         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
29051         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29052         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29053         * sysdeps/i386/fpu/e_log2f.S: Likewise.
29054         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29055         * sysdeps/i386/fpu/e_log.S: Likewise.
29056         * sysdeps/i386/fpu/s_cexp.S: Likewise.
29057         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29058         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
29059         * sysdeps/i386/fpu/e_logf.S: Likewise.
29060         * sysdeps/i386/fpu/e_log10l.S: Likewise.
29061         * sysdeps/i386/fpu/e_atanh.S: Likewise.
29062         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
29063         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29064         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29065         * sysdeps/i386/fpu/e_log10.S: Likewise.
29066         * sysdeps/i386/fpu/s_frexp.S: Likewise.
29067         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29068         * sysdeps/i386/fpu/s_asinh.S: Likewise.
29069         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29070         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29071         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29072         * sysdeps/i386/asm-syntax.h: Likewise.
29073         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29074         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29075         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29076         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
29077         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
29078         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29079         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29080         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29081         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29082         * sysdeps/powerpc/sysdep.h: Likewise.
29083         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
29084         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29086 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
29088         [BZ #411]
29089         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
29091 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
29093         * sysdeps/i386/sysdep.h: Include <features.h>.
29094         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
29095         version.
29097 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
29099         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
29100         Define.
29101         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
29102         LOAD_PIC_REG_STR.
29104 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
29106         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
29107         (SETUP_PIC_REG): Use GET_PC_THUNK.
29108         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
29109         macro.
29111 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
29113         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
29114         for non-PIC compilation.
29115         (SETUP_PIC_REG): Add .p2align directive.
29116         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
29117         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
29118         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29119         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29120         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29121         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29122         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
29123         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29124         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29125         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29126         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29127         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29128         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29129         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29130         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29131         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29132         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29133         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29134         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29135         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29136         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29137         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29138         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29139         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29140         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29141         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29142         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29143         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29144         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29145         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29146         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29147         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29148         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29149         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29150         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29151         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29152         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29153         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29154         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29155         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29156         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29158 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
29160         * math/tst-CMPLX.c: Include <stdio.h>.
29162 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
29164         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
29165         float.
29166         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29167         * sysdeps/sparc/bits/mathdef.h: Likewise.
29169 2012-01-31  Marek Polacek  <polacek@redhat.com>
29171         * libio/libio.h: Don't define _PARAMS.
29172         * locale/programs/config.h: Don't define PARAMS.
29173         * stdlib/strtol_l.c: Likewise.
29174         (__strtol_l): Remove PARAMS from the prototype.
29176 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
29178         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
29179         names.  Just use the correct names.  Remove unnecessary wrapper
29180         functions.
29181         * malloc/arena.c: Likewise.
29182         * malloc/hooks.c: Likewise.
29184         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
29185         ARENA_TEST says not to.  Simplify test for creation of a new arena.
29186         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
29188 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
29190         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
29191         into tail calls.
29192         (update_get_addr): New function.
29193         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
29194         GET_ADDR_MODULE parameter.
29196 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
29198         * crypt/cert.c: Remove __STDC__ conditionals.
29199         * crypt/crypt-entry.c: Likewise.
29200         * crypt/crypt_util.c: Likewise.
29201         * libio/filedoalloc.c: Likewise.
29202         * libio/fileops.c: Likewise.
29203         * libio/genops.c: Likewise.
29204         * libio/iofclose.c: Likewise.
29205         * libio/iofdopen.c: Likewise.
29206         * libio/iofopen.c: Likewise.
29207         * libio/iofopen64.c: Likewise.
29208         * libio/iogetdelim.c: Likewise.
29209         * libio/iopopen.c: Likewise.
29210         * libio/obprintf.c: Likewise.
29211         * libio/oldfileops.c: Likewise.
29212         * libio/oldiofclose.c: Likewise.
29213         * libio/oldiofdopen.c: Likewise.
29214         * libio/oldiofopen.c: Likewise.
29215         * libio/oldiopopen.c: Likewise.
29216         * libio/wfiledoalloc.c: Likewise.
29217         * libio/wgenops.c: Likewise.
29218         * locale/programs/xmalloc.c: Likewise.
29219         * misc/syslog.c: Likewise.
29220         * stdio-common/xbug.c: Likewise.
29221         * string/memchr.c: Likewise.
29222         * string/memcmp.c: Likewise.
29223         * string/memrchr.c: Likewise.
29224         * string/rawmemchr.c: Likewise.
29225         * sysdeps/posix/getcwd.c: Likewise.
29226         * time/strftime_l.c: Likewise.
29228 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
29230         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
29231         * config.make.in (config-cflags-sse2avx): Define.
29232         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
29233         Fix typo.
29235 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
29237         * scripts/config.guess: Update from upstream config git repository.
29238         * scripts/config.sub: Likewise.
29240 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
29242         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
29243         (EM_NUM): Update.
29244         (R_TILEPRO_*, R_TILEGX_*): New macros.
29246         * scripts/firstversions.awk: Fix bug in version range handling.
29248         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
29250         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
29252         * include/sys/epoll.h: New file.
29253         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
29254         libc_hidden_def.
29256 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
29258         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
29259         Avoid unnecessary __WORDSIZE == 64 test.
29260         (fmaxf): Use VEX format if possible.
29261         (fmax): Likewise.
29262         (fminf): Likewise.
29263         (fmin): Likewise.
29265         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
29266         * math/math_private.h: Remove libc_fegetround* and
29267         libc_fesetround*.
29268         * sysdeps/i386/configure.in: Check for -msse2avx.
29269         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
29270         also if SSE2AVX is defined.
29271         Remove libc_fegetround* and libc_fesetround*.
29272         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
29273         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
29274         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
29275         of HAS_YMM_USABLE.
29276         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29277         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29278         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29279         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29280         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29282         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
29284 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29286         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
29287         size is not set.
29288         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
29290 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
29292         [BZ #13618]
29293         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
29294         relocation.
29295         * Makeconfig (libm): Define.
29296         * elf/Makefile: Add rules to build and run tst-relsort1.
29297         * elf/tst-relsort1.c: New file.
29298         * elf/tst-relsort1mod1.c: New file.
29299         * elf/tst-relsort1mod2.c: New file.
29301 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
29303         * math/s_ldexp.c: Remove __STDC__ conditionals.
29304         * math/s_ldexpf.c: Likewise.
29305         * math/s_ldexpl.c: Likewise.
29306         * math/s_nextafter.c: Likewise.
29307         * math/s_nexttowardf.c: Likewise.
29308         * math/s_significand.c: Likewise.
29309         * math/s_significandf.c: Likewise.
29310         * math/s_significandl.c: Likewise.
29311         * math/w_jnl.c: Likewise.
29312         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29313         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29314         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29315         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29316         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29317         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29318         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
29319         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29320         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29321         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29322         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29323         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29324         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29325         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29326         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29327         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29328         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29329         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29330         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29331         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29332         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29333         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29334         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29335         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29336         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29337         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29338         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29339         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29340         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29341         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29342         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29343         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29344         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29345         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29346         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29347         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29348         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29349         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29350         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29351         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29352         * sysdeps/ieee754/k_standard.c: Likewise.
29353         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29354         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29355         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29356         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29357         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29358         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29359         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29360         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29361         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29362         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29363         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29364         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29365         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29366         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29367         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29368         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29369         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29370         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29371         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29372         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29373         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29374         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29375         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29376         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29377         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29378         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29379         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29380         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29381         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29382         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29383         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29384         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
29385         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29386         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29387         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29388         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29389         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
29390         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29391         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29392         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
29393         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
29394         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29395         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
29396         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
29397         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29398         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
29399         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
29400         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29401         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29402         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
29403         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
29404         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29405         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29406         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29407         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29408         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29409         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
29410         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29411         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29412         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29413         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29414         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29415         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29416         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29417         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29418         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29419         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29420         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29421         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29422         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29423         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29424         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29425         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29426         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29427         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29428         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29429         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29430         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29431         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29432         * sysdeps/ieee754/s_matherr.c: Likewise.
29433         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29434         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29435         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29436         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29438 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
29440         * crypt/md5.h: Remove __STDC__ conditionals.
29441         * libio/libioP.h: Likewise.
29442         * locale/programs/config.h: Likewise.
29443         * sysdeps/generic/sysdep.h: Likewise.
29444         * sysdeps/i386/asm-syntax.h: Likewise.
29445         * sysdeps/s390/asm-syntax.h: Likewise.
29446         * sysdeps/unix/sysdep.h: Likewise.
29447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29450 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
29452         * libio/libio.h: Remove __STDC__ conditionals.
29453         * malloc/obstack.h: Likewise.
29454         * math/complex.h: Likewise.
29455         * math/math.h: Likewise.
29456         * sysdeps/generic/_G_config.h: Likewise.
29457         * sysdeps/gnu/_G_config.h: Likewise.
29458         * sysdeps/mach/hurd/_G_config.h: Likewise.
29459         * sysdeps/powerpc/bits/mathdef.h: Likewise.
29460         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29461         * sysdeps/sparc/bits/mathdef.h: Likewise.
29463 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
29465         [BZ #13583]
29466         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
29467         Clean up HAS_* macros.
29468         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
29469         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
29470         possible.
29471         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
29472         HAS_AVX.
29473         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29474         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29475         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29476         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29477         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29479 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
29481         * elf/tst-unique3.cc (gets): Remove declaration.
29482         * elf/tst-unique3lib.cc (gets): Likewise.
29483         * elf/tst-unique3lib2.cc (gets): Likewise.
29484         * elf/tst-unique4.cc (gets): Likewise.
29486 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
29488         * include/stdio.h: Add C++ protection.  Add gets declarations and
29489         definitions.
29490         * debug/tst-chk1.c: Don't declare gets here.
29491         * stdio-common/tst-gets.c: Likewise.
29493 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
29495         * posix/glob: Remove directory.
29497 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
29499         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
29501 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
29503         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
29504         of the non-standard EPFNOSUPPORT.
29506 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29508         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
29509         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
29510         ANYWHERE set to 1 only on KERN_NO_SPACE error.
29512 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
29514         * wcsmbs/uchar.h: Test __STDC_VERSION__.
29516 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
29518         * nscd/aicache.c (addhstaiX): Do not cache negative results of
29519         transient errors.
29520         * nscd/grpcache.c (cache_addgr): Likewise.
29521         * nscd/hstcache.c (cache_addhst): Likewise.
29522         * nscd/initgrcache.c (addinitgroupsX): Likewise.
29523         * nscd/pwdcache.c (cache_addpw): Likewise.
29524         * nscd/servicescache.c (cache_addserv): Likewise.
29526 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
29528         * malloc/malloc.c: Various cleanups.
29529         * malloc/hooks.c: Likewise.
29531         * stdlib/Makefile (tests): Add bug-fmtmsg1.
29532         * stdlib/bug-fmtmsg1.c: New file.
29534         * stdlib/fmtmsg.c (init): Add missing unlock.
29535         Patch by Peng Haitao <penght@cn.fujitsu.com>.
29537 2012-01-12  Marek Polacek  <polacek@redhat.com>
29539         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
29540         and _GNU_SOURCE.
29542 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
29544         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
29545         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
29546         macro to ensure uniqueness of label name.
29547         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29548         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29550 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
29552         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
29554         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
29555         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29556         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29557         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
29559 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
29561         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
29563         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
29564         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29565         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29567         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
29569         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
29570         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29571         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29572         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
29574         * math/bits/math-finite.h: Add ldexp support.
29576 2012-01-10  Marek Polacek  <polacek@redhat.com>
29578         * locale/programs/localedef.h (show_archive_content): Add noreturn
29579         attribute.
29581 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
29583         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
29585 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
29587         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
29589         * io/Makefile (headers): Add bits/poll2.h.
29591 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
29593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
29594         typo #include statement.
29596 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
29598         * include/sys/cdefs.h: Define __attribute_alloc_size.
29599         * catgets/gencat.c: Add alloc_size attribute and apply consistently
29600         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
29601         * elf/pldd.c: Likewise.
29602         * iconv/iconv_charmap.c: Likewise.
29603         * iconv/iconvconfig.c: Likewise.
29604         * iconv/strtab.c: Likewise.
29605         * locale/programs/locale.c: Likewise.
29606         * locale/programs/localedef.h: Likewise.
29607         * locale/programs/simple-hash.c: Likewise.
29608         * nscd/nscd.h: Likewise.
29609         * nss/makedb.c: Likewise.
29610         * sysdeps/generic/ldconfig.h: Likewise.
29611         * locale/programs/localedef.c: Remove xmalloc prototype.
29612         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
29614 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
29616         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
29617         appropriate.
29619 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
29621         * math/Makefile (tests): Add tst-CMPLX.
29622         * math/tst-CMPLX.c: New file.
29624         * math/complex.h (CMPLXL): Fix typo.
29626         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
29627         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
29628         GLIBC_2.16.
29629         * debug/tst-chk1.c: Add poll and ppoll tests.
29630         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
29631         * include/sys/poll.h: Add hidden proto for ppoll.
29632         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
29633         * sysdeps/mach/hurd/ppoll.c: Likewise.
29634         * io/ppoll.c: Likewise.
29635         * debug/poll_chk.c: New file.
29636         * debug/ppoll_chk.c: New file.
29637         * include/bits/poll2.h: New file.
29638         * io/bits/poll2.h: New file.
29640         [BZ #1350]
29641         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
29643         * configure.in: static is always set to yes.  Remove.
29644         * config.make.in: Don't set build-static.
29645         * Makeconfig: Remove use of build-static.
29646         * dlfcn/Makefile: Likewise.
29647         * elf/Makefile: Likewise.
29648         * math/Makefile: Likewise.
29649         * misc/Makefile: Likewise.
29650         * nptl/Makefile: Likewise.
29651         * sysdeps/mach/hurd/Makefile: Likewise.
29653         * configure.in: PWD_P is not used anymore.
29654         * config.make.in: Remove PWD_P entry.
29656         * configure.in: Remove last remnants of RANLIB.
29657         No need to check for signed size_t anymore.
29658         Don't set libc_commonpagesize and libc_relro_required here for Alpha
29659         and IA-64.
29660         Remove __builtin_expect test because we require at least gcc 3.4.
29661         * aclocal.m4: Likewise.
29663         * wcsmbs/mbrtoc16.c: Implement using towc function.
29664         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
29665         * wcsmbs/wcsmbsload.c: Likewise.
29666         * iconv/gconv_simple.c: Likewise.
29667         * iconv/gconv_int.h: Likewise.
29668         * iconv/gconv_builtin.h: Likewise.
29669         * iconv/iconv_prog.c: Remove CHAR16 handling.
29671         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
29673         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
29675         * configure.in: Remove --with-elf and --enable-bounded options.
29676         Dont set base_machine for ia64.  More non-ELF conditions removed.
29677         Remove testing and setting of leading underscore information.
29678         * config.make.in (build-bounded): Set to no.
29679         * config.h.in: Remove NO_UNDERSCORES entry.
29680         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
29681         them.
29682         * csu/start.c: Remove !NO_UNDERSCORE code.
29683         * locale/localeinfo.h: Likewise.
29684         * sysdeps/generic/machine-gmon.h: Likewise.
29685         * sysdeps/generic/sysdep.h: Likewise.
29686         * sysdeps/i386/sysdep.h: Likewise.
29687         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
29688         * sysdeps/mach/sysdep.h: Likewise.
29689         * sysdeps/s390/s390-32/sysdep.h: Likewise.
29690         * sysdeps/s390/s390-64/sysdep.h: Likewise.
29691         * sysdeps/sh/sysdep.h: Likewise.
29692         * sysdeps/sparc/sparc32/alloca.S: Likewise.
29693         * sysdeps/unix/i386/sysdep.S: Likewise.
29694         * sysdeps/unix/sparc/start.c: Likewise.
29695         * sysdeps/unix/sparc/sysdep.S: Likewise.
29696         * sysdeps/unix/sparc/sysdep.h: Likewise.
29697         * sysdeps/unix/start.c: Likewise.
29698         * sysdeps/unix/x86_64/sysdep.S: Likewise.
29699         * sysdeps/x86_64/sysdep.h: Likewise.
29701 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
29703         [BZ #13553]
29704         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
29705         for non-gcc.
29706         * argp/argp-fmtstream.h: Use const instead __const.
29707         * argp/argp.h: Likewise.
29708         * assert/assert.h: Likewise.
29709         * bits/fenv.h: Likewise.
29710         * bits/sched.h: Likewise.
29711         * bits/sigset.h: Likewise.
29712         * bits/sigthread.h: Likewise.
29713         * catgets/nl_types.h: Likewise.
29714         * conform/data/pthread.h-data: Likewise.
29715         * crypt/crypt-private.h: Likewise.
29716         * crypt/crypt.h: Likewise.
29717         * crypt/crypt_util.c: Likewise.
29718         * ctype/ctype.h: Likewise.
29719         * debug/execinfo.h: Likewise.
29720         * debug/mbsnrtowcs_chk.c: Likewise.
29721         * debug/mbsrtowcs_chk.c: Likewise.
29722         * debug/wcsnrtombs_chk.c: Likewise.
29723         * debug/wcsrtombs_chk.c: Likewise.
29724         * debug/wcstombs_chk.c: Likewise.
29725         * dirent/dirent.h: Likewise.
29726         * dlfcn/dlfcn.h: Likewise.
29727         * elf/neededtest4.c: Likewise.
29728         * grp/grp.h: Likewise.
29729         * gshadow/gshadow.h: Likewise.
29730         * iconv/gconv.h: Likewise.
29731         * iconv/gconv_int.h: Likewise.
29732         * iconv/gconv_simple.c: Likewise.
29733         * iconv/iconv.h: Likewise.
29734         * iconv/loop.c: Likewise.
29735         * iconv/skeleton.c: Likewise.
29736         * include/aio.h: Likewise.
29737         * include/aliases.h: Likewise.
29738         * include/argz.h: Likewise.
29739         * include/arpa/inet.h: Likewise.
29740         * include/assert.h: Likewise.
29741         * include/dirent.h: Likewise.
29742         * include/dlfcn.h: Likewise.
29743         * include/execinfo.h: Likewise.
29744         * include/fcntl.h: Likewise.
29745         * include/fenv.h: Likewise.
29746         * include/glob.h: Likewise.
29747         * include/grp.h: Likewise.
29748         * include/libintl.h: Likewise.
29749         * include/mntent.h: Likewise.
29750         * include/netdb.h: Likewise.
29751         * include/pwd.h: Likewise.
29752         * include/rpc/netdb.h: Likewise.
29753         * include/sched.h: Likewise.
29754         * include/search.h: Likewise.
29755         * include/shadow.h: Likewise.
29756         * include/signal.h: Likewise.
29757         * include/stdio.h: Likewise.
29758         * include/stdlib.h: Likewise.
29759         * include/string.h: Likewise.
29760         * include/sys/socket.h: Likewise.
29761         * include/sys/stat.h: Likewise.
29762         * include/sys/statfs.h: Likewise.
29763         * include/sys/statvfs.h: Likewise.
29764         * include/sys/syslog.h: Likewise.
29765         * include/sys/time.h: Likewise.
29766         * include/sys/uio.h: Likewise.
29767         * include/time.h: Likewise.
29768         * include/unistd.h: Likewise.
29769         * include/utmp.h: Likewise.
29770         * include/wchar.h: Likewise.
29771         * include/wctype.h: Likewise.
29772         * inet/aliases.h: Likewise.
29773         * inet/arpa/inet.h: Likewise.
29774         * inet/netinet/ether.h: Likewise.
29775         * inet/netinet/in.h: Likewise.
29776         * intl/libintl.h: Likewise.
29777         * io/bits/fcntl2.h: Likewise.
29778         * io/fcntl.h: Likewise.
29779         * io/ftw.h: Likewise.
29780         * io/sys/poll.h: Likewise.
29781         * io/sys/stat.h: Likewise.
29782         * io/sys/statfs.h: Likewise.
29783         * io/sys/statvfs.h: Likewise.
29784         * io/utime.h: Likewise.
29785         * libio/bits/stdio.h: Likewise.
29786         * libio/bits/stdio2.h: Likewise.
29787         * libio/libio.h: Likewise.
29788         * libio/libioP.h: Likewise.
29789         * libio/stdio.h: Likewise.
29790         * locale/lc-ctype.c: Likewise.
29791         * locale/locale.h: Likewise.
29792         * login/utmp.h: Likewise.
29793         * malloc/arena.c: Likewise.
29794         * malloc/malloc.c: Likewise.
29795         * malloc/malloc.h: Likewise.
29796         * malloc/mcheck.c: Likewise.
29797         * malloc/mtrace.c: Likewise.
29798         * math/bits/mathcalls.h: Likewise.
29799         * math/fenv.h: Likewise.
29800         * math/math_private.h: Likewise.
29801         * misc/bits/error.h: Likewise.
29802         * misc/bits/syslog.h: Likewise.
29803         * misc/err.h: Likewise.
29804         * misc/error.h: Likewise.
29805         * misc/fstab.h: Likewise.
29806         * misc/mntent.h: Likewise.
29807         * misc/regexp.h: Likewise.
29808         * misc/search.h: Likewise.
29809         * misc/sgtty.h: Likewise.
29810         * misc/sys/mman.h: Likewise.
29811         * misc/sys/syslog.h: Likewise.
29812         * misc/sys/uio.h: Likewise.
29813         * misc/sys/xattr.h: Likewise.
29814         * misc/ttyent.h: Likewise.
29815         * nis/rpcsvc/ypclnt.h: Likewise.
29816         * nss/nss.h: Likewise.
29817         * posix/bits/unistd.h: Likewise.
29818         * posix/fnmatch.h: Likewise.
29819         * posix/glob.h: Likewise.
29820         * posix/sched.h: Likewise.
29821         * posix/spawn.h: Likewise.
29822         * posix/sys/wait.h: Likewise.
29823         * posix/unistd.h: Likewise.
29824         * posix/wordexp.h: Likewise.
29825         * pwd/pwd.h: Likewise.
29826         * resolv/netdb.h: Likewise.
29827         * resource/sys/resource.h: Likewise.
29828         * rt/aio.h: Likewise.
29829         * rt/bits/mqueue2.h: Likewise.
29830         * rt/mqueue.h: Likewise.
29831         * shadow/shadow.h: Likewise.
29832         * signal/signal.h: Likewise.
29833         * socket/send.c: Likewise.
29834         * socket/sendto.c: Likewise.
29835         * socket/sys/socket.h: Likewise.
29836         * stdio-common/printf.h: Likewise.
29837         * stdlib/bits/stdlib.h: Likewise.
29838         * stdlib/fmtmsg.h: Likewise.
29839         * stdlib/monetary.h: Likewise.
29840         * stdlib/stdlib.h: Likewise.
29841         * stdlib/ucontext.h: Likewise.
29842         * streams/stropts.h: Likewise.
29843         * string/argz.h: Likewise.
29844         * string/bits/string2.h: Likewise.
29845         * string/string.h: Likewise.
29846         * string/strings.h: Likewise.
29847         * sunrpc/rpc/auth.h: Likewise.
29848         * sunrpc/rpc/auth_des.h: Likewise.
29849         * sunrpc/rpc/clnt.h: Likewise.
29850         * sunrpc/rpc/netdb.h: Likewise.
29851         * sunrpc/rpc/pmap_clnt.h: Likewise.
29852         * sunrpc/rpc/xdr.h: Likewise.
29853         * sysdeps/generic/inttypes.h: Likewise.
29854         * sysdeps/generic/net/if.h: Likewise.
29855         * sysdeps/generic/sys/swap.h: Likewise.
29856         * sysdeps/gnu/net/if.h: Likewise.
29857         * sysdeps/gnu/utmpx.h: Likewise.
29858         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
29859         * sysdeps/i386/i486/bits/string.h: Likewise.
29860         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
29861         * sysdeps/s390/bits/string.h: Likewise.
29862         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
29863         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
29864         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
29865         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
29866         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
29867         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
29868         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
29869         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
29870         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
29871         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
29872         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
29873         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
29874         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
29875         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
29876         * sysdeps/unix/sysv/linux/readv.c: Likewise.
29877         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
29878         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
29879         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29880         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
29881         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
29882         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29883         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
29884         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
29885         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
29886         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
29887         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
29888         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
29889         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29890         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
29891         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
29892         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
29893         * sysvipc/sys/ipc.h: Likewise.
29894         * sysvipc/sys/msg.h: Likewise.
29895         * sysvipc/sys/sem.h: Likewise.
29896         * sysvipc/sys/shm.h: Likewise.
29897         * termios/termios.h: Likewise.
29898         * time/sys/time.h: Likewise.
29899         * time/time.h: Likewise.
29900         * wcsmbs/bits/wchar2.h: Likewise.
29901         * wcsmbs/uchar.h: Likewise.
29902         * wcsmbs/wchar.h: Likewise.
29903         * wctype/wctype.h: Likewise.
29905         [BZ #13551]
29906         * Makeconfig: Remove all but ELF support including AIX support.
29907         * Makerules: Likewise.
29908         * config.h.in: Likewise.
29909         * config.make.in: Likewise.
29910         * configure: Likewise.
29911         * configure.in: Likewise.
29912         * csu/Makefile: Likewise.
29913         * csu/version.c: Likewise.
29914         * debug/Makefile: Likewise.
29915         * dlfcn/Makefile: Likewise.
29916         * elf/Makefile: Likewise.
29917         * extra-lib.mk: Likewise.
29918         * iconv/Makefile: Likewise.
29919         * include/libc-symbols.h: Likewise.
29920         * include/shlib-compat.h: Likewise.
29921         * resolv/Makefile: Likewise.
29922         * resolv/res_libc.c: Likewise.
29923         * rt/Makefile: Likewise.
29924         * sysdeps/i386/asm-syntax.h: Likewise.
29925         * sysdeps/i386/sysdep.h: Likewise.
29926         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
29927         * sysdeps/mach/sysdep.h: Likewise.
29928         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
29929         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
29930         * sysdeps/s390/asm-syntax.h: Likewise.
29931         * sysdeps/s390/s390-32/sysdep.h: Likewise.
29932         * sysdeps/s390/s390-64/sysdep.h: Likewise.
29933         * sysdeps/sh/sysdep.h: Likewise.
29934         * sysdeps/unix/sparc/sysdep.h: Likewise.
29935         * sysdeps/wordsize-32/divdi3.c: Likewise.
29936         * sysdeps/x86_64/sysdep.h: Likewise.
29938         * argp/Versions: Remove _argp_unlock_xxx.
29940         [BZ #13559]
29941         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
29942         * abilist/libBrokenLocale.abilist: Likewise.
29943         * abilist/libanl.abilist: Likewise.
29944         * abilist/libc.abilist: Likewise.
29945         * abilist/libcrypt.abilist: Likewise.
29946         * abilist/libdl.abilist: Likewise.
29947         * abilist/libm.abilist: Likewise.
29948         * abilist/libnsl.abilist: Likewise.
29949         * abilist/libpthread.abilist: Likewise.
29950         * abilist/libresolv.abilist: Likewise.
29951         * abilist/librt.abilist: Likewise.
29952         * abilist/libthread_db.abilist: Likewise.
29953         * abilist/libutil.abilist: Likewise.
29954         * abilist/libnss_db.abilist: New file.
29956         * scripts/abilist.awk: Add support for indirect functions.
29958         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
29960         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
29962         * shlib-versions: Remove entries for ports architectures.
29964         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
29965         files in ports.
29966         * elf/stackguard-macros.h: Remove support for IA-64.
29967         * elf/tst-auditmod1.c: Likewise.
29968         * sysdeps/generic/ldsodefs.h: Likewise.
29970         * sysdeps/unix/sysv/linux/configure.in: Ports should define
29971         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
29972         configure files.
29974         [BZ #13552]
29975         * configure.in: Remove --enable-omitfp support.
29976         * FAQ.in: Adjust.
29977         * config.make.in: Likewise.
29978         * Makeconfig: Likewise.
29979         * manual/install.texi: Likewise.
29981         In case anyone cares, the IA-64 architecture could move to ports.
29982         * sysdeps/ia64/*: Removed.
29983         * sysdeps/unix/sysv/linux/ia64/*: Removed.
29984         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
29986         [BZ #13555]
29987         * configure.in: Remove entries for unsupported architectures.
29989         [BZ #13533]
29990         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
29991         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
29992         routines.
29993         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
29994         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
29995         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
29996         fall back to using wcrtomb.
29997         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
29998         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
29999         renaming.
30000         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
30001         * wcsmbs/tst-c16c32-1.c: New file.
30003         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
30004         local variable.
30006         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
30008         * elf/tst-unique3.cc: Add explicit declaration of gets.
30009         * elf/tst-unique3lib.cc: Likewise.
30010         * elf/tst-unique3lib2.cc: Likewise.
30011         * elf/tst-unique4.cc: Likewise.
30013         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
30015 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
30017         [BZ #13566]
30018         * assert/assert.h (static_assert): Don't define for C++.
30019         * libio/stdio.h (gets): Do declare for C++ <= C++11.
30020         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
30022 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
30024         * iconv/loop.c (single loop): Fix assertion in storing of
30025         remaining bytes.
30027         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
30029 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
30031         * posix/getconf.c: Update copyright year.
30032         * nss/getent.c: Likewise.
30033         * nss/makedb.c: Likewise.
30034         * iconv/iconvconfig.c: Likewise.
30035         * iconv/iconv_prog.c: Likewise.
30036         * elf/ldconfig.c: Likewise.
30037         * elf/pldd.c: Likewise.
30038         * elf/sotruss.ksh: Likewise.
30039         * catgets/gencat.c: Likewise.
30040         * csu/version.c: Likewise.
30041         * elf/ldd.bash.in: Likewise.
30042         * elf/sprof.c (print_version): Likewise.
30043         * locale/programs/locale.c: Likewise.
30044         * locale/programs/localedef.c: Likewise.
30045         * login/programs/pt_chown.c: Likewise.
30046         * nscd/nscd.c (print_version): Likewise.
30047         * debug/xtrace.sh: Likewise.
30048         * malloc/memusage.sh: Likewise.
30049         * malloc/mtrace.pl: Likewise.
30050         * debug/catchsegv.sh: Likewise.
30052 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
30054         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
30055         pure attribute.
30057 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
30059         [BZ #13533]
30060         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
30061         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
30062         transformations.
30063         * iconv/gconv_int.h: Likewise.
30064         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
30065         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
30066         from libc for GLIBC_2.16.
30067         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
30068         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
30069         * wcsmbs/uchar.h: Really define mbstate_t.
30070         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
30071         * wcsmbs/c16rtomb.c: New file.
30072         * wcsmbs/mbrtoc16.c: New file.
30073         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
30074         for C/POSIX locale.
30075         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
30076         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
30078         * wcsmbs/wchar.h: Add missing __restrict.
30080 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
30082         [BZ #13532]
30083         * time/Makefile (routines): Add timespec_get.
30084         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
30085         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
30086         timespec for ISO C11.
30087         * time/timespec_get.c: New file.
30088         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
30089         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
30091         [BZ #13531]
30092         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
30093         * stdlib/stdlib.h: Declare aligned_alloc.
30094         * Versions.def: Add GLIBC_2.16 for libc.
30095         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
30097         [BZ 13527]
30098         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
30099         ISO C11.
30101         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
30102         code.
30104         [BZ #13528]
30105         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
30107         [BZ #13529]
30108         * assert/assert.h (static_assert): Define.
30110         * version.h: Update for 2.16 development version.
30112         [BZ #13526]
30113         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
30114         _ISOC11_SOURCE.
30116         * version.h (RELEASE): Bump for 2.15 release.
30117         * include/features.h (__GLIBC_MINOR__): Bump to 15.
30119         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
30120         Patch by Marek Polacek <mpolacek@redhat.com>.
30122         * bits/byteswap.h: Protect long long constants with __extension__.
30123         * sysdeps/i386/bits/byteswap.h: Likewise.
30124         * sysdeps/ia64/bits/byteswap.h: Likewise.
30125         * sysdeps/s390/bits/byteswap.h: Likewise.
30126         * sysdeps/x86_64/bits/byteswap.h: Likewise.
30128 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30130         [BZ #13540]
30131         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
30132         destination buffer.
30133         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
30135 2011-12-23  Marek Polacek  <polacek@redhat.com>
30137         * elf/dl-addr.c (determine_info): Add inline keyword.
30138         * elf/tst-auditmod4b.c (check_avx): Likewise.
30139         * elf/tst-auditmod6b.c (check_avx): Likewise.
30140         * elf/tst-auditmod6c.c (check_avx): Likewise.
30141         * elf/tst-auditmod7b.c (check_avx): Likewise.
30143 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
30145         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
30146         !__SSE_MATH__.
30148 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30150         [BZ #13540]
30151         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
30152         processing for last bytes.
30154 2011-08-06  Bruno Haible  <bruno@clisp.org>
30156         [BZ #13061]
30157         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
30158         U+0385, not to U+1FEE.
30160         [BZ #13062]
30161         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
30162         entry for U+00A5 U+0301.
30164 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
30166         [BZ #13166]
30167         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
30168         buffer for the output is too small.
30170         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
30171         optimization.
30173         [BZ #13185]
30174         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
30175         SSE flags if possible.
30177 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30179         [BZ #13540]
30180         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
30181         processing for last bytes.
30183 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
30185         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
30186         (syscall-list-default-options, syscall-list-default-condition)
30187         (syscall-list-includes): Define.
30188         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
30189         list of ABIs and options and #if conditions for each ABI.  Do not
30190         handle common syscalls between ABIs specially.
30191         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
30192         Remove.
30193         (syscall-list-variants, syscall-list-32bit-options)
30194         (syscall-list-32bit-condition, syscall-list-64bit-options)
30195         (syscall-list-64bit-condition): Define.
30196         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
30197         (syscall-list-variants, syscall-list-32bit-options)
30198         (syscall-list-32bit-condition, syscall-list-64bit-options)
30199         (syscall-list-64bit-condition): Define.
30200         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
30201         Remove.
30202         (syscall-list-variants, syscall-list-32bit-options)
30203         (syscall-list-32bit-condition, syscall-list-64bit-options)
30204         (syscall-list-64bit-condition): Define.
30205         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
30206         Remove.
30207         (syscall-list-variants, syscall-list-32bit-options)
30208         (syscall-list-32bit-condition, syscall-list-64bit-options)
30209         (syscall-list-64bit-condition): Define.
30211 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
30213         * locale/iso-639.def: Add brx entry.
30215         [BZ #13328]
30216         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
30217         Proposed by Mariusz_Cukr <marcukr@op.pl>.
30219         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
30220         __feraiseexcept_renamed.
30222 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
30224         [BZ #13538]
30225         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
30226         EPOLLET with unsigned values.
30227         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30228         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30230         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
30231         to large cancellation.
30232         * math/s_cacoshf.c: Likewise.
30233         * math/s_cacoshl.c: Likewise.
30235 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
30237         [BZ #13305]
30238         [BZ #12786]
30239         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
30240         * math/s_cacoshf.c: Likewise.
30241         * math/s_cacoshl.c: Likewise.
30243 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
30245         [BZ #13439]
30246         * iconv/gconv.h: Define __GCONV_SWAP.
30247         * iconvdata/unicode.c: The swap bit must be stored in __flags.
30248         * iconvdata/utf-16.c: Likewise.
30249         * iconvdata/utf-32.c: Likewise.
30251 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
30253         [BZ #13524]
30254         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
30255         numerator after shifting it by one limb.
30257 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
30259         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
30260         under [__USE_EXTERN_INLINES].
30262 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
30264         [BZ #13446]
30265         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
30267 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30269         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
30270         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
30271         optimized code.
30272         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
30273         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
30274         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
30275         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
30276         for strncasecmp/strncasecmp_l compilation.
30277         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
30278         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
30280 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
30282         [BZ #13484]
30283         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
30284         of __asm__.
30286 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
30288         [BZ #13506]
30289         * time/tzfile.c (__tzfile_read): Check values from file header.
30291 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
30293         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
30294         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
30295         * powerpc/powerpc32/dl-start.S: Likewise.
30296         * powerpc/powerpc32/elf/start.S: Likewise.
30297         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30298         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
30299         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
30300         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
30301         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30302         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
30303         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
30304         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30305         * powerpc/powerpc32/fpu/s_round.S: Likewise.
30306         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
30307         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
30308         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
30309         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
30310         * powerpc/powerpc32/memset.S: Likewise.
30311         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30312         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30313         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30314         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30315         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30316         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30317         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30318         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30319         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
30320         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
30321         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
30322         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30323         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30325 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30327         * math/libm-test.inc: Added more nearbyint tests.
30328         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
30329         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
30330         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
30331         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
30333 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
30335         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
30336         FD_CLOEXEC.
30338 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30340         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
30341         Add wcscpy-ssse3 wcscpy-c.
30342         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
30343         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
30344         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
30345         * sysdeps/x86_64/wcschr.S: New file.
30346         * sysdeps/x86_64/wcsrchr.S: New file.
30347         * string/test-strcmp.c: Remove checking of wcscmp function for
30348         wrong alignments.
30349         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
30350         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
30351         wcsrchr-sse2 wcsrchr-c.
30352         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
30353         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
30354         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
30355         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
30356         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
30357         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
30358         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
30359         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
30360         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
30361         * wcsmbc/wcschr.c (WCSCHR): New macro.
30363 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30365         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
30366         * wcsmbs/test-wcsrchr.c: New file.
30367         * string/test-strrchr.c: Add wcsrchr support.
30368         (WIDE): New macro.
30369         * wcsmbs/test-wcscpy.c: New file.
30370         * string/test-strcpy.c: Add wcscpy support.
30371         (WIDE): New macro.
30373 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
30375         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
30376         the inner loop.
30378 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
30380         [BZ #13472]
30381         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
30383 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
30385         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
30386         Minor optimizations.
30388         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
30389         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
30390         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
30392 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
30394         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
30395         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
30396         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
30397         for gcc to avoid warnings.
30398         * inet/Makefile (tests): Add tst-checks.
30399         * inet/tst-checks.c: New file.
30401         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
30402         warning.
30404         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
30405         __wmemcmp_sse2.
30407         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
30408         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
30410         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
30412 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
30414         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
30415         problem.
30417         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
30419 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
30421         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
30422         conditional on GCC version.
30423         (__arch_compare_and_exchange_val_8_acq)
30424         (__arch_compare_and_exchange_val_16_acq)
30425         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
30426         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
30427         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
30429 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
30431         * sysdeps/sh/backtrace.c: New file.
30433 2011-12-02  Andreas Schwab  <schwab@redhat.com>
30435         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
30436         parenthesis.
30438 2011-12-01  Andreas Schwab  <schwab@redhat.com>
30440         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
30441         falling back to utime.
30443 2011-11-30  Andreas Schwab  <schwab@redhat.com>
30445         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
30446         expectations for float.
30448 2011-11-29  Andreas Schwab  <schwab@redhat.com>
30450         * locale/weight.h (findidx): Add parameter len.
30451         * locale/weightwc.h (findidx): Likewise.
30452         * posix/fnmatch_loop.c (FCT): Adjust caller.
30453         * posix/regcomp.c (build_equiv_class): Likewise.
30454         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
30455         * posix/regexec.c (check_node_accept_bytes): Likewise.
30456         * string/strcoll_l.c (STRCOLL): Likewise.
30457         * string/strxfrm_l.c (STRXFRM): Likewise.
30459 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
30461         * Makefile.in: Remove CVSOPT handling.
30462         * configure.in: Remove use of AC_REVISION.
30463         * iconvdata/Makefile (distribute): No need to filter out CVS.
30464         * scripts/list-sources.sh: Remove CVS, subversion and monotone
30465         handling.
30467 2011-11-16  Andreas Schwab  <schwab@redhat.com>
30469         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
30470         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
30471         [USE_AS_STRNCASECMP_L]: Likewise.
30472         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
30473         NO_TLS_DIRECT_SEG_REFS.
30474         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
30475         Fix argument offsets for non-PIC.
30476         [USE_AS_STRNCASECMP_L]: Likewise.
30477         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
30478         NO_TLS_DIRECT_SEG_REFS.
30480 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
30482         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
30483         O_CLOEXEC.
30484         * locale/loadlocale.c (_nl_load_locale): Likewise.
30486 2011-11-15  Andreas Schwab  <schwab@redhat.com>
30488         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
30489         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
30490         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
30491         (SYSCALL_GETTIME): Set errno on error.
30493         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
30494         count references to noai6ai_cached.
30496 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
30498         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
30500         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
30501         FD_CLOEXEC for /proc/self/maps.
30503         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
30504         FD_CLOEXEC for /proc/meminfo.
30506         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
30507         gai.conf.
30509         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
30510         FD_CLOEXEC for given file.
30512         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
30514         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
30515         FD_CLOEXEC for /etc/hosts.
30516         (_gethtent): Likewise.
30518         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
30520         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
30521         cancellation and set FD_CLOEXEC for /etc/netgroup.
30523         * nss/nss_files/files-key.c (search): Don't allow cancellation when
30524         reading /etc/publickey.
30526         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
30527         allow cancellation when reading /etc/group.
30529         * nss/nss_files/files-alias.c (internal_setent): Don't allow
30530         cancellation.
30531         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
30533         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
30534         when using data file.
30536         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
30538         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
30539         (write_nis_obj): Use "c" and "e" in fopen.
30541         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
30543         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
30545         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
30547         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
30549         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
30550         locale.alias.
30552         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
30554         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
30556         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
30558         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
30559         file parsing and set FD_CLOEXEC.
30561 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
30563         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
30565 2011-11-14  Andreas Schwab  <schwab@redhat.com>
30567         * malloc/arena.c (arena_get2): Don't call reused_arena when
30568         _int_new_arena failed.
30570 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
30572         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
30573         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
30574         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
30575         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30576         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30577         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
30578         to compile strcasecmp and strncasecmp.
30579         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
30580         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
30582         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
30584 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
30586         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
30587         locale-defines.sym to gen-as-const-headers.
30588         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
30589         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
30590         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
30591         to compile strcasecmp and strncasecmp.
30592         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
30593         strcasecmp_l and strncasecmp_l.
30594         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
30595         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
30596         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
30597         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
30598         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
30599         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
30600         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
30601         * sysdeps/i386/i686/multiarch/strncase.S: New file.
30602         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
30603         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
30604         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
30606 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
30608         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
30609         result of SYSDEP_GETTIME_CPU to retval.
30610         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
30611         parameter list to macro.  Remove trailing semicolon.  Adjust users.
30613         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
30614         variable.
30616         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
30617         mantissa words.
30618         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
30620         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
30621         from unused variable.
30623         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
30624         DWARF definitions.
30625         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
30626         for assembling.
30628         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
30629         over namespaces.
30631         * sunrpc/rpc_prot.c (rejected): Fix case value.
30633         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
30634         unsigned long long int to avoid warnings in shift.
30636         * posix/regex_internal.c (re_string_reconstruct): Actually use result
30637         of use of trans.
30638         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
30639         variable tmp.
30641         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
30642         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
30643         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
30645         * nis/nis_table.c (nis_list): Use variable of correct type for
30646         result of __follow_path call.
30648 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30650         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
30651         of math functions ceil, trunc, floor, round, and sqrt, when
30652         avaliable on the platform.
30653         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
30654         name clash.
30655         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30656         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30657         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30659 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
30661         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
30662         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30664 2011-11-11  Roland McGrath  <roland@hack.frob.com>
30666         * include/unistd.h: Fix __readlink return type.
30667         Reported by Chris Metcalf <cmetcalf@tilera.com>.
30669 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
30671         * stdlib/ucontext.h: Undo last change for makecontext.
30673 2011-11-11  Andreas Schwab  <schwab@redhat.com>
30675         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
30677         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
30678         * setjmp/setjmp.h: Mark functions as non-leaf.
30679         * setjmp/bits/setjmp2.h: Likewise.
30680         * stdlib/ucontext.h: Likewise.
30682 2011-11-10  Andreas Schwab  <schwab@redhat.com>
30684         * malloc/arena.c (_int_new_arena): Don't increment narenas.
30685         (reused_arena): Don't check arena limit.
30686         (arena_get2): Atomically check arena limit.
30688 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
30690         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
30691         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
30693         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
30694         instructions.
30696 2011-11-07  Andreas Schwab  <schwab@redhat.com>
30698         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
30699         handler when locking.
30701         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30702         Fix size of allocated buffer.
30704 2011-11-04  Andreas Schwab  <schwab@redhat.com>
30706         [BZ #10103]
30707         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
30708         declarations for long double functions.
30709         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
30711         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
30713 2011-11-03  Andreas Schwab  <schwab@redhat.com>
30715         * nscd/nscd.c (main): Don't start AVC thread until credentials are
30716         installed.
30718         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
30719         is disabled.
30721 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30723         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
30725 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
30727         * include/alloca.h (stackinfo_alloca_round): Define.
30728         (extend_alloca): Use it.
30729         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
30730         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
30731         here.
30733         * scripts/check-local-headers.sh: Ignore libaudit.h.
30735         * nscd/Makefile (extra-objs): Make recursively expanded.
30737 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
30739         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
30740         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
30742         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
30743         * posix/tst-rfc3484-2.c: Likewise.
30744         * posix/tst-rfc3484-3.c: Likewise.
30746         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30747         process_vm_writev.
30748         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
30749         process_vm_writev.
30750         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
30751         process_vm_writev from libc using GLIBC_2.15 version.
30753         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
30755 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
30757         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
30758         stack usage.
30760 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
30762         [BZ #13367]
30763         * nss/getent.c (initgroups_keys): Show error message in case no group
30764         names are given.
30766         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
30767         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
30768         __bump_nl_timestamp.
30769         * nscd/connections (nscd_init): When host database is served open
30770         netlink socket and request notification about configuration changes.
30771         (main_loop_poll): Track netlink file descriptor and bump timestamp
30772         in case data becomes available.
30773         (main_loop_epoll): Likewise.
30774         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
30775         (database_pers_head): Add extra_data fileds.
30776         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
30777         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
30778         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
30779         Adjust caller.
30780         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
30781         in6ai data, call __free_in6ai.
30782         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
30783         Add -DHAVE_NETLINK.
30784         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
30785         interface information.  Reuse previous data if netlink timestamp
30786         is not changed.
30787         (__bump_nl_timestamp): New function.
30788         (__free_in6ai): New function.
30790 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
30792         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
30793         close_not_cancel_no_status here.
30794         (__check_pf): Reorganize code a bit to not call close twice if OOM.
30796 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
30798         [BZ #13276]
30799         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
30800         return value.
30802         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
30803         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
30804         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
30806 2011-07-03  Andreas Jaeger  <aj@suse.de>
30808         [BZ #10709]
30809         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
30810         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
30811         * math/libm-test.inc (sin_test): Add test case.
30813 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
30815         [BZ #13337]
30816         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
30817         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30819         * elf/chroot_canon.c (chroot_canon): Cleanups.
30821         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
30823         [BZ #13335]
30824         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
30825         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30827         * string/test-strchr.c: Make usable for strchrnul testing.
30828         * string/test-strchrnul.c: New file.
30829         * string/Makefile (strop-tests): Add strchrnul.
30831         * po/it.po: Update from translation team.
30832         * po/es.po: Likewise.
30834 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
30836         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
30837         the three constants needed as parameters.  Drop the others.
30838         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
30839         __m128i_strloadu_tolower.
30840         Create and initialize variable zero and use it in all the places
30841         where _mm_setzero_si128 was used.
30843         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
30844         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
30845         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
30846         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
30847         anymore.
30848         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
30849         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
30850         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
30851         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
30852         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
30853         __mpranred, __mptan.
30854         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
30855         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
30856         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
30857         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
30858         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
30859         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
30860         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
30861         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
30862         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
30864 2011-10-28  Andreas Schwab  <schwab@redhat.com>
30866         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
30867         redefine if SHARED.
30868         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
30870         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
30871         wide char related routines to wcsmbs subdir.
30873 2011-10-27  Andreas Schwab  <schwab@redhat.com>
30875         [BZ #13344]
30876         * misc/sys/cdefs.h (__THROWNL): Define.
30877         * posix/unistd.h: Use __THREADNL instead of __THREAD
30878         for memory synchronization functions.
30880 2011-10-26  Roland McGrath  <roland@hack.frob.com>
30882         [BZ #13349]
30883         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
30884         doesn't exist.
30885         * manual/stdio.texi (Obstack Streams): Node removed.
30887 2011-10-26  Andreas Schwab  <schwab@redhat.com>
30889         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
30890         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30891         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30893         * math/math_private.h (math_force_eval): Allow non-addressable
30894         arguments.
30895         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
30897 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
30899         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
30900         file is not needed.
30902         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
30903         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
30904         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30905         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30906         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30907         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30908         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30909         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
30910         Add AVX variants.
30911         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
30912         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
30913         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
30914         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
30915         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
30916         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
30917         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
30918         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
30919         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
30920         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
30921         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
30922         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
30923         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
30924         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
30925         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
30926         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
30927         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
30928         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
30929         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
30931         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
30932         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
30934         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
30935         place.  Use VEX encoding when compiling for AVX.
30937 2011-10-25  Andreas Schwab  <schwab@redhat.com>
30939         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
30940         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
30942         * string/test-strchr.c (do_test): Don't generate NUL bytes.
30944 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
30946         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
30947         useless if() expression.
30948         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30949         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30950         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30951         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30952         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30953         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30954         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30955         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30956         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30957         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30958         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30959         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30960         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
30961         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30962         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
30963         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30964         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30965         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30966         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30968         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
30970 2011-10-25  Andreas Schwab  <schwab@redhat.com>
30972         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
30973         condition.
30974         * elf/dl-fini.c (_dl_sort_fini): Likewise.
30976 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
30978         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
30979         .text section.  Avoid duplicate constants.
30980         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30981         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30982         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30983         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30984         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30985         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30986         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30987         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30988         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30989         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
30990         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30991         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30992         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
30993         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
30994         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30995         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30996         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30997         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30998         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30999         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31000         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31001         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31002         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31003         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
31004         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
31005         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
31006         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
31007         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
31008         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
31009         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
31010         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
31011         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
31012         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31013         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
31014         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
31015         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
31016         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
31017         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
31018         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
31019         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
31020         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
31021         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
31022         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
31023         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
31024         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
31026 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
31028         * sysdeps/x86_64/dla.h: Move to ...
31029         * sysdeps/x86_64/fpu/dla.h: ...here.
31030         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
31031         situations.  Use __builtin_fma only for gcc 4.6 and up.
31033         * config.make.in: Add have-mfma4 entry.
31034         * configure.in: Substitute libc_cv_cc_fma4.
31035         * math/Makefile (dbl-only-routines): Add sincostab.
31036         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
31037         Use __sincostab not sincos.
31038         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
31039         name is a macro.
31040         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31041         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31042         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31043         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
31044         using __copysign.
31045         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
31046         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
31047         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
31048         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
31049         and __inv.
31050         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
31051         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
31052         __copysign.
31053         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
31054         define aliases when function name is a macro.
31055         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
31056         sysdeps/ieee754/dbl-64/sincos.tbl.
31057         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
31058         fma4-enabled routines.
31059         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
31060         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
31061         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
31062         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
31063         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
31064         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
31065         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
31066         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
31067         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
31068         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
31069         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
31070         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
31071         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
31072         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
31073         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
31074         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
31075         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
31076         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
31077         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
31078         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
31079         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
31080         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
31081         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
31082         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
31083         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
31084         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
31085         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
31086         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
31087         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
31088         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
31090         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
31091         rename.
31092         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31093         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31094         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31095         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31096         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31097         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31098         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31099         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31101 2011-10-24  Andreas Schwab  <schwab@redhat.com>
31103         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
31105 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
31107         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
31109         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
31110         prediction.
31111         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
31113         * string/strnlen.c: Don't define STRNLEN, reverse logic.
31114         Remove unused variable magic_bits.
31115         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
31117         * string/strnlen.c: Define and use STRNLEN macro.
31118         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
31119         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
31120         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
31121         * wcsmbs/wcslen.c: Define and use WCSLEN.
31122         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
31123         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
31124         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
31125         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
31126         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
31127         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
31128         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31130 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31132         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31133         strnlen-sse2-no-bsf.
31134         Rename strlen-no-bsf to strlen-sse2-no-bsf.
31135         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
31136         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
31137         Add strnlen support.
31138         (USE_AS_STRNLEN): New macro.
31139         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
31140         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
31141         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
31142         * sysdeps/x86_64/wcslen.S: New file.
31144 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
31146         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31147         XMM-moves are used for copying on small sizes.
31149 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31151         * wcsmbs/Makefile (strop-tests): Add wcschr.
31152         * wcsmbs/test-wcschr.c: New file.
31153         * string/test-strchr.c: Update.
31154         Add wcschr support.
31155         (WIDE): New macro.
31157 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31159         * wcsmbs/Makefile (strop-tests): Add wcslen.
31160         * wcsmbs/test-wcslen.c: New file.
31161         * string/test-strlen.c: Update.
31162         Add wcslen support.
31163         (WIDE): New macro.
31165 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
31167         * po/it.po: Update from translation team.
31169 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31171         * sysdeps/x86_64/wcscmp.S: Update.
31172         Fix wrong comparison semantics.
31173         wcscmp shall use signed comparison not unsigned.
31174         Don't use substraction to avoid overflow bug.
31175         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
31176         * wcsmbc/wcscmp.c: Likewise.
31177         * string/test-strcmp.c: Likewise.
31178         Add new tests to check cases with negative values.
31180 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
31182         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
31183         * sysdeps/x86_64/dla.h: ...here.  New file.
31184         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
31185         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31186         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31187         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31188         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31189         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31190         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31191         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31192         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31194 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
31196         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
31197         __ynl_finite aliases.
31199 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
31201         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31203         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
31204         define DLA_FMA.
31205         [DLA_FMA] (EMULV): Use DLA_FMA.
31206         [DLA_FMA] (MUL12): Use EMULV.
31207         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
31208         that are not needed.
31209         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31210         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31211         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31212         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31213         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31214         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31215         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31217 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
31219         * math/s_nan.c: Undef __nan.
31220         * math/s_nanf.c: Undef __nanf.
31221         * math/s_nanl.c: Undef __nanl.
31222         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
31223         "math_private.h".
31225 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
31227         * math/s_catan.c: Add branch predictions.
31228         * math/s_catanf.c: Likewise.
31229         * math/s_catanh.c: Likewise.
31230         * math/s_catanhf.c: Likewise.
31231         * math/s_catanhl.c: Likewise.
31232         * math/s_catanl.c: Likewise.
31233         * math/s_cexp.c: Likewise.
31234         * math/s_cexpf.c: Likewise.
31235         * math/s_cexpl.c: Likewise.
31236         * math/s_clog.c: Likewise.
31237         * math/s_clog10.c: Likewise.
31238         * math/s_clog10f.c: Likewise.
31239         * math/s_clog10l.c: Likewise.
31240         * math/s_clogf.c: Likewise.
31241         * math/s_clogl.c: Likewise.
31242         * math/s_csqrt.c: Likewise.
31243         * math/s_csqrtf.c: Likewise.
31244         * math/s_csqrtl.c: Likewise.
31245         * math/s_ctanf.c: Likewise.
31246         * math/s_ctanh.c: Likewise.
31247         * math/s_ctanhf.c: Likewise.
31248         * math/s_ctanhl.c: Likewise.
31249         * math/s_ctanl.c: Likewise.
31251         * math/math_private.h: Define __nan, __nanf, __nanl.
31252         * math/s_cacosh.c: Include <math_private.h>.
31253         * math/s_cacoshl.c: Likewise.
31254         * math/s_casinh.c: Likewise.
31255         * math/s_casinhf.c: Likewise.
31256         * math/s_casinhl.c: Likewise.
31257         * math/s_ccos.c: Rely entire on ccosh.
31258         * math/s_ccosf.c: Rely entire on ccoshf.
31259         * math/s_ccosl.c: Rely entirely on ccoshl.
31260         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
31261         Remove tests for FE_INVALID.
31262         * math/s_ccoshf.c: Likewise.
31263         * math/s_ccoshl.c: Likewise.
31264         * math/s_csin.c: Likewise.
31265         * math/s_csinf.c: Likewise.
31266         * math/s_csinh.c Likewise.
31267         * math/s_csinhf.c: Likewise.
31268         * math/s_csinhl.c: Likewise.
31269         * math/s_csinl.c: Likewise.
31270         * math/s_ctan.c: Likewise.
31271         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
31272         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
31273         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
31275 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
31277         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
31278         compilation problems.
31280         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
31281         __builtin_expect.
31283 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
31285         * sysdeps/i386/configure.in: Test for -mfma4 option.
31286         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
31287         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
31288         COMMON_CPUID_INDEX_80000001.
31289         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
31290         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
31291         use it if FMA3 is not supported.
31292         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
31294         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
31295         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31297 2011-10-20  Andreas Schwab  <schwab@redhat.com>
31299         [BZ #12892]
31300         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
31301         it would create a cycle with a link time dependency.
31303 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
31305         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
31306         instruction.
31307         * string/Makefile (strop-tests): Add rawmemchr.
31308         * string/test-rawmemchr.c: New file.
31310         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
31311         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
31312         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
31313         when compiling str{,n}casecmp and when AVX is available.  Hook up
31314         new optimized code in initializers.
31316 2011-10-19  Andreas Schwab  <schwab@redhat.com>
31318         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
31319         __feraiseexcept instead of feraiseexcept.
31321 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
31323         * math/math_private.h: Define defaults for libc_fetestexcept and
31324         libc_feupdateenv.
31325         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
31326         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
31327         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31328         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31329         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
31330         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31331         libc_fetestexcept and libc_feupdateenv.
31333         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
31334         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
31335         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
31336         * sysdeps/x86_64/fpu/math_private.h: Define special version of
31337         libc_feholdexcept_setround.
31339         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
31340         Add s_nearbyint-c and s_nearbyintf-c.
31341         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
31342         nearbyintf inlines.
31343         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
31344         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
31345         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
31346         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
31348         * math/math_private.h: Define defaults for libc_fegetround,
31349         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
31350         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
31351         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
31352         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
31353         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
31354         standard functions.
31355         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31356         Remove comments and hacks for old compiler versions.
31357         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31358         libc_fegetround, libc_fesetround, libc_feholdexcept, and
31359         libc_feholdexceptl.
31361 2011-10-18  Andreas Schwab  <schwab@redhat.com>
31363         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
31364         (__feraiseexcept_renamed): Add __NTH.
31365         (feraiseexcept): Add __NTH.  Rename local variables to fix
31366         namespace violations.
31368 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
31370         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
31372         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
31374         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
31375         recently added interfaces.
31376         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
31378         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
31379         about macro parameter expansion.
31381         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
31382         __NO_MATH_INLINES is defined.  Cleanups.
31384         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
31385         and __floorf is target has SSE4.1.
31386         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
31387         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
31388         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
31389         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
31391         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
31392         name.
31393         (floorf): Likewise.
31395         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
31397 2011-10-17  Andreas Schwab  <schwab@redhat.com>
31399         * misc/sys/cdefs.h: Fix last change.
31401         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
31402         database lookup.
31404 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
31406         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
31408         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
31409         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31410         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
31411         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31412         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31413         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
31414         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31415         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31416         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
31417         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
31418         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
31419         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
31420         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
31421         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
31422         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
31423         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
31424         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
31425         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
31426         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
31427         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
31428         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
31429         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
31431         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
31432         ceil, ceilf, floor, floorf.
31434         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
31435         Perform IRELATIVE relocations last.
31437         * elf/do-rel.h: Add another parameter nrelative, replacing the
31438         local variable with the same name.  Change name of the function
31439         to end in Rel or Rela (uppercase).
31440         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
31441         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
31442         elf_dynamic_do_##reloc function.
31444 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
31446         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
31447         is sufficient, at least on modern CPUs.
31449         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
31451         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
31452         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
31454         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
31455         __expl_finite.
31456         * math/bits/math-finite.h: Add entries for exp.
31457         * math/e_expl.c: Add __*_finite alias.
31458         * sysdeps/i386/fpu/e_exp.S: Likewise.
31459         * sysdeps/i386/fpu/e_expf.S: Likewise.
31460         * sysdeps/i386/fpu/e_expl.c: Likewise.
31461         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31462         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31463         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31464         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31465         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
31466         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31467         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31469         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
31470         is sufficient, at least on modern CPUs.
31472         * ctype/ctype-info.c (__ctype_init): Define.
31473         * include/ctype.h (__ctype_init): Declare.
31474         (__ctype_b_loc): The variable is always initialized.
31475         (__ctype_toupper_loc): Likewise.
31476         (__ctype_tolower_loc): Likewise.
31477         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
31478         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
31480 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
31482         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
31484         * configure.in: Also look in $cxxmachine/include for C++ system
31485         headers.
31487 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31489         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
31490         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
31491         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
31492         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
31493         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
31494         (USE_AS_WMEMCMP): New macro.
31495         Fixing indents.
31496         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
31497         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
31498         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
31499         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
31500         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31501         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
31502         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
31503         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
31504         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
31505         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
31506         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
31507         (USE_AS_WMEMCMP): New macro.
31508         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
31509         * sysdeps/string/test-memcmp.c: Update.
31510         Fix simple_wmemcmp.
31511         Add new tests.
31512         * wcsmbs/wmemcmp.c: Update.
31513         (WMEMCMP): New macro.
31514         Fix overflow bug.
31516 2011-10-12  Andreas Jaeger  <aj@suse.de>
31518         [BZ #13268]
31519         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
31521 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
31523         * libio/iofwide.c (do_length): Avoid warning.
31525         * ctype/ctype.h (__isctype_f): Add missing __THROW.
31527 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
31529         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
31531         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
31532         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
31533         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
31534         * sysdeps/i386/i686/fpu/e_log.S: New file.
31535         * sysdeps/i386/i686/fpu/e_logf.S: New file.
31536         * sysdeps/i386/i686/fpu/e_logl.S: New file.
31538         * ctype/ctype.h: Add support for inlined isXXX functions when
31539         compiling C++ code.
31541 2011-10-14  Andreas Schwab  <schwab@redhat.com>
31543         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31545         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
31547 2011-10-13  Roland McGrath  <roland@hack.frob.com>
31549         [BZ #13291]
31550         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
31552 2011-10-13  Andreas Schwab  <schwab@redhat.com>
31554         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
31555         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
31556         feraiseexcept.
31558         * sysdeps/x86_64/memrchr.S: Check for zero size.
31560         * string/stratcliff.c: Add memrchr tests.
31562 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31564         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31565         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
31566         rawmemchr-sse2 rawmemchr-sse2-bsf.
31567         * sysdeps/i386/i686/multiarch/memchr.S: New file.
31568         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
31569         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
31570         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
31571         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
31572         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
31573         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
31574         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
31575         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
31576         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
31577         * string/memrchr.c (MEMRCHR): New macro.
31579 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
31581         Add integration with gcc's -ffinite-math-only and optimize wrapper
31582         functions in libm.
31583         * Versions.def: Define GLIBC_2.15 version for libm.
31584         * math/Makefile (headers): Add bits/math-finite.h.
31585         * math/bits/math-finite.h: New file.
31586         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
31587         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
31588         * math/e_acoshl.c: Add __*_finite alias.
31589         * math/e_acosl.c: Likewise.
31590         * math/e_asinl.c: Likewise.
31591         * math/e_atan2l.c: Likewise.
31592         * math/e_atanhl.c: Likewise.
31593         * math/e_coshl.c: Likewise.
31594         * math/e_exp10.c: Likewise.
31595         * math/e_exp10f.c: Likewise.
31596         * math/e_exp10l.c: Likewise.
31597         * math/e_exp2l.c: Likewise.
31598         * math/e_fmodl.c: Likewise.
31599         * math/e_gammal_r.c: Likewise.
31600         * math/e_hypotl.c: Likewise.
31601         * math/e_j0l.c: Likewise.
31602         * math/e_j1l.c: Likewise.
31603         * math/e_jnl.c: Likewise.
31604         * math/e_lgammal_r.c: Likewise.
31605         * math/e_log10l.c: Likewise.
31606         * math/e_log2l.c: Likewise.
31607         * math/e_logl.c: Likewise.
31608         * math/e_powl.c: Likewise.
31609         * math/e_sinhl.c: Likewise.
31610         * math/e_sqrtl.c: Likewise.
31611         * math/e_scalb.c: Completely rewritten and optimized.
31612         * math/e_scalbf.c: Likewise.
31613         * math/e_scalbl.c: Likewise.
31614         * math/w_acos.c: Likewise.
31615         * math/w_acosf.c: Likewise.
31616         * math/w_acosl.c: Likewise.
31617         * math/w_acosh.c: Likewise.
31618         * math/w_acoshf.c: Likewise.
31619         * math/w_acoshl.c: Likewise.
31620         * math/w_asin.c: Likewise.
31621         * math/w_asinf.c: Likewise.
31622         * math/w_asinl.c: Likewise.
31623         * math/w_atan2.c: Likewise.
31624         * math/w_atan2f.c: Likewise.
31625         * math/w_atan2l.c: Likewise.
31626         * math/w_atanh.c: Likewise.
31627         * math/w_atanhf.c: Likewise.
31628         * math/w_atanhl.c: Likewise.
31629         * math/w_exp10.c: Likewise.
31630         * math/w_exp10f.c: Likewise.
31631         * math/w_exp10l.c: Likewise.
31632         * math/w_fmod.c: Likewise.
31633         * math/w_fmodf.c: Likewise.
31634         * math/w_fmodl.c: Likewise.
31635         * math/w_j0.c: Likewise.
31636         * math/w_j0f.c: Likewise.
31637         * math/w_j0l.c: Likewise.
31638         * math/w_j1.c: Likewise.
31639         * math/w_j1f.c: Likewise.
31640         * math/w_j1l.c: Likewise.
31641         * math/w_jn.c: Likewise.
31642         * math/w_jnf.c: Likewise.
31643         * math/w_log.c: Likewise.
31644         * math/w_logf.c: Likewise.
31645         * math/w_logl.c: Likewise.
31646         * math/w_log10.c: Likewise.
31647         * math/w_log10f.c: Likewise.
31648         * math/w_log10l.c: Likewise.
31649         * math/w_log2.c: Likewise.
31650         * math/w_log2f.c: Likewise.
31651         * math/w_log2l.c: Likewise.
31652         * math/w_pow.c: Likewise.
31653         * math/w_powf.c: Likewise.
31654         * math/w_powl.c: Likewise.
31655         * math/w_remainder.c: Likewise.
31656         * math/w_remainderf.c: Likewise.
31657         * math/w_remainderl.c: Likewise.
31658         * math/w_scalb.c: Likewise.
31659         * math/w_scalbf.c: Likewise.
31660         * math/w_scalbl.c: Likewise.
31661         * math/w_sqrt.c: Likewise.
31662         * math/w_sqrtf.c: Likewise.
31663         * math/w_sqrtl.c: Likewise.
31664         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
31665         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
31666         used.
31667         * math/math_private.h: Declare __kernel_standard_f.
31668         * math/w_cosh.c: Remove cruft and optimize a bit.
31669         * math/w_coshf.c: Likewise.
31670         * math/w_coshl.c: Likewise.
31671         * math/w_exp2.c: Likewise.
31672         * math/w_exp2f.c: Likewise.
31673         * math/w_exp2l.c: Likewise.
31674         * math/w_hypot.c: Likewise.
31675         * math/w_hypotf.c: Likewise.
31676         * math/w_hypotl.c: Likewise.
31677         * math/w_lgamma.c: Likewise.
31678         * math/w_lgamma_r.c: Likewise.
31679         * math/w_lgammaf.c: Likewise.
31680         * math/w_lgammaf_r.c: Likewise.
31681         * math/w_lgammal.c: Likewise.
31682         * math/w_lgammal_r.c: Likewise.
31683         * math/w_sinh.c: Likewise.
31684         * math/w_sinhf.c: Likewise.
31685         * math/w_sinhl.c: Likewise.
31686         * math/w_tgamma.c: Likewise.
31687         * math/w_tgammaf.c: Likewise.
31688         * math/w_tgammal.c: Likewise.
31689         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31690         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31691         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
31692         Minor optimizations.  Pretty printing.  Remove cruft.
31693         * sysdeps/i386/fpu/e_acosf.S: Likewise.
31694         * sysdeps/i386/fpu/e_acosh.S: Likewise.
31695         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31696         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31697         * sysdeps/i386/fpu/e_acosl.c: Likewise.
31698         * sysdeps/i386/fpu/e_asin.S: Likewise.
31699         * sysdeps/i386/fpu/e_asinf.S: Likewise.
31700         * sysdeps/i386/fpu/e_atan2.S: Likewise.
31701         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
31702         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
31703         * sysdeps/i386/fpu/e_atanh.S: Likewise.
31704         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31705         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31706         * sysdeps/i386/fpu/e_exp10.S: Likewise.
31707         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
31708         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
31709         * sysdeps/i386/fpu/e_exp2.S: Likewise.
31710         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
31711         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
31712         * sysdeps/i386/fpu/e_fmod.S: Likewise.
31713         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
31714         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
31715         * sysdeps/i386/fpu/e_hypot.S: Likewise.
31716         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
31717         * sysdeps/i386/fpu/e_log.S: Likewise.
31718         * sysdeps/i386/fpu/e_log10.S: Likewise.
31719         * sysdeps/i386/fpu/e_log10f.S: Likewise.
31720         * sysdeps/i386/fpu/e_log10l.S: Likewise.
31721         * sysdeps/i386/fpu/e_log2.S: Likewise.
31722         * sysdeps/i386/fpu/e_log2f.S: Likewise.
31723         * sysdeps/i386/fpu/e_log2l.S: Likewise.
31724         * sysdeps/i386/fpu/e_logf.S: Likewise.
31725         * sysdeps/i386/fpu/e_logl.S: Likewise.
31726         * sysdeps/i386/fpu/e_pow.S: Likewise.
31727         * sysdeps/i386/fpu/e_powf.S: Likewise.
31728         * sysdeps/i386/fpu/e_powl.S: Likewise.
31729         * sysdeps/i386/fpu/e_remainder.S: Likewise.
31730         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
31731         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
31732         * sysdeps/i386/fpu/e_scalb.S: Likewise.
31733         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31734         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31735         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
31736         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
31737         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
31738         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
31739         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31740         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31741         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
31742         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31743         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
31744         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
31745         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
31746         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31747         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31748         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31749         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
31750         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31751         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
31752         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
31753         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31754         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31755         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
31756         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31757         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31758         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
31759         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
31760         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31761         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31762         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
31763         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
31764         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31765         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
31766         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
31767         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
31768         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31769         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
31770         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31771         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
31772         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
31773         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
31774         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
31775         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
31776         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
31777         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
31778         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
31779         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
31780         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
31781         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
31782         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31783         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
31784         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
31785         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
31786         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
31787         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
31788         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
31789         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
31790         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
31791         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31792         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
31793         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
31794         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
31795         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
31796         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
31797         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
31798         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
31799         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
31800         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31801         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31802         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
31803         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
31804         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
31805         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
31806         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
31807         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
31808         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
31809         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
31810         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
31811         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
31812         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
31813         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31814         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31815         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
31816         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31817         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
31818         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31819         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
31820         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
31821         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31822         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31823         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
31824         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31825         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
31826         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
31827         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
31828         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31829         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31830         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31831         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
31832         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31833         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31834         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31835         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
31836         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
31837         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
31838         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
31839         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
31840         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
31841         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
31842         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31843         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31844         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31845         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31846         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
31847         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31848         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
31849         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
31850         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
31851         (__isnanf): Likewise.
31852         (__isinf_ns): Likewise.
31853         (__isinf_nsf): Likewise.
31854         (__finite): Likewise.
31855         (__finitef): Likewise.
31856         (__ieee754_sqrt): Define as macro.
31857         (__ieee754_sqrtf): Define as macro.
31858         (__ieee754_sqrtl): Define as macro.
31859         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
31860         inlined copy.
31861         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
31862         __FINITE_MATH_ONLY__ consistent.
31863         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
31865 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
31867         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
31868         of rawmemchr.
31870         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
31872 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
31874         * po/ja.po: Update from translation team.
31876 2011-10-08  Roland McGrath  <roland@hack.frob.com>
31878         * locale/programs/locarchive.c (prepare_address_space): New function.
31879         (create_archive, enlarge_archive, open_archive): Use it.
31881         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
31882         inside [SHARED], where it is used.
31884         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
31886         * nss/getent.c (netgroup_keys): Remove unused variable.
31887         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
31889 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
31891         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
31892         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
31893         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
31894         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
31895         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
31896         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
31897         * math/Makefile (libm-calls): Add s_isinf_ns.
31898         * math/divtc3.c: Use __isinf_nsl instead of isinf.
31899         * math/multc3.c: Likewise.
31900         * math/s_casin.c: Likewise.
31901         * math/s_casinf.c: Likewise.
31902         * math/s_casinl.c: Likewise.
31903         * math/s_ccos.c: Likewise.
31904         * math/s_ccosf.c: Likewise.
31905         * math/s_ccosl.c: Likewise.
31906         * math/s_ctan.c: Likewise.
31907         * math/s_ctanf.c: Likewise.
31908         * math/s_ctanh.c: Likewise.
31909         * math/s_ctanhf.c: Likewise.
31910         * math/s_ctanhl.c: Likewise.
31911         * math/s_ctanl.c: Likewise.
31912         * math/w_fmod.c: Likewise.
31913         * math/w_fmodf.c: Likewise.
31914         * math/w_fmodl.c: Likewise.
31915         * math/w_remainder.c: Likewise.
31916         * math/w_remainderf.c: Likewise.
31917         * math/w_remainderl.c: Likewise.
31918         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
31919         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
31920         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
31921         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
31922         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
31923         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
31924         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
31925         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
31927         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
31928         of the number.
31929         * stdio-common/printf_fphex.c: Likewise.
31930         * stdio-common/printf_size.c: Likewise.
31932         * math/e_exp10.c: Include math_private.h using <...> not "...".
31933         * math/e_exp10f.c: Likewise.
31934         * math/e_exp10l.c: Likewise.
31935         * math/e_exp2l.c: Likewise.
31936         * math/e_j0l.c: Likewise.
31937         * math/e_j1l.c: Likewise.
31938         * math/e_jnl.c: Likewise.
31939         * math/e_lgammal_r.c: Likewise.
31940         * math/e_rem_pio2l.c: Likewise.
31941         * math/e_scalb.c: Likewise.
31942         * math/e_scalbf.c: Likewise.
31943         * math/e_scalbl.c: Likewise.
31944         * math/k_cosl.c: Likewise.
31945         * math/k_sinl.c: Likewise.
31946         * math/k_tanl.c: Likewise.
31947         * math/s_cacoshf.c: Likewise.
31948         * math/s_catan.c: Likewise.
31949         * math/s_catanf.c: Likewise.
31950         * math/s_catanh.c: Likewise.
31951         * math/s_catanhf.c: Likewise.
31952         * math/s_catanhl.c: Likewise.
31953         * math/s_catanl.c: Likewise.
31954         * math/s_ccosh.c: Likewise.
31955         * math/s_ccoshf.c: Likewise.
31956         * math/s_ccoshl.c: Likewise.
31957         * math/s_cexp.c: Likewise.
31958         * math/s_cexpf.c: Likewise.
31959         * math/s_cexpl.c: Likewise.
31960         * math/s_clog.c: Likewise.
31961         * math/s_clog10.c: Likewise.
31962         * math/s_clog10f.c: Likewise.
31963         * math/s_clog10l.c: Likewise.
31964         * math/s_clogf.c: Likewise.
31965         * math/s_clogl.c: Likewise.
31966         * math/s_csin.c: Likewise.
31967         * math/s_csinf.c: Likewise.
31968         * math/s_csinh.c: Likewise.
31969         * math/s_csinhf.c: Likewise.
31970         * math/s_csinhl.c: Likewise.
31971         * math/s_csinl.c: Likewise.
31972         * math/s_csqrt.c: Likewise.
31973         * math/s_csqrtf.c: Likewise.
31974         * math/s_csqrtl.c: Likewise.
31975         * math/s_ctan.c: Likewise.
31976         * math/s_ctanf.c: Likewise.
31977         * math/s_ctanh.c: Likewise.
31978         * math/s_ctanhf.c: Likewise.
31979         * math/s_ctanhl.c: Likewise.
31980         * math/s_ctanl.c: Likewise.
31981         * math/s_ldexp.c: Likewise.
31982         * math/s_ldexpf.c: Likewise.
31983         * math/s_ldexpl.c: Likewise.
31984         * math/s_significand.c: Likewise.
31985         * math/s_significandf.c: Likewise.
31986         * math/s_significandl.c: Likewise.
31987         * math/w_acos.c: Likewise.
31988         * math/w_acosf.c: Likewise.
31989         * math/w_acosh.c: Likewise.
31990         * math/w_acoshf.c: Likewise.
31991         * math/w_acoshl.c: Likewise.
31992         * math/w_acosl.c: Likewise.
31993         * math/w_asin.c: Likewise.
31994         * math/w_asinf.c: Likewise.
31995         * math/w_asinl.c: Likewise.
31996         * math/w_atan2.c: Likewise.
31997         * math/w_atan2f.c: Likewise.
31998         * math/w_atan2l.c: Likewise.
31999         * math/w_atanh.c: Likewise.
32000         * math/w_atanhf.c: Likewise.
32001         * math/w_atanhl.c: Likewise.
32002         * math/w_cosh.c: Likewise.
32003         * math/w_coshf.c: Likewise.
32004         * math/w_coshl.c: Likewise.
32005         * math/w_dremf.c: Likewise.
32006         * math/w_exp10.c: Likewise.
32007         * math/w_exp10f.c: Likewise.
32008         * math/w_exp10l.c: Likewise.
32009         * math/w_exp2.c: Likewise.
32010         * math/w_exp2f.c: Likewise.
32011         * math/w_fmod.c: Likewise.
32012         * math/w_fmodf.c: Likewise.
32013         * math/w_fmodl.c: Likewise.
32014         * math/w_hypot.c: Likewise.
32015         * math/w_hypotf.c: Likewise.
32016         * math/w_hypotl.c: Likewise.
32017         * math/w_j0.c: Likewise.
32018         * math/w_j0f.c: Likewise.
32019         * math/w_j0l.c: Likewise.
32020         * math/w_j1.c: Likewise.
32021         * math/w_j1f.c: Likewise.
32022         * math/w_j1l.c: Likewise.
32023         * math/w_jn.c: Likewise.
32024         * math/w_jnf.c: Likewise.
32025         * math/w_jnl.c: Likewise.
32026         * math/w_lgamma.c: Likewise.
32027         * math/w_lgamma_r.c: Likewise.
32028         * math/w_lgammaf.c: Likewise.
32029         * math/w_lgammaf_r.c: Likewise.
32030         * math/w_lgammal.c: Likewise.
32031         * math/w_lgammal_r.c: Likewise.
32032         * math/w_log.c: Likewise.
32033         * math/w_log10.c: Likewise.
32034         * math/w_log10f.c: Likewise.
32035         * math/w_log10l.c: Likewise.
32036         * math/w_log2.c: Likewise.
32037         * math/w_log2f.c: Likewise.
32038         * math/w_log2l.c: Likewise.
32039         * math/w_logf.c: Likewise.
32040         * math/w_logl.c: Likewise.
32041         * math/w_pow.c: Likewise.
32042         * math/w_powf.c: Likewise.
32043         * math/w_powl.c: Likewise.
32044         * math/w_remainder.c: Likewise.
32045         * math/w_remainderf.c: Likewise.
32046         * math/w_remainderl.c: Likewise.
32047         * math/w_scalb.c: Likewise.
32048         * math/w_scalbf.c: Likewise.
32049         * math/w_scalbl.c: Likewise.
32050         * math/w_sinh.c: Likewise.
32051         * math/w_sinhf.c: Likewise.
32052         * math/w_sinhl.c: Likewise.
32053         * math/w_sqrt.c: Likewise.
32054         * math/w_sqrtf.c: Likewise.
32055         * math/w_sqrtl.c: Likewise.
32056         * math/w_tgamma.c: Likewise.
32057         * math/w_tgammaf.c: Likewise.
32058         * math/w_tgammal.c: Likewise.
32060         * po/ja.po: Update from translation team.
32062 2011-09-29  Andreas Jaeger  <aj@suse.de>
32064         [BZ #13179]
32065         * sunrpc/netname.c (netname2host): Fix logic.
32067         [BZ #6779]
32068         [BZ #6783]
32069         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
32070         correctly.
32071         * math/w_remainder.c (__remainder): Likewise.
32072         * math/w_remainderf.c (__remainderf): Likewise.
32073         * math/libm-test.inc (remainder_test): Add test cases.
32075 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32077         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
32078         sdiv_qrnnd.
32080 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
32082         * string/test-memcmp.c: Avoid unncessary #defines.
32083         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32085 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32087         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
32088         Use new sse2 version for core i3 - i7 as it's faster
32089         than sse42 version.
32090         (bit_Prefer_PMINUB_for_stringop): New.
32091         * sysdeps/x86_64/rawmemchr.S: Update.
32092         Replace with faster SSE2 version.
32093         * sysdeps/x86_64/memrchr.S: New file.
32094         * sysdeps/x86_64/memchr.S: Update.
32095         Replace with faster SSE2 version.
32097 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
32099         * elf/dl-load.c (lose): Add cast to avoid warning.
32101 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
32103         * po/ca.po: Update from translation team.
32105         * inet/getnetgrent_r.c: Hook up nscd.
32106         * nscd/Makefile (routines): Add nscd_netgroup.
32107         (nscd-modules): Add netgroupcache.
32108         (CFLAGS-netgroupcache.c): Define.
32109         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
32110         (cache_search): Add const to second parameter.
32111         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
32112         INNETGR.
32113         (dbs): Add netgrdb entry.
32114         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
32115         (verify_persistent_db): Handle netgrdb.
32116         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
32117         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
32118         GETFDNETGR.
32119         (netgroup_response_header): Define.
32120         (innetgroup_response_header): Define.
32121         (datahead): Add netgroup_response_header and innetgroup_response_header
32122         elements.
32123         * nscd/nscd.conf: Add entries for netgroup cache.
32124         * nscd/nscd.h (dbtype): Add netgrdb.
32125         (_PATH_NSCD_NETGROUP_DB): Define.
32126         (netgroup_iov_disabled): Declare.
32127         (xmalloc, xcalloc, xrealloc): Move declarations here.
32128         (cache_search): Adjust prototype.
32129         Add netgroup-related prototypes.
32130         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
32131         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
32132         (__nscd_innetgr): Declare.
32133         * nscd/selinux.c (perms): Use access_vector_t as element type and
32134         add netgroup-related initializers.
32135         * nscd/netgroupcache.c: New file.
32136         * nscd/nscd_netgroup.c: New file.
32137         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
32138         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
32139         For four parameters use innetgr.
32140         * nss/nss_files/files-init.c: Add definition and callback for netgr.
32141         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
32142         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
32143         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
32145         * nscd/connections.c (register_traced_file): Don't register file
32146         for disabled databases.
32148 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
32150         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
32152         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
32153         from tree and freeing node.
32155 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
32157         * nss/nsswitch.c (__nss_database_lookup): Handle
32158         nss_parse_service_list out of memory case.
32160 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
32162         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
32163         out of memory case.
32165 2011-10-04  Andreas Schwab  <schwab@redhat.com>
32167         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
32168         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
32169         pass it down.
32170         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
32171         elf_machine_rela, elf_machine_lazy_rel.
32172         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
32173         (ELF_DYNAMIC_DO_REL): Likewise.
32174         (ELF_DYNAMIC_DO_RELA): Likewise.
32175         (ELF_DYNAMIC_RELOCATE): Likewise.
32176         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
32177         to ELF_DYNAMIC_DO_REL.
32178         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
32179         (dl_main): In trace mode always set __RTLD_NOIFUNC.
32180         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
32181         elf_machine_rela.
32182         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
32183         skip_ifunc, don't call ifunc function if non-zero.
32184         (elf_machine_rela): Likewise.
32185         (elf_machine_lazy_rel): Likewise.
32186         (elf_machine_lazy_rela): Likewise.
32187         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
32188         (elf_machine_lazy_rel): Likewise.
32189         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
32190         Likewise.
32191         (elf_machine_lazy_rel): Likewise.
32192         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32193         Likewise.
32194         (elf_machine_lazy_rel): Likewise.
32195         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
32196         (elf_machine_lazy_rel): Likewise.
32197         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
32198         (elf_machine_lazy_rel): Likewise.
32199         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32200         (elf_machine_lazy_rel): Likewise.
32201         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
32202         (elf_machine_lazy_rel): Likewise.
32203         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
32204         (elf_machine_lazy_rel): Likewise.
32205         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32206         (elf_machine_lazy_rel): Likewise.
32208 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
32210         * nss/nss_files/files-init.c (_nss_files_init): Use static
32211         initialization for all the *_traced_file variables.
32213 2011-09-28  Andreas Schwab  <schwab@redhat.com>
32215         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32217 2011-09-27  Roland McGrath  <roland@hack.frob.com>
32219         [BZ #13226]
32220         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
32222 2011-09-27  Andreas Schwab  <schwab@redhat.com>
32224         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32225         Reread the line before reparsing it.
32227 2011-09-26  Andreas Schwab  <schwab@redhat.com>
32229         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
32231 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
32232             Maxim Kuvyrkov  <maxim@codesourcery.com>
32233             Joseph Myers  <joseph@codesourcery.com>
32235         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
32236         if needed for __stack_chk_guard.
32238 2011-09-19  Roland McGrath  <roland@hack.frob.com>
32240         * sysdeps/posix/spawni.c (script_execute): Always define it.
32241         It will be optimized away if unused.
32242         (maybe_script_execute): New function.
32243         (__spawni): Call it.
32245         * Makerules: Don't include tls.make.
32246         (config-tls): Always set to thread.
32247         * tls.make.c: File removed.
32249 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
32251         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
32252         * config.make.in (CPPFLAGS-config): New substituted variable.
32254 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
32256         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
32258         [BZ #13192]
32259         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
32260         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
32262 2011-09-15  Roland McGrath  <roland@hack.frob.com>
32264         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
32265         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
32266         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32267         (CALL_FAIL): Likewise.
32268         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
32269         (CALL_FAIL): Macro removed.
32270         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
32272 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
32274         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
32275         for __FINITE_MATH_ONLY__ == 1.
32277 2011-09-15  Andreas Schwab  <schwab@redhat.com>
32279         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
32280         __ieee754_sqrt instead of sqrt.
32281         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
32282         __ieee754_sqrtf instead of sqrtf.
32283         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
32284         __floorf instead of floorf.
32285         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
32286         __floorf, __truncf instead of floorf, truncf.
32288 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
32290         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
32292         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
32293         __extern_always_inline.
32294         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
32295         32-bit.
32297 2011-09-14  Andreas Schwab  <schwab@redhat.com>
32299         * elf/rtld.c (dl_main): Also relocate in dependency order when
32300         doing symbol dependency testing.
32302 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
32304         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32305         Always define `refsym'.
32307 2011-09-13  Andreas Schwab  <schwab@redhat.com>
32309         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
32310         (__FD_ELT): Renamed from __FDELT.
32311         * misc/bits/select2.h (__FD_ELT): Likewise.
32312         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
32313         __FD_MASK instead of __FDELT, __FDMASK.
32314         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32315         Likewise.
32316         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32317         Likewise.
32319         * elf/Makefile (gen-ldd): Fix pattern.
32321         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
32322         (init_tls): Likewise.
32324 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
32326         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
32328 2011-09-12  Andreas Schwab  <schwab@redhat.com>
32330         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
32331         `struct cmsghdr *' instead of `void *'.
32332         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
32333         Likewise.
32335 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
32337         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
32338         if non-absolute.
32339         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
32340         ldd_rewrite_script.
32342 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
32344         * configure.in: Remove --with-tls option.
32345         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
32346         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
32347         out in case it is missing.
32348         * sysdeps/ia64/elf/configure.in: Likewise.
32349         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
32350         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
32351         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
32352         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
32353         * sysdeps/sh/elf/configure.in: Likewise.
32354         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
32355         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
32356         * sysdeps/x86_64/elf/configure.in: Likewise.
32357         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
32358         * sysdeps/mach/hurd/tls.h: Likewise.
32360         [BZ #13067]
32361         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
32363         [BZ #13090]
32364         * configure.in: Fix use of AC_INIT.
32366         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
32368 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
32370         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
32371         __set_errno.
32372         * malloc/hooks.c: Likewise.
32374         [BZ #11929]
32375         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
32376         variables statically.
32377         (narenas): Initialize.
32378         (list_lock): Initialize.
32379         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
32380         initializtion of main_arena and list_lock.  Small cleanups.
32381         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
32382         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
32383         Add initializers to main_arena and mp_.
32384         (malloc_state): Remove pagesize member.  Change all users to use
32385         GLRO(dl_pagesize).
32387         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
32388         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
32389         is always initialized.
32391         * malloc/malloc.c: Removed unused configurations and dead code.
32392         * malloc/arena.c: Likewise.
32393         * malloc/hooks.c: Likewise.
32394         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
32396         * include/tls.h: Removed.  USE___THREAD must always be defined.
32397         * bits/libc-tsd.h: Don't handle !USE___THREAD.
32398         * elf/dl-libc.c: Likewise.
32399         * elf/dl-tsd.c: Likewise.
32400         * include/errno.h: Likewise.
32401         * include/netdb.h: Likewise.
32402         * include/resolv.h: Likewise.
32403         * inet/herrno-loc.c: Likewise.
32404         * inet/herrno.c: Likewise.
32405         * malloc/arena.c: Likewise.
32406         * malloc/hooks.c: Likewise.
32407         * malloc/malloc.c: Likewise.
32408         * resolv/res-state.c: Likewise.
32409         * resolv/res_libc.c: Likewise.
32410         * sysdeps/i386/dl-machine.h: Likewise.
32411         * sysdeps/ia64/dl-machine.h: Likewise.
32412         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
32413         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32414         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
32415         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
32416         * sysdeps/sh/dl-machine.h: Likewise.
32417         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32418         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32419         * sysdeps/unix/i386/sysdep.S: Likewise.
32420         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32421         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
32422         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
32423         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32424         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
32425         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32426         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32427         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32428         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32429         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32430         * sysdeps/unix/x86_64/sysdep.S: Likewise.
32431         * sysdeps/x86_64/dl-machine.h: Likewise.
32432         * tls.make.c: Likewise.
32434         * configure.in: Remove --with-__thread option.  Make tests for
32435         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
32436         tls_model attribute fail if no support is available.  Remove
32437         USE_IN_LIBIO.
32438         * Makeconfig: Adjust for dropped configure option.  All features are
32439         now mandatory.
32440         * Makerules: Likewise.
32441         * Versions.def: Likewise.
32442         * argp/argp-fmtstream.c: Likewise.
32443         * argp/argp-fmtstream.h: Likewise.
32444         * argp/argp-help.c: Likewise.
32445         * assert/assert.c: Likewise.
32446         * config.h.in: Likewise.
32447         * config.make.in: Likewise.
32448         * configure: Likewise.
32449         * configure.in: Likewise.
32450         * csu/Versions: Likewise.
32451         * csu/init.c: Likewise.
32452         * elf/tst-audit2.c: Likewise.
32453         * elf/tst-tls10.c: Likewise.
32454         * elf/tst-tls10.h: Likewise.
32455         * elf/tst-tls11.c: Likewise.
32456         * elf/tst-tls12.c: Likewise.
32457         * elf/tst-tls14.c: Likewise.
32458         * elf/tst-tlsmod11.c: Likewise.
32459         * elf/tst-tlsmod12.c: Likewise.
32460         * elf/tst-tlsmod13.c: Likewise.
32461         * elf/tst-tlsmod13a.c: Likewise.
32462         * elf/tst-tlsmod14a.c: Likewise.
32463         * elf/tst-tlsmod15b.c: Likewise.
32464         * elf/tst-tlsmod16a.c: Likewise.
32465         * elf/tst-tlsmod16b.c: Likewise.
32466         * elf/tst-tlsmod7.c: Likewise.
32467         * elf/tst-tlsmod8.c: Likewise.
32468         * elf/tst-tlsmod9.c: Likewise.
32469         * gmon/gmon.c: Likewise.
32470         * grp/fgetgrent_r.c: Likewise.
32471         * grp/putgrent.c: Likewise.
32472         * hurd/fopenport.c: Likewise.
32473         * include/libc-symbols.h: Likewise.
32474         * include/tls.h: Likewise.
32475         * intl/gettextP.h: Likewise.
32476         * intl/loadinfo.h: Likewise.
32477         * locale/global-locale.c: Likewise.
32478         * locale/localeinfo.h: Likewise.
32479         * mach/devstream.c: Likewise.
32480         * malloc/arena.c: Likewise.
32481         * malloc/set-freeres.c: Likewise.
32482         * misc/err.c: Likewise.
32483         * misc/getttyent.c: Likewise.
32484         * misc/mntent_r.c: Likewise.
32485         * posix/getopt.c: Likewise.
32486         * posix/wordexp.c: Likewise.
32487         * pwd/fgetpwent_r.c: Likewise.
32488         * resolv/Versions: Likewise.
32489         * resolv/res_hconf.c: Likewise.
32490         * shadow/fgetspent_r.c: Likewise.
32491         * shadow/putspent.c: Likewise.
32492         * stdio-common/printf_fphex.c: Likewise.
32493         * stdio-common/tmpfile.c: Likewise.
32494         * stdlib/abort.c: Likewise.
32495         * stdlib/fmtmsg.c: Likewise.
32496         * sunrpc/auth_unix.c: Likewise.
32497         * sunrpc/clnt_perr.c: Likewise.
32498         * sunrpc/clnt_tcp.c: Likewise.
32499         * sunrpc/clnt_udp.c: Likewise.
32500         * sunrpc/clnt_unix.c: Likewise.
32501         * sunrpc/openchild.c: Likewise.
32502         * sunrpc/svc_simple.c: Likewise.
32503         * sunrpc/svc_tcp.c: Likewise.
32504         * sunrpc/svc_udp.c: Likewise.
32505         * sunrpc/svc_unix.c: Likewise.
32506         * sunrpc/xdr.c: Likewise.
32507         * sunrpc/xdr_array.c: Likewise.
32508         * sunrpc/xdr_rec.c: Likewise.
32509         * sunrpc/xdr_ref.c: Likewise.
32510         * sunrpc/xdr_stdio.c: Likewise.
32512 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
32514         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32516 2011-07-03  Andreas Jaeger  <aj@suse.de>
32518         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
32519         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
32520         regenerate with gen-libm-tests.pl.
32522 2010-05-12  Petr Baudis  <pasky@suse.cz>
32524         [BZ #11589]
32525         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
32526         around j0() zero points by switching to j1().
32527         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32528         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32529         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32530         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32532 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
32534         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
32535         instead of 0.
32536         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
32537         instead of 0.
32538         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32539         Patch in part by Pavel Roskin <proski@gnu.org>.
32541         [BZ #13138]
32542         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
32543         realloc.
32544         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
32545         Free memory block if necessary.
32547         [BZ #12847]
32548         * libio/genops.c (INTDEF): For string streams the _lock pointer can
32549         be NULL.  Don't lock in this case.
32551 2011-09-09  Roland McGrath  <roland@hack.frob.com>
32553         * elf/elf.h (ELFOSABI_GNU): New macro.
32554         (ELFOSABI_LINUX): Define to that.
32556 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
32558         * string/strncat.c (strncat): Undef the symbol in case it has been
32559         defined in bits/string.h.
32561 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
32563         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
32565         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
32566         link map.
32568 2011-08-17  Andreas Jaeger  <aj@suse.de>
32570         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
32572 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
32573             Ian Lance Taylor  <iant@google.com>
32575         * math/libm-test.inc (lround_test): New testcase.
32576         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
32578 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
32580         * Makefile: Remove support for automatic cvs check-ins.
32581         * Makerules: Likewise.
32582         * config.make.in: Likewise.
32583         * configure.in: Likewise.
32584         * intl/Makefile: Likewise.
32585         * locale/Makefile: Likewise.
32586         * po/Makefile: Likewise.
32587         * posix/Makefile: Likewise.
32588         * sysdeps/gnu/Makefile: Likewise.
32589         * sysdeps/mach/hurd/Makefile: Likewise.
32590         * sysdeps/sparc/sparc32/Makefile: Likewise.
32592         [BZ #13118]
32593         * posix/Makefile (bug-regex32-ENV): Define.
32594         Patch by John Stanley <jpsinthemix@verizon.net>.
32596         * misc/Makefile (headers): Add bits/select2.h.
32597         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
32598         * misc/bits/select2.h: New file.
32599         * include/bits/select2.h: New file.
32600         * debug/Makefile (routines): Add fdelt_chk.
32601         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
32602         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
32603         FD_ISSET.
32604         * debug/fdelt_chk.c: New file.
32606         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
32607         * wcsmbs/test-wmemcmp.c: Likewise.
32608         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
32609         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
32611 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32613         * string/Makefile (strop-tests): Add memcmp.
32614         * string/test-wmemcmp.c: New file.
32615         * string/test-memcmp.c: Add wmemcmp support.
32617 2011-09-08  Roland McGrath  <roland@hack.frob.com>
32619         [BZ #13153]
32620         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
32621         2011-07-19 change.
32623         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
32624         garbage value in a __mach_port_mod_refs call in the cases of the
32625         task-self and thread-self ports.
32627 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32629         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
32631 2011-09-08  Andreas Schwab  <schwab@redhat.com>
32633         * elf/dl-load.c (lose): Check for non-null L.
32635 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
32637         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
32639         * elf/dl-libc.c (dlerror_run): Pass back error code from
32640         dl_catch_error.
32642         [BZ #13123]
32643         * elf/dl-load.c (lose): Free l_origin if it is valid.
32645         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
32646         names.
32647         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
32648         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32649         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32650         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32651         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
32652         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
32654 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32656         * sysdeps/powerpc/fpu/e_hypot.c: New file.
32657         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
32658         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
32659         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
32660         * sysdeps/powerpc/fpu/k_cosf.c: New file.
32661         * sysdeps/powerpc/fpu/k_sinf.c: New file.
32662         * sysdeps/powerpc/fpu/s_cosf.c: New file.
32663         * sysdeps/powerpc/fpu/s_sinf.c: New file.
32664         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
32665         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
32667 2011-08-15  Alan Modra  <amodra@gmail.com>
32669         [BZ #13092]
32670         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
32671         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
32672         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
32673         ppc_mcount to static-only-routines.
32674         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
32675         __mcount_internal.
32676         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
32677         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
32679 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
32681         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
32682         for finite and infinity parameters.
32684 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
32686         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
32687         and add nop instructions for throughput optimization.
32688         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32690 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
32692         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
32693         aligned copy for power7 with vector-scalar instructions.
32694         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
32696 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
32698         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
32699         AVX check.
32701 2011-09-07  Andreas Schwab  <schwab@redhat.com>
32703         [BZ #13144]
32704         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
32705         last change.
32707 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
32709         * sysdeps/unix/sysv/linux/x86_64/init-first.c
32710         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
32711         syscall wrapper around clock_gettime in __vdso_clock_gettime.
32712         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
32713         clock_gettime.
32715 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
32717         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
32718         Forgot to demangle the pointer.
32720         * sysdeps/i386/sysdep.h: Define atom_text_section.
32721         * sysdeps/x86_64/sysdep.h: Likewise.
32722         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
32723         section with atom_text_section.
32724         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32725         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32726         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
32727         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32728         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
32730         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
32731         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
32732         already be defined.  Change to take two parameters and don't assign
32733         result to variable.  Adjust all users.
32734         Define INTERNAL_GETTIME if not already defined.
32735         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
32736         call.
32737         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
32738         HAVE_CLOCK_GETTIME_VSYSCALL.
32739         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
32741         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
32742         gettimeofday vsyscall, just use time.
32744 2011-09-06  Andreas Schwab  <schwab@redhat.com>
32746         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
32747         <errno.h>.
32749 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
32751         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
32752         syscall on x86-64.
32753         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
32754         syscall.
32755         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
32756         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
32757         syscall if possible.
32759 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
32761         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
32762         e_ident.  Don't pass to find_mapsXX.
32763         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
32765 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32767         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32768         strchr-sse2-no-bsf strrchr-sse2-no-bsf
32769         * sysdeps/x86_64/multiarch/strchr.S: Update.
32770         Check bit_slow_BSF bit.
32771         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32772         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
32773         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
32775 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
32777         [BZ #13134]
32778         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
32779         before glibc 2.15.
32780         (tryshell): Define.
32781         (__spawni): Change last parameter to be flag.  Test
32782         SPAWN_XFLAGS_USE_PATH flag to use path or not.
32783         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
32784         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
32785         * posix/spawni.c: Likewise.
32786         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
32787         * posix/spawnp.c: Likewise.  Change normal version to use
32788         SPAWN_XFLAGS_USE_PATH.
32789         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
32790         SPAWN_XFLAGS_TRY_SHELL.
32792         [BZ #13150]
32793         * posix/glob.h: Remove gcc 1.x support.
32795         [BZ #13068]
32796         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
32798 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32800         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32801         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
32802         strrchr-sse2-bsf
32803         * sysdeps/i386/i686/multiarch/strchr.S: New file.
32804         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
32805         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
32806         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
32807         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
32808         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
32810 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32812         * sysdeps/x86_64/wcscmp.S: New file.
32814         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
32815         wcscmp-c wcscmp-sse2
32816         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
32817         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
32818         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
32819         * wcsmbs/wcscmp.c: Allow renaming.
32821 2011-09-05  David S. Miller  <davem@davemloft.net>
32823         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
32824         stack slot, rather than the struct return pointer slot.
32825         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
32826         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
32827         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
32828         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
32830 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
32832         * po/ja.po: Update from translation team.
32834         [BZ #13144]
32835         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
32836         kernel in 64-bit binaries.
32838 2011-09-01  David S. Miller  <davem@davemloft.net>
32840         * elf/elf.h (HWCAP_SPARC_*): Move to..
32841         * sysdeps/sparc/sysdep.h: this new file and add new values.
32842         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
32843         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
32844         _DL_HWCAP_COUNT to 24.
32845         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32846         entries.
32847         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
32848         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
32849         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
32850         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
32851         instead of magic constants.
32852         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32854 2011-08-31  David S. Miller  <davem@davemloft.net>
32856         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
32857         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
32858         Reimplement to do errno handling inline.
32859         (SYSCALL_ERROR_HANDLER): New macro.
32860         (__SYSCALL_STRING): Do not do errno handling in asm.
32861         (__CLONE_SYSCALL_STRING): Delete.
32862         (__INTERNAL_SYSCALL_STRING): Delete.
32863         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
32864         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
32865         (PSEUDO): Reimplement to do errno handling inline.
32866         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
32867         (SYSCALL_ERROR_HANDLER): New macro.
32868         (__SYSCALL_STRING): Do not do errno handling in asm.
32869         (__CLONE_SYSCALL_STRING): Delete.
32870         (__INTERNAL_SYSCALL_STRING): Delete.
32871         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
32872         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
32873         i386.
32874         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
32875         (inline_syscall*): Add 'err' argument.
32876         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
32877         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
32878         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
32879         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
32881         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
32882         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32884 2011-08-30  Andreas Schwab  <schwab@redhat.com>
32886         * elf/rtld.c (dl_main): Relocate objects in dependency order.
32888 2011-08-29  Jiri Olsa <jolsa@redhat.com>
32890         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
32891         directive.
32893 2011-08-24  David S. Miller  <davem@davemloft.net>
32895         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
32897 2011-08-24  Andreas Schwab  <schwab@redhat.com>
32899         * elf/Makefile: Add rules to build and run unload8 test.
32900         * elf/unload8.c: New file.
32901         * elf/unload8mod1.c: New file.
32902         * elf/unload8mod1x.c: New file.
32903         * elf/unload8mod2.c: New file.
32904         * elf/unload8mod3.c: New file.
32906         * elf/dl-close.c (_dl_close_worker): Reset private search list if
32907         it wasn't used.
32909 2011-08-23  David S. Miller  <davem@davemloft.net>
32911         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
32912         subtract stack bias.
32913         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
32914         %sp not %fp in calculations.
32915         (_JMPBUF_UNWINDS_ADJ): Likewise.
32917         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
32918         (aio_suspend): Call it to force an exception region around the
32919         AIO_MISC_WAIT() invocation.
32921 2011-08-23  Andreas Schwab  <schwab@redhat.com>
32923         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
32924         backslash.
32926 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
32928         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
32929         protection macro.
32930         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
32931         and <dl-machine.h>.
32932         (Elf64_FuncDesc): Remove.
32934 2011-08-22  David S. Miller  <davem@davemloft.net>
32936         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
32937         sigaltstack check, add missing cfi directives.
32938         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
32939         missing cfi directives, and sigaltstack handling.
32941 2011-08-16  Andreas Schwab  <schwab@redhat.com>
32943         [BZ #11724]
32944         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
32945         object is seen twice.
32946         * elf/dl-fini.c (_dl_sort_fini): Likewise.
32948         * elf/Makefile (distribute): Add tst-initorder2.c.
32949         (tests): Add tst-initorder2.
32950         (modules-names): Add tst-initorder2a tst-initorder2b
32951         tst-initorder2c tst-initorder2d.  Add rules to build them.
32952         ($(objpfx)tst-initorder2.out): New rule.
32953         * elf/tst-initorder2.c: New file.
32954         * elf/tst-initorder2.exp: New file.
32956 2011-08-22  Andreas Schwab  <schwab@redhat.com>
32958         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
32960         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
32961         dependencies back to end of function.
32963         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32964         $(elfobjdir)/ld.so.
32966 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
32968         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
32969         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
32970         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
32971         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
32972         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
32973         of __vdso_gettimeofday.
32974         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
32975         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
32976         attribute_hidden.
32977         (_libc_vdso_platform_setup): Remove initialization of
32978         __vdso_gettimeofday and __vdso_time.
32980 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
32982         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
32983         and fgetc_unlocked.
32984         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
32985         getc_unlocked.
32987         * elf/dl-open.c (add_to_global): Report additions to the global scope
32988         for LD_DEBUG=scopes.
32989         (dl_open_worker): Also print scope of newly loaded dependencies.
32990         (_dl_show_scope): Indicate if there is no scope.
32992         [BZ #13114]
32993         * stdio-common/Makefile (tests): Add bug24.
32994         * stdio-common/bug24.c: New file.
32996 2011-08-19  Andreas Jaeger  <aj@suse.de>
32998         [BZ #13114]
32999         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
33000         non-existant file when using close-on-exec mode.
33002 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
33004         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
33005         the very first instruction.
33007         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
33008         the CFI state in the end.
33009         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
33010         inclusion of dl-trampoline.h.
33011         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
33013 2011-08-19  Andreas Schwab  <schwab@redhat.com>
33015         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
33016         expectations for long double.
33018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
33019         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
33021 2011-08-14  David S. Miller  <davem@davemloft.net>
33023         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
33024         artificual limit depends upon the system page size.
33026 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
33028         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
33029         * resolv/Makefile: Define CFLAGS-libresolv.
33031 2011-08-17  Andreas Schwab  <schwab@redhat.com>
33033         * nss/makedb.c (compute_tables): Make variables used in nested
33034         function static.
33036 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
33038         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
33039         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
33040         if buffer was too small.
33042         * elf/pldd.c (main): Attach to all threads in the process.
33043         Rewrite /proc handling to use *at functions.
33045 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
33047         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
33048         specifies first scope to show.
33049         (dl_open_worker): Update callers.  Move printing scope of new
33050         object to before the relocation.
33051         * elf/rtld.c (dl_main): Update _dl_show_scope call.
33052         * sysdeps/generic/ldsodefs.h: Update declaration.
33054         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
33055         string for the scope number.
33057 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
33059         * nscd/servicescache.c (cache_addserv): Make sure written is always
33060         initialized.
33062 2011-08-14  Roland McGrath  <roland@hack.frob.com>
33064         * sysdeps/i386/i486/bits/atomic.h
33065         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
33066         statement expression, so as to suppress "set but not used" warning.
33067         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
33069         * string/strncat.c (STRNCAT): Use prototype definition.
33071         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
33072         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
33073         -Iprograms here.
33074         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
33075         (localedef-modules): Add localedef.
33076         (locale-modules): Add locale.
33078         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
33079         * elf/rtld.c (dl_main): Invert order of assignment in last change,
33080         to avoid a warning.
33082 2011-08-14  David S. Miller  <davem@davemloft.net>
33084         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
33085         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
33087 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
33089         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
33090         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
33091         * elf/rtld.c (dl_main): Set l_name of vDSO.
33092         Call _dl_show_scope when DL_DEBUG_SCOPES.
33093         (process_dl_debug): Recognize scopes flag and also set it for all.
33094         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
33095         Declare _dl_show_scope.
33097         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
33098         (do_dlopen): Pass caller_dlopen to dl_open.
33099         (__libc_dlopen_mode): Initialize caller_dlopen.
33101         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
33102         of libc.  Make tolower call locale-independent.  Optimize a bit by
33103         using isdigit instead of isalnum.
33104         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
33106 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
33108         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
33109         was a dependency or dynamically loaded.
33111 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
33113         * intl/l10nflist.c: Allow architecture-specific pop function.
33114         * sysdeps/x86_64/l10nflist.c: New file.
33116         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
33117         classification.
33119 2011-08-10  Andreas Schwab  <schwab@redhat.com>
33121         * include/dirent.h: Add libc_hidden_proto for scandirat and
33122         scandirat64.  Don't declare __scandirat64.
33123         * dirent/scandirat.c: Add libc_hidden_def.
33124         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
33125         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
33127 2011-08-10  David S. Miller  <davem@davemloft.net>
33129         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
33130         enum.
33131         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33132         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33133         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33135 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
33137         * Versions.def [libc]: Add GLIBC_2.15.
33138         * dirent/Makefile (routines): Add scandirat and scandirat64.
33139         * dirent/Versions [libc]: Export scandirat and scandirat64 for
33140         GLIBC_2.15.
33141         * dirent/dirent.h: Declare scandirat and scandirat64.
33142         * dirent/scandirat.c: New file.
33143         * dirent/scandirat64.c: New file.
33144         * sysdeps/wordsize-64/scandirat.c: New file.
33145         * sysdeps/wordsize-64/scandirat64.c: New file.
33146         * dirent/opendir.c: Define opendirat.
33147         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
33148         using scandirat.
33149         * dirent/scandir64.c: Adjust for scandir.c change.
33150         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
33151         __scandirat64, and __scandir_cancel_handler.
33152         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
33153         additional parameter and use openat instead of open (outside of ld.so).
33154         Add new __opendir as wrapper around __opendirat.
33155         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
33156         here without requiring old scandirat implementation.
33158 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
33160         * dirent/scandir.c (cancel_handler): Renamed to
33161         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
33162         defined.  Adjust users.
33163         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
33164         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
33166 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
33168         * string/test-string.h (IMPL): Use __STRING to expand name and then
33169         stringify it.
33171         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
33172         of cleanups.
33174 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33176         * string/Makefile: Update.
33177         (strop-tests): Append strncat.
33178         * string/test-wcscmp.c: New file.
33179         New comprehensive test for wcscmp.
33180         * string/test-strcmp.c: Update.
33181         (WIDE): New define.
33183 2011-07-22  Andreas Schwab  <schwab@redhat.com>
33185         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
33186         line.
33188 2011-07-26  Andreas Schwab  <schwab@redhat.com>
33190         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33191         encoding to ACE if AI_IDN.
33193 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
33195         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
33196         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
33198 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33200         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
33201         Fix overflow bug in strncat.
33202         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
33204         * string/test-strncat.c: Update.
33205         Add new tests for checking overflow bugs.
33207 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33209         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33210         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
33211         * sysdeps/i386/i686/multiarch/strcat.S: New file.
33212         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
33213         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
33214         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
33215         * sysdeps/i386/i686/multiarch/strncat.S: New file.
33216         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
33217         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
33219         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
33220         (USE_AS_STRCAT): Define.
33221         Add strcat and strncat support.
33222         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33224 2011-07-25  Andreas Schwab  <schwab@redhat.com>
33226         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
33227         __n bigger than INT_MAX+1.
33228         (__strncmp_g): Likewise.
33230 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
33232         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
33233         * libio/stido.h: Likewise.
33235         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
33236         (AF_NFC): Define.
33237         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
33238         (AF_NFC): Define.
33240         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
33241         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33242         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33243         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33244         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33246         [BZ #13021]
33247         * scripts/test-installation.pl: Don't expect libnss_test1 to be
33248         installed.
33250         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
33251         typo.
33252         (_dl_x86_64_save_sse): Likewise.
33254 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
33256         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
33257         OSXSAVE.
33258         (_dl_x86_64_save_sse): Likewise.
33260         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
33262         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
33264 2011-07-21  Andreas Schwab  <schwab@redhat.com>
33266         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
33267         change.
33268         (_dl_x86_64_save_sse): Use correct AVX check.
33270 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33272         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
33273         bug in strncpy/strncat.
33274         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
33276 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
33278         * string/tester.c (test_strcat): Add tests for different alignments
33279         of source and destination.
33280         (test_strncat): Likewise.
33282 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
33284         [BZ #12852]
33285         * posix/glob.c (glob): Check passed in values before using them in
33286         expressions to avoid some overflows.
33287         (glob_in_dir): Likewise.
33289         [BZ #13007]
33290         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
33291         check for AVX enablement so that we don't crash with old kernels and
33292         new hardware.
33293         * elf/tst-audit4.c: Add same checks here.
33294         * elf/tst-audit6.c: Likewise.
33296         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
33298 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
33300         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
33302 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
33304         * po/cs.po: Update from translation team.
33305         * po/bg.po: Likewise.
33307 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
33309         * misc/sys/cdefs.h: Add support for const attribute.
33310         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
33311         to gnu_dev_{major,minor,makedev} functions.
33313 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
33315         * intl/dcigettext.c (get_output_charset): Add missing bracket.
33317 2011-07-20  Andreas Schwab  <schwab@redhat.com>
33319         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
33320         strlen results.
33322 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33324         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
33325         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
33326         register in order to avoid conflicts with the soft frame pointer
33327         being held in r11 when necessary.
33328         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
33329         (INTERNAL_VSYSCALL_NCS): Likewise.
33331 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
33333         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
33334         * elf/dl-fini.c (_dl_fini): Adjust caller.
33335         * elf/dl-close.c (_dl_close_worker): Likewise.
33336         * sysdeps/generic/ldsodefs.h: Adjust declaration.
33338 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
33340         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
33341         "aux_cache->nlibs < 0".
33343         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
33344         in the reload-count case.
33346 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33348         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33349         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
33350         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
33351         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
33352         * sysdeps/x86_64/multiarch/strcat.S: New file.
33353         * sysdeps/x86_64/multiarch/strncat.S: New file.
33354         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
33355         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
33356         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
33357         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
33358         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
33359         (USE_AS_STRCAT): Define.
33360         Add strcat and strncat support.
33361         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33362         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33363         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
33364         * string/strncat.c: Update.
33365         (USE_AS_STRNCAT): Define.
33366         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33367         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
33368         and i7.
33369         * sysdeps/x86_64/multiarch/init-arch.h
33370         (bit_Prefer_PMINUB_for_stringop): New.
33371         (index_Prefer_PMINUB_for_stringop): Likewise.
33372         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
33373         bit_Prefer_PMINUB_for_stringop.
33375 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
33377         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
33378         buffer64.
33379         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
33380         of casting of buffer.
33381         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
33382         buffer32 and buffer64.
33383         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
33384         writes instead of casting of buffer.
33385         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
33386         buffer32.
33387         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
33388         casting of buffer.
33390 2011-07-19  Andreas Schwab  <schwab@redhat.com>
33392         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
33394 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
33396         * nscd/nscd.c (termination_handler): Don't do anything for a database
33397         if it has not yet been initialized.
33399 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
33401         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33403 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
33405         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33407 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
33409         * po/nl.po: Update from translation team.
33410         * po/sv.po: Likewise.
33412 2011-07-16  Roland McGrath  <roland@hack.frob.com>
33414         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
33415         now disallowed by GCC.
33417         * configure.in (use-default-link): Default to yes if a test -shared
33418         link meets our qualifications.
33419         * configure: Regenerated.
33421         * config.make.in (output-format): New variable.
33422         * configure.in: Check for ld --print-output-format support.
33423         * configure: Regenerated.
33424         * Makerules ($(common-objpfx)format.lds)
33425         [$(output-format) != unknown]: Just use $(output-format),
33426         instead of the linker-script munging.
33428 2011-07-14  Roland McGrath  <roland@hack.frob.com>
33430         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
33431         of $(common-objpfx)shlib.lds.
33432         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
33434         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
33435         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
33437         * configure.in (-z relro check): Adjust test code to add a large
33438         writable data section after it.
33439         * configure: Regenerated.
33441 2011-07-11  Roland McGrath  <roland@hack.frob.com>
33443         * configure.in (-z relro check): Fix test code to make the variable
33444         truly const.
33445         * configure: Regenerated.
33447 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
33449         * nscd/nscd.h (struct traced_file): Define.
33450         (struct database_dyn): Remove inotify_descr, reset_res, and filename
33451         elements.  Add traced_files.
33452         (inotify_fd): Declare.
33453         (register_traced_file): Declare.
33454         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
33455         (inotify_fd): Export.
33456         (resolv_conf_descr): Remove.
33457         (nscd_init): Move inotify descriptor creation to main.
33458         Don't register files for notification here.
33459         (register_traced_file): New function.
33460         (invalidate_cache): Don't use reset_res to determine whether to call
33461         res_init, go through the list of registered files.
33462         (main_loop_poll): The inotify descriptors are now stored in the
33463         structures for the traced files.
33464         (main_loop_epoll): Likewise
33465         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
33466         to __nss_disable_nscd.
33467         * nscd/cache.c (prune_cache): There is no single inotify descriptor
33468         for a database anymore.  Check the records for all the registered
33469         files instead.
33470         * nss/Makefile (libnss_files-routines): Add files-init.
33471         (libnss_db-routines): Add db-init.
33472         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
33473         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
33474         * nss/nss_db/db-init.c: New file.
33475         * nss/nss_files/files-init.c: New file.
33476         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
33477         __nss_lookup_function.
33478         (__nss_lookup_function): Call nss_load_library.
33479         (nss_load_all_libraries): New function.
33480         (__nss_disable_nscd): Take parameter with callback function for files
33481         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
33482         used for the cached services.
33483         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
33484         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
33485         options for features to all the files in nscd.
33487         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
33489 2011-07-10  Roland McGrath  <roland@hack.frob.com>
33491         * csu/elf-init.c (__libc_csu_init): Comment typo.
33493 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
33495         * po/pl.po: Update from translation team.
33496         * po/ja.po: Likewise.
33497         * po/ru.po: Likewise.
33498         * po/ko.po: Likewise.
33499         * po/fr.po: Likewise.
33501 2011-07-09  Roland McGrath  <roland@hack.frob.com>
33503         * configure.in (.ctors/.dtors header and trailer check):
33504         Use an empirical test on a built program.
33505         * configure: Regenerated.
33507         * configure.in (-z relro check): Use an empirical test on a built DSO.
33508         Detect, but do not require, on ia64.
33509         * configure: Regenerated.
33511         * configure.in (READELF): Find it with AC_CHECK_TOOL.
33512         Update tests that use readelf to use $READELF instead.
33513         * configure: Regenerated.
33515 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
33517         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
33518         if the result is not used.
33520 2011-07-05  Andreas Jaeger  <aj@suse.de>
33522         [BZ#9696]
33523         * stdlib/tst-strtod.c: Add testcase.
33525 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
33527         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
33528         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
33529         The latter has a higher limit.  Take additional parameter to pass to
33530         the new function.
33531         (__pathconf): Pass file to __statfs_link_max.
33532         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
33533         __statfs_link_max.
33534         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
33535         __statfs_link_max.
33537         [BZ #12868]
33538         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
33539         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33540         Handle Lustre.
33541         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
33542         (__statfs_filesize_max): Likewise.
33543         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
33545 2011-07-05  Andreas Jaeger  <aj@suse.de>
33547         * resolv/res_comp.c (dn_skipname): Remove unused variable.
33549 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
33551         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
33552         `status' variable.
33553         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
33554         Likewise.
33556 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
33558         * Makefile (strop-tests): Add strncat.
33559         * string/test-strncat.c: New file.
33561 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
33563         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
33565 2011-06-21  Andreas Jaeger  <aj@suse.de>
33567         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
33568         Copy rule from iconvdata/Makefile.
33570 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
33572         [BZ #12922]
33573         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
33574         but no long options are defined, just return 'W'.
33576 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
33578         [BZ #9696]
33579         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
33581 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
33583         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
33584         netgroups to read.
33585         (innetgr): Likewise.
33587 2011-07-05  Roland McGrath  <roland@hack.frob.com>
33589         * config.make.in (install_root): Default to $(DESTDIR).
33591 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
33593         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
33595 2011-07-02  Roland McGrath  <roland@hack.frob.com>
33597         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
33599         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
33600         containing directory rather than embedding absolute directory names.
33602         * scripts/check-local-headers.sh: Rewritten using awk.
33603         Match by word, not by line.  Print error messages for matches.
33604         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
33606         * Makerules [shlib-lds-flags empty]:
33607         ($(common-objpfx)libc_pic.opts): New target.
33608         ($(common-objpfx)libc_pic.os.clean): New target.
33609         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
33611         * config.make.in (OBJCOPY): New variable.
33612         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
33613         * configure: Regenerated.
33615         * config.make.in (use-default-link): New variable.
33616         * configure.in (use_default_link): Grok --with-default-link to set it.
33617         * configure: Regenerated.
33618         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
33619         (shlib-lds, shlib-lds-flags): Define to empty.
33621         * Makerules (shlib-lds): New variable.
33622         (shlib-lds-flags): New variable.
33623         (build-shlib, build-moduile, build-module-asneeded): Use it.
33624         ($(common-objpfx)libc.so): Use $(shlib-lds).
33625         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
33626         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
33628         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
33629         DT_FLAGS/DT_FLAGS_1 with zero flags.
33631         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
33632         linker script munging.
33634 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
33636         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
33637         as 128-bit value.
33638         * crypt/sha512.c (sha512_process_block): Perform total addition using
33639         128-bit if possible.
33640         (__sha512_finish_ctx): Likewise.
33641         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
33642         as 64-bit value.
33643         * crypt/sha256.c (SWAP64): Define.
33644         (sha256_process_block): Perform total addition using 64-bit if
33645         possible.
33646         (__sha256_finish_ctx): Likewise.
33648 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
33650         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
33651         * nscd/initgrcache.c (addinitgroupsX): Likewise.
33652         * nscd/hstcache.c (cache_addhst): Likewise.
33653         * nscd/grpcache.c (cache_addgr): Likewise.
33654         * nscd/aicache.c (addhstaiX): Likewise
33655         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
33657 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
33659         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
33660         * nscd/initgrcache.c (addinitgroupsX): Likewise.
33661         * nscd/hstcache.c (cache_addhst): Likewise.
33662         * nscd/grpcache.c (cache_addgr): Likewise.
33663         * nscd/aicache.c (addhstaiX): Likewise
33665 2011-07-01  Andreas Schwab  <schwab@redhat.com>
33667         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
33668         domain only when needed.
33670 2011-06-30  Andreas Schwab  <schwab@redhat.com>
33672         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
33673         is always restored.
33675 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
33677         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
33678         are re-adding the entry.
33679         * nscd/servicescache.c (cache_addserv): Likewise.
33681 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
33683         * sysdeps/generic/dl-irel.h: fix protection against multiple
33684         inclusions.
33685         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
33687 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
33689         [BZ #12935]
33690         * malloc/memusage.sh: Fix quoting in message.
33691         * debug/xtrace.sh: Likewise.
33693         * configure.in: Remove support for --experimental-malloc option, make
33694         it the default.
33695         * config.make.in: Likewise.
33696         * malloc/Makefile: Likewise.
33698 2011-06-27  Andreas Schwab  <schwab@redhat.com>
33700         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
33701         two-byte characters.
33703 2011-06-27  Roland McGrath  <roland@hack.frob.com>
33705         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
33706         AC_CACHE_CHECK invocation.
33707         * configure: Regenerated.
33709         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
33711 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
33713         [BZ #12350]
33714         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
33715         bit from old_res_options.
33717         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
33719         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
33720         value type for setfct.
33722 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
33724         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33725         __gettimeofday instead of gettimeofday.
33727 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
33729         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
33731 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
33733         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
33735         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
33736         info.
33738 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
33740         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33741         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33742         strcpy-sse2-unaligned strncpy-sse2-unaligned
33743         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
33744         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
33745         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
33746         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
33747         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
33748         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
33749         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
33750         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
33751         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
33752         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
33753         (STRCPY): Support SSE2 and SSSE3 versions.
33755 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
33757         [BZ #12874]
33758         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
33759         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
33760         kernels which artificially limit size of requests.
33762 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
33764         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33765         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33766         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
33767         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
33768         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
33769         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
33770         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
33771         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
33772         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
33773         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
33774         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
33775         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
33776         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
33777         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
33778         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
33779         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33780         Enable unaligned load optimization for Intel Core i3, i5 and i7
33781         processors.
33782         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
33783         Define.
33784         (index_Fast_Unaligned_Load): Define.
33785         (HAS_FAST_UNALIGNED_LOAD): Define.
33787 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
33789         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
33791 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
33793         [BZ #12907]
33794         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
33795         until it is clear that the information is realy needed.
33796         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
33798 2011-06-22  Andreas Schwab  <schwab@redhat.com>
33800         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
33802 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
33804         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33805         /sys/devices/system/cpu/online if it is usable.
33807         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
33808         reading the information from the /proc filesystem to once a second.
33810 2011-06-21  Andreas Jaeger  <aj@suse.de>
33812         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
33813         NULL after inclusion of kernel headers.
33815 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
33817         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
33818         calls to internal_setent.
33820         [BZ #12885]
33821         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
33822         addresses using gethostbyname4_r ignore IPv4 addresses.
33824         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
33825         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
33827         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
33829 2011-06-20  David S. Miller  <davem@davemloft.net>
33831         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
33832         inclusions.
33833         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
33835         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
33836         (elf_irel): Use it.
33837         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
33838         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
33839         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
33840         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
33841         * sysdeps/x86_64/dl-irel.h: Likewise.
33843         * elf/dl-runtime.c: Use elf_ifunc_invoke.
33844         * elf/dl-sym.c: Likewise.
33846 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
33848         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
33849         need to dereference resplen2.
33851 2011-06-14  Andreas Schwab  <schwab@redhat.com>
33853         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
33855 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
33857         * Makeconfig: Define vardbdir and inst_vardbdir.
33858         * nss/Makefile: Add rules to install db-Makefile.
33860         * nss/nss_db/db-XXX.c: Cleanup.
33862         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
33863         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
33864         GLIBC_PRIVATE.
33865         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
33866         * nss/makedb.c: Implement -g option to specify that value strings
33867         are generated and should not be added to table iterated over for
33868         get*ent calls.
33869         * nss/nss_db/db-initgroups.c: New file.
33871         * nss/getent.c: Add support for initgroups lookups through getgrouplist
33872         interface.
33874         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
33875         (internal_getgrouplist): Adjust to name change.
33876         Update use_initgroups_entry if this is not the first call.
33877         * nss/databases.def: Add initgroups entry.
33879         * nss/makedb.c (compute_tables): Check result of multiple hash table
33880         sizes to minimize maximum chain length.
33882 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
33884         * Versions.def: Add entry for libnss_db.
33885         * shlib-versions: Likewise.
33886         * nss/Makefile: Add rules to build libnss_db.
33887         * nss/Versions: Add libnss_db information.  Organize libnss_files
33888         entries better.
33889         * nss/db-Makefile: Add gshadow support.  Change rules for the new
33890         makedb progra.  Some minor improvements to generate smaller files.
33891         * nss/nss_db/nss_db.h: Move NSS database header data structures to
33892         here from...
33893         * nss/makedb.c: ...here.
33894         Improve database format to be smaller and require less memory at
33895         runtime.
33896         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
33897         db anymore.
33898         * nss/nss_db/db-netgrp.c: Likewise.
33899         * nss/nss_db/db-open.c: Likewise.
33900         * nss/nss_files/flies-XXX.x: Adjust comments.
33901         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
33902         * nss/nss_files/files-grp.c: Likewise.
33903         * nss/nss_files/files-hosts.c: Likewise.
33904         * nss/nss_files/files-network.c: Likewise.
33905         * nss/nss_files/files-proto.c: Likewise.
33906         * nss/nss_files/files-pwd.c: Likewise.
33907         * nss/nss_files/files-rpc.c: Likewise.
33908         * nss/nss_files/files-service.c: Likewise.
33909         * nss/nss_files/files-sgrp.c: Likewise.
33910         * nss/nss_files/files-spwd.c: Likewise.
33911         * nss/nss_db/db-alias.c: Removed.
33912         * nss/nss_db/dummy-db.h: Removed.
33914 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
33916         * nss/makedb.c: Rewritten to not use database library.
33917         * nss/Makefile: Update to build new makedb program.
33919 2011-06-14  Andreas Jaeger  <aj@suse.de>
33921         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
33922         memset declaration.
33924 2011-06-10  Andreas Schwab  <schwab@redhat.com>
33926         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
33927         tmpbuf.
33929 2011-06-10  Roland McGrath  <roland@hack.frob.com>
33931         * Makerules (shlib.lds): Fail if the linker script comes out empty.
33932         * elf/Makefile ($(objpfx)ld.so): Likewise.
33934         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
33935         Don't list ld.so twice in dependencies.
33937         * posix/bug-regex31.c: Include <stdlib.h>.
33939         * nscd/hstcache.c (cache_addhst): Remove unused variable.
33941         * nis/nss_compat/compat-spwd.c
33942         (getspent_next_nss_netgr): Remove unused variable.
33943         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
33945         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
33946         nonmembers" output to use the right array.
33948         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
33950         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
33952         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
33953         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
33954         * catgets/gencat.c (read_input_file): Likewise.
33955         * locale/programs/locarchive.c (enlarge_archive): Likewise.
33957         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
33958         variable definition inside #if's controlling its use.
33960         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
33962         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
33964         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
33966         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
33967         unreachable code.
33969         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
33971         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
33972         * configure: Regenerated.
33974         * Makerules: Revert last change.
33975         * elf/Makefile: Likewise.
33977 2011-06-09  Roland McGrath  <roland@hack.frob.com>
33979         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
33980         * elf/Makefile ($(objpfx)librtld.os): Likewise.
33981         (reloc-link): Likewise.
33983 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
33985         * elf/Makefile: Add rules to build pldd.
33986         * elf/pldd.c: New file.
33987         * elf/pldd-xx.c: New file.
33989 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
33991         * version.h: Update for 2.15 development version.
33993 2011-06-07  David S. Miller  <davem@davemloft.net>
33995         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
33996         ifuncs.
33997         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
33998         elf_machine_lazy_rel): Likewise.
33999         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
34000         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
34001         elf_machine_lazy_rel): Likewise.
34002         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
34003         dl_hwcap via passed in argument.
34004         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
34005         Likewise.
34007 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34009         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
34011 2011-06-06  Roland McGrath  <roland@hack.frob.com>
34013         [BZ #12849]
34014         * manual/fdl-1.1.texi: New file, verbatim from:
34015         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
34016         * manual/lgpl-2.1.texi: New file, verbatim from:
34017         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
34018         * manual/Makefile (licenses): New variable, list those new file names.
34019         (texis): Use it.
34020         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
34022         * manual/fdl.texi: File removed.
34023         * manual/lesser.texi: File removed.
34024         * manual/libc.texinfo (Copying, Documentation License):
34025         Use new @include file names, put @appendix directive before @include.
34027 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
34029         [BZ #12841]
34030         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
34031         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
34032         (mq_open): Add __NTH.
34034 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
34036         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34037         Assume Intel Core i3/i5/i7 processor if AVX is available.
34039 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
34041         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34042         typo.
34044 2011-05-31  Andreas Schwab  <schwab@redhat.com>
34046         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
34047         memory.  Use alloca_account.  Fix memory leak when retrying.
34049 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
34051         * version.h (RELEASE): Bump for 2.14 release.
34052         * include/features.h (__GLIBC_MINOR__): Bump to 14.
34054         * config.make.in (RANLIB): Remove entry.
34056 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
34058         * po/Makefile (po-sed-cmd): Add ksh to extensions.
34059         (libc.pot): Work around missing support for .ksh extension in xgettext.
34061         [BZ #12684]
34062         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
34063         if both request failed.
34064         (send_dg): In case of server errors clear resplen or *resplen2.
34066         [BZ #12454]
34067         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
34068         when there are multiple maps.
34069         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
34070         (_dl_fini): Remove test here.
34072         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
34074 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
34076         [BZ #12350]
34077         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
34078         bit from old_res_options.
34079         (gaih_inet): Likewise.
34081         [BZ #11099]
34082         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
34083         as signed.
34085         * resolv/res_init.c (res_setoptions): Make the code more compact.
34087         [BZ #11558]
34088         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
34089         set RES_USEVC.
34091         [BZ #11634]
34092         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
34094         * malloc/malloc.h: Mark malloc hook variables as deprecated.
34096         [BZ #11781]
34097         * malloc/malloc.h: Declare malloc hook variables as volatile.
34099         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
34100         in last patch.
34102         [BZ #11799]
34103         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
34104         raise in the comment.
34105         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34106         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34107         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
34109 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
34111         [BZ #12811]
34112         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
34113         grow the buffers more if it already has to be sufficient.
34114         (build_wcs_upper_buffer): Likewise.
34115         * posix/regexec.c (check_matching): Likewise.
34116         (clean_state_log_if_needed): Likewise.
34117         (extend_buffers): Don't enlarge buffers beyond size of the input
34118         buffer.
34119         Patches mostly by Emil Wojak <emil@wojak.eu>.
34120         * posix/bug-regex32.c: New file.
34121         * posix/Makefile (tests): Add bug-regex32.
34123         * locale/findlocale.c (_nl_find_locale): Return right away if
34124         _nl_explode_name failed.
34125         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
34127         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
34129         * debug/xtrace.sh: Unify messages.
34130         * malloc/memusage.sh: Likewise.
34132         [BZ #12813]
34133         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
34134         time symbol from vDSO.  Substitute with vsyscall if not available.
34135         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
34136         __vdso_time.
34138         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
34139         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
34140         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
34141         Add sendmmsg and internal_sendmmsg.
34142         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
34143         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
34144         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
34146         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
34147         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
34148         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
34150 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
34152         [BZ #12813]
34153         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
34154         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
34155         available.
34156         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
34157         __vdso_getcpu.
34159         [BZ #12814]
34160         * iconvdata/Makefile (tests): Add bug-iconv9.
34161         * iconvdata/bug-iconv9.c: New file.
34163 2011-05-27  Andreas Schwab  <schwab@redhat.com>
34165         [BZ #12814]
34166         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
34168 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
34170         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34171         (struct user_regs_struct): Change intcs field back to cs.
34173 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
34175         * po/ja.po: Update from translation team.
34177 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
34179         [BZ #12795]
34180         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
34181         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
34183 2011-05-20  Andreas Schwab  <schwab@redhat.com>
34185         * stdlib/longlong.h: Update from GCC.
34187 2011-05-23  Andreas Schwab  <schwab@redhat.com>
34189         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
34190         parameter name.
34191         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
34192         Add parameter name.
34193         (__sysconf): Pass it down.
34195 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
34197         [BZ #12671]
34198         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
34199         some situations.
34200         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34201         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
34202         add in in __libc_use_alloca calls.  Adjust callers.
34203         (glob): Use malloc in some situations.
34205         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
34206         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
34207         pltexit.
34209 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
34211         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
34212         and CLOCK_BOOTTIME_ALARM.
34214         [BZ #12782]
34215         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
34216         is returned.
34218         * string/_strerror.c (__strerror_r): Print negative errors as signed
34219         numbers.
34221         [BZ #12777]
34222         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
34223         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
34224         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
34226         * configure.in: Fix typo in redirection and correct removal of test
34227         files in two cases.
34229         [BZ #12788]
34230         * locale/setlocale.c (new_composite_name): Fix test to check for
34231         identical name of all categories.
34233         [BZ #12792]
34234         * libio/filedoalloc.c (local_isatty): New function.
34235         (_IO_file_doallocate): Use local_isatty.
34236         * stdio-common/perror.c (perror): In case a new stream is used
34237         forward the stream error.
34238         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
34239         error flag.
34241 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
34243         [BZ #11869]
34244         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
34245         alloca.
34246         * include/alloca.h (extend_alloca_account): Define.
34248         [BZ #11857]
34249         * posix/regex.h: Fix comments with documentation of user-accessible
34250         fields after compilation and describe correct free'ing of pattern
34251         after re_compile_pattern.
34252         Patch by Reuben Thomas <rrt@sc3d.org>.
34254 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
34256         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
34257         and -mno-altivec to prevent the compiler from using Altivec and/or
34258         VSX instructions when the corresponding registers are not available.
34260 2011-05-19  Andreas Schwab  <schwab@redhat.com>
34262         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
34264 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
34266         * libio/freopen.c (freopen): Use __dup2, not dup2.
34267         * libio/freopen64.c (freopen64): Likewise.
34269 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
34271         [BZ #12775]
34272         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
34273         * math/Makefile (tests): Add test-powl.
34274         (CFLAGS-test-powl.c): Define.
34275         * math/test-powl.c: New file.
34277 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34279         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
34281 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
34283         [BZ #11837]
34284         * iconvdata/gb18030.c: Update to GB18020-2005.
34286 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
34288         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
34289         RE_SYNTAX_POSIX_AWK): Update to match recent development.
34290         Patch by Aharon Robbins <arnold@skeeve.com>.
34292         [BZ #11892]
34293         * stdlib/putenv.c (putenv): Don't always create copy of the variable
34294         on the stack.
34296         [BZ #11895]
34297         * misc/pselect.c (__pselect): Handle timeout value errors hidden
34298         through underflows.
34300         [BZ #12766]
34301         * misc/error.c (error_at_line): Ensure file_name and old_file_name
34302         point to strings before performing equality test for error_one_per_line
34303         mode.
34305         [BZ #11697]
34306         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
34308         [BZ #11820]
34309         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34310         (struct user_fpregs_struct): Avoid __uint*_t types.
34312         [BZ #6420]
34313         * malloc/mtrace.c (tr_where): Add additional parameter to point to
34314         symbol info.  Use it instead of calling _dl_addr locally.
34315         (lock_and_info): New function.
34316         (tr_freehook): Call lock_and_info and pass symbol info as additional
34317         parameter to tr_where.
34318         (tr_mallochook): Likewise.
34319         (tr_reallochook): Likewise.
34320         (tr_memalignhook): Likewise.
34322         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
34323         used and couldn't be at all thread-safe.
34325 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
34327         * libio/freopen.c (freopen): Don't close old file descriptor
34328         before the new one is opened.  Instead dup the new file descriptor
34329         to the old one after the new stream is created.
34330         * libio/freopen64.c (freopen64): Likewise.
34331         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
34332         * libio/fileops.c (_IO_new_file_close_it): Handle new
34333         _IO_FLAGS2_NOCLOSE flag.
34334         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
34335         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
34336         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
34337         _IO_FLAGS2_NOCLOSE flag.
34338         * include/unistd.h: Add hidden_proto for dup3.
34339         Define __have_dup3.
34340         * io/dup3.c: Define hidden symbol.
34341         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
34343         [BZ #7101]
34344         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
34345         when an incomplete long option is used.
34346         * posix/tst-getopt_long1.c: New file.
34347         * posix/Makefile (tests): Add tst-getopt_long1.
34349         [BZ #10138]
34350         * scripts/config.guess: Update from autoconf-2.68.
34351         * scripts/config.sub: Likewise.
34353         [BZ #10157]
34354         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
34355         tests into ...
34356         (has_cpuclock): ...this.  New function.
34357         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
34358         macro here based on has_cpuclock code.
34360         [BZ #10149]
34361         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34362         First byte (not low byte) is now always NUL.
34363         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
34365         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34366         Use non-cancelable interfaces.
34368         [BZ #9809]
34369         * locale/iso-639.def: Add entry for Sorani.
34371         [BZ #11901]
34372         * include/stdlib.h: Move include protection to the right place.
34373         Define abort_msg_s.  Declare __abort_msg with it.
34374         * stdlib/abort.c (__abort_msg): Adjust type.
34375         * assert/assert.c (__assert_fail_base): New function.  Majority
34376         of code from __assert_fail.  Allocate memory for __abort_msg with
34377         mmap.
34378         (__assert_fail): Now call __assert_fail_base.
34379         * assert/assert-perr.c: Remove bulk of implementation.  Use
34380         __assert_fail_base.
34381         * include/assert.hL Declare __assert_fail_base.
34382         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
34383         mmap.
34384         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
34386 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
34388         [BZ #11952]
34389         [BZ #12453]
34390         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
34391         until all modules are registered in the DTV.
34392         * elf/Makefile: Add rules to build and run tst-tls19.
34393         * elf/tst-tls19.c: New file.
34394         * elf/tst-tls19mod1.c: New file.
34395         * elf/tst-tls19mod2.c: New file.
34396         * elf/tst-tls19mod3.c: New file.
34397         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
34399         [BZ #12083]
34400         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
34401         correctly.
34403         [BZ #12601]
34404         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
34405         two-byte sequence errors.
34406         * iconvdata/Makefile (tests): Add bug-iconv8.
34407         * iconvdata/bug-iconv8.c: New file.
34409         [BZ #12626]
34410         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
34411         buf2 definition.
34413         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
34415         [BZ #12432]
34416         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
34417         (dummy_getcfa): New function.
34418         (init): Get _Unwind_GetCFA address, use dummy if not found.
34419         (backtrace_helper): In recursion check, also check whether CFA changes.
34420         (__backtrace): Completely initialize arg.
34422         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
34423         storing incomplete byte sequence in state object.  Avoid testing for
34424         guaranteed too small input if we know there is enough data available.
34426 2011-05-11  Andreas Schwab  <schwab@redhat.com>
34428         * Makeconfig (+link-pie): Indent.
34429         * Rules (binaries-pie): Define if $(have-fpie) and
34430         $(build-shared).
34431         (binaries-shared): Also filter out $(binaries-pie).
34432         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
34433         * nscd/Makefile (others-pie): Add nscd.
34434         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
34435         ($(objpfx)nscd): Remove command override.
34436         * login/Makefile (others-pie): Add pt_chown.
34437         ($(objpfx)pt_chown): Remove command override.
34438         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
34439         remove command overrides.
34441 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
34443         * libio/tst_putwc.c: Fix error messages.
34445         [BZ #12724]
34446         * libio/fileops.c (_IO_new_file_close_it): Always flush when
34447         currently writing and seek to current position when not.
34448         * libio/Makefile (tests): Add bug-fclose1.
34449         * libio/bug-fclose1.c: New file.
34451 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
34453         [BZ #12511]
34454         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
34455         don't set DF_1_NODELETE here.
34456         (do_lookup_x): When entering new entry test for copy relocation
34457         and if necessary set DF_1_NODELETE flag.
34458         * elf/tst-unique4.cc: New file.
34459         * elf/tst-unique4.h: New file.
34460         * elf/tst-unique4lib.cc: New file.
34461         * elf/Makefile: Add rules to build and run tst-unique4.
34462         Patch by Piotr Bury <pbury@goahead.com>.
34464 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
34466         [BZ #12052]
34467         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
34469         [BZ #12625]
34470         * misc/mntent_r.c (addmntent): Flush the stream after the output
34472         [BZ #12393]
34473         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
34474         (is_trusted_path_normalize): Skip initial colon.  Append slash
34475         to empty buffer.  Duplicate is_trusted_path code but allow
34476         constructed patch to be prefix.
34477         (is_dst): Allow $ORIGIN followed by /.
34478         (_dl_dst_substitute): Correct clearing of check_for_trusted.
34479         Correct testing of result of is_trusted_path_normalize
34480         (decompose_rpath): Fix warning.
34482 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
34484         [BZ #11257]
34485         * grp/initgroups.c (internal_getgrouplist): When we found the service
34486         list through the initgroups entry in nsswitch.conf do not always
34487         continue on a successful lookup.  Don't always use the
34488         __nss_group_database value if it is set.
34489         * nss/nsswitch.conf (initgroups): Change action for successful db
34490         lookup to continue for compatibility.
34492 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
34494         [BZ #11532]
34495         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
34496         and CP774 modules.
34497         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
34498         and CP774 modules.
34499         * iconvdata/tst-tables.sh: Likewise.
34500         * iconvdata/cp770.c: New file.
34501         * iconvdata/cp771.c: New file.
34502         * iconvdata/cp772.c: New file.
34503         * iconvdata/cp773.c: New file.
34504         * iconvdata/cp774.c: New file.
34505         * iconvdata/testdata/CP770: New file.
34506         * iconvdata/testdata/CP770..UTF8: New file.
34507         * iconvdata/testdata/CP771: New file.
34508         * iconvdata/testdata/CP771..UTF8: New file.
34509         * iconvdata/testdata/CP772: New file.
34510         * iconvdata/testdata/CP772..UTF8: New file.
34511         * iconvdata/testdata/CP773: New file.
34512         * iconvdata/testdata/CP773..UTF8: New file.
34513         * iconvdata/testdata/CP774: New file.
34514         * iconvdata/testdata/CP774..UTF8: New file.
34516         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
34517         END CHARMAP line.
34518         * iconvdata/gen-8bit-gap.sh: Likewise.
34519         * iconvdata/gen-8bit.sh: Likewise.
34521         * locale/iso-639.def: Add ary entry.
34523         [BZ #11258]
34524         * locale/C-translit.h.in: Add U20A1 transliteration.
34526         [BZ #12178]
34527         * locale/iso-639.def: Add wae entry.
34528         Patch by Kevin Bortis <bortis@translate-wae.ch>.
34530         [BZ #12545]
34531         * locale/programs/localedef.c (construct_output_path): Use ssize_t
34532         for n.
34534         [BZ #12711]
34535         * locale/C-translit.h.in: Add entry for U20B9.
34536         Patch by pravin.d.s@gmail.com.
34538 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
34540         [BZ #12713]
34541         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
34542         ENAMETOOLONG use generic getcwd.
34543         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
34544         in rtld.  Use *stat64.
34545         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
34546         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
34547         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
34548         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
34549         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
34550         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
34551         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
34552         __fstatat64 macros.
34553         * include/dirent.h: Add libc_hidden_proto for rewinddir.
34554         * dirent/rewinddir.c: Add libc_hidden_def.
34555         * sysdeps/mach/hurd/rewinddir.c: Likewise.
34556         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
34558         * include/dirent.h (__alloc_dir): Add flags parameter.
34559         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
34560         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
34561         __alloc_dir.
34562         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
34563         from fdopendir if O_CLOEXEC is already set.
34565 2011-03-15  Alan Modra  <amodra@gmail.com>
34567         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
34568         l_tls_firstbyte_offset non-zero.  Save padding offset in
34569         l_tls_firstbyte_offset for later use.
34570         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
34571         freeing static tls block.
34573 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
34575         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
34576         where #ifdef was intended.  The intent is to prevent ARG_MAX from
34577         being defined by the kernel headers.
34579 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
34581         [BZ #12734]
34582         * resolv/resolv.h: Define RES_NOTLDQUERY.
34583         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
34584         no-tld-query and set RES_NOTLDQUERY.
34585         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
34586         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
34587         modern BIND to search name as TLD unless forbidden.
34589 2011-05-07  Petr Baudis  <pasky@suse.cz>
34590             Ulrich Drepper  <drepper@gmail.com>
34592         [BZ #12393]
34593         * elf/dl-load.c (fillin_rpath): Move trusted path check...
34594         (is_trusted_path): ...to here.
34595         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
34596         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
34597         using is_trusted_path_normalize() in setuid scripts.
34599 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
34601         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
34602         __BEGIN/__END_DECLS.
34604 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
34606         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
34607         NSS_STATUS_NOTFOUND if no record was found.
34609 2011-05-05  Andreas Schwab  <schwab@redhat.com>
34611         * sunrpc/Makefile (headers): Add rpc/netdb.h.
34612         (headers-not-in-tirpc): Remove rpc/netdb.h
34613         * resolv/netdb.h: Revert last change.
34615 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
34617         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
34618         circular dependency between libgcc.a and libc.a.
34620 2011-05-05  Andreas Schwab  <schwab@redhat.com>
34622         * resolv/netdb.h: Don't include <rpc/netdb.h>.
34623         * nis/Makefile: Don't install rpcsvc/*.
34624         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
34625         instead of <rpc/types.h>.
34626         (MAXHOSTNAMELEN): Define.
34628 2011-05-03  Andreas Schwab  <schwab@redhat.com>
34630         * elf/ldconfig.c (add_dir): Don't crash on empty path.
34632 2011-04-28  Maciej Babinski  <mbabinski@google.com>
34634         [BZ #12714]
34635         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
34636         gethostbyname4_r when IPv6 results are possible.
34638 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
34640         [BZ #12723]
34641         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
34642         _PC_PIPE_BUF handling.
34644 2011-04-30  Bruno Haible  <bruno@clisp.org>
34646         [BZ #12717]
34647         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
34648         * resolv/netdb.h (getnameinfo): Change type of flags parameter
34649         to 'int'.
34650         * inet/getnameinfo.c (getnameinfo): Likewise.
34652 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
34654         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
34655         to groups setting in database lookup.
34656         * nss/nsswitch.conf: Add initgroups entry.
34658 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
34660         [BZ #12685]
34661         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
34662         mode string.
34663         Patch by Eric Blake <eblake@redhat.com>.
34665 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
34667         * sunrpc/Makefile (need-export-routines): Add svc_run.
34668         (routines): Remove svc_run.
34669         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
34670         * sunrpc/clnt_perr.c (clnt_perrno): Export.
34671         * sunrpc/svc_run.c (svc_run): Likewise.
34672         * sunrpc/svc_udp.c (svcudp_create): Likewise.
34674 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
34676         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
34677         problem in reallocation in last patch.
34679 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
34681         * sunrpc/Makefile: Move inclusion of Rules.
34683 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
34685         * nss/nss_files/files-initgroups.c: New file.
34686         * nss/Makefile (libnss_files-routines): Add files-initgroups.
34687         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
34688         _nss_files_initgroups_dyn.
34690 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
34692         * elf/elf.h (R_ARM_IRELATIVE): Define.
34694 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
34696         * po/ru.po: Update from translation team.
34698 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
34700         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
34701         dependencies.
34703 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
34705         [BZ #12653]
34706         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
34707         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
34708         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34709         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34710         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34712 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
34714         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
34715         differing bytes.
34716         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34717         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34718         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34720 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
34722         [BZ #12420]
34723         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
34724         storing it.
34725         * stdlib/bug-getcontext.c: New file.
34726         * stdlib/Makefile: Add rules to build and run bug-getcontext.
34728 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34730         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
34731         instructions into .machine "z9-109".
34732         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
34733         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
34735 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34737         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
34738         between environment variables and auxiliary vector.
34740 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
34742         * Makefile: Add rules to build linkobj/libc.so.
34743         * include/libc-symbols.h: Define libc_hidden_nolink.
34744         * include/rpc/auth.h: Mark functions which are to be hidden.
34745         * include/rpc/auth_des.h: Likewise.
34746         * include/rpc/auth_unix.h: Likewise.
34747         * include/rpc/clnt.h: Likewise.
34748         * include/rpc/des_crypt.h: Likewise.
34749         * include/rpc/key_prot.h: Likewise.
34750         * include/rpc/pmap_clnt.h: Likewise.
34751         * include/rpc/pmap_prot.h: Likewise.
34752         * include/rpc/pmap_rmt.h: Likewise.
34753         * include/rpc/rpc_msg.h: Likewise.
34754         * include/rpc/svc.h: Likewise.
34755         * include/rpc/svc_auth.h: Likewise.
34756         * include/rpc/xdr.h: Likewise.
34757         * nis/Makefile: Link all DSOs against linkobj/libc.so.
34758         * nss/Makefile: Likewise.
34759         * sunrpc/Makefile: Don't install headers.  Build library with normal
34760         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
34761         * sunrpc/auth_des.c: Hide exported symbols by default, export some
34762         for the compat linking library.  Remove use of INTDEF/INTUSE.
34763         * sunrpc/auth_none.c: Likewise.
34764         * sunrpc/auth_unix.c: Likewise.
34765         * sunrpc/authdes_prot.c: Likewise.
34766         * sunrpc/authuxprot.c: Likewise.
34767         * sunrpc/clnt_gen.c: Likewise.
34768         * sunrpc/clnt_perr.c: Likewise.
34769         * sunrpc/clnt_raw.c: Likewise.
34770         * sunrpc/clnt_simp.c: Likewise.
34771         * sunrpc/clnt_tcp.c: Likewise.
34772         * sunrpc/clnt_udp.c: Likewise.
34773         * sunrpc/clnt_unix.c: Likewise.
34774         * sunrpc/des_crypt.c: Likewise.
34775         * sunrpc/des_soft.c: Likewise.
34776         * sunrpc/get_myaddr.c: Likewise.
34777         * sunrpc/key_call.c: Likewise.
34778         * sunrpc/key_prot.c: Likewise.
34779         * sunrpc/netname.c: Likewise.
34780         * sunrpc/pm_getmaps.c: Likewise.
34781         * sunrpc/pm_getport.c: Likewise.
34782         * sunrpc/pmap_clnt.c: Likewise.
34783         * sunrpc/pmap_prot.c: Likewise.
34784         * sunrpc/pmap_prot2.c: Likewise.
34785         * sunrpc/pmap_rmt.c: Likewise.
34786         * sunrpc/publickey.c: Likewise.
34787         * sunrpc/rpc_cmsg.c: Likewise.
34788         * sunrpc/rpc_common.c: Likewise.
34789         * sunrpc/rpc_dtable.c: Likewise.
34790         * sunrpc/rpc_prot.c: Likewise.
34791         * sunrpc/rpc_thread.c: Likewise.
34792         * sunrpc/rtime.c: Likewise.
34793         * sunrpc/svc.c: Likewise.
34794         * sunrpc/svc_auth.c: Likewise.
34795         * sunrpc/svc_authux.c: Likewise.
34796         * sunrpc/svc_raw.c: Likewise.
34797         * sunrpc/svc_run.c: Likewise.
34798         * sunrpc/svc_simple.c: Likewise.
34799         * sunrpc/svc_tcp.c: Likewise.
34800         * sunrpc/svc_udp.c: Likewise.
34801         * sunrpc/svc_unix.c: Likewise.
34802         * sunrpc/svcauth_des.c: Likewise.
34803         * sunrpc/xcrypt.c: Likewise.
34804         * sunrpc/xdr.c: Likewise.
34805         * sunrpc/xdr_array.c: Likewise.
34806         * sunrpc/xdr_float.c: Likewise.
34807         * sunrpc/xdr_intXX_t.c: Likewise.
34808         * sunrpc/xdr_mem.c: Likewise.
34809         * sunrpc/xdr_rec.c: Likewise.
34810         * sunrpc/xdr_ref.c: Likewise.
34811         * sunrpc/xdr_sizeof.c: Likewise.
34812         * sunrpc/xdr_stdio.c: Likewise.
34814 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
34816         [BZ #12650]
34817         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
34818         * sysdeps/ia64/dl-tls.h: Likewise.
34819         * sysdeps/powerpc/dl-tls.h: Likewise.
34820         * sysdeps/s390/dl-tls.h: Likewise.
34821         * sysdeps/sh/dl-tls.h: Likewise.
34822         * sysdeps/sparc/dl-tls.h: Likewise.
34823         * sysdeps/x86_64/dl-tls.h: Likewise.
34824         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
34826 2011-03-14  Andreas Schwab  <schwab@redhat.com>
34828         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
34829         rpath element also skip the following colon.
34830         (expand_dynamic_string_token): Add is_path parameter and pass
34831         down to DL_DST_REQUIRED and _dl_dst_substitute.
34832         (decompose_rpath): Call expand_dynamic_string_token with
34833         non-zero is_path.  Ignore empty rpaths.
34834         (_dl_map_object_from_fd): Call expand_dynamic_string_token
34835         with zero is_path.
34837 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
34839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34840         Make cancelable.
34842 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
34844         [BZ #12655]
34845         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
34846         Patch by Filipe David Manana <fdmanana@apache.org>.
34848 2011-04-07  Andreas Schwab  <schwab@redhat.com>
34850         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
34851         Maintain aligned stack.
34852         (CHECK_RSP): Remove unused macro.
34854 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
34856         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
34857         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
34859 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
34861         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
34863         * include/features.h: Mention __USE_XOPEN2K8 in comment.
34865 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
34867         [BZ #12518]
34868         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
34869         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
34870         * sysdeps/x86_64/memmove.c: New file.
34871         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
34872         (memcpy): Renamed to ...
34873         (__new_memcpy): This.
34874         (memcpy): Provide GLIBC_2_14 memcpy.
34875         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
34876         (memcpy): Provide GLIBC_2_2_5 memcpy.
34878 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
34880         [BZ #12631]
34881         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
34883 2011-03-30  Andreas Schwab  <schwab@redhat.com>
34885         * misc/syncfs.c: New file.
34886         * misc/Makefile (routines): Add syncfs.
34887         * posix/unistd.h: Declare syncfs.
34888         * sysdeps/unix/syscalls.list: Add syncfs.
34890 2011-04-01  Andreas Schwab  <schwab@redhat.com>
34892         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
34893         open_by_handle_at.
34894         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34895         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34896         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34897         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34898         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34899         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
34900         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34902 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
34904         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
34905         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34906         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
34907         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34908         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34909         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34910         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34912         * io/Makefile: Compile fallocate.c, fallocate64.c, and
34913         sync_file_range.c with -fexceptions.
34914         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
34915         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
34916         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
34917         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
34918         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
34919         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34920         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
34921         sync_file_range as cancellation point
34922         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
34923         now a wrapper around __call_sync_file_range with cancellation handling.
34924         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
34925         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
34926         function name to __call_sync_file_range.
34927         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
34928         Add call_sync_file_range.
34930 2011-04-01  Andreas Schwab  <schwab@redhat.com>
34932         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34933         bits/timex.h.
34935 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
34937         * iconv/iconv.h: Fix typo in comment.
34938         * io/fcntl.h: Likewise.
34939         * libio/stdio.h: Likewise.
34940         * posix/spawn.h: Likewise.
34941         * posix/unistd.h: Likewise.
34942         * stdlib/stdlib.h: Likewise.
34943         * time/time.h: Likewise.
34944         * wcsmbs/wchar.h: Likewise.
34946         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
34947         open_by_handle): Add.
34948         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
34949         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
34950         Augment a few comments.
34951         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34952         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34953         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34954         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34955         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34956         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
34957         open_by_handle.
34959         * io/fcntl.h (AT_EMPTY_PATH): Define.
34961 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
34963         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
34964         * sysdeps/unix/sysv/linux/bits/time.h: New file.
34965         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
34966         to...
34967         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
34968         * Versions.def: Add GLIBC_2.14.
34969         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
34970         Export.
34972 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
34974         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
34975         round counter.
34976         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
34978 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
34980         [BZ #12597]
34981         * string/test-strncmp.c (do_page_test): New function.
34982         (check2): Likewise.
34983         (test_main): Call check2.
34984         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
34986 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
34988         [BZ #12587]
34989         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
34990         Handle cache information in CPU leaf 4.
34991         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
34993 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
34995         [BZ #12583]
34996         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
34997         character representation.
34998         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
35000 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
35002         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
35003         END(__isnan) to END(__isnanf) to match function entry point/label
35004         EALIGN(__isnanf,...).
35006 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
35008         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
35010 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
35012         [BZ #12510]
35013         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
35014         copy from the symbol referenced in the relocation to initialize the
35015         used variable.
35016         Patch by Piotr Bury <pbury@goahead.com>.
35017         * elf/Makefile: Add rules to build and tst-unique3.
35018         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
35019         * elf/tst-unique3.cc: New file.
35020         * elf/tst-unique3.h: New file.
35021         * elf/tst-unique3lib.cc: New file.
35022         * elf/tst-unique3lib2.cc: New file.
35024         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
35026 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
35028         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
35029         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
35030         to _start.
35032 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
35034         * elf/dl-load.c (_dl_map_object): If we are looking for the first
35035         to-be-loaded object along a path to loader is ld.so.
35037 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
35038             Ulrich Drepper  <drepper@gmail.com>
35040         * sysdeps/x86_64/memset.S: After aligning destination, code
35041         branches to different locations depending on the value of
35042         misalignment, when multiarch is enabled. Fix this.
35044 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
35046         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
35047         Set _x86_64_preferred_memory_instruction for AMD processsors.
35048         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35049         Set bit_Prefer_SSE_for_memop for AMD processors.
35051 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
35053         * libio/fmemopen.c (fmemopen): Optimize a bit.
35055 2011-03-03  Andreas Schwab  <schwab@redhat.com>
35057         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
35059 2011-03-03  Roland McGrath  <roland@redhat.com>
35061         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
35063 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
35065         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
35066         __bzero_ultra1 instead of __memset_ultra1.
35068 2011-02-23  Andreas Schwab  <schwab@redhat.com>
35069             Ulrich Drepper  <drepper@gmail.com>
35071         [BZ #12509]
35072         * include/link.h (struct link_map): Add l_orig_initfini.
35073         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
35074         returning unsuccessfully.
35075         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
35076         close of a file loaded at startup, restore the original l_initfini
35077         list.
35078         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
35079         list, store the pointer.
35080         * elf/Makefile ($(objpfx)noload-mem): New rule.
35081         (noload-ENV): Define.
35082         (tests): Add $(objpfx)noload-mem.
35083         * elf/noload.c: Include <memcheck.h>.
35084         (main): Call mtrace.  Close all opened handles.
35086 2011-02-17  Andreas Schwab  <schwab@redhat.com>
35088         [BZ #12454]
35089         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
35090         dependencies are missing.
35092 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35094         Fix __if_freereq crash: Unlike the generic version which uses free,
35095         Hurd needs munmap.
35096         * sysdeps/mach/hurd/ifreq.h: New file.
35098 2011-01-27  Petr Baudis  <pasky@suse.cz>
35099             Ulrich Drepper  <drepper@gmail.com>
35101         [BZ 12445]#
35102         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
35103         to extend_alloca().
35104         * stdio-common/bug23.c: New file.
35105         * stdio-common/Makefile (tests): Add bug23.
35107 2010-09-28  Andreas Schwab  <schwab@redhat.com>
35108             Ulrich Drepper  <drepper@gmail.com>
35110         [BZ #12489]
35111         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
35112         before performing relro protection.  At old place add assertion
35113         to make sure nothing changed.
35115 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
35116             Glauber de Oliveira Costa  <glommer@gmail.com>
35118         * elf/elf.h: Add new ARM TLS relocs.
35120 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
35122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35123         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
35124         cast from r3.
35125         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
35126         'tests' variable.
35127         * sysdeps/wordsize-64/tst-writev.c: New file.
35129 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
35131         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
35132         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
35133         insns in _dl_start to prevent a TOC reference before relocs are
35134         resolved.
35136 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
35138         [BZ #12469]
35139         * Makeconfig: Remove RANLIB definition.
35140         * Makerules: Don't use RANLIB.
35141         * aclocal.m4: Remove ranlib test.
35142         * configure.in: No need to check for ranlib.
35143         * elf/rtld-Rules: Don't use RANLIB.
35145 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35147         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
35148         protection macro.
35149         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
35150         inclusion protection macro.
35152         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
35153         SIGRTMIN and SIGRTMAX and print information in that case only when
35154         SIGRTMIN is defined.
35156 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
35158         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
35159         arginfo fn returning -1.
35161         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
35162         and thousands string is zero terminated.
35164 2011-02-03  Andreas Schwab  <schwab@redhat.com>
35166         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
35167         sysdeps/unix/sysv/linux/bits/socket.h.
35169 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35171         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
35172         (__CPU_COUNT): Remove old macros.
35173         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
35174         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
35175         (__CPU_ALLOC, __CPU_FREE): Add macros.
35176         (__sched_cpualloc, __sched_cpufree): Add declarations.
35178 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
35180         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
35181         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
35182         * nscd/aicache.c (addhstaiX): Return timeout of added value.
35183         (readdhstai): Return value of addhstaiX call.
35184         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
35185         (addgrbyX): Return value returned by cache_addgr.
35186         (readdgrbyname): Return value returned by addgrbyX.
35187         (readdgrbygid): Likewise.
35188         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
35189         (addpwbyX): Return value returned by cache_addpw.
35190         (readdpwbyname): Return value returned by addhstbyX.
35191         (readdpwbyuid): Likewise.
35192         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
35193         (addservbyX): Return value returned by cache_addserv.
35194         (readdservbyname): Return value returned by addservbyX:
35195         (readdservbyport): Likewise.
35196         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
35197         (addhstbyX): Return value returned by cache_addhst.
35198         (readdhstbyname): Return value returned by addhstbyX.
35199         (readdhstbyaddr): Likewise.
35200         (readdhstbynamev6): Likewise.
35201         (readdhstbyaddrv6): Likewise.
35202         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
35203         (readdinitgroups): Return value returned by addinitgroupsX.
35204         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
35205         (prune_cache): Keep track of timeout value of re-added entries.
35206         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
35207         * nscd/nscd.h: Adjust prototypes of readd* functions.
35209 2011-02-04  Roland McGrath  <roland@redhat.com>
35211         * nis/nis_server.c (nis_servstate): Use the right name for 0.
35212         (nis_stats): Likewise.
35213         * nis/nis_modify.c (nis_modify): Likewise.
35214         * nis/nis_remove.c (nis_remove): Likewise.
35215         * nis/nis_add.c (nis_add): Likewise.
35217         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
35219         * posix/fnmatch_loop.c: Add some consts.
35221         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
35223 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
35225         [BZ #12460]
35226         * config.make.in (config-cflags-novzeroupper): Define.
35227         * configure.in: Substitute libc_cv_cc_novzeroupper.
35228         * elf/Makefile (AVX-CFLAGS): Define.
35229         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
35230         (CFLAGS-tst-auditmod4a.c): Likewise.
35231         (CFLAGS-tst-auditmod4b.c): Likewise.
35232         (CFLAGS-tst-auditmod6b.c): Likewise.
35233         (CFLAGS-tst-auditmod6c.c): Likewise.
35234         (CFLAGS-tst-auditmod7b.c): Likewise.
35235         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
35237 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
35239         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
35240         function to the callback.
35241         Patch partly by Jiri Olsa <jolsa@redhat.com>.
35243 2011-02-02  Andreas Schwab  <schwab@redhat.com>
35245         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
35246         of errno.
35248 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
35250         [BZ #11724]
35251         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
35252         of constructors.
35253         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
35254         of destructors.
35255         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
35257         [BZ #11724]
35258         * elf/Makefile: Add rules to build and run new test.
35259         * elf/tst-initorder.c: New file.
35260         * elf/tst-initorder.exp: New file.
35261         * elf/tst-initordera1.c: New file.
35262         * elf/tst-initordera2.c: New file.
35263         * elf/tst-initordera3.c: New file.
35264         * elf/tst-initordera4.c: New file.
35265         * elf/tst-initorderb1.c: New file.
35266         * elf/tst-initorderb2.c: New file.
35267         * elf/tst-order-a1.c: New file.
35268         * elf/tst-order-a2.c: New file.
35269         * elf/tst-order-a3.c: New file.
35270         * elf/tst-order-a4.c: New file.
35271         * elf/tst-order-b1.c: New file.
35272         * elf/tst-order-b2.c: New file.
35273         * elf/tst-order-main.c: New file.
35274         New test case by George Gensure <werkt0@gmail.com>.
35276 2010-10-01  Andreas Schwab  <schwab@redhat.com>
35278         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35279         decoding ACE if AI_CANONIDN.
35281 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
35283         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
35285 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
35287         * version.h (RELEASE): Bump for 2.13 release.
35288         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
35290         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
35292         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
35293         MADV_NOHUGEPAGE.
35294         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
35295         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35296         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35297         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35298         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35299         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35301         * posix/getconf.c: Update copyright year.
35302         * catgets/gencat.c: Likewise.
35303         * csu/version.c: Likewise.
35304         * debug/catchsegv.sh: Likewise.
35305         * debug/xtrace.sh: Likewise.
35306         * elf/ldconfig.c: Likewise.
35307         * elf/ldd.bash.in: Likewise.
35308         * elf/sprof.c (print_version): Likewise.
35309         * iconv/iconv_prog.c: Likewise.
35310         * iconv/iconvconfig.c: Likewise.
35311         * locale/programs/locale.c: Likewise.
35312         * locale/programs/localedef.c: Likewise.
35313         * malloc/memusage.sh: Likewise.
35314         * malloc/mtrace.pl: Likewise.
35315         * nscd/nscd.c (print_version): Likewise.
35316         * nss/getent.c: Likewise.
35318         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
35319         PF_CAIF, and PF_ALG.
35320         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35322 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
35324         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
35325         (modules-names): Use them.
35326         (ifunc-test-modules, ifunc-pie-tests): Define.
35327         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
35328         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
35329         (test-extras): Likewise.
35330         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
35331         $(compile-command.c).
35332         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
35333         (all-built-dso): Define.
35334         (check-textrel.out, check-execstack.out): Depend on it.
35336         * configure.in: Don't override --enable-multi-arch.
35338 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
35340         [BZ #6812]
35341         * nscd/hstcache.c (tryagain): Define.
35342         (cache_addhst): Return tryagain not notfound for temporary errors.
35343         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
35344         failed.
35346 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
35348         [BZ #10563]
35349         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
35350         to make the syscall.
35351         * sysdeps/unix/sysv/linux/setgroups.c: New file.
35353         [BZ #12378]
35354         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
35355         and fall back to matching as normal character if the string ends before
35356         the matching ']' is found.  This is what POSIX requires.
35357         * posix/testfnm.c: Adjust test result.
35358         * posix/globtest.sh: Adjust test result.  Add new test.
35359         * posix/tst-fnmatch.input: Likewise.
35360         * posix/tst-fnmatch2.c: Add new test.
35362 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
35364         * elf/Makefile (check-execstack): Revert last change.  Depend on
35365         check-execstack.h.
35366         (check-execstack.h): New target.
35367         (generated): Add check-execstack.h.
35368         * elf/check-execstack.c: Include "check-execstack.h".
35369         (main): Revert last change.
35370         (handle_file): Return zero if GNU_STACK is absent and
35371         DEFAULT_STACK_PERMS doesn't include PF_X.
35373 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
35375         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
35376         in child fails because the descriptor is already closed.
35377         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
35378         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
35379         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
35381         [BZ #12397]
35382         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
35383         syscall.
35385         [BZ #10484]
35386         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
35387         temporary buffer used to handle multi lookups locally.
35388         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
35390 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
35392         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
35393         loader is ld.so.
35395 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
35397         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
35398         alignment for SSE2.
35400 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
35402         [BZ #12394]
35403         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
35404         characters.  When rounding increased number of integer digits recompute
35405         number of groups.
35406         * stdio-common/tst-grouping.c: New file.
35407         * stdio-common/Makefile: Add rules to build and run tst-grouping.
35409 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
35411         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
35412         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
35414         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
35415         void.
35416         * bits/select.h: Likewise.
35418 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
35420         * po/ja.po: Update from translation team.
35422 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
35424         [BZ #11155]
35425         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
35426         implementation just like for lxstat, fxstatat, et al.
35428 2010-12-27  Jim Meyering  <meyering@redhat.com>
35430         [BZ #12348]
35431         * posix/regexec.c (build_trtable): Return failure indication upon
35432         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
35434 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
35436         [BZ #12201]
35437         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
35438         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
35439         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
35440         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
35442         [BZ #12207]
35443         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
35445         [BZ #12204]
35446         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
35447         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
35449 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
35451         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
35452         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
35453         script has SORT_BY_INIT_PRIORITY.
35454         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
35455         NO_CTORS_DTORS_SECTIONS is defined.
35456         * elf/soinit.c: Likewise.
35457         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
35458         NO_CTORS_DTORS_SECTIONS is defined.
35459         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
35460         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
35461         * sysdeps/sh/init-first.c: Likewise.
35462         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
35464 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
35466         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
35467         always use the slow path.
35469 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
35471         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
35472         similar rule which adds the sysdep directories to the header search in
35473         order to pick up the correct platform stackinfo.h.
35474         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
35475         perform test if it is, otherwise return successfully without testing.
35476         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
35477         DEFAULT_STACK_PERMS define in stackinfo.h.
35478         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
35479         defined in stackinfo.h.
35480         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
35481         DEFAULT_STACK_PERMS defined in stackinfo.h.
35482         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
35483         * sysdeps/ia64/stackinfo.h: Likewise.
35484         * sysdeps/s390/stackinfo.h: Likewise.
35485         * sysdeps/sh/stackinfo.h: Likewise.
35486         * sysdeps/sparc/stackinfo.h: Likewise.
35487         * sysdeps/x86_64/stackinfo.h: Likewise.
35488         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
35489         PF_X for powerpc64.  Retain PF_X for powerpc32.
35491 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
35493         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
35494         accurately.
35495         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
35496         GETDENTS_64BIT_ALIGNED.
35498 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
35500         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
35502 2010-12-10  Andreas Schwab  <schwab@redhat.com>
35504         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
35505         _GNU_SOURCE.
35507         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
35508         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
35509         Remove __restrict.
35510         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
35511         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
35513 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
35515         [BZ #11655]
35516         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
35517         are initialized.
35519 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
35521         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
35523 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
35525         * po/it.po: Update from translation team.
35527 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
35529         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
35530         unused codes.
35532 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
35534         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
35536 2010-11-24  Andreas Schwab  <schwab@redhat.com>
35538         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
35539         specially.
35540         (gaih_getanswer_slice): Likewise.
35542 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
35544         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
35546 2010-05-31  Petr Baudis  <pasky@suse.cz>
35548         [BZ #11149]
35549         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
35550         silently even in the chroot mode.
35552 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
35554         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
35555         last patch a bit.  Pretty printing
35557 2010-05-31  Petr Baudis <pasky@suse.cz>
35559         [BZ #10085]
35560         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
35561         initialization of skip_initgroups_dyn.
35563 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
35565         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
35566         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35568 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
35570         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
35572 2010-11-11  Andreas Schwab  <schwab@redhat.com>
35574         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
35575         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
35576         (tst-fnmatch-ENV): Set MALLOC_TRACE.
35577         ($(objpfx)tst-fnmatch-mem): New rule.
35578         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
35579         * posix/tst-fnmatch.c (main): Call mtrace.
35581 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
35583         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35584         Support Intel processor model 6 and model 0x2c.
35586 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
35588         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
35589           signed comparison.
35591 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
35593         [BZ #12205]
35594         * string/test-strncasecmp.c (check_result): New function.
35595         (do_one_test): Use it.
35596         (check1): New function.
35597         (test_main): Use it.
35598         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
35599         Support strcasecmp and strncasecmp.
35601 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
35603         [BZ #12194]
35604         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
35605         * sysdeps/x86_64/bits/byteswap.h: Likewise.
35607 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
35609         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
35610         IFUNC support.
35611         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35612         memset-x86-64.
35613         * sysdeps/x86_64/multiarch/bzero.S: New file.
35614         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
35615         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
35616         * sysdeps/x86_64/multiarch/memset.S: New file.
35617         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
35618         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35619         Set bit_Prefer_SSE_for_memop for Intel processors.
35620         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
35621         Define.
35622         (index_Prefer_SSE_for_memop): Define.
35623         (HAS_PREFER_SSE_FOR_MEMOP): Define.
35625 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
35627         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
35628         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
35630 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
35632         [BZ #12191]
35633         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35634         (__x86_64_raw_data_cache_size_half): Likewise.
35635         (__x86_64_raw_shared_cache_size): Likewise.
35636         (__x86_64_raw_shared_cache_size_half): Likewise.
35638         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35639         (__x86_64_raw_data_cache_size_half): Likewise.
35640         (__x86_64_raw_shared_cache_size): Likewise.
35641         (__x86_64_raw_shared_cache_size_half): Likewise.
35642         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
35643         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
35644         and __x86_64_raw_shared_cache_size_half.  Round
35645         __x86_64_data_cache_size_half, __x86_64_data_cache_size
35646         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
35647         to multiple of 256 bytes.
35649 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
35651         [BZ #12167]
35652         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
35653         of inacessible symlinks.  Verify result of symlink before returning it.
35654         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
35655         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
35657 2010-10-28  Erich Ritz  <erichritz@gmail.com>
35659         * math/math.h (isinf): Fix typo in comment.
35661 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
35663         * po/da.po: Update from translation team.
35665 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
35667         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
35668         is added to the list.
35670 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35671             Ulrich Drepper  <drepper@gmail.com>
35673         * elf/dl-object.c (_dl_new_object): Don't append the new object to
35674         the global list here.  Move code to...
35675         (_dl_add_to_namespace_list): ...here.  New function.
35676         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
35677         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
35678         * elf/dl-load.c (lose): Don't remove the element from the list.
35679         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
35680         (_dl_map_object): Likewise.
35682 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
35684         [BZ #12159]
35685         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
35686         into all bytes of SSE register.
35687         Patch by Richard Li <richardpku@gmail.com>.
35689 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
35691         [BZ #12140]
35692         * malloc/malloc.c (_int_free): Fill correct number of bytes when
35693         perturbing.
35695 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
35697         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
35698         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
35699         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
35700         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
35702         submachine.
35703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
35705 2010-10-22  Andreas Schwab  <schwab@redhat.com>
35707         * include/dlfcn.h (__RTLD_SECURE): Define.
35708         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
35709         mode & __RTLD_SECURE instead.
35710         (open_path): Rename preloaded parameter to secure.
35711         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
35712         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
35713         * elf/dl-deps.c (openaux): Likewise.
35714         * elf/rtld.c (struct map_args): Remove is_preloaded.
35715         (map_doit): Don't use it.
35716         (dl_main): Likewise.
35717         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
35718         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
35720 2010-09-09  Andreas Schwab  <schwab@redhat.com>
35722         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
35723         (sysd-rules-targets): Remove duplicates.
35724         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
35725         rtld-%.$o dependency.
35727 2010-10-18  Andreas Schwab  <schwab@redhat.com>
35729         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
35730         _dl_map_object do it.
35732 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
35734         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
35735         fast fma builtins, define the macros in the C99 standard.
35736         (FP_FAST_FMAF): Likewise.
35737         (FP_FAST_FMAL): Likewise.
35738         * sysdeps/x86_64/bits/mathdef.h: Likewise.
35740         * bits/mathdef.h: Update copyright year.
35741         * sysdeps/powerpc/bits/mathdef.h: Likewise.
35743 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
35745         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
35746         builtins, define the macros in the C99 standard.
35747         (FP_FAST_FMAF): Likewise.
35748         (FP_FAST_FMAL): Likewise.
35749         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
35750         multiply/add.
35751         (FP_FAST_FMAF): Likewise.
35753 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
35755         [BZ #3268]
35756         * math/libm-test.inc (fma_test): Some new testcases.
35757         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
35758         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
35759         y and infinite z.  Do multiplication by C already in long double.
35760         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
35761         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
35762         y and infinite z.  Do bitwise or of inexact bit into u.d.
35763         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
35764         * sysdeps/i386/fpu/s_fmaf.S: Removed.
35765         * sysdeps/i386/fpu/s_fma.S: Removed.
35766         * sysdeps/i386/fpu/s_fmal.S: Removed.
35768 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
35770         [BZ #3268]
35771         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
35772         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
35773         computation is not scheduled after fetestexcept.  Fix value
35774         of minimum denormal long double.
35776 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
35778         [BZ #3268]
35779         * math/libm-test.inc (fma_test): Add some more tests.
35780         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
35781         correctly.
35783 2010-10-15  Andreas Schwab  <schwab@redhat.com>
35785         * scripts/data/localplt-s390-linux-gnu.data: New file.
35786         * scripts/data/localplt-s390x-linux-gnu.data: New file.
35788 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
35790         [BZ #3268]
35791         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
35792         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
35793         instead of dbl-64.
35794         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
35795         inlines.
35796         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
35797         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
35798         if one of x and y is very large and the other is subnormal.
35799         * sysdeps/s390/fpu/s_fmaf.c: New file.
35800         * sysdeps/s390/fpu/s_fma.c: New file.
35801         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
35802         * sysdeps/powerpc/fpu/s_fma.S: New file.
35803         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
35804         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
35805         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
35807 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
35809         [BZ #3268]
35810         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
35811         fma tests.
35812         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
35813         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
35814         * sysdeps/i386/i686/multiarch/s_fma.c: Include
35815         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
35816         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
35817         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
35818         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
35820 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
35822         [BZ #12078]
35823         * posix/regcomp.c (parse_branch): One more memory leak plugged.
35824         * posix/bug-regex31.input: Add test case.
35826 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
35828         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
35829         * posix/bug-regex31.input: New file.
35831         [BZ #12078]
35832         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
35833         (parse_sub_exp): Fix last change, use postorder.
35835         * posix/bug-regex31.c: New file.
35836         * posix/Makefile: Add rules to build and run bug-regex31.
35838         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
35840         [BZ #12078]
35841         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
35843         [BZ #12108]
35844         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
35845         to have entries in sys_siglist.
35847         [BZ #12093]
35848         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
35849         be NULL.
35851 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
35853         [BZ #3268]
35854         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
35855         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
35856         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
35857         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
35858         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
35859         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
35860         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
35861         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
35862         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
35863         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
35864         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
35865         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
35866         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
35867         * math/ftestexcept.c (fetestexcept): Likewise.
35868         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
35869         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
35870         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
35871         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
35872         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
35873         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
35874         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35876 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
35878         [BZ #12107]
35879         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
35880         newline.
35882 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
35884         * string/bug-strstr1.c: New file.
35885         * string/Makefile: Add rules to build and run bug-strstr1.
35887 2010-10-05  Eric Blake  <eblake@redhat.com>
35889         [BZ #12092]
35890         * string/str-two-way.h (two_way_long_needle): Always clear memory
35891         when skipping input due to the shift table.
35893 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
35895         [BZ #12005]
35896         * malloc/mcheck.c: Handle large requests.
35898         [BZ #12077]
35899         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
35900         for strncmp and strncasecmp.
35901         * string/stratcliff.c: Add tests for strcmp and strncmp.
35902         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
35904 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35906         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
35907         __set_fpscr.
35909 2010-09-30  Andreas Jaeger  <aj@suse.de>
35911         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
35912         (CGROUP_SUPER_MAGIC): Define.
35913         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35914         Handle btrfs and cgroup file systems.
35915         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35916         Likewise.
35918 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
35920         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
35921         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
35923 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35925         [BZ #12067]
35926         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
35927         trying to locate the ELF header.
35929 2010-09-27  Andreas Schwab  <schwab@redhat.com>
35931         [BZ #11611]
35932         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
35933         Mask out sign-bit copies when constructing f_fsid.
35935 2010-09-24  Petr Baudis <pasky@suse.cz>
35937         * debug/stack_chk_fail_local.c: Add missing licence exception.
35938         * debug/warning-nop.c: Likewise.
35940 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
35942         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
35943         implementing getdents64 using getdents syscall, set d_type if
35944         __ASSUME_GETDENTS32_D_TYPE.
35946 2010-09-16  Andreas Schwab  <schwab@redhat.com>
35948         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
35949         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
35951 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
35953         [BZ #12037]
35954         * posix/unistd.h: Undo change of feature selection for ftruncate from
35955         2010-01-11.
35957 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
35959         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
35960         detection.
35962 2010-09-20  Andreas Schwab  <schwab@redhat.com>
35964         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
35965         fanotify_mark.
35966         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35968 2010-09-14  Andreas Schwab  <schwab@redhat.com>
35970         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
35971         variables after CHECK_SP call.
35972         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
35974 2010-09-13  Andreas Schwab  <schwab@redhat.com>
35975             Ulrich Drepper  <drepper@redhat.com>
35977         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
35978         re-relocationg ld.so.
35979         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
35980         _dl_init_paths call.
35981         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
35982         here anymore.
35984 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
35986         * resolv/res_init.c (__res_vinit): Count the default server we added.
35988 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
35989             Ulrich Drepper  <drepper@redhat.com>
35991         [BZ #11968]
35992         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
35993         (____longjmp_chk): Use %ebx for saving value across system call.
35994         Add unwind info.
35996 2010-09-06  Andreas Schwab  <schwab@redhat.com>
35998         * manual/Makefile: Don't mix pattern rules with normal rules.
36000 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
36002         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
36003         operation.
36004         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
36005         * libio/iofopncook.c (_IO_cookie_init): Likewise.
36006         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
36007         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
36008         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36009         Likewise.
36011 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
36013         [BZ #11979]
36014         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
36015         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
36017 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
36019         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
36020         * sysdeps/x86_64/addmul_1.S: Likewise.
36021         * sysdeps/x86_64/lshift.S: Likewise.
36022         * sysdeps/x86_64/mul_1.S: Likewise.
36023         * sysdeps/x86_64/rshift.S: Likewise.
36024         * sysdeps/x86_64/sub_n.S: Likewise.
36025         * sysdeps/x86_64/submul_1.S: Likewise.
36027 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36029         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
36030         Define __sched_param instead of SCHED_* and sched_param when
36031         <bits/sched.h> is included with __need_schedparam defined.
36032         * bits/sched.h [__need_schedparam]
36033         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
36034         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
36035         (__defined_schedparam): Define to 1.
36036         (__sched_param): New structure, identical to sched_param.
36037         (__need_schedparam): Undefine.
36039 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
36041         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
36042         (epoll_create1): Declare.
36044         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
36046 2010-08-31  Andreas Schwab  <schwab@redhat.com>
36048         [BZ #7066]
36049         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
36050         shifting retval into place.
36052 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
36054         * nis/rpcsvc/nis.h: Update copyright notice.
36055         * nis/rpcsvc/nis.x: Likewise.
36056         * nis/rpcsvc/nis_callback.h: Likewise.
36057         * nis/rpcsvc/nis_callback.x: Likewise.
36058         * nis/rpcsvc/nis_object.x: Likewise.
36059         * nis/rpcsvc/nis_tags.h: Likewise.
36060         * nis/rpcsvc/yp.h: Likewise.
36061         * nis/rpcsvc/yp.x: Likewise.
36062         * nis/rpcsvc/ypupd.h: Likewise.
36063         * nis/yp_xdr.c: Likewise.
36064         * nis/ypupdate_xdr.c: Likewise.
36066         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
36067         mainly the body of pmap_getport.  Add parameters to specify timeouts.
36068         (pmap_getport): Use __libc_rpc_getport.
36069         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
36070         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
36071         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
36073 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
36075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
36076         fanotify_mark.
36078 2010-08-27  Roland McGrath  <roland@redhat.com>
36080         * sysdeps/i386/i686/multiarch/Makefile
36081         (CFLAGS-varshift.c): New variable.
36083 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
36085         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
36086         * sysdeps/i386/i686/multiarch/varshift.c: New file.
36088         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
36090         * sysdeps/x86_64/strlen.S: Minimal code improvement.
36092 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
36094         * sysdeps/x86_64/strlen.S: Unroll the loop.
36095         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36096         strlen-sse2 strlen-sse2-bsf.
36097         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
36098         __strlen_no_bsf if bit_Slow_BSF is set.
36099         (__strlen_sse42): Removed.
36100         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
36101         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
36103 2010-08-25  Roland McGrath  <roland@redhat.com>
36105         * sysdeps/x86_64/multiarch/varshift.S: File removed.
36106         * sysdeps/x86_64/multiarch/varshift.c: New file.
36107         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
36108         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
36109         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
36110         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36112 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
36114         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36115         strlen-sse2 strlen-sse2-bsf.
36116         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
36117         __strlen_sse2_bsf if bit_Slow_BSF is unset.
36118         (__strlen_sse2): Removed.
36119         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
36120         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
36121         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
36122         bit_Slow_BSF for Atom.
36123         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
36124         (index_Slow_BSF): Define.
36125         (HAS_SLOW_BSF): Define.
36127 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
36129         [BZ #10851]
36130         * resolv/res_init.c (__res_vinit): When no server address at all
36131         is given default to loopback.
36133 2010-08-24  Roland McGrath  <roland@redhat.com>
36135         * configure.in: Remove config-name.h generation.
36136         * configure: Regenerated.
36137         * config-name.in: File removed.
36138         * scripts/config-uname.sh: New file.
36139         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
36140         ($(objdir)config-name.h): New target.
36142         * sunrpc/rpc_parse.h: Avoid nested comment.
36144 2010-08-24  Richard Henderson  <rth@redhat.com>
36145             Ulrich Drepper  <drepper@redhat.com>
36146             H.J. Lu  <hongjiu.lu@intel.com>
36148         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
36149         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
36150         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
36151         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
36152         _mm_alignr_epi8 with _mm_loadu_si128.
36153         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
36154         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
36155         (__m128i_shift_right): Removed.
36156         * sysdeps/i386/i686/multiarch/varshift.h: New file.
36157         * sysdeps/i386/i686/multiarch/varshift.S: New file.
36158         * sysdeps/x86_64/multiarch/varshift.h: New file.
36159         * sysdeps/x86_64/multiarch/varshift.S: New file.
36161 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
36163         * configure.in: Move assembler checks to before sysdep dir checking.
36165 2010-08-20  Petr Baudis  <pasky@suse.cz>
36167         * LICENSES: Sync the sunrpc license.
36169 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
36171         * sunrpc/auth_des.c: Update copyright notice once again.
36172         * sunrpc/auth_none.c: Likewise.
36173         * sunrpc/auth_unix.c: Likewise.
36174         * sunrpc/authdes_prot.c: Likewise.
36175         * sunrpc/authuxprot.c: Likewise.
36176         * sunrpc/bindrsvprt.c: Likewise.
36177         * sunrpc/clnt_gen.c: Likewise.
36178         * sunrpc/clnt_perr.c: Likewise.
36179         * sunrpc/clnt_raw.c: Likewise.
36180         * sunrpc/clnt_simp.c: Likewise.
36181         * sunrpc/clnt_tcp.c: Likewise.
36182         * sunrpc/clnt_udp.c: Likewise.
36183         * sunrpc/clnt_unix.c: Likewise.
36184         * sunrpc/des_crypt.c: Likewise.
36185         * sunrpc/des_soft.c: Likewise.
36186         * sunrpc/get_myaddr.c: Likewise.
36187         * sunrpc/getrpcport.c: Likewise.
36188         * sunrpc/key_call.c: Likewise.
36189         * sunrpc/key_prot.c: Likewise.
36190         * sunrpc/openchild.c: Likewise.
36191         * sunrpc/pm_getmaps.c: Likewise.
36192         * sunrpc/pm_getport.c: Likewise.
36193         * sunrpc/pmap_clnt.c: Likewise.
36194         * sunrpc/pmap_prot.c: Likewise.
36195         * sunrpc/pmap_prot2.c: Likewise.
36196         * sunrpc/pmap_rmt.c: Likewise.
36197         * sunrpc/rpc/auth.h: Likewise.
36198         * sunrpc/rpc/auth_unix.h: Likewise.
36199         * sunrpc/rpc/clnt.h: Likewise.
36200         * sunrpc/rpc/des_crypt.h: Likewise.
36201         * sunrpc/rpc/key_prot.h: Likewise.
36202         * sunrpc/rpc/netdb.h: Likewise.
36203         * sunrpc/rpc/pmap_clnt.h: Likewise.
36204         * sunrpc/rpc/pmap_prot.h: Likewise.
36205         * sunrpc/rpc/pmap_rmt.h: Likewise.
36206         * sunrpc/rpc/rpc.h: Likewise.
36207         * sunrpc/rpc/rpc_des.h: Likewise.
36208         * sunrpc/rpc/rpc_msg.h: Likewise.
36209         * sunrpc/rpc/svc.h: Likewise.
36210         * sunrpc/rpc/svc_auth.h: Likewise.
36211         * sunrpc/rpc/types.h: Likewise.
36212         * sunrpc/rpc/xdr.h: Likewise.
36213         * sunrpc/rpc_clntout.c: Likewise.
36214         * sunrpc/rpc_cmsg.c: Likewise.
36215         * sunrpc/rpc_common.c: Likewise.
36216         * sunrpc/rpc_cout.c: Likewise.
36217         * sunrpc/rpc_dtable.c: Likewise.
36218         * sunrpc/rpc_hout.c: Likewise.
36219         * sunrpc/rpc_main.c: Likewise.
36220         * sunrpc/rpc_parse.c: Likewise.
36221         * sunrpc/rpc_parse.h: Likewise.
36222         * sunrpc/rpc_prot.c: Likewise.
36223         * sunrpc/rpc_sample.c: Likewise.
36224         * sunrpc/rpc_scan.c: Likewise.
36225         * sunrpc/rpc_scan.h: Likewise.
36226         * sunrpc/rpc_svcout.c: Likewise.
36227         * sunrpc/rpc_tblout.c: Likewise.
36228         * sunrpc/rpc_util.c: Likewise.
36229         * sunrpc/rpc_util.h: Likewise.
36230         * sunrpc/rpcinfo.c: Likewise.
36231         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
36232         * sunrpc/rpcsvc/key_prot.x: Likewise.
36233         * sunrpc/rpcsvc/klm_prot.x: Likewise.
36234         * sunrpc/rpcsvc/mount.x: Likewise.
36235         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
36236         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
36237         * sunrpc/rpcsvc/rex.x: Likewise.
36238         * sunrpc/rpcsvc/rstat.x: Likewise.
36239         * sunrpc/rpcsvc/rusers.x: Likewise.
36240         * sunrpc/rpcsvc/sm_inter.x: Likewise.
36241         * sunrpc/rpcsvc/spray.x: Likewise.
36242         * sunrpc/rpcsvc/yppasswd.x: Likewise.
36243         * sunrpc/rtime.c: Likewise.
36244         * sunrpc/svc.c: Likewise.
36245         * sunrpc/svc_auth.c: Likewise.
36246         * sunrpc/svc_authux.c: Likewise.
36247         * sunrpc/svc_raw.c: Likewise.
36248         * sunrpc/svc_run.c: Likewise.
36249         * sunrpc/svc_simple.c: Likewise.
36250         * sunrpc/svc_tcp.c: Likewise.
36251         * sunrpc/svc_udp.c: Likewise.
36252         * sunrpc/svc_unix.c: Likewise.
36253         * sunrpc/svcauth_des.c: Likewise.
36254         * sunrpc/xcrypt.c: Likewise.
36255         * sunrpc/xdr.c: Likewise.
36256         * sunrpc/xdr_array.c: Likewise.
36257         * sunrpc/xdr_float.c: Likewise.
36258         * sunrpc/xdr_mem.c: Likewise.
36259         * sunrpc/xdr_rec.c: Likewise.
36260         * sunrpc/xdr_ref.c: Likewise.
36261         * sunrpc/xdr_sizeof.c: Likewise.
36262         * sunrpc/xdr_stdio.c: Likewise.
36264         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
36265         handling.
36267 2010-08-19  Andreas Schwab  <schwab@redhat.com>
36269         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
36271 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
36273         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
36274         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
36275         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
36276         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
36277         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
36278         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
36279         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
36280         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
36281         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
36282         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
36283         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
36284         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
36285         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
36286         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
36288 2010-07-26  Anton Blanchard  <anton@samba.org>
36290         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
36291         * malloc/arena.c (heap_trim): Likewise.
36293 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
36295         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
36296         here.  Not...
36297         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
36298         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
36300 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
36302         * sysdeps/i386/elf/Makefile: New file.
36304 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
36306         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
36307         from fanotify_init.
36308         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
36309         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36311 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
36313         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
36314         of strncasecmp_l.
36315         * sysdeps/multiarch/strcmp.S: Likewise.
36317 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
36319         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36320         strncase_l-nonascii.
36321         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36322         Add strncase_l-ssse3.
36323         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
36324         * sysdeps/x86_64/strcmp.S: Likewise.
36325         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
36326         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
36327         * sysdeps/x86_64/strncase.S: New file.
36328         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
36329         * sysdeps/x86_64/strncase_l.S: New file.
36330         * string/Makefile (strop-tests): Add strncasecmp.
36331         * string/test-strncasecmp.c: New file.
36333         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
36334         warning.
36336         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
36337         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
36339 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
36341         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
36343 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
36345         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
36346         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
36347         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
36349 2010-05-01  Alan Modra  <amodra@gmail.com>
36351         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
36352         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
36353         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
36354         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
36355         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
36356         tidying.  Don't tail-call __sigjmp_save for static lib.
36357         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
36358         save location.
36359         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
36360         (CALL_MCOUNT): Add eh info, and nop after bl.
36361         (TAIL_CALL_SYSCALL_ERROR): New macro.
36362         (PSEUDO_RET): Use it.
36363         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
36364         Correct save location of integer regs and cr.
36365         (_dl_profile_resolve): Correct cr save location.  Delete nops
36366         after bl when SHARED.  Reduce cfi size a little by better
36367         placement of cfi directives.
36368         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
36369         make a stack frame.  Instead use parm save area as a temp.
36370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
36371         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
36372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
36373         Don't make a stack frame for parent, use parm save area.
36374         Increase child stack frame to 112 bytes.  Don't save unused reg,
36375         and adjust reg usage.  Set up cfi on error recovery and
36376         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
36377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36378         (__makecontext): Add dummy nop after jump to exit.
36379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
36380         Use correct parm save area and cr save, reduce stack frame.
36381         Correct cfi for possible PSEUDO_RET frame setup.
36382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
36383         Branch to local label emitted by PSEUDO_RET rather than
36384         __syscall_error.
36386 2010-08-12  Andreas Schwab  <schwab@redhat.com>
36388         [BZ #11904]
36389         * locale/programs/locale.c (print_assignment): New function.
36390         (show_locale_vars): Use it.
36392 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
36394         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
36395         field.
36396         (struct statfs64): Likewise.
36397         (_STATFS_F_FLAGS): Define.
36398         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
36399         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36400         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
36401         (ST_VALID): Define locally.
36402         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
36403         __statvfs_getflags, use the provided value.
36404         * sysdeps/unix/sysv/linux/kernel-features.h: Define
36405         __ASSUME_STATFS_F_FLAGS.
36407         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
36409         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
36410         Add sys/fanotify.h.
36411         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
36412         fanotify_mask for GLIBC_2.13.
36413         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
36414         fanotify_init and fanotify_mark.
36415         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36416         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
36418         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
36419         Add prlimit.
36420         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
36421         prlimit64 for GLIBC_2.13.
36422         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
36423         prlimit64.
36424         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
36425         syscall.
36426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
36427         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36428         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
36429         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
36430         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
36431         add prlimit alias.
36432         * sysdeps/unix/sysv/linux/prlimit.c: New file.
36434         [BZ #11903]
36435         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
36436         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
36438         * nss/Makefile: Add rules to build and run tst-nss-test1.
36439         * shlib-versions: Add entry for libnss_test1.
36440         * nss/nss_test1.c: New file.
36441         * nss/tst-nss-test1.c: New file.
36443         * nss/nsswitch.c (__nss_database_custom): Define new variable.
36444         (__nss_configure_lookup): Set appropriate entry in
36445         __nss_configure_lookup to true.
36446         * nss/nsswitch.h: Define enum with indeces of databases in
36447         databases and __nss_database_custom arrays.  Declare
36448         __nss_database_custom.
36449         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
36450         to avoid using nscd when custom rules are installed.
36451         * nss/getXXbyYY_r.c: Likewise.
36452         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
36454         * nss/nss_files/files-parse.c: Whitespace fixes.
36456 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
36458         [BZ #11883]
36459         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
36460         * posix/fnmatch_loop.c: Likewise.
36462 2010-07-17  Andi Kleen  <ak@linux.intel.com>
36464         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
36465         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
36466         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
36467         * Versions.def [GLIBC_2.13]: Add.
36469 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
36471         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36472         Also fail if tpwd after pwuid call is NULL.
36474 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36476         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
36477         when converting to ms.
36479 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36481         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
36482         EOPNOTSUPP errors with ENOTTY.
36483         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
36484         EOPNOTSUPP errors with ENOTTY.
36486 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
36488         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36489         Add strcasecmp_l-ssse3.
36490         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
36491         strcasecmp.
36492         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
36493         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
36494         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
36496 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
36498         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
36500         * string/Makefile (strop-tests): Add strcasecmp.
36501         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36502         strcasecmp_l-nonascii.
36503         (gen-as-const-headers): Add locale-defines.sym.
36504         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
36505         * sysdeps/x86_64/strcasecmp.S: New file.
36506         * sysdeps/x86_64/strcasecmp_l.S: New file.
36507         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
36508         * sysdeps/x86_64/locale-defines.sym: New file.
36509         * string/test-strcasecmp.c: New file.
36511         * string/test-strcasestr.c: Test both ends of the range of characters.
36512         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
36514 2010-07-29  Roland McGrath  <roland@redhat.com>
36516         [BZ #11856]
36517         * manual/locale.texi (Yes-or-No Questions): Fix example code.
36519 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
36521         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
36522         for ld.so.
36524 2010-07-27  Andreas Schwab  <schwab@redhat.com>
36526         * manual/memory.texi (Malloc Tunable Parameters): Document
36527         M_PERTURB.
36529 2010-07-26  Roland McGrath  <roland@redhat.com>
36531         [BZ #11840]
36532         * configure.in (-fgnu89-inline check): Set and substitute
36533         gnu89_inline, not libc_cv_gnu89_inline.
36534         * configure: Regenerated.
36535         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
36537 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
36539         * string/test-strnlen.c: New file.
36540         * string/Makefile (strop-tests): Add strnlen.
36541         * string/tester.c (test_strnlen): Add a few more test cases.
36542         * string/tst-strlen.c: Better error reporting.
36544         * sysdeps/x86_64/strnlen.S: New file.
36546 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
36548         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
36549         lower-latency instructions.
36551 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
36553         * string/test-strcasestr.c: New file.
36554         * string/test-strstr.c: New file.
36555         * string/Makefile (strop-tests): Add strstr and strcasestr.
36556         * string/str-two-way.h: Don't undefine MAX.
36557         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
36559 2010-07-21  Andreas Schwab  <schwab@redhat.com>
36561         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36562         strcasestr-nonascii.
36563         (CFLAGS-strcasestr-nonascii.c): Define.
36564         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
36565         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
36566         Remove unused attribute.
36568 2010-07-20  Roland McGrath  <roland@redhat.com>
36570         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
36571         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
36572         ld.so.cache was broken.  With it, there is no way to disable dsocaps
36573         like LD_HWCAP_MASK can disable hwcaps.
36575 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
36577         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
36579 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
36581         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
36582         call in strcasestr.
36583         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
36584         __strcasestr_sse42_nonascii.
36585         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
36586         strcasestr-nonascii.c.
36587         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
36589 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
36591         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
36592         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
36593         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
36594         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
36596 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
36598         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
36599         fcntl.
36601 2010-07-06  Andreas Schwab  <schwab@redhat.com>
36603         [BZ #11577]
36604         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
36605         dl_signal_cerror.
36607 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
36609         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
36610         _PC_PIPE_BUF using F_GETPIPE_SZ.
36612 2010-07-05  Roland McGrath  <roland@redhat.com>
36614         * manual/arith.texi (Rounding Functions): Fix rint description
36615         implicit in round description.
36617 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
36619         * elf/Makefile: Fix linking for a few tests to make recent linker
36620         happy.
36622 2010-06-30  Andreas Schwab  <schwab@redhat.com>
36624         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
36625         $(common-objpfx)libc_nonshared.a.
36627 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
36629         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
36630         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
36631         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
36632         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
36633         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
36634         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
36635         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
36636         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
36637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
36638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
36639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
36640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
36641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
36642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
36643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
36644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
36645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
36646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
36647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
36648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
36649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
36650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
36651         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
36652         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
36653         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
36654         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
36655         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
36656         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
36657         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
36658         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
36659         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
36660         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
36661         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
36662         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
36663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
36664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
36665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
36666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
36667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
36668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
36669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
36670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
36671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
36672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
36673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
36674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
36675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
36676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
36678 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
36680         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
36681         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
36682         * string/memmove.c (memmove): Renamed to ...
36683         (MEMMOVE): ...this.  Default to memmove.
36684         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
36685         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
36686         (END_CHK): Define.
36687         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36688         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
36689         mempcpy-ssse3-back memmove-ssse3-back.
36690         * sysdeps/x86_64/multiarch/bcopy.S: New file .
36691         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
36692         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
36693         * sysdeps/x86_64/multiarch/memcpy.S: New file.
36694         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
36695         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
36696         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
36697         * sysdeps/x86_64/multiarch/memmove.c: New file.
36698         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
36699         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
36700         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
36701         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
36702         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
36703         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
36704         Define.
36705         (index_Fast_Copy_Backward): Define.
36706         (HAS_ARCH_FEATURE): Define.
36707         (HAS_FAST_REP_STRING): Define.
36708         (HAS_FAST_COPY_BACKWARD): Define.
36710 2010-06-21  Andreas Schwab  <schwab@redhat.com>
36712         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36713         Restore proper fallback handling.
36715 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
36717         [BZ #11701]
36718         * posix/group_member.c (__group_member): Correct checking loop.
36720         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
36721         OOM in getpwuid_r correctly.  Return error number when the caller
36722         should return, otherwise -1.
36723         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
36724         call returning > 0 value.
36725         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
36727 2010-06-07  Andreas Schwab  <schwab@redhat.com>
36729         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
36730         libc_nonshared.a from targets in modules-names.
36732 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
36734         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
36735         requires it.
36737 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
36739         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
36740         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
36741         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
36742         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
36744 2010-06-02  Andreas Schwab  <schwab@redhat.com>
36746         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
36748 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
36750         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
36751         and F_GETPIPE_SZ.
36752         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36753         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36754         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36755         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36756         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36757         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
36759 2010-06-14  Roland McGrath  <roland@redhat.com>
36761         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
36763 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
36765         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
36766         __REDIRECT followed by __THROW.
36767         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
36768         * posix/getopt.h (getopt): Likewise.
36770 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
36772         * hurd/lookup-at.c (__file_name_lookup_at): Accept
36773         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
36774         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
36775         in AT_FLAGS.
36776         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
36777         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
36779 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
36781         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
36783 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
36785         [BZ #11640]
36786         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36787         Properly check family and model.
36789 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
36791         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
36793 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
36795         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
36797 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
36799         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
36800         symbol reference.
36802 2010-05-19  Andreas Schwab  <schwab@redhat.com>
36804         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
36805         symbol reference.
36807 2010-05-21  Andreas Schwab  <schwab@redhat.com>
36809         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
36810         and internal_recvmmsg.
36811         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
36812         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
36813         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
36814         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
36816         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
36817         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
36818         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
36820 2010-05-20  Andreas Schwab  <schwab@redhat.com>
36822         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
36824 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
36826         POWER7 optimizations.
36827         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
36828         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
36830 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
36832         * version.h: Update for 2.13 development version.
36834 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
36836         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
36837         exceptions.  Return 0.
36839 2010-05-07  Roland McGrath  <roland@redhat.com>
36841         * elf/ldconfig.c (main): Add a const.
36843 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
36845         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
36846         (args_options): Add no-idn option.
36847         (ahosts_keys_int): Add idn_flags to ai_flags.
36848         (parse_option): Handle 'i' option to clear idn_flags.
36850         * malloc/malloc.c (_int_free): Possible race in the most recently
36851         added check.  Only act on the data if no current modification
36852         happened.
36854 See ChangeLog.17 for earlier changes.