]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
PowerPC: multiarch strcpy for PowerPC64
[thirdparty/glibc.git] / ChangeLog
CommitLineData
7f5ec113
AZ
12013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
3 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
4 multiarch implementations.
5 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6 (__libc_ifunc_impl_list): Likewise.
7 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
8 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
9 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
10 multiarch strcpy for PPC64.
11
e28bcd42
AZ
122013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13
14 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
15 redefine function name.
16 (_wordcopy_fwd_dest_aligned): Likewise.
17 (_wordcopy_bwd_aligned): Likewise.
18 (_wordcopy_bwd_dest_aligned): Likewise.
19 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
20 multiarch implementations.
21 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22 (__libc_ifunc_impl_list): Likewise.
23 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
24 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
25 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
26 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
27 multiarch wcscpy for PPC64.
28
92cacfce
AZ
292013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30
31 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
32 multiarch implementations.
33 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34 (__libc_ifunc_impl_list): Likewise.
35 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
36 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
37 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
38 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
39 multiarch wcscpy for PPC64.
40
7b714620
AZ
412013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42
43 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
44 multiarch implementations.
45 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46 (__libc_ifunc_impl_list): Likewise.
47 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
48 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
49 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
50 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
51 multiarch wcsrchr for PPC64.
52
16fd2ae3
AZ
532013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54
55 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
56 multiarch implementations.
57 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58 (__libc_ifunc_impl_list): Likewise.
59 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
60 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
61 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
62 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
63 multiarch wcschr for PPC64.
64
9ee2969b
AZ
652013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66
67 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
68 multiarch implementations.
69 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
70 (__libc_ifunc_impl_list): Likewise.
71 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
72 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
73 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
74 multiarch strchrnul for PPC64.
75
372dc060
AZ
762013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
77
78 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
79 implementations.
80 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
81 (__libc_ifunc_impl_list): Likewise.
82 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
83 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
84 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
85 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
86 strchr for PPC64.
87
24c2c3b9
AZ
882013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
89
90 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
91 implementations.
92 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
93 (__libc_ifunc_impl_list): Likewise.
94 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
95 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
96 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
97 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
98 strncmp for PPC64.
99
1c92d9a0
AZ
1002013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
101
102 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
103 multiarch implementations.
104 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
105 (__libc_ifunc_impl_list): Likewise.
106 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
107 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
108 strncasecmp for PPC64.
109 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
110 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
111 multiarch strncasecmp_l for PPC64.
112
17de3ee3
AZ
1132013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
114
115 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
116 multiarch implementations.
117 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
118 (__libc_ifunc_impl_list): Likewise.
119 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
120 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
121 multiarch strcasecmp for PPC64.
122 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
123 file.
124 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
125 multiarch strcasecmp_l for PPC64.
126
62982bf9
AZ
1272013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
128
129 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
130 implementations.
131 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
132 (__libc_ifunc_impl_list): Likewise.
133 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
134 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
135 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
136 strnlen for PPC64.
137
a65f4904
AZ
1382013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
139
140 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
141 implementations.
142 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
143 (__libc_ifunc_impl_list): Likewise.
144 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
145 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
146 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
147 strlen for PPC64.
148
1fd005ad
AZ
1492013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
150
151 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
152 implementations.
153 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
154 (__libc_ifunc_impl_list): Likewise.
155 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
156 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
157 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
158 rawmemrchr for PPC64.
159
cd05ba91
AZ
1602013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
161
162 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
163 implementation.
164 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
165 (__libc_ifunc_impl_list): Likewise.
166 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
167 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
168 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
169 memrchr for PPC64.
170
870f8676
AZ
1712013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
172
173 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
174 implementation.
175 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
176 (__libc_ifunc_impl_list): Likewise.
177 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
178 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
179 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
180 memchr for PPC64.
181
f00be62b
AZ
1822013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
183
184 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
185 implementation.
186 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
187 (__libc_ifunc_impl_list): Likewise.
188 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
189 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
190 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
191 mempcpy for PPC64.
192
8a29a3d0
AZ
1932013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
194
195 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
196 avoid cretion of __bzero symbol.
197 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
198 Likewise.
199 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
200 Likewise.
201 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
202 Likewise.
203 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
204 multiarch implementations.
205 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
206 (__libc_ifunc_impl_list): Likewise.
207 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
208 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
209 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
210 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
211 bzero for PPC32.
212 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
213 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
214 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
215 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
216 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
217 memset for PPC64.
218 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
219
07253fcf
AZ
2202013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
221
222 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
223 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
224 implementations.
225 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
226 (__libc_ifunc_impl_list): Likewise.
227 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
228 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
229 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
230 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
231 memcmp for PPC64.
232
b5beafbc
AZ
2332013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
234
235 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
236 multiarch for POWER/PPC64.
237 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
238 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
239 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
240 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
241 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
242 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
243 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
244 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
245 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
246 memcpy for PPC64.
247
5e6a4d4b
AZ
2482013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
249
250 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
251 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
252 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
253 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
254 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
255 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
256 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
257 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
258 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
259 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
260 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
261 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
262 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
263 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
264 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
272
ddfab6dc
KK
2732013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
274
275 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
276
19b5525e
SP
2772013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
278
279 * benchtests/Makefile (bench): Add exp2 and log2.
280 (LDLIBS-bench-exp2): Add -lm.
281 (LDLIBS-bench-log2): Likewise.
282 * benchtests/exp2-inputs: New inputs file.
283 * benchtests/log2-inputs: New inputs file.
284 * benchtests/log-inputs: Add new inputs.
285 * benchtests/tan-inputs: Likewise.
286
196f7f5d
SP
2872013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
288
7a74607f
SP
289 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
290 definition...
291 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
292 csloww1, csloww2): ... from here.
293
196f7f5d
SP
294 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
295 instead of structures.
296 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
297 (POLYNOMIAL): Likewise.
298 (TAYLOR_SLOW): Likewise.
299 (__sin): Likewise.
300 (__cos): Likewise.
301 (slow1): Likewise.
302 (slow2): Likewise.
303 (sloww): Likewise.
304 (sloww1); Likewise.
305 (sloww2): Likewise.
306 (bsloww1): Likewise.
307 (bsloww2): Likewise.
308 (cslow2): Likewise.
309 (csloww): Likewise.
310 (csloww1): Likewise.
311 (csloww2): Likewise.
312
0dfa665c
OB
3132013-12-10 Ondřej Bílka <neleai@seznam.cz>
314
315 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
316 (__malloc_assert, __libc_realloc, __libc_calloc,
317 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
318 memcpy and memset.
319 * malloc/hooks.c (realloc_check): Likewise.
320
5782a80f
OB
3212013-12-10 Ondřej Bílka <neleai@seznam.cz>
322
323 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
324 * malloc/arena.c: Remove PER_THREAD conditional.
325 [!PER_THREAD]: Remove code.
326 (ptmalloc_unlock_all2): Likewise.
327 (ptmalloc_init): Likewise.
328 (_int_new_arena): Likewise.
329 (arena_get2): Likewise.
330 * malloc/hooks.c (__malloc_get_state): Likewise.
331 (__malloc_set_state): Likewise.
332 * malloc/malloc.c: Likewise.
333 (struct malloc_state): Likewise.
334 (struct malloc_par): Likewise.
335 (__libc_realloc): Likewise.
336 (__libc_mallopt): Likewise.
337
aeb95445
AZ
3382013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
339
340 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
341
e8349efd
OB
3422013-12-09 Ondřej Bílka <neleai@seznam.cz>
343
344 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
345 macro to a function. Check for zero perturb_byte.
346 (_int_malloc, _int_free): Remove zero perturb_byte checks.
347
f3eeb3fc
OB
3482013-12-09 Ondřej Bílka <neleai@seznam.cz>
349
350 * malloc/malloc.c: (force_reg): Remove.
351 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
352 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
353 force_reg by atomic_forced_read.
354 * malloc/arena.c (ptmalloc_init): Likewise.
355 * malloc/hooks.c (top_check): Likewise.
356
be2f9009
AZ
3572013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
358
359 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
360
e7b914bd
MT
3612013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
362
363 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
364
9f0be4f8
JM
3652013-12-08 Joseph Myers <joseph@codesourcery.com>
366
367 * math/auto-libm-test-in: Add tests of lgamma.
368 * math/auto-libm-test-out: Regenerated.
369 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
370 (M_LOG_2_SQRT_PIl): Likewise.
371 (lgamma_test_data): Use AUTO_TESTS_f_f1.
372 * math/gen-auto-libm-tests.c (func_calc_method): Add value
373 mpfr_f_f1.
374 (func_calc_desc): Add mpfr_f_f1 union field.
375 (ARGS1): New macro.
376 (ARGS2): Likewise.
377 (ARGS3): Likewise.
378 (ARGS4): Likewise.
379 (RET1): Likewise.
380 (RET2): Likewise.
381 (CALC): Likewise.
382 (FUNC): Likewise.
383 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
384 (test_functions): Add lgamma.
385 (calc_generic_results): Handle mpfr_f_f1.
386 * sysdeps/i386/fpu/libm-test-ulps: Update.
387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
388
24eeafdb
AZ
3892013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
390
391 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
392 __mpn_add_n for PowerPC64/POWER7.
393 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
394 __mpn_sub_n for PowerPC64/POWER7.
395
4a2c0fd4
AZ
3962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
397
398 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
399 __mpn_addmul_1 for PowerPC64.
400 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
401 __mpn_submul_1 for PowerPC64.
402 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
403 for PowerPC64.
404 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
405 for PowerPC64.
406
4b5b548c
FS
4072013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
408
409 [BZ #15089]
410 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
411
0a3ac0aa
AZ
4122013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
413
414 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
415
ccdc8438
AZ
4162013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
417
418 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
419 add multiarch folders.
420 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
421 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
422 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
423 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
424 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
425 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
426 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
427 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
428 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
429 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
430 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
437
2e973d99
AZ
4382013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
439
440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
441 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
443 New file.
444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
445 New file.
446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
447 multiarch __ieee754_hypot for PowerPC32.
448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
449 New file.
450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
451 New file.
452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
453 multiarch __ieee754_hypotf for PowerPC32.
454
2d9470b2
AZ
4552013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
456
457 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
458 long_double_symbol only if __logbl is defined.
459 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
460 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
461 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
462 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
463 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
464 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
465 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
466 path for implementation.
467 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
468 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
470 logb, and logbl multiarch implementations for PowerPC32.
471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
472 file.
473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
474 file.
475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
476 multiarch logb for PowerPC32.
477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
478 file.
479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
480 file.
481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
482 multiarch logbf for PowerPC32.
483 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
485 file.
486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
487 multiarch logbl implementation for PowerPC32.
488
5212ffce
AZ
4892013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
490
491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
492 and modff multiarch implementations.
493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
494 New file.
495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
496 New file.
497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
498 multiarch modf for PowerPC32.
499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
500 New file.
501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
502 New file.
503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
504 multiarch modff for PowerPC32.
505
79dccf31
AZ
5062013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
507
508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
509 and lrintf multiarch implementations.
510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
511 New file.
512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
513 New file.
514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
515 multiarch lrint for PowerPC32.
516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
517 file: multiarch lrintf for PowerPC32.
518
deb66480
AZ
5192013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
520
521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
522 and lroundf multiarch implementations.
523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
524 New file.
525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
526 New file.
527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
528 New file.
529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
530 multiarch lround for PowerPC32.
531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
532 file: multiarch lroundf for PowerPC32.
533
264b036b
AZ
5342013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
535
536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
537 copysign and copysignf multiarch implementations.
538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
539 New file.
540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
541 New file.
542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
543 file: multiarch copysign for PowerPC32.
544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
545 file: multiarch copysignf for PowerPC32.
546
d47db6c9
AZ
5472013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
548
549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
550 and truncf multiarch implementations.
551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
552 New file.
553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
554 file.
555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
556 multiarch trunc for PowerPC32.
557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
558 New file.
559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
560 New file.
561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
562 multiarch truncf for PowerPC32.
563
ddb60b5a
AZ
5642013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
565
566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
567 and roundf multiarch implementations.
568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
569 New file.
570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
571 file.
572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
573 multiarch round for PowerPC32.
574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
575 New file.
576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
577 New file.
578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
579 multiarch roundf for PowerPC32.
580
bedcf49b
AZ
5812013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
582
583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
584 and floorf multiarch implementations.
585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
586 New file.
587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
588 file.
589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
590 multiarch floor for PowerPC32.
591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
592 New file.
593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
594 New file.
595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
596 multiarch floorf for PowerPC32.
597
35ae5b40
AZ
5982013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
599
600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
601 and ceilf multiarch implementations.
602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
603 New file.
604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
605 file.
606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
607 multiarch ceil for PowerPC32.
608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
609 New file.
610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
611 file.
612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
613 multiarch ceilf for PowerPC32.
614
ae1a4cd9
AZ
6152013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
616
617 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
618 is defined.
619 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
620 FINITEF is defined.
621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
622 and finitef multiarch implementations.
623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
624 New file.
625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
626 file.
627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
628 multiarch finite for PowerPC32.
629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
630 New file.
631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
632 file: multiarch finitef for PowerPC32.
633
64fffd65
AZ
6342013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
635
636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
637 and isinff multiarch implementations.
638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
639 file.
640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
641 file.
642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
643 multiarch isinf for PowerPC32.
644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
645 New file.
646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
647 multiarch isinff for PowerPC32.
648
8e4e7ba2
AZ
6492013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
650
651 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
652 alias when __isnan is defined.
653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
654 and isnanf multiarch implementations.
655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
656 file.
657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
658 file.
659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
660 file.
661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
662 file.
663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
664 multiarch isnan for PowerPC32.
665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
666 New file.
667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
668 New file.
669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
670 multiarch isnanf for PowerPC32.
671
ddba588e
AZ
6722013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
673
674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
675 and sqrtf multiarch implementations.
676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
677 file.
678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
679 file.
680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
681 multiarch sqrt for PowerPC32.
682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
683 file.
684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
685 file.
686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
687 multiarch sqrtf for PowerPC32.
688
0f96a2f0
AZ
6892013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
690
691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
692 and llroundf multiarch implementations.
693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
694 New file.
695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
696 New file.
697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
698 New file.
699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
700 file: multiarch llround for PowerPC32.
701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
702 file: multiarch llroundf for PowerPC32.
703
c9b5d79e
AZ
7042013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
705
706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
707 multiarch PowerPC32 fpu implementations.
708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
709 New file.
710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
711 New file.
712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
713 multiarch llrint for PowerPC32.
714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
715 New file.
716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
717 New file.
718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
719 file.
720
9cbb3aab
AZ
7212013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
722
723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
724
ea5a72f8
AZ
7252013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
726
727 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
728 file.
729 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
730 file.
731 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
732 file.
733 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
734 multiarch wordcopy for PPC32.
735 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
736 wordcopy objects.
737 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
738 (__libc_ifunc_impl_list): Likewise.
739 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
740 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
741 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
742 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
743 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
744 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
745
93be09e7
AZ
7462013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
747
748 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
749 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
750 file.
751 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
752 file.
753 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
754 file.
755 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
756 multiarch wcscpy for PPC32.
757 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
758 multiarch objects.
759 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
760 (__libc_ifunc_impl_list): Likewise.
761 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
762 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
763 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
764 sysdeps/powerpc/power6/wcscpy.c.
765
bb04e529
AZ
7662013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
767
768 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
769 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
770 file.
771 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
772 file.
773 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
774 file.
775 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
776 multiarch wcsrchr for PPC32.
777 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
778 multiarch objects.
779 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
780 (__libc_ifunc_impl_list): Likewise.
781 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
782 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
783 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
784 sysdeps/powerpc/power6/wcsrchr.c.
785
05b5cd1c
AZ
7862013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
787
788 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
789 file.
790 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
791 file.
792 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
793 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
794 multiarch wcschr for PPc32.
795 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
796 multiarch objects.
797 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
798 (__libc_ifunc_impl_list): Likewise.
799 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
800 * sysdeps/powerpc/power6/wcschr.c: ... to here.
801 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
802 sysdeps/powerpc/power6/wcschr.c.
803
ba964147
AZ
8042013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
805
806 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
807 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
808 file.
809 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
810 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
811 file: multiarch strchr for PPC32.
812 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
813 multiarch objects.
814 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
815 (__libc_ifunc_impl_list): Likewise.
816
31c81aaa
AZ
8172013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
818
819 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
820 name.
821 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
822 file.
823 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
824 file.
825 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
826 multiarch strchrnul for PPC32.
827 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
828 multiarch objects.
829 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
830 (__libc_ifunc_impl_list): Likewise.
831
0d0607d9
AZ
8322013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
833
834 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
835 file.
836 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
837 multiarch strncasecmp for PPC32.
838 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
839 file.
840 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
841 multiarch strncasecmp_l for PPC32.
842 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
843 strncasecmp multiarch objects.
844 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
845 (__libc_ifunc_impl_list): Likewise.
846
4dfd5c86
AZ
8472013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
848
849 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
850 file.
851 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
852 multiarch strncasecmp for PPC32.
853 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
854 New file.
855 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
856 multiarch strcasecmp_l for PPC32.
857 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
858 multiarch objects.
859 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
860 (__libc_ifunc_impl_list): Likewise.
861
a19e01a3
AZ
8622013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
863
864 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
865 file.
866 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
867 file.
868 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
869 multiarch strncmp for PPC32.
870 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
871 multiarch objects.
872 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
873 (__libc_ifunc_impl_list): Likewise.
874
ae9cf7a2
AZ
8752013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
876
877 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
878 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
879 file.
880 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
881 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
882 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
883 multiarch objects.
884 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
885 (__libc_ifunc_impl_list): Likewise.
886
3148bb7d
AZ
8872013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
888
889 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
890 file.
891 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
892 file.
893 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
894 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
895 multiarch objects.
896 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
897 (__libc_ifunc_impl_list): Likewise.
898
7af8b946
AZ
8992013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
900
901 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
902 file.
903 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
904 file.
905 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
906 multiarch rawmemchr for PPC32.
907 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
908 multiarch objects.
909 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
910 (__libc_ifunc_impl_list): Likewise.
911
03a6aa6a
AZ
9122013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
913
914 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
915 file.
916 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
917 file.
918 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
919 file: memrchr multiarch for PPC32.
920 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
921 multiarch objects.
922 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
923 (__libc_ifunc_impl_list): Likewise.
924
1c62e6d9
AZ
9252013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
926
927 * string/memchr.c (__memchr): Using macro to redefine symbol name.
928 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
929 file.
930 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
931 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
932 multiarch memchr for PPC32.
933 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
934 multiarch objects.
935 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
936 (__libc_ifunc_impl_list): Likewise.
937
87da8bdb
AZ
9382013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
939
940 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
941 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
942 file.
943 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
944 file.
945 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
946 file: multiarch mempcpy for PPC32.
947 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
948 multiarch objects.
949 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
950 (__libc_ifunc_impl_list): Likewise.
951
20ed4714
AZ
9522013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
953
954 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
955 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
956 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
957 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
958 multiarch bzero for PPC32.
959 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
960 file.
961 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
962 file.
963 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
964 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
965 file: multiarch memset for PPC32.
966 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
967 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
968 memset multiarch objects.
969 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
970 (__libc_ifunc_impl_list): Likewise.
971
ab3e3a46
AZ
9722013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
973
974 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
975 file.
976 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
977 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
978 memcmp for PPC32.
979 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
980 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
981 multiarch objects.
982 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
983 (__libc_ifunc_impl_list): Likewise.
984
930de6f0
AZ
9852013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
986
987 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
988 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
989 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
990 file.
991 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
992 file.
993 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
994 file.
995 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
996 multiarch memcpy for PPC32.
997 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
998 multiarch objects.
999 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1000 (__libc_ifunc_impl_list): Likewise.
1001
4c628e00
AZ
10022013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1003
1004 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
1005 support multiarch for POWER/PPC32.
1006 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1007 Likewise.
1008 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
1010 Implies file to make multiarch folder appers before the fpu and
1011 default folder for power4 configuration.
1012
f4479220
SP
10132013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1014
1015 * scripts/bench.pl: Append volatile keyword to type.
1016
8517800f
KK
10172013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1018
1019 * sysdeps/sh/sotruss-lib.c: New file.
1020 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
1021
180138f1
AZ
10222013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1023
1024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1025
bbf37bdc
JM
10262013-12-05 Joseph Myers <joseph@codesourcery.com>
1027
e47cc4e0
JM
1028 [BZ #6810]
1029 * math/w_tgamma.c: Include <errno.h>.
1030 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
1031 * math/w_tgammaf.c: Include <errno.h>.
1032 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
1033 * math/w_tgammal.c: Include <errno.h>.
1034 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
1035 * math/auto-libm-test-in: Do not allow missing errno on tgamma
1036 underflow. Add more tgamma tests.
1037 * math/auto-libm-test-out: Regenerated.
1038 * sysdeps/i386/fpu/libm-test-ulps: Update.
1039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1040
bbf37bdc
JM
1041 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
1042 sin, sinh, tan, tanh, tgamma, y0 and y1.
1043 * math/auto-libm-test-out: Regenerated.
1044 * math/libm-test.inc (TEST_COND_x86_64): New macro.
1045 (TEST_COND_x86): Likewise.
1046 (M_E2l): Remove macro.
1047 (M_E3l): Likewise.
1048 (M_2_SQRT_PIl): Likewise.
1049 (M_SQRT_PIl): Likewise.
1050 (M_1_DIV_El): Likewise.
1051 (log_test_data): Use AUTO_TESTS_f_f.
1052 (log10_test_data): Likewise.
1053 (log1p_test_data): Likewise.
1054 (log2_test_data): Likewise.
1055 (sin_test_data): Likewise.
1056 (sin_tonearest_test_data): Likewise.
1057 (sin_towardzero_test_data): Likewise.
1058 (sin_downward_test_data): Likewise.
1059 (sin_upward_test_data): Likewise.
1060 (sinh_test_data): Likewise.
1061 (sinh_tonearest_test_data): Likewise.
1062 (sinh_towardzero_test_data): Likewise.
1063 (sinh_downward_test_data): Likewise.
1064 (sinh_upward_test_data): Likewise.
1065 (tan_test_data): Likewise.
1066 (tan_tonearest_test_data): Likewise.
1067 (tan_towardzero_test_data): Likewise.
1068 (tan_downward_test_data): Likewise.
1069 (tan_upward_test_data): Likewise.
1070 (tanh_test_data): Likewise.
1071 (tgamma_test_data): Likewise.
1072 (y0_test_data): Likewise.
1073 (y1_test_data): Likewise.
1074 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
1075 (special_real_inputs): Add pi/4.
1076 * sysdeps/i386/fpu/libm-test-ulps: Update.
1077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1078
eb5ad6b9
AZ
10792013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1080
1081 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
1082 "longjmp_target" static probes.
1083 (__longjmp): Rename to __longjmp_symbol.
1084 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1085 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
1086 on which longjmp to generate.
1087 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1088 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
1089 probe.
1090 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1091 (__sigjmp_save): Rename to __sigjmp_save_symbol.
1092 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1093 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
1094 and __sigjmp_save_symbol based on which sigsetjmp to generated.
1095 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
1096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
1097 __longjmp_symbol based on which __longjmp to generate.
1098 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
1099 probe.
1100 (setjmp): Rename to setjmp_symbol.
1101 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1102 (_setjmp): Rename to _setjmp_symbol.
1103 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1104 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
1105 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
1106 which setjmp to generate.
1107 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
1108 "longjmp_target" static probes.
1109
d136c6dc
SP
11102013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1111
9298ecba
SP
1112 * benchtests/README: Add note about output arguments.
1113 * benchtests/bench-sincos.c: Remove file.
1114 * benchtests/sincos-inputs: New file.
1115 * scripts/bench.pl: Identify output arguments and define
1116 static variables for them.
1117
232983e9
SP
1118 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
1119
d136c6dc
SP
1120 [BZ #15941]
1121 * Makefile (INSTALL): Add install-plain.texi as the primary
1122 dependency.
1123 * manual/install-plain.texi: New file.
1124 * manual/install.texi: Include node directive only for
1125 non-plaintext output.
1126
699ff837
JM
11272013-12-04 Joseph Myers <joseph@codesourcery.com>
1128
ab07cea8
JM
1129 * stdlib/longlong.h: Update from GCC.
1130
699ff837
JM
1131 [BZ #6807]
1132 [BZ #15901]
1133 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
1134 * math/w_j0f.c (y0f): Likewise.
1135 * math/w_j0l.c (__y0l): Likewise.
1136 * math/w_j1.c (y1): Likewise.
1137 * math/w_j1f.c (y1f): Likewise.
1138 * math/w_j1l.c (__y1l): Likewise
1139 * math/w_jn.c (yn): Likewise.
1140 * math/w_jnf.c (ynf): Likewise.
1141 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
1142 Bessel function pole errors in _POSIX_ mode. Use NAN as return
1143 value for Bessel function domain errors outside _SVID_ mode.
1144 Adjust sign of return value for yn (negative integer, 0).
1145 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
1146 by zero in return for negative x and set sign appropriately for
1147 negative n.
1148 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
1149 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1150 * math/libm-test.inc (y0_test_data): Add more tests and adjust
1151 expectations in error cases.
1152 (y1_test_data): Likewise.
1153 (yn_test_data): Likewise.
1154 * sysdeps/i386/fpu/libm-test-ulps: Update.
1155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1156
5b118558
UW
11572013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1158
1159 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
1160 "64" to "64-v1". Add "64-v2".
1161 (abi-64-options): Rename to ...
1162 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
1163 (abi-64-condition): Rename to ...
1164 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
1165 (abi-64-ld-soname): Rename to ...
1166 (abi-64-v1-ld-soname): ... this.
1167 (abi-64-v2-options): Define.
1168 (abi-64-v2-condition): Likewise.
1169 (abi-64-v2-ld-soname): Likewise.
1170 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
1171 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
1172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
1173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
1174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
1175
61cd8fe4
UW
11762013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1177 Alan Modra <amodra@gmail.com>
1178
1179 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
1180 New versions for use with the ELFv2 ABI.
1181 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
1182 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
1183 declaration.
1184 (struct La_ppc64v2_retval): Likewise.
1185 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
1186 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
1187 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
1188 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
1189 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
1190 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
1191 Do not save or restore CR.
1192 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
1193 (_dl_profile_resolve): Do no save or restore CR. Support extended
1194 return values for ELFv2 ABI. Fix location of FPR return registers.
1195 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
1196 updated values for _CALL_ELF == 2.
1197 (La_regs, La_retval, int_retval): Likewise.
1198
8b8a692c
UW
11992013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1200
1201 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
1202 (FRAME_MIN_SIZE_PARM): Likewise.
1203 (FRAME_BACKCHAIN): Likewise.
1204 (FRAME_CR_SAVE): Likewise.
1205 (FRAME_LR_SAVE): Likewise.
1206 (FRAME_TOC_SAVE): Likewise.
1207 (FRAME_PARM_SAVE): Likewise.
1208 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1209 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1210 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1211 (call_mcount_parm_offset): New macro.
1212 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
1213 (PROF): Use symbolic stack frame offsets.
1214 (TAIL_CALL_SYSCALL_ERROR): Likewise.
1215 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
1216 Redefine in terms of FRAME_MIN_SIZE.
1217 (_dl_runtime_resolve): Use symbolic stack frame offsets.
1218 (_dl_profile_resolve): Likewise. Update comment.
1219 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
1220 symbols stack frame offsets.
1221 (__sigsetjmp): Likewise.
1222 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
1223 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
1224 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
1225 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
1226
1227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
1228 (FRAME_BACKCHAIN): Remove.
1229 (FRAME_CR_SAVE): Likewise.
1230 (FRAME_LR_SAVE): Likewise.
1231 (FRAME_COMPILER_DW): Likewise.
1232 (FRAME_LINKER_DW): Likewise.
1233 (FRAME_TOC_SAVE): Likewise.
1234 (FRAME_PARM_SAVE): Likewise.
1235 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1236 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1237 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
1239 (CHECK_SP): Use symbolic stack frame offsets.
1240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
1241 zone" instead of caller's parameter save area for temp storage.
1242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1243 Likewise. Also, use symbolic stack frame offsets.
1244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
1245 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
1246 our own stack frame instead of the caller's.
1247 (__socket): Use symbolic stack frame offsets.
1248
122b66de
UW
12492013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1250 Alan Modra <amodra@gmail.com>
1251
1252 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
1253 Define.
1254 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
1255 PPC64_LOCAL_ENTRY_OFFSET): Define.
1256 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
1257 New function.
1258 (elf_machine_fixup_plt): Call it.
1259 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
1260 reloc arguments.
1261 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
1262 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1263 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
1264 r2 before calling target.
1265
696caf1d
UW
12662013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1267 Alan Modra <amodra@gmail.com>
1268
1269 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
1270 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
1271 versions of macros to support ELFv2 ABI.
1272 (LOCALENTRY): New macro.
1273 (ENTRY, EALIGN): Use it.
1274 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
1275 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
1276 fall through into ENTRY entry point.
1277 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
1278 Only define if _CALL_ELF != 2.
1279
1280 (elf_machine_matches_host): Verify ABI version matches.
1281 (RTLD_START): Use LOCALENTRY.
1282 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
1283 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
1284 (PLT_ENTRY_WORDS): New macro.
1285 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
1286 (elf_machine_runtime_setup): Support ELFv2 ABI.
1287 (elf_machine_fixup_plt): Likewise.
1288 (elf_machine_plt_conflict): Likewise.
1289 (resolve_ifunc): Likewise.
1290 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1291 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1292 Likewise.
1293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
1294 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
1295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1296 (makecontext): Support ELFv2 ABI.
1297 * elf/elf.h (EF_PPC64_ABI): Define.
1298
d31beafa
UW
12992013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1300
1301 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
1302 New assembler macro.
1303 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
1304 [ASSEMBLER] (ENTRY): ... but instead here ...
1305 [ASSEMBLER] (EALIGN): ... and here.
1306 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
1307 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
1308 [!ASSEMBLER] (ENTRY_2): Use it.
1309 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
1310 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
1311 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1312 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
1313 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
1314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
1315 Use PPC64_LOAD_FUNCPTR.
1316
b525166b
UW
13172013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1318
1319 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
1320
7ec07d9a
AM
13212013-12-04 Alan Modra <amodra@gmail.com>
1322
1323 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
1324 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
1325 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
1326 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
1327
1328 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
1329 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
1330 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
1331 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
1332 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
1333 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
1334
5162e7dd
UW
13352013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1336
1337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1338 (__makecontext): Fix incorrect CFI when backtracing out of
1339 context created via makecontext.
1340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
1341 (__setcontext): Fix incorrect CFI during switch to new context.
1342 (__novec_setcontext): Likewise.
1343
19e3372b
OB
13442013-12-04 Ondřej Bílka <neleai@seznam.cz>
1345
1346 [BZ #4772]
1347 * time/strptime_l.c (__strptime_internal): Allow modifiers
1348 in strptime.
1349 * time/tst-strptime.c (day_tests): Add testcase.
1350
1351
ecaf142d
SP
13522013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1353
1354 * scripts/bench.pl: Skip over blank lines.
1355
fbf964ae
PE
13562013-12-04 Paul Eggert <eggert@cs.ucla.edu>
1357
1358 [BZ #926]
1359 * manual/time.texi (Calendar Time): Clarify what timezone functions
1360 use.
1361
fa60a674
AZ
13622013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1363
1364 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1365
d674f0ef
OB
13662013-12-04 Ondřej Bílka <neleai@seznam.cz>
1367
1368 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
1369 implementation.
1370 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
1371 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
1372 * debug/memset_chk.c (__memset_chk): Likewise.
1373 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
1374 * debug/strncpy_chk.c: Likewise.
1375
17dea188
JM
13762013-12-03 Joseph Myers <joseph@codesourcery.com>
1377
749008ff
JM
1378 [BZ #15268]
1379 [BZ #15425]
1380 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
1381 (__ieee754_exp): For possibly underflowing results, check size of
1382 result and force underflow exception if required.
1383 * math/auto-libm-test-in: Add more tests of exp.
1384 * math/auto-libm-test-out: Regenerated.
1385 * sysdeps/i386/fpu/libm-test-ulps: Update.
1386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1387
17dea188
JM
1388 [BZ #16283]
1389 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
1390 * math/w_exp2f.c (__exp2f): Likewise.
1391 * math/w_exp2l.c (__exp2l): Likewise.
1392 * math/auto-libm-test-in: Do not allow missing errno on exp2
1393 underflow.
1394 * math/auto-libm-test-out: Regenerated.
1395
b20de2c3
OB
13962013-12-03 Ondřej Bílka <neleai@seznam.cz>
1397
1398 [BZ #16274]
1399 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
1400 handle filename validation.
1401 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
1402 (do_open): Delete.
1403
d8e2dbe3
JM
14042013-12-03 Joseph Myers <joseph@codesourcery.com>
1405
34e16df5
JM
1406 [BZ #6786]
1407 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
1408 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
1409 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
1410 <float.h>.
1411 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
1412 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
1413 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1414 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
1415 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1416 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
1417 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1418 * math/auto-libm-test-in: Don't allow missing errno from erfc.
1419 Add more erfc tests.
1420 * math/auto-libm-test-out: Regenerated.
1421 * sysdeps/i386/fpu/libm-test-ulps: Update.
1422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1423
d8e2dbe3
JM
1424 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
1425 exp2, expm1, j0 and j1.
1426 * math/auto-libm-test-out: Regenerated.
1427 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
1428 (erfc_test_data): Likewise.
1429 (exp_test_data): Likewise.
1430 (exp_tonearest_test_data): Likewise.
1431 (exp_towardzero_test_data): Likewise.
1432 (exp_downward_test_data): Likewise.
1433 (exp_upward_test_data): Likewise.
1434 (exp10_test_data): Likewise.
1435 (exp2_test_data): Likewise.
1436 (expm1_test_data): Likewise.
1437 (j0_test_data): Likewise.
1438 (j1_test_data): Likewise.
1439 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
1440 (input_flag_type): Add flag_xfail_rounding.
1441 (input_flags): Add xfail-rounding.
1442 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
1443 (output_for_one_input_case): Handle flag_xfail_rounding.
1444 * sysdeps/i386/fpu/libm-test-ulps: Update.
1445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1446
18d14251
AJ
14472013-12-03 Aurelien Jarno <aurelien@aurel32.net>
1448
3d2e6075 1449 [BZ #16289]
18d14251
AJ
1450 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
1451 division by 0.
1452
520d437b
SP
14532013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1454
1455 [BZ #16195]
1456 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1457 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
1458 (STAP_PROBE0): New macro.
1459 (STAP_PROBE1): Likewise.
1460 (STAP_PROBE2): Likewise.
1461 (STAP_PROBE3): Likewise.
1462 (STAP_PROBE4): Likewise.
1463
416e0145
OB
14642013-12-02 Ondřej Bílka <neleai@seznam.cz>
1465
1466 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
1467
9d17796a
SE
14682013-12-02 Steve Ellcey <sellcey@mips.com>
1469
1470 * benchtests/Makefile (bench): Add sqrt.
1471 (LDLIBS-bench-sqrt): New.
1472 * benchtests/sqrt-input: New.
1473
f524d6a8
PS
14742013-12-02 Pavel Simerda <psimerda@redhat.com>
1475
639a0ef8
PS
1476 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
1477 (GAIH_EAI): Likewise.
1478 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
1479 (gaih_inet): Likewise.
1480 (getaddrinfo): Don't use GAIH_EAI.
1481
f524d6a8
PS
1482 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
1483 (struct gaih): Remove definition.
1484
df3aedaf
SP
14852013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1486
1487 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
1488 Use HERRNOP directly.
1489
1ab19dec
AZ
14902013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1491
b42ad38d 1492 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 1493
176b0c79
JM
14942013-11-30 Joseph Myers <joseph@codesourcery.com>
1495
1496 * math/gen-auto-libm-tests.c (test_functions): Add more
1497 single-argument functions.
1498 (special_fill_pi_2): New function.
1499 (special_fill_minus_pi_2): Likewise.
1500 (special_fill_pi_6): Likewise.
1501 (special_fill_minus_pi_6): Likewise.
1502 (special_fill_pi_3): Likewise.
1503 (special_fill_2pi_3): Likewise.
1504 (special_fill_e): Likewise.
1505 (special_fill_1_e): Likewise.
1506 (special_fill_e_minus_1): Likewise.
1507 (special_real_inputs): Add more special inputs.
1508 (output_for_one_input_case): Do not require ERANGE on underflow to
1509 zero if round-to-nearest result does not underflow to zero, unless
1510 exact results required.
1511 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
1512 atan, atanh, cbrt, cos and cosh.
1513 * math/auto-libm-test-out: Regenerated.
1514 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
1515 (acos_tonearest_test_data): Likewise.
1516 (acos_towardzero_test_data): Likewise.
1517 (acos_downward_test_data): Likewise.
1518 (acos_upward_test_data): Likewise.
1519 (acosh_test_data): Likewise.
1520 (asin_test_data): Likewise.
1521 (asin_tonearest_test_data): Likewise.
1522 (asin_towardzero_test_data): Likewise.
1523 (asin_upward_test_data): Likewise.
1524 (asinh_test_data): Likewise.
1525 (atan_test_data): Likewise.
1526 (atanh_test_data): Likewise.
1527 (cbrt_test_data): Likewise.
1528 (cos_test_data): Likewise.
1529 (cos_tonearest_test_data): Likewise.
1530 (cos_towardzero_test_data): Likewise.
1531 (cos_downward_test_data): Likewise.
1532 (cos_upward_test_data): Likewise.
1533 (cosh_test_data): Likewise.
1534 (cosh_tonearest_test_data): Likewise.
1535 (cosh_towardzero_test_data): Likewise.
1536 (cosh_downward_test_data): Likewise.
1537 (cosh_upward_test_data): Likewise.
1538 * sysdeps/i386/fpu/libm-test-ulps: Update.
1539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1540
ffb536d0
JM
15412013-11-29 Joseph Myers <joseph@codesourcery.com>
1542
2a77a467
JM
1543 [BZ #6787]
1544 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
1545 * math/w_exp10f.c (__exp10f): Likewise.
1546 * math/w_exp10l.c (__exp10l): Likewise.
1547 * math/libm-test.inc (exp10_test_data): Add more tests and expect
1548 errno settings in existing tests.
1549
ea3bc4e8
JM
1550 [BZ #14032]
1551 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
1552 precision control set to double precision.
1553 * sysdeps/i386/fpu/w_sqrt.c: New file.
1554 * math/auto-libm-test-in: Add more tests.
1555 * math/auto-libm-test-out: Update.
1556
0712c9d8
JM
1557 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
1558 (sqrt_test_tonearest): New function.
1559 (sqrt_towardzero_test_data): New variable.
1560 (sqrt_test_towardzero): New function.
1561 (sqrt_downward_test_data): New variable.
1562 (sqrt_test_downward): New function.
1563 (sqrt_upward_test_data): New variable.
1564 (sqrt_test_upward): New function.
1565 (main): Call the new functions.
1566
ffb536d0
JM
1567 * math/gen-auto-libm-tests.c: New file.
1568 * math/auto-libm-test-in: Likewise.
1569 * math/auto-libm-test-out: New generated file.
1570 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
1571 variables.
1572 (%beautify): Add generated representations of zero.
1573 (top level): Set $auto_input and call parse_auto_input.
1574 (beautify): Remove trailing "f" from hex float constants.
1575 (parse_args): Handle XFAIL_TEST.
1576 (convert_condition): New function.
1577 (or_value): Likewise.
1578 (or_cond_value): Likewise.
1579 (generate_testfile): Handle AUTO_TESTS_* lines.
1580 (parse_auto_input): New function.
1581 * math/libm-test.inc (XFAIL_TEST): New macro.
1582 (ERRNO_UNCHANGED): Update value.
1583 (ERRNO_EDOM): Likewise.
1584 (ERRNO_ERANGE): Likewise.
1585 (IGNORE_RESULT): Likewise.
1586 (TEST_COND_flt_32): New macro.
1587 (TEST_COND_dbl_64): Likewise.
1588 (TEST_COND_ldbl_96_intel): Likewise.
1589 (TEST_COND_ldbl_96_m68k): Likewise.
1590 (TEST_COND_ldbl_128): Likewise.
1591 (TEST_COND_ldbl_128ibm): Likewise.
1592 (TEST_COND_long32): Likewise.
1593 (TEST_COND_long64): Likewise.
1594 (TEST_COND_before_rounding): Likewise.
1595 (TEST_COND_after_rounding): Likewise.
1596 (enable_test): Handle XFAIL_TEST flag.
1597 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
1598 with finite results.
1599 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
1600 auto-libm-test-out.
1601
acd98a8e
AK
16022013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1603 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1604
1605 [BZ #16214]
1606 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
1607 __tls_get_addr_internal instead of __tls_get_offset in order to
1608 avoid GOT pointer dependency. Make rtld export
1609 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
1610 __tls_get_addr since we are a __tls_get_offset platform.
1611 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
1612 GOT pointer being set up before.
1613 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
1614
3c1c46a6
JM
16152013-11-28 Joseph Myers <joseph@codesourcery.com>
1616
7475aef5
JM
1617 * manual/math.texi (Errors in Math Functions): Document accuracy
1618 goals.
1619
8bca7cd8
JM
1620 [BZ #15004]
1621 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
1622 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
1623 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1624 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1625 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1626 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1627 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1628 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1629 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1630 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1631 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1632 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1633 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1634 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1635 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1636 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1637
91a1f3fe
JM
1638 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
1639 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
1640 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
1641 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
1642 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
1643 Likewise.
1644 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
1645 Likewise.
1646 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
1647 Likewise.
1648 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
1649 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
1650 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
1651 atomic-feupdateenv and flt-rounds.
1652 * sysdeps/powerpc/nofpu/Versions (libc): Add
1653 __atomic_feholdexcept, __atomic_feclearexcept,
1654 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
1655 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
1656 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
1657 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
1658 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
1659 here.
1660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1661 Update.
1662
c5df7609
JM
1663 * manual/arith.texi (FP Exceptions): Document that exceptions may
1664 not be raised when matherr is used.
1665 (Math Error Reporting): Document overflow in directed rounding
1666 modes. Document that errno may not be set when finite values are
1667 returned on overflow. Document intent to set errno on underflow
1668 only for underflow to zero.
1669
3c1c46a6
JM
1670 [BZ #16271]
1671 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
1672 round-to-nearest then adjust result for other rounding modes.
1673 * include/fenv.h (fegetround): Use libm_hidden_proto.
1674 * math/fegetround.c (fegetround): Use libm_hidden_def.
1675 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1676 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1677 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1678 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1679 Likewise.
1680 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
1681 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1682 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1683 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
1684
5a4c6d53
SP
16852013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1686
1687 [BZ #16077]
1688 * nss/Versions (libnss_files): Add
1689 _nss_files_gethostbyname3_r.
1690 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
1691 New function.
1692 (HOST_DB_LOOKUP): Remove macro.
1693 (_nss_files_gethostbyname_r): Implement function without the
1694 HOST_DB_LOOKUP macro.
1695 (_nss_files_gethostbyname2_r): Likewise.
1696
897b98ba
OB
16972013-11-28 Ondřej Bílka <neleai@seznam.cz>
1698
1699 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
1700
6f476861
UB
17012013-11-26 Uros Bizjak <ubizjak@gmail.com>
1702
1703 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
1704 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
1705 warning.
1706
bd12ab55
AZ
17072013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1708
1709 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
1710 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
1711 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1712 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1713 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
1714 __fe_nomask_env_priv and attribute_hidden.
1715 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
1716 (libc_feupdateenv_test_ppc): Likewise.
1717 (libc_feresetround_ppc): Likewise.
1718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1719 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
1720 compat_symbol macro.
1721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1722 (__fe_nomask_env): Likewise.
1723 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
1724
52bb6543
OB
17252013-11-26 Ondřej Bílka <neleai@seznam.cz>
1726
1727 * string/Makefile: Remove ifunc tests.
1728 * string/test-string.h: Define TEST_IFUNC.
1729 * string/test-bcopy-ifunc.c: Remove.
1730 * string/test-bzero-ifunc.c: Likewise.
1731 * string/test-memccpy-ifunc.c: Likewise.
1732 * string/test-memchr-ifunc.c: Likewise.
1733 * string/test-memcmp-ifunc.c: Likewise.
1734 * string/test-memcpy-ifunc.c: Likewise.
1735 * string/test-memmem-ifunc.c: Likewise.
1736 * string/test-memmove-ifunc.c: Likewise.
1737 * string/test-mempcpy-ifunc.c: Likewise.
1738 * string/test-memrchr-ifunc.c: Likewise.
1739 * string/test-memset-ifunc.c: Likewise.
1740 * string/test-rawmemchr-ifunc.c: Likewise.
1741 * string/test-stpcpy-ifunc.c: Likewise.
1742 * string/test-stpncpy-ifunc.c: Likewise.
1743 * string/test-strcasecmp-ifunc.c: Likewise.
1744 * string/test-strcasestr-ifunc.c: Likewise.
1745 * string/test-strcat-ifunc.c: Likewise.
1746 * string/test-strchr-ifunc.c: Likewise.
1747 * string/test-strchrnul-ifunc.c: Likewise.
1748 * string/test-strcmp-ifunc.c: Likewise.
1749 * string/test-strcpy-ifunc.c: Likewise.
1750 * string/test-strcspn-ifunc.c: Likewise.
1751 * string/test-strlen-ifunc.c: Likewise.
1752 * string/test-strncasecmp-ifunc.c: Likewise.
1753 * string/test-strncat-ifunc.c: Likewise.
1754 * string/test-strncmp-ifunc.c: Likewise.
1755 * string/test-strncpy-ifunc.c: Likewise.
1756 * string/test-strnlen-ifunc.c: Likewise.
1757 * string/test-strpbrk-ifunc.c: Likewise.
1758 * string/test-strrchr-ifunc.c: Likewise.
1759 * string/test-strspn-ifunc.c: Likewise.
1760 * string/test-strstr-ifunc.c: Likewise.
1761
ab260039 17622013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
1763
1764 * benchtests/Makefile: Remove ifunc tests.
1765 * benchtests/bench-string.h: Define TEST_IFUNC.
1766 * benchtests/bench-bcopy-ifunc.c: Remove.
1767 * benchtests/bench-bzero-ifunc.c: Likewise.
1768 * benchtests/bench-memccpy-ifunc.c: Likewise.
1769 * benchtests/bench-memchr-ifunc.c: Likewise.
1770 * benchtests/bench-memcmp-ifunc.c: Likewise.
1771 * benchtests/bench-memcpy-ifunc.c: Likewise.
1772 * benchtests/bench-memmem-ifunc.c: Likewise.
1773 * benchtests/bench-memmove-ifunc.c: Likewise.
1774 * benchtests/bench-mempcpy-ifunc.c: Likewise.
1775 * benchtests/bench-memrchr-ifunc.c: Likewise.
1776 * benchtests/bench-memset-ifunc.c: Likewise.
1777 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
1778 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
1779 * benchtests/bench-stpcpy-ifunc.c: Likewise.
1780 * benchtests/bench-stpncpy-ifunc.c: Likewise.
1781 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
1782 * benchtests/bench-strcasestr-ifunc.c: Likewise.
1783 * benchtests/bench-strcat-ifunc.c: Likewise.
1784 * benchtests/bench-strchr-ifunc.c: Likewise.
1785 * benchtests/bench-strchrnul-ifunc.c: Likewise.
1786 * benchtests/bench-strcmp-ifunc.c: Likewise.
1787 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
1788 * benchtests/bench-strcpy-ifunc.c: Likewise.
1789 * benchtests/bench-strcspn-ifunc.c: Likewise.
1790 * benchtests/bench-strlen-ifunc.c: Likewise.
1791 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
1792 * benchtests/bench-strncat-ifunc.c: Likewise.
1793 * benchtests/bench-strncmp-ifunc.c: Likewise.
1794 * benchtests/bench-strncpy-ifunc.c: Likewise.
1795 * benchtests/bench-strnlen-ifunc.c: Likewise.
1796 * benchtests/bench-strpbrk-ifunc.c: Likewise.
1797 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 1798 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
1799 * benchtests/bench-strspn-ifunc.c: Likewise.
1800 * benchtests/bench-strstr-ifunc.c: Likewise.
1801
18022013-11-26 Ondřej Bílka <neleai@seznam.cz>
1803
ab260039
OB
1804 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
1805
d1d9eaf4 18062013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 1807
d1d9eaf4
OB
1808 * resolv/netdb.h: Use __glibc_reserved instead __unused.
1809 * rt/aio.h: Likewise.
1810 * sysdeps/gnu/bits/utmp.h: Likewise.
1811 * sysdeps/gnu/bits/utmpx.h: Likewise.
1812 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1813 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
1814 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
1815 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
1816 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
1817 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
1818 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
1819 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
1820 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
1821 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
1822 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
1823 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
1824 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
1825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
1826 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1827 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
1828 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
1829 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
1830 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
1831 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
1832 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
1833 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
1834 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
1835 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
1836 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
1837 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1838 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
1839 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
1840 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
1841 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
1842 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
1843 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
1844 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
1845 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1846 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
1847 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
1848 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
1849 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
1850 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
1851 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
1852 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
1853 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1854
a7624ed9
CD
18552013-11-25 Carlos O'Donell <carlos@redhat.com>
1856
1857 [BZ #16245]
1858 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
1859 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
1860
63cfe52b
JM
18612013-11-25 Joseph Myers <joseph@codesourcery.com>
1862
1863 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
1864 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1865 Likewise.
1866
41e8926a
AZ
18672013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1868
1869 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
1870 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
1871 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
1872 (__fesetround): Remove define.
1873 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
1874 rounding and exceptions handling.
1875 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
1876 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
1877 (__fe_nomask_env): Likewise.
1878 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
1879 __fegetround instead of fegetround.
1880 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
1881 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
1882
6851bd4d
RM
18832013-11-21 Roland McGrath <roland@hack.frob.com>
1884
070906ff
RM
1885 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
1886 it's there.
1887
6851bd4d
RM
1888 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
1889
84ae135d
MI
18902013-11-21 Meador Inge <meadori@codesourcery.com>
1891
1892 [BZ #11157]
1893 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
1894 (encrypt_r): Likewise.
1895 * malloc/obstack.h (obstack_free): Likewise.
1896 * posix/unistd.h (encrypt): Likewise.
1897
daf75146
GM
18982013-11-21 Guy Martin <gmsoft@tuxicoman.be>
1899
1900 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
1901 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
1902 DL_CALL_DT_FINI() that call the functions directly.
1903 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
1904 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
1905 * elf/dl-fini.c: Likewise.
1906
10ad46bc
OB
19072013-11-20 Ondřej Bílka <neleai@seznam.cz>
1908
1909 * malloc/hooks.c (memalign_check): Add alignment rounding.
1910 * malloc/malloc.c (_mid_memalign): New function.
1911 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
1912 Implement by calling _mid_memalign.
1913 * manual/probes.texi (Memory Allocation Probes): Remove
1914 memory_valloc_retry and memory_pvalloc_retry.
1915
f3fd2628
SP
19162013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1917
4712799f
SP
1918 * locale/programs/locarchive.c (open_archive): Add const
1919 qualifier to ARCHIVEFNAME and copy default fname to
1920 DEFAULT_FNAME.
1921
0417b20f
SP
1922 [BZ #15601]
1923 * libio/tst-widetext.input: Rename Oriya to Odia.
1924 * locale/iso-639.def: Likewise.
1925
f3fd2628
SP
1926 * manual/probes.texi (Mathematical Function Probes): Add
1927 documentation for sin, cos, asin and acos probes.
1928 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
1929 (__sin32): Add slowasin probe.
1930 (__cos32): Add slowacos probe.
1931 (__mpsin): Add slowsin probe.
1932 (__mpcos): Add slowcos probe.
1933
73c1ce4f
JM
19342013-11-19 Joseph Myers <joseph@codesourcery.com>
1935
1936 [BZ #15483]
1937 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
1938 thread-local __sim_exceptions_thread and global
1939 __sim_exceptions_global.
1940 (__sim_disabled_exceptions): Change to thread-local
1941 __sim_disabled_exceptions_thread and global
1942 __sim_disabled_exceptions_global.
1943 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1944 and global __sim_round_mode_global.
1945 (__simulate_exceptions): Use thread-local floating-point state and
1946 set global state from it as needed.
1947 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
1948 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
1949 __sim_round_mode_thread.
1950 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
1951 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
1952 and global __sim_exceptions_global.
1953 (__sim_disabled_exceptions): Change to thread-local
1954 __sim_disabled_exceptions_thread and global
1955 __sim_disabled_exceptions_global.
1956 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1957 and global __sim_round_mode_global.
1958 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
1959 (SIM_SET_GLOBAL): Likewise.
1960 * sysdeps/powerpc/soft-fp/sfp-machine.h
1961 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
1962 __sim_round_mode_thread.
1963 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
1964 __sim_disabled_exceptions_thread.
1965 (__sim_exceptions): Change to __sim_exceptions_thread.
1966 (__sim_disabled_exceptions): Change to
1967 __sim_disabled_exceptions_thread.
1968 (__sim_round_mode): Change to __sim_round_mode_thread.
1969 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
1970 thread-local floating-point state and set global state from it as
1971 needed.
1972 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
1973 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
1974 (__sim_disabled_exceptions): Remove extern declaration.
1975 (feenableexcept): Use thread-local floating-point state and set
1976 global state from it as needed.
1977 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
1978 extern declaration.
1979 (__sim_disabled_exceptions): Likewise.
1980 (__sim_round_mode): Likewise.
1981 (__fegetenv): Use thread-local floating-point state.
1982 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
1983 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1984 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
1985 floating-point state and set global state from it as needed.
1986 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
1987 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1988 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
1989 Likewise.
1990 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1991 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
1992 Likewise.
1993 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
1994 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
1995 Use __sim_round_mode_thread.
1996 * math/test-fenv-tls.c: New file.
1997 * math/Makefile (tests): Add test-fenv-tls.
1998 ($(objpfx)test-fenv-tls): Depend on
1999 $(common-objpfx)nptl/libpthread.so.
2000
b5449b12
AS
20012013-11-19 Andreas Schwab <schwab@suse.de>
2002
2003 * locale/programs/locale.c (show_info): Decode wordarray elements.
2004 * locale/categories.def (LC_MONETARY): Add element for
2005 _NL_MONETARY_CRNCYSTR.
2006 * locale/C-monetary.c (conversion_rate): New variable.
2007 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
2008 element.
2009
e186536b
CM
20102013-11-18 Chris Metcalf <cmetcalf@tilera.com>
2011
2012 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
2013 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
2014
5c349950
PP
20152013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
2016
2017 * elf/Makefile (tst-auxv): New test.
2018 * elf/tst-auxv.c: New
2019 * elf/rtld.c (dl_main): Adjust AT_EXECFN
2020
699df45b
JM
20212013-11-18 Joseph Myers <joseph@codesourcery.com>
2022
2023 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
2024 (hidden_proto): Caller changed.
2025 (hidden_tls_proto): New macro.
2026 (libc_hidden_tls_proto): Likewise.
2027 (rtld_hidden_tls_proto): Likewise.
2028 (libm_hidden_tls_proto): Likewise.
2029 (libresolv_hidden_tls_proto): Likewise.
2030 (librt_hidden_tls_proto): Likewise.
2031 (libdl_hidden_tls_proto): Likewise.
2032 (libnss_files_hidden_tls_proto): Likewise.
2033 (libnsl_hidden_tls_proto): Likewise.
2034 (libnss_nisplus_hidden_tls_proto): Likewise.
2035 (libutil_hidden_tls_proto): Likewise.
2036
b7589107
OB
20372013-11-18 Ondřej Bílka <neleai@seznam.cz>
2038
2039 [BZ #10253]
2040 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
2041 (decompose_rpath): Defer expansion to fillin_rpath.
2042 (_dl_init_paths): Pass linkmap to fillin_rpath.
2043
250c23bd
RS
20442013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2045
2046 * benchtests/Makefile: Add strsep.
2047 * benchtests/bench-strsep.c: New file: strsep benchtest.
2048 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
2049
a7931fcf
AS
20502013-11-18 Andreas Schwab <schwab@suse.de>
2051
2052 * locale/programs/locale.c (show_info) [case byte]: Check for
2053 '\377' instead of '\177'.
2054 * locale/C-monetary.c (not_available): Always use "\377".
2055 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
2056 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
2057 detect unavailable sign_posn locale elements.
2058 * locale/localeconv.c (__localeconv): For grouping and
2059 mon_grouping handle "\177" and "\377" like no grouping.
2060 (INT_ELEM): New macro. Use it to set all numeric members.
2061 * locale/programs/ld-monetary.c (monetary_read)
2062 <tok_mon_grouping>: Normalize single -1 to the empty string.
2063 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
2064 Likewise.
2065
728dab0e
OB
20662013-11-07 Ondřej Bílka <neleai@seznam.cz>
2067
2068 [BZ #16055]
2069 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
2070 when we match (nil).
2071 * stdio-common/tst-sscanf.c (struct test): Add testcase.
2072
66294491
JM
20732013-11-16 Joseph Myers <joseph@codesourcery.com>
2074
ce665817
JM
2075 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
2076 (NO_TEST_INLINE): Update value.
2077 (ERRNO_UNCHANGED): Likewise.
2078 (ERRNO_EDOM): Likewise.
2079 (ERRNO_ERANGE): Likewise.
2080 (IGNORE_RESULT): Likewise.
2081 (check_float_internal): Check signs of NaN results if
2082 TEST_NAN_SIGN used.
2083 (check_complex): Pass TEST_NAN_SIGN flag through to second
2084 check_float_internal call.
2085 (copysign_test_data): Add tests with quiet NaNs as second
2086 argument. Use TEST_NAN_SIGN.
2087 (fabs_test_data): Add test of negative quiet NaN argument. Use
2088 TEST_NAN_SIGN.
2089 (signbit_test_data): Add tests of quiet NaN argument.
2090 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
2091
ee1466a9
JM
2092 * math/gen-libm-test.pl (show_exceptions): Take extra argument
2093 $ignore_result.
2094 (parse_args): Handle function results specified as IGNORE.
2095 * math/libm-test.inc (IGNORE_RESULT): New macro.
2096 (check_float_internal): Do not check numerical result if flag
2097 IGNORE_RESULT set.
2098 (check_complex): Pass through IGNORE_RESULT to second
2099 check_float_internal call.
2100 (check_int): Do not check numerical result if flag IGNORE_RESULT
2101 set.
2102 (check_long): Likewise.
2103 (check_bool): Likewise.
2104 (check_longlong): Likewise.
2105 (lrint_test_data): Add tests of infinite and NaN arguments.
2106 (lrint_tonearest_test_data): Likewise.
2107 (lrint_towardzero_test_data): Likewise.
2108 (lrint_downward_test_data): Likewise.
2109 (lrint_upward_test_data): Likewise.
2110 (llrint_test_data): Likewise.
2111 (llrint_tonearest_test_data): Likewise.
2112 (llrint_towardzero_test_data): Likewise.
2113 (llrint_downward_test_data): Likewise.
2114 (llrint_upward_test_data): Likewise.
2115 (lround_test_data): Likewise.
2116 (llround_test_data): Likewise.
2117
14407b7e
JM
2118 * math/libm-test.inc (NO_TEST_INLINE): New macro.
2119 (ERRNO_UNCHANGED): Update value.
2120 (ERRNO_EDOM): Likewise.
2121 (ERRNO_ERANGE): Likewise.
2122 (NO_TEST_INLINE_FLOAT): New macro.
2123 (NO_TEST_INLINE_DOUBLE): Likewise.
2124 (enable_test): New function.
2125 (RUN_TEST_f_f): Check enable_test before running test.
2126 (RUN_TEST_2_f): Likewise.
2127 (RUN_TEST_fff_f): Likewise.
2128 (RUN_TEST_c_f): Likewise.
2129 (RUN_TEST_f_f1): Likewise.
2130 (RUN_TEST_fF_f1): Likewise.
2131 (RUN_TEST_fI_f1): Likewise.
2132 (RUN_TEST_ffI_f1): Likewise.
2133 (RUN_TEST_c_c): Likewise.
2134 (RUN_TEST_cc_c): Likewise.
2135 (RUN_TEST_f_i): Likewise.
2136 (RUN_TEST_f_i_tg): Likewise.
2137 (RUN_TEST_ff_i_tg): Likewise.
2138 (RUN_TEST_f_b): Likewise.
2139 (RUN_TEST_f_b_tg): Likewise.
2140 (RUN_TEST_f_l): Likewise.
2141 (RUN_TEST_f_L): Likewise.
2142 (RUN_TEST_fFF_11): Likewise.
2143 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
2144 conditionals.
2145 (cosh_test_data): Likewise.
2146 (exp_test_data): Likewise.
2147 (expm1_test_data): Likewise.
2148 (hypot_test_data): Likewise.
2149 (pow_test_data): Likewise.
2150 (sinh_test_data): Likewise.
2151 (tanh_test_data): Likewise.
2152 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
2153 flags argument.
2154
ca07f197
JM
2155 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
2156 tests with quiet NaN input and output.
2157 (acosh_test_data): Likewise.
2158 (asin_test_data): Likewise.
2159 (asinh_test_data): Likewise.
2160 (atan_test_data): Likewise.
2161 (atanh_test_data): Likewise.
2162 (atan2_test_data): Likewise.
2163 (cbrt_test_data): Likewise.
2164 (cos_test_data): Likewise.
2165 (cosh_test_data): Likewise.
2166 (erf_test_data): Likewise.
2167 (erfc_test_data): Likewise.
2168 (exp_test_data): Likewise.
2169 (exp10_test_data): Likewise.
2170 (exp2_test_data): Likewise.
2171 (expm1_test_data): Likewise.
2172 (hypot_test_data): Likewise.
2173 (j0_test_data): Likewise.
2174 (j1_test_data): Likewise.
2175 (jn_test_data): Likewise.
2176 (lgamma_test_data): Likewise.
2177 (log_test_data): Likewise.
2178 (log10_test_data): Likewise.
2179 (log1p_test_data): Likewise.
2180 (log2_test_data): Likewise.
2181 (pow_test_data): Likewise.
2182 (scalb_test_data): Likewise.
2183 (sin_test_data): Likewise.
2184 (sincos_test_data): Likewise.
2185 (sinh_test_data): Likewise.
2186 (tan_test_data): Likewise.
2187 (tanh_test_data): Likewise.
2188 (tgamma_test_data): Likewise.
2189 (y0_test_data): Likewise.
2190 (y1_test_data): Likewise.
2191 (yn_test_data): Likewise.
2192
66294491
JM
2193 [BZ #16167]
2194 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
2195 argument being NaN and avoid computations with second argument in
2196 that case.
2197 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2198 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2199 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2200
1820b143
CL
22012013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
2202
2203 * locale/iso-639.def: Add Chitwani Tharu (the).
2204
714bd261
AS
22052013-11-14 Andreas Schwab <schwab@suse.de>
2206
2207 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
2208 word instead of empty string.
2209
7ab44563
AZ
22102013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2211
2212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2213 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
2214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2215 (__fe_nomask_env): Likewise.
2216
e8470ea2
SE
22172013-11-13 Steve Ellcey <sellcey@mips.com>
2218
2219 * benchtests/bench-timing.h: Include time.h.
2220
17c1d9f0
L
22212013-11-13 H.J. Lu <hongjiu.lu@intel.com>
2222
2223 [BZ #15997]
2224 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
2225 to 3.4.0 for x32.
2226 * sysdeps/unix/sysv/linux/configure: Regenerated.
2227
9310c284
JM
22282013-11-13 Joseph Myers <joseph@codesourcery.com>
2229
2230 [BZ #16151]
2231 * stdlib/strtod_l.c (round_and_return): Do not consider
2232 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
2233 exponent one less than half the least subnormal exponent.
2234 * stdlib/test-strtod-round-data: Add more tests.
2235 * stdlib/tst-strtod-round.c (tests): Regenerated.
2236
7a2ad8cf
AZ
22372013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2238
2239 [BZ #14143]
2240 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
2241 (__fe_mask_env): Likewise.
2242 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
2243 libm_hidden_proto and add function prototype.
2244 (__fe_mask_env): Add function prototype.
2245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2246 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
2247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2248 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
2249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2250 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
2251
50727aa7
MS
22522013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2253
b2f386c1 2254 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
2255 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
2256
a615be46
MS
22572013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2258
2259 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
2260 of htab_find_slot().
2261
7ddace62
DM
22622013-11-11 David S. Miller <davem@davemloft.net>
2263
2264 [BZ #16150]
2265 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
2266 symbol in the non-vis3 case in static builds.
2267 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
2268 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
2269 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
2270 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
2271
9182aa67
JK
22722013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2273
2274 [BZ #387]
2275 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
2276 it is empty.
2277
450a2e2d
AZ
22782013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2279
b2f386c1
SP
2280 * benchtests/Makefile: Add bench-strtod.
2281 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 2282
8ec3f656
AS
22832013-11-11 Andreas Schwab <schwab@suse.de>
2284
2285 [BZ #16153]
2286 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
2287 terminating NUL in key length.
2288
76a9b998
AZ
22892013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2290
2291 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2292 Add artificial ODP entry for vDSO symbol for PPC64.
2293 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
2294 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2295
e4368156
OB
22962013-11-07 Ondřej Bílka <neleai@seznam.cz>
2297
2298 [BZ #15374]
2299 * nss/getent.c (services_keys): Recognize services starting with digit.
2300
8d6bb57c
DM
23012013-11-06 David S. Miller <davem@davemloft.net>
2302
2303 [BZ #15985]
2304 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
2305 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
2306
e256c421
WN
23072013-11-06 Will Newton <will.newton@linaro.org>
2308
2309 * manual/memory.texi (Malloc Examples): Remove register
2310 keyword from examples.
2311
f6e12daa 23122013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 2313
f6e12daa 2314 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 2315
9d880655
AS
23162013-11-04 Joseph Myers <joseph@codesourcery.com>
2317
2318 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
2319 depending on [__GCC_IEC_559 > 0].
2320 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
2321 depending on [__GCC_IEC_559_COMPLEX > 0].
2322
ae129d3c
CL
23232013-11-03 Chris Leonard <cjl@sugarlabs.org>
2324
2325 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
2326 to iso-639.def.
2327
4a15c2a4 23282013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
2329
2330 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
2331
8b35e35d
OB
23322013-11-01 Ondřej Bílka <neleai@seznam.cz>
2333
2334 [BZ #16112]
2335 * malloc/malloc (malloc_info): Do not handle first bin as
2336 special case.
2337
1d70fd6c
CL
23382013-11-01 Chris Leonard <cjl@sugarlabs.org>
2339
2340 * locale/iso-639.def: Add Central Nahuatl (nhn).
2341
8c5c2600
BH
23422013-11-01 Bruno Haible <bruno@clisp.org>
2343
2344 [BZ #7003]
2345 * manual/math.texi (BSD Random): Specify range upper bound as
2346 in POSIX.
2347
da5579c2
CL
23482013-10-31 Chris Leonard <cjl@sugarlabs.org>
2349
2350 * locale/iso-639.def: Add Meadow Mari (mhr).
2351
5d30d853
OB
23522013-10-31 Ondřej Bílka <neleai@seznam.cz>
2353
2354 [BZ #14752], [BZ #15763]
2355 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
2356 Validate name.
2357 * rt/tst_shm.c: Add test for escaping directory.
2358
a4966c61
AS
23592013-10-31 Andreas Schwab <schwab@suse.de>
2360
8a43e768 2361 [BZ #15917]
a4966c61
AS
2362 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
2363 followed by 'x' as part of digit sequence.
2364 * stdio-common/tst-sscanf.c (double_tests2): New tests.
2365
28d708c4
MAP
23662013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2367
2368 [BZ #16037]
2369 * configure.ac: allow GNU Make 4.0 and greater.
2370 * configure: Regenerated.
2371
a56ee40b
WN
23722013-10-30 Will Newton <will.newton@linaro.org>
2373
2374 [BZ #16038]
2375 * malloc/hooks.c (memalign_check): Limit alignment to the
2376 maximum representable power of two.
2377 * malloc/malloc.c (__libc_memalign): Likewise.
2378 * malloc/tst-memalign.c (do_test): Add test for very
2379 large alignment values.
2380 * malloc/tst-posix_memalign.c (do_test): Likewise.
2381
c6e4925d
OB
23822013-10-30 Ondřej Bílka <neleai@seznam.cz>
2383
2384 [BZ #11087]
2385 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
2386 (munmap_chunk): Likewise.
2387 (mremap_chunk): Likewise.
2388
23892013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 2390
8a43e768 2391 [BZ #15799]
bbea82f7
OB
2392 * stdlib/div.c (div): Remove obsolete code.
2393 * stdlib/ldiv.c (ldiv): Likewise.
2394 * stdlib/lldiv.c (lldiv): Likewise.
2395
977f4b31
SP
23962013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2397
2398 [BZ #16071]
2399 * nss/nss_files/files-XXX.c (get_contents_ret): New
2400 enumerator.
2401 (get_contents): New function.
2402 (internal_getent): Use it. Expand size of LINEBUFLEN.
2403
cb8a6dbd
MF
24042013-10-30 Mike Frysinger <vapier@gentoo.org>
2405
2406 * configure.in: Moved to ...
2407 * configure.ac: ... here. Change reference to configure.in
2408 to configure.ac.
2409 * sysdeps/arm/preconfigure.ac: ... here.
2410 configure.in to configure.ac.
2411 * sysdeps/gnu/configure.in: Moved to ...
2412 * sysdeps/gnu/configure.ac: ... here.
2413 * sysdeps/i386/configure.in: Moved to ...
2414 * sysdeps/i386/configure.ac: ... here.
2415 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
2416 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
2417 * sysdeps/mach/configure.in: Moved to ...
2418 * sysdeps/mach/configure.ac: ... here.
2419 * sysdeps/mach/hurd/configure.in: Moved to ...
2420 * sysdeps/mach/hurd/configure.ac: ... here.
2421 * sysdeps/powerpc/configure.in: Moved to ...
2422 * sysdeps/powerpc/configure.ac: ... here.
2423 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
2424 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
2425 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
2426 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
2427 * sysdeps/s390/s390-32/configure.in: Moved to ...
2428 * sysdeps/s390/s390-32/configure.ac: ... here.
2429 * sysdeps/s390/s390-64/configure.in: Moved to ...
2430 * sysdeps/s390/s390-64/configure.ac: ... here.
2431 * sysdeps/sh/configure.in: Moved to ...
2432 * sysdeps/sh/configure.ac: ... here.
2433 * sysdeps/sparc/configure.in: Moved to ...
2434 * sysdeps/sparc/configure.ac: ... here.
2435 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
2436 * sysdeps/unix/sysv/linux/configure.ac: ... here.
2437 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
2438 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
2439 * sysdeps/x86_64/configure.in: Moved to ...
2440 * sysdeps/x86_64/configure.ac: ... here.
2441 * sysdeps/x86_64/preconfigure.in: Moved to ...
2442 * sysdeps/x86_64/preconfigure.ac: ... here.
2443 * aclocal.m4: Change reference to configure.in to configure.ac.
2444 * config.h.in: Likewise.
2445 * manual/install.texi: Likewise.
2446 * manual/maint.texi: Likewise.
2447 * Makefile: Likewise.
2448 * malloc/Makefile: Likewise.
2449 * nscd/Makefile: Likewise.
2450 * Makeconfig: Change reference to configure.in and
2451 preconfigure.in to configure.ac and preconfigure.ac
2452 respectively.
2453 * INSTALL: Regenerated.
2454 * configure: Likewise.
2455 * sysdeps/gnu/configure: Likewise.
2456 * sysdeps/i386/configure: Likewise.
2457 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
2458 * sysdeps/mach/configure: Likewise.
2459 * sysdeps/mach/hurd/configure: Likewise.
2460 * sysdeps/powerpc/configure: Likewise.
2461 * sysdeps/powerpc/powerpc32/configure: Likewise.
2462 * sysdeps/powerpc/powerpc64/configure: Likewise.
2463 * sysdeps/s390/s390-32/configure: Likewise.
2464 * sysdeps/s390/s390-64/configure: Likewise.
2465 * sysdeps/sh/configure: Likewise.
2466 * sysdeps/sparc/configure: Likewise.
2467 * sysdeps/unix/sysv/linux/configure: Likewise.
2468 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
2469 * sysdeps/x86_64/configure: Likewise.
2470 * sysdeps/x86_64/preconfigure: Likewise.
2471
36a4953a
AS
24722013-10-29 Andreas Schwab <schwab@suse.de>
2473
2474 * stdio-common/Makefile (tst-swscanf-ENV): Define.
2475
c79a1204
SP
24762013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2477
dfa1b402
SP
2478 * benchtests/pow-inputs: Add new inputs.
2479
54f73d9c
SP
2480 * benchtests/exp-inputs: Add new inputs.
2481
c79a1204
SP
2482 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
2483 conditional check for return value.
2484 (__cos32): Likewise.
2485
67beb545 24862013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
2487
2488 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
2489 to provide a boost for large inputs with word alignment.
2490 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
2491 implementation based on optimized PPC64 strcpy.
2492 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
2493 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
2494 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
2495 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
2496
151659f6
OB
24972013-10-25 Ondřej Bílka <neleai@seznam.cz>
2498
482a077e 2499 [BZ #2801]
151659f6
OB
2500 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
2501
10b0f26b
OB
25022013-10-25 Ondřej Bílka <neleai@seznam.cz>
2503
2504 [BZ #14876]
2505 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
2506 * time/tst-strptime.c (day_tests): Add testcase.
2507
ca42d35e
OB
25082013-10-25 Ondřej Bílka <neleai@seznam.cz>
2509
482a077e 2510 [BZ #14029]
ca42d35e
OB
2511 * manual/pattern.texi: Acknowledge that fnmatch can fail.
2512
52e6d801
FB
25132013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
2514
2515 [BZ #16074]
2516 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
2517 MAP_FAILED on error.
2518
7cbcdb36
SP
25192013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2520
2521 [BZ #16072]
2522 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
2523 heap for large requests.
2524
894f3f10
AM
25252013-10-25 Aurelien Jarno <aurelien@aurel32.net>
2526
2527 [BZ #9954]
2528 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
2529 result if the result has no associated interface.
2530 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
2531 interface for all 127.X.Y.Z addresses.
2532
b85545a6
CL
25332013-10-24 Chris Leonard <cjl@sugarlabs.org>
2534
2535 * locale/iso-639.def: Add Ligurian (lij)
2536
d1f23d46
OB
25372013-10-21 Ondřej Bílka <neleai@seznam.cz>
2538
2539 [BZ #15825]
2540 * sunrpc/rpc_main.c: Document rpcgen -5.
2541
4db5b08f
MS
25422013-10-19 Michael Stahl <mstahl@redhat.com>
2543
2544 * elf/rtld.c (do_preload): Print the reason why preloading failed.
2545
a471e96a
OB
25462013-10-19 Ondřej Bílka <neleai@seznam.cz>
2547
d1f23d46 2548 [BZ #10278]
a471e96a
OB
2549 * posix/glob.c: Match only directories when trailing slash is present.
2550 * posix/tst-gnuglob.c (my_opendir): Do not open files.
2551 (main): Add testcase.
2552
45c30c61
OB
25532013-10-19 Ondřej Bílka <neleai@seznam.cz>
2554
2555 [BZ #15670]
2556 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
2557
484c12fb
CD
25582013-10-18 Carlos O'Donell <carlos@redhat.com>
2559
3d7dc513
CD
2560 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
2561 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
2562 AUTH_DES and cindex for FIPS 140-2.
2563 (DES Encryption): Add cindex FIPS 46-3.
2564
484c12fb
CD
2565 * locale/locarchive.h (struct locarhandle): Add fname.
2566 * locale/programs/localedef.c (main): Pass ARGV[remaining]
2567 if an optional argument was specified to --list-archive,
2568 otherwise NULL.
2569 * locale/programs/locarchive.c (show_archive_content): Take new
2570 argument fname and pass it via ah.fname to open_archive.
2571 * locale/programs/localedef.h: Update decl.
2572 (open_archive): If AH->fname is non-null, open that file
2573 rather than the default file name, and don't ignore ENOENT.
2574 (create_archive): Set AH.fname to NULL.
2575 (delete_locales_from_archive): Likewise.
2576 (add_locales_to_archive): Likewise.
2577 * locale/programs/locfile.c (write_all_categories): Likewise.
2578
3c8325fb
JM
25792013-10-18 Joseph Myers <joseph@codesourcery.com>
2580 Aldy Hernandez <aldyh@redhat.com>
2581
2582 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
2583 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
2584 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
2585 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
2586 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
2587 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
2588 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
2589 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
2590 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
2591 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
2592 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
2593 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
2594 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
2595 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
2596 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
2597 Likewise.
2598 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
2599 Likewise.
2600 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
2601 Likewise.
2602 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
2603 Likewise.
2604 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
2605 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
2606 Likewise.
2607 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
2608 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
2609 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
2610 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
2611 Likewise.
2612 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
2613 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
2614 * sysdeps/powerpc/preconfigure: Likewise.
2615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
2616 Likewise.
2617 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
2618 Replace contents of file by #include of <fenv_libc.h>.
2619 * sysdeps/powerpc/soft-fp/sfp-machine.h
2620 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
2621 and <sys/prctl.h>.
2622 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
2623 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
2624 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
2625 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
2626 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
2627 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
2628 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
2629 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
2630 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
2631 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
2632 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
2633 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
2634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2635 Allow copysignl PLT reference to be missing.
2636
5abe0682
RS
26372013-10-18 Richard Sandiford <richard@codesourcery.com>
2638 Joseph Myers <joseph@codesourcery.com
2639
2640 [BZ #15948]
2641 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
2642 single character.
2643 (add_to_tablewc): Assert sequence of wide characters is nonempty.
2644
c7738d08
SP
26452013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2646
2647 * elf/tst-tls-dlinfo.c: Don't include tls.h.
2648 * elf/tst-tls1.c: Likewise.
2649 * elf/tst-tls10.h: Likewise.
2650 * elf/tst-tls14.c: Likewise.
2651 * elf/tst-tls2.c: Likewise.
2652 * elf/tst-tls3.c: Likewise.
2653 * elf/tst-tls4.c: Likewise.
2654 * elf/tst-tls5.c: Likewise.
2655 * elf/tst-tls6.c: Likewise.
2656 * elf/tst-tls7.c: Likewise.
2657 * elf/tst-tls8.c: Likewise.
2658 * elf/tst-tls9.c: Likewise.
2659 * elf/tst-tlsmod1.c: Likewise.
2660 * elf/tst-tlsmod13.c: Likewise.
2661 * elf/tst-tlsmod13a.c: Likewise.
2662 * elf/tst-tlsmod14a.c: Likewise.
2663 * elf/tst-tlsmod16a.c: Likewise.
2664 * elf/tst-tlsmod16b.c: Likewise.
2665 * elf/tst-tlsmod2.c: Likewise.
2666 * elf/tst-tlsmod3.c: Likewise.
2667 * elf/tst-tlsmod4.c: Likewise.
2668 * elf/tst-tlsmod5.c: Likewise.
2669 * elf/tst-tlsmod6.c: Likewise.
2670
0bfcf2c7
OB
26712013-10-18 Ondřej Bílka <neleai@seznam.cz>
2672
2673 [BZ #12486]
2674 * malloc/malloc.c: remove checks for statistics.
2675
264aad1e
OB
26762013-10-17 Ondřej Bílka <neleai@seznam.cz>
2677
2678 [BZ #15277]
2679 * inet/inet_net.c (inet_network): Detect additional invalid strings.
2680 * inet/tst-network.c: Add testcase.
2681
b957ced8
AS
26822013-10-17 Andreas Schwab <schwab@suse.de>
2683
2684 [BZ #15218]
2685 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
2686 to determine canonical name.
2687
c5d5d574
OB
26882013-10-17 Ondřej Bílka <neleai@seznam.cz>
2689
2690 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
2691 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
2692 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2693 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2694 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2695 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2696 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2697 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2698 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
2699 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2700 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2701 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2702 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2703 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2704 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2705 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2706 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2707 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2708 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2709 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2710 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2711 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2712 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2713 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
2714 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
2715 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2716 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2717 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
2718 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2719 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
2720 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2721 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2722 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2723 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2724 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2725 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2726 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2727 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2728 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2729 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2730 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2731 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2732 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2733 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2734 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2735 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2736 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2737 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2738 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2739 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2740 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2741 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2742 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2743 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2744 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2745 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2746 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2747 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2748
e5c2c2d0
JM
27492013-10-17 Joseph Myers <joseph@codesourcery.com>
2750
2751 [BZ #16041]
2752 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
2753 make result into a quiet NaN.
2754
51ca9e29
JM
27552013-10-16 Joseph Myers <joseph@codesourcery.com>
2756
2757 * soft-fp/adddf3.c: Fix horizontal whitespace.
2758 * soft-fp/addsf3.c: Likewise.
2759 * soft-fp/addtf3.c: Likewise.
2760 * soft-fp/divdf3.c: Likewise.
2761 * soft-fp/divsf3.c: Likewise.
2762 * soft-fp/divtf3.c: Likewise.
2763 * soft-fp/double.h: Likewise.
2764 * soft-fp/eqdf2.c: Likewise.
2765 * soft-fp/eqsf2.c: Likewise.
2766 * soft-fp/eqtf2.c: Likewise.
2767 * soft-fp/extenddftf2.c: Likewise.
2768 * soft-fp/extended.h: Likewise.
2769 * soft-fp/extendsfdf2.c: Likewise.
2770 * soft-fp/extendsftf2.c: Likewise.
2771 * soft-fp/extendxftf2.c: Likewise.
2772 * soft-fp/fixdfdi.c: Likewise.
2773 * soft-fp/fixdfsi.c: Likewise.
2774 * soft-fp/fixdfti.c: Likewise.
2775 * soft-fp/fixsfdi.c: Likewise.
2776 * soft-fp/fixsfsi.c: Likewise.
2777 * soft-fp/fixsfti.c: Likewise.
2778 * soft-fp/fixtfdi.c: Likewise.
2779 * soft-fp/fixtfsi.c: Likewise.
2780 * soft-fp/fixtfti.c: Likewise.
2781 * soft-fp/fixunsdfdi.c: Likewise.
2782 * soft-fp/fixunsdfsi.c: Likewise.
2783 * soft-fp/fixunsdfti.c: Likewise.
2784 * soft-fp/fixunssfdi.c: Likewise.
2785 * soft-fp/fixunssfsi.c: Likewise.
2786 * soft-fp/fixunssfti.c: Likewise.
2787 * soft-fp/fixunstfdi.c: Likewise.
2788 * soft-fp/fixunstfsi.c: Likewise.
2789 * soft-fp/fixunstfti.c: Likewise.
2790 * soft-fp/floatdidf.c: Likewise.
2791 * soft-fp/floatdisf.c: Likewise.
2792 * soft-fp/floatditf.c: Likewise.
2793 * soft-fp/floatsidf.c: Likewise.
2794 * soft-fp/floatsisf.c: Likewise.
2795 * soft-fp/floatsitf.c: Likewise.
2796 * soft-fp/floattidf.c: Likewise.
2797 * soft-fp/floattisf.c: Likewise.
2798 * soft-fp/floattitf.c: Likewise.
2799 * soft-fp/floatundidf.c: Likewise.
2800 * soft-fp/floatundisf.c: Likewise.
2801 * soft-fp/floatunditf.c: Likewise.
2802 * soft-fp/floatunsidf.c: Likewise.
2803 * soft-fp/floatunsisf.c: Likewise.
2804 * soft-fp/floatunsitf.c: Likewise.
2805 * soft-fp/floatuntidf.c: Likewise.
2806 * soft-fp/floatuntisf.c: Likewise.
2807 * soft-fp/floatuntitf.c: Likewise.
2808 * soft-fp/fmadf4.c: Likewise.
2809 * soft-fp/fmasf4.c: Likewise.
2810 * soft-fp/fmatf4.c: Likewise.
2811 * soft-fp/gedf2.c: Likewise.
2812 * soft-fp/gesf2.c: Likewise.
2813 * soft-fp/getf2.c: Likewise.
2814 * soft-fp/ledf2.c: Likewise.
2815 * soft-fp/lesf2.c: Likewise.
2816 * soft-fp/letf2.c: Likewise.
2817 * soft-fp/muldf3.c: Likewise.
2818 * soft-fp/mulsf3.c: Likewise.
2819 * soft-fp/multf3.c: Likewise.
2820 * soft-fp/negdf2.c: Likewise.
2821 * soft-fp/negsf2.c: Likewise.
2822 * soft-fp/negtf2.c: Likewise.
2823 * soft-fp/op-1.h: Likewise.
2824 * soft-fp/op-2.h: Likewise.
2825 * soft-fp/op-4.h: Likewise.
2826 * soft-fp/op-8.h: Likewise.
2827 * soft-fp/op-common.h: Likewise.
2828 * soft-fp/quad.h: Likewise.
2829 * soft-fp/single.h: Likewise.
2830 * soft-fp/soft-fp.h: Likewise.
2831 * soft-fp/sqrtdf2.c: Likewise.
2832 * soft-fp/sqrtsf2.c: Likewise.
2833 * soft-fp/sqrttf2.c: Likewise.
2834 * soft-fp/subdf3.c: Likewise.
2835 * soft-fp/subsf3.c: Likewise.
2836 * soft-fp/subtf3.c: Likewise.
2837 * soft-fp/truncdfsf2.c: Likewise.
2838 * soft-fp/trunctfdf2.c: Likewise.
2839 * soft-fp/trunctfsf2.c: Likewise.
2840 * soft-fp/trunctfxf2.c: Likewise.
2841 * soft-fp/unorddf2.c: Likewise.
2842 * soft-fp/unordsf2.c: Likewise.
2843 * soft-fp/unordtf2.c: Likewise.
2844
9ebb0332
JM
28452013-10-15 Joseph Myers <joseph@codesourcery.com>
2846
2847 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
2848 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
2849
4b1a6d8b
OB
28502013-10-15 Ondřej Bílka <neleai@seznam.cz>
2851
2852 * elf/dl-libc.c: Clear initfini list after freeing.
2853
1e145589
JM
28542013-10-14 Joseph Myers <joseph@codesourcery.com>
2855
2856 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
2857 * soft-fp/addsf3.c: Likewise.
2858 * soft-fp/addtf3.c: Likewise.
2859 * soft-fp/divdf3.c: Likewise.
2860 * soft-fp/divsf3.c: Likewise.
2861 * soft-fp/divtf3.c: Likewise.
2862 * soft-fp/double.h: Likewise.
2863 * soft-fp/eqdf2.c: Likewise.
2864 * soft-fp/eqsf2.c: Likewise.
2865 * soft-fp/eqtf2.c: Likewise.
2866 * soft-fp/extenddftf2.c: Likewise.
2867 * soft-fp/extended.h: Likewise.
2868 * soft-fp/extendsfdf2.c: Likewise.
2869 * soft-fp/extendsftf2.c: Likewise.
2870 * soft-fp/extendxftf2.c: Likewise.
2871 * soft-fp/fixdfdi.c: Likewise.
2872 * soft-fp/fixdfsi.c: Likewise.
2873 * soft-fp/fixdfti.c: Likewise.
2874 * soft-fp/fixsfdi.c: Likewise.
2875 * soft-fp/fixsfsi.c: Likewise.
2876 * soft-fp/fixsfti.c: Likewise.
2877 * soft-fp/fixtfdi.c: Likewise.
2878 * soft-fp/fixtfsi.c: Likewise.
2879 * soft-fp/fixtfti.c: Likewise.
2880 * soft-fp/fixunsdfdi.c: Likewise.
2881 * soft-fp/fixunsdfsi.c: Likewise.
2882 * soft-fp/fixunsdfti.c: Likewise.
2883 * soft-fp/fixunssfdi.c: Likewise.
2884 * soft-fp/fixunssfsi.c: Likewise.
2885 * soft-fp/fixunssfti.c: Likewise.
2886 * soft-fp/fixunstfdi.c: Likewise.
2887 * soft-fp/fixunstfsi.c: Likewise.
2888 * soft-fp/fixunstfti.c: Likewise.
2889 * soft-fp/floatdidf.c: Likewise.
2890 * soft-fp/floatdisf.c: Likewise.
2891 * soft-fp/floatditf.c: Likewise.
2892 * soft-fp/floatsidf.c: Likewise.
2893 * soft-fp/floatsisf.c: Likewise.
2894 * soft-fp/floatsitf.c: Likewise.
2895 * soft-fp/floattidf.c: Likewise.
2896 * soft-fp/floattisf.c: Likewise.
2897 * soft-fp/floattitf.c: Likewise.
2898 * soft-fp/floatundidf.c: Likewise.
2899 * soft-fp/floatundisf.c: Likewise.
2900 * soft-fp/floatunsidf.c: Likewise.
2901 * soft-fp/floatunsisf.c: Likewise.
2902 * soft-fp/floatuntidf.c: Likewise.
2903 * soft-fp/floatuntisf.c: Likewise.
2904 * soft-fp/floatuntitf.c: Likewise.
2905 * soft-fp/fmadf4.c: Likewise.
2906 * soft-fp/fmasf4.c: Likewise.
2907 * soft-fp/fmatf4.c: Likewise.
2908 * soft-fp/gedf2.c: Likewise.
2909 * soft-fp/gesf2.c: Likewise.
2910 * soft-fp/getf2.c: Likewise.
2911 * soft-fp/ledf2.c: Likewise.
2912 * soft-fp/lesf2.c: Likewise.
2913 * soft-fp/letf2.c: Likewise.
2914 * soft-fp/muldf3.c: Likewise.
2915 * soft-fp/mulsf3.c: Likewise.
2916 * soft-fp/multf3.c: Likewise.
2917 * soft-fp/negdf2.c: Likewise.
2918 * soft-fp/negsf2.c: Likewise.
2919 * soft-fp/negtf2.c: Likewise.
2920 * soft-fp/op-1.h: Likewise.
2921 * soft-fp/op-2.h: Likewise.
2922 * soft-fp/op-4.h: Likewise.
2923 * soft-fp/op-8.h: Likewise.
2924 * soft-fp/op-common.h: Likewise.
2925 * soft-fp/quad.h: Likewise.
2926 * soft-fp/single.h: Likewise.
2927 * soft-fp/soft-fp.h: Likewise.
2928 * soft-fp/sqrtdf2.c: Likewise.
2929 * soft-fp/sqrtsf2.c: Likewise.
2930 * soft-fp/sqrttf2.c: Likewise.
2931 * soft-fp/subdf3.c: Likewise.
2932 * soft-fp/subsf3.c: Likewise.
2933 * soft-fp/subtf3.c: Likewise.
2934 * soft-fp/truncdfsf2.c: Likewise.
2935 * soft-fp/trunctfdf2.c: Likewise.
2936 * soft-fp/trunctfsf2.c: Likewise.
2937 * soft-fp/trunctfxf2.c: Likewise.
2938 * soft-fp/unorddf2.c: Likewise.
2939 * soft-fp/unordsf2.c: Likewise.
2940 * soft-fp/unordtf2.c: Likewise.
2941
17c48a60
OB
29422013-10-14 Ondřej Bílka <neleai@seznam.cz>
2943
2944 [BZ #15672]
2945 * misc/error.c (error_tail): Fix possible buffer overflow.
2946
cabba934
OB
29472013-10-14 Aurelien Jarno <aurelien@aurel32.net>
2948
2949 [BZ #13028]
2950 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
2951 address.
2952
94bf958a
PM
29532013-10-14 P. J. McDermott <pj@pehjota.net>
2954
2955 [BZ #832]
2956 * elf/ldd.bash.in (try_trace): New function. Delete previous code
2957 testing pipefail option.
2958
71b4dea7
JM
29592013-10-12 Joseph Myers <joseph@codesourcery.com>
2960
2961 * soft-fp/double.h: Indent preprocessor directives inside #if.
2962 * soft-fp/extended.h: Likewise.
2963 * soft-fp/op-2.h: Likewise.
2964 * soft-fp/op-4.h: Likewise.
2965 * soft-fp/op-common.h: Likewise.
2966 * soft-fp/quad.h: Likewise.
2967 * soft-fp/single.h: Likewise.
2968 * soft-fp/soft-fp.h: Likewise.
2969
55602758
YC
29702013-10-12 Yuri Chornoivan <yurchor@ukr.net>
2971
2972 * iconv/iconv_prog.c: Fix typos.
2973 * stdio-common/psiginfo-data.h: Likewise.
2974
9cd83302
RT
29752013-10-12 Reuben Thomas <rrt@sc3d.org>
2976
2977 [BZ #15764]
2978 * locale/setlocale.c: Fix typo.
2979
99fd9f47
JM
29802013-10-12 Joseph Myers <joseph@codesourcery.com>
2981
b7ea74f0
JM
2982 [BZ #16036]
2983 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
2984 signaling NaN arguments.
2985 * soft-fp/unordsf2.c (__unordsf2): Likewise.
2986 * soft-fp/unordtf2.c (__unordtf2): Likewise.
2987
8a509447
JM
2988 [BZ #14910]
2989 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
2990 unordered operands.
2991 * soft-fp/gesf2.c (__gesf2): Likewise.
2992 * soft-fp/getf2.c (__getf2): Likewise.
2993 * soft-fp/ledf2.c (__ledf2): Likewise.
2994 * soft-fp/lesf2.c (__lesf2): Likewise.
2995 * soft-fp/letf2.c (__letf2): Likewise.
2996
98998e9f
JM
2997 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
2998 * soft-fp/eqsf2.c (__eqsf2): Likewise.
2999 * soft-fp/eqtf2.c (__eqtf2): Likewise.
3000 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
3001 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
3002 * soft-fp/fixdfti.c (__fixdfti): Likewise.
3003 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
3004 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
3005 * soft-fp/fixsfti.c (__fixsfti): Likewise.
3006 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
3007 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
3008 * soft-fp/fixtfti.c (__fixtfti): Likewise.
3009 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
3010 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
3011 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
3012 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
3013 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
3014 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
3015 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
3016 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
3017 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
3018 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
3019 * soft-fp/floatdisf.c (__floatdisf): Likewise.
3020 * soft-fp/floatsisf.c (__floatsisf): Likewise.
3021 * soft-fp/floattidf.c (__floattidf): Likewise.
3022 * soft-fp/floattisf.c (__floattisf): Likewise.
3023 * soft-fp/floattitf.c (__floattitf): Likewise.
3024 * soft-fp/floatundidf.c (__floatundidf): Likewise.
3025 * soft-fp/floatundisf.c (__floatundisf): Likewise.
3026 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
3027 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
3028 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
3029 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
3030 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
3031 * soft-fp/gesf2.c (__gesf2): Likewise.
3032 * soft-fp/getf2.c (__getf2): Likewise.
3033 * soft-fp/ledf2.c (__ledf2): Likewise.
3034 * soft-fp/lesf2.c (__lesf2): Likewise.
3035 * soft-fp/letf2.c (__letf2): Likewise.
3036
8edc4a11
JM
3037 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
3038 Undefine and redefine.
3039 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
3040 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
3041 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
3042 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
3043 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3044 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
3045 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3046 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
3047 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3048 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
3049 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3050 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
3051 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3052 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
3053 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3054
8399acaf
JM
3055 [BZ #16032]
3056 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
3057 without decrementing exponent if mantissa >= that for the
3058 denominator, not >.
3059 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
3060 denominator, not >. Decrement exponent in < case instead of
3061 incrementing in >= case.
3062 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
3063 without decrementing exponent if mantissa >= that for the
3064 denominator, not >.
3065
99fd9f47
JM
3066 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
3067 computing saturated result for unsigned overflow.
3068
10e1cf6b
SP
30692013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3070 Jeff Law <law@redhat.com>
3071
3072 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
3073 (atan2Mp): Add systemtap probe marker.
3074 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
3075 (__ieee754_log): Add systemtap probe marker.
3076 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
3077 (atanMp): Add systemtap probe marker.
3078 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
3079 (tanMp): Add systemtap probe marker.
3080 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
3081 (__slowexp): Add systemtap probe marker.
3082 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
3083 (__slowpow): Add systemtap probe marker.
3084 * manual/probes.texi: Document probes.
3085
3d110c7c
EB
30862013-10-11 Eric Biggers <ebiggers3@gmail.com>
3087
3088 [BZ #15362]
3089 * libio/fileops.c (_IO_new_file_write): Return count of bytes
3090 written.
3091 (_IO_new_file_xsputn): Don't return EOF if nothing has been
3092 written.
3093 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
3094 written to buffer but not flushed.
3095 * libio/iofwrite_u.c: Likewise.
3096 * libio/iopadn.c: Return bytes returned even if EOF was
3097 encountered.
3098 * libio/iowpadn.c: Likewise.
3099 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
3100 if _IO_padn does not write the whole buffer.
3101 [!COMPILE_WPRINTF] (PAD): Likewise.
3102
75b4202a
DM
31032013-10-10 David S. Miller <davem@davemloft.net>
3104
3105 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
3106 directory block.
3107
6c6352e6
JM
31082013-10-10 Joseph Myers <joseph@codesourcery.com>
3109
33b853c3
JM
3110 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
3111 instead of FSF address.
3112 * soft-fp/fixdfti.c: Likewise.
3113 * soft-fp/fixsfti.c: Likewise.
3114 * soft-fp/fixtfti.c: Likewise.
3115 * soft-fp/fixunsdfti.c: Likewise.
3116 * soft-fp/fixunssfti.c: Likewise.
3117 * soft-fp/fixunstfti.c: Likewise.
3118 * soft-fp/floattidf.c: Likewise.
3119 * soft-fp/floattisf.c: Likewise.
3120 * soft-fp/floattitf.c: Likewise.
3121 * soft-fp/floatuntidf.c: Likewise.
3122 * soft-fp/floatuntisf.c: Likewise.
3123 * soft-fp/floatuntitf.c: Likewise.
3124 * soft-fp/trunctfxf2.c: Likewise.
3125
6c6352e6
JM
3126 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
3127 * soft-fp/fixdfti.c: Likewise.
3128 * soft-fp/fixsfti.c: Likewise.
3129 * soft-fp/fixtfti.c: Likewise.
3130 * soft-fp/fixunsdfti.c: Likewise.
3131 * soft-fp/fixunssfti.c: Likewise.
3132 * soft-fp/fixunstfti.c: Likewise.
3133 * soft-fp/floattidf.c: Likewise.
3134 * soft-fp/floattisf.c: Likewise.
3135 * soft-fp/floattitf.c: Likewise.
3136 * soft-fp/floatuntidf.c: Likewise.
3137 * soft-fp/floatuntisf.c: Likewise.
3138 * soft-fp/floatuntitf.c: Likewise.
3139 * soft-fp/trunctfxf2.c: Likewise.
3140
3bf78b71
DM
31412013-10-10 David S. Miller <davem@davemloft.net>
3142
3143 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3144
6f10289e
JM
31452013-10-10 Joseph Myers <joseph@codsourcery.com>
3146
bd878fc0
JM
3147 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3148 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
3149 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
3150 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
3151 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
3152 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
3153 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
3154
6f10289e
JM
3155 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
3156 for NaNs before doing comparisons on argument.
3157 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3158 Likewise.
3159
321e2684
WN
31602013-10-10 Will Newton <will.newton@linaro.org>
3161
3162 * malloc/hooks.c (memalign_check): Ensure the value of bytes
3163 passed to _int_memalign does not overflow.
3164
40fefba1
TR
31652013-10-10 Torvald Riegel <triegel@redhat.com>
3166
3167 * scripts/bench.pl: Add include-sources directive.
3168 * benchtests/README: Update documentation.
3169
2ae21ed2
JM
31702013-10-10 Joseph Myers <joseph@codesourcery.com>
3171
dcc2dd3f
JM
3172 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
3173 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
3174 instead of FP_INIT_ROUNDMODE.
3175 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
3176 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
3177
2ae21ed2
JM
3178 [BZ #16034]
3179 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
3180 copy class of input value.
3181 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
3182 not handle exceptions.
3183 * soft-fp/negsf2.c (__negsf2): Likewise.
3184 * soft-fp/negtf2.c (__negtf2): Likewise.
3185 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
3186
cb8f9562
JM
31872013-10-09 Joseph Myers <joseph@codesourcery.com>
3188
3189 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
3190 semicolon. From Linux kernel.
3191
5b60c59d
AB
31922013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
3193
3194 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
3195
b86835ca
YC
31962013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
3197
3198 [BZ #156]
3199 * manual/socket.texi: Added statement about buffer
3200 for gethostbyname2_r.
3201
e7044ea7
OB
32022013-10-08 Ondřej Bílka <neleai@seznam.cz>
3203
3204 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
3205 Use .p2align directive instead, throughout.
3206 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3207 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3208 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
3209 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3210 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3211 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
3212 * sysdeps/x86_64/strchr.S: Likewise.
3213 * sysdeps/x86_64/strrchr.S: Likewise.
3214
09544cbc
SP
32152013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3216
88576635
SP
3217 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
3218
e7b2d1dd
SP
3219 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
3220
09544cbc
SP
3221 * sysdeps/generic/math_private.h (__mpsin1): Remove
3222 declaration.
3223 (__mpcos1): Likewise.
3224 (__mpsin): New argument __range_reduce.
3225 (__mpcos): Likewise.
3226 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3227 (slow): Use __mpsin and __mpcos.
3228 (slow1): Likewise.
3229 (slow2): Likewise.
3230 (sloww): Likewise.
3231 (sloww1): Likewise.
3232 (sloww2): Likewise.
3233 (bsloww): Likewise.
3234 (bsloww1): Likewise.
3235 (bsloww2): Likewise.
3236 (cslow2): Likewise.
3237 (csloww): Likewise.
3238 (csloww1): Likewise.
3239 (csloww2): Likewise.
3240 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
3241 range_reduce. Merge in __mpsin1.
3242 (__mpcos): Likewise.
3243 (__mpsin1): Remove.
3244 (__mpcos1): Likewise.
3245
7602d070
JM
32462013-10-07 Joseph Myers <joseph@codesourcery.com>
3247
3248 * locale/loadlocale.c (_nl_intern_locale_data): Use
3249 LOCFILE_ALIGNED_P.
3250 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
3251 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
3252 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
3253 obstack data is appropriately aligned.
3254 (obstack_int32_grow_fast): Likewise.
3255 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
3256 * locale/programs/locfile.c (add_locale_uint32): Likewise.
3257 (add_locale_uint32_array): Likewise.
3258
a357259b
SP
32592013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3260
3261 * benchtests/Makefile: Remove ARGLIST and RET variables.
3262 ($(objpfx)bench-%.c): Pass only function name to the script.
3263 * benchtests/README: Update documentation.
3264 * benchtests/acos-inputs: Add new directives.
3265 * benchtests/acosh-inputs: Likewise.
3266 * benchtests/asin-inputs: Likewise.
3267 * benchtests/asinh-inputs: Likewise.
3268 * benchtests/atan-inputs: Likewise.
3269 * benchtests/atanh-inputs: Likewise.
3270 * benchtests/cos-inputs: Likewise.
3271 * benchtests/cosh-inputs: Likewise.
3272 * benchtests/exp-inputs: Likewise.
3273 * benchtests/log-inputs: Likewise.
3274 * benchtests/pow-inputs: Likewise.
3275 * benchtests/rint-inputs: Likewise.
3276 * benchtests/sin-inputs: Likewise.
3277 * benchtests/sinh-inputs: Likewise.
3278 * benchtests/tan-inputs: Likewise.
3279 * benchtests/tanh-inputs: Likewise.
3280 * scripts/bench.pl: Add support for new directives.
3281
9ec1b13d
AM
32822013-10-07 Alan Modra <amodra@gmail.com>
3283
3284 * README: Fix careless merge.
3285
8b7d57cd
AM
32862013-10-05 Alan Modra <amodra@gmail.com>
3287
3288 * NEWS: Mention powerpc64le support and bugs fixed.
3289 * README: Both big-endian and little-endian powerpc64 supported.
3290
7b7bab13
ST
32912013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3292
3293 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
3294 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
3295 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
3296 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
3297
d39baad1
RA
32982013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
3299
3300 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
3301 match prototype.
3302
cd78f7e7
JM
33032013-10-04 Joseph Myers <joseph@codesourcery.com>
3304
29d73d86
JM
3305 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
3306 Move -mhard-float appending from
3307 ports/sysdeps/powerpc/powerpc32/Makefile.
3308 [$(with-fp) = yes] (ASFLAGS): Likewise.
3309 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
3310 * sysdeps/powerpc/nofpu: Move directory from
3311 ports/sysdeps/powerpc/nofpu.
3312 * sysdeps/powerpc/soft-fp: Move directory from
3313 ports/sysdeps/powerpc/soft-fp.
3314 * sysdeps/powerpc/powerpc32/405: Move directory from
3315 ports/sysdeps/powerpc/powerpc32/405.
3316 * sysdeps/powerpc/powerpc32/440: Move directory from
3317 ports/sysdeps/powerpc/powerpc32/440.
3318 * sysdeps/powerpc/powerpc32/464: Move directory from
3319 ports/sysdeps/powerpc/powerpc32/464.
3320 * sysdeps/powerpc/powerpc32/476: Move directory from
3321 ports/sysdeps/powerpc/powerpc32/476.
3322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
3323 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
3324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
3325 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
3326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
3327 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
3328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
3329 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
3330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
3331 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
3332 * README: Update for powerpc-*-linux-gnu software floating point
3333 support in libc.
3334
e246b347
JM
3335 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
3336 case to powerpc/powerpc32*.
3337 * sysdeps/unix/sysv/linux/configure: Regenerated.
3338
89c2003e
JM
3339 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
3340 (_FPU_MASK_OM): Define as 0x04.
3341 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
3342 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
3343 0x00c10080.
3344 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
3345 0x0000003c.
3346 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
3347
cd78f7e7
JM
3348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3349 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3350 getcontext_e500.
3351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3352 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3353 setcontext_e500.
3354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
3355 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
3356 and setcontext_e500.
3357
c755294d
CL
33582013-10-04 Chris Leonard <cjl@sugarlabs,.org>
3359
3360 * locale/iso-3166.def: Update iso-1366.def and related occurrences
3361
e16d221c
SP
33622013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3363
3364 * manual/threads.texi (Default Thread Attributes): Fix typo.
3365
215c7d43
WN
33662013-10-04 Will Newton <will.newton@linaro.org>
3367
3368 * malloc/Makefile: Add tst-memalign.
3369 * malloc/tst-memalign.c: New file.
3370
27d0461b
WN
3371 * malloc/tst-posix_memalign.c: Add comments.
3372 (do_test): Add comments and call free on all potentially
3373 allocated pointers. Add space after cast.
3374
1bc92709
WN
3375 * malloc/tst-pvalloc.c: Add comments.
3376 (do_test): Add comments and call free on all potentially
3377 allocated pointers. Remove duplicate check for NULL pointer.
3378 Add space after cast.
3379
66a9be9d
WN
3380 * malloc/tst-valloc.c: Add comments.
3381 (do_test): Add comments and call free on all potentially
3382 allocated pointers. Remove duplicate check for NULL pointer.
3383 Add space after cast.
3384
4cb81307
AM
33852013-10-04 Alan Modra <amodra@gmail.com>
3386
3387 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3388 Use stdint types in rather than __attribute__((mode())).
3389 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3390
f8e3e9f3
AM
33912013-10-04 Alan Modra <amodra@gmail.com>
3392
3393 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3394 Correct handling of unaligned relocs for little-endian.
3395 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3396
8f9ebb08
AM
33972013-10-04 Alan Modra <amodra@gmail.com>
3398
3399 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
3400 * configure: Regenerate.
3401 * nptl/shlib-versions: Powerpc*le starts at 2.18.
3402 * shlib-versions: Likewise.
3403
0edf96c2
AM
34042013-10-04 Alan Modra <amodra@gmail.com>
3405
3406 * string/tester.c (test_memrchr): Increment reported test cycle.
3407
e0f7a380
AM
34082013-10-04 Alan Modra <amodra@gmail.com>
3409
3410 * string/test-memcpy.c (do_one_test): When reporting errors, print
3411 string address and don't overrun end of string.
3412
466b0393
AM
34132013-10-04 Alan Modra <amodra@gmail.com>
3414
3415 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
3416 insrdi. Make better use of reg selection to speed exit slightly.
3417 Schedule entry path a little better. Remove useless "are we done"
3418 checks on entry to main loop. Handle wrapping around zero address.
3419 Correct main loop count. Handle single left-over word from main
3420 loop inline rather than by using loop_small. Remove extra word
3421 case in loop_small caused by wrong loop count. Add little-endian
3422 support.
3423 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3424 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
3425 cache hint.
3426 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3427 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
3428 support. Avoid rlwimi.
3429 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
3430
3be87c77
AM
34312013-10-04 Alan Modra <amodra@gmail.com>
3432
3433 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 3434 insrdi. Formatting.
3be87c77
AM
3435 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
3436 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3437 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3438 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3439 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3440 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
3441
759cfef3
AM
34422013-10-04 Alan Modra <amodra@gmail.com>
3443
3444 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
3445 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3446 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3447 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
3448 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3449 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3450 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3451 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
3452 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
3453 use of regs. Use power7 mtocrf. Tidy function tails.
3454
fe6e95d7
AM
34552013-10-04 Alan Modra <amodra@gmail.com>
3456
3457 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
3458 Formatting. Consistently use rXXX register defines or rN defines.
3459 Use early exit labels that avoid restoring unused non-volatile regs.
3460 Make cr field use more consistent with rWORDn compares. Rename
3461 regs used as shift registers for unaligned loop, using rN defines
3462 for short lifetime/multiple use regs.
3463 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3464 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
3465 addi 1,1,64 to pop stack frame. Simplify return value code.
3466 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3467
664318c3
AM
34682013-10-04 Alan Modra <amodra@gmail.com>
3469
3470 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
3471 support. Correct typos, formatting. Optimize tail. Use insrdi
3472 rather than rlwimi.
3473 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
3474 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
3475 little-endian support. Correct typos.
3476 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
3477 rather than rlwimi.
3478 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
3479 in loop and entry code to keep "and." results.
3480 (strchr): Add little-endian support. Comment. Move cntlzd
3481 earlier in tail.
3482 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
3483
43b84013
AM
34842013-10-04 Alan Modra <amodra@gmail.com>
3485
3486 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
3487 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
3488 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
3489 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
3490
8a7413f9
AM
34912013-10-04 Alan Modra <amodra@gmail.com>
3492
3493 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
3494 (rTMP): Define as r11.
3495 (strcmp): Add little-endian support. Optimise tail.
3496 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
3497 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3498 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3499 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3500 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3501 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3502 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3503
33ee81de
AM
35042013-10-04 Alan Modra <amodra@gmail.com>
3505
3506 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
3507 little-endian support. Remove unnecessary "are we done" tests.
3508 Handle "s" wrapping around zero and extremely large "size".
3509 Correct main loop count. Handle single left-over word from main
3510 loop inline rather than by using small_loop. Correct comments.
3511 Delete "zero" tail, use "end_max" instead.
3512 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
3513
db9b4570
AM
35142013-10-04 Alan Modra <amodra@gmail.com>
3515
3516 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
3517 support. Don't branch over align.
3518 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
3519 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
3520 support. Rearrange tmp reg use to suit. Comment.
3521 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
3522
f7c399cf
AM
35232013-10-04 Alan Modra <amodra@gmail.com>
3524
3525 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
3526
0b2c2ace
AM
35272013-10-04 Alan Modra <amodra@gmail.com>
3528
3529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
3530 conditional form of branch and link when obtaining pc.
3531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3532
02f04a6c
AM
35332013-10-04 Alan Modra <amodra@gmail.com>
3534
3535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
3536 HIWORD/LOWORD.
3537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
3538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
3539
9b874b2f
AM
35402013-10-04 Alan Modra <amodra@gmail.com>
3541
3542 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
3543 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
3544 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3545 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
3546 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3547 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3548 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
3549 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3550 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3551 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
3552
be1e5d31
AB
35532013-10-04 Anton Blanchard <anton@au1.ibm.com>
3554 Alistair Popple <alistair@ozlabs.au.ibm.com>
3555 Alan Modra <amodra@gmail.com>
3556
3557 [BZ #15723]
3558 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
3559 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
3560 _dl_hwcap access for little-endian.
3561 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
3562 destroy vmx regs when saving unaligned.
3563 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
3564 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
3565 destroy vmx regs when saving unaligned.
3566
fef13a78
AM
35672013-10-04 Alan Modra <amodra@gmail.com>
3568
3569 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
3570 Don't use a union to pack hi/low value.
3571
76a66d51
AB
35722013-10-04 Anton Blanchard <anton@au1.ibm.com>
3573
3574 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
3575 for little-endian.
3576 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3577 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
3578 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3579 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3580 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3581
6a31fe7f
AM
35822013-10-04 Alan Modra <amodra@gmail.com>
3583
3584 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
3585 constants to usual value for .cst8 section, and remove redundant
3586 high address load.
3587 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
3588 constant for 0x1p52. Load little-endian words of double from
3589 correct stack offsets.
3590
7b88401f
AM
35912013-10-04 Alan Modra <amodra@gmail.com>
3592
3593 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
3594 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
3595 words of double from correct stack offsets.
3596 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3597 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
3598 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3599 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3600 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3601 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3602 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3603 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3604 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3605 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3606 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3607 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3608 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3609 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3610 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3611 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
3612 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3613
9c008155
AM
36142013-10-04 Alan Modra <amodra@gmail.com>
3615
3616 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
3617 64-bit int/double union.
3618 (_FPU_SETCW): Likewise.
3619 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
3620 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
3621
da13146d
AM
36222013-10-04 Alan Modra <amodra@gmail.com>
3623
3624 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
3625 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
3626
603e8410
AM
36272013-10-04 Alan Modra <amodra@gmail.com>
3628
3629 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
3630 use vector int constants.
3631 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
3632
4a28b3ca
AB
36332013-10-04 Anton Blanchard <anton@au1.ibm.com>
3634
3635 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
3636 array with long long.
3637 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
3638 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
3639 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
3640 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
3641 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
3642 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
3643 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
3644 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
3645 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
3646 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
3647 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
3648 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
3649 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
3650
2ca85d2b
AB
36512013-10-04 Anton Blanchard <anton@au1.ibm.com>
3652
3653 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
3654 (__signbit): Likewise. Correct for little-endian.
3655 (__signbitl): Call __signbit.
3656 (lrint): Correct for little-endian.
3657 (lrintf): Call lrint.
3658
62a728ae
AM
36592013-10-04 Alan Modra <amodra@gmail.com>
3660
3661 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
3662 union 32-bit int array member with 64-bit int array.
3663 (t515, tm256): Double rather than long double.
3664 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
3665
32c301df
AM
36662013-10-04 Alan Modra <amodra@gmail.com>
3667
3668 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
3669 Delete.
3670 (IEEE854_LONG_DOUBLE_BIAS): Delete.
3671 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
3672 version of math_ldbl.h.
3673
650ef4bd
AM
36742013-10-04 Alan Modra <amodra@gmail.com>
3675
3676 [BZ #15734], [BZ #15735]
3677 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
3678 all uses of ieee875 long double macros and unions. Simplify test
3679 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
3680 ldbl_extract_mantissa value for ix,iy exponents. Properly
3681 normalize after ldbl_extract_mantissa, and don't add hidden bit
3682 already handled. Don't treat low word of ieee854 mantissa like
3683 low word of IBM long double and mask off bit when testing for
3684 zero.
3685 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
3686 all uses of ieee875 long double macros and unions. Simplify tests
3687 for 0.0L and inf. Correct double adjustment of k. Delete dead code
3688 adjusting ha,hb. Simplify code setting kld. Delete two600 and
3689 two1022, instead use their values. Recognise that tests for large
3690 "a" and small "b" are mutually exclusive. Rename vars. Comment.
3691 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
3692 Rewrite all uses of ieee875 long double macros and unions. Simplify
3693 test for 0.0L and nan. Correct negation.
3694 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
3695 ieee875 long double macros and unions. Correct output for large
3696 magnitude x. Correct absolute value calculation.
3697 (__erfcl): Likewise.
3698 * math/libm-test.inc: Add tests for errors discovered in IBM long
3699 double versions of fmodl, remainderl, erfl and erfcl.
3700
765714ca
AM
37012013-10-04 Alan Modra <amodra@gmail.com>
3702
3703 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
3704 all uses of ieee854 long double macros and unions. Simplify tests
3705 for long doubles that are fully specified by the high double.
3706 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3707 Likewise.
3708 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
3709 Remove dead code too.
3710 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3711 (__ieee754_ynl): Likewise.
3712 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
3713 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
3714 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
3715 Remove dead code too.
3716 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
3717 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
3718 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
3719 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
3720 Simplify.
3721 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
3722 Simplify.
3723 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
3724 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
3725 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
3726 Comment on variable precision.
3727 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
3728 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3729 Likewise.
3730 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3731 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3732 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3733 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
3734 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
3735
4ebd120c
AM
37362013-10-04 Alan Modra <amodra@gmail.com>
3737
3738 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
3739 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
3740 all uses of ieee854 long double macros and unions.
3741 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
3742 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3743 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
3744 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
3745 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
3746 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3747 Likewise.
3748 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
3749 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3750 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
3751 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3752 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
3753 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
3754 Simplify sign and nan test too.
3755 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
3756 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
3757 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
3758 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
3759 Likewise.
3760 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3761 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
3762 Likewise.
3763 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3764 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
3765 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
3766 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
3767 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
3768 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
3769
1b6adf88
AM
37702013-10-04 Alan Modra <amodra@gmail.com>
3771
3772 * stdio-common/printf_size.c (__printf_size): Don't use
3773 union ieee854_long_double in fpnum union.
3774 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
3775 signbit macro to retrieve sign from long double.
3776 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
3777 retrieve sign from long double.
3778 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
3779 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
3780 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
3781 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3782 * math/test-misc.c (main): Don't use union ieee854_long_double.
3783
4cf69995
AM
37842013-10-04 Alan Modra <amodra@gmail.com>
3785
3786 [BZ #15680]
3787 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
3788 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
3789 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
3790 calculation. Remove unnecessary test for denormal exponent.
3791 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
3792 Correct handling of denormals. Avoid undefined shift behaviour.
3793 Correct normalisation of low mantissa when low double is denormal.
3794 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
3795 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
3796 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
3797 Correct normalisation of low mantissa. Test for overflow of high
3798 mantissa and normalise.
3799 (ldbl_nearbyint): Use more readable constant for two52.
3800 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
3801 (__mpn_construct_long_double): Fix test for overflow of high
3802 mantissa and correct normalisation. Avoid undefined shift.
3803
9605ca6c
AM
38042013-10-04 Alan Modra <amodra@gmail.com>
3805
3806 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3807 (union ibm_extended_long_double): Define as an array of ieee754_double.
3808 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
3809 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
3810 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
3811 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3812 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3813 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
3814 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3815 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3816 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3817 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
3818 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3819
975569d0
JM
38202013-10-03 Joseph Myers <joseph@codesourcery.com>
3821
d3d23756
JM
3822 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
3823 page size instead of calling getpagesize.
3824
975569d0
JM
3825 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
3826 (LOCFILE_ALIGN_MASK): Likewise.
3827 (LOCFILE_ALIGN_UP): Likewise.
3828 (LOCFILE_ALIGNED_P): Likewise.
3829 * locale/programs/ld-collate.c (collate_output): Use the new
3830 macros instead of __alignof__ (int32_t).
3831 * locale/weight.h (findidx): Likewise.
3832
b1fe1f2b
OB
38332013-10-03 Ondřej Bílka <neleai@seznam.cz>
3834
3835 [BZ #431]
3836 * manual/string.texi: Fix strncat and wcsncat.
3837
5f855e35
BM
38382013-10-03 Brooks Moses <bmoses@google.com>
3839
3840 [BZ #15915]
3841 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
3842 * Makerules: ...here, and adjust associated comments.
3843
3cef6009
WN
38442013-10-02 Will Newton <will.newton@linaro.org>
3845
3846 * malloc/Makefile: Add tst-pvalloc.
3847 * malloc/tst-pvalloc.c: New file.
3848
7815420b
WN
38492013-10-02 Will Newton <will.newton@linaro.org>
3850
3851 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
3852 improve test coverage.
3853
4868b204
WN
38542013-10-02 Will Newton <will.newton@linaro.org>
3855
3856 * malloc/Makefile: Add tst-posix_memalign.
3857 * malloc/tst-posix_memalign.c: New file.
3858
29c793b3
EB
38592013-10-01 Eric Blake <eblake@redhat.com>
3860
3861 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
3862 Use __THROWNL rather than __THROW on static functions.
3863
fd967522
PM
38642013-09-30 Petr Machata <pmachata@redhat.com>
3865
3866 * elf/elf.h (R_AARCH64_ABS16): New macro.
3867 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
3868 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
3869 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
3870 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
3871 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
3872 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
3873 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
3874 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
3875 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
3876 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
3877 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
3878 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
3879 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
3880 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
3881 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
3882 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
3883 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
3884 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
3885 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
3886 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
3887 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
3888 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
3889 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
3890 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
3891 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
3892 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
3893 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
3894 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
3895 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
3896 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
3897 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
3898 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
3899 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
3900 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
3901 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
3902 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
3903 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
3904 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
3905 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
3906 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
3907 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
3908 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
3909 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
3910 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
3911 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
3912 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
3913 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
3914 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
3915 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
3916 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
3917 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
3918 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
3919 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
3920 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
3921 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
3922 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
3923 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
3924 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
3925 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
3926 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
3927 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
3928 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
3929 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
3930 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
3931 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
3932 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
3933 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
3934 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
3935 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
3936 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
3937 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
3938 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
3939 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
3940 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
3941 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
3942 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
3943 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
3944 (R_AARCH64_TLSDESC_LDR): Likewise.
3945 (R_AARCH64_TLSDESC_ADD): Likewise.
3946 (R_AARCH64_TLSDESC_CALL): Likewise.
3947
b2179107
AS
39482013-09-30 Andreas Schwab <schwab@suse.de>
3949
3950 [BZ #15048]
3951 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
3952 the nss database lookup.
3953 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3954 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3955
47f28d0a
MF
39562013-09-28 Mike Frysinger <vapier@gentoo.org>
3957
3958 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
3959
39602013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
3961
3962 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
3963 ${Bash-specific parameter/pattern/string} parameter expansion.
3964 * sysdeps/unix/make-syscalls.sh: Likewise.
3965
f4518a17
KK
39662013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3967
3968 * sysdeps/sh/stackguard-macros.h: New file.
3969
dc1a95c7
OB
39702013-09-26 Ondřej Bílka <neleai@seznam.cz>
3971
3972 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
3973 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
3974 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
3975 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
3976 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3977 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
3978
5ebbff8f
AZ
39792013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3980
3981 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
3982 Fix thread ID register.
3983
4fd2cf9f
JM
39842013-09-25 Joseph Myers <joseph@codesourcery.com>
3985
3986 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
3987 [POSIX || UNIX98]: Require rather than permitting all symbols from
3988 <time.h>.
3989 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
3990 element of struct sched_param.
3991 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
3992 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
3993 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
3994 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
3995 constant.
3996
12c22bc4
OL
39972013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
3998
3999 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
4000 argument calculation.
4001
a03d8ea7
JM
40022013-09-24 Joseph Myers <joseph@codesourcery.com>
4003
4004 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
4005 Expect macro.
4006 [POSIX] (pthread_attr_t): Do not require type.
4007 [POSIX] (pthread_cond_t): Likewise.
4008 [POSIX] (pthread_condattr_t): Likewise.
4009 [POSIX] (pthread_key_t): Likewise.
4010 [POSIX] (pthread_mutex_t): Likewise.
4011 [POSIX] (pthread_mutexattr_t): Likewise.
4012 [POSIX] (pthread_once_t): Likewise.
4013 [POSIX] (pthread_t): Likewise.
4014 [POSIX-based standards] (pthread_atfork): Expect function.
4015
6055173a
JM
40162013-09-24 Joseph Myers <joseph@codesourcery.com>
4017 Richard Sandiford <richard@codesourcery.com>
4018
4019 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
4020 (swap_endianness_p): New extern variable.
4021 (set_big_endian): New inline function.
4022 (maybe_swap_uint32): Likewise.
4023 (maybe_swap_uint32_array): Likewise.
4024 (maybe_swap_uint32_obstack): Likewise.
4025 * locale/programs/locfile.c: Include <stdbool.h>.
4026 (swap_endianness_p): New variable.
4027 (add_locale_uint32): Call maybe_swap_uint32.
4028 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
4029 (write_locale_data): Call maybe_swap_uint32_array.
4030 * locale/programs/ld-collate.c (obstack_int32_grow): Call
4031 maybe_swap_uint32.
4032 (obstack_int32_grow_fast): Likewise.
4033 (output_weightwc): Call maybe_swap_uint32_obstack.
4034 (collate_output): Likewise.
4035 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
4036 (OPT_LITTLE_ENDIAN): Likewise.
4037 (options): Add --little-endian and --big-endian options.
4038 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
4039 * locale/programs/locarchive.c: Include "locfile.h".
4040 (GET): New macro.
4041 (SET): Likewise.
4042 (INC): Likewise.
4043 (create_archive): Use the new macros to access fields of
4044 structures directly mapped from or written to locale archives.
4045 (oldlocrecentcmp): Likewise.
4046 (enlarge_archive): Likewise.
4047 (insert_name): Likewise.
4048 (add_alias): Likewise.
4049 (add_locale): Likewise.
4050 (delete_locales_from_archive): Likewise.
4051 (show_archive_content): Likewise.
4052 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
4053 locale data.
4054
39bf0bb4
RM
40552013-09-24 Roland McGrath <roland@hack.frob.com>
4056
4057 * manual/freemanuals.texi: Updated from (newly) canonical copy at
4058 http://www.gnu.org/doc/freemanuals.texi.
4059 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
4060
f02eed10
WN
40612013-09-24 Will Newton <will.newton@linaro.org>
4062
4063 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
4064 macro.
4065
a3a6c312
JM
40662013-09-23 Joseph Myers <joseph@codesourcery.com>
4067
4068 * locale/hashval.h (compute_hashval): Interpret bytes of key as
4069 unsigned char.
4070
107375ac
MR
40712013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
4072
4073 * manual/threads.texi (POSIX Threads): Fix a typo.
4074
141f3a77
SP
40752013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4076
303e567a
SP
4077 [BZ #14547]
4078 * string/tst-strcoll-overflow.c: New test case.
4079 * string/Makefile (xtests): Add tst-strcoll-overflow.
4080 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
4081 cache if string sizes may cause integer overflow.
4082
141f3a77
SP
4083 [BZ #14547]
4084 * string/strcoll_l.c (coll_seq): New members rule, idx,
4085 save_idx and back_us.
4086 (get_next_seq_nocache): New function.
4087 (do_compare_nocache): New function.
4088 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
4089 when malloc fails.
4090
c61b4d41
CD
40912013-09-23 Carlos O'Donell <carlos@redhat.com>
4092
0b1f8e35
CD
4093 [BZ #15754]
4094 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
4095 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
4096 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
4097
c61b4d41
CD
4098 [BZ #15754]
4099 * elf/Makefile (tests): Add tst-ptrguard1.
4100 (tests-static): Add tst-ptrguard1-static.
4101 (tst-ptrguard1-ARGS): Define.
4102 (tst-ptrguard1-static-ARGS): Define.
4103 * elf/tst-ptrguard1.c: New file.
4104 * elf/tst-ptrguard1-static.c: New file.
4105 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
4106 * sysdeps/i386/stackguard-macros.h: Likewise.
4107 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4108 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4109 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4110 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4111 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4112 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4113
41142013-09-23 Hector Marco <hecmargi@upv.es>
4115 Ismael Ripoll <iripoll@disca.upv.es>
4116 Carlos O'Donell <carlos@redhat.com>
4117
4118 [BZ #15754]
4119 * sysdeps/generic/stackguard-macros.h: Define
4120 __pointer_chk_guard_local and POINTER_CHK_GUARD.
4121 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
4122 Define __pointer_chk_guard_local.
4123 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
4124 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
4125
f5f4e7b4
VV
41262013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
4127
4128 [BZ #15859]
4129 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
4130
5bb43a43
AS
41312013-09-20 Andreas Schwab <schwab@linux-m68k.org>
4132
4133 * include/string.h (__ffs): Declare as hidden.
4134 * string/ffs.c (__ffs): Define as hidden.
4135 * sysdeps/i386/ffs.c (__ffs): Likewise.
4136 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
4137 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
4138 * sysdeps/s390/ffs.c (__ffs): Likewise.
4139 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
4140
3ea5be54
AO
41412013-09-20 Alexandre Oliva <aoliva@redhat.com>
4142
ffb89e53
AO
4143 * NEWS: Mention malloc probes.
4144
322dea08
AO
4145 * malloc/arena.c (new_heap): New memory_heap_new probe.
4146 (grow_heap): New memory_heap_more probe.
4147 (shrink_heap): New memory_heap_less probe.
4148 (heap_trim): New memory_heap_free probe.
4149 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
4150 (systrim): New memory_sbrk_less probe.
4151 * manual/probes.texi: Document them.
4152
655673f3
AO
4153 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
4154 * manual/probes.texi: Document it.
4155
35fed6f1
AO
4156 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
4157 (__libc_realloc): Add memory_realloc_retry probe.
4158 (__libc_memalign): Add memory_memalign_retry probe.
4159 (__libc_valloc): Add memory_valloc_retry probe.
4160 (__libc_pvalloc): Add memory_pvalloc_retry probe.
4161 (__libc_calloc): Add memory_calloc_retry probe.
4162 * manual/probes.texi: Document them.
4163
6999d38c
AO
4164 * malloc/arena.c (get_free_list): Add probe
4165 memory_arena_reuse_free_list.
4166 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
4167 and memory_arena_reuse.
4168 (arena_get2) [!PER_THREAD]: Likewise.
4169 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
4170 memory_arena_reuse_realloc.
4171 * manual/probes.texi: Document them.
4172
0653427f
AO
4173 * malloc/malloc.c (__libc_free): Add
4174 memory_mallopt_free_dyn_thresholds probe.
4175 (__libc_mallopt): Add multiple memory_mallopt probes.
4176 * manual/probes.texi: Document them.
4177
3ea5be54
AO
4178 * malloc/malloc.c: Include stap-probe.h.
4179 (__libc_mallopt): Add memory_mallopt probe.
4180 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
4181 * manual/probes.texi: New.
4182 * manual/Makefile (chapters): Add probes.
4183 * manual/threads.texi: Set next node.
4184
e35696c3 41852013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 4186
e35696c3
CL
4187 [BZ #15963, #13985]
4188 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
4189 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
4190 Add `Chinese' to `nan' entry name.
4191
4aafb73c
SP
41922013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4193
4194 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
4195 (POLYNOMIAL): Likewise.
4196 (TAYLOR_SINCOS): Likewise.
4197 (TAYLOR_SLOW): Likewise.
4198 (__sin): Use TAYLOR_SINCOS.
4199 (__cos): Likewise.
4200 (slow): Use TAYLOR_SLOW.
4201 (sloww): Likewise.
4202 (bsloww): Likewise.
4203 (csloww): Likewise.
4204
d84f25c7
LD
42052013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4206
4207 * stdlib/strtod_l.c: Fix buffer overrun.
4208
5eea0404
SP
42092013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4210
7849ff93
SP
4211 * benchtests/Makefile (bench): Add sincos.
4212 * benchtests/bench-sincos.c: New file.
4213
cfa3c886
SP
4214 * math/libm-test.inc (cos_test_data): New test inputs.
4215 (sin_test_data): Likewise.
4216
b348e1e3
SP
4217 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
4218 macro.
4219 (__sin): Use it.
4220 (__cos): Likewise.
4221 (slow1): Likewise.
4222 (slow2): Likewise.
4223 (sloww1): Likewise.
4224 (sloww2): Likewise.
4225 (bsloww1): Likewise.
4226 (bsloww2): Likewise.
4227 (cslow2): Likewise.
4228 (csloww1): Likewise.
4229 (csloww2): Likewise.
4230
6cce25f8
SP
4231 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
4232 function.
4233 (__sin): Use it.
4234 (__cos): Likewise.
4235
5eea0404
SP
4236 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
4237 gotos.
4238 (__cos): Likewise.
4239
9c21573c
MR
42402013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
4241
4242 * config.h.in (HAVE_MIPS_NAN2008): New macro.
4243 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
4244 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
4245 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
4246 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
4247 * elf/cache.c (print_entry): Handle the new cache flags.
4248
24d22e65
JM
42492013-09-18 Joseph Myers <joseph@codesourcery.com>
4250 Aldy Hernandez <aldyh@redhat.com>
4251
4252 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
4253 Change condition to [_SOFT_FLOAT].
4254 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
4255 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
4256 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
4257 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
4258 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
4259 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
4260 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
4261 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
4262 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
4263 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
4264 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
4265 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
4266 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
4267 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
4268 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
4269 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
4270 declaration.
4271
d13ef066
JM
42722013-09-18 Joseph Myers <joseph@codesourcery.com>
4273
2e071de0
JM
4274 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
4275 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4276 (__longjmp): Use LOAD_GP to load saved GPRs.
4277 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
4278 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4279 (__sigsetjmp): Use SAVE_GP to save GPRs.
4280
d13ef066
JM
4281 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
4282 Do not append -msoft-float.
4283 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
4284
97a0650b
SP
42852013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4286
4287 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
4288
11ca09e9
JM
42892013-09-17 Joseph Myers <joseph@codesourcery.com>
4290
4291 [BZ #15966]
4292 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
4293 (_FPU_GETCW): Use initial "__" on variable and field names but not
4294 on macro parameter name.
4295 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
4296 parentheses around reference to macro parameter.
4297
08ffcf34
RS
42982013-09-13 Richard Sandiford <richard@codesourcery.com>
4299
4300 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
4301 prototype.
4302 (ctype_startup): Use uint32_t in cast and sizeof for
4303 ctype->charnames.
4304
ae7080d3
JL
43052013-09-11 Jia Liu <proljc@gmail.com>
4306
4307 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
4308 __daddr_t_defined.
4309 [__FreeBSD__]: Likewise.
4310
5905e7b3
OB
43112013-09-11 Ondřej Bílka <neleai@seznam.cz>
4312
4313 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4314 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
4315 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
4316 (strchr): Remove __strchr_sse42 ifunc selection.
4317 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
4318 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
4319
b987c776
WN
43202013-09-11 Will Newton <will.newton@linaro.org>
4321
4322 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
4323 parameter to RES. Remove hardcoded 1000 value.
4324 * benchtests/bench-skeleton.c (main): Pass RES parameter
4325 to TIMING_INIT and multiply result by 1000.
4326
ddf985af
AZ
43272013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4328
4329 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4330
ffdd3181
AS
43312013-09-11 Andreas Schwab <schwab@suse.de>
4332
4333 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
4334 if not defined.
4335 (O_TMPFILE) [__USE_GNU]: Define.
4336 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
4337 Define.
4338
b73ed247
WN
43392013-09-11 Will Newton <will.newton@linaro.org>
4340
4341 [BZ #15857]
4342 * malloc/malloc.c (__libc_memalign): Check the value of bytes
4343 does not overflow.
4344
55e17aad
WN
43452013-09-11 Will Newton <will.newton@linaro.org>
4346
4347 [BZ #15856]
4348 * malloc/malloc.c (__libc_valloc): Check the value of bytes
4349 does not overflow.
4350
1159a193
WN
43512013-09-11 Will Newton <will.newton@linaro.org>
4352
4353 [BZ #15855]
4354 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
4355 does not overflow.
4356
5905e7b3 43572013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
4358
4359 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
4360 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4361 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4362 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4363 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4364
cdfc721b
AM
43652013-09-10 Allan McRae <allan@archlinux.org>
4366
aa04af00
AM
4367 [BZ #15748]
4368 * manual/arith.texi (Parsing of Floats): Clarify
4369 cross-reference.
4370
cdfc721b
AM
4371 [BZ #15849]
4372 * manual/install.texi (Running make install): Mention
4373 --enable-pt-chown.
4374 * INSTALL: Regenerated.
4375
95e7cf29
MR
43762013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4377
4378 * csu/init-first.c (_init): Remove the !SHARED condition around
4379 FPU control word initialization.
4380 * elf/dl-support.c (_dl_fpu_control): New variable.
4381 (_dl_aux_init) <AT_FPUCW>: Initialize it.
4382 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
4383 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
4384 * math/test-fpucw-static.c: New file.
4385 * math/test-fpucw-ieee.c: New file.
4386 * math/test-fpucw-ieee-static.c: New file.
4387 * math/Makefile (tests): Add `test-fpucw-ieee' and
4388 `$(tests-static)'.
4389 (tests-static): New variable.
4390 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
4391 dependency to...
4392 [($(build-shared),yes)]
4393 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4394 ... this.
4395 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
4396 New dependency.
4397
83e43bf0
AM
43982013-09-09 Allan McRae <allan@archlinux.org>
4399
a9f5ce09
AM
4400 [BZ #15939]
4401 * manual/string.texi (Collation Functions): Fix typo in
4402 strcoll example.
4403 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
4404
34829bc2
AM
4405 [BZ #15893]
4406 * stdlib/isomac.c (get_null_defines): Fix memory leak.
4407
3932737d
AM
4408 [BZ #15892]
4409 * libio/memstream.c (open_memstream): Fix memory leak.
4410 * libio/wmemstream.c (open_wmemstream): Likewise.
4411
83e43bf0
AM
4412 [BZ #15895]
4413 * nscd/netgroupcache.c: Fix nesting of ifdefs.
4414
0c66b8e9
WN
44152013-09-09 Will Newton <will.newton@linaro.org>
4416
4417 * malloc/Makefile: Add tst-realloc to tests.
4418 * malloc/tst-realloc.c: New file.
4419
f6b00fd1
AM
44202013-09-09 Allan McRae <allan@archlinux.org>
4421
4422 [BZ #15844]
4423 * COPYING: Update from GNU website to fix FSF address.
4424 * COPYING.LIB: Likewise.
4425
eec55e16
DM
44262013-09-06 David S. Miller <davem@davemloft.net>
4427
4428 * po/zh_TW.po: Update Chinese (traditional) translation from
4429 translation project.
4430
1ecbb381
RS
44312013-09-06 Richard Sandiford <richard@codesourcery.com>
4432 Joseph Myers <joseph@codesourcery.com>
4433
4434 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
4435 "localeinfo.h".
4436 (obstack_chunk_alloc): New macro.
4437 (obstack_chunk_free): Likewise.
4438 (record_offset): New function.
4439 (init_locale_data): Likewise.
4440 (align_locale_data): Likewise.
4441 (add_locale_empty): Likewise.
4442 (add_locale_raw_data): Likewise.
4443 (add_locale_raw_obstack): Likewise.
4444 (add_locale_string): Likewise.
4445 (add_locale_wstring): Likewise.
4446 (add_locale_uint32): Likewise.
4447 (add_locale_uint32_array): Likewise.
4448 (add_locale_char): Likewise.
4449 (start_locale_structure): Likewise.
4450 (end_locale_structure): Likewise.
4451 (start_locale_prelude): Likewise.
4452 (end_locale_prelude): Likewise.
4453 (write_locale_data): Take locale_file structure rather than an
4454 iovec.
4455 * locale/programs/locfile.h: Include "obstack.h".
4456 (struct locale_file): Change to store locale file contents instead
4457 of header.
4458 (init_locale_data): New prototype.
4459 (align_locale_data): Likewise.
4460 (add_locale_empty): Likewise.
4461 (add_locale_raw_data): Likewise.
4462 (add_locale_raw_obstack): Likewise.
4463 (add_locale_string): Likewise.
4464 (add_locale_wstring): Likewise.
4465 (add_locale_uint32): Likewise.
4466 (add_locale_uint32_array): Likewise.
4467 (add_locale_char): Likewise.
4468 (start_locale_structure): Likewise.
4469 (end_locale_structure): Likewise.
4470 (start_locale_prelude): Likewise.
4471 (end_locale_prelude): Likewise.
4472 (write_locale_data): Update prototype.
4473 * locale/programs/3level.h (struct TABLE): Remove result field.
4474 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
4475 Use new locale_file interface.
4476 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
4477 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
4478 * locale/programs/ld-address.c (address_output): Use new
4479 locale_file interface.
4480 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
4481 NO_ADD_LOCALE.
4482 (collate_finish): Don't call collseq_table_finalize.
4483 (collate_output): Use new locale_file interface.
4484 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
4485 in file.
4486 (NO_FINALIZE): Change to NO_ADD_LOCALE.
4487 (TABLE): Move defines earlier in file.
4488 (ELEMENT): Likewise.
4489 (DEFAULT): Likewise.
4490 (wctrans_table_add): Move macro and inline function earlier in
4491 file.
4492 (struct wctype_table): Move type earlier in file.
4493 (add_locale_wctype_table): New static prototype.
4494 (struct locale_ctype_t): Use logical types instead of struct iovec
4495 pointers for members.
4496 (ctype_output): Use new locale_file interface.
4497 (wctype_table_finalize): Change to add_locale_wctype_table. Use
4498 new locale_file interface.
4499 (allocate_arrays): Update for use of new locale_file interface.
4500 * locale/programs/ld-identification.c (identification_output): Use
4501 new locale_file interface.
4502 * locale/programs/ld-measurement.c (measurement_output): Likewise.
4503 * locale/programs/ld-messages.c (messages_output): Likewise.
4504 * locale/programs/ld-monetary.c (monetary_output): Likewise.
4505 * locale/programs/ld-name.c (name_output): Likewise.
4506 * locale/programs/ld-numeric.c (numeric_output): Likewise.
4507 * locale/programs/ld-paper.c (paper_output): Likewise.
4508 * locale/programs/ld-telephone.c (telephone_output): Likewise.
4509 * locale/programs/ld-time.c (time_output): Likewise.
4510
e029e2e5
AZ
45112013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4512
4513 * benchtests/Makefile: Add memrchr benchmark.
4514 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
4515 benchmark as memrchr.
4516 * benchtests/bench-memrchr-ifunc.c: New file.
4517 * benchtests/bench-memrchr.c: New file.
4518
bbf6e8e4
WN
45192013-09-06 Will Newton <will.newton@linaro.org>
4520
4521 * benchtests/Makefile (string-bench): Add memcpy.
4522
6c82a2f8
CD
45232013-09-05 Carlos O'Donell <carlos@redhat.com>
4524 Cong Wang <amwang@redhat.com>
4525
4526 * sysdeps/unix/sysv/linux/bits/in.h
4527 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
4528 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
4529 before __USE_KERNEL_IPV6_DEFS uses.
4530 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
4531 IPPROTO_BEETPH.
4532 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
4533 sockaddr_in6, or ipv6_mreq.
4534
5430fc65
AZ
45352013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4536
4537 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
4538 memory access for final bytes in some large inputs.
4539 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
4540
4660856c
AZ
45412013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4542
4543 * string/test-memrchr.c: New file.
4544 * string/test-memrchr-ifunc.c: New file.
4545 * string/Makefile: Add new memrchr testcase.
4546
bb8ea713
MF
45472013-09-05 Mike Frysinger <vapier@gentoo.org>
4548
4549 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
4550 fanotify_init returns EPERM.
4551
b92a20b5
JM
45522013-09-04 Joseph Myers <joseph@codesourcery.com>
4553
4554 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
4555 errors.
4556 (top level): Treat second token from macro or constant entries for
4557 allowed headers as allowed.
4558 * include/complex.h: Condition internal declarations on
4559 [!_ISOMAC].
4560 * include/fenv.h: Condition include of <stdbool.h> and internal
4561 declarations on [!_ISOMAC].
7447ccd9
CL
4562
45632013-09-04 Chris Leonard <cjl@sugarlabs,.org>
4564
3e181dda 4565 [BZ #15923]
7447ccd9
CL
4566 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
4567
3f2e46a4
JM
45682013-09-04 Joseph Myers <joseph@codesourcery.com>
4569
4570 * configure.in (--enable-versioning): Remove configure option.
4571 (libc_cv_asm_symver_directive): Remove configure test.
4572 (libc_cv_ld_version_script_option): Likewise.
4573 (VERSIONING): Remove variable and AC_SUBST.
4574 (DO_VERSIONING): Remove AC_DEFINE.
4575 * configure: Regenerated.
4576 * config.h.in (DO_VERSIONING): Remove macro.
4577 * Makerules [$(versioning) = yes]: Change conditionals to
4578 [$(build-shared) = yes].
4579 * config.make.in (versioning): Remove variable.
4580 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
4581 [$(build-shared) = yes].
4582 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
4583 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
4584 * elf/Makefile [$(versioning) = yes]: Change conditionals to
4585 [$(build-shared) = yes].
4586 * extra-lib.mk [$(versioning) = yes]: Likewise.
4587 * hurd/Makefile [$(versioning) = yes]: Likewise.
4588 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
4589 [SHARED].
4590 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
4591 [SHARED].
4592 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4593 [SHARED && !NO_HIDDEN].
4594 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
4595 [SHARED].
4596 [SHARED && DO_VERSIONING]: Likewise..
4597 * libio/Makefile [$(versioning) = yes]: Change conditionals to
4598 [$(build-shared) = yes].
4599 * manual/install.texi (--disable-versioning): Remove
4600 documentation.
4601 * INSTALL: Regenerated.
4602 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
4603 to [SHARED].
4604 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
4605 [$(build-shared) = yes].
4606 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
4607 * sysdeps/i386/i686/multiarch/strstr-c.c
4608 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4609 [SHARED && !NO_HIDDEN].
4610 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
4611 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
4612 * sysdeps/powerpc/powerpc32/dl-machine.c
4613 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
4614 * sysdeps/powerpc/powerpc32/sysdep.h
4615 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
4616 to [SHARED && PIC && !NO_HIDDEN].
4617 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
4618 conditional to [SHARED].
4619
44558701
WN
46202013-09-04 Will Newton <will.newton@linaro.org>
4621
4622 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
4623 * benchtests/bench-string.h: Include bench-timing.h instead
4624 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
4625 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
4626 call to HP_TIMING_DIFF_INIT.
4627 * benchtests/bench-memccpy.c: Use bench-timing.h macros
4628 instead of hp-timing.h macros.
4629 * benchtests/bench-memchr.c: Likewise.
4630 * benchtests/bench-memcmp.c: Likewise.
4631 * benchtests/bench-memcpy.c: Likewise.
4632 * benchtests/bench-memmem.c: Likewise.
4633 * benchtests/bench-memmove.c: Likewise.
4634 * benchtests/bench-memset.c: Likewise.
4635 * benchtests/bench-rawmemchr.c: Likewise.
4636 * benchtests/bench-strcasecmp.c: Likewise.
4637 * benchtests/bench-strcasestr.c: Likewise.
4638 * benchtests/bench-strcat.c: Likewise.
4639 * benchtests/bench-strchr.c: Likewise.
4640 * benchtests/bench-strcmp.c: Likewise.
4641 * benchtests/bench-strcpy.c: Likewise.
4642 * benchtests/bench-strcpy_chk.c: Likewise.
4643 * benchtests/bench-strlen.c: Likewise.
4644 * benchtests/bench-strncasecmp.c: Likewise.
4645 * benchtests/bench-strncat.c: Likewise.
4646 * benchtests/bench-strncmp.c: Likewise.
4647 * benchtests/bench-strncpy.c: Likewise.
4648 * benchtests/bench-strnlen.c: Likewise.
4649 * benchtests/bench-strpbrk.c: Likewise.
4650 * benchtests/bench-strrchr.c: Likewise.
4651 * benchtests/bench-strspn.c: Likewise.
4652 * benchtests/bench-strstr.c: Likewise.
4653
cae16d66
WN
46542013-09-04 Will Newton <will.newton@linaro.org>
4655
4656 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
4657
ffa3cd7f
JM
46582013-09-03 Joseph Myers <joseph@codesourcery.com>
4659
4660 [BZ #15427]
4661 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
4662 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
4663 * math/libm-test.inc (lgamma_test_data): Add more tests.
4664 * sysdeps/i386/fpu/libm-test-ulps: Update.
4665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4666
8f02859f
OB
46672013-09-03 Ondřej Bílka <neleai@seznam.cz>
4668
4669 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
4670 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4671 Add ifunc.
4672 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4673 Add strcmp-sse2-unaligned
4674 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
4675
18d43716
MF
46762013-09-02 Mike Frysinger <vapier@gentoo.org>
4677
4678 * Versions.def (libc): Add GLIBC_2.19.
4679
ac444012
MF
46802013-09-02 Mike Frysinger <vapier@gentoo.org>
4681
4682 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
4683 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
4684
b7835e32
JM
46852013-09-02 Joseph Myers <joseph@codesourcery.com>
4686
4687 [BZ #14155]
4688 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
4689 intermediate calculations in recurrence.
4690 (__ieee754_ynf): Likewise.
4691 * math/libm-test.inc (jn_test_data): Do not allow spurious
4692 underflow exception. Add more tests.
4693 (yn_test_data): Add more tests.
4694 * sysdeps/i386/fpu/libm-test-ulps: Update.
4695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4696
8220f4f0
OB
46972013-09-02 Ondřej Bílka <neleai@seznam.cz>
4698
4699 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
4700
f24a6d08
OB
47012013-08-30 Ondřej Bílka <neleai@seznam.cz>
4702
4703 * csu/init-first.c: Fix then/than typos.
4704 * locale/programs/ld-collate.c: Likewise.
4705 * locale/programs/linereader.h: Likewise.
4706 * manual/charset.texi: Likewise.
4707 * manual/filesys.texi: Likewise.
4708 * manual/stdio.texi: Likewise.
4709 * manual/string.texi: Likewise.
4710 * stdlib/fmtmsg.c: Likewise.
4711 * sysdeps/i386/stpncpy.S: Likewise.
4712 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4713 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4714 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4715 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4716
382466e0
OB
47172013-08-30 Ondřej Bílka <neleai@seznam.cz>
4718
4719 * elf/dl-open.c: Fix typos.
4720 * iconvdata/gbbig5.c: Likewise.
4721 * iconvdata/iso-2022-jp.c: Likewise.
4722 * iconv/gconv_int.h: Likewise.
4723 * iconv/loop.c: Likewise.
4724 * nis/rpcsvc/nis.h: Likewise.
4725 * resolv/ns_name.c: Likewise.
4726 * stdio-common/vfscanf.c: Likewise.
4727 * streams/stropts.h: Likewise.
4728 * sunrpc/rpc_thread.c: Likewise.
4729 * sysdeps/i386/strpbrk.S: Likewise.
4730 * sysdeps/ieee754/k_standard.c: Likewise.
4731 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4732 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4733 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
4734 * sysdeps/mach/hurd/profil.c: Likewise.
4735 * sysdeps/s390/dl-procinfo.h: Likewise.
4736 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
4737 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4738 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
4739 * sysdeps/x86_64/dl-trampoline.S: Likewise.
4740 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4741
0186c6e9
OB
47422013-08-30 Ondřej Bílka <neleai@seznam.cz>
4743
4744 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
4745 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
4746
d4e16af1
OB
47472013-08-29 Ondřej Bílka <neleai@seznam.cz>
4748
4749 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
4750 aix specific files.
4751 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
4752 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
4753 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
4754 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
4755 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
4756 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
4757 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
4758 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
4759
88335980
TS
47602013-08-29 Thomas Schwinge <thomas@codesourcery.com>
4761 Roland McGrath <roland@hack.frob.com>
4762
4763 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
4764 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
4765
ed479b02
ST
47662013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
4767
4768 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
4769 __executable_start symbol instead of _start.
4770
f1cc4c86
TS
47712013-08-29 Thomas Schwinge <thomas@codesourcery.com>
4772
d821f07c
TS
4773 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
4774 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
4775 Move macros to...
4776 * sysdeps/gnu/ldsodefs.h: ... this new file.
4777
c54290cf
TS
4778 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
4779 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
4780 instead of ELFOSABI_LINUX.
4781
0007fc9b 4782 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
4783 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
4784 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
4785 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
4786 Likewise.
4787 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
4788 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
4789 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
4790 Likewise.
4791 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4792 (ibm_extended_long_double): Add ieee_nan member.
4793 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
4794 (do_test): New function.
4795
f1cc4c86
TS
4796 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
4797 TEST_TRUNC.
4798 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
4799 functions, renamed from truncdfsf_test, trunctfsf_test,
4800 trunctfdf_test.
4801 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
4802 functions.
4803 (do_test): Run all these.
4804
6f65e668
OB
48052013-08-29 Ondřej Bílka <neleai@seznam.cz>
4806
4807 * argp/argp-help.c: Fix typos.
4808 * argp/argp-parse.c: Likewise.
4809 * debug/backtracesyms.c: Likewise.
4810 * elf/elf.h: Likewise.
4811 * malloc/malloc.c: Likewise.
4812 * nis/nis_print.c: Likewise.
4813 * resolv/res_comp.c: Likewise.
4814 * stdlib/stdlib.h: Likewise.
4815 * sunrpc/clnt_tcp.c: Likewise.
4816 * sunrpc/clnt_udp.c: Likewise.
4817 * sunrpc/clnt_unix.c: Likewise.
4818 * sysdeps/unix/bsd/ptsname.c: Likewise.
4819 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4820 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
4821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
4822 Likewise.
4823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
4824 Likewise.
4825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4826 Likewise.
6f65e668
OB
4827 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4828
3a309239
SP
48292013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4830
4831 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
4832 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4833
3b813b29
MF
48342013-08-27 Mike Frysinger <vapier@gentoo.org>
4835
4836 [BZ #15897]
4837 * dlfcn/Makefile (tests): Add bug-dl-leaf.
4838 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
4839 ($(objpfx)bug-dl-leaf): New rule.
4840 ($(objpfx)bug-dl-leaf.so): Likewise.
4841 ($(objpfx)bug-dl-leaf.out): Likewise.
4842 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
4843 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
4844 * dlfcn/bug-dl-leaf.c: New test.
4845 * dlfcn/bug-dl-leaf-lib.c: Likewise.
4846 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
4847 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
4848 (dlclose): Likewise.
4849 (dlmopen): Likewise.
4850
8cc3269f
RM
48512013-08-27 Roland McGrath <roland@hack.frob.com>
4852
7f9d0034
RM
4853 * include/netdb.h [!_ISOMAC]:
4854 Don't include <tls.h>.
4855 (h_errno, __libc_h_errno): Move declaration and macros out of
4856 [_LIBC_REENTRANT].
4857
fb431262
RM
4858 * include/resolv.h [_RESOLV_H_]:
4859 Don't include <tls.h>.
4860 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
4861 * resolv/res_libc.c: Don't include <tls.h>.
4862 (_res): Use __attribute__ ((nocommon)) in place of
4863 __attribute__ ((section (".bss"))).
4864
bd81123a
RM
4865 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
4866 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
4867
c4e42566
RM
4868 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
4869
f890a59b
RM
4870 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
4871 only under [SIOCGIFCONF && SIOCGIFNETMASK].
4872
4873 * resolv/res_mkquery.c: Include <sys/time.h>.
4874
5d1f0a09
RM
4875 * inet/ifreq.c: Moved to ...
4876 * sysdeps/unix/ifreq.c: ... here.
4877 * inet/ifreq.c: New file, true stub version.
4878
6fcf28b3
RM
4879 * socket/sa_len.c: New file.
4880 * socket/Makefile (aux): Add it.
4881 * sysdeps/unix/sysv/linux/Makefile
4882 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
4883 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
4884 and #include <socket/sa_len.c>.
4885 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
4886 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
4887
e041fb8b
RM
4888 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
4889 * bits/socket.h: ... here.
4890
8cc3269f
RM
4891 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
4892 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
4893 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
4894
5d228a43
AS
48952013-08-27 Andreas Schwab <schwab@suse.de>
4896
45b8accc
AS
4897 [BZ #15736]
4898 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
4899 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
4900 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
4901 * string/test-strcasecmp.c (test_main): Run tests in several
4902 locales.
4903 * string/test-strncasecmp.c (test_main): Likewise.
4904
5d228a43
AS
4905 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
4906 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
4907 to __strcasecmp_nonascii and __strncasecmp_nonascii.
4908 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
4909 (__strncasecmp_ssse3) [PIC]: Likewise.
4910
59d112a4
RM
49112013-08-26 Roland McGrath <roland@hack.frob.com>
4912
53234cc3
RM
4913 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
4914
59d112a4
RM
4915 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
4916 instead of explicitly declaring xdecrypt.
4917 * nis/nss_nis/nis-publickey.c: Likewise.
4918
595aba70
SP
49192013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4920
4921 [BZ #15890]
4922 * nscd/aicache.c: Include res_hconf.h.
4923 (addhstaiX): Initialize res_hconf.
4924
ffabd393
AS
49252013-08-26 Andreas Schwab <schwab@suse.de>
4926
4927 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
4928 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
4929
e0a69f5c
SP
49302013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4931
4932 * nscd/aicache.c (addhstaiX): Fix indentation.
4933
8c12f01d
MF
49342013-08-25 Mike Frysinger <vapier@gentoo.org>
4935
4936 * configure.ac: Quote $build_pt_chown test.
4937 * configure: Regenerated.
4938
8fe89494
JM
49392013-08-23 Joseph Myers <joseph@codesourcery.com>
4940
4941 [BZ #15532]
4942 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
4943 * math/s_cexpf.c (__cexpf): Likewise.
4944 * math/s_cexpl.c (__cexpl): Likewise.
4945 * math/libm-test.inc (cexp_test_data): Correct expected return
4946 value for NaN + i0. Add another test.
4947
75b181d6
DM
49482013-08-22 David S. Miller <davem@davemloft.net>
4949
4950 * po/ca.po: Update Catalan translation from translation project.
936241e4 4951 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 4952
acd06bb1
JM
49532013-08-21 Joseph Myers <joseph@codesourcery.com>
4954
4955 [BZ #15797]
4956 * math/s_fdim.c (__fdim): Check for infinite arguments if result
4957 is infinite, not alongside NaN test.
4958 * math/s_fdimf.c (__fdimf): Likewise.
4959 * math/s_fdiml.c (__fdiml): Likewise.
4960 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
4961 errno is unchanged.
4962
c0c3f78a
OB
49632013-08-21 Ondřej Bílka <neleai@seznam.cz>
4964
4965 * argp/argp-help.c: Fix typos.
4966 * crypt/speeds.c: Likewise.
4967 * csu/check_fds.c: Likewise.
4968 * elf/dl-load.c: Likewise.
4969 * elf/dl-open.c: Likewise.
4970 * elf/reldep3.c: Likewise.
4971 * elf/reldep.c: Likewise.
4972 * elf/sprof.c: Likewise.
4973 * iconv/iconv_charmap.c: Likewise.
4974 * iconv/skeleton.c: Likewise.
4975 * iconv/strtab.c: Likewise.
4976 * io/lockf64.c: Likewise.
4977 * libio/libioP.h: Likewise.
4978 * resolv/gai_notify.c: Likewise.
4979 * resolv/ns_name.c: Likewise.
4980 * resolv/ns_samedomain.c: Likewise.
4981 * resolv/res_send.c: Likewise.
4982 * stdlib/random.c: Likewise.
4983 * sunrpc/rpc/xdr.h: Likewise.
4984 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
4985 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4986 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4987 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4988 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4989 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4990 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4991 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4992 * sysdeps/mach/hurd/check_fds.c: Likewise.
4993 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4994 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4995 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4996 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4997 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4998 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4999 * sysdeps/pthread/aio_notify.c: Likewise.
5000 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5001 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
5002 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
5003 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5004 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5005
46ed1038
LD
50062013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5007
5008 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
5009 version if bit_Slow_SSE4_2 is set.
5010 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5011 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5012
d400dcac
AZ
50132013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5014
5015 [BZ #15867]
5016 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
5017 trampoline stack frame information.
5018 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
5019 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
5020 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
5021 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
5022 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
5023 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5024 (_libc_vdso_platform_setup): Initialize the signal trampolines.
5025 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
5026 sa_flags value.
5027 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
5028 interrupting a syscall and set with option SA_SIGINFO.
5029
42c8fdd8
JM
50302013-08-20 Joseph Myers <joseph@codesourcery.com>
5031
c980f2f4
JM
5032 [BZ #15531]
5033 * math/s_cproj.c (__cproj): Only return an infinity if one part of
5034 argument is infinite.
5035 * math/s_cprojf.c (__cprojf): Likewise.
5036 * math/s_cprojl.c (__cprojl): Likewise.
5037 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
5038 * math/libm-test.inc (cproj_test_data): Add more tests.
5039
0716c4fc
JM
5040 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
5041
42c8fdd8
JM
5042 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
5043 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
5044 size. Use __ffs to determine corresponding shift.
5045
b31469d0
JM
50462013-08-20 Joseph Myers <joseph@codesourcery.com>
5047 Roland McGrath <roland@hack.frob.com>
5048
5049 * Makefile (INSTALL): Remove trailing blank lines from output of
5050 makeinfo.
5051
4e39af6e
AK
50522013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5053
5054 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
5055 Align 32 bit compat elf_greg to 8 bytes.
5056
f315524e
AA
50572013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
5058
5059 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
5060
1326ba1a
SP
50612013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5062
5063 * string/strcoll_l.c (coll_seq): New structure.
5064 (get_next_seq_cached): New function.
5065 (get_next_seq): New function.
5066 (do_compare): New function.
5067 (STRCOLL): Use GNU style definition. Simplify implementation
5068 by using get_next_seq, get_next_seq_cached and do_compare.
5069
91ce4085
FW
50702013-08-16 Florian Weimer <fweimer@redhat.com>
5071
5072 [BZ #14699]
5073 CVE-2013-4237
5074 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
5075 member.
5076 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
5077 member.
5078 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
5079 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
5080 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
5081 conditional.
5082 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
5083 GETDENTS_64BIT_ALIGNED.
5084 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5085 * manual/filesys.texi (Reading/Closing Directory): Document
5086 ENAMETOOLONG return value of readdir_r. Recommend readdir more
5087 strongly.
5088 * manual/conf.texi (Limits for Files): Add portability note to
5089 NAME_MAX, PATH_MAX.
5090 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
5091
ca0a6bc4
AS
50922013-08-13 Andreas Schwab <schwab@suse.de>
5093
5094 [BZ #15749]
5095 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
5096 of fabs.
5097 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
5098 LDBL_MAX_EXP >= 16384]: Add tests for it.
5099
6c1fd795
DM
51002013-08-12 David S. Miller <davem@davemloft.net>
5101
5102 * version.h (RELEASE): Set to "development".
5103 (VERSION): Set to "2.18.90".
5104 * NEWS: Add 2.19 section.
5105
31ad488d
DM
51062013-08-03 David S. Miller <davem@davemloft.net>
5107
5108 * po/ko.po: Update Korean translation from translation project.
5109
db24e684
DM
51102013-08-01 David S. Miller <davem@davemloft.net>
5111
5112 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
5113 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
5114 Bilka.
5115
f723285b
DM
51162013-07-30 David S. Miller <davem@davemloft.net>
5117
5118 * po/fr.po: Update French translation from translation project.
5119
3cbc52db
DM
51202013-07-28 David S. Miller <davem@davemloft.net>
5121
30bbc0cc
DM
5122 * po/cs.po: Update Czech translation from translation project.
5123
3cbc52db
DM
5124 * po/sv.po: Update Swedish translation from translation project.
5125
d492e6d0
DM
51262013-07-27 David S. Miller <davem@davemloft.net>
5127
f1a7f492
DM
5128 * po/eo.po: Update Esperanto translation from translation project.
5129
90e62a4a
DM
5130 * po/vi.po: Update Vietnamese translation from translation project.
5131
d492e6d0
DM
5132 * po/de.po: Update German translation from translation project.
5133
d4baa62d
DM
51342013-07-26 David S. Miller <davem@davemloft.net>
5135
641aa7b4
DM
5136 * po/bg.po: Update Bulgarian translation from translation project.
5137
d4baa62d
DM
5138 * po/nl.po: Update Dutch translation from translation project.
5139 * po/pl.po: Update Polish translation from translation project.
5140 * po/ru.po: Update Russian translation from translation project.
5141
61a9dcb9
DM
51422013-07-24 David S. Miller <davem@davemloft.net>
5143
5144 * po/libc.pot: Update.
5145
7b1f8b58
AZ
51462013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5147
5148 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
5149 variable page size.
5150 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
5151 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
5152 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
5153
a8fc7a03
AK
51542013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5155
5156 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
5157
e4608715
CD
51582013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5159 Andreas Schwab <schwab@suse.de>
5160 Roland McGrath <roland@hack.frob.com>
5161 Joseph Myers <joseph@codesourcery.com>
5162 Carlos O'Donell <carlos@redhat.com>
5163
5164 [BZ #15755]
5165 * config.h.in: Define HAVE_PT_CHOWN.
5166 * config.make.in (build-pt-chown): New variable.
5167 * configure.in (--enable-pt_chown): New configure option.
5168 * configure: Regenerate.
5169 * login/Makefile: Include Makeconfig. Build pt_chown only if
5170 build-pt-chown is enabled.
5171 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
5172 pt_chown to fix pty ownership.
5173 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
5174 CLOSE_ALL_FDS.
5175 * manual/install.texi (Configuring and compiling): Mention
5176 --enable-pt_chown. Add @findex for grantpt.
5177 * INSTALL: Regenerate.
5178
da2d62df
DM
51792013-07-20 David S. Miller <davem@davemloft.net>
5180
5181 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
5182 difference between 32-bit and 64-bit.
5183
d7e06450
CD
51842013-07-15 Carlos O'Donell <carlos@redhat.com>
5185
5186 [BZ #15711]
5187 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
5188 Avoid system header dependency with -ffreestanding.
5189 ($(objpfx)bits/syscall%d): Likewise.
5190
f959cfd7
DM
51912013-07-13 David S. Miller <davem@davemloft.net>
5192
5193 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
5194 underflows from atanl/atan2l due to bug 15319.
5195 (casinh_test_data): Likewise.
5196
c61f8513
DM
51972013-07-07 David S. Miller <davem@davemloft.net>
5198
5199 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
5200
72c90ed0
JA
52012013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
5202
5203 * sysdeps/i386/fpu/libm-test-ulps: Update.
5204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5205
52dfbe13
SP
52062013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5207
5208 * configure.in (--enable-lock-elision): Fix message text.
5209 * INSTALL: Regenerate.
5210 * configure: Regenerate.
5211
3f169543
AZ
52122013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5213
5214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5215
521c6785
AJ
52162013-07-03 Andreas Jaeger <aj@suse.de>
5217
5218 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
5219 define.
5220 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
5221 (ptrace_peeksiginfo_args): Add.
5222 (__ptrace_peeksiginfo_flags): Add.
5223 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5224 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5225 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5226
d2cc15cb
AM
52272013-07-03 Allan McRae <allan@archlinux.org>
5228
5229 * sysdeps/i386/fpu/libm-test-ulps: Update.
5230
3aaeeca7
DM
52312013-07-02 David S. Miller <davem@davemloft.net>
5232
5233 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5234
5314ed1a
MT
52352013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
5236
5237 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5238
67338156
JM
52392013-07-02 Joseph Myers <joseph@codesourcery.com>
5240
5241 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5243
1717da59
AK
52442013-07-02 Andi Kleen <ak@linux.intel.com>
5245
5246 * config.h.in (ENABLE_LOCK_ELISION): Add.
5247 * configure.in (--enable-lock-elision): Add option.
5248 * manual/install.texi: Document --enable lock elision.
5249 * configure: Regenerate
5250 * INSTALL: Regenerate.
5251
1c81621c
L
52522013-07-02 H.J. Lu <hongjiu.lu@intel.com>
5253
5254 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
5255 SSE4.2 strcasecmp for libc.a.
5256 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5257
77f01ab5
JM
52582013-07-02 Joseph Myers <joseph@codesourcery.com>
5259
5260 [BZ #13304]
5261 * soft-fp/op-common.h (_FP_FMA): New macro.
5262 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
5263 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
5264 (_FP_MUL_MEAT_1_imm): ... here.
5265 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
5266 (_FP_MUL_MEAT_1_wide): ... here.
5267 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
5268 (_FP_MUL_MEAT_1_hard): ... here.
5269 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
5270 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
5271 (_FP_MUL_MEAT_2_wide): ... here.
5272 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
5273 (_FP_MUL_MEAT_2_wide_3mul): ... here.
5274 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
5275 (_FP_MUL_MEAT_2_gmp): ... here.
5276 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
5277 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
5278 (_FP_MUL_MEAT_4_wide): ... here.
5279 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
5280 (_FP_MUL_MEAT_4_gmp): ... here.
5281 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
5282 (_FP_WFRACBITS_DW_S): Likewise.
5283 (_FP_WFRACXBITS_DW_S): Likewise.
5284 (_FP_HIGHBIT_DW_S): Likewise.
5285 (FP_FMA_S): Likewise.
5286 (_FP_FRAC_HIGH_DW_S): Likewise.
5287 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
5288 (_FP_WFRACBITS_DW_D): Likewise.
5289 (_FP_WFRACXBITS_DW_D): Likewise.
5290 (_FP_HIGHBIT_DW_D): Likewise.
5291 (FP_FMA_D): Likewise.
5292 (_FP_FRAC_HIGH_DW_D): Likewise.
5293 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
5294 (_FP_WFRACBITS_DW_E): Likewise.
5295 (_FP_WFRACXBITS_DW_E): Likewise.
5296 (_FP_HIGHBIT_DW_E): Likewise.
5297 (FP_FMA_E): Likewise.
5298 (_FP_FRAC_HIGH_DW_E): Likewise.
5299 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
5300 (_FP_WFRACBITS_DW_Q): Likewise.
5301 (_FP_WFRACXBITS_DW_Q): Likewise.
5302 (_FP_HIGHBIT_DW_Q): Likewise.
5303 (FP_FMA_Q): Likewise.
5304 (_FP_FRAC_HIGH_DW_Q): Likewise.
5305 * soft-fp/fmasf4.c: New file.
5306 * soft-fp/fmadf4.c: Likewise.
5307 * soft-fp/fmatf4.c: Likewise.
5308
6308fd9a
LD
53092013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5310
5311 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
5312 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
5313 Silvermont.
5314 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
5315 macro.
5316 (index_Slow_SSE4_2): Likewise.
5317 (index_Prefer_PMINUB_for_stringop): Likewise.
5318 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
5319 bit_Slow_SSE4_2 is set.
5320 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5321 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5322
89cd9569
RA
53232013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5324
5325 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
5326 rtld_global._dl_hwcap2.
5327 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
5328 POWER8.
5329 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
5330 POWER8 feature descriptions defined in _dl_hwcap2.
5331 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
5332 string handling for POWER8 feature bits.
5333 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
5334 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
5335 _dl_powerpc_cap_flags.
5336 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
5337 * sysdeps/powerpc/rtld-global-offsets.sym
5338 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
5339 _dl_hwcap2 in the rtld_global_ro structure.
5340
1ae8bfe0
RA
53412013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5342
5343 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
5344 hardware capabilities in support of AT_HWCAP2.
5345 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
5346 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
5347 GLRO(dl_hwcap2).
5348 (_dl_show_auxv): Add support for calling _dl_procinfo to display
5349 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
5350 explicitly the unknown a_type display mechanism is used.
5351 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
5352 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
5353 struct member.
5354 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
5355 to macro prototype for AT_HWCAP2 support.
5356 * sysdeps/i386/dl-procinfo.h: Likewise.
5357 * sysdeps/s390/dl-procinfo.h: Likewise.
5358 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
5359 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
5360 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
5361 return -1 for unknown a_type display fallback.
5362 * sysdeps/sparc/dl-procinfo.h: Likewise.
5363 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
5364 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
5365
8fbec010
JM
53662013-06-28 Joseph Myers <joseph@codesourcery.com>
5367
5368 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
5369 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
5370
0432680e
PY
53712013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
5372
5373 [BZ #12492]
5374 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
5375 mprotect making __stack_prot writable.
5376
ce61a2ad
NF
53772013-06-28 Nathan Froyd <froydnj@codesourcery.com>
5378 Joseph Myers <joseph@codesourcery.com>
5379
5380 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
5381 as being properly aligned.
5382
f91f1c0f
MR
53832013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
5384
3d0f5d0c
MR
5385 * dlfcn/modstatic5.c: New file.
5386 * dlfcn/tststatic5.c: New file.
5387 * dlfcn/Makefile (tests): Add tststatic5.
5388 (tests-static): Likewise.
5389 (modules-names): Add modstatic5.
5390 (tststatic5-ENV): New variable.
5391 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
5392
f91f1c0f
MR
5393 [BZ #15022]
5394 * elf/dl-support.c (_dl_main_map): New variable.
5395 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
5396 (_dl_nns, _dl_load_adds): Set to 1.
5397 (_dl_initial_searchlist): Refer to _dl_main_map.
5398 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
5399 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
5400 call to _dl_get_origin.
5401 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
5402 around call_map.
5403 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
5404 * dlfcn/modstatic3.c: New file.
5405 * dlfcn/tststatic3.c: New file.
5406 * dlfcn/tststatic4.c: New file.
5407 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
5408 (tests-static): Likewise.
5409 (modules-names): Add modstatic3.
5410 (tststatic3-ENV, tststatic4-ENV): New variables.
5411 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
5412 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
5413
cbe7d24b
JM
54142013-06-26 Joseph Myers <joseph@codesourcery.com>
5415
5416 * configure.in (CC): Require GCC version 4.4 or later.
5417 * configure: Regenerated.
5418 * manual/install.texi (Tools for Compilation): Update GCC version
5419 requirement.
5420 * INSTALL: Regenerated.
5421
11b8a0e1
LD
54222013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5423
5424 [BZ #15674]
bb5bb87c
L
5425 * string/test-memcmp.c (check2): New.
5426 (main): Call check2.
5427
11b8a0e1
LD
5428 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
5429
b0037103
MR
54302013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
5431
5432 [BZ #15022]
5433 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
5434 over to...
5435 (dl_open_worker) [!SHARED]: ... here.
5436
c18c701d
RA
54372013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5438
5439 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
5440
1d17fa5f
RH
54412013-06-25 Richard Henderson <rth@redhat.com>
5442
5443 * locale/programs/locarchive.c: Include <libc-internal.h>
5444
8fcb833a
JM
54452013-06-25 Joseph Myers <joseph@codesourcery.com>
5446
5447 * manual/texinfo.tex: Update to version 2013-06-21.17, with
5448 trailing whitespace removed.
5449
17db6e8d
MF
54502013-06-24 Mike Frysinger <vapier@gentoo.org>
5451
5452 [BZ #10283]
17db6e8d
MF
5453 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
5454 * locale/programs/locarchive.c: Include libc-mmap.h.
5455 (prepare_address_space): Take two new outputs (the mmap base and len).
5456 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
5457 values.
5458 (create_archive): Declare new mmap base and len values for
5459 prepare_address_space, and store the result in ah.
5460 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
5461 (enlarge_archive): If ah->mmap_base is not NULL, use that and
5462 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5463 Declare new mmap base and len values for
5464 prepare_address_space, and store the result in new_ah.
5465 (open_archive): Declare new mmap base and len values for
5466 prepare_address_space, and store the result in ah.
5467 (close_archive): If ah->mmap_base is not NULL, use that and
5468 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5469 * sysdeps/generic/libc-mmap.h: New file.
5470
d605071e
MF
54712013-06-24 Mike Frysinger <vapier@gentoo.org>
5472
5473 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
5474 (ALIGN_UP): Likewise.
5475 (PTR_ALIGN_DOWN): Likewise.
5476 (PTR_ALIGN_UP): Likewise.
5477
2f063a6e
RA
54782013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5479
5480 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
5481 entry mapped to PPC_PLATFORM_POWER8.
5482 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
5483 POWER8.
5484 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
5485 (_dl_string_platform): Add case for exporting platform position for
5486 POWER8.
5487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
5488 search path to sysdeps/powerpc/powerpc32/power8 directory.
5489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
5490 search path to sysdeps/powerpc/powerpc64/power8 directory.
5491 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
5492 power7 directories.
5493 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
5494 power7 directories.
5495
a31ee4b3
SP
54962013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5497
a74ca98f
SP
5498 * INSTALL: Regenerate.
5499
a31ee4b3
SP
5500 * nscd/connections.c (nscd_init): Fix comment.
5501
695c378f
JM
55022013-06-22 Joseph Myers <joseph@codesourcery.com>
5503
d8412221
JM
5504 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
5505
695c378f
JM
5506 [BZ #15667]
5507 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
5508 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
5509
d1d54715
MR
55102013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
5511
5512 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
5513 DL_DST_REQ_STATIC.
5514 (DL_DST_REQ_STATIC): Remove macro.
5515
8fdda7af
JM
55162013-06-21 Joseph Myers <joseph@codesourcery.com>
5517
5518 [BZ #7006]
5519 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
5520 with a shift of 0 bits.
5521
f3bc5e5a
MR
55222013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
5523
5524 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
5525 $(tststatic-ENV).
5526
be09e8c9
KK
55272013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5528
5529 [BZ #15655]
5530 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
5531
85c2e611
AZ
55322013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5533
5534 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
5535 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
5536 accepts -fno-tree-loop-distribute-patterns.
5537 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
5538 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
5539 recursive call.
5540 * string/memset.c (memset): Likewise.
5541 * string/test-memmove.c (simple_memmove): Disable loop transformation
5542 to library calls.
5543 * string/test-memset.c (simple_memset): Likewise.
5544 * benchtests/bench-memmove.c (simple_memmove): Likewise.
5545 * benchtests/bench-memset.c (simple_memset): Likewise.
5546 * configure: Regenerated.
5547
c91e0825
JM
55482013-06-20 Joseph Myers <joseph@codesourcery.com>
5549
b8c792af
JM
5550 * math/test-misc.c (main): Ignore fesetround failure when failures
5551 of subsequent rounding tests would be ignored.
5552
c91e0825
JM
5553 [BZ #15654]
5554 * math/fedisblxcpt.c (fedisableexcept): Return 0.
5555 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
5556 * math/fegetenv.c (__fegetenv): Return 0.
5557 * math/fegetexcept.c (fegetexcept): Return 0.
5558 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
5559 FE_TONEAREST.
5560 * math/feholdexcpt.c (feholdexcept): Return 0.
5561 * math/fesetenv.c (__fesetenv): Return 0.
5562 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
5563 argument FE_TONEAREST.
5564 * math/feupdateenv.c (__feupdateenv): Return 0.
5565 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
5566
bfcacbde
RM
55672013-06-18 Roland McGrath <roland@hack.frob.com>
5568
5569 * elf/rtld-Rules (rtld-compile-command.S): New variable.
5570 (rtld-compile-command.s, rtld-compile-command.c): New variables.
5571 ($(objpfx)rtld-%.os rules): Use them.
5572
e55a9b25
AZ
55732013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5574
5575 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
5576 fields.
5577
346d65b3
RM
55782013-06-17 Roland McGrath <roland@hack.frob.com>
5579
12086fb4
RM
5580 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
5581 length of target pattern, then descending length of dependency pattern.
5582 * configure.in (AWK): Require gawk 3.1.2 or newer.
5583 * manual/install.texi (Tools for Compilation): Say that we do.
5584 * configure: Regenerated.
5585
346d65b3
RM
5586 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
5587 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
5588 * scripts/sysd-rules.awk: ... this new script.
5589 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
5590 than a glob-style pattern.
5591
1a846317
JM
55922013-06-17 Joseph Myers <joseph@codesourcery.com>
5593
5594 * math/test-misc.c (main): Do not treat incorrectly rounded
5595 conversions as failure unless ROUNDING_TESTS passes.
5596
8fc75e6f
JM
55972013-06-15 Joseph Myers <joseph@codesourcery.com>
5598
3711a167
JM
5599 [BZ #15631]
5600 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
5601 restore exception state around main square root computation, then
5602 check for inexactness explicitly.
5603
8fc75e6f
JM
5604 * math/libm-test.inc (fma_test_data): Add another test.
5605
61dd6208
SP
56062013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5607
adf23d2c
SP
5608 * manual/threads.texi (Non-POSIX Extensions): New document
5609 node. Document pthread_getattr_default_np and
5610 pthread_setattr_default_np.
5611
61dd6208
SP
5612 * Versions.def (libpthread): Add GLIBC_2.18.
5613 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
5614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5615 Likewise.
5616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5617 Likewise.
5618 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5619 Likewise.
5620 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5621 Likewise.
5622 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
5623 Likewise.
5624 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5625 Likewise.
5626 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5627 Likewise.
5628 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5629 Likewise.
5630 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5631 Likewise.
5632
d086fc7b
LD
56332013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5634
5635 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5636 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
5637
747ef469
SP
56382013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5639 H.J. Lu <hjl.tools@gmail.com>
5640
5641 [BZ #15627]
5642 * sysdeps/x86_64/rtld-memset.c: Remove file.
5643 * sysdeps/x86_64/rtld-memset.S: New file.
5644
1b2feed2
JM
56452013-06-14 Joseph Myers <joseph@codesourcery.com>
5646
5647 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
5648 (test_in_one_mode): Take arguments for whether the rounding mode
5649 is supported for each floating-point type.
5650 (do_test): Pass new arguments to test_in_one_mode using
5651 ROUNDING_TESTS.
5652
a58ad3f8
RM
56532013-06-13 Roland McGrath <roland@hack.frob.com>
5654
5655 * posix/tst-waitid.c (do_test): Distinguish different instances of
5656 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
5657 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
5658 before entering the kernel for waitpid.
5659
c204ab28
SP
56602013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5661
5662 * NEWS: Fix note on clock function precision. Text by Roland
5663 McGrath.
5664
f4a29fba
RM
56652013-06-13 Roland McGrath <roland@hack.frob.com>
5666
5667 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
5668 it into place only when and if the sanity check passes.
5669
1f24b9ad
JM
56702013-06-13 Joseph Myers <joseph@codesourcery.com>
5671
5672 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
5673 output for whether conversion result is exact. Take argument
5674 indicating whether type is IBM long double.
5675 (round_for_all): Change need_exact field to ibm_ld.
5676 * stdlib/tst-strtod-round.c (struct exactness): New type.
5677 (struct test): Change bool ld_ok field to struct exactness exact.
5678 (TEST): Update all definitions for change to field.
5679 (tests): Regenerate array contents.
5680 (test_in_one_mode): Take pointer to new field instead of old ld_ok
5681 field value. Check for IBM long double here.
5682 (do_test): Update calls to test_in_one_mode.
5683
58206c68
SP
56842013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5685
5686 [BZ #12515]
5687 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
5688 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
5689
2d6f4c5b 56902013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
5691
5692 [BZ #15605]
5693 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
5694 generated by the compiler on loop optimizations.
5695 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
5696 general definitions.
5697
94f2c076
JM
56982013-06-12 Joseph Myers <joseph@codesourcery.com>
5699
5700 * math/bug-nextafter.c: Include <math-tests.h>.
5701 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5702 the relevant type.
5703 * math/bug-nexttoward.c: Include <math-tests.h>.
5704 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5705 the relevant type.
5706 * math/test-misc.c: Include <math-tests.h>.
5707 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5708 the relevant type.
5709
e0e50a0a
AJ
57102013-06-12 Andreas Jaeger <aj@suse.de>
5711
5712 * po/ia.po: Update Interlingua translation from translation
5713 project.
5714
25061094
SP
57152013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5716
5717 * include/fenv.h: Include stdbool.h.
5718 (struct rm_ctx): New structure.
5719 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
5720 Define macro.
5721 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
5722 (SET_RESTORE_ROUNDF): Likewise.
5723 (SET_RESTORE_ROUNDL): Likewise.
5724 (SET_RESTORE_ROUND_NOEX): Likewise.
5725 (SET_RESTORE_ROUND_NOEXF): Likewise.
5726 (SET_RESTORE_ROUND_NOEXL): Likewise.
5727 (SET_RESTORE_ROUND_53BIT): Likewise.
5728 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
5729 (libc_feresetround_noexf_ctx): Likewise.
5730 (libc_feresetround_noexl_ctx): Likewise.
5731 (libc_feholdsetround_53bit_ctx): Likewise.
5732 (libc_feresetround_53bit_ctx): Likewise.
5733 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
5734 (libc_feholdexcept_setround_sse_ctx): New function.
5735 (libc_fesetenv_sse_ctx): Likewise.
5736 (libc_feupdateenv_sse_ctx): Likewise.
5737 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
5738 (libc_feholdexcept_setround_387_ctx): Likewise.
5739 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
5740 (libc_feholdsetround_387_prec_ctx): Likewise.
5741 (libc_feholdsetround_387_ctx): Likewise.
5742 (libc_feholdsetround_387_53bit_ctx): Likewise.
5743 (libc_feholdsetround_sse_ctx): Likewise.
5744 (libc_feresetround_sse_ctx): Likewise.
5745 (libc_feresetround_387_ctx): Likewise.
5746 (libc_feupdateenv_387_ctx): Likewise.
5747 (libc_feholdexcept_setroundf_ctx): Define macro.
5748 (libc_fesetenvf_ctx): Likewise.
5749 (libc_feupdateenvf_ctx): Likewise.
5750 (libc_feholdsetroundf_ctx): Likewise.
5751 (libc_feresetroundf_ctx): Likewise.
5752 (libc_feholdexcept_setround_ctx): Likewise.
5753 (libc_fesetenv_ctx): Likewise.
5754 (libc_feupdateenv_ctx): Likewise.
5755 (libc_feholdsetround_ctx): Likewise.
5756 (libc_feresetround_ctx): Likewise.
5757 (libc_feholdexcept_setroundl_ctx): Likewise.
5758 (libc_feupdateenvl_ctx): Likewise.
5759 (libc_feholdsetroundl_ctx): Likewise.
5760 (libc_feresetroundl_ctx): Likewise.
5761 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
5762 (libc_feresetround_53bit_ctx): Likewise.
5763
59b30555
SP
57642013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5765
5766 * locale/iso-639.def: Convert to UTF-8.
5767
f1d73d30
JM
57682013-06-11 Joseph Myers <joseph@codesourcery.com>
5769
5770 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
5771 (EXCEPTION_TESTS_double): Likewise.
5772 (EXCEPTION_TESTS_long_double): Likewise.
5773 (EXCEPTION_TESTS): Likewise.
5774 * math/libm-test.inc (test_exceptions): Only test exceptions if
5775 EXCEPTION_TESTS (FLOAT).
5776
94aca5e7
SP
57772013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5778
5779 * benchtests/Makefile (string-bench): Add strcpy_chk and
5780 stpcpy_chk.
5781 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
5782 * benchtests/bench-stpcpy_chk.c: New file.
5783 * benchtests/bench-strcpy_chk-ifunc.c: New file.
5784 * benchtests/bench-strcpy_chk.c: New file.
5785 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
5786 code.
5787 (do_test): Likewise.
5788
fac0c5f2
RA
57892013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5790
5791 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
5792 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
5793 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
5794 with tabs where appropriate.
5795 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
5796 dl-procinfo.h.
5797 [PPC_PLATFORM_PPC440]: Likewise.
5798 [PPC_PLATFORM_PPC464]: Likewise.
5799 [PPC_PLATFORM_PPC476]: Likewise.
5800 (_dl_string_platform): Add support for detecting ppc405, ppc440,
5801 ppc464, and ppc476 platform strings merging from ports/
5802 dl-procinfo.h.
5803
f22bc486
AS
58042013-06-11 Andreas Schwab <schwab@suse.de>
5805
5806 [BZ #14991]
5807 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
5808 (from_ucs4_idx): Regenerate.
5809 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
5810 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
5811 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
5812 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
5813 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
5814 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
5815 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
5816 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
5817 from FROM_LOOP and TO_LOOP specific macros.
5818 (BODY): Handle combining characters.
5819 * iconvdata/BIG5HKSCS.irreversible: Update.
5820 * iconvdata/BIG5HKSCS.precomposed: New file.
5821 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
5822 characters.
5823 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
5824
c1f75dc3
SP
58252013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5826
4eacded2
SP
5827 * include/sys/time.h: Fix indentation and add copyright header.
5828
fec799f8
SP
5829 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
5830 (do_test): Likewise.
5831 * string/test-memchr.c (do_one_test): Likewise.
5832 (do_test): Likewise.
5833 * string/test-memcmp.c (do_one_test): Likewise.
5834 (do_test): Likewise.
5835 * string/test-memcpy.c (do_one_test): Likewise.
5836 (do_test): Likewise.
5837 * string/test-memmem.c (do_one_test): Likewise.
5838 (do_test): Likewise.
5839 (do_random_tests): Likewise.
5840 * string/test-memmove.c (do_one_test): Likewise.
5841 (do_test): Likewise.
5842 * string/test-memset.c (do_one_test): Likewise.
5843 (do_test): Likewise.
5844 * string/test-rawmemchr.c (do_one_test): Likewise.
5845 (do_test): Likewise.
5846 * string/test-strcasecmp.c (do_one_test): Likewise.
5847 (do_test): Likewise.
5848 * string/test-strcasestr.c (do_one_test): Likewise.
5849 (do_test): Likewise.
5850 * string/test-strcat.c (do_one_test): Likewise.
5851 (do_test): Likewise.
5852 * string/test-strchr.c (do_one_test): Likewise.
5853 (do_test): Likewise.
5854 * string/test-strcmp.c (do_one_test): Likewise.
5855 (do_test): Likewise.
5856 * string/test-strcpy.c (do_one_test): Likewise.
5857 (do_test): Likewise.
5858 * string/test-string.h: Likewise.
5859 (test_init): Likewise.
5860 * string/test-strlen.c (do_one_test): Likewise.
5861 (do_test): Likewise.
5862 * string/test-strncasecmp.c (do_one_test): Likewise.
5863 (do_test): Likewise.
5864 * string/test-strncat.c (do_one_test): Likewise.
5865 (do_test): Likewise.
5866 * string/test-strncmp.c (do_one_test): Likewise.
5867 (do_test_limit): Likewise.
5868 (do_test): Likewise.
5869 * string/test-strncpy.c (do_one_test): Likewise.
5870 (do_test): Likewise.
5871 * string/test-strnlen.c (do_one_test): Likewise.
5872 (do_test): Likewise.
5873 * string/test-strpbrk.c (do_one_test): Likewise.
5874 (do_test): Likewise.
5875 * string/test-strrchr.c (do_one_test): Likewise.
5876 (do_test): Likewise.
5877 * string/test-strspn.c (do_one_test): Likewise.
5878 (do_test): Likewise.
5879 * string/test-strstr.c (do_one_test): Likewise.
5880 (do_test): Likewise.
5881
97020474
SP
5882 * benchtests/Makefile (string-bench): Add string benchmarks.
5883 * benchtests/bench-bcopy-ifunc.c: New file.
5884 * benchtests/bench-bcopy.c: New file.
5885 * benchtests/bench-bzero-ifunc.c: New file.
5886 * benchtests/bench-bzero.c: New file.
5887 * benchtests/bench-memccpy-ifunc.c: New file.
5888 * benchtests/bench-memccpy.c: New file.
5889 * benchtests/bench-memchr-ifunc.c: New file.
5890 * benchtests/bench-memchr.c: New file.
5891 * benchtests/bench-memcmp-ifunc.c: New file.
5892 * benchtests/bench-memcmp.c: New file.
5893 * benchtests/bench-memmem-ifunc.c: New file.
5894 * benchtests/bench-memmem.c: New file.
5895 * benchtests/bench-memmove-ifunc.c: New file.
5896 * benchtests/bench-memmove.c: New file.
5897 * benchtests/bench-mempcpy-ifunc.c: New file.
5898 * benchtests/bench-mempcpy.c: New file.
5899 * benchtests/bench-memset-ifunc.c: New file.
5900 * benchtests/bench-memset.c: New file.
5901 * benchtests/bench-rawmemchr-ifunc.c: New file.
5902 * benchtests/bench-rawmemchr.c: New file.
5903 * benchtests/bench-stpcpy-ifunc.c: New file.
5904 * benchtests/bench-stpcpy.c: New file.
5905 * benchtests/bench-stpncpy-ifunc.c: New file.
5906 * benchtests/bench-stpncpy.c: New file.
5907 * benchtests/bench-strcasecmp-ifunc.c: New file.
5908 * benchtests/bench-strcasecmp.c: New file.
5909 * benchtests/bench-strcasestr-ifunc.c: New file.
5910 * benchtests/bench-strcasestr.c: New file.
5911 * benchtests/bench-strcat-ifunc.c: New file.
5912 * benchtests/bench-strcat.c: New file.
5913 * benchtests/bench-strchr-ifunc.c: New file.
5914 * benchtests/bench-strchr.c: New file.
5915 * benchtests/bench-strchrnul-ifunc.c: New file.
5916 * benchtests/bench-strchrnul.c: New file.
5917 * benchtests/bench-strcmp-ifunc.c: New file.
5918 * benchtests/bench-strcmp.c: New file.
5919 * benchtests/bench-strcpy-ifunc.c: New file.
5920 * benchtests/bench-strcpy.c: New file.
5921 * benchtests/bench-strcspn-ifunc.c: New file.
5922 * benchtests/bench-strcspn.c: New file.
5923 * benchtests/bench-strlen-ifunc.c: New file.
5924 * benchtests/bench-strlen.c: New file.
5925 * benchtests/bench-strncasecmp-ifunc.c: New file.
5926 * benchtests/bench-strncasecmp.c: New file.
5927 * benchtests/bench-strncat-ifunc.c: New file.
5928 * benchtests/bench-strncat.c: New file.
5929 * benchtests/bench-strncmp-ifunc.c: New file.
5930 * benchtests/bench-strncmp.c: New file.
5931 * benchtests/bench-strncpy-ifunc.c: New file.
5932 * benchtests/bench-strncpy.c: New file.
5933 * benchtests/bench-strnlen-ifunc.c: New file.
5934 * benchtests/bench-strnlen.c: New file.
5935 * benchtests/bench-strpbrk-ifunc.c: New file.
5936 * benchtests/bench-strpbrk.c: New file.
5937 * benchtests/bench-strrchr-ifunc.c: New file.
5938 * benchtests/bench-strrchr.c: New file.
5939 * benchtests/bench-strspn-ifunc.c: New file.
5940 * benchtests/bench-strspn.c: New file.
5941 * benchtests/bench-strstr-ifunc.c: New file.
5942 * benchtests/bench-strstr.c: New file.
5943
c1f75dc3
SP
5944 * benchtests/Makefile: Disable parallel execution of targets.
5945 (string-bench): Add memcpy.
5946 (benchset): New variable to store a list of benchmark sets.
5947 (bench-func): Renamed from bench.
5948 (bench-set): New target.
5949 (bench): Depend on bench-func and bench-set.
5950 * benchtests/README: Add section on benchmark sets.
5951 * benchtests/bench-memcpy-ifunc.c: New file.
5952 * benchtests/bench-memcpy.c: New file.
5953 * benchtests/bench-string.h: New file.
5954
50fd745b
AS
59552013-06-11 Andreas Schwab <schwab@suse.de>
5956
5957 [BZ #15577]
5958 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
5959 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
5960 values in the triple.
5961 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
5962 terminator in the group key.
5963
3ee7e9fe
AJ
59642013-06-11 Andreas Jaeger <aj@suse.de>
5965
5966 * po/zh_TW.po: Update Chinese (traditional) translation from
5967 translation project.
5968
89fb6835
SP
59692013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5970
5971 * include/time.h (__clock_gettime): Add libc_hidden_proto.
5972 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
5973 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
5974 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5975 (clock_getcpuclockid): Likewise.
5976 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
5977 Add weak_alias and libc_hidden_def.
5978 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
5979 * rt/clock_gettime.c (clock_gettime): Rename to
5980 __clock_gettime. Add weak_alias and libc_hidden_def.
5981 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
5982 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
5983 __clock_nanosleep. Add weak_alias and libc_hidden_def.
5984 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
5985 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
5986 Likewise.
5987 * rt/clock_settime.c (clock_settime): Rename to
5988 __clock_settime. Add weak_alias and libc_hidden_def.
5989 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
5990
0efa6f8b
JM
59912013-06-10 Joseph Myers <joseph@codesourcery.com>
5992
b8c61b4b
JM
5993 * mach/err_boot.sub: Remove trailing whitespace.
5994 * mach/err_ipc.sub: Likewise.
5995 * mach/err_mach.sub: Likewise.
5996
0efa6f8b
JM
5997 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
5998 (ROUNDING_TESTS_double): Likewise.
5999 (ROUNDING_TESTS_long_double): Likewise.
6000 (ROUNDING_TESTS): Likewise.
6001 * math/libm-test.inc: Include <math-tests.h>.
6002 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
6003 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6004 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6005 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6006
50b818bf
SP
60072013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6008
6009 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
6010 of assigning.
6011
60d2f8f3
JM
60122013-06-08 Joseph Myers <joseph@codesourcery.com>
6013
4902d2c3
JM
6014 * sysdeps/gnu/errlist.awk: Do not generate space at end of
6015 otherwise empty TRANS lines.
6016 * sysdeps/gnu/errlist.c: Regenerated.
6017
60d2f8f3
JM
6018 * catgets/gencat.c (error_print): Use (void) in function
6019 definition.
6020 * crypt/crypt_util.c (__init_des): Likewise.
6021 * crypt/speeds.c (Stop): Likewise.
6022 (main): Likewise.
6023 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
6024 * inet/ruserpass.c (token): Likewise.
6025 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
6026 * intl/localealias.c (extend_alias_table): Likewise.
6027 * intl/plural-exp.c (init_germanic_plural): Likewise.
6028 * libio/fcloseall.c (__fcloseall): Likewise.
6029 * libio/genops.c (_IO_flush_all): Likewise.
6030 (_IO_flush_all_linebuffered): Likewise.
6031 (_IO_cleanup): Likewise.
6032 (_IO_iter_begin): Likewise.
6033 (_IO_iter_end): Likewise.
6034 (_IO_list_lock): Likewise.
6035 (_IO_list_unlock): Likewise.
6036 (_IO_list_resetlock): Likewise.
6037 * libio/getchar.c (getchar): Likewise.
6038 * libio/getchar_u.c (getchar_unlocked): Likewise.
6039 * libio/getwchar.c (getwchar): Likewise.
6040 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6041 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
6042 * login/getpt.c (__getpt): Likewise.
6043 * login/tst-utmp.c (main): Likewise.
6044 * malloc/hooks.c (__malloc_check_init): Likewise.
6045 * malloc/malloc.c (__malloc_stats): Likewise.
6046 * malloc/mtrace.c (tr_break): Likewise.
6047 (mtrace): Likewise.
6048 (muntrace): Likewise.
6049 * misc/fstab.c (endfsent): Likewise.
6050 * misc/getclktck.c (__getclktck): Likewise.
6051 * misc/getdtsz.c (__getdtablesize): Likewise.
6052 * misc/gethostid.c (gethostid): Likewise.
6053 * misc/getpagesize.c (__getpagesize): Likewise.
6054 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
6055 (__get_nprocs): Likewise.
6056 (__get_phys_pages): Likewise.
6057 (__get_avphys_pages): Likewise.
6058 * misc/getttyent.c (getttyent): Likewise.
6059 (setttyent): Likewise.
6060 (endttyent): Likewise.
6061 * misc/getusershell.c (getusershell): Likewise.
6062 (endusershell): Likewise.
6063 (setusershell): Likewise.
6064 (initshells): Likewise.
6065 * misc/hsearch.c (__hdestroy): Likewise.
6066 * misc/sync.c (sync): Likewise.
6067 * misc/syslog.c (closelog_internal): Likewise.
6068 (closelog): Likewise.
6069 * misc/ttyslot.c (ttyslot): Likewise.
6070 * misc/vhangup.c (vhangup): Likewise.
6071 * posix/fork.c (__fork): Likewise.
6072 * posix/getegid.c (__getegid): Likewise.
6073 * posix/geteuid.c (__geteuid): Likewise.
6074 * posix/getgid.c (__getgid): Likewise.
6075 * posix/getpid.c (__getpid): Likewise.
6076 * posix/getppid.c (__getppid): Likewise.
6077 * posix/getuid.c (__getuid): Likewise.
6078 * posix/pause.c (pause): Likewise.
6079 * posix/setpgrp.c (setpgrp): Likewise.
6080 * posix/setsid.c (__setsid): Likewise.
6081 * posix/test-vfork.c (noop): Likewise.
6082 * resolv/gethnamaddr.c (_endhtent): Likewise.
6083 (_gethtent): Likewise.
6084 (ht_endhostent): Likewise.
6085 (gethostent): Likewise.
6086 (dns_service): Likewise.
6087 * stdlib/drand48.c (drand48): Likewise.
6088 * stdlib/lrand48.c (lrand48): Likewise.
6089 * stdlib/mrand48.c (mrand48): Likewise.
6090 * stdlib/rand.c (rand): Likewise.
6091 * stdlib/random.c (__random): Likewise.
6092 * stdlib/setenv.c (clearenv): Likewise.
6093 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
6094 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
6095 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
6096 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
6097 (__get_nprocs): Likewise.
6098 (__get_phys_pages): Likewise.
6099 (__get_avphys_pages): Likewise.
6100 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
6101 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
6102 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
6103 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
6104 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
6105 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
6106 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
6107 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
6108 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
6109 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
6110 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
6111 * sysdeps/mach/hurd/sync.c (sync): Likewise.
6112 * sysdeps/posix/clock.c (clock): Likewise.
6113 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
6114 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
6115 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
6116 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
6117 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
6118 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6119 (__get_nprocs_conf): Likewise.
6120 (__get_phys_pages): Likewise.
6121 (__get_avphys_pages): Likewise.
6122 * time/clock.c (clock): Likewise.
6123 * time/tzset.c (__tzname_max): Likewise.
6124
2e09a79a
JM
61252013-06-07 Joseph Myers <joseph@codesourcery.com>
6126
6127 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
6128 (__bswap_32): Do not use "register".
6129 * crypt/crypt.c (_ufc_doit_r): Likewise.
6130 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6131 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6132 * gmon/gmon.c (__monstartup): Likewise.
6133 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
6134 * hurd/hurdmalloc.c (more_memory): Likewise.
6135 (malloc): Likewise.
6136 (free): Likewise.
6137 (realloc): Likewise.
6138 (malloc_fork_prepare): Likewise.
6139 (malloc_fork_parent): Likewise.
6140 (malloc_fork_child): Likewise.
6141 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
6142 (_svcauth_des): Likewise.
6143 * inet/inet_lnaof.c (inet_lnaof): Likewise.
6144 * inet/inet_net.c (inet_network): Likewise.
6145 * inet/inet_netof.c (inet_netof): Likewise.
6146 * inet/rcmd.c (__validuser2_sa): Likewise.
6147 * io/fts.c (fts_open): Likewise.
6148 (fts_load): Likewise.
6149 (fts_close): Likewise.
6150 (fts_read): Likewise.
6151 (fts_children): Likewise.
6152 (fts_build): Likewise.
6153 (fts_stat): Likewise.
6154 (fts_sort): Likewise.
6155 (fts_alloc): Likewise.
6156 (fts_lfree): Likewise.
6157 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
6158 (_IO_file_xsgetn): Likewise.
6159 (_IO_file_xsgetn_mmap): Likewise.
6160 * libio/iofopncook.c (_IO_cookie_read): Likewise.
6161 (_IO_cookie_write): Likewise.
6162 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
6163 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
6164 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
6165 * malloc/obstack.c (_obstack_begin): Likewise.
6166 (_obstack_begin_1): Likewise.
6167 (_obstack_newchunk): Likewise.
6168 (_obstack_allocated_p): Likewise.
6169 (obstack_free): Likewise.
6170 (_obstack_memory_used): Likewise.
6171 * misc/getttyent.c (getttynam): Likewise.
6172 (getttyent): Likewise.
6173 (skip): Likewise.
6174 (value): Likewise.
6175 * misc/getusershell.c (initshells): Likewise.
6176 * misc/syslog.c (__vsyslog_chk): Likewise.
6177 * misc/ttyslot.c (ttyslot): Likewise.
6178 * nis/nis_hash.c (__nis_hash): Likewise.
6179 * posix/fnmatch_loop.c (FCT): Likewise.
6180 * posix/getconf.c (print_all): Likewise.
6181 (main): Likewise.
6182 * posix/getopt.c (exchange): Likewise.
6183 * posix/glob.c (globfree): Likewise.
6184 (prefix_array): Likewise.
6185 (__glob_pattern_type): Likewise.
6186 * resolv/arpa/nameser.h (NS_GET16): Likewise.
6187 (NS_GET32): Likewise.
6188 (NS_PUT16): Likewise.
6189 (NS_PUT32): Likewise.
6190 * resolv/gethnamaddr.c (getanswer): Likewise.
6191 (gethostbyname2): Likewise.
6192 (gethostbyaddr): Likewise.
6193 (_gethtent): Likewise.
6194 (_gethtbyname2): Likewise.
6195 (_gethtbyaddr): Likewise.
6196 * resolv/ns_print.c (dst_s_get_int16): Likewise.
6197 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6198 * resolv/res_init.c (__res_vinit): Likewise.
6199 (net_mask): Likewise.
6200 * resolv/res_mkquery.c (outchar): Likewise.
6201 (PRINT): Likewise.
6202 * stdio-common/printf_fp.c (outchar): Likewise.
6203 (PRINT): Likewise.
6204 * stdio-common/printf_fphex.c (outchar): Likewise.
6205 (PRINT): Likewise.
6206 * stdio-common/printf_size.c (outchar): Likewise.
6207 (PRINT): Likewise.
6208 * stdio-common/test_rdwr.c (main): Likewise.
6209 * stdio-common/tfformat.c (matches): Likewise.
6210 * stdio-common/vfprintf.c (outchar): Likewise.
6211 (printf_unknown): Likewise.
6212 (buffered_vfprintf): Likewise.
6213 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6214 * stdio-common/xbug.c (AppendToBuffer): Likewise.
6215 (ReadFile): Likewise.
6216 * stdlib/qsort.c (SWAP): Likewise.
6217 (_quicksort): Likewise.
6218 * stdlib/setenv.c (__add_to_environ): Likewise.
6219 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6220 * stdlib/strtol_l.c (__strtol_l): Likewise.
6221 * stdlib/tst-strtod.c (main): Likewise.
6222 * stdlib/tst-strtol.c (main): Likewise.
6223 * stdlib/tst-strtoll.c (main): Likewise.
6224 * string/bits/string2.h (__strcmp_cc): Likewise.
6225 (__strcmp_cg): Likewise.
6226 (__strcspn_c1): Likewise.
6227 (__strcspn_c2): Likewise.
6228 (__strcspn_c3): Likewise.
6229 (__strspn_c1): Likewise.
6230 (__strspn_c2): Likewise.
6231 (__strspn_c3): Likewise.
6232 (__strsep_1c): Likewise.
6233 (__strsep_2c): Likewise.
6234 (__strsep_3c): Likewise.
6235 * string/memccpy.c (__memccpy): Likewise.
6236 * string/stpcpy.c (__stpcpy): Likewise.
6237 * string/strcmp.c (strcmp): Likewise.
6238 * string/strrchr.c (strrchr): Likewise.
6239 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
6240 Likewise.
6241 * sysdeps/mach/hurd/getcwd.c
6242 (_hurd_canonicalize_directory_name_internal): Likewise.
6243 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
6244 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
6245 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
6246 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
6247 Likewise, in both definitions.
6248 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
6249 definitions.
6250 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
6251 64] (__bswap_64): Likewise.
6252 * time/test_time.c (main): Likewise.
6253 * time/tzfile.c (__tzfile_read): Likewise.
6254 (__tzfile_compute): Likewise.
6255 * time/tzset.c (__tzset_parse_tz): Likewise.
6256 (tzset_internal): Likewise.
6257 (compute_change): Likewise.
6258 * wcsmbs/wcscat.c (__wcscat): Likewise.
6259 * wcsmbs/wcschr.c (wcschr): Likewise.
6260 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
6261 * wcsmbs/wcscspn.c (wcscspn): Likewise.
6262 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
6263 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
6264 * wcsmbs/wcsspn.c (wcsspn): Likewise.
6265 * wcsmbs/wcsstr.c (wcsstr): Likewise.
6266 * wcsmbs/wmemchr.c (wmemchr): Likewise.
6267 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6268 * wcsmbs/wmemset.c (wmemset): Likewise.
6269
9e54314b
JM
62702013-06-06 Joseph Myers <joseph@codesourcery.com>
6271
6272 * scripts/config.guess: Update to version 2013-05-16.
6273 * scripts/config.sub: Update to version 2013-04-24.
6274 * scripts/install-sh: Update to version 2011-11-20.07.
6275 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
6276 * scripts/move-if-change: Update to version 2012-01-06 07:23.
6277
350635a5
OB
62782013-06-06 Ondřej Bílka <neleai@seznam.cz>
6279
6280 * debug/fgetws_u_chk.c: Fix leading whitespaces.
6281 * elf/sln.c: Likewise.
6282 * hurd/hurd/ioctl.h: Likewise.
6283 * hurd/hurdmalloc.c: Likewise.
6284 * hurd/xattr.c: Likewise.
6285 * include/shlib-compat.h: Likewise.
6286 * inet/ruserpass.c: Likewise.
6287 * libio/iofgets_u.c: Likewise.
6288 * libio/iofgetws_u.c: Likewise.
6289 * locale/programs/ld-identification.c: Likewise.
6290 * locale/programs/ld-time.c: Likewise.
6291 * mach/msg-destroy.c: Likewise.
6292 * nss/nss_files/files-netgrp.c: Likewise.
6293 * resolv/res_data.c: Likewise.
6294 * soft-fp/op-1.h: Likewise.
6295 * soft-fp/op-2.h: Likewise.
6296 * soft-fp/op-4.h: Likewise.
6297 * soft-fp/op-common.h: Likewise.
6298 * stdio-common/printf_fphex.c: Likewise.
6299 * stdlib/strtod_l.c: Likewise.
6300 * sunrpc/rpc/clnt.h: Likewise.
6301 * sysdeps/generic/framestate.c: Likewise.
6302 * sysdeps/i386/bsd-_setjmp.S: Likewise.
6303 * sysdeps/i386/bsd-setjmp.S: Likewise.
6304 * sysdeps/i386/__longjmp.S: Likewise.
6305 * sysdeps/i386/setjmp.S: Likewise.
6306 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6307 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6308 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6309 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6310 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6311 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6312 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6313 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6314 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6315 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
6316 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6317 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6318 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6319 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6320 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6321 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6322 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6323 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
6324 * sysdeps/ieee754/support.c: Likewise.
6325 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6326 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
6327 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
6328 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
6329 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
6330 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
6331 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
6332 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
6333 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
6334 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
6335 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
6336 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
6337 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
6338 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
6339 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
6340 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
6341 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6343
44a988af
OB
63442013-06-05 Ondřej Bílka <neleai@seznam.cz>
6345
25506f09 6346 * posix/transbug.c: Remove executable mode.
44a988af 6347
9c84384c
JM
63482013-06-05 Joseph Myers <joseph@codesourcery.com>
6349
6350 * crypt/speeds.c: Remove trailing whitespace.
6351 * dlfcn/default.c: Likewise.
6352 * elf/ifuncdep2.c: Likewise.
6353 * elf/ifuncmain1.c: Likewise.
6354 * elf/ifuncmain1vis.c: Likewise.
6355 * elf/testobj.h: Likewise.
6356 * elf/tst-stackguard1.c: Likewise.
6357 * gmon/sys/gmon.h: Likewise.
6358 * hurd/hurdmsg.c: Likewise.
6359 * hurd/new-fd.c: Likewise.
6360 * hurd/ports-get.c: Likewise.
6361 * iconvdata/ibm1008_420.c: Likewise.
6362 * inet/tst-getni1.c: Likewise.
6363 * inet/tst-getni2.c: Likewise.
6364 * libio/ioungetc.c: Likewise.
6365 * libio/wfiledoalloc.c: Likewise.
6366 * manual/libm-err-tab.pl: Likewise.
6367 * math/w_dremf.c: Likewise.
6368 * misc/ftruncate.c: Likewise.
6369 * posix/bug-glob2.c: Likewise.
6370 * posix/tst-pcre.c: Likewise.
6371 * posix/wait4.c: Likewise.
6372 * resolv/README: Likewise.
6373 * resolv/res_debug.h: Likewise.
6374 * resolv/tst-inet_ntop.c: Likewise.
6375 * setjmp/bug269-setjmp.c: Likewise.
6376 * soft-fp/extended.h: Likewise.
6377 * soft-fp/op-1.h: Likewise.
6378 * soft-fp/op-2.h: Likewise.
6379 * soft-fp/op-4.h: Likewise.
6380 * soft-fp/op-8.h: Likewise.
6381 * soft-fp/testit.c: Likewise.
6382 * stdio-common/bug16.c: Likewise.
6383 * stdlib/random.c: Likewise.
6384 * sunrpc/rpcsvc/rquota.x: Likewise.
6385 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
6386 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6387 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6388 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6389 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6390 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6391 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6392 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6393 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6394 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6395 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6396 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6397 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6398 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6399 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6400 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6401 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6402 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6403 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6404 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6405 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6406 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6407 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6408 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6409 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6410 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6411 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6412 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6413 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6414 * sysdeps/ieee754/s_lib_version.c: Likewise.
6415 * sysdeps/mach/hurd/check_fds.c: Likewise.
6416 * sysdeps/mach/hurd/getsockname.c: Likewise.
6417 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
6418 * sysdeps/mach/hurd/recvfrom.c: Likewise.
6419 * sysdeps/powerpc/bits/link.h: Likewise.
6420 * sysdeps/powerpc/dl-procinfo.c: Likewise.
6421 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
6422 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
6423 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
6424 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6425 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6426 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
6427 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6428 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
6429 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6430 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
6431 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6432 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
6433 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6434 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6435 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6436 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6437 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6438 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6439 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6440 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6441 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
6442 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6443 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6444 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
6445 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6446 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6447 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6448 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6449 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6450 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6451 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6452 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6453 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6454 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
6455 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6456 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
6457 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6458 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
6459 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
6460 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
6461 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
6462 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
6463 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
6464 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6465 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
6466 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
6467 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6468 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
6469 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
6470 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6471 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6472 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6473 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6474 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
6475 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
6476 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
6477 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6478 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
6479 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
6480 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
6481 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
6482 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6483 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6484 * sysdeps/powerpc/sysdep.h: Likewise.
6485 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6486 * sysdeps/s390/s390-64/sub_n.S: Likewise.
6487 * sysdeps/sh/dl-trampoline.S: Likewise.
6488 * sysdeps/sh/memset.S: Likewise.
6489 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
6490 * sysdeps/sh/strlen.S: Likewise.
6491 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
6492 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
6493 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
6494 * sysdeps/sparc/sparc32/rem.S: Likewise.
6495 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
6496 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
6497 * sysdeps/sparc/sparc32/strchr.S: Likewise.
6498 * sysdeps/sparc/sparc32/udiv.S: Likewise.
6499 * sysdeps/sparc/sparc32/urem.S: Likewise.
6500 * sysdeps/sparc/sparc64/add_n.S: Likewise.
6501 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6502 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
6503 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
6504 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
6505 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
6506 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6507 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
6508 * sysdeps/unix/bsd/times.c: Likewise.
6509 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
6510 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
6511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6514 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6515 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6516 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
6517 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
6518 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
6519 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
6520 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6521 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6522 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6523 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6524 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
6525 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6526 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
6527 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
6528 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
6529 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
6530 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
6531 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6532 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
6533 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
6534 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6535 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
6536 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6537 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
6538 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
6539 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
6540 * sysdeps/x86_64/strcspn.S: Likewise.
6541
869378a5
RA
65422013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6543
6544 * locale/C-translit.h: Revert #include <stdint.h> because this is a
6545 generated file. Regenerate properly from gen-translit.pl.
6546 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
6547 locale/C-translit.h.
6548
840e2943
AS
65492013-06-05 Andreas Schwab <schwab@suse.de>
6550
6551 [BZ #15100]
6552 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
6553 week as 6 instead of -1.
6554 * time/tst-strptime.c (day_tests): Add test case.
6555
4c60cb0c
SP
65562013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6557
6558 * sysdeps/generic/math_private.h
6559 (libc_feholdexcept_setround_53bit): Replace with
6560 libc_feholdsetround_53bit.
6561 (libc_feupdateenv_53bit): Replace with
6562 libc_feresetround_53bit.
6563 (SET_RESTORE_ROUND_53BIT): Adjust.
6564
d180203e
SP
65652013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6566
96df079a
SP
6567 * string/test-strchrnul.c: Add copyright header.
6568
d180203e
SP
6569 * posix/tst-getaddrinfo4.c: Increase test timeout.
6570
8b0ccb2d
CD
65712013-06-03 Carlos O'Donell <carlos@redhat.com>
6572
6573 [BZ #15536]
6574 * math/libm-test.inc (MAX_EXP): Remove
6575 (MIN_EXP): Define.
6576 (ulp): Use MIN_EXP - MANT_DIG.
6577 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
6578
3b3c4d40
CD
65792013-05-31 Carlos O'Donell <carlos@redhat.com>
6580
6581 * po/be.po: Revert last change.
6582 * po/zh_CN.po: Likewise.
6583 * po/header.pot: Likewise.
6584
fab7ce3f
JM
65852013-05-31 Joseph Myers <joseph@codesourcery.com>
6586
6587 * Makefile ($(common-objpfx)linkobj/libc.so): Define
6588 link-libc-deps to empty as target-specific variable.
6589 * Makerules (link-libc-args): New variable.
6590 (libc-for-link): Likewise.
6591 (link-libc-deps): Likewise.
6592 (lib%.so): Depend on $(link-libc-deps). Link with
6593 $(link-libc-args).
6594 (build-module): Link with $(link-libc-args).
6595 (build-module-asneeded): Likewise.
6596 (build-module-helper-objlist): Filter out $(link-libc-deps) from
6597 list of objects.
6598 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
6599 target-specific variable.
6600 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
6601 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
6602 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
6603 libc.
6604 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
6605 libc and ld.so.
6606 ($(objpfx)libpcprofile.so): Likewise.
6607 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
6608 libc_nonshared.a.
6609 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
6610 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
6611 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
6612 $(link-libc-deps).
6613 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
6614 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
6615 * login/Makefile ($(objpfx)libutil.so): Likewise.
6616 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
6617 * math/Makefile ($(objpfx)libm.so): Likewise.
6618 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
6619 $(objpfx)libnsl.so): Define libc-for-link as target-specific
6620 variable instead of depending directly on libc.
6621 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
6622 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
6623 $(link-libc-deps).
6624 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
6625 libc.
6626 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
6627 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
6628 ($(objpfx)libanl.so): Likewise.
6629 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
6630 ld.so.
6631 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
6632 $(link-libc-deps).
6633 * sysdeps/i386/fpu/Makefile: Remove file.
6634 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
6635 ($(objpfx)libm.so): Remove dependency on ld.so.
6636
eca5920c
PF
66372013-05-30 Patsy Franklin <pfrankli@redhat.com>
6638
6639 [BZ # 15553]
6640 * nis/yp_xdr.c (XDRMAXNAME): Define.
6641 (XDRMAXRECORD): Define.
6642 (xdr_domainname): Use XDRMAXNAME.
6643 (xdr_mapname): Likewise.
6644 (xdr_peername): Likewise.
6645 (xdr_keydat): Use XDRMAXRECORD.
6646 (xdr_valdat): Likewise.
6647
66482013-05-30 Jeff Law <law@redhat.com>
96945714
JL
6649
6650 [BZ #14256]
6651 * manual/errno.texi (ESTALE): Update to account for more than
6652 just NFS file systems.
6653 * sysdeps/gnu/errlist.c: Regenerated.
6654
b9375348
SP
66552013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6656
6657 [BZ #15465]
6658 * elf/Makefile (tests): Add tst-null-argv.
6659 (modules-names): Add tst-null-argv-lib.
6660 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
6661 (tst-null-argv-ENV): Set environment for tst-null-argv.
6662 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
6663 (RTLD_PROGNAME): New macro.
6664 * elf/tst-null-argv.c: New test case.
6665 * elf/tst-null-argv-lib.c: Library for test case.
6666 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
6667 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6668 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
6669 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
6670 * elf/dl-init.c (call_init): Likewise.
6671 (_dl_init): Likewise.
6672 * elf/dl-load.c (print_search_path): Likewise.
6673 (_dl_map_object): Likewise.
6674 * elf/dl-lookup.c (do_lookup_x): Likewise.
6675 (add_dependency): Likewise.
6676 (_dl_lookup_symbol_x): Likewise.
6677 (_dl_debug_bindings): Likewise.
6678 * elf/dl-open.c (_dl_show_scope): Likewise.
6679 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6680 * elf/dl-version.c (match_symbol): Likewise.
6681 (_dl_check_map_versions): Likewise.
6682 * elf/rtld.c (dl_main): Likewise.
6683 (print_unresolved): Use RTLD_PROGNAME.
6684 (print_missing_version): Likewise.
6685 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
6686 (elf_machine_rela): Likewise.
6687 * sysdeps/powerpc/powerpc32/dl-machine.c
6688 (__process_machine_rela): Likewise.
6689 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6690 Likewise.
6691 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6692 Likewise.
6693 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
6694 Likewise.
6695 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6696 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
6697 Likewise.
6698 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
6699 Likewise.
6700 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6701
8a9f20c8
CD
67022013-05-28 Carlos O'Donell <carlos@redhat.com>
6703
6704 * po/be.po: Add descriptive title.
6705 * po/zh_CN.po: Likewise.
6706 * po/header.pot: Likewise.
6707
0e60d68e
MF
67082013-05-28 Mike Frysinger <vapier@gentoo.org>
6709
6710 * locale/programs/locarchive.c (create_archive): Inlucde fname in
6711 error message.
6712 (enlarge_archive): Likewise.
6713
56b672e9
BN
67142013-05-28 Ben North <ben@redfrontdoor.org>
6715
6716 * manual/arith.texi (frexp): It is the magnitude of the return
6717 value which lies in [0.5, 1), not the return value itself.
6718
5e056687
AZ
67192013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6720
6721 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6722
2b66ef5d
TS
67232013-05-26 Thomas Schwinge <thomas@codesourcery.com>
6724
528c2405
TS
6725 * stdio-common/bug26.c (main): Correct fscanf template.
6726
07b4c13d
TS
6727 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
6728 declare _dl_skip_args.
6729
ec9dd97c
TS
6730 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
6731 Don't declare.
6732
2b66ef5d
TS
6733 * manual/platform.texi: Add missing @end deftypefun.
6734
4f8dfe27
JM
67352013-05-24 Joseph Myers <joseph@codesourcery.com>
6736
0323d086
JM
6737 [BZ #15529]
6738 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
6739 bit of mantissa of 2^16382.
6740 * math/libm-test.inc (hypot_test_data): Add more tests.
6741
dd4259b9
JM
6742 * math/libm-test.inc: Add drem and pow10 to list of tested
6743 functions.
6744 (pow10_test): New function.
6745 (drem_test): Likewise.
6746 (drem_test_tonearest): Likewise.
6747 (drem_test_towardzero): Likewise.
6748 (drem_test_downward): Likewise.
6749 (drem_test_upward): Likewise.
6750 (main): Call the new functions.
6751
4f8dfe27
JM
6752 * math/libm-test.inc (finite_test_data): Remove.
6753 (finite_test): Run tests from isfinite_test_data.
6754 (gamma_test_data): Remove.
6755 (gamma_test): Run tests from lgamma_test_data.
6756 * sysdeps/i386/fpu/libm-test-ulps: Update.
6757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6758
d116b7c4
AZ
67592013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6760
6761 * manual/platform.texi: Add PowerPC PPR function set documentation.
6762 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
6763 implementation.
6764
e96e3767
CD
67652013-05-24 Carlos O'Donell <carlos@redhat.com>
6766
6767 * math/libm-test.inc (MAX_EXP): Define.
6768 (ULPDIFF): Define.
6769 (ulp): New function.
6770 (check_float_internal): Use ULPDIFF.
6771 (cpow_test): Disable failing test.
6772 (check_ulp): Test ulp() implemetnation.
6773 (main): Call check_ulp before starting tests.
6774
b679a606
JM
67752013-05-24 Joseph Myers <joseph@codesourcery.com>
6776
e8bdba36
JM
6777 * math/gen-libm-test.pl (generate_testfile): Do not handle
6778 START_DATA and END_DATA.
6779 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
6780 END_DATA.
6781 (acos_tonearest_test_data): Likewise.
6782 (acos_towardzero_test_data): Likewise.
6783 (acos_downward_test_data): Likewise.
6784 (acos_upward_test_data): Likewise.
6785 (acosh_test_data): Likewise.
6786 (asin_test_data): Likewise.
6787 (asin_tonearest_test_data): Likewise.
6788 (asin_towardzero_test_data): Likewise.
6789 (asin_downward_test_data): Likewise.
6790 (asin_upward_test_data): Likewise.
6791 (asinh_test_data): Likewise.
6792 (atan_test_data): Likewise.
6793 (atanh_test_data): Likewise.
6794 (atan2_test_data): Likewise.
6795 (cabs_test_data): Likewise.
6796 (cacos_test_data): Likewise.
6797 (cacosh_test_data): Likewise.
6798 (carg_test_data): Likewise.
6799 (casin_test_data): Likewise.
6800 (casinh_test_data): Likewise.
6801 (catan_test_data): Likewise.
6802 (catanh_test_data): Likewise.
6803 (cbrt_test_data): Likewise.
6804 (ccos_test_data): Likewise.
6805 (ccosh_test_data): Likewise.
6806 (ceil_test_data): Likewise.
6807 (cexp_test_data): Likewise.
6808 (cimag_test_data): Likewise.
6809 (clog_test_data): Likewise.
6810 (clog10_test_data): Likewise.
6811 (conj_test_data): Likewise.
6812 (copysign_test_data): Likewise.
6813 (cos_test_data): Likewise.
6814 (cos_tonearest_test_data): Likewise.
6815 (cos_towardzero_test_data): Likewise.
6816 (cos_downward_test_data): Likewise.
6817 (cos_upward_test_data): Likewise.
6818 (cosh_test_data): Likewise.
6819 (cosh_tonearest_test_data): Likewise.
6820 (cosh_towardzero_test_data): Likewise.
6821 (cosh_downward_test_data): Likewise.
6822 (cosh_upward_test_data): Likewise.
6823 (cpow_test_data): Likewise.
6824 (cproj_test_data): Likewise.
6825 (creal_test_data): Likewise.
6826 (csin_test_data): Likewise.
6827 (csinh_test_data): Likewise.
6828 (csqrt_test_data): Likewise.
6829 (ctan_test_data): Likewise.
6830 (ctan_tonearest_test_data): Likewise.
6831 (ctan_towardzero_test_data): Likewise.
6832 (ctan_downward_test_data): Likewise.
6833 (ctan_upward_test_data): Likewise.
6834 (ctanh_test_data): Likewise.
6835 (ctanh_tonearest_test_data): Likewise.
6836 (ctanh_towardzero_test_data): Likewise.
6837 (ctanh_downward_test_data): Likewise.
6838 (ctanh_upward_test_data): Likewise.
6839 (erf_test_data): Likewise.
6840 (erfc_test_data): Likewise.
6841 (exp_test_data): Likewise.
6842 (exp_tonearest_test_data): Likewise.
6843 (exp_towardzero_test_data): Likewise.
6844 (exp_downward_test_data): Likewise.
6845 (exp_upward_test_data): Likewise.
6846 (exp10_test_data): Likewise.
6847 (exp2_test_data): Likewise.
6848 (expm1_test_data): Likewise.
6849 (fabs_test_data): Likewise.
6850 (fdim_test_data): Likewise.
6851 (finite_test_data): Likewise.
6852 (floor_test_data): Likewise.
6853 (fma_test_data): Likewise.
6854 (fma_towardzero_test_data): Likewise.
6855 (fma_downward_test_data): Likewise.
6856 (fma_upward_test_data): Likewise.
6857 (fmax_test_data): Likewise.
6858 (fmin_test_data): Likewise.
6859 (fmod_test_data): Likewise.
6860 (fpclassify_test_data): Likewise.
6861 (frexp_test_data): Likewise.
6862 (gamma_test_data): Likewise.
6863 (hypot_test_data): Likewise.
6864 (ilogb_test_data): Likewise.
6865 (isfinite_test_data): Likewise.
6866 (isgreater_test_data): Likewise.
6867 (isgreaterequal_test_data): Likewise.
6868 (isinf_test_data): Likewise.
6869 (isless_test_data): Likewise.
6870 (islessequal_test_data): Likewise.
6871 (islessgreater_test_data): Likewise.
6872 (isnan_test_data): Likewise.
6873 (isnormal_test_data): Likewise.
6874 (issignaling_test_data): Likewise.
6875 (isunordered_test_data): Likewise.
6876 (j0_test_data): Likewise.
6877 (j1_test_data): Likewise.
6878 (jn_test_data): Likewise.
6879 (ldexp_test_data): Likewise.
6880 (lgamma_test_data): Likewise.
6881 (lrint_test_data): Likewise.
6882 (lrint_tonearest_test_data): Likewise.
6883 (lrint_towardzero_test_data): Likewise.
6884 (lrint_downward_test_data): Likewise.
6885 (lrint_upward_test_data): Likewise.
6886 (llrint_test_data): Likewise.
6887 (llrint_tonearest_test_data): Likewise.
6888 (llrint_towardzero_test_data): Likewise.
6889 (llrint_downward_test_data): Likewise.
6890 (llrint_upward_test_data): Likewise.
6891 (log_test_data): Likewise.
6892 (log10_test_data): Likewise.
6893 (log1p_test_data): Likewise.
6894 (log2_test_data): Likewise.
6895 (logb_test_data): Likewise.
6896 (logb_downward_test_data): Likewise.
6897 (lround_test_data): Likewise.
6898 (llround_test_data): Likewise.
6899 (modf_test_data): Likewise.
6900 (nearbyint_test_data): Likewise.
6901 (nextafter_test_data): Likewise.
6902 (nexttoward_test_data): Likewise.
6903 (pow_test_data): Likewise.
6904 (pow_tonearest_test_data): Likewise.
6905 (pow_towardzero_test_data): Likewise.
6906 (pow_downward_test_data): Likewise.
6907 (pow_upward_test_data): Likewise.
6908 (remainder_test_data): Likewise.
6909 (remainder_tonearest_test_data): Likewise.
6910 (remainder_towardzero_test_data): Likewise.
6911 (remainder_downward_test_data): Likewise.
6912 (remainder_upward_test_data): Likewise.
6913 (remquo_test_data): Likewise.
6914 (rint_test_data): Likewise.
6915 (rint_tonearest_test_data): Likewise.
6916 (rint_towardzero_test_data): Likewise.
6917 (rint_downward_test_data): Likewise.
6918 (rint_upward_test_data): Likewise.
6919 (round_test_data): Likewise.
6920 (scalb_test_data): Likewise.
6921 (scalbn_test_data): Likewise.
6922 (scalbln_test_data): Likewise.
6923 (signbit_test_data): Likewise.
6924 (sin_test_data): Likewise.
6925 (sin_tonearest_test_data): Likewise.
6926 (sin_towardzero_test_data): Likewise.
6927 (sin_downward_test_data): Likewise.
6928 (sin_upward_test_data): Likewise.
6929 (sincos_test_data): Likewise.
6930 (sinh_test_data): Likewise.
6931 (sinh_tonearest_test_data): Likewise.
6932 (sinh_towardzero_test_data): Likewise.
6933 (sinh_downward_test_data): Likewise.
6934 (sinh_upward_test_data): Likewise.
6935 (sqrt_test_data): Likewise.
6936 (tan_test_data): Likewise.
6937 (tan_tonearest_test_data): Likewise.
6938 (tan_towardzero_test_data): Likewise.
6939 (tan_downward_test_data): Likewise.
6940 (tan_upward_test_data): Likewise.
6941 (tanh_test_data): Likewise.
6942 (tgamma_test_data): Likewise.
6943 (trunc_test_data): Likewise.
6944 (y0_test_data): Likewise.
6945 (y1_test_data): Likewise.
6946 (yn_test_data): Likewise.
6947 (significand_test_data): Likewise.
6948
b679a606
JM
6949 * math/gen-libm-test.pl (@functions): Remove variable.
6950 (generate_testfile): Don't handle START and END lines.
6951 * math/libm-test.inc (START): New macro.
6952 (END): Likewise.
6953 (END_COMPLEX): Likewise.
6954 (acos_test): Use END macro without arguments.
6955 (acos_test_tonearest): Likewise.
6956 (acos_test_towardzero): Likewise.
6957 (acos_test_downward): Likewise.
6958 (acos_test_upward): Likewise.
6959 (acosh_test): Likewise.
6960 (asin_test): Likewise.
6961 (asin_test_tonearest): Likewise.
6962 (asin_test_towardzero): Likewise.
6963 (asin_test_downward): Likewise.
6964 (asin_test_upward): Likewise.
6965 (asinh_test): Likewise.
6966 (atan_test): Likewise.
6967 (atanh_test): Likewise.
6968 (atan2_test): Likewise.
6969 (cabs_test): Likewise.
6970 (cacos_test): Use END_COMPLEX macro without arguments.
6971 (cacosh_test): Likewise.
6972 (carg_test): Use END macro without arguments.
6973 (casin_test): Use END_COMPLEX macro without arguments.
6974 (casinh_test): Likewise.
6975 (catan_test): Likewise.
6976 (catanh_test): Likewise.
6977 (cbrt_test): Use END macro without arguments.
6978 (ccos_test): Use END_COMPLEX macro without arguments.
6979 (ccosh_test): Likewise.
6980 (ceil_test): Use END macro without arguments.
6981 (cexp_test): Use END_COMPLEX macro without arguments.
6982 (cimag_test): Use END macro without arguments.
6983 (clog_test): Use END_COMPLEX macro without arguments.
6984 (clog10_test): Likewise.
6985 (conj_test): Likewise.
6986 (copysign_test): Use END macro without arguments.
6987 (cos_test): Likewise.
6988 (cos_test_tonearest): Likewise.
6989 (cos_test_towardzero): Likewise.
6990 (cos_test_downward): Likewise.
6991 (cos_test_upward): Likewise.
6992 (cosh_test): Likewise.
6993 (cosh_test_tonearest): Likewise.
6994 (cosh_test_towardzero): Likewise.
6995 (cosh_test_downward): Likewise.
6996 (cosh_test_upward): Likewise.
6997 (cpow_test): Use END_COMPLEX macro without arguments.
6998 (cproj_test): Likewise.
6999 (creal_test): Use END macro without arguments.
7000 (csin_test): Use END_COMPLEX macro without arguments.
7001 (csinh_test): Likewise.
7002 (csqrt_test): Likewise.
7003 (ctan_test): Likewise.
7004 (ctan_test_tonearest): Likewise.
7005 (ctan_test_towardzero): Likewise.
7006 (ctan_test_downward): Likewise.
7007 (ctan_test_upward): Likewise.
7008 (ctanh_test): Likewise.
7009 (ctanh_test_tonearest): Likewise.
7010 (ctanh_test_towardzero): Likewise.
7011 (ctanh_test_downward): Likewise.
7012 (ctanh_test_upward): Likewise.
7013 (erf_test): Use END macro without arguments.
7014 (erfc_test): Likewise.
7015 (exp_test): Likewise.
7016 (exp_test_tonearest): Likewise.
7017 (exp_test_towardzero): Likewise.
7018 (exp_test_downward): Likewise.
7019 (exp_test_upward): Likewise.
7020 (exp10_test): Likewise.
7021 (exp2_test): Likewise.
7022 (expm1_test): Likewise.
7023 (fabs_test): Likewise.
7024 (fdim_test): Likewise.
7025 (finite_test): Likewise.
7026 (floor_test): Likewise.
7027 (fma_test): Likewise.
7028 (fma_test_towardzero): Likewise.
7029 (fma_test_downward): Likewise.
7030 (fma_test_upward): Likewise.
7031 (fmax_test): Likewise.
7032 (fmin_test): Likewise.
7033 (fmod_test): Likewise.
7034 (fpclassify_test): Likewise.
7035 (frexp_test): Likewise.
7036 (gamma_test): Likewise.
7037 (hypot_test): Likewise.
7038 (ilogb_test): Likewise.
7039 (isfinite_test): Likewise.
7040 (isgreater_test): Likewise.
7041 (isgreaterequal_test): Likewise.
7042 (isinf_test): Likewise.
7043 (isless_test): Likewise.
7044 (islessequal_test): Likewise.
7045 (islessgreater_test): Likewise.
7046 (isnan_test): Likewise.
7047 (isnormal_test): Likewise.
7048 (issignaling_test): Likewise.
7049 (isunordered_test): Likewise.
7050 (j0_test): Likewise.
7051 (j1_test): Likewise.
7052 (jn_test): Likewise.
7053 (ldexp_test): Likewise.
7054 (lgamma_test): Likewise.
7055 (lrint_test): Likewise.
7056 (lrint_test_tonearest): Likewise.
7057 (lrint_test_towardzero): Likewise.
7058 (lrint_test_downward): Likewise.
7059 (lrint_test_upward): Likewise.
7060 (llrint_test): Likewise.
7061 (llrint_test_tonearest): Likewise.
7062 (llrint_test_towardzero): Likewise.
7063 (llrint_test_downward): Likewise.
7064 (llrint_test_upward): Likewise.
7065 (log_test): Likewise.
7066 (log10_test): Likewise.
7067 (log1p_test): Likewise.
7068 (log2_test): Likewise.
7069 (logb_test): Likewise.
7070 (logb_test_downward): Likewise.
7071 (lround_test): Likewise.
7072 (llround_test): Likewise.
7073 (modf_test): Likewise.
7074 (nearbyint_test): Likewise.
7075 (nextafter_test): Likewise.
7076 (nexttoward_test): Likewise.
7077 (pow_test): Likewise.
7078 (pow_test_tonearest): Likewise.
7079 (pow_test_towardzero): Likewise.
7080 (pow_test_downward): Likewise.
7081 (pow_test_upward): Likewise.
7082 (remainder_test): Likewise.
7083 (remainder_test_tonearest): Likewise.
7084 (remainder_test_towardzero): Likewise.
7085 (remainder_test_downward): Likewise.
7086 (remainder_test_upward): Likewise.
7087 (remquo_test): Likewise.
7088 (rint_test): Likewise.
7089 (rint_test_tonearest): Likewise.
7090 (rint_test_towardzero): Likewise.
7091 (rint_test_downward): Likewise.
7092 (rint_test_upward): Likewise.
7093 (round_test): Likewise.
7094 (scalb_test): Likewise.
7095 (scalbn_test): Likewise.
7096 (scalbln_test): Likewise.
7097 (signbit_test): Likewise.
7098 (sin_test): Likewise.
7099 (sin_test_tonearest): Likewise.
7100 (sin_test_towardzero): Likewise.
7101 (sin_test_downward): Likewise.
7102 (sin_test_upward): Likewise.
7103 (sincos_test): Likewise.
7104 (sinh_test): Likewise.
7105 (sinh_test_tonearest): Likewise.
7106 (sinh_test_towardzero): Likewise.
7107 (sinh_test_downward): Likewise.
7108 (sinh_test_upward): Likewise.
7109 (sqrt_test): Likewise.
7110 (tan_test): Likewise.
7111 (tan_test_tonearest): Likewise.
7112 (tan_test_towardzero): Likewise.
7113 (tan_test_downward): Likewise.
7114 (tan_test_upward): Likewise.
7115 (tanh_test): Likewise.
7116 (tgamma_test): Likewise.
7117 (trunc_test): Likewise.
7118 (y0_test): Likewise.
7119 (y1_test): Likewise.
7120 (yn_test): Likewise.
7121 (significand_test): Likewise.
7122
bae143d2
OB
71232013-05-24 Ondřej Bílka <neleai@seznam.cz>
7124
7125 [BZ #15381]
7126 * libio/genops.c (_IO_no_init): Initialize wide struct info.
7127
9323d39b
EM
71282013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
7129
d4ea44a0 7130 [BZ #14894]
9323d39b
EM
7131 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
7132 __ppc_mdoio and __ppc_mdoom.
7133 * manual/platform.texi: Document new functions __ppc_yield,
7134 __ppc_mdoio and __ppc_mdoom.
7135
13e23af7
CD
71362013-05-22 Carlos O'Donell <carlos@redhat.com>
7137
7138 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
7139 (main): Mention "tls" pseudo-hwcap is legacy.
7140 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
7141
351fe550
JM
71422013-05-22 Joseph Myers <joseph@codesourcery.com>
7143
7144 * math/gen-libm-test.pl (parse_args): Output only string of
7145 arguments as text for test name, not full call or descriptions of
7146 tests for extra outputs.
7147 (generate_testfile): Do not pass function name to parse_args.
7148 Generate this_func variable from START.
7149 * math/libm-test.inc (struct test_f_f_data): Rename test_name
7150 field to arg_str.
7151 (struct test_ff_f_data): Likewise.
7152 (test_ff_f_data_nexttoward): Likewise.
7153 (struct test_fi_f_data): Likewise.
7154 (struct test_fl_f_data): Likewise.
7155 (struct test_if_f_data): Likewise.
7156 (struct test_fff_f_data): Likewise.
7157 (struct test_c_f_data): Likewise.
7158 (struct test_f_f1_data): Likewise. Remove field extra_name.
7159 (struct test_fF_f1_data): Likewise.
7160 (struct test_ffI_f1_data): Likewise.
7161 (struct test_c_c_data): Rename test_name field to arg_str.
7162 (struct test_cc_c_data): Likewise.
7163 (struct test_f_i_data): Likewise.
7164 (struct test_ff_i_data): Likewise.
7165 (struct test_f_l_data): Likewise.
7166 (struct test_f_L_data): Likewise.
7167 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
7168 and extra2_name.
7169 (COMMON_TEST_SETUP): New macro.
7170 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
7171 (COMMON_TEST_CLEANUP): Likewise.
7172 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
7173 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
7174 macros.
7175 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
7176 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
7177 macros.
7178 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
7179 (RUN_TEST_fff_f): Take argument string. Call new setup and
7180 cleanup macros.
7181 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
7182 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
7183 macros.
7184 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
7185 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
7186 macros.
7187 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7188 (RUN_TEST_fF_f1): Take argument string. Call new setup and
7189 cleanup macros.
7190 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7191 (RUN_TEST_fI_f1): Take argument string. Call new setup and
7192 cleanup macros.
7193 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7194 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
7195 cleanup macros.
7196 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7197 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
7198 macros.
7199 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
7200 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
7201 macros.
7202 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
7203 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
7204 macros.
7205 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
7206 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
7207 cleanup macros.
7208 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
7209 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
7210 cleanup macros.
7211 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
7212 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
7213 macros.
7214 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
7215 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
7216 cleanup macros.
7217 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
7218 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
7219 macros.
7220 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
7221 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
7222 macros.
7223 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
7224 (RUN_TEST_fFF_11): Take argument string. Call new setup and
7225 cleanup macros.
7226 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
7227
85118d4d
EBM
72282013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7229
7230 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
7231 to _sifields.sigfault.
7232 (si_addr_lsb): Define new macro.
7233 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7234 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7235 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
7236
7a44c18f
CD
72372013-05-03 Carlos O'Donell <carlos at redhat.com>
7238
7239 [BZ #15441]
7240 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
7241 returns -1.
7242 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
7243 null return -1.
7244 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
7245 loading the domain.
7246
b50a7181
JM
72472013-05-22 Joseph Myers <joseph@codesourcery.com>
7248
7249 * math/gen-libm-test.pl (parse_args): Do not include expected
7250 result in test name.
7251 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
7252 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7253 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7254 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7255 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7257
051063c8
SP
72582013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7259
3ce9e010
SP
7260 * benchtests/Makefile: Sort function entries.
7261
051063c8
SP
7262 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
7263 tanh, asinh, acosh, atanh.
7264 * benchtests/acos-inputs: New file.
7265 * benchtests/acosh-inputs: New file.
7266 * benchtests/asin-inputs: New file.
7267 * benchtests/asinh-inputs: New file.
7268 * benchtests/atanh-inputs: New file.
7269 * benchtests/cosh-inputs: New file.
7270 * benchtests/log-inputs: New file.
7271 * benchtests/sinh-inputs: New file.
7272 * benchtests/tanh-inputs: New file.
7273
47c22455
DL
72742013-05-21 Dmitry V. Levin <ldv@altlinux.org>
7275
7276 [BZ #15339]
7277 * posix/tst-getaddrinfo4.c: New test.
7278 * posix/Makefile (tests): Add it.
7279
3d04f5db
SP
72802013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7281
7282 [BZ #15339]
7283 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
7284 when no services were used.
7285 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
7286 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
7287
d5dd6189
AS
72882013-05-21 Andreas Schwab <schwab@suse.de>
7289
7290 [BZ #15014]
7291 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
7292 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
7293 successful.
7294 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
7295 redundant variable declarations and reallocation of buffer when
7296 parsing as IPv6 address. Always set NSS status when called from
7297 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
7298 buffer too small. Correct computation of needed size.
7299 * nss/Makefile (tests): Add test-digits-dots.
7300 * nss/test-digits-dots.c: New test.
7301
fef94eab
SP
73022013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7303
7304 * benchtests/Makefile: Remove instructions for adding
7305 benchmark tests.
7306 * benchtests/README: New file to explain how to execute and
7307 enhance the benchmark tests.
7308
e39adf43
AS
73092013-05-21 Andreas Schwab <schwab@suse.de>
7310
7311 [BZ #15493]
7312 * setjmp/Makefile (tests): Add tst-sigsetjmp.
7313 * setjmp/tst-sigsetjmp.c: New test.
7314
b2b671b6
OB
73152013-05-20 Ondřej Bílka <neleai@seznam.cz>
7316
7317 * sysdeps/x86_64/memset.S (memset): New implementation.
7318 (__bzero): Likewise.
7319 (__memset_tail): New function.
7320
2d48b41c
OB
73212013-05-20 Ondřej Bílka <neleai@seznam.cz>
7322
7323 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
7324 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
7325 __memcpy_sse2_unaligned ifunc selection.
7326 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7327 Add memcpy-sse2-unaligned.S.
7328 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7329 Add: __memcpy_sse2_unaligned.
7330
f16cc3eb
JM
73312013-05-19 Joseph Myers <joseph@codesourcery.com>
7332
3e694268
JM
7333 [BZ #15490]
7334 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7335 math_force_eval before restoring floating-point envrionment.
7336 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
7337 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
7338 Likewise.
7339 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
7340 <math_private.h>.
7341 (__nearbyintl): Use math_force_eval before restoring
7342 floating-point environment.
7343 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
7344
db62a907
JM
7345 * math/gen-libm-test.pl (special_functions): Remove.
7346 (parse_args): Don't handle TEST_extra. Handle functions with no
7347 return value.
7348 * math/libm-test.inc (struct test_sincos_data): Replace with
7349 struct test_fFF_11_data.
7350 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
7351 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
7352 (sincos_test_data): Change element type to struct
7353 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
7354 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
7355 RUN_TEST_LOOP_sincos.
7356 * math/README.libm-test: Don't mention special handling of
7357 individual functions.
7358 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
7359 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7360 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7361 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7362 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7364
f16cc3eb
JM
7365 * math/gen-libm-test.pl (get_variable): Remove function.
7366 (parse_args): Don't show pointer parameters to call in test
7367 names. Use "extra output N" in test names for extra outputs
7368 rather than naming variables.
7369
3779b5b6
JM
73702013-05-18 Joseph Myers <joseph@codesourcery.com>
7371
2ee094ff
JM
7372 [BZ #15488]
7373 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
7374 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
7375 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
7376 double tests.
7377 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
7378 disable.
7379 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
7380 check_long_double.
7381
3779b5b6
JM
7382 * math/gen-libm-test.pl (@tests): Remove variable.
7383 ($count): Likewise.
7384 (new_test): Remove function.
7385 (show_exceptions): New function.
7386 (special_functions): Use show_exceptions instead of new_test.
7387 (parse_args): Likewise.
7388 (generate_testfile): Pass only function name in generated call to
7389 print_max_error or print_complex_max_error.
7390 (get_ulps): Do not handle complex tests specially.
7391 (output_test): Rename to ...
7392 (get_all_ulps_for_test): ... this. Return a string rather than
7393 printing to a file. Require ulps to be present.
7394 (output_ulps): Generate arrays rather than #defines.
7395 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
7396 (struct ulp_data): New type.
7397 (BUILD_COMPLEX_ULP): Remove macro.
7398 (compare_ulp_data): New function.
7399 (find_ulps): Likewise.
7400 (find_test_ulps): Likewise.
7401 (find_function_ulps): Likewise.
7402 (find_complex_function_ulps): Likewise.
7403 (print_max_error): Determine allowed ulps using
7404 find_function_ulps.
7405 (print_complex_max_error): Determine allowed ulps using
7406 find_complex_function_ulps.
7407 (check_float_internal): Determine max ulps using find_test_ulps.
7408 (check_float): Do not take max_ulp parameter. Update call to
7409 check_float_internal.
7410 (check_complex): Likewise.
7411 (check_int): Do not take max_ulp parameter.
7412 (check_long): Likewise.
7413 (check_bool): Likewise.
7414 (check_longlong): Likewise.
7415 (struct test_f_f_data): Remove max_ulp field.
7416 (struct test_ff_f_data): Likewise.
7417 (struct test_ff_f_data_nexttoward): Likewise.
7418 (struct test_fi_f_data): Likewise.
7419 (struct test_fl_f_data): Likewise.
7420 (struct test_if_f_data): Likewise.
7421 (struct test_fff_f_data): Likewise.
7422 (struct test_c_f_data): Likewise.
7423 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
7424 (struct test_fF_f1_data): Likewise.
7425 (struct test_ffI_f1_data): Likewise.
7426 (struct test_c_c_data): Remove max_ulp field.
7427 (struct test_cc_c_data): Likewise.
7428 (struct test_f_i_data): Likewise.
7429 (struct test_ff_i_data): Likewise.
7430 (struct test_f_l_data): Likewise.
7431 (struct test_f_L_data): Likewise.
7432 (struct test_sincos_data): Likewise.
7433 (RUN_TEST_f_f): Do not handle ulps.
7434 (RUN_TEST_LOOP_f_f): Likewise.
7435 (RUN_TEST_2_f): Likewise.
7436 (RUN_TEST_LOOP_2_f): Likewise.
7437 (RUN_TEST_fff_f): Likewise.
7438 (RUN_TEST_LOOP_fff_f): Likewise.
7439 (RUN_TEST_c_f): Likewise.
7440 (RUN_TEST_LOOP_c_f): Likewise.
7441 (RUN_TEST_f_f1): Likewise.
7442 (RUN_TEST_LOOP_f_f1): Likewise.
7443 (RUN_TEST_fF_f1): Likewise.
7444 (RUN_TEST_LOOP_fF_f1): Likewise.
7445 (RUN_TEST_fI_f1): Likewise.
7446 (RUN_TEST_LOOP_fI_f1): Likewise.
7447 (RUN_TEST_ffI_f1): Likewise.
7448 (RUN_TEST_LOOP_ffI_f1): Likewise.
7449 (RUN_TEST_c_c): Likewise.
7450 (RUN_TEST_LOOP_c_c): Likewise.
7451 (RUN_TEST_cc_c): Likewise.
7452 (RUN_TEST_LOOP_cc_c): Likewise.
7453 (RUN_TEST_f_i): Likewise.
7454 (RUN_TEST_LOOP_f_i): Likewise.
7455 (RUN_TEST_f_i_tg): Likewise.
7456 (RUN_TEST_LOOP_f_i_tg): Likewise.
7457 (RUN_TEST_ff_i_tg): Likewise.
7458 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7459 (RUN_TEST_f_b): Likewise.
7460 (RUN_TEST_LOOP_f_b): Likewise.
7461 (RUN_TEST_f_b_tg): Likewise.
7462 (RUN_TEST_LOOP_f_b_tg): Likewise.
7463 (RUN_TEST_f_l): Likewise.
7464 (RUN_TEST_LOOP_f_l): Likewise.
7465 (RUN_TEST_f_L): Likewise.
7466 (RUN_TEST_LOOP_f_L): Likewise.
7467 (RUN_TEST_sincos): Likewise.
7468 (RUN_TEST_LOOP_sincos): Likewise.
7469
8269107f
JM
74702013-05-17 Joseph Myers <joseph@codesourcery.com>
7471
bb38759d
JM
7472 [BZ #15480]
7473 [BZ #15485]
7474 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
7475 main case of finite arguments, set rounding mode to FE_TONEAREST
7476 and discard exceptions.
7477 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
7478 exceptions.
7479 (remainder_tonearest_test_data): New variable.
7480 (remainder_test_tonearest): New function.
7481 (remainder_towardzero_test_data): New variable.
7482 (remainder_test_towardzero): New function.
7483 (remainder_downward_test_data): New variable.
7484 (remainder_test_downward): New function.
7485 (remainder_upward_test_data): New variable.
7486 (remainder_test_upward): New function.
7487 (main): Call the new test functions.
7488
a00bdcf0
JM
7489 * math/libm-test.inc (struct test_f_f1_data): Remove field
7490 extra_init.
7491 (struct test_fF_f1_data): Likewise.
7492 (struct test_ffI_f1_data): Likewise.
7493 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
7494 based on value of EXTRA_EXPECTED.
7495 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7496 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
7497 EXTRA_VAR based on value of EXTRA_EXPECTED.
7498 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7499 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
7500 EXTRA_VAR based on value of EXTRA_EXPECTED.
7501 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7502 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
7503 EXTRA_VAR based on value of EXTRA_EXPECTED.
7504 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7505 * math/gen-libm-test.pl (parse_args): Don't output initializers
7506 for extra output values.
7507
de407f79
JM
7508 * math/libm-test.inc (check_int): Expect result to be exactly
7509 equal to expected value and do not handle ulps.
7510 (check_long): Likewise.
7511 (check_longlong): Likewise.
7512
8269107f
JM
7513 * math/libm-test.inc (ceil_test_data): Test for "inexact"
7514 exceptions.
7515 (cimag_test_data): Likewise.
7516 (conj_test_data): Likewise.
7517 (copysign_test_data): Likewise.
7518 (cproj_test_data): Likewise.
7519 (creal_test_data): Likewise.
7520 (fabs_test_data): Likewise.
7521 (fdim_test_data): Likewise.
7522 (finite_test_data): Likewise.
7523 (floor_test_data): Likewise.
7524 (fmax_test_data): Likewise.
7525 (fmin_test_data): Likewise.
7526 (fmod_test_data): Likewise.
7527 (fpclassify_test_data): Likewise.
7528 (frexp_test_data): Likewise.
7529 (ilogb_test_data): Likewise.
7530 (isfinite_test_data): Likewise.
7531 (isgreater_test_data): Likewise.
7532 (isgreaterequal_test_data): Likewise.
7533 (isinf_test_data): Likewise.
7534 (isless_test_data): Likewise.
7535 (islessequal_test_data): Likewise.
7536 (islessgreater_test_data): Likewise.
7537 (isnan_test_data): Likewise.
7538 (isnormal_test_data): Likewise.
7539 (issignaling_test_data): Likewise.
7540 (isunordered_test_data): Likewise.
7541 (ldexp_test_data): Likewise.
7542 (lrint_test_data): Likewise.
7543 (lrint_test_data) [TEST_FLOAT]: Disable one test.
7544 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
7545 (lrint_tonearest_test_data): Test for "inexact" exceptions.
7546 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7547 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
7548 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7549 test input.
7550 (lrint_towardzero_test_data): Test for "inexact" exceptions.
7551 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7552 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
7553 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
7554 that test input.
7555 (lrint_downward_test_data): Test for "inexact" exceptions.
7556 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7557 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
7558 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7559 test input.
7560 (lrint_upward_test_data): Test for "inexact" exceptions.
7561 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
7562 test input.
7563 (llrint_test_data): Test for "inexact" exceptions.
7564 (llrint_test_data) [TEST_FLOAT]: Disable one test.
7565 (llrint_tonearest_test_data): Test for "inexact" exceptions.
7566 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7567 (llrint_towardzero_test_data): Test for "inexact" exceptions.
7568 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7569 (llrint_downward_test_data): Test for "inexact" exceptions.
7570 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7571 (llrint_upward_test_data): Test for "inexact" exceptions.
7572 (logb_test_data): Likewise.
7573 (logb_downward_test_data): Likewise.
7574 (nextafter_test_data): Likewise.
7575 (nexttoward_test_data): Likewise.
7576 (remainder_test_data): Likewise.
7577 (remquo_test_data): Likewise.
7578 (scalbn_test_data): Likewise.
7579 (scalbln_test_data): Likewise.
7580 (signbit_test_data): Likewise.
7581 (sqrt_test_data): Likewise.
7582 (significand_test_data): Likewise.
7583
48a18de1
SP
75842013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7585
7586 [BZ #15424]
7587 * benchtests/bench-modf.c (struct args): Mark arg0 as
7588 volatile.
7589 * scripts/bench.pl: Mark members of struct args as volatile.
7590
13d3b41a
AZ
75912013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7592
68191c1d 7593 [BZ # 15497]
13d3b41a
AZ
7594 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
7595 negative infinity on POWER6 or lower.
7596 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
7597
2848b105
MR
75982013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
7599
7600 [BZ #15442]
7601 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
7602 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
7603 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
7604 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
7605 (_FP_SETQNAN): New macro.
7606 (_FP_SETQNAN_SEMIRAW): Likewise.
7607 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
7608 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
7609 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
7610 (FP_EXTEND): Use _FP_FRAC_SNANP.
7611 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
7612 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
7613 into account.
7614 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7615 New macro.
7616 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7617 Likewise.
7618
323e5cb7
JM
76192013-05-16 Joseph Myers <joseph@codesourcery.com>
7620
c58b274f
JM
7621 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
7622 with DIVIDE_BY_ZERO_EXCEPTION.
7623 (gamma_test_data): Likewise.
7624 (lgamma_test_data): Likewise.
7625 (log_test_data): Likewise.
7626 (log10_test_data): Likewise.
7627 (log2_test_data): Likewise.
7628 (tgamma_test_data): Likewise.
7629
0ab34904
JM
7630 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
7631 (acos_test_tonearest): Likewise.
7632 (acos_test_towardzero): Likewise.
7633 (acos_test_downward): Likewise.
7634 (acos_test_upward): Likewise.
7635 (acosh_test): Likewise.
7636 (asin_test): Likewise.
7637 (asin_test_tonearest): Likewise.
7638 (asin_test_towardzero): Likewise.
7639 (asin_test_downward): Likewise.
7640 (asin_test_upward): Likewise.
7641 (asinh_test): Likewise.
7642 (atan_test): Likewise.
7643 (atanh_test): Likewise.
7644 (atan2_test): Likewise.
7645 (cabs_test): Likewise.
7646 (cacos_test): Likewise.
7647 (cacosh_test): Likewise.
7648 (casin_test): Likewise.
7649 (casinh_test): Likewise.
7650 (catan_test): Likewise.
7651 (catanh_test): Likewise.
7652 (cbrt_test): Likewise.
7653 (ccos_test): Likewise.
7654 (ccosh_test): Likewise.
7655 (cexp_test): Likewise.
7656 (clog_test): Likewise.
7657 (clog10_test): Likewise.
7658 (cos_test): Likewise.
7659 (cos_test_tonearest): Likewise.
7660 (cos_test_towardzero): Likewise.
7661 (cos_test_downward): Likewise.
7662 (cos_test_upward): Likewise.
7663 (cosh_test): Likewise.
7664 (cosh_test_tonearest): Likewise.
7665 (cosh_test_towardzero): Likewise.
7666 (cosh_test_downward): Likewise.
7667 (cosh_test_upward): Likewise.
7668 (cpow_test): Likewise.
7669 (csin_test): Likewise.
7670 (csinh_test): Likewise.
7671 (csqrt_test): Likewise.
7672 (ctan_test): Likewise.
7673 (ctan_test_tonearest): Likewise.
7674 (ctan_test_towardzero): Likewise.
7675 (ctan_test_downward): Likewise.
7676 (ctan_test_upward): Likewise.
7677 (ctanh_test): Likewise.
7678 (ctanh_test_tonearest): Likewise.
7679 (ctanh_test_towardzero): Likewise.
7680 (ctanh_test_downward): Likewise.
7681 (ctanh_test_upward): Likewise.
7682 (erf_test): Likewise.
7683 (erfc_test): Likewise.
7684 (exp_test): Likewise.
7685 (exp_test_tonearest): Likewise.
7686 (exp_test_towardzero): Likewise.
7687 (exp_test_downward): Likewise.
7688 (exp_test_upward): Likewise.
7689 (exp10_test): Likewise.
7690 (exp2_test): Likewise.
7691 (expm1_test): Likewise.
7692 (fmod_test): Likewise.
7693 (gamma_test): Likewise.
7694 (hypot_test): Likewise.
7695 (j0_test): Likewise.
7696 (j1_test): Likewise.
7697 (jn_test): Likewise.
7698 (lgamma_test): Likewise.
7699 (log_test): Likewise.
7700 (log10_test): Likewise.
7701 (log1p_test): Likewise.
7702 (log2_test): Likewise.
7703 (logb_test_downward): Likewise.
7704 (pow_test): Likewise.
7705 (pow_test_tonearest): Likewise.
7706 (pow_test_towardzero): Likewise.
7707 (pow_test_downward): Likewise.
7708 (pow_test_upward): Likewise.
7709 (remainder_test): Likewise.
7710 (remquo_test): Likewise.
7711 (sin_test): Likewise.
7712 (sin_test_tonearest): Likewise.
7713 (sin_test_towardzero): Likewise.
7714 (sin_test_downward): Likewise.
7715 (sin_test_upward): Likewise.
7716 (sincos_test): Likewise.
7717 (sinh_test): Likewise.
7718 (sinh_test_tonearest): Likewise.
7719 (sinh_test_towardzero): Likewise.
7720 (sinh_test_downward): Likewise.
7721 (sinh_test_upward): Likewise.
7722 (sqrt_test): Likewise.
7723 (tan_test): Likewise.
7724 (tan_test_tonearest): Likewise.
7725 (tan_test_towardzero): Likewise.
7726 (tan_test_downward): Likewise.
7727 (tan_test_upward): Likewise.
7728 (tanh_test): Likewise.
7729 (tgamma_test): Likewise.
7730 (y0_test): Likewise.
7731 (y1_test): Likewise.
7732 (yn_test): Likewise.
7733
323e5cb7
JM
7734 * math/gen-libm-test.pl (adjust_arg): Remove function.
7735 (special_function): Remove argument $in_func. Only handle
7736 generating output for tables of tests, not inside functions.
7737 (parse_args): Likewise.
7738 (generate_testfile): Remove variable $in_func. Update call to
7739 parse_args.
7740 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
7741 (MINUS_ZERO_INIT): Rename macro to minus_zero.
7742 (PLUS_INFTY_INIT): Rename macro to plus_infty.
7743 (MINUS_INFTY_INIT): Rename macro to minus_infty.
7744 (QNAN_VALUE_INIT): Rename macro to qnan_value.
7745 (MAX_VALUE_INIT): Rename macro to max_value.
7746 (MIN_VALUE_INIT): Rename macro to min_value.
7747 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
7748 (plus_zero): Remove variable.
7749 (minus_zero): Likewise.
7750 (plus_infty): Likewise.
7751 (minus_infty): Likewise.
7752 (qnan_value): Likewise.
7753 (max_value): Likewise.
7754 (min_value): Likewise.
7755 (min_subnorm_value): Likewise.
7756
e054f494
RA
77572013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7758
7759 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
7760 uint64_t or uint32_t usage.
7761 * crypt/sha256-block.c: Likewise.
7762 * crypt/sha256-crypt.c: Likewise.
7763 * crypt/sha256.c: Likewise.
7764 * crypt/sha512-block.c: Likewise.
7765 * crypt/sha512-crypt.c: Likewise.
7766 * crypt/sha512.c: Likewise.
7767 * debug/backtrace-tst.c: Likewise.
7768 * debug/pcprofiledump.c: Likewise.
7769 * elf/cache.c: Likewise.
7770 * elf/dl-cache.c: Likewise.
7771 * elf/dl-misc.c: Likewise.
7772 * elf/dl-profile.c: Likewise.
7773 * elf/dl-support.c: Likewise.
7774 * elf/ldconfig.c: Likewise.
7775 * elf/sprof.c: Likewise.
7776 * iconv/dummy-repertoire.c: Likewise.
7777 * iconv/iconv_charmap.c: Likewise.
7778 * iconv/skeleton.c: Likewise.
7779 * iconvdata/8bit-generic.c: Likewise.
7780 * iconvdata/cp737.h: Likewise.
7781 * iconvdata/cp775.h: Likewise.
7782 * iconvdata/ibm1008.h: Likewise.
7783 * iconvdata/ibm1025.h: Likewise.
7784 * iconvdata/ibm1046.h: Likewise.
7785 * iconvdata/ibm1097.h: Likewise.
7786 * iconvdata/ibm1112.h: Likewise.
7787 * iconvdata/ibm1122.h: Likewise.
7788 * iconvdata/ibm1123.h: Likewise.
7789 * iconvdata/ibm1124.h: Likewise.
7790 * iconvdata/ibm1129.h: Likewise.
7791 * iconvdata/ibm1130.h: Likewise.
7792 * iconvdata/ibm1132.h: Likewise.
7793 * iconvdata/ibm1133.h: Likewise.
7794 * iconvdata/ibm1137.h: Likewise.
7795 * iconvdata/ibm1140.h: Likewise.
7796 * iconvdata/ibm1141.h: Likewise.
7797 * iconvdata/ibm1142.h: Likewise.
7798 * iconvdata/ibm1143.h: Likewise.
7799 * iconvdata/ibm1144.h: Likewise.
7800 * iconvdata/ibm1145.h: Likewise.
7801 * iconvdata/ibm1146.h: Likewise.
7802 * iconvdata/ibm1147.h: Likewise.
7803 * iconvdata/ibm1148.h: Likewise.
7804 * iconvdata/ibm1149.h: Likewise.
7805 * iconvdata/ibm1153.h: Likewise.
7806 * iconvdata/ibm1154.h: Likewise.
7807 * iconvdata/ibm1155.h: Likewise.
7808 * iconvdata/ibm1156.h: Likewise.
7809 * iconvdata/ibm1157.h: Likewise.
7810 * iconvdata/ibm1158.h: Likewise.
7811 * iconvdata/ibm1160.h: Likewise.
7812 * iconvdata/ibm1161.h: Likewise.
7813 * iconvdata/ibm1162.h: Likewise.
7814 * iconvdata/ibm1163.h: Likewise.
7815 * iconvdata/ibm1164.h: Likewise.
7816 * iconvdata/ibm1166.h: Likewise.
7817 * iconvdata/ibm1167.h: Likewise.
7818 * iconvdata/ibm12712.h: Likewise.
7819 * iconvdata/ibm1390.h: Likewise.
7820 * iconvdata/ibm1399.h: Likewise.
7821 * iconvdata/ibm16804.h: Likewise.
7822 * iconvdata/ibm4517.h: Likewise.
7823 * iconvdata/ibm4899.h: Likewise.
7824 * iconvdata/ibm4909.h: Likewise.
7825 * iconvdata/ibm4971.h: Likewise.
7826 * iconvdata/ibm5347.h: Likewise.
7827 * iconvdata/ibm803.h: Likewise.
7828 * iconvdata/ibm856.h: Likewise.
7829 * iconvdata/ibm901.h: Likewise.
7830 * iconvdata/ibm902.h: Likewise.
7831 * iconvdata/ibm9030.h: Likewise.
7832 * iconvdata/ibm9066.h: Likewise.
7833 * iconvdata/ibm921.h: Likewise.
7834 * iconvdata/ibm922.h: Likewise.
7835 * iconvdata/ibm9448.h: Likewise.
7836 * iconvdata/isiri-3342.h: Likewise.
7837 * iconvdata/jis0201.h: Likewise.
7838 * include/link.h: Likewise.
7839 * include/netdb.h: Likewise.
7840 * inet/check_native.c: Likewise.
7841 * inet/check_pf.c: Likewise.
7842 * inet/getipv4sourcefilter.c: Likewise.
7843 * inet/getnameinfo.c: Likewise.
7844 * inet/getsourcefilter.c: Likewise.
7845 * inet/htonl.c: Likewise.
7846 * inet/setipv4sourcefilter.c: Likewise.
7847 * inet/setsourcefilter.c: Likewise.
7848 * inet/test-inet6_opt.c: Likewise.
7849 * inet/tst-network.c: Likewise.
7850 * locale/C-collate.c: Likewise.
7851 * locale/C-ctype.c: Likewise.
7852 * locale/C-time.c: Likewise.
7853 * locale/C-translit.h: Likewise.
7854 * locale/loadarchive.c: Likewise.
7855 * locale/programs/3level.h: Likewise.
7856 * locale/programs/charmap.c: Likewise.
7857 * locale/programs/charmap.h: Likewise.
7858 * locale/programs/ld-address.c: Likewise.
7859 * locale/programs/ld-collate.c: Likewise.
7860 * locale/programs/ld-ctype.c: Likewise.
7861 * locale/programs/ld-identification.c: Likewise.
7862 * locale/programs/ld-measurement.c: Likewise.
7863 * locale/programs/ld-messages.c: Likewise.
7864 * locale/programs/ld-monetary.c: Likewise.
7865 * locale/programs/ld-name.c: Likewise.
7866 * locale/programs/ld-numeric.c: Likewise.
7867 * locale/programs/ld-paper.c: Likewise.
7868 * locale/programs/ld-telephone.c: Likewise.
7869 * locale/programs/ld-time.c: Likewise.
7870 * locale/programs/linereader.c: Likewise.
7871 * locale/programs/locale.c: Likewise.
7872 * locale/programs/locarchive.c: Likewise.
7873 * locale/programs/locfile.h: Likewise.
7874 * locale/programs/repertoire.c: Likewise.
7875 * locale/programs/simple-hash.c: Likewise.
7876 * locale/programs/simple-hash.h: Likewise.
7877 * malloc/memusage.c: Likewise.
7878 * malloc/memusagestat.c: Likewise.
7879 * nis/nis_defaults.c: Likewise.
7880 * nis/nis_hash.c: Likewise.
7881 * nis/nis_print.c: Likewise.
7882 * nis/nis_xdr.c: Likewise.
7883 * nscd/connections.c: Likewise.
7884 * nscd/hstcache.c: Likewise.
7885 * nscd/nscd_gethst_r.c: Likewise.
7886 * nscd/nscd_getserv_r.c: Likewise.
7887 * nscd/nscd_helper.c: Likewise.
7888 * nscd/servicescache.c: Likewise.
7889 * nss/makedb.c: Likewise.
7890 * nss/nss_db/db-XXX.c: Likewise.
7891 * nss/nss_db/db-initgroups.c: Likewise.
7892 * nss/nss_db/db-netgrp.c: Likewise.
7893 * nss/nss_files/files-network.c: Likewise.
7894 * nss/nss_files/files-parse.c: Likewise.
7895 * posix/bug-regex5.c: Likewise.
7896 * posix/fnmatch_loop.c: Likewise.
7897 * posix/regcomp.c: Likewise.
7898 * posix/regexec.c: Likewise.
7899 * posix/tst-rfc3484-2.c: Likewise.
7900 * posix/tst-rfc3484-3.c: Likewise.
7901 * posix/tst-rfc3484.c: Likewise.
7902 * resolv/nss_dns/dns-canon.c: Likewise.
7903 * resolv/nss_dns/dns-network.c: Likewise.
7904 * resolv/res_init.c: Likewise.
7905 * resolv/res_mkquery.c: Likewise.
7906 * resolv/tst-aton.c: Likewise.
7907 * stdlib/cxa_atexit.c: Likewise.
7908 * stdlib/cxa_finalize.c: Likewise.
7909 * stdlib/gen-fpioconst.c: Likewise.
7910 * stdlib/strtol_l.c: Likewise.
7911 * string/tst-endian.c: Likewise.
7912 * sunrpc/auth_des.c: Likewise.
7913 * sunrpc/clnt_udp.c: Likewise.
7914 * sunrpc/rtime.c: Likewise.
7915 * sunrpc/svcauth_des.c: Likewise.
7916 * sunrpc/xdr.c: Likewise.
7917 * sunrpc/xdr_intXX_t.c: Likewise.
7918 * sunrpc/xdr_rec.c: Likewise.
7919 * sysdeps/generic/ldconfig.h: Likewise.
7920 * sysdeps/generic/ldsodefs.h: Likewise.
7921 * sysdeps/generic/memusage.h: Likewise.
7922 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7923 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
7924 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
7925 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7926 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7927 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7928 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7929 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7930 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7931 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7932 * sysdeps/posix/getaddrinfo.c: Likewise.
7933 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7934 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7935 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7936 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7937 * sysdeps/powerpc/test-gettimebase.c: Likewise.
7938 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7939 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
7940 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
7941 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7942 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
7943 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7944 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7945 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
7946 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
7947 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
7948 * sysdeps/x86_64/dl-tls.h: Likewise.
7949 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
7950 * time/alt_digit.c: Likewise.
7951 * time/era.c: Likewise.
7952 * wcsmbs/tst-c16c32-1.c: Likewise.
7953
8c75f674
JM
79542013-05-16 Joseph Myers <joseph@codesourcery.com>
7955
7956 * math/libm-test.inc (struct test_sincos_data): New type.
7957 (RUN_TEST_LOOP_sincos): New macro.
7958 (sincos_test_data): New variable.
7959 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
7960
e6e49e59
RH
79612013-05-16 Richard Henderson <rth@redhat.com>
7962
7963 * math/atest-exp2.c (LIMB64): New macro.
7964 (CONSTSZ): New macro.
7965 (mp_exp1, mp_exp_m1, mp_log2): New variables.
7966 (hexdig): Move ...
7967 (print_mpn_fp): ... to function scope.
7968 (read_mpn_hex): Remove.
7969 (get_log2): Remove.
7970 (exp2_mpn): Use mp_log2.
7971 (main): Use mp_exp1.
7972
15c7c18d
JM
79732013-05-16 Joseph Myers <joseph@codesourcery.com>
7974
105a07df
JM
7975 * math/libm-test.inc: Remove comment about not testing "inexact"
7976 exceptions.
7977 (INEXACT_EXCEPTION): New macro.
7978 (NO_INEXACT_EXCEPTION): Likewise.
7979 (INVALID_EXCEPTION_OK): Update value.
7980 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7981 (OVERFLOW_EXCEPTION_OK): Likewise.
7982 (UNDERFLOW_EXCEPTION_OK): Likewise.
7983 (IGNORE_ZERO_INF_SIGN): Likewise.
7984 (ERRNO_UNCHANGED): Likewise.
7985 (ERRNO_EDOM): Likewise.
7986 (ERRNO_ERANGE): Likewise.
7987 (test_exceptions): Handle testing "inexact" exceptions.
7988 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
7989 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
7990 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
7991 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
7992 INEXACT_EXCEPTION.
7993 (rint_towardzero_test_data): Likewise.
7994 (rint_downward_test_data): Likewise.
7995 (rint_upward_test_data): Likewise.
7996
e9eee333
JM
7997 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
7998 with OVERFLOW_EXCEPTION.
7999 (exp10_test_data): Likewise.
8000 (exp2_test_data): Likewise.
8001 (expm1_test_data): Likewise.
8002 (lgamma_test_data): Likewise.
8003 (pow_test_data): Likewise.
8004 (tgamma_test_data): Likewise.
8005 (yn_test_data): Remove duplicate test of overflow.
8006
1c38ff73
JM
8007 * math/libm-test.inc (struct test_cc_c_data): New type.
8008 (RUN_TEST_LOOP_cc_c): New macro.
8009 (cpow_test_data): New variable.
8010 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
8011
15c7c18d
JM
8012 * math/libm-test.inc (struct test_f_L_data): New type.
8013 (RUN_TEST_LOOP_f_L): New macro.
8014 (llrint_test_data): New variable.
8015 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
8016 (llrint_tonearest_test_data): New variable.
8017 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
8018 (llrint_towardzero_test_data): New variable.
8019 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
8020 (llrint_downward_test_data): New variable.
8021 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
8022 (llrint_upward_test_data): New variable.
8023 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
8024 (llround_test_data): New variable.
8025 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
8026
f137ff13
PC
80272013-05-13 Peter Collingbourne <pcc@google.com>
8028
8029 * math/atest-exp2.c (get_log2): Remove const attribute.
8030
3608cb24
JM
80312013-05-15 Joseph Myers <joseph@codesourcery.com>
8032
8033 * math/libm-test.inc (struct test_f_l_data): New type.
8034 (RUN_TEST_LOOP_f_l): New macro.
8035 (lrint_test_data): New variable.
8036 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
8037 (lrint_tonearest_test_data): New variable.
8038 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
8039 (lrint_towardzero_test_data): New variable.
8040 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
8041 (lrint_downward_test_data): New variable.
8042 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
8043 (lrint_upward_test_data): New variable.
8044 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
8045 (lround_test_data): New variable.
8046 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
8047
39b1f617
PC
80482013-05-15 Peter Collingbourne <pcc@google.com>
8049
1deff3dc
PC
8050 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
8051 (EXTRACT_WORDS64) Use where appropriate.
8052 (INSERT_WORDS64) Likewise.
8053
791f3ba0
PC
8054 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
8055 constraints with x constraints.
8056 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
8057
39b1f617
PC
8058 * malloc/obstack.c (_obstack_compat): Add initializer.
8059
12fba011
EM
80602013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
8061
8062 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
8063 si_trapno and add si_addr_lsb to _sifields.sigfault.
8064 (si_trapno): Remove macro.
8065 (si_addr_lsb): Define new macro.
8066 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8067
d369f531
JM
80682013-05-15 Joseph Myers <joseph@codesourcery.com>
8069
b861c6c4
JM
8070 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
8071 instead of TEST_f_l.
8072 (llrint_test_tonearest): Likewise.
8073 (llrint_test_towardzero): Likewise.
8074 (llrint_test_downward): Likewise.
8075 (llrint_test_upward): Likewise.
8076 (llround_test): Likewise.
8077
7abeee12
JM
8078 * math/libm-test.inc (struct test_f_i_data): Add comment.
8079 (RUN_TEST_LOOP_f_b): New macro.
8080 (RUN_TEST_LOOP_f_b_tg): Likewise.
8081 (finite_test_data): New variable.
8082 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
8083 (isfinite_test_data): New variable.
8084 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8085 (isinf_test_data): New variable.
8086 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8087 (isnan_test_data): New variable.
8088 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8089 (isnormal_test_data): New variable.
8090 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8091 (issignaling_test_data): New variable.
8092 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8093 (signbit_test_data): New variable.
8094 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8095
cbe8c4d3
JM
8096 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
8097 with INVALID_EXCEPTION.
8098 (acosh_test_data): Likewise.
8099 (asin_test_data): Likewise.
8100 (atanh_test_data): Likewise.
8101 (fmod_test_data): Likewise.
8102 (log_test_data): Likewise.
8103 (log10_test_data): Likewise.
8104 (log2_test_data): Likewise.
8105 (pow_test_data): Likewise.
8106 (sqrt_test_data): Likewise.
8107 (y0_test_data): Likewise.
8108 (y1_test_data): Likewise.
8109 (yn_test_data): Likewise.
8110
5575c0e5
JM
8111 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
8112 function contents.
8113
d369f531
JM
8114 * math/libm-test.inc (struct test_ff_i_data): New type.
8115 (RUN_TEST_LOOP_ff_i_tg): New macro.
8116 (isgreater_test_data): New variable.
8117 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8118 (isgreaterequal_test_data): New variable.
8119 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8120 (isless_test_data): New variable.
8121 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8122 (islessequal_test_data): New variable.
8123 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8124 (islessgreater_test_data): New variable.
8125 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8126 (isunordered_test_data): New variable.
8127 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8128
781fd748
DM
81292013-05-14 David S. Miller <davem@davemloft.net>
8130
8131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8132
87aa21df
JM
81332013-05-14 Joseph Myers <joseph@codesourcery.com>
8134
5e908270
JM
8135 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
8136
f71172e5
JM
8137 * math/libm-test.inc (struct test_fF_f1_data): Change type of
8138 extra_test to int.
8139 (struct test_f_i_data): Change type of max_ulp to int.
8140
8cfa635a
JM
8141 * math/libm-test.inc (test_ffI_f1_data): New type.
8142 (RUN_TEST_LOOP_ffI_f1): New macro.
8143 (remquo_test_data): New variable.
8144 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
8145
2bcb36b2
JM
8146 * setjmp/tst-setjmp-fp.c: New file.
8147 * setjmp/Makefile (tests): Add tst-setjmp-fp.
8148 (link-libm): New variable.
8149 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
8150
acbd839a
JM
8151 * math/libm-test.inc (struct test_f_i_data): New type.
8152 (RUN_TEST_LOOP_f_i): New macro.
8153 (RUN_TEST_LOOP_f_i_tg): Likewise.
8154 (fpclassify_test_data): New variable.
8155 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
8156 (ilogb_test_data): New variable.
8157 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
8158
e414d745
JM
8159 * math/libm-test.inc (scalbln_test): Correct function name in END
8160 call.
8161
d9c2a0fd
JM
8162 * math/libm-test.inc (struct test_f_f1_data): Add comment.
8163 (RUN_TEST_LOOP_fI_f1): New macro.
8164 (frexp_test_data): New variable.
8165 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
8166
9dc9095d
JM
8167 * math/libm-test.inc (struct test_fF_f1_data): New type.
8168 (RUN_TEST_LOOP_fF_f1): New macro.
8169 (modf_test_data): New variable.
8170 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
8171
87aa21df
JM
8172 * math/libm-test.inc (struct test_f_f1_data): New type.
8173 (RUN_TEST_LOOP_f_f1): New macro.
8174 (gamma_test_data): New variable.
8175 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8176 (lgamma_test_data): New variable.
8177 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8178
141af660
CD
81792013-05-13 Carlos O'Donell <carlos@redhat.com>
8180
8181 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
8182 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
8183 (main): Comment "tls" pseudo-hwcap.
8184
6d33265c
JM
81852013-05-13 Joseph Myers <joseph@codesourcery.com>
8186
68fc074c
JM
8187 * math/libm-test.inc (struct test_fl_f_data): New type.
8188 (RUN_TEST_LOOP_fl_f): New variable.
8189 (scalbln_test_data): New variable.
8190 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
8191
243216e1
JM
8192 * math/libm-test.inc (struct test_fi_f_data): New type.
8193 (RUN_TEST_LOOP_fi_f): New macro.
8194 (ldexp_test_data): New variable.
8195 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
8196 (scalbn_test_data): New variable.
8197 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
8198
6a1992e2
JM
8199 * math/libm-test.inc (struct test_c_f_data): New type.
8200 (RUN_TEST_LOOP_c_f): New macro.
8201 (cabs_test_data): New variable.
8202 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
8203 (carg_test_data): New variable.
8204 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
8205 (cimag_test_data): New variable.
8206 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
8207 (creal_test_data): New variable.
8208 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
8209
0e400df5
JM
8210 * math/libm-test.inc (struct test_if_f_data): New type.
8211 (RUN_TEST_LOOP_if_f): New macro.
8212 (jn_test_data): New variable.
8213 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
8214 (yn_test_data): New variable.
8215 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
8216
6d33265c
JM
8217 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
8218
f98ece5f
AZ
82192013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8220
8221 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
8222 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
8223
0f7d347b
SP
82242013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8225
43fe811b
SP
8226 * benchtests/Makefile (CPPFLAGS-nonlib): Add
8227 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
8228 (bench-deps): Add bench-timing.h.
8229 * benchtests-bench-skeleton.c: Include bench-timing.h.
8230 (main): Use TIMING_* macros instead of clock_gettime.
8231 * benchtests/bench-timing.h: New file.
8232
0f7d347b
SP
8233 [BZ #14582]
8234 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
8235 Renamed from _LIB_VERSION.
8236 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
8237
601a3a5f
JM
82382013-05-12 Joseph Myers <joseph@codesourcery.com>
8239
4f184d30
JM
8240 * math/libm-test.inc (struct test_fff_f_data): New type.
8241 (RUN_TEST_LOOP_fff_f): New macro.
8242 (fma_test_data): New variable.
8243 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
8244 (fma_towardzero_test_data): New variable.
8245 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
8246 (fma_downward_test_data): New variable.
8247 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
8248 (fma_upward_test_data): New variable.
8249 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
8250
08198877
JM
8251 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
8252 (struct test_c_c_data): New type.
8253 (RUN_TEST_LOOP_c_c): New macro.
8254 (cacos_test_data): New variable.
8255 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
8256 (cacosh_test_data): New variable.
8257 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
8258 (casin_test_data): New variable.
8259 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
8260 (casinh_test_data): New variable.
8261 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
8262 (catan_test_data): New variable.
8263 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
8264 (catanh_test_data): New variable.
8265 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
8266 (ccos_test_data): New variable.
8267 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
8268 (ccosh_test_data): New variable.
8269 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
8270 (cexp_test_data): New variable.
8271 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
8272 (clog_test_data): New variable.
8273 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
8274 (clog10_test_data): New variable.
8275 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
8276 (conj_test_data): New variable.
8277 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
8278 (cproj_test_data): New variable.
8279 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
8280 (csin_test_data): New variable.
8281 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
8282 (csinh_test_data): New variable.
8283 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
8284 (csqrt_test_data): New variable.
8285 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
8286 (ctan_test_data): New variable.
8287 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
8288 (ctan_tonearest_test_data): New variable.
8289 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8290 (ctan_towardzero_test_data): New variable.
8291 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8292 (ctan_downward_test_data): New variable.
8293 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8294 (ctan_upward_test_data): New variable.
8295 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8296 (ctanh_test_data): New variable.
8297 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
8298 (ctanh_tonearest_test_data): New variable.
8299 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8300 (ctanh_towardzero_test_data): New variable.
8301 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8302 (ctanh_downward_test_data): New variable.
8303 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8304 (ctanh_upward_test_data): New variable.
8305 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8306 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
8307 of BUILD_COMPLEX.
8308
601a3a5f
JM
8309 * math/libm-test.inc (struct test_ff_f_data): New type.
8310 (struct test_ff_f_data_nexttoward): Likewise.
8311 (RUN_TEST_LOOP_2_f): New macro.
8312 (RUN_TEST_LOOP_ff_f): Likewise.
8313 (atan2_test_data): New variable.
8314 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
8315 (copysign_test_data): New variable.
8316 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
8317 (fdim_test_data): New variable.
8318 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
8319 (fmax_test_data): New variable.
8320 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
8321 (fmin_test_data): New variable.
8322 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
8323 (fmod_test_data): New variable.
8324 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
8325 (hypot_test_data): New variable.
8326 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
8327 (nextafter_test_data): New variable.
8328 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
8329 (nexttoward_test_data): New variable.
8330 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
8331 (pow_test_data): New variable.
8332 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
8333 (pow_tonearest_test_data): New variable.
8334 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
8335 (pow_towardzero_test_data): New variable.
8336 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
8337 (pow_downward_test_data): New variable.
8338 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
8339 (pow_upward_test_data): New variable.
8340 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
8341 (remainder_test_data): New variable.
8342 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
8343 (scalb_test_data): New variable.
8344 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
8345 * sysdeps/i386/fpu/libm-test-ulps: Update.
8346
74c57478
JM
83472013-05-11 Joseph Myers <joseph@codesourcery.com>
8348
8329e4da
JM
8349 * math/libm-test.inc (fma_test): Use max_value instead of local
8350 variable fltmax.
8351 (nextafter_test): Likewise.
8352
74c57478
JM
8353 * math/libm-test.inc (acos_towardzero_test_data): New variable.
8354 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8355 (acos_downward_test_data): New variable.
8356 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8357 (acos_upward_test_data): New variable.
8358 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8359 (acosh_test_data): New variable.
8360 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
8361 (asin_test_data): New variable.
8362 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
8363 (asin_tonearest_test_data): New variable.
8364 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8365 (asin_towardzero_test_data): New variable.
8366 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8367 (asin_downward_test_data): New variable.
8368 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8369 (asin_upward_test_data): New variable.
8370 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8371 (asinh_test_data): New variable.
8372 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
8373 (atan_test_data): New variable.
8374 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
8375 (atanh_test_data): New variable.
8376 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
8377 (cbrt_test_data): New variable.
8378 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
8379 (ceil_test_data): New variable.
8380 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
8381 (cos_test_data): New variable.
8382 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
8383 (cos_tonearest_test_data): New variable.
8384 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8385 (cos_towardzero_test_data): New variable.
8386 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8387 (cos_downward_test_data): New variable.
8388 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8389 (cos_upward_test_data): New variable.
8390 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8391 (cosh_test_data): New variable.
8392 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
8393 (cosh_tonearest_test_data): New variable.
8394 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8395 (cosh_towardzero_test_data): New variable.
8396 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8397 (cosh_downward_test_data): New variable.
8398 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8399 (cosh_upward_test_data): New variable.
8400 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8401 (erf_test_data): New variable.
8402 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
8403 (erfc_test_data): New variable.
8404 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
8405 (exp_test_data): New variable.
8406 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
8407 (exp_tonearest_test_data): New variable.
8408 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8409 (exp_towardzero_test_data): New variable.
8410 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8411 (exp_downward_test_data): New variable.
8412 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8413 (exp_upward_test_data): New variable.
8414 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8415 (exp10_test_data): New variable.
8416 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
8417 (exp2_test_data): New variable.
8418 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
8419 (expm1_test_data): New variable.
8420 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
8421 (fabs_test_data): New variable.
8422 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
8423 (floor_test_data): New variable.
8424 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
8425 (j0_test_data): New variable.
8426 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
8427 (j1_test_data): New variable.
8428 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
8429 (log_test_data): New variable.
8430 (log_test): Run tests with RUN_TEST_LOOP_f_f.
8431 (log10_test_data): New variable.
8432 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
8433 (log1p_test_data): New variable.
8434 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
8435 (log2_test_data): New variable.
8436 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
8437 (logb_test_data): New variable.
8438 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
8439 (logb_downward_test_data): New variable.
8440 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8441 (nearbyint_test_data): New variable.
8442 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
8443 (rint_test_data): New variable.
8444 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
8445 (rint_tonearest_test_data): New variable.
8446 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8447 (rint_towardzero_test_data): New variable.
8448 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8449 (rint_downward_test_data): New variable.
8450 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8451 (rint_upward_test_data): New variable.
8452 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8453 (round_test_data): New variable.
8454 (round_test): Run tests with RUN_TEST_LOOP_f_f.
8455 (sin_test_data): New variable.
8456 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
8457 (sin_tonearest_test_data): New variable.
8458 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8459 (sin_towardzero_test_data): New variable.
8460 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8461 (sin_downward_test_data): New variable.
8462 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8463 (sin_upward_test_data): New variable.
8464 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8465 (sinh_test_data): New variable.
8466 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
8467 (sinh_tonearest_test_data): New variable.
8468 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8469 (sinh_towardzero_test_data): New variable.
8470 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8471 (sinh_downward_test_data): New variable.
8472 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8473 (sinh_upward_test_data): New variable.
8474 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8475 (sqrt_test_data): New variable.
8476 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
8477 (tan_test_data): New variable.
8478 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
8479 (tan_tonearest_test_data): New variable.
8480 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8481 (tan_towardzero_test_data): New variable.
8482 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8483 (tan_downward_test_data): New variable.
8484 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8485 (tan_upward_test_data): New variable.
8486 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8487 (tanh_test_data): New variable.
8488 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
8489 (tgamma_test_data): New variable.
8490 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
8491 (trunc_test_data): New variable.
8492 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
8493 (y0_test_data): New variable.
8494 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
8495 (y1_test_data): New variable.
8496 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
8497 (significand_test_data): New variable.
8498 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
8499
7187d844
CG
85002013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
8501
8502 [BZ #12387]
8503 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
8504
f63fae73
PT
85052013-05-10 Pino Toscano <toscano.pino@tiscali.it>
8506
8507 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
8508
8a67a4b3
AJ
85092013-05-10 Andreas Jaeger <aj@suse.de>
8510
8511 [BZ #15448]
8512 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
8513 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
8514
51df539d
JM
85152013-05-10 Joseph Myers <joseph@codesourcery.com>
8516
8517 * math/gen-libm-test.pl (adjust_arg): New function.
8518 (special_functions): Handle generating output in both functions
8519 and arrays.
8520 (parse_args): Likewise.
8521 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
8522 $in_func argument to parse_args.
8523 * math/libm-test.inc (struct test_f_f_data): New type.
8524 (IF_ROUND_INIT_): New macro.
8525 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
8526 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8527 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8528 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8529 (ROUND_RESTORE_): Likewise.
8530 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
8531 (ROUND_RESTORE_FE_TONEAREST): Likewise.
8532 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
8533 (ROUND_RESTORE_FE_UPWARD): Likewise.
8534 (RUN_TEST_LOOP_f_f): New macro.
8535 (acos_test_data): New variable.
8536 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
8537 (acos_tonearest_test_data): New variable.
8538 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8539
5c637fe5
SP
85402013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8541
8542 * benchtests/bench-skeleton.c (startup): Fix coding style.
8543
ab2b9461
JM
85442013-05-10 Joseph Myers <joseph@codesourcery.com>
8545
8546 [BZ #6809]
8547 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
8548 negative infinity argument.
8549 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
8550 negative infinity argument.
8551 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
8552 negative infinity argument.
8553 * math/libm-test.inc (tgamma_test): Expect errno to be set for
8554 domain errors.
8555
4c0fe6fe
FW
85562013-05-10 Florian Weimer <fweimer@redhat.com>
8557
8558 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
8559 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
8560 * iconv/iconv_prog.c (main): Likewise.
8561 * locale/programs/charmap-dir.c (charmap_readdir)
8562 (fopen_uncompressed): Likewise.
8563 * locale/programs/locfile.c (siblings_uncached)
8564 (write_locale_data): Use lstat64 instead of lstat.
8565 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
8566 stat.
8567
a3375d29
AJ
85682013-05-10 Andreas Jaeger <aj@suse.de>
8569
8570 [BZ #15395]
8571 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
8572 localization.
8573 Include <locale.h>.
8574
36129722
CD
85752013-05-09 Carlos O'Donell <carlos@redhat.com>
8576
8577 * elf/dl-close.c (_dl_close_worker): Add comments.
8578
faa7f811
JM
85792013-05-09 Joseph Myers <joseph@codesourcery.com>
8580
ed41ffef
JM
8581 [BZ #15359]
8582 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
8583 high part of pi/2.
8584 (__ieee754_rem_pio2l): Update comments.
8585
d0213cd0
JM
8586 [BZ #15429]
8587 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
8588 high part of pi/2.
8589 (__ieee754_rem_pio2l): Update comments.
8590
0d3e777a
JM
8591 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
8592 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
8593
24f56066
JM
8594 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
8595 M_PI_4l.
8596
faa7f811
JM
8597 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
8598 (M_PI_34_LOG10El): Likewise.
8599 (M_PI2_LOG10El): Likewise.
8600 (M_PI4_LOG10El): Likewise.
8601 (M_PI_LOG10El): Likewise.
8602
e9a5e0fd
AZ
86032013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8604
8605 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8606
d8cd06db
JM
86072013-05-08 Joseph Myers <joseph@codesourcery.com>
8608
a0d9f9d7
JM
8609 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
8610 (MINUS_ZERO_INIT): Likewise.
8611 (PLUS_INFTY_INIT): Likewise.
8612 (MINUS_INFTY_INIT): Likewise.
8613 (QNAN_VALUE_INIT): Likewise.
8614 (MAX_VALUE_INIT): Likewise.
8615 (MIN_VALUE_INIT): Likewise.
8616 (MIN_SUBNORM_VALUE_INIT): Likewise.
8617 (plus_zero): Initialize with PLUS_ZERO_INIT.
8618 (minus_zero): Initialize with MINUS_ZERO_INIT.
8619 (plus_infty): Initialize with PLUS_INFTY_INIT.
8620 (minus_infty): Initialize with MINUS_INFTY_INIT.
8621 (qnan_value): Initialize with QNAN_VALUE_INIT.
8622 (max_value): Initialize with MAX_VALUE_INIT.
8623 (min_value): Initialize with MIN_VALUE_INIT.
8624 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
8625
ae08db3b
JM
8626 * math/libm-test.inc (RUN_TEST_if_f): New macro.
8627 (jn_test): Use TEST_if_f instead of TEST_ff_f.
8628 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
8629 (yn_test): Use TEST_if_f instead of TEST_ff_f.
8630
f44bf14a
JM
8631 * math/libm-test.inc (RUN_TEST_f_f): New macro.
8632 (RUN_TEST_2_f): Likewise.
8633 (RUN_TEST_ff_f): Likewise.
8634 (RUN_TEST_fi_f): Likewise.
8635 (RUN_TEST_fl_f): Likewise.
8636 (RUN_TEST_fff_f): Likewise.
8637 (RUN_TEST_c_f): Likewise.
8638 (RUN_TEST_f_f1): Likewise.
8639 (RUN_TEST_fF_f1): Likewise.
8640 (RUN_TEST_fI_f1): Likewise.
8641 (RUN_TEST_ffI_f1): Likewise.
8642 (RUN_TEST_c_c): Likewise.
8643 (RUN_TEST_cc_c): Likewise.
8644 (RUN_TEST_f_i): Likewise.
8645 (RUN_TEST_f_i_tg): Likewise.
8646 (RUN_TEST_ff_i_tg): Likewise.
8647 (RUN_TEST_f_b): Likewise.
8648 (RUN_TEST_f_b_tg): Likewise.
8649 (RUN_TEST_f_l): Likewise.
8650 (RUN_TEST_f_L): Likewise.
8651 (RUN_TEST_sincos): Likewise.
8652 * math/gen-libm-test.pl (new_test): Take new argument to indicate
8653 whether to show exceptions. Do not include ");\n" in return
8654 value.
8655 (special_functions): Output call to RUN_TEST_sincos instead of
8656 check_float calls. Update calls to new_test.
8657 (parse_args): Output call to single RUN_TEST_* macro instead of
8658 check_* calls and other assignments. Update calls to new_test.
8659
d8cd06db
JM
8660 [BZ #2546]
8661 [BZ #2560]
8662 [BZ #5159]
8663 [BZ #15426]
8664 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
8665 input to result for tgamma overflow.
8666 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
8667 (gamma_coeff): New variable.
8668 (NCOEFF): New macro.
8669 (gamma_positive): New function.
8670 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
8671 underflow here. Use gamma_positive instead of exp (lgamma) for
8672 other arguments.
8673 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
8674 (gamma_coeff): New variable.
8675 (NCOEFF): New macro.
8676 (gammaf_positive): New function.
8677 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
8678 underflow here. Use gamma_positive instead of exp (lgamma) for
8679 other arguments.
8680 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
8681 (gamma_coeff): New variable.
8682 (NCOEFF): New macro.
8683 (gammal_positive): New function.
8684 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
8685 underflow here. Use gamma_positive instead of exp (lgamma) for
8686 other arguments.
8687 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
8688 (gamma_coeff): New variable.
8689 (NCOEFF): New macro.
8690 (gammal_positive): New function.
8691 (__ieee754_gammal_r): Handle positive infinity, overflow and
8692 underflow here. Handle NaN the same as positive infinity. Remove
8693 check x < 0xffffffff for negative integers. Use gamma_positive
8694 instead of exp (lgamma) for other arguments.
8695 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
8696 (gamma_coeff): New variable.
8697 (NCOEFF): New macro.
8698 (gammal_positive): New function.
8699 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
8700 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
8701 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8702 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
8703 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
8704 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
8705 * sysdeps/generic/math_private.h (__gamma_productf): New
8706 prototype.
8707 (__gamma_product): Likewise.
8708 (__gamma_productl): Likewise.
8709 * math/Makefile (libm-calls): Add gamma_product.
8710 * math/libm-test.inc (tgamma_test): Add more tests.
8711 * sysdeps/i386/fpu/libm-test-ulps: Update.
8712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8713
bb7cf681
OB
87142013-05-08 Ondřej Bílka <neleai@seznam.cz>
8715
8716 * benchtests/bench-skeleton.c (main): Preheat CPU.
8717
ba853947
AJ
87182013-05-07 Aurelien Jarno <aurelien@aurel32.net>
8719
8720 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
8721
8347c74c
RM
87222013-05-07 Roland McGrath <roland@hack.frob.com>
8723
8724 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
8725 and _dl_skip_args_internal.
8726
e8dd4791
CD
87272013-05-07 Carlos O'Donell <carlos@redhat.com>
8728
8729 * manual/message.texi (Message Translation): Talk about users.
8730 Message to key mapping impacts design.
8731
c7405830
RM
87322013-05-06 Roland McGrath <roland@hack.frob.com>
8733
a9173057
RM
8734 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
8735
976e2f03
RM
8736 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
8737
9723ffc5
RM
8738 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
8739 * sysdeps/wordsize-64/glob64.c: ... here.
8740
962e6658
RM
8741 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
8742 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
8743 New macros.
8744
ee586a6d
RM
8745 * debug/getlogin_r_chk.c: Moved to ...
8746 * login/getlogin_r_chk.c: ... here.
8747 * debug/Makefile (routines): Move getlogin_r_chk to ...
8748 * login/Makefile (routines): ... here.
8749 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
8750 * login/Versions (libc: GLIBC_2.4): ... here.
8751
355f9165
RM
8752 * io/poll.c (__poll): Renamed from poll.
8753 Add libc_hidden_def.
8754 (poll): Define as weak alias.
8755
bd9ffde6
RM
8756 * debug/ptsname_r_chk.c: Moved to ...
8757 * login/ptsname_r_chk.c: ... here.
8758 * debug/Makefile (routines): Move ptsname_r_chk to ...
8759 * login/Makefile (routines): ... here.
8760 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
8761 * login/Versions (libc: GLIBC_2.4): ... here.
8762
8fb16a04
RM
8763 * posix/getlogin.c: Moved to ...
8764 * login/getlogin.c: ... here.
8765 * posix/getlogin_r.c: Moved to ...
8766 * login/getlogin_r.c: ... here.
8767 * posix/getlogin_r.c: Moved to ...
8768 * login/getlogin_r.c: ... here.
8769 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
8770 * login/Makefile (routines): ... here.
8771 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
8772 * login/Versions (libc: GLIBC_2.0): ... here.
8773
b99b892f
RM
8774 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
8775 (setrlimit): Define as weak alias.
8776
c7405830
RM
8777 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
8778 Call __ names for open, ftruncate, and close.
8779 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
8780 (truncate): Define as weak alias.
8781
5bf96de5
JM
87822013-05-06 Joseph Myers <joseph@codesourcery.com>
8783
9ea3513c
JM
8784 * math/gen-libm-test.pl (parse_args): Initialize x before each
8785 test of frexp, modf and remquo.
8786
5bf96de5
JM
8787 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
8788 test signgam value.
8789
16e616a7
AZ
87902013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8791
8792 [BZ #15418]
8793 [BZ #15419]
8794 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
8795 internal tests.
8796 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8797
d5e82754
RM
87982013-05-06 Roland McGrath <roland@hack.frob.com>
8799
8800 * elf/dl-writev.h: New file.
8801 * elf/dl-misc.c: Include it.
8802 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
8803 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
8804
a7548d41
JM
88052013-05-04 Joseph Myers <joseph@codesourcery.com>
8806
b7dab1e4
JM
8807 * math/libm-test.inc (noXFails): Remove variable.
8808 (noXPasses): Likewise.
8809 (BUILD_COMPLEX_INT): Remove macro.
8810 (print_screen): Remove xfail argument.
8811 (print_screen_max_error): Likewise.
8812 (update_stats): Likewise.
8813 (print_max_error): Likewise. Update calls to other affected
8814 functions.
8815 (print_complex_max_error): Likewise.
8816 (test_single_exception): Update calls to print_screen.
8817 (test_single_errno): Likewise.
8818 (check_float_internal): Remove xfail argument. Update calls to
8819 other affected functions.
8820 (check_float): Likewise.
8821 (check_complex): Likewise.
8822 (check_int): Likewise.
8823 (check_long): Likewise.
8824 (check_bool): Likewise.
8825 (check_longlong): Likewise.
8826 (main): Don't print noXFails and noXPasses.
8827 * math/gen-libm-test.pl (top level): Don't mention expected
8828 failure handling in comment.
8829 (new_test): Don't handle expected failures.
8830 (parse_args): Don't mention expected failure handling in comment.
8831 (generate_testfile): Don't handle expected failures.
8832 (parse_ulps): Likewise.
8833 (print_ulps_file): Likewise.
8834 (get_failure): Remove function.
8835 (output_test): Don't handle expected failures.
8836 * make/README.libm-test: Don't mention expected failure handling.
8837
a7548d41
JM
8838 * math/libm-test.inc (plus_zero): Make const. Add initializer.
8839 (minus_zero): Likewise.
8840 (plus_infty): Likewise.
8841 (minus_infty): Likewise.
8842 (qnan_value): Likewise.
8843 (max_value): Likewise.
8844 (min_value): Likewise.
8845 (min_subnorm_value): Likewise.
8846 (initialize): Do not initialize those variables dynamically.
8847
60bfd54c
RM
88482013-05-03 Roland McGrath <roland@hack.frob.com>
8849
cc0e6ed8
RM
8850 * io/open.c (__open_2): Moved to ...
8851 * io/open_2.c: ... this new file.
8852 * io/open64.c (__open64_2): Moved to ...
8853 * io/open64_2.c: ... this new file.
8854 * io/openat.c (__openat_2): Moved to ...
8855 * io/openat_2.c: ... this new file.
8856 * io/openat64.c (__openat64_2): Moved to ...
8857 * io/openat64_2.c: ... this new file.
8858 * io/Makefile (routines): Add them.
8859 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
8860 * sysdeps/unix/sysv/linux/open_2.c: File removed.
8861 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
8862 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
8863 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
8864 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
8865 (__openat64): Add hidden_ver.
8866 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
8867 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
8868
60bfd54c
RM
8869 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
8870 Separately conditionalize setting of GLRO(dl_sysinfo) so
8871 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
8872 as well, but the actual setting is only under [NEED_DL_SYSINFO].
8873
83e7640f
AZ
88742013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8875
8876 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
8877 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
8878 definition.
8879 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
8880 * sysdeps/unix/sysv/linux/powerpc/init-first.c
8881 (_libc_vdso_platform_setup): Add __vdso_time initialization.
8882 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
8883 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
8884
d5dc2af3
JM
88852013-05-03 Joseph Myers <joseph@codesourcery.com>
8886
c31a5b1e
JM
8887 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
8888 test signgam value.
8889
d5dc2af3
JM
8890 * math/libm-test.inc (hypot_test): Do not use
8891 IGNORE_ZERO_INF_SIGN.
8892
164fd39d
AJ
88932013-05-03 Andreas Jaeger <aj@suse.de>
8894
8895 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
8896 Linux 3.9.
8897 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
8898 (PF_MAX): Adjust for VSOCK change.
8899
8237f48c
AZ
89002013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8901
8902 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8903
9df02941
CD
89042013-05-02 Carlos O'Donell <carlos@redhat.com>
8905
8906 [BZ #15264]
8907 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
8908 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
8909 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
8910
d422395e
DM
89112013-05-02 David S. Miller <davem@davemloft.net>
8912
8913 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8914
a07c5731
OB
89152013-05-01 Ondřej Bílka <neleai@seznam.cz>
8916
8917 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
8918
1324e37f
RM
89192013-05-01 Roland McGrath <roland@hack.frob.com>
8920
8921 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
8922
0695940b
RS
89232013-05-01 Richard Smith <richard@metafoo.co.uk>
8924
bb5f27ad 8925 [BZ #14952]
0695940b
RS
8926 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
8927 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8928 Use __attribute__ ((__gnu_inline__)).
8929 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8930 Don't use __attribute__ ((__gnu_inline__)).
8931
10de07f5
JM
89322013-05-01 Joseph Myers <joseph@codesourcery.com>
8933
8934 [BZ #15423]
8935 * math/s_catan.c (__catan): Handle small real or imaginary part of
8936 input specially to avoid spurious underflow.
8937 * math/s_catanf.c (__catanf): Likewise.
8938 * math/s_catanh.c (__catanh): Likewise.
8939 * math/s_catanhf.c (__catanhf): Likewise.
8940 * math/s_catanhl.c (__catanhl): Likewise.
8941 * math/s_catanl.c (__catanl): Likewise.
8942 * math/libm-test.inc (catan_test): Add more tests.
8943 (catanh_test): Likewise.
8944 * sysdeps/i386/fpu/libm-test-ulps: Update.
8945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8946
cb4d5414
AZ
89472013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8948
8949 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8950
caf84319
JM
89512013-04-30 Joseph Myers <joseph@codesourcery.com>
8952
8953 [BZ #15416]
8954 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
8955 accurately for denominator in atan2.
8956 * math/s_catanf.c (__catanf): Likewise.
8957 * math/s_catanh.c (__catanh): Likewise.
8958 * math/s_catanhf.c (__catanhf): Likewise.
8959 * math/s_catanhl.c (__catanhl): Likewise.
8960 * math/s_catanl.c (__catanl): Likewise.
8961 * math/libm-test.inc (catan_test): Add more tests.
8962 (catanh_test): Likewise.
8963 * sysdeps/i386/fpu/libm-test-ulps: Update.
8964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8965
d569c6ee
SP
89662013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8967
6dbe713d
SP
8968 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
8969
f0ee064b
SP
8970 * benchtests/Makefile (bench): Remove slow benchmarks.
8971 * benchtests/atan-inputs: Add slow benchmark inputs.
8972 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
8973 (BENCH_FUNC): Accept variant offset.
8974 (VARIANT): Define.
8975 * benchtests/bench-skeleton.c (main): Run benchmark for each
8976 variant.
8977 * benchtests/cos-inputs: Add slow benchmark inputs.
8978 * benchtests/exp-inputs: Likewise.
8979 * benchtests/pow-inputs: Likewise.
8980 * benchtests/sin-inputs: Likewise.
8981 * benchtests/slowatan-inputs: Remove.
8982 * benchtests/slowatan.c: Remove.
8983 * benchtests/slowcos-inputs: Remove.
8984 * benchtests/slowcos.c: Remove.
8985 * benchtests/slowexp-inputs: Remove.
8986 * benchtests/slowexp.c: Remove.
8987 * benchtests/slowpow-inputs: Remove.
8988 * benchtests/slowpow.c: Remove.
8989 * benchtests/slowsin-inputs: Remove.
8990 * benchtests/slowsin.c: Remove.
8991 * benchtests/slowtan-inputs: Remove.
8992 * benchtests/slowtan.c: Remove.
8993 * benchtests/tan-inputs: Add slow benchmark inputs.
8994 * scripts/bench.pl: Parse comments and directives.
8995
d569c6ee
SP
8996 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
8997 in CPPFLAGS.
8998 ($(objpfx)bench-%.c): Remove *-ITER.
8999 * benchtests/bench-modf.c: Remove definition of ITER.
9000 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
9001 (main): Loop for DURATION seconds instead of fixed number of
9002 iterations.
9003 * scripts/bench.pl: Don't expect iterations in parameters.
9004
a6a242fe
RM
90052013-04-29 Roland McGrath <roland@hack.frob.com>
9006
9007 * io/fchdir.c (__fchdir): Renamed from fchdir.
9008 (fchdir): Define as weak alias.
9009
f2da7793
JM
90102013-04-29 Joseph Myers <joseph@codesourcery.com>
9011
9012 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
9013 (ERRNO_EDOM): Likewise.
9014 (ERRNO_ERANGE): Likewise.
9015 (noErrnoTests): New variable.
9016 (init_max_error): Set errno to 0.
9017 (test_single_errno): New function.
9018 (test_errno): Likewise.
9019 (check_float_internal): Call test_errno. Set errno to 0.
9020 (check_complex): Refer to errno tests in comment.
9021 (check_int): Call test_errno. Set errno to 0.
9022 (check_long): Likewise.
9023 (check_bool): Likewise.
9024 (check_longlong): Likewise.
9025 (cos_test): Use ERRNO_* flags for errno tests instead of
9026 check_int.
9027 (expm1_test): Likewise.
9028 (fmod_test): Likewise.
9029 (ilogb_test): Likewise.
9030 (lgamma_test): Likewise.
9031 (pow_test): Likewise.
9032 (remainder_test): Likewise.
9033 (sin_test): Likewise.
9034 (tan_test): Likewise.
9035 (yn_test): Likewise.
9036 (initialize): Set errno to 0.
9037 (main): Print number of errno tests.
9038 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
9039
b1a36ceb
AJ
90402013-04-29 Andreas Jaeger <aj@suse.de>
9041
c3ed8088
AJ
9042 [BZ #15084]
9043 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
9044 and RES_USEVC.
9045
f1a24198
AJ
9046 [BZ #15085]
9047 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
9048 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
9049 unimplemented.
9050
9ce3b2cb
AJ
9051 [BZ #15380]
9052 * stdlib/random.c (__initstate): Return NULL if
9053 __initstate fails.
9054
f1a24198 9055 [BZ #15086]
b1a36ceb
AJ
9056 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
9057 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
9058 RES_SNGLKUPREOP.
9059
7e7b6f36
AZ
90602013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9061
9062 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9063
4d14f449
JM
90642013-04-29 Joseph Myers <joseph@codesourcery.com>
9065
9066 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
9067 of individual tests.
9068 (casin_test): Likewise.
9069 (casinh_test): Likewise.
9070
5b4217d7
JM
90712013-04-27 Joseph Myers <joseph@codesourcery.com>
9072
9073 [BZ #15409]
9074 * math/s_catan.c (__catan): Handle arguments with large real or
9075 imaginary part separately without squaring.
9076 * math/s_catanf.c (__catanf): Likewise.
9077 * math/s_catanh.c (__catanh): Likewise.
9078 * math/s_catanhf.c (__catanhf): Likewise.
9079 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9080 and redefine.
9081 (__catanhl): Handle arguments with large real or imaginary part
9082 separately without squaring.
9083 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9084 and redefine.
9085 (__catanl): Handle arguments with large real or imaginary part
9086 separately without squaring.
9087 * math/libm-test.inc (catan_test): Add more tests.
9088 (catanh_test): Likewise.
9089 * sysdeps/i386/fpu/libm-test-ulps: Update.
9090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9091
4220c3ef
AJ
90922013-04-27 Andreas Jaeger <aj@suse.de>
9093
9094 [BZ #15007]
9095 * stdlib/stdlib.h: Update guards for qecvt.
9096 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
9097 <stdlib.h>.
9098
4721b2d1
AM
90992013-04-27 Allan McRae <allan@archlinux.org>
9100
9101 * sysdeps/i386/fpu/libm-test-ulps: Update.
9102
f0302940
JM
91032013-04-26 Joseph Myers <joseph@codesourcery.com>
9104
9457fd95
JM
9105 [BZ #15406]
9106 * math/s_catan.c: Include <float.h>.
9107 (__catan): Ensure underflow exception occurs for underflowed
9108 result.
9109 * math/s_catanf.c: Include <float.h>.
9110 (__catanf): Ensure underflow exception occurs for underflowed
9111 result.
9112 * math/s_catanh.c: Include <float.h>.
9113 (__catanh): Ensure underflow exception occurs for underflowed
9114 result.
9115 * math/s_catanhf.c: Include <float.h>.
9116 (__catanhf): Ensure underflow exception occurs for underflowed
9117 result.
9118 * math/s_catanhl.c: Include <float.h>.
9119 (__catanhl): Ensure underflow exception occurs for underflowed
9120 result.
9121 * math/s_catanl.c: Include <float.h>.
9122 (__catanl): Ensure underflow exception occurs for underflowed
9123 result.
9124 * math/libm-test.inc (catan_test): Add more tests.
9125 (catanh_test): Likewise.
9126
f0302940
JM
9127 [BZ #15405]
9128 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
9129 underflowed result.
9130 * math/s_ccoshf.c (__ccoshf): Likewise.
9131 * math/s_ccoshl.c (__ccoshl): Likewise.
9132 * math/s_csin.c (__csin): Likewise.
9133 * math/s_csinf.c (__csinf): Likewise.
9134 * math/s_csinh.c (__csinh): Likewise.
9135 * math/s_csinhf.c (__csinhf): Likewise.
9136 * math/s_csinhl.c (__csinhl): Likewise.
9137 * math/s_csinl.c (__csinl): Likewise.
9138 * math/libm-test.inc (ccos_test): Add more tests.
9139 (ccosh_test): Likewise.
9140 (csin_test): Likewise.
9141 (csinh_test): Likewise.
9142
aa630f59
AZ
91432013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9144
9145 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
9146 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
9147 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
9148 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
9149 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
9150 powerpc/power5+/fpu folders.
9151 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
9152
9153
1b835983
MT
91542013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
9155
9156 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9157
73709b26
JM
91582013-04-25 Joseph Myers <joseph@codesourcery.com>
9159
9160 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
9161 additions to variable.
9162 [$(config-machine) = x86_64] (modules-names): Likewise.
9163 ($(objpfx)tst-audit3): Remove dependency.
9164 ($(objpfx)tst-audit3.out): Likewise.
9165 ($(objpfx)tst-audit4): Likewise.
9166 ($(objpfx)tst-audit4.out): Likewise.
9167 ($(objpfx)tst-audit5): Likewise.
9168 ($(objpfx)tst-audit5.out): Likewise.
9169 ($(objpfx)tst-audit6): Likewise.
9170 ($(objpfx)tst-audit6.out): Likewise.
9171 ($(objpfx)tst-audit7): Likewise.
9172 ($(objpfx)tst-audit7.out): Likewise.
9173 (tst-audit3-ENV): Remove variable.
9174 (tst-audit4-ENV): Likewise.
9175 (tst-audit5-ENV): Likewise.
9176 (tst-audit6-ENV): Likewise.
9177 (tst-audit7-ENV): Likewise.
9178 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
9179 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
9180 addition to variable.
9181 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
9182 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
9183 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
9184 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
9185 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
9186 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
9187 tst-audit3, tst-audit4 and tst-audit5.
9188 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
9189 tst-audit6 and tst-audit7.
9190 [$(subdir) = elf] (modules-names): Add audit modules for those
9191 tests.
9192 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
9193 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
9194 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
9195 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
9196 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
9197 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
9198 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
9199 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
9200 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
9201 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
9202 [$(subdir) = elf] (tst-audit3-ENV): New variable.
9203 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
9204 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
9205 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
9206 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
9207 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
9208 Likewise.
9209 [$(subdir) = elf && $(config-cflags-avx) = yes]
9210 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
9211 [$(subdir) = elf && $(config-cflags-avx) = yes]
9212 (CFLAGS-tst-auditmod4a.c): Likewise.
9213 [$(subdir) = elf && $(config-cflags-avx) = yes]
9214 (CFLAGS-tst-auditmod4b.c): Likewise.
9215 [$(subdir) = elf && $(config-cflags-avx) = yes]
9216 (CFLAGS-tst-auditmod6b.c): Likewise.
9217 [$(subdir) = elf && $(config-cflags-avx) = yes]
9218 (CFLAGS-tst-auditmod6c.c): Likewise.
9219 [$(subdir) = elf && $(config-cflags-avx) = yes]
9220 (CFLAGS-tst-auditmod7b.c): Likewise.
9221 * elf/tst-audit3.c: Move to ...
9222 * sysdeps/x86_64/tst-audit3.c: ... here.
9223 * elf/tst-audit4.c: Move to ...
9224 * sysdeps/x86_64/tst-audit4.c: ... here.
9225 * elf/tst-audit5.c: Move to ...
9226 * sysdeps/x86_64/tst-audit5.c: ... here.
9227 * elf/tst-audit6.c: Move to ...
9228 * sysdeps/x86_64/tst-audit6.c: ... here.
9229 * elf/tst-audit7.c: Move to ...
9230 * sysdeps/x86_64/tst-audit7.c: ... here.
9231 * elf/tst-auditmod3a.c: Move to ...
9232 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
9233 * elf/tst-auditmod3b.c: Move to ...
9234 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
9235 * elf/tst-auditmod4a.c: Move to ...
9236 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
9237 * elf/tst-auditmod4b.c: Move to ...
9238 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
9239 * elf/tst-auditmod5a.c: Move to ...
9240 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
9241 * elf/tst-auditmod5b.c: Move to ...
9242 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
9243 * elf/tst-auditmod6a.c: Move to ...
9244 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
9245 * elf/tst-auditmod6b.c: Move to ...
9246 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
9247 * elf/tst-auditmod6c.c: Move to ...
9248 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
9249 * elf/tst-auditmod7a.c: Move to ...
9250 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
9251 * elf/tst-auditmod7b.c: Move to ...
9252 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
9253
1ef74943
PP
92542013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
9255
9256 [BZ #15366]
9257 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
9258 define unconditionally.
9259 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
9260 define unconditionally.
9261 (INT8_C, INT16_C, etc.): Likewise.
9262
93fd48c5
MR
92632013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
9264
ae9552cf
MR
9265 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
9266 __ehdr_start with hidden visibility.
9267
93fd48c5
MR
9268 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
9269
418601aa
CD
92702013-04-24 Carlos O'Donell <carlos@redhat.com>
9271
9272 * math/libm-test.inc (cos_test): Use accurate hex constants.
9273 (sincost_test): Likewise.
9274
2f38fbfe
JM
92752013-04-24 Joseph Myers <joseph@codesourcery.com>
9276
5e221800
JM
9277 * math/libm-test.inc (catan_test): Add more tests.
9278 (catanh_test): Likewise.
9279
77f143fd
JM
9280 * math/s_catanf.c (__catanf): Use suffixed floating-point
9281 constants.
9282 * math/s_catanhf.c (__catanhf): Likewise.
9283 * math/s_catanhl.c (__catanhl): Likewise.
9284 * math/s_catanl.c (__catanl): Likewise.
9285
2f38fbfe
JM
9286 [BZ #15394]
9287 * math/s_catan.c (__catan): Calculate imaginary part of result
9288 with log1p not log unless computing log of number close to 0.
9289 * math/s_catanf.c (__catanf): Likewise.
9290 * math/s_catanl.c (__catanl): Likewise.
9291 * math/s_catanh.c (__catanh): Calculate real part of result with
9292 log1p not log unless computing log of number close to 0.
9293 * math/s_catanhf.c (__catanhf): Likewise.
9294 * math/s_catanhl.c (__catanhl): Likewise.
9295 * math/libm-test.inc (catan_test): Add more tests.
9296 (catanh_test): Likewise.
9297 * sysdeps/i386/fpu/libm-test-ulps: Update.
9298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9299
45d69176
SP
93002013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9301
9302 * benchtests/Makefile: Mention files in which fast and slow
9303 paths of math functions are implemented.
9304
87f51853
RM
93052013-04-23 Roland McGrath <roland@hack.frob.com>
9306
9307 * sysdeps/posix/timespec_get.c: New file.
9308
3c026539
AZ
93092013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9310
9311 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
9312 POWER.
9313 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
9314 for POWER.
9315 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
9316 powerpc/power5/fpu folders.
9317 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
9318 * benchtests/Makefile: Add modf testcase.
9319 * benchtests/bench-modf.c: New file: Benchmark test for mo
9320
ff491d14
SP
93212013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9322
9323 [BZ #14888]
9324 * time/Makefile (tests): Add tst-strptime-whitespace.
9325 * time/strptime_l.c (get_number): Use ISSPACE.
9326 (__strptime_internal): Likewise.
9327 * time/tst-strptime-whitespace.c: New test case.
9328
7ed3f4e8
AS
93292013-04-23 Andreas Schwab <schwab@linux-m68k.org>
9330
9331 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
9332 member.
9333 (_nss_files_init): Set it here.
9334
5c95f7b6
HC
93352013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
9336
9337 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
9338 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
9339 unsigned.
9340
d34c9158
JBG
93412013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
9342
9343 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
9344
2169712d
SP
93452013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9346
9347 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
9348 size just once.
9349
29c5de99
DM
93502013-04-21 David S. Miller <davem@davemloft.net>
9351
9352 * po/ru.po: Update Russion translation from translation project.
9353
ccdad15d
AC
93542013-04-17 Adam Conrad <adconrad@0c3.net>
9355
9356 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
9357 and setfsgid.
9358
0f122b8d
CD
93592013-04-17 Carlos O'Donell <carlos@redhat.com>
9360
5c5b07da 9361 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 9362 * configure: Regenerate.
5c5b07da 9363 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
9364 Add example to error message.
9365 * sysdeps/i386/configure: Regenerate.
9366
037714dd
SP
93672013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9368
9369 * benchtests/Makefile (bench): Add cos, tan, slowcos and
9370 slowtan.
9371 * benchtests/cos-inputs: New file.
9372 * benchtests/slowcos-inputs: New file.
9373 * benchtests/slowcos.c: New file.
9374 * benchtests/slowtan-inputs: New file.
9375 * benchtests/slowtan.c: New file.
9376 * benchtests/tan-inputs: New file.
9377
e913141d
RM
93782013-04-16 Roland McGrath <roland@hack.frob.com>
9379
9380 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
9381 considered kosher.
9382
a2964074
SP
93832013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9384
4856bcd2
SP
9385 * benchtests/Makefile: Include cppflags-iterator.mk to add
9386 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
9387
a2964074
SP
9388 * Makefile.in (bench-clean): New target.
9389 * benchtests/Makefile (bench-clean): Likewise.
9390
9fbf9aca
DH
93912013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
9392
9393 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
9394
207d1e2a
TS
93952013-04-15 Thomas Schwinge <thomas@codesourcery.com>
9396
9397 * stdio-common/tstdiomisc.c: Fix coding-style violation.
9398
306dfba9
AS
93992013-04-15 Andreas Schwab <schwab@suse.de>
9400
9401 * nscd/grpcache.c (cache_addgr): Properly check for short write.
9402 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9403 * nscd/pwdcache.c (cache_addpw): Likewise.
9404 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
9405 more than recsize.
9406
206a6699
SP
94072013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9408
9409 * benchtests/Makefile (bench): Write all output to
9410 bench-out.tmp together.
9411
0582f6b3
AS
94122013-04-15 Andreas Schwab <schwab@suse.de>
9413
9414 * nscd/nscd.c (main): Don't fork again after closing files.
9415
acb4325f
SP
94162013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9417
5cb26d0a
SP
9418 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
9419
acb4325f
SP
9420 * benchtests/Rules (bench-deps): Collect dependencies into a
9421 single variable. Add Makefile to dependencies.
9422 ($(objpfx)bench-%.c): Depend on bench-deps.
9423
47792506
RM
94242013-04-12 Roland McGrath <roland@hack.frob.com>
9425 Xavier Roche <roche+kml2@exalead.com>
9426
9427 [BZ #15361]
9428 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
9429 just that it's a file descriptor.
9430 * manual/llio.texi (Synchronizing AIO Operations): Update description
9431 for EBADF error from aio_fsync.
9432
8fc1bee5
SP
94332013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9434
9435 * Rules (bench): Move target definition...
9436 * benchtests/Makefile: ... here.
9437
aba5e333
CD
94382013-04-11 Carlos O'Donell <carlos@redhat.com>
9439
9440 * math/libm-test.inc (cos_test): Fix PI/2 test.
9441 (sincos_test): Likewise.
9442 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9443 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9444
273cdee8
AS
94452013-04-11 Andreas Schwab <schwab@suse.de>
9446
6ecec3b6
AS
9447 [BZ #13988]
9448 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
9449 accept exponent character only when digits were seen.
9450 * stdio-common/Makefile (tests): Add bug26.
9451 * stdio-common/bug26.c: New file.
9452
273cdee8
AS
9453 [BZ #14293]
9454 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
9455 non-freeable.
9456
8da491f5
SP
94572013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9458
01dc6df9
SP
9459 * Makeconfig (rtld-prefix): Define built linker prefix.
9460 * Rules (run-bench): Use it.
9461 * math/Makefile (run-regen-ulps): Likewise.
9462
8da491f5
SP
9463 * Rules (bench): Remove eval.
9464
abe7f530
SP
94652013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9466 Roland McGrath <roland@hack.frob.com>
9467 Ondrej Bilka <neleai@seznam.cz>
9468
9469 [BZ #15346]
9470 * time/getdate.c: Include ctype.h and alloca.h.
9471 (__getdate_r): Trim leading and trailing spaces of input.
9472 * time/tst-getdate.c (tests): Add tests with leading and
9473 trailing spaces.
9474
61c23e62
RM
94752013-04-08 Roland McGrath <roland@hack.frob.com>
9476
9477 [BZ #14280]
9478 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
9479 when computing value.
9480
7208a313
CD
94812013-04-06 Carlos O'Donell <carlos@redhat.com>
9482
085b2d41
CD
9483 * math/README.libm-test (How can I generate "libm-test-ulps"?):
9484 Use testrun.sh to run libm tests.
9485
7208a313
CD
9486 [BZ #15309]
9487 * elf/dl-open.c (dl_open_worker): memset all of seen array.
9488
872c0acd
MM
94892013-04-06 Marko Myllynen <myllynen@redhat.com>
9490
9491 [BZ #15264]
9492 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
9493
26510bdd
CD
94942013-04-06 Carlos O'Donell <carlos@redhat.com>
9495
9496 * Makefile.in (regen-ulps): New target.
9497 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
9498 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
9499 [ifneq (no,$(PERL)] (regen-ulps): New target.
9500 [ifeq (no,$(PERL)] (regen-ulps): New target.
9501 * math/libm-test.inc (ulps_file_name): Define.
9502 (output_dir): New variable.
9503 (options): Add "output-dir" option.
9504 (parse_opt): Handle 'o' case.
9505 (main): If output_dir is non-NULL use it as a prefix
9506 otherwise use "".
9507 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
9508
a01f19c8
CD
95092013-04-06 Carlos O'Donell <carlos@redhat.com>
9510
9511 [BZ #10060, #10062]
9512 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
9513 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
9514 fail configure if __sync_val_compare_and_swap is not inlined.
9515 * sysdeps/i386/configure: Regenerate.
9516 * configure.in: Build for i686 when configured for i386.
9517 * configure: Regenerate.
9518 * README: Remove i386 reference.
9519
b7a329a5
CD
95202013-04-06 Carlos O'Donell <carlos@redhat.com>
9521
9522 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
9523 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9524
bf0f50df
TS
95252013-04-05 Thomas Schwinge <thomas@codesourcery.com>
9526
ee091edf
TS
9527 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
9528 (lmsnanval): New variables.
9529 (F): Add conversion tests.
9530 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
9531 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
9532
a8b792d6
TS
9533 * stdio-common/tstdiomisc.c (F): Properly collect individual
9534 tests' results.
9535
a1cbf437
TS
9536 [BZ #14686, #15336]
9537 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
9538 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
9539 Instead, use input NaN values or generate a qNaN by arithmetic
9540 operation. Also fix bugs to comply with the standard.
9541 * math/libm-test.inc (remainder_test): Add more tests.
9542
8b43a0c9
TS
9543 [BZ #15335, #15342]
9544 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
9545 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
9546 input NaN values or generate a qNaN by arithmetic operation.
9547
d91da4ce
TS
9548 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
9549 unreachable code.
9550
bf0f50df
TS
9551 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
9552 definitions.
9553
05e166c8
JM
95542013-04-03 Joseph Myers <joseph@codesourcery.com>
9555
9556 [BZ #14478]
9557 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
9558 underflowed result.
9559 * math/s_cexpf.c (__cexpf): Likewise.
9560 * math/s_cexpl.c (__cexpl): Likewise.
9561 * math/libm-test.inc (cexp_test): Add more tests.
9562
1cef1b19
AS
95632013-04-03 Andreas Schwab <schwab@suse.de>
9564
9565 [BZ #15330]
9566 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
9567 order arrays from heap if bigger than alloca cutoff.
9568
74d87055
TS
95692013-04-03 Thomas Schwinge <thomas@codesourcery.com>
9570
9571 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
9572 (SNAN_TESTS_double): Refer to GCC PR56831.
9573 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
9574 GCC PR56828.
9575
d755bba4
SP
95762013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9577
90d5d5bb
SP
9578 * Rules (bench): Move bench.out after the run is complete.
9579
73e0cd5d
SP
9580 * Rules (bench): Echo currently running benchmark.
9581
64aabd4b
SP
9582 * benchtests/Makefile (bench): Add atan and slowatan.
9583 * benchtests/atan-inputs: New file.
9584 * benchtests/slowatan-inputs: New file.
9585 * benchtests/slowatan.c: New file.
9586
c871eccd
SP
9587 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
9588 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
9589 its value.
9590
d755bba4
SP
9591 [BZ #15305]
9592 * sysdeps/unix/sysv/linux/kernel-features.h
9593 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
9594 __ASSUME_XFS_RESTRICTED_CHOWN.
9595 * sysdeps/unix/sysv/linux/pathconf.c
9596 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9597 Save and restore errno.
9598
52ce4860
JM
95992013-04-02 Joseph Myers <joseph@codesourcery.com>
9600
9601 [BZ #15327]
9602 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
9603 arguments using __kernel_casinh.
9604 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
9605 arguments using __kernel_casinhf.
9606 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
9607 arguments using __kernel_casinhl.
9608 * math/libm-test.inc (cacosh_test): Add more tests.
9609 * sysdeps/i386/fpu/libm-test-ulps: Update.
9610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9611
81f311c2
SP
96122013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9613
e7906a47
SP
9614 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
9615 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
9616
92e3664b
SP
9617 * bench/Makefile (bench): Add sin and slowsin.
9618 * benchtests/sin-inputs: New file.
9619 * benchtests/slowsin-inputs: New file.
9620 * benchtests/slowsin.c: New file.
9621
81f311c2
SP
9622 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
9623 (bench): Add slowexp and slowpow.
9624 (exp-ITER): Increase iterations.
9625 (pow-ITER): Likewise.
9626 * benchtests/exp-inputs: Change input.
9627 * benchtests/pow-inputs: Likewise.
9628 * benchtests/slowexp-inputs: New file.
9629 * benchtests/slowexp.c: New file.
9630 * benchtests/slowpow-inputs: New file.
9631 * benchtests/slowpow.c: New file.
9632
ab0f1aa9
AZ
96332013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9634
9635 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
9636 instructions.
9637 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9638 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
9639 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9640 * benchtests/Makefile: Add rint benchtest.
9641 * benchtests/rint-inputs: Input for rint benchtest.
9642
57267616
TS
96432013-04-02 Thomas Schwinge <thomas@codesourcery.com>
9644
9645 * Versions.def (libm): Add GLIBC_2.18.
9646 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
9647 hidden libm prototypes.
9648 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
9649 * math/Makefile (libm-calls): Add s_issignaling.
9650 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
9651 __issignalingf, __issignalingl. Adjust all libm.abilist files.
9652 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
9653 declaration.
9654 * math/math.h [__USE_GNU] (issignaling): New macro.
9655 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
9656 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
9657 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
9658 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
9659 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
9660 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
9661 * manual/arith.texi (issignaling): New section.
9662 * manual/libm-err-tab.pl (@all_functions): Update comment.
9663 * math/gen-libm-test.pl (parse_args): Apply special handling for
9664 issignaling.
9665 * math/libm-test.inc (print_float, issignaling_test): New
9666 functions.
9667 (check_float_internal): Add issignaling checks.
9668 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
9669 default definition.
9670 * sysdeps/powerpc/math-tests.h: New file.
9671 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
9672 tests.
9673 * math/test-snan.c (TEST_FUNC): Likewise.
9674
6142896d
DM
96752013-03-30 David S. Miller <davem@davemloft.net>
9676
9677 * po/de.po: Update from translation team.
9678
ccc8cadf
JM
96792013-03-30 Joseph Myers <joseph@codesourcery.com>
9680
9681 [BZ #10357]
9682 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9683 imaginary part less than 1.0 and real part less than 0.5
9684 specially.
9685 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9686 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9687 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
9688 (cacos_test): Add more tests.
9689 (casin_test): Likewise.
9690 (casinh_test): Likewise.
9691 * sysdeps/i386/fpu/libm-test-ulps: Update.
9692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9693
0f6a8d4b
SP
96942013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9695
0d1029de
SP
9696 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
9697 ONE with its value.
9698
c2d94018
SP
9699 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
9700 (__pow_mp): Replace ONE and MONE with their values.
9701 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9702 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
9703 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9704 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
9705 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9706 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9707
27ec37f1
SP
9708 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
9709
a64d7e0e
SP
9710 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
9711 (__pow_mp): Replace ZERO and MZERO with their values.
9712 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9713 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9714 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9715 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9716 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9717 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
9718 (__sqr): Likewise.
9719
d26dd3eb
SP
9720 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
9721
0f6a8d4b
SP
9722 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
9723
e57b0c61
RM
97242013-03-28 Roland McGrath <roland@hack.frob.com>
9725
9726 * include/stdlib.h [!SHARED] (__call_tls_dtors):
9727 Declare with __attribute__ ((weak)).
9728 * stdlib/exit.c (__libc_atexit) [!SHARED]:
9729 Call __call_tls_dtors only if it's not NULL.
9730
356b3480
RM
97312013-03-28 Roland McGrath <roland@hack.frob.com>
9732
288f7d79
RM
9733 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
9734 didn't do it already, then set _dl_phdr and _dl_phnum based on the
9735 magic __ehdr_start linker symbol if it's defined.
9736 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
9737 them up here if it was already done.
9738
dc0a0263
RM
9739 * elf/dl-support.c (_dl_phdr): Make pointer to const.
9740 (_dl_aux_init): Use const in cast when setting it.
9741 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
9742 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
9743 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
9744
3d3436ae
RM
9745 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
9746 Declare them here.
9747 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
9748 * csu/libc-tls.c: Nor here.
9749 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
9750
356b3480
RM
9751 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
9752 (__libc_message): Never call vsyslog.
9753
b0f1246a
AM
97542013-03-28 Alan Modra <amodra@gmail.com>
9755
9756 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
9757 Define as empty.
9758 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
9759 Likewise.
9760
fbbe2b9a
AZ
97612013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9762
9763 [BZ #15214]
9764 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
9765 underflow.
9766 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9767
1728ab37
SP
97682013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9769
7a86be6e
SP
9770 [BZ #15304]
9771 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9772 Don't add gid passed as argument.
9773
1728ab37
SP
9774 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
9775
3a7182a1
JM
97762013-03-27 Joseph Myers <joseph@codesourcery.com>
9777
9778 [BZ #15307]
9779 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9780 imaginary part between 1.0 and 1.5 and real part less than 0.5
9781 specially.
9782 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9783 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9784 * math/libm-test.inc (cacos_test): Add more tests.
9785 (casin_test): Likewise.
9786 (casinh_test): Likewise.
9787 * sysdeps/i386/fpu/libm-test-ulps: Update.
9788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9789
6f2e90e7
SP
97902013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9791
5739f705
SP
9792 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
9793 constants.
9794 (norm): Likewise.
9795 (denorm): Likewise.
9796 (__dbl_mp): Likewise.
9797 (add_magnitudes): Likewise.
9798 (sub_magnitudes): Likewise.
9799 (__add): Likewise.
9800 (__sub): Likewise.
9801 (__mul): Likewise.
9802 (__sqr): Likewise.
9803 (__inv): Likewise.
9804 (__dvd): Likewise.
9805
e375e83d
SP
9806 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
9807 commented code.
9808 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
9809 (__dubcos): Likewise.
9810 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
9811 (__ieee754_acos): Likewise.
9812 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9813 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
9814 (__exp1): Likewise.
9815 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9816 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9817 (log1): Likewise.
9818 (my_log2): Likewise.
9819 (checkint): Likewise.
9820 * sysdeps/ieee754/dbl-64/e_remainder.c
9821 (__ieee754_remainder): Likewise.
9822 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9823 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
9824 (bsloww): Likewise.
9825 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9826
6f2e90e7
SP
9827 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9828 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
9829 MANTISSA_STORE_T to store computations on mantissa. Use
9830 macros for rounding and division.
9831 (denorm): Likewise.
9832 (__dbl_mp): Likewise.
9833 (add_magnitudes): Likewise.
9834 (sub_magnitudes): Likewise.
9835 (__mul): Likewise.
9836 (__sqr): Likewise.
9837 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
9838 powers of two in terms of TWOPOW macro.
9839 (mp_no): Make type of mantissa as MANTISSA_T.
9840 [!RADIXI]: Define RADIXI.
9841 [!TWO52]: Define TWO52.
9842 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9843
fce14d4e
AZ
98442013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9845
9846 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
9847 llroundl symbol when building for PPC32.
9848
9ad027fb
MW
98492013-03-24 Mark H Weaver <mhw@netris.org>
9850
9851 * manual/arith.texi (Normalization Functions): Fix prototypes for
9852 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
9853
e42a38dd
AZ
98542013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9855
9856 [BZ #13889]
9857 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
9858 high value to check if expl overflow.
9859 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
9860 to check for underflow and overflow.
9861 * math/libm-test.inc: Add exp test.
9862
2e0fb521
DL
98632013-03-21 Dmitry V. Levin <ldv@altlinux.org>
9864
9865 [BZ #11120]
9866 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
9867 with NOT_IN_libc.
9868
b5784d95
AZ
98692013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9870
9871 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
9872 symbol.
9873
5aa4a1a1
TS
98742013-03-21 Thomas Schwinge <thomas@codesourcery.com>
9875
bdef0be7
TS
9876 * math/gen-libm-test.pl (parse_args, special_functions): Properly
9877 wrap blocks consisting of several statements.
9878
5aa4a1a1
TS
9879 * sysdeps/generic/math-tests.h: New file.
9880 * sysdeps/i386/fpu/math-tests.h: Likewise.
9881 * math/test-snan.c: Include it.
9882 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
9883
98c48fe5
JM
98842013-03-21 Joseph Myers <joseph@codesourcery.com>
9885
9886 [BZ #15285]
9887 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
9888 (__ieee754_j0l): Do not improve calculations using cos of twice
9889 input for inputs above LDBL_MAX / 2.0L.
9890 (__ieee754_y0l): Likewise.
9891 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
9892 (__ieee754_j1l): Do not improve calculations using cos of twice
9893 input for inputs above LDBL_MAX / 2.0L.
9894 (__ieee754_y1l): Likewise.
9895 * math/libm-test.inc (j0_test): Add another test.
9896 (j1_test): Likewise.
9897 (y0_test): Likewise.
9898 (y1_test): Likewise.
9899 * sysdeps/i386/fpu/libm-test-ulps: Update.
9900
3775a8bc
SP
99012013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9902
9903 * Rules ($(objpfx)bench-%.c): Include code from a C source
9904 file.
9905
0a1b2ae6
JM
99062013-03-21 Joseph Myers <joseph@codesourcery.com>
9907
9908 [BZ #15287]
9909 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9910 imaginary part 1.0 and real part less than 0.5 specially.
9911 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9912 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9913 * math/libm-test.inc (cacos_test): Add more tests.
9914 (casin_test): Likewise.
9915 (casinh_test): Likewise.
9916 * sysdeps/i386/fpu/libm-test-ulps: Update.
9917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9918
b33d4ce4
SP
99192013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9920
9921 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
9922 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
9923
bef0b507
JM
99242013-03-20 Joseph Myers <joseph@codesourcery.com>
9925
9926 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
9927 * config.make.in (config-cflags-sse4): Remove variable.
9928 (config-cflags-avx): Likewise.
9929 (config-cflags-sse2avx): Likewise.
9930 (config-cflags-novzeroupper): Likewise.
9931 (config-asflags-i686): Likewise.
9932 (have-mfma4): Likewise.
9933 (have-as-vis3): Likewise.
9934 (MIG): Likewise.
9935 * configure.in (MIG): Do not AC_SUBST.
9936 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
9937 (libc_cv_cc_sse4): Do not AC_SUBST.
9938 (libc_cv_cc_avx): Likewise.
9939 (libc_cv_cc_sse2avx): Likewise.
9940 (libc_cv_cc_novzeroupper): Likewise.
9941 (libc_cv_cc_fma4): Likewise.
9942 (libc_cv_as_i686): Likewise.
9943 (libc_cv_sparc_as_vis3): Likewise.
9944 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
9945 LIBC_CONFIG_VAR.
9946 (config-asflags-i686): Likewise.
9947 (config-cflags-avx): Likewise.
9948 (config-cflags-sse2avx): Likewise.
9949 (have-mfma4): Likewise.
9950 (config-cflags-novzeroupper): Likewise.
9951 * sysdeps/mach/configure.in (MIG): Likewise.
9952 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
9953 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
9954 LIBC_CONFIG_VAR.
9955 (config-cflags-avx): Likewise.
9956 (config-cflags-sse2avx): Likewise.
9957 (have-mfma4): Likewise.
9958 (config-cflags-novzeroupper): Likewise.
9959 * configure: Regenerated.
9960 * sysdeps/i386/configure: Likewise.
9961 * sysdeps/mach/configure: Likewise.
9962 * sysdeps/sparc/configure: Likewise.
9963 * sysdeps/x86_64/configure: Likewise.
9964
912cc4b3
RM
99652013-03-20 Roland McGrath <roland@hack.frob.com>
9966
9967 [BZ #14812]
9968 * locale/programs/localedef.c (options): Put N_ translation marker
9969 on argument names, not just descriptions.
9970
04eed2b0
MS
99712013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9972
9973 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
9974
a065ceff
OB
99752013-03-20 Ondřej Bílka <neleai@seznam.cz>
9976
9bb2a810 9977 [BZ #14176]
a065ceff
OB
9978 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
9979
a600e5ce
RM
99802013-03-19 Roland McGrath <roland@hack.frob.com>
9981
9982 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
9983 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
9984 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
9985 [!BEFORE_ABORT] (before_abort): New function.
9986 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
9987 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
9988 (writev_for_fatal): New function.
9989 (WRITEV_FOR_FATAL): New macro; call that.
9990 (backtrace_and_maps): New function.
9991 (BEFORE_ABORT): New macro; call that.
9992 (struct str_list): Type removed.
9993 (__libc_message, __libc_fatal): Functions removed.
9994 Include <sysdeps/posix/libc_fatal.c> instead.
9995
6b18bea6
JM
99962013-03-19 Joseph Myers <joseph@codesourcery.com>
9997
9998 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
9999 constants.
10000 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
10001 double constants.
10002
aaa8cb4b
AS
100032013-03-19 Andreas Schwab <schwab@suse.de>
10004
44673770
AS
10005 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
10006 * sysdeps/gnu/configure: Regenerate.
10007
aaa8cb4b
AS
10008 * configure.in: Substitute libc_cv_rtlddir.
10009 * configure: Regenerate.
10010 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
10011 * Makeconfig (rtlddir, inst_rtlddir): New variables.
10012 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
10013 * elf/Makefile (install-others, CFLAGS-interp.c)
10014 (ldso_install, common-ldd-rewrite): Likewise.
10015 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
10016 $(inst_slibdir)/$(rtld-installed-name).
10017 * scripts/rellns-sh: Add -p option.
10018 * Makerules (make-shlib-link): Use rellns-sh to get relative name
10019 for source.
10020
d3cfc668
SP
100212013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10022
10023 * manual/nptl.texi: Renamed to ...
10024 * manual/threads.texi: ... this.
10025 * manual/Makefile (chapters): Update.
10026
0e2b9cdd
RM
100272013-03-18 Roland McGrath <roland@hack.frob.com>
10028
10029 [BZ #14812]
10030 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
10031 on argument names, not just descriptions.
0e2b9cdd
RM
10032 * malloc/memusagestat.c (options): Likewise.
10033 * nss/getent.c (options): Likewise.
63270c24
RM
10034
100352013-03-18 Benno Schulenberg <bensberg@justemail.net>
10036
10037 [BZ #14812]
10038 * iconv/iconv_prog.c (options): Put N_ translation marker
10039 on argument names, not just descriptions.
10040 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 10041
b2e1393c
OB
100422013-03-18 Ondrej Bilka <neleai@seznam.cz>
10043
10044 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
10045 implementation which is faster on all x86_64 architectures.
10046 Tested on AMD, Intel Nehalem, SNB, IVB.
10047 * sysdeps/x86_64/strnlen.S: Likewise.
10048
10049 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10050 Remove all multiarch strlen and strnlen versions.
10051 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10052 Remove strlen and strnlen related parts.
10053
10054 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
10055 Inline strlen part.
10056 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10057
10058 * sysdeps/x86_64/multiarch/strlen.S: Remove.
10059 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
10060 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
10061 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
10062 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10063 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
10064
ec4ff04d
CD
100652013-03-17 Carlos O'Donell <carlos@redhat.com>
10066
10067 * manual/memory.texi (Malloc Tunable Parameters):
10068 Sort parameters alphabetically. Add comments for missing entries.
10069
cd18e90a
DM
100702013-03-17 David S. Miller <davem@davemloft.net>
10071
10072 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10073
2a185d32
JM
100742013-03-16 Joseph Myers <joseph@codesourcery.com>
10075
d2f9799e
JM
10076 [BZ #15283]
10077 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
10078 for arguments at most half maximum finite value.
10079 * math/libm-test.inc (j0_test): Add more tests.
10080 (j1_test): Likewise.
10081 (y0_test): Likewise.
10082 (y1_test): Likewise.
10083 * sysdeps/i386/fpu/libm-test-ulps: Update.
10084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10085
2a185d32
JM
10086 [BZ #14155]
10087 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
10088 1 / x and functions P and Q for arguments above 0x1p256L.
10089 (__ieee754_y0l): Likewise.
10090 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10091 (__ieee754_y1l): Likewise.
10092 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
10093 (j1_test): Likewise.
10094 (y0_test): Likewise.
10095 (y1_test): Likewise.
10096
6cbec759
TS
100972013-03-16 Thomas Schwinge <thomas@codesourcery.com>
10098
10099 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
10100 variable.
10101
bc16e260
RM
101022013-03-15 Roland McGrath <roland@hack.frob.com>
10103
aefc9b8c
RM
10104 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
10105 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
10106 zero since it's initialized to EXEC_PAGESIZE.
10107
bc16e260
RM
10108 * sysdeps/unix/sysv/linux/ldsodefs.h
10109 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
10110 * sysdeps/generic/ldsodefs.h: ... here.
10111
a57da955
TS
101122013-03-15 Thomas Schwinge <thomas@codesourcery.com>
10113
af00a34d
TS
10114 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
10115
495ded2c
TS
10116 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
10117 math/test-snan.c.
10118 * math/test-snan.c: Renamed from
10119 sysdeps/powerpc/fpu/test-powerpc-snan.c.
10120 * math/Makefile (tests): Add test-snan.
10121 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
10122 test-powerpc-snan.
10123
777b0332
TS
10124 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
10125 SUFFIX. Initialize qNaN_var with __builtin_nan family of
10126 functions.
10127 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
10128 __builtin_nan family of functions.
10129 * math/libm-test.inc (initialize): Initialize qnan_value with
10130 __builtin_nan family of functions.
10131 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
10132 Remove variables.
10133 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
10134 Remove functions.
10135 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
10136 storage class. Initialize qNaN_var and sNaN_var with
10137 __builtin_nan and __builtin_nans families of functions,
10138 respectively.
10139
64d063b8
TS
10140 * math/libm-test.inc (acosh_test): Also test with qNaN input.
10141 (sqrt_test): Remove duplicate test with qNaN input.
10142 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
10143 (round_test, signbit_test, significand_test): Note missing +/-Inf
10144 as well as qNaN tests.
10145
67e971f1
TS
10146 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
10147 qNaN_var. Fix a few strings, too.
10148 * math/libm-test.inc (nan_value): Rename to qnan_value.
10149 * math/gen-libm-test.pl (%beautify): Adjust to that.
10150 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
10151 * math/test-misc.c (main): Likewise.
10152 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
10153 to __qnan_bytes, and __qnan_union, respectively.
10154 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
10155 Likewise.
10156 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
10157 and lqnanval, respectively.
10158 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
10159 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
10160 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
10161 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
10162
64487e12
TS
10163 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
10164 * math/test-misc.c (main) [__x86_64__]: Enable test for long
10165 doubles.
10166
e015e27b
TS
10167 * math/test-misc.c (main): Fix copy'n'pastos.
10168 * misc/tst-efgcvt.c (special): Likewise.
10169
a57da955
TS
10170 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
10171 Remove declarations.
10172
1e380345
SP
101732013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10174
10175 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
10176 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
10177 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
10178 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
10179
ef26eece
AZ
101802013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10181
10182 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
10183 macro to return vdso values correctly in IFUNC implementations.
10184 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10185 Optimization by using IFUNC.
10186
8cfdb7e0
SP
101872013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10188 Richard Henderson <rth@redhat.com>
10189 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10190
10191 * Makefile.in (bench): New target.
10192 * NEWS: Mention the benchmark framework.
10193 * Rules (bench): Likewise.
10194 (binaries-bench): Generate binaries for functions to
10195 benchmark.
10196 * benchtests/Makefile: New makefile for benchmark tests.
10197 * benchtests/bench-skeleton.c: New skeleton file for benchmark
10198 programs.
10199 * benchtests/exp-inputs: New input file for EXP function.
10200 * benchtests/pow-inputs: New input file for POW function.
10201 * scripts/bench.pl: New script to generate source files for
10202 benchmark programs.
10203
bcda9880
SP
102042013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10205
d22ca8cd
SP
10206 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10207 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
10208 computations on mantissa. Use macros for rounding and
10209 division.
10210 (denorm): Likewise.
10211 (__dbl_mp): Likewise.
10212 (add_magnitudes): Likewise.
10213 (sub_magnitudes): Likewise.
10214 (__mul): Likewise.
10215 (__sqr): Likewise.
10216 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10217 powers of two in terms of TWOPOW macro.
10218 (mp_no): Make type of mantissa as MANTISSA_T.
10219 [!RADIXI]: Define RADIXI.
10220 [!TWO52]: Define TWO52.
10221 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10222
bcda9880
SP
10223 * manual/nptl.texi (cindex): Modify threads to pthreads.
10224
06d5adfb
JM
102252013-03-15 Joseph Myers <joseph@codesourcery.com>
10226
10227 * sysdeps/x86_64/preconfigure: Regenerated.
10228
41c7328e
JM
102292013-03-14 Joseph Myers <joseph@codesourcery.com>
10230
10231 [BZ #14155]
10232 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
10233 0x1p28 and above.
10234 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
10235 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
10236 0x1p28 and above.
10237 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
10238 * math/libm-test.inc (j0_test): Do not allow one spurious
10239 underflow exception.
10240 (y1_test): Likewise.
10241
e25cfa60
SP
102422013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10243
0409959c
SP
10244 * manual/Makefile (chapters): Add nptl.
10245 * manual/debug.texi (Debugging Support): Add link to Threads
10246 chapter.
10247 * manual/nptl.texi: New file.
10248
e25cfa60
SP
10249 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
10250
58a1335e
PB
102512013-03-14 Petr Baudis <pasky@ucw.cz>
10252
10253 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
10254 for non-NULL pointer before the memory validity test. Pointed
10255 out by Holger Brunck <holger.brunck@keymile.com>.
10256
9dc7c64f
AS
102572013-03-13 Andreas Schwab <schwab@suse.de>
10258
10259 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
10260 instead of .os.
10261
54206aa6
JM
102622013-03-13 Joseph Myers <joseph@codesourcery.com>
10263
10264 * timezone/zic.c: Update from tzcode 2013b.
10265
e98cdb38
CD
102662013-03-12 Carlos O'Donell <carlos@redhat.com>
10267
10268 * manual/install.texi (Configuring and compiling):
10269 Mention i686 and i586.
10270 * INSTALL: Regenerate.
10271
9967e003
RM
102722013-03-12 Roland McGrath <roland@hack.frob.com>
10273
10274 * sysdeps/init_array/elf-init.c: New file.
10275 * csu/elf-init.c
10276 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
10277 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
10278
10279 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
10280 __gmon_start__ as global, but as static with a .preinit_array pointer.
10281 * sysdeps/init_array/gmon-start.c: New file. Use that.
10282 * sysdeps/init_array/crti.S: New file, empty except for comments.
10283 * sysdeps/init_array/crtn.S: Likewise.
10284
e6b5a293 102852013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
10286
10287 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
10288 definining bcopy.
80f844c9
OB
10289 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10290 Remove Prefer_SSE_for_memop.
10291 * sysdeps/x86_64/multiarch/init-arch.h: Remove
10292 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
10293 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
10294 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10295 memset-x86-64.
80f844c9 10296 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 10297 Remove bzero, memset ifunc support.
80f844c9
OB
10298 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
10299 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
10300 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10301 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10302
fb6b0fcb
AS
103032013-03-11 Andreas Schwab <schwab@suse.de>
10304
10305 [BZ #15234]
10306 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
10307 by SHLIB_COMPAT.
10308 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
10309 (GLIBC_2.16): Remove pthread_atfork.
10310
3e6bd4b1
PP
103112013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
10312
10313 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
10314 (ptestcases.h): Likewise.
10315
222d7f00
RM
103162013-03-08 Roland McGrath <roland@hack.frob.com>
10317
10318 * Makeconfig ($(common-objpfx)config.status): Depend on
10319 sysdeps/*/preconfigure{,.in} too.
10320
1ba4f030
JM
103212013-03-08 Joseph Myers <joseph@codesourcery.com>
10322
a222d91a
JM
10323 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
10324 (__free_hook): Use void * instead of __malloc_ptr_t.
10325 (__malloc_hook): Likewise.
10326 (__realloc_hook): Likewise.
10327 (__memalign_hook): Likewise.
10328 (__after_morecore_hook): Likewise.
10329 * malloc/arena.c (save_malloc_hook): Likewise.
10330 (save_free_hook): Likewise.
10331 * malloc/hooks.c (malloc_hook_ini): Likewise.
10332 (realloc_hook_ini): Likewise.
10333 (memalign_hook_ini): Likewise.
10334 * malloc/malloc.c (malloc_hook_ini): Likewise.
10335 (realloc_hook_ini): Likewise.
10336 (memalign_hook_ini): Likewise.
10337 (__free_hook): Likewise.
10338 (__malloc_hook): Likewise.
10339 (__realloc_hook): Likewise.
10340 (__memalign_hook): Likewise.
10341 (__libc_malloc): Likewise.
10342 (__libc_free): Likewise.
10343 (__libc_realloc): Likewise.
10344 (__libc_memalign): Likewise.
10345 (__libc_valloc): Likewise.
10346 (__libc_pvalloc): Likewise.
10347 (__libc_calloc): Likewise.
10348 (__posix_memalign): Likewise.
10349 * malloc/morecore.c (__sbrk): Likewise.
10350 (__default_morecore): Likewise.
10351
5cc45e10
JM
10352 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
10353
dd54b864
JM
10354 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
10355 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
10356 __malloc_ptrdiff_t.
10357
1ba4f030
JM
10358 * malloc/malloc.h (__malloc_size_t): Remove macro.
10359 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
10360 __malloc_size_t.
10361 (old_memalign_hook): Likewise.
10362 (old_realloc_hook): Likewise.
10363 (struct hdr): Likewise.
10364 (flood): Likewise.
10365 (mallochook): Likewise.
10366 (memalignhook): Likewise.
10367 (reallochook): Likewise.
10368 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
10369 (tr_old_realloc_hook): Likewise.
10370 (tr_old_memalign_hook): Likewise.
10371 (tr_mallochook): Likewise.
10372 (tr_reallochook): Likewise.
10373 (tr_memalignhook): Likewise.
10374
edf66e57
AZ
103752013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10376
10377 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
10378 default_ldbl_pack and using as default implementation.
10379 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
10380 implementation.
10381 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
10382 redundant definition.
10383 (ldbl_insert_mantissa): Likewise.
10384 (ldbl_canonicalize): Likewise.
10385 (ldbl_nearbyint): Likewise.
10386 (ldbl_pack): Rename to ldbl_pack_ppc.
10387 (ldbl_unpack): Rename to ldbl_unpack_ppc.
10388 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
10389 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
10390
6d9145d8
SP
103912013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10392
10393 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
10394 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
10395 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
10396 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
10397 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
10398 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
10399 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
10400 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
10401
4dd4e157
AJ
104022013-03-07 Andreas Jaeger <aj@suse.de>
10403
10404 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10405 bits/mman-linux.h.
10406
adbb8027
SP
104072013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10408
ce544b5b
SP
10409 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
10410 Include mpa.h and declare __MPEXP.
10411 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
10412 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10413 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10414 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
10415 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10416 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10417 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
10418
4cc149fd
SP
10419 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
10420 (__slowpow): Use long double EXPL and LOGL functions to
10421 compute POW.
10422 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10423 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10424 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
10425 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10426 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10427 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
10428
e6ebd4a7
SP
10429 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
10430 intermediate variable to calculate exponent.
10431 (__sqr): Likewise.
10432 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10433 Likewise.
10434 (__sqr): Likewise.
10435
82a9811d
SP
10436 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
10437 [!NO__SQR]: Define __sqr.
10438 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
10439 and NO__SQR. Remove all code except __mul and __sqr. Include
10440 sysdeps/ieee754/dbl-64/mpa.c.
10441 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10442
adbb8027
SP
10443 [BZ #12723]
10444 * posix/Makefile (tests): Add tst-pathconf.
10445 * posix/tst-pathconf.c: New test case.
10446 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
10447 _PC_PIPE_BUF.
10448 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
10449
39120df9
PF
104502013-03-06 Patsy Franklin <pfrankli@redhat.com>
10451
10452 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
10453
67525cb8
AJ
104542013-03-06 Andreas Jaeger <aj@suse.de>
10455
664a9ce4
AJ
10456 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
10457 definition via __MAP_ANONYMOUS.
10458
8e39047d
AJ
10459 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
10460 it's not part of Linux headers.
10461
67525cb8
AJ
10462 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
10463 (MAP_HUGE_MASK): Define.
10464
10465 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10466 Define.
10467 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10468 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10469 Define.
10470 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10471 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10472 Define.
10473 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10474 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
10475 Define.
10476 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10477
10478 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
10479 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
10480 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
10481 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
10482 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
10483 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
10484
10485 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10486 Handle f2fs.
10487
10488 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10489 Handle f2fs and efivarfs.
10490
10491 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
10492 f2fs.
10493
10494 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
10495 (EFIVARFS_MAGIC): Add.
10496 (F2FS_LINK_MAX): Add.
10497
e1b42695
PP
104982013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10499
10500 * stdio-common/vfprintf.c: Replace __builtin_expect with
10501 __glibc_unlikely.
10502
2d67d91a
JM
105032013-03-06 Joseph Myers <joseph@codesourcery.com>
10504
10505 [BZ #13550]
10506 * sysdeps/generic/bp-sym.h: Remove file.
10507 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
10508 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
10509 <bp-sym.h> and <bp-asm.h>.
10510 (__longjmp): Don't use BP_SYM.
10511 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
10512 and <bp-asm.h>.
10513 (memcpy): Don't use BP_SYM.
10514 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
10515 <bp-sym.h> and <bp-asm.h>.
10516 (memcpy): Don't use BP_SYM.
10517 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
10518 <bp-asm.h>.
10519 (memcpy): Don't use BP_SYM.
10520 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
10521 <bp-asm.h>.
10522 (memset): Don't use BP_SYM.
10523 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10524 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10525 (__bzero): Don't use BP_SYM.
10526 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10527 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10528 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
10529 <bp-sym.h> and <bp-asm.h>.
10530 (memcmp): Don't use BP_SYM. Remove comment about bounded
10531 pointers.
10532 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
10533 <bp-sym.h> and <bp-asm.h>.
10534 (memcpy): Don't use BP_SYM.
10535 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
10536 <bp-sym.h> and <bp-asm.h>.
10537 (memset): Don't use BP_SYM.
10538 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10539 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10540 (__bzero): Don't use BP_SYM.
10541 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10542 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10543 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
10544 <bp-sym.h> and <bp-asm.h>.
10545 (strncmp): Don't use BP_SYM. Remove comment about bounded
10546 pointers.
10547 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
10548 <bp-sym.h> and <bp-asm.h>.
10549 (memcpy): Don't use BP_SYM.
10550 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
10551 <bp-sym.h> and <bp-asm.h>.
10552 (memset): Don't use BP_SYM.
10553 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10554 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10555 (__bzero): Don't use BP_SYM.
10556 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10557 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10558 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
10559 <bp-sym.h> and <bp-asm.h>.
10560 (__memchr): Don't use BP_SYM.
10561 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
10562 <bp-sym.h> and <bp-asm.h>.
10563 (memcmp): Don't use BP_SYM. Remove comment about bounded
10564 pointers.
10565 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
10566 <bp-sym.h> and <bp-asm.h>.
10567 (memcpy): Don't use BP_SYM.
10568 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
10569 <bp-sym.h> and <bp-asm.h>.
10570 (__mempcpy): Don't use BP_SYM.
10571 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
10572 <bp-sym.h> and <bp-asm.h>.
10573 (__memrchr): Don't use BP_SYM.
10574 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
10575 <bp-sym.h> and <bp-asm.h>.
10576 (memset): Don't use BP_SYM.
10577 (__bzero): Likewise.
10578 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
10579 <bp-sym.h> and <bp-asm.h>.
10580 (__rawmemchr): Don't use BP_SYM.
10581 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
10582 <bp-sym.h> and <bp-asm.h>.
10583 (__STRCMP): Don't use BP_SYM.
10584 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
10585 <bp-sym.h> and <bp-asm.h>.
10586 (strchr): Don't use BP_SYM.
10587 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
10588 <bp-sym.h> and <bp-asm.h>.
10589 (__strchrnul): Don't use BP_SYM.
10590 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
10591 <bp-sym.h> and <bp-asm.h>.
10592 (strlen): Don't use BP_SYM.
10593 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
10594 <bp-sym.h> and <bp-asm.h>.
10595 (strncmp): Don't use BP_SYM. Remove comment about bounded
10596 pointers.
10597 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
10598 <bp-sym.h> and <bp-asm.h>.
10599 (__strnlen): Don't use BP_SYM.
10600 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
10601 <bp-sym.h> and <bp-asm.h>.
10602 (__GI__setjmp): Don't use BP_SYM.
10603 (_setjmp): Likewise.
10604 (__sigsetjmp): Likewise.
10605 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
10606 (L(start_addresses)): Don't use BP_SYM.
10607 (_start): Likewise.
10608 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
10609 <bp-asm.h>.
10610 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
10611 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
10612 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10613 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10614 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
10615 <bp-asm.h>.
10616 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
10617 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
10618 about bounded pointers.
10619 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10620 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10621 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
10622 <bp-asm.h>.
10623 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
10624 about bounded pointers. Remove GKM FIXME comments.
10625 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10626 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
10627 <bp-asm.h>.
10628 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
10629 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
10630 Remove GKM FIXME comments.
10631 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10632 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10633 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
10634 <bp-asm.h>.
10635 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
10636 about bounded pointers. Remove GKM FIXME comment.
10637 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
10638 and <bp-asm.h>.
10639 (strncmp): Don't use BP_SYM. Remove comment about bounded
10640 pointers.
10641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
10642 <bp-sym.h> and <bp-asm.h>.
10643 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
10645 <bp-sym.h> and <bp-asm.h>.
10646 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
10647 comment.
10648
cdcf361f
PP
106492013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10650
10651 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
10652 call free(NULL).
10653
3c4a2b15
DM
106542013-03-05 David S. Miller <davem@davemloft.net>
10655
10656 * po/es.po: Update from translation team.
10657
cdcf361f 106582013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
10659
10660 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
10661 <bits/mman-linux.h>.
10662 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10663 is fine.
10664 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
10665 <bits/mman-linux.h> to end of file.
10666 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10667 is fine.
10668 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
10669 <bits/mman-linux.h> to end of file.
10670 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10671 is fine.
10672 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
10673 <bits/mman-linux.h> to end of file.
10674
10675 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
10676 (MCL_CURRENT, MCL_FUTURE): Define here.
10677
5f67c04f
AK
106782013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10679
8a4473cc 10680 [BZ #15232]
5f67c04f
AK
10681 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
10682 attribute_hidden.
10683 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10684
c3e94a95
AK
106852013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10686
10687 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
10688 fourth parameter needed for rt_sigprocmask syscall.
10689 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
10690 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
10691 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
10692 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
10693 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
10694 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
10695
cfb6382a
JM
106962013-03-04 Joseph Myers <joseph@codesourcery.com>
10697
10698 [BZ #13550]
10699 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
10700 comment about bounded pointers.
10701 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
10702 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
10703
539d8e01
AJ
107042013-03-04 Andreas Jaeger <aj@suse.de>
10705
10706 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
10707 common definitions.
10708
10709 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
10710 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
10711 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
10712 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10713 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
10714 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10715
2e167a70 107162013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
10717
10718 [BZ #15055]
10719 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
10720 __ieee754_sqrl instead of __sqrl.
10721
68508633
JM
107222013-03-01 Joseph Myers <joseph@codesourcery.com>
10723
10724 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
10725 * sysdeps/powerpc/fpu_control.h: ... here.
10726 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
10727 * sysdeps/powerpc/bits/fenvinline.h: ... here.
10728 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
10729 * sysdeps/powerpc/bits/mathinline.h: ... here.
10730
7775448e
RM
107312013-03-01 Roland McGrath <roland@hack.frob.com>
10732
10733 * elf/dl-hwcaps.c (_dl_important_hwcaps):
10734 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
10735 to just [NEED_DL_SYSINFO_DSO].
10736 * elf/dl-support.c: Likewise.
10737 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10738 * elf/rtld.c (dl_main): Likewise.
10739 * elf/setup-vdso.h (setup_vdso): Likewise.
10740 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
10741 * sysdeps/unix/sysv/linux/dl-sysdep.c
10742 (_dl_discover_osversion): Likewise.
10743
4e9b5995
CD
107442013-03-01 Carlos O'Donell <carlos@redhat.com>
10745
10746 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
10747 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10748
e23872c8
SP
107492013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
10750
e5c74c63
SP
10751 * NEWS: Mention libm performance improvements and non-x86 PI
10752 futex support.
10753
e23872c8
SP
10754 * csu/libc-start.c (__pthread_initialize_minimal): Change
10755 function arguments.
10756 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10757
b5510883
JM
107582013-02-28 Joseph Myers <joseph@codesourcery.com>
10759
10760 [BZ #13550]
10761 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
10762 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
10763 <bp-sym.h> and <bp-asm.h>.
10764 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10765 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
10766 and <bp-asm.h>.
10767 (memcpy): Don't use BP_SYM.
10768 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
10769 <bp-asm.h>.
10770 (__mpn_add_n): Don't use BP_SYM.
10771 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
10772 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
10773 and <bp-asm.h>.
10774 (__mpn_addmul_1): Don't use BP_SYM.
10775 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10776 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
10777 <bp-sym.h>.
10778 (_setjmp): Don't use BP_SYM.
10779 (__novmx_setjmp): Likewise.
10780 (__GI__setjmp): Likewise.
10781 (__vmx_setjmp): Likewise.
10782 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
10783 <bp-sym.h>.
10784 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
10785 (__bzero): Don't use BP_SYM.
10786 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10787 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10788 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
10789 <bp-sym.h> and <bp-asm.h>.
10790 (memcpy): Don't use BP_SYM.
10791 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
10792 <bp-sym.h> and <bp-asm.h>.
10793 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10794 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
10795 <bp-sym.h> and <bp-asm.h>.
10796 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10797 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
10798 <bp-asm.h>.
10799 (__mpn_lshift): Don't use BP_SYM.
10800 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10801 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
10802 <bp-asm.h>.
10803 (memset): Don't use BP_SYM.
10804 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10805 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10806 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
10807 <bp-asm.h>.
10808 (__mpn_mul_1): Don't use BP_SYM.
10809 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10810 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
10811 <bp-sym.h> and <bp-asm.h>.
10812 (memcmp): Don't use BP_SYM.
10813 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
10814 <bp-sym.h> and <bp-asm.h>.
10815 (memcpy): Don't use BP_SYM.
10816 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
10817 <bp-sym.h> and <bp-asm.h>.
10818 (memset): Don't use BP_SYM.
10819 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
10820 <bp-sym.h> and <bp-asm.h>.
10821 (strncmp): Don't use BP_SYM.
10822 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
10823 <bp-sym.h> and <bp-asm.h>.
10824 (memcpy): Don't use BP_SYM.
10825 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
10826 <bp-sym.h> and <bp-asm.h>.
10827 (memset): Don't use BP_SYM.
10828 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
10829 <bp-sym.h> and <bp-asm.h>.
10830 (__memchr): Don't use BP_SYM.
10831 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
10832 <bp-sym.h> and <bp-asm.h>.
10833 (memcmp): Don't use BP_SYM.
10834 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
10835 <bp-sym.h> and <bp-asm.h>.
10836 (memcpy): Don't use BP_SYM.
10837 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
10838 <bp-sym.h> and <bp-asm.h>.
10839 (__mempcpy): Don't use BP_SYM.
10840 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
10841 <bp-sym.h> and <bp-asm.h>.
10842 (__memrchr): Don't use BP_SYM.
10843 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
10844 <bp-sym.h> and <bp-asm.h>.
10845 (memset): Don't use BP_SYM.
10846 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
10847 <bp-sym.h> and <bp-asm.h>.
10848 (__rawmemchr): Don't use BP_SYM.
10849 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
10850 <bp-sym.h> and <bp-asm.h>.
10851 (__STRCMP): Don't use BP_SYM.
10852 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
10853 <bp-sym.h> and <bp-asm.h>.
10854 (strchr): Don't use BP_SYM.
10855 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
10856 <bp-sym.h> and <bp-asm.h>.
10857 (__strchrnul): Don't use BP_SYM.
10858 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
10859 <bp-sym.h> and <bp-asm.h>.
10860 (strlen): Don't use BP_SYM.
10861 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
10862 <bp-sym.h> and <bp-asm.h>.
10863 (strncmp): Don't use BP_SYM.
10864 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
10865 <bp-sym.h> and <bp-asm.h>.
10866 (__strnlen): Don't use BP_SYM.
10867 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
10868 <bp-asm.h>.
10869 (__mpn_rshift): Don't use BP_SYM.
10870 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10871 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
10872 <bp-sym.h> and <bp-asm.h>.
10873 (__sigsetjmp): Don't use BP_SYM.
10874 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
10875 (L(start_addresses)): Don't use BP_SYM.
10876 (_start): Likewise.
10877 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
10878 <bp-asm.h>.
10879 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
10880 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10881 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10882 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
10883 <bp-asm.h>.
10884 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
10885 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10886 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10887 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
10888 <bp-asm.h>.
10889 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
10890 comments.
10891 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10892 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
10893 <bp-asm.h>.
10894 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
10895 FIXME comments.
10896 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10897 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10898 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
10899 <bp-asm.h>.
10900 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
10901 comment.
10902 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
10903 and <bp-asm.h>.
10904 (strncmp): Don't use BP_SYM,
10905 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
10906 <bp-asm.h>.
10907 (__mpn_sub_n): Don't use BP_SYM.
10908 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10909 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
10910 and <bp-asm.h>.
10911 (__mpn_submul_1): Don't use BP_SYM.
10912 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
10914 <bp-sym.h> and <bp-asm.h>.
10915 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
10917 <bp-sym.h> and <bp-asm.h>.
10918 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
10919 comment.
10920
8d19fe64
SP
109212013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10922
10923 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
10924 Use ZK to minimize writes to Z.
10925 (sub_magnitudes): Simplify code a bit.
10926 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
10927 Use ZK to minimize writes to Z.
10928 (sub_magnitudes): Simplify code a bit.
10929
85bd816a
RM
109302013-02-27 Roland McGrath <roland@hack.frob.com>
10931
10932 * csu/gmon-start.c: Add special exception to license text.
10933
b5977bf2
RH
109342013-02-27 Richard Henderson <rth@redhat.com>
10935
10936 * scripts/config.guess: Update from config.git.
10937 * scripts/config.sub: Likewise.
10938
11d6e2f2
SP
109392013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10940
09c14ed2
SP
10941 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
10942
a688864e
SP
10943 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
10944
6295157a
SP
10945 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
10946
b8de2202
SP
10947 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
10948
11d6e2f2
SP
10949 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
10950
7e80ddb8
RM
109512013-02-26 Roland McGrath <roland@hack.frob.com>
10952
10953 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
10954 [$(build-shared = yes].
7e80ddb8 10955
7da6d9ed
SP
109562013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10957
45f05884
SP
10958 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
10959 (__mul): Reduce iterations for calculating mantissa.
10960
2236d359
SP
10961 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
10962 MPTWO.
10963 (__mpranred): Likewise.
10964
7da6d9ed
SP
10965 [BZ #15160]
10966 * malloc/memusagestat.c (main): Draw graphs for heap and stack
10967 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
10968
b7688c42
PE
109692013-02-26 Paul Eggert <eggert@cs.ucla.edu>
10970
10971 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
10972 Define __attribute__.
10973
53a5c423
SP
109742013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10975
10976 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
10977 unused.
10978 * posix/regex_internal.h (__attribute): Remove.
10979 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
10980 (re_string_context_at): Likewise.
10981 (bitset_not): Use __attribute__ and mark function as possibly
10982 unused.
10983 (bitset_merge): Likewise.
10984 (bitset_mask): Likewise.
10985 (re_string_char_size_at): Likewise.
10986 (re_string_wchar_at): Likewise.
10987 (re_string_elem_size_at): Likewise.
10988
60f5a8b5
SP
109892013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10990
2a983a2e
SP
10991 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
10992 code.
10993 (cc32): Likewise.
10994
e69804d1
SP
10995 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
10996 (__acr): Likewise.
10997 (__cpy): Likewise.
10998 (norm): Likewise.
10999 (denorm): Likewise.
11000 (__dbl_mp): Likewise.
11001 (add_magnitudes): Likewise.
11002 (sub_magnitudes): Likewise.
11003 (__mul): Likewise.
11004 (__inv): Likewise.
11005
2f22a1e8
SP
11006 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
11007 style.
11008
8930ddc7
SP
11009 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
11010 style.
11011
dc60cb11
SP
11012 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
11013 code.
11014
60f5a8b5
SP
11015 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
11016 up changes with default code.
11017 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
11018 Likewise.
11019
b4d1fd33
AM
110202013-02-24 Allan McRae <allan@archlinux.org>
11021
faf6f8bc
AM
11022 * manual/socket.texi (The Internet Namespace): Order menu items
11023 to match that in the file.
11024
b4d1fd33
AM
11025 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
11026 node listing of the info page menu.
11027
2366713d
JM
110282013-02-21 Joseph Myers <joseph@codesourcery.com>
11029
11030 [BZ #13550]
11031 * sysdeps/i386/bp-asm.h: Remove file.
11032 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11033 (PARMS): Do not use macros from bp-asm.h.
11034 (S1): Likewise.
11035 (S2): Likewise.
11036 (SIZE): Likewise.
11037 (__mpn_add_n): Do not use BP_SYM
11038 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
11039 "bp-asm.h".
11040 (PARMS): Do not use macros from bp-asm.h.
11041 (S1): Likewise.
11042 (SIZE): Likewise.
11043 (__mpn_addmul_1): Do not use BP_SYM
11044 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
11045 "bp-asm.h".
11046 (PARMS): Do not use macros from bp-asm.h.
11047 (SIGMSK): Likewise.
11048 (_setjmp): Likewise. Do not use BP_SYM.
11049 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
11050 "bp-asm.h".
11051 (PARMS): Do not use macros from bp-asm.h.
11052 (SIGMSK): Likewise.
11053 (setjmp): Likewise. Do not use BP_SYM.
11054 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
11055 "bp-asm.h".
11056 (PARMS): Do not use macros from bp-asm.h.
11057 (__frexp): Do not use BP_SYM.
11058 (frexp): Likewise.
11059 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
11060 "bp-asm.h".
11061 (PARMS): Do not use macros from bp-asm.h.
11062 (__frexpf): Do not use BP_SYM.
11063 (frexpf): Likewise.
11064 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
11065 "bp-asm.h".
11066 (PARMS): Do not use macros from bp-asm.h.
11067 (__frexpl): Do not use BP_SYM.
11068 (frexpl): Likewise.
11069 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
11070 "bp-asm.h".
11071 (PARMS): Do not use macros from bp-asm.h.
11072 (__remquo): Do not use BP_SYM.
11073 (remquo): Likewise.
11074 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
11075 "bp-asm.h".
11076 (PARMS): Do not use macros from bp-asm.h.
11077 (__remquof): Do not use BP_SYM.
11078 (remquof): Likewise.
11079 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
11080 "bp-asm.h".
11081 (PARMS): Do not use macros from bp-asm.h.
11082 (__remquol): Do not use BP_SYM.
11083 (remquol): Likewise.
11084 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
11085 "bp-asm.h".
11086 (PARMS): Do not use macros from bp-asm.h.
11087 (DEST): Likewise.
11088 (SRC): Likewise.
11089 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
11090 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
11091 "bp-asm.h".
11092 (PARMS): Do not use macros from bp-asm.h.
11093 (strlen): Do not use BP_SYM.
11094 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
11095 "bp-asm.h".
11096 (PARMS): Do not use macros from bp-asm.h.
11097 (S1): Likewise.
11098 (S2): Likewise.
11099 (SIZE): Likewise.
11100 (__mpn_add_n): Do not use BP_SYM.
11101 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
11102 "bp-asm.h".
11103 (PARMS): Do not use macros from bp-asm.h.
11104 (S1): Likewise.
11105 (SIZE): Likewise.
11106 (__mpn_addmul_1): Do not use BP_SYM.
11107 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
11108 weak_alias.
11109 (bzero): Likewise.
11110 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
11111 "bp-asm.h".
11112 (PARMS): Do not use macros from bp-asm.h.
11113 (S): Likewise.
11114 (SIZE): Likewise.
11115 (__mpn_lshift): Do not use BP_SYM.
11116 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
11117 "bp-asm.h".
11118 (PARMS): Do not use macros from bp-asm.h.
11119 (DEST): Likewise.
11120 (SRC): Likewise.
11121 (LEN): Likewise.
11122 (memcpy): Likewise. Do not use BP_SYM.
11123 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
11124 libc_hidden_def and weak_alias.
11125 (mempcpy): Do not use BP_SYM in weak_alias.
11126 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
11127 "bp-asm.h".
11128 (PARMS): Do not use macros from bp-asm.h.
11129 (DEST): Likewise.
11130 (LEN): Likewise.
11131 [!BZERO_P] (CHR): Likewise.
11132 (memset): Likewise. Do not use BP_SYM.
11133 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
11134 "bp-asm.h".
11135 (PARMS): Do not use macros from bp-asm.h.
11136 (S1): Likewise.
11137 (SIZE): Likewise.
11138 (__mpn_mul_1): Do not use BP_SYM.
11139 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
11140 "bp-asm.h".
11141 (PARMS): Do not use macros from bp-asm.h.
11142 (S): Likewise.
11143 (SIZE): Likewise.
11144 (__mpn_rshift): Do not use BP_SYM.
11145 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
11146 "bp-asm.h".
11147 (PARMS): Do not use macros from bp-asm.h.
11148 (STR): Likewise.
11149 (CHR): Likewise.
11150 (strchr): Likewise. Do not use BP_SYM.
11151 (index): Do not use BP_SYM in weak_alias.
11152 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
11153 "bp-asm.h".
11154 (PARMS): Do not use macros from bp-asm.h.
11155 (DEST): Likewise.
11156 (SRC): Likewise.
11157 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
11158 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
11159 "bp-asm.h".
11160 (PARMS): Do not use macros from bp-asm.h.
11161 (strlen): Do not use BP_SYM.
11162 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
11163 "bp-asm.h".
11164 (PARMS): Do not use macros from bp-asm.h.
11165 (S1): Likewise.
11166 (S2): Likewise.
11167 (SIZE): Likewise.
11168 (__mpn_sub_n): Do not use BP_SYM.
11169 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
11170 "bp-asm.h".
11171 (PARMS): Do not use macros from bp-asm.h.
11172 (S1): Likewise.
11173 (SIZE): Likewise.
11174 (__mpn_submul_1): Do not use BP_SYM.
11175 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
11176 "bp-asm.h".
11177 (PARMS): Do not use macros from bp-asm.h.
11178 (S1): Likewise.
11179 (S2): Likewise.
11180 (SIZE): Likewise.
11181 (__mpn_add_n): Do not use BP_SYM.
11182 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
11183 weak_alias.
11184 (bzero): Likewise.
11185 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
11186 "bp-asm.h".
11187 (PARMS): Do not use macros from bp-asm.h.
11188 (BLK2): Likewise.
11189 (LEN): Likewise.
11190 (memcmp): Do not use BP_SYM.
11191 (bcmp): Do not use BP_SYM in weak_alias.
11192 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
11193 "bp-asm.h".
11194 (PARMS): Do not use macros from bp-asm.h.
11195 (DEST): Likewise.
11196 (SRC): Likewise.
11197 (LEN): Likewise.
11198 (memcpy): Likewise. Do not use BP_SYM.
11199 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
11200 "bp-asm.h".
11201 (PARMS): Do not use macros from bp-asm.h.
11202 (DEST): Likewise.
11203 (SRC): Likewise.
11204 (LEN): Likewise.
11205 (memmove): Likewise. Do not use BP_SYM.
11206 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
11207 "bp-asm.h".
11208 (PARMS): Do not use macros from bp-asm.h.
11209 (DEST): Likewise.
11210 (SRC): Likewise.
11211 (LEN): Likewise.
11212 (__mempcpy): Likewise. Do not use BP_SYM.
11213 (mempcpy): Do not use BP_SYM in weak_alias.
11214 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
11215 "bp-asm.h".
11216 (PARMS): Do not use macros from bp-asm.h.
11217 (DEST): Likewise.
11218 (LEN): Likewise.
11219 [!BZERO_P] (CHR): Likewise.
11220 (memset): Likewise. Do not use BP_SYM.
11221 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
11222 "bp-asm.h".
11223 (PARMS): Do not use macros from bp-asm.h.
11224 (STR2): Likewise.
11225 (strcmp): Do not use BP_SYM.
11226 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
11227 "bp-asm.h".
11228 (PARMS): Do not use macros from bp-asm.h.
11229 (STR): Likewise.
11230 (DELIM): Likewise.
11231 [USE_AS_STRTOK_R] (SAVE): Likewise.
11232 (FUNCTION): Likewise. Do not use BP_SYM.
11233 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
11234 aliases.
11235 (strtok_r): Likewise.
11236 (__GI___strtok_r): Likewise.
11237 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11238 (PARMS): Do not use macros from bp-asm.h.
11239 (S): Likewise.
11240 (SIZE): Likewise.
11241 (__mpn_lshift): Do not use BP_SYM.
11242 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11243 (PARMS): Do not use macros from bp-asm.h.
11244 (STR): Likewise.
11245 (CHR): Likewise.
11246 (__memchr): Do not use BP_SYM.
11247 (memchr): Do not use BP_SYM in weak_alias.
11248 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11249 (PARMS): Do not use macros from bp-asm.h.
11250 (BLK2): Likewise.
11251 (LEN): Likewise.
11252 (memcmp): Do not use BP_SYM.
11253 (bcmp): Do not use BP_SYM in weak_alias.
11254 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
11255 (PARMS): Do not use macros from bp-asm.h.
11256 (S1): Likewise.
11257 (SIZE): Likewise.
11258 (__mpn_mul_1): Do not use BP_SYM.
11259 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
11260 "bp-asm.h".
11261 (PARMS): Do not use macros from bp-asm.h.
11262 (STR): Likewise.
11263 (CHR): Likewise.
11264 (__rawmemchr): Do not use BP_SYM.
11265 (rawmemchr): Do not use BP_SYM in weak_alias.
11266 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11267 (PARMS): Do not use macros from bp-asm.h.
11268 (S): Likewise.
11269 (SIZE): Likewise.
11270 (__mpn_rshift): Do not use BP_SYM.
11271 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11272 (PARMS): Do not use macros from bp-asm.h.
11273 (SIGMSK): Likewise.
11274 (__sigsetjmp): Likewise. Do not use BP_SYM.
11275 * sysdeps/i386/start.S: Do not include "bp-sym.h".
11276 (_start): Do not use BP_SYM.
11277 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
11278 (PARMS): Do not use macros from bp-asm.h.
11279 (DEST): Likewise.
11280 (SRC): Likewise.
11281 (__stpcpy): Likewise. Do not use BP_SYM.
11282 (stpcpy): Do not use BP_SYM in weak_alias.
11283 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
11284 "bp-asm.h".
11285 (PARMS): Do not use macros from bp-asm.h.
11286 (DEST): Likewise.
11287 (SRC): Likewise.
11288 (LEN): Likewise.
11289 (__stpncpy): Likewise. Do not use BP_SYM.
11290 (stpncpy): Do not use BP_SYM in weak_alias.
11291 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11292 (PARMS): Do not use macros from bp-asm.h.
11293 (STR): Likewise.
11294 (CHR): Likewise.
11295 (strchr): Likewise. Do not use BP_SYM.
11296 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
11297 "bp-asm.h".
11298 (PARMS): Do not use macros from bp-asm.h.
11299 (STR): Likewise.
11300 (CHR): Likewise.
11301 (__strchrnul): Likewise. Do not use BP_SYM.
11302 (strchrnul): Do not use BP_SYM in weak_alias.
11303 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
11304 "bp-asm.h".
11305 (PARMS): Do not use macros from bp-asm.h.
11306 (STOP): Likewise.
11307 (strcspn): Do not use BP_SYM.
11308 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
11309 "bp-asm.h".
11310 (PARMS): Do not use macros from bp-asm.h.
11311 (STR): Likewise.
11312 (STOP): Likewise.
11313 (strpbrk): Likewise. Do not use BP_SYM.
11314 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
11315 "bp-asm.h".
11316 (PARMS): Do not use macros from bp-asm.h.
11317 (STR): Likewise.
11318 (CHR): Likewise.
11319 (strrchr): Likewise. Do not use BP_SYM.
11320 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
11321 (PARMS): Do not use macros from bp-asm.h.
11322 (SKIP): Likewise.
11323 (strspn): Do not use BP_SYM.
11324 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
11325 (PARMS): Do not use macros from bp-asm.h.
11326 (STR): Likewise.
11327 (DELIM): Likewise.
11328 (SAVE): Likewise.
11329 (FUNCTION): Likewise. Do not use BP_SYM.
11330 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
11331 aliases.
11332 (strtok_r): Likewise.
11333 (__GI___strtok_r): Likewise.
11334 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11335 (PARMS): Do not use macros from bp-asm.h.
11336 (S1): Likewise.
11337 (S2): Likewise.
11338 (SIZE): Likewise.
11339 (__mpn_sub_n): Do not use BP_SYM.
11340 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
11341 "bp-asm.h".
11342 (PARMS): Do not use macros from bp-asm.h.
11343 (S1): Likewise.
11344 (SIZE): Likewise.
11345 (__mpn_submul_1): Do not use BP_SYM.
11346 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
11347 <bp-sym.h>.
11348 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
11349 and <bp-asm.h>.
11350 (PARMS): Do not use macros from bp-asm.h.
11351 (FLAGS): Likewise.
11352 (PTID): Likewise.
11353 (TLS): Likewise.
11354 (CTID): Likewise.
11355 (__clone): Do not use BP_SYM.
11356 (clone): Do not use BP_SYM in weak_alias.
11357 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
11358 and <bp-asm.h>.
11359 (PARMS): Do not use macros from bp-asm.h.
11360 (LEN): Likewise.
11361 (__mmap64): Do not use BP_SYM.
11362 (mmap64): Do not use BP_SYM in weak_alias.
11363 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11364 <bp-sym.h> and <bp-asm.h>.
11365 (PARMS): Do not use macros from bp-asm.h.
11366 (__posix_fadvise64_l64): Do not use BP_SYM.
11367 * sysdeps/unix/sysv/linux/i386/semtimedop.S
11368 (PARMS): Do not use macros from bp-asm.h.
11369 (NSOPS): Likewise.
11370 (semtimedop): Do not use BP_SYM.
11371 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
11372 and <bp-asm.h>.
11373
582a3cff
AM
113742013-02-21 Allan McRae <allan@archlinux.org>
11375
11376 * manual/message.texi (Charset conversion in gettext):
11377 Move @end statement to beginning of line.
11378
bab8a695
SP
113792013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11380
80945231
SP
11381 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
11382 static.
11383 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11384 Likewise.
11385
bab8a695
SP
11386 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
11387 (denorm): Likewise.
11388 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
11389 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
11390
e21d7aa7
AK
113912013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11392
11393 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
11394 tail-call to the resolved function if pltexit isn't needed.
11395
4c7a4263
SP
113962013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11397
11398 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
11399 or Y being zero as being unlikely.
11400 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11401 Likewise.
11402
41f49342
CD
114032013-02-20 Carlos O'Donell <carlos@redhat.com>
11404
11405 * manual/nss.texi (System Databases and Name Service Switch):
11406 Remove frobnicate @pxref.
11407
50022a93
TS
114082013-02-20 Thomas Schwinge <thomas@codesourcery.com>
11409
11410 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11411 __attribute__ ((unused)) to __attribute__ ((__unused__)).
11412
08cbd996
PM
114132013-02-20 Petr Machata <pmachata@redhat.com>
11414
11415 * elf/elf.h (R_ARM_TARGET1): New macro.
11416 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
11417 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
11418 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
11419 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
11420 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
11421 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
11422 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
11423 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
11424 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
11425 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
11426 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
11427 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
11428 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
11429 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
11430 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
11431 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
11432 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
11433 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
11434 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
11435 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
11436 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
11437 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
11438 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
11439 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
11440 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
11441 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
11442 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
11443 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
11444 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
11445 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
11446 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
11447 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
11448 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
11449 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
11450 (R_ARM_THM_GOT_BREL12): Likewise.
11451 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
11452 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
11453 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
11454 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
11455 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
11456 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
11457 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
11458 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
11459 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
11460
c7b275d6
TS
114612013-02-20 Thomas Schwinge <thomas@codesourcery.com>
11462
11463 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11464 __attribute_used__ to __attribute__ ((unused)).
11465
20cd7fb3
SP
114662013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11467
11468 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
11469 powerpc mpa.c.
11470 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
11471 comment formatting.
11472 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
11473
92945b52
JM
114742013-02-19 Joseph Myers <joseph@codesourcery.com>
11475
11476 [BZ #13550]
11477 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
11478 Remove macro.
11479 (ENTER): Remove both macro definitions.
11480 (LEAVE): Likewise.
11481 (CHECK_BOUNDS_LOW): Likewise.
11482 (CHECK_BOUNDS_HIGH): Likewise.
11483 (CHECK_BOUNDS_BOTH): Likewise.
11484 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
11485 (RETURN_BOUNDED_POINTER): Likewise.
11486 (RETURN_NULL_BOUNDED_POINTER): Likewise.
11487 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
11488 (POP_ERRNO_LOCATION_RETURN): Likewise.
11489 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
11490 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11491 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
11492 macros.
11493 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11494 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
11495 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
11496 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
11497 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
11498 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
11499 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
11500 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
11501 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
11502 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
11503 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
11504 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
11505 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11506 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
11507 removed macros.
11508 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11509 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
11510 macros.
11511 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11512 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
11513 * sysdeps/i386/i586/memset.S (memset): Likewise.
11514 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
11515 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11516 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
11517 macros.
11518 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11519 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
11520 Change uses of L(2) to L(out).
11521 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
11522 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
11523 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
11524 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11525 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
11526 removed macros.
11527 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11528 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
11529 macros.
11530 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11531 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
11532 (RETURN): Do not use macro LEAVE.
11533 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
11534 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
11535 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
11536 * sysdeps/i386/i686/memset.S (memset): Likewise.
11537 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
11538 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
11539 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11540 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
11541 Likewise.
11542 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11543 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
11544 L(1_2) and L(1_3) into L(1).
11545 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11546 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
11547 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11548 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
11549 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11550 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
11551 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
11552 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11553 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
11554 macros.
11555 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
11556 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11557 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
11558 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
11559 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
11560 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11561 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
11562 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
11563 * sysdeps/i386/strcspn.S (strcspn): Likewise.
11564 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
11565 * sysdeps/i386/strrchr.S (strrchr): Likewise.
11566 * sysdeps/i386/strspn.S (strspn): Likewise.
11567 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
11568 conditional code.
11569 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11570 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
11571 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11572 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
11573 L(1_3) into L(1_1).
11574 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
11575 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11576 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
11577 macros.
11578 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11579
2389741a
JJ
115802013-02-19 Jakub Jelinek <jakub@redhat.com>
11581
11582 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
11583 macro.
11584
2016b3cd
SP
115852013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11586
e4f22324
SP
11587 * math/atest-exp.c (exp_mpn): Remove ROUND.
11588 * math/atest-exp2.c (exp_mpn): Likewise.
11589 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
11590
2016b3cd
SP
11591 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
11592 * stdlib/tst-tls-atexit-lib.c: Likewise.
11593 * stdlib/tst-tls-atexit.c: Likewise.
11594
4be9b544
MF
115952013-02-18 Mike Frysinger <vapier@gentoo.org>
11596
11597 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
11598 and __attribute_alloc_size__.
11599
2f62b9ee
MF
116002013-02-18 Mike Frysinger <vapier@gentoo.org>
11601
11602 * include/programs/xmalloc.h: Change __attribute_alloc_size to
11603 __attribute_alloc_size__.
11604 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
11605 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
11606
6ff444c4
MF
116072013-02-18 Mike Frysinger <vapier@gentoo.org>
11608
11609 * include/programs/xmalloc.h: New file.
11610 * catgets/gencat.c: Include it.
11611 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
11612 * elf/pldd.c: Likewise.
11613 * iconv/iconv_charmap.c: Likewise.
11614 * iconv/iconvconfig.c: Likewise.
11615 * iconv/strtab.c: Likewise.
11616 * locale/programs/locale.c: Likewise.
11617 * locale/programs/localedef.h: Likewise.
11618 * locale/programs/simple-hash.c: Likewise.
11619 * nscd/nscd.h: Likewise.
11620 * nss/makedb.c: Likewise.
11621 * sysdeps/generic/ldconfig.h: Likewise.
11622
be179c8a
SP
116232013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11624
ba384f6e
SP
11625 * Versions.def: Add GLIBC_2.18.
11626 * include/link.h (struct link_map): New member l_tls_dtor_count.
11627 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
11628 (__call_tls_dtors): Likewise.
11629 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
11630 __cxa_thread_atexit_impl.
11631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11632 Likewise.
11633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11634 Likewise.
11635 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11636 Likewise.
11637 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11638 Likewise.
11639 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11640 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
11641 Likewise.
11642 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
11643 Likewise.
11644 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11645 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11646 Likewise.
11647 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
11648 (tests): Add test case tst-tls-atexit.
11649 (modules-names): Add shared library for tst-tls-atexit.
85891aca 11650 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
11651 (GLIBC_PRIVATE): Add __call_tls_dtors.
11652 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
11653 for libstdc++.
11654 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
11655 * stdlib/tst-tls-atexit.c: New test case.
11656 * stdlib/tst-tls-atexit-lib.c: New test case.
11657
ffaa74cf 11658 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 11659
be179c8a
SP
11660 * elf/Versions (ld): Add _dl_find_dso_for_object.
11661 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
11662 * elf/dl-open.c (_dl_find_dso_for_object): New function.
11663 (dl_open_worker): Use _dl_find_dso_for_object.
11664 * elf/dl-sym.c (do_sym): Likewise.
11665 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
11666
f78b5caa
AK
116672013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11668
11669 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
11670 Syntactic changes only.
11671 (_dl_runtime_profile): Do a tail-call to the resolved function.
11672
29691210
JM
116732013-02-17 Joseph Myers <joseph@codesourcery.com>
11674
11675 [BZ #13550]
11676 * sysdeps/x86_64/bp-asm.h: Remove file.
11677 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
11678 <bp-sym.h> and <bp-asm.h>.
11679 (__clone): Do not use BP_SYM.
11680 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
11681 <bp-sym.h> and <bp-asm.h>.
11682 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11683 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
11684 "bp-asm.h".
11685 (_setjmp): Do not use BP_SYM.
11686 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
11687 "bp-asm.h".
11688 (setjmp): Do not use BP_SYM.
11689 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
11690 libc_hidden_def.
11691 (mempcpy): Do not use BP_SYM in weak_alias.
11692 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
11693 "bp-asm.h".
11694 (strchr): Do not use BP_SYM.
11695 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
11696 "bp-asm.h".
11697 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
11698 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
11699 (_start): Do not use BP_SYM.
11700 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
11701 "bp-asm.h".
11702 (strcat): Do not use BP_SYM.
11703 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
11704 "bp-asm.h".
11705 (STRCMP): Do not use BP_SYM.
11706 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
11707 "bp-asm.h".
11708 (STRCPY): Do not use BP_SYM.
11709 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
11710 "bp-asm.h".
11711 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
11712 "bp-asm.h".
11713 (FUNCTION): Do not use BP_SYM.
11714 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
11715 weak_alias.
11716 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
11717
f238fd19
AJ
117182013-02-17 Andreas Jaeger <aj@suse.de>
11719
11720 * time/Versions: Sort entries.
11721 * string/Versions: Likewise.
11722 * resolv/Versions: Likewise.
11723 * posix/Versions: Likewise.
11724 * iconv/Versions: Likewise.
11725 * elf/Versions: Likewise.
11726 * wcsmbs/Versions: Likewise.
11727
bd07f23c 117282013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 11729
22af19f9
SP
11730 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
11731 loop termination condition.
11732
4709fe76
SP
11733 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
11734 variable to calculate EZ.
11735 (__sqr): Likewise.
2d0e0f29
SP
11736
11737 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
11738 the lower precision input.
11739
daaa7713
JM
117402013-02-15 Joseph Myers <joseph@codesourcery.com>
11741
11742 [BZ #13550]
11743 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
11744 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
11745 (run-via-rtld-prefix): Do not handle %-bp tests.
11746 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
11747 (all-object-suffixes): Remove .ob.
11748 (bppfx): Remove variable.
11749 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
11750 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
11751 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
11752 [$(build-bounded) = yes] (libtype.ob): Likewise.
11753 * Makerules (elide-routines.ob): Remove variable.
11754 (do-tests-clean): Do not handle *-bp.out.
11755 (common-mostlyclean): Do not handle *-bp and *-bp.out.
11756 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
11757 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
11758 (tests): Do not include $(tests-bp.out).
11759 (xtests): Do not include $(xtests-bp.out).
11760 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
11761 [$(build-bounded) = yes] ($(addprefix
11762 $(objpfx),$(binaries-bounded))): Remove rule.
11763 ($(objpfx)%-bp.out): Remove rule.
11764 * config.make.in (build-bounded): Remove variable.
11765 * crypt/Makefile [$(build-bounded) = yes]
11766 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
11767 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
11768 append to variable.
11769 [$(build-bounded) = yes] (install-lib): Likewise.
11770 [$(build-bounded) = yes] (generated): Likewise.
11771 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
11772 Remove rule.
11773 * intl/Makefile [$(build-bounded) = yes]
11774 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
11775 * math/Makefile [$(build-bounded) = yes]
11776 ($(tests:%=$(objpfx)%-bp): Likewise.
11777 * misc/Makefile [$(build-bounded) = yes]
11778 ($(objpfx)tst-tsearch-bp): Likewise.
11779 * nptl/Makeconfig (bounded-thread-library): Remove variable.
11780 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
11781 Remove dependency.
11782 * string/Makefile (o-objects.ob): Remove variable.
11783 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
11784 (CFLAGS-.ob): Remove variable.
11785 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
11786 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
11787 both definitions of variable.
11788 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
11789 (ASFLAGS-.ob): Remove variable.
11790
e97ed6dd
JM
117912013-02-14 Joseph Myers <joseph@codesourcery.com>
11792
2bdd4ca6
JM
11793 [BZ #13550]
11794 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
11795 Remove __BOUNDED_POINTERS__ from condition.
11796 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
11797 * string/bits/string2.h [!__NO_STRING_INLINES &&
11798 !__BOUNDED_POINTERS__]: Likewise.
11799 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
11800 Likewise.
11801 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
11802 Remove conditional code.
11803 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
11804 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
11805 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
11806 condition.
11807
e97ed6dd
JM
11808 [BZ #13550]
11809 * csu/libc-start.c: Do not include <bp-sym.h>.
11810 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
11811 * elf/dl-open.c: Do not include <bp-sym.h>.
11812 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
11813 * math/fegetenv.c: Do not include <bp-sym.h>.
11814 (fegetenv): Do not use BP_SYM in versioned symbols.
11815 * nptl/sysdeps/pthread/bits/libc-lockP.h
11816 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
11817 <bp-sym.h>.
11818 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11819 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
11820 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11821 (__pthread_mutex_destroy): Likewise.
11822 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11823 (__pthread_mutex_lock): Likewise.
11824 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11825 (__pthread_mutex_trylock): Likewise.
11826 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11827 (__pthread_mutex_unlock): Likewise.
11828 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11829 (__pthread_mutexattr_init): Likewise.
11830 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11831 (__pthread_mutexattr_destroy): Likewise.
11832 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11833 (__pthread_mutexattr_settype): Likewise.
11834 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11835 (__pthread_rwlock_init): Likewise.
11836 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11837 (__pthread_rwlock_destroy): Likewise.
11838 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11839 (__pthread_rwlock_rdlock): Likewise.
11840 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11841 (__pthread_rwlock_tryrdlock): Likewise.
11842 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11843 (__pthread_rwlock_wrlock): Likewise.
11844 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11845 (__pthread_rwlock_trywrlock): Likewise.
11846 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11847 (__pthread_rwlock_unlock): Likewise.
11848 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11849 (__pthread_key_create): Likewise.
11850 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11851 (__pthread_setspecific): Likewise.
11852 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11853 (__pthread_getspecific): Likewise.
11854 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
11855 Likewise.
11856 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11857 (_pthread_cleanup_push_defer): Likewise.
11858 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11859 (_pthread_cleanup_pop_restore): Likewise.
11860 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11861 (pthread_setcancelstate): Likewise.
11862 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
11863 <bp-sym.h>.
11864 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
11865 (memchr): Do not use BP_SYM in weak_alias.
11866 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
11867 (fegetenv): Do not use BP_SYM in versioned symbols.
11868 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
11869 (fesetenv): Do not use BP_SYM in versioned symbols.
11870 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11871 (feupdateenv): Do not use BP_SYM in versioned symbols.
11872 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11873 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11874 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
11875 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
11876 (open64): Do not use BP_SYM in weak_alias.
11877 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
11878 (fegetenv): Do not use BP_SYM in versioned symbols.
11879 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
11880 (fesetenv): Do not use BP_SYM in versioned symbols.
11881 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11882 (feupdateenv): Do not use BP_SYM in versioned symbols.
11883 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
11884 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
11885 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
11886 (feraiseexcept): Do not use BP_SYM in versioned symbols.
11887 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11888 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11889 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
11890 <bp-sym.h>.
11891 (__libc_start_main): Do not use BP_SYM.
11892
d6752ccd
SP
118932013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11894
cb57ce60
SP
11895 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
11896 redundant return line.
11897 (norm): Likewise.
11898 (denorm): Likewise.
11899 (dbl_mp): Likewise.
11900 (sub_magnitudes): Likewise.
11901 (__add): Likewise.
11902 (__sub): Likewise.
11903 (__mul): Likewise.
11904 (__inv): Likewise.
11905 (__dvd): Likewise.
11906 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
11907 (norm): Likewise.
11908 (denorm): Likewise.
11909 (dbl_mp): Likewise.
11910 (sub_magnitudes): Likewise.
11911 (__add): Likewise.
11912 (__sub): Likewise.
11913 (__mul): Likewise.
11914 (__inv): Likewise.
11915 (__dvd): Likewise.
11916
f414520d
SP
11917 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
11918 instead of __mul.
11919 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11920 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
11921 (cc32): Likewise.
11922
d6752ccd
SP
11923 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
11924 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
11925 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
11926 of __mul for squares.
11927 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
11928 function
11929 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
11930 Likewise.
11931 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
11932 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11933
70d9946a
JM
119342013-02-13 Joseph Myers <joseph@codesourcery.com>
11935
11936 [BZ #13550]
11937 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
11938 code.
11939 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
11940 prototype or function definition. Rename ubp_* variables and
11941 parameters. Remove argv definitions conditional on
11942 [__BOUNDED_POINTERS__].
11943 * debug/backtrace.c (__backtrace): Do not use __unbounded.
11944 * elf/dl-runtime.c (_dl_fixup): Likewise.
11945 * include/set-hooks.h (RUN_HOOK): Likewise.
11946 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
11947 definition.
11948 * string/strcpy.c (strcpy): Do not use __unbounded.
11949 * sysdeps/generic/frame.h (struct layout): Likewise.
11950 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
11951 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
11952 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
11953 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
11954 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
11955 (__backtrace): Likewise.
11956 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
11957 use __ptrvalue.
11958 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
11959 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11960 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11961 Likewise.
11962 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
11963 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
11964 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11965 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11966 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
11967 Do not use __unbounded.
11968 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
11969 Rename __unboundedrlimits parameter to rlimits in prototype.
11970 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
11971 Do not use __unbounded.
11972 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
11973 not use __ptrvalue.
11974 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11975 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
11976 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11977 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
11978 __ptrvalue or __unbounded.
11979 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
11980 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
11981 use __unbounded.
11982 (__new_msgctl): Do not use __ptrvalue.
11983 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
11984 __unbounded.
11985 (__libc_msgrcv): Do not use __ptrvalue.
11986 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
11987 startup_info): Do not use __unbounded.
11988 (__libc_start_main): Likewise. Rename ubp_* variables and
11989 parameters. Remove argv definitions conditional on
11990 [__BOUNDED_POINTERS__].
11991 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
11992 __ptrvalue.
11993 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
11994 use __unbounded.
11995 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
11996 or __ptrvalue.
11997 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
11998 use __unbounded.
11999 (__new_shmctl): Do not use __ptrvalue.
12000 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12001 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12002 Likewise.
12003 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12004 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
12005 (__libc_sigaction): Likewise.
12006 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
12007 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
12008 Likewise.
12009 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12010
cc7834d6
OB
120112013-02-13 Ondřej Bílka <neleai@seznam.cz>
12012
ffb1ec7b 12013 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
12014
12015 * string/mempcpy.c: Implement by calling memcpy.
12016
bdf02814
SP
120172013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12018
c2af38aa
SP
12019 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
12020
4e92d59e
SP
12021 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
12022 evaluation.
12023
909279a5
SP
12024 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
12025 values in the mantissa.
12026
bdf02814
SP
12027 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
12028 minimize writes to Z.
12029 (sub_magnitudes): Simplify code a bit.
12030
cd525923
RM
120312013-02-12 Roland McGrath <roland@hack.frob.com>
12032
12033 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
12034 from the message. The linker prefixes all warnings with that already.
12035
7e2f0d2d
AS
120362013-02-12 Andreas Schwab <schwab@suse.de>
12037
a445af0b
AS
12038 [BZ #15078]
12039 * posix/regexec.c (extend_buffers): Add parameter min_len.
12040 (check_matching): Pass minimum needed length.
12041 (clean_state_log_if_needed): Likewise.
12042 (get_subexp): Likewise.
12043 * posix/Makefile (tests): Add bug-regex34.
12044 (bug-regex34-ENV): Define.
12045 * posix/bug-regex34.c: New file.
12046
7e2f0d2d
AS
12047 [BZ #11561]
12048 * posix/regcomp.c (parse_bracket_exp): When looking up collating
12049 elements compare against the byte sequence of it, not its name.
12050 * posix/Makefile (tests): Add bug-regex35.
12051 (bug-regex35-ENV): Define.
12052 * posix/bug-regex35.c: New file.
12053
a175b684
TV
120542013-02-11 Tom de Vries <tom@codesourcery.com>
12055
12056 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
12057 comment.
12058 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
12059 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
12060 (CHECK_EOL): Add undef.
12061
310998fe 120622013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
12063
12064 * bits/stdlib-bsearch.h: New file.
12065 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 12066 * stdlib/stdlib.h: Likewise.
41eda41d 12067
8ded91fb
RM
120682013-02-11 Roland McGrath <roland@hack.frob.com>
12069
12070 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
12071 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
12072 declaration.
12073 * manual/search.texi (Array Search Function): Add missing const in
12074 lfind prototype.
12075 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
12076 declaration to use rlim_t.
12077 (Basic Scheduling Functions): Remove erroneous const from
12078 sched_getparam prototype. Remove erroneous * from
12079 sched_get_priority_max and sched_get_priority_min prototypes.
12080 (Resource Usage): Fix summary @comment on vtimes to refer to
12081 sys/vtimes.h rather than vtimes.h.
12082 Add missing *s in vtimes prototype.
12083 (Limits on Resources): Fix ulimit prototype to return long int.
12084 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
12085 prototypes to use long int rather than double.
12086 (BSD Random): Fix initstate and setstate to use char *, not void *.
12087 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
12088 prototype to make second argument 'struct aiocb64 *const[]'.
12089 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
12090 (Status of AIO Operations): Remove erroneous const in aio_return and
12091 aio_return64 prototypes.
12092 (Synchronizing I/O): Fix sync prototype to return void.
12093 * manual/startup.texi (Suboptions): Remove an erroneous const in
12094 getsubopt prototype.
12095 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
12096 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
12097 use size_t rather than int.
12098 (Scanning All Users): Likewise for getpwent_r.
12099 (Setting Groups): Add missing const to setgroups prototype.
12100 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
12101 * manual/socket.texi (Host Names): Fix gethostbyaddr and
12102 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
12103 'const void *' rather than 'const char *'.
12104 (Host Address Functions): Likewise for inet_ntop.
12105 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
12106 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
12107 ssize_t for return value.
12108 (Sending Data): Likewise for send, sendto, sendmsg.
12109 (Socket Option Functions): Add a missing const in setsockopt prototype.
12110 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
12111 use wchar_t for the argument.
12112 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
12113 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
12114 take no arguments.
12115 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
12116 double/float/long double for second argument.
12117 Fix return types of significand, significandf, significandl.
12118 * manual/filesys.texi (Setting Permissions): Use mode_t for second
12119 argument in fchmod prototype.
12120 (File Owner): Use uid_t and gid_t in fchown prototype.
12121 (File Times): Add const to utimes, futimes, and lutimes prototypes.
12122 (Making Special Files): Use mode_t and dev_t in mknod prototype.
12123 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
12124 use 'const struct dirent **' as argument types to CMP function pointer
12125 argument.
12126 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
12127 (File Times): Fix summary magic @comment for struct utimbuf and utime
12128 to refer to utime.h, not time.h.
12129 * manual/string.texi (Argz Functions): Add missing const in
12130 argz_extract and argz_next prototypes.
12131 (Finding Tokens in a String): Likewise for basename.
12132 (String/Array Comparison): Fix typo in wcscasecmp prototype.
12133 (Copying and Concatenation): Fix typo in wmemmove prototype.
12134 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
12135 (Signal Stack): Remove erroneous const in sigstack prototype.
12136 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
12137 prototype.
12138 (Simple Calendar Time): Likewise for stime.
12139 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
12140 prototype.
12141 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
12142 say sys/sysctl.h instead.
12143 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
12144 and vsyslog prototypes.
12145
fe77fe6d
TV
121462013-02-11 Tom de Vries <tom@codesourcery.com>
12147
12148 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
12149 Remove.
12150
3a09b620
RM
121512013-02-11 Roland McGrath <roland@hack.frob.com>
12152
12153 * misc/sys/mman.h: Fix typo in mremap comment.
12154
550a0b89
RM
121552013-02-08 Roland McGrath <roland@hack.frob.com>
12156
12157 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
12158 the '\0' terminator.
12159
a2da1673
JM
121602013-02-08 Joseph Myers <joseph@codesourcery.com>
12161
12162 [BZ #13550]
12163 * debug/segfault.c: Don't include <bp-checks.h>.
12164 * sysdeps/generic/bp-checks.h: Remove file.
12165 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
12166 (__GETDENTS): Don't use CHECK_N.
12167 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
12168 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12169 (__getgroups): Don't use CHECK_N.
12170 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
12171 (setgroups): Don't use CHECK_N.
12172 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
12173 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
12174 (__libc_msgrcv): Don't use CHECK_N.
12175 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
12176 (__libc_msgsnd): Don't use CHECK_N.
12177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
12178 <bp-checks.h>.
12179 (__libc_pread): Don't use CHECK_N.
12180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
12181 include <bp-checks.h>.
12182 (__libc_pread64): Don't use CHECK_N.
12183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
12184 include <bp-checks.h>.
12185 (__libc_pwrite): Don't use CHECK_N.
12186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
12187 include <bp-checks.h>.
12188 (__libc_pwrite64): Don't use CHECK_N.
12189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
12190 <bp-checks.h>.
12191 (__libc_pread): Don't use CHECK_N.
12192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
12193 include <bp-checks.h>.
12194 (__libc_pread64): Don't use CHECK_N.
12195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
12196 include <bp-checks.h>.
12197 (__libc_pwrite): Don't use CHECK_N.
12198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
12199 include <bp-checks.h>.
12200 (__libc_pwrite64): Don't use CHECK_N.
12201 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
12202 (do_pread): Don't use CHECK_N.
12203 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
12204 (do_pread64): Don't use CHECK_N.
12205 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
12206 (do_pwrite): Don't use CHECK_N.
12207 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
12208 (do_pwrite64): Don't use CHECK_N.
12209 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
12210 (__libc_readv): Don't use CHECK_N.
12211 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
12212 (semop): Don't use CHECK_N.
12213 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
12214 <bp-checks.h>.
12215 (semtimedop): Don't use CHECK_N.
12216 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
12217 (__libc_pread): Don't use CHECK_N.
12218 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
12219 <bp-checks.h>.
12220 (__libc_pread64): Don't use CHECK_N.
12221 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
12222 <bp-checks.h>.
12223 (__libc_pwrite): Don't use CHECK_N.
12224 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
12225 <bp-checks.h>.
12226 (__libc_pwrite64): Don't use CHECK_N.
12227 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
12228 <bp-checks.h>.
12229 (__libc_msgrcv): Don't use CHECK_N.
12230 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
12231 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
12232 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
12233 (__libc_writev): Don't use CHECK_N.
12234
b84660a8
RM
122352013-02-08 Roland McGrath <roland@hack.frob.com>
12236
7f3e75f8
RM
12237 * string/strcpy.c: Removed unused variable.
12238
b84660a8
RM
12239 * Makeconfig (+sysdep-includes): Define with := rather than =.
12240 Use an existing include/ subdir of each sysdeps dir before it.
12241
471514d3
CD
122422013-02-08 Carlos O'Donell <carlos@redhat.com>
12243
12244 * nscd/connection.c (register_traced_file): Comment function.
12245 [HAVE_INOTIFY] (union __inev): Define.
12246 [HAVE_INOTIFY] (inotify_check_files): New function.
12247 [HAVE_INOTIFY] (clear_db_cache): Likewise.
12248 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
12249 clear_db_cache.
12250 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
12251
b2d3c3be
CD
122522013-02-08 Carlos O'Donell <carlos@redhat.com>
12253
12254 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
12255 loaded if not already and that a failure is permanent.
12256
b39949d2
CD
122572013-02-08 Carlos O'Donell <carlos@redhat.com>
12258
ddacd1db 12259 [BZ #15006]
b39949d2
CD
12260 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
12261 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
12262
b2c9eff4
JM
122632013-02-08 Joseph Myers <joseph@codesourcery.com>
12264
f3aae3f3
JM
12265 [BZ #13550]
12266 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
12267 (CHECK_1_NULL_OK): Likewise.
12268 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
12269 (__fxstat): Do not use CHECK_1.
12270 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
12271 <bp-checks.h>.
12272 (___fxstat64): Do not use CHECK_1.
12273 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
12274 <bp-checks.h>.
12275 (__fxstatat): Do not use CHECK_1.
12276 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
12277 <bp-checks.h>.
12278 (__fxstatat64): Do not use CHECK_1.
12279 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
12280 <bp-checks.h>.
12281 (__fxstat): Do not use CHECK_1.
12282 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
12283 <bp-checks.h>.
12284 (__fxstatat): Do not use CHECK_1.
12285 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12286 <bp-checks.h>.
12287 (__getresgid): Do not use CHECK_1.
12288 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12289 <bp-checks.h>.
12290 (__getresuid): Do not use CHECK_1.
12291 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
12292 <bp-checks.h>.
12293 (__lxstat): Do not use CHECK_1.
12294 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12295 <bp-checks.h>.
12296 (__old_msgctl): Do not use CHECK_1.
12297 (__new_msgctl): Likewise.
12298 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
12299 <bp-checks.h>.
12300 (__new_setrlimit): Do not use CHECK_1.
12301 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12302 <bp-checks.h>.
12303 (__old_shmctl): Do not use CHECK_1.
12304 (__new_shmctl): Likewise.
12305 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
12306 <bp-checks.h>.
12307 (__xstat): Do not use CHECK_1.
12308 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
12309 (__lxstat): Do not use CHECK_1.
12310 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
12311 <bp-checks.h>.
12312 (___lxstat64): Do not use CHECK_1.
12313 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
12314 (__old_msgctl): Do not use CHECK_1.
12315 (__new_msgctl): Likewise.
12316 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
12317 <bp-checks.h>.
12318 (__gettimeofday): Do not use CHECK_1.
12319 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
12320 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
12321 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
12322 <bp-checks.h>.
12323 (__gettimeofday): Do not use CHECK_1.
12324 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
12325 (__old_shmctl): Do not use CHECK_1_NULL_OK.
12326 (__new_shmctl): Do not use CHECK_1.
12327 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
12328 <bp-checks.h>.
12329 (do_sigtimedwait): Do not use CHECK_1.
12330 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
12331 <bp-checks.h>.
12332 (do_sigwaitinfo): Do not use CHECK_1.
12333 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
12334 <bp-checks.h>.
12335 (msgctl): Do not use CHECK_1.
12336 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
12337 <bp-checks.h>.
12338 (shmctl): Do not use CHECK_1.
12339 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
12340 (ustat): Do not use CHECK_1.
12341 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
12342 <bp-checks.h>.
12343 (__fxstat): Do not use CHECK_1.
12344 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
12345 <bp-checks.h>.
12346 (__fxstatat): Do not use CHECK_1.
12347 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
12348 <bp-checks.h>.
12349 (__lxstat): Do not use CHECK_1.
12350 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
12351 <bp-checks.h>.
12352 (__xstat): Do not use CHECK_1.
12353 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
12354 (__xstat): Do not use CHECK_1.
12355 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
12356 (___xstat64): Do not use CHECK_1.
12357
b2c9eff4
JM
12358 [BZ #13550]
12359 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
12360 definitions.
12361 (CHECK_BOUNDS_HIGH): Likewise.
12362 * string/strcpy.c: Do not include <bp-checks.h>.
12363 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
12364
f1d70dad
RM
123652013-02-07 Roland McGrath <roland@hack.frob.com>
12366
12367 * nscd/nscd-client.h (__nscd_drop_map_ref):
12368 Add __attribute__ ((unused)).
12369 * nis/nss-nisplus.h (niserr2nss): Likewise.
12370
12371 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
12372 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
12373
12374 * csu/libc-tls.c (init_static_tls, init_slotinfo):
12375 Remove inline keyword.
12376 * include/rounding-mode.h (round_away): Likewise.
12377 * libio/wfileops.c (adjust_wide_data): Likewise.
12378 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
12379 (__m128i_strloadu_tolower): Likewise.
12380 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
12381 (__m128i_strloadu_tolower): Likewise.
12382 * time/mktime.c (ydhms_diff): Likewise.
12383 * locale/elem-hash.h (elem_hash): Likewise.
12384 * locale/setlocale.c (setdata): Likewise.
12385 * posix/regex_internal.h (re_string_char_size_at): Likewise.
12386 (re_string_wchar_at): Likewise.
12387 (bitset_not, bitset_merge, bitset_mask): Likewise.
12388 [!(__GNUC__ > 3)] (inline): Remove macro.
12389 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
12390 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
12391 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
12392 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
12393 * string/memcmp.c (memcmp_bytes): Likewise.
12394 * locale/programs/locarchive.c (compute_hashval): Likewise.
12395 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
12396 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
12397 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
12398 * nss/getent.c (print_rpc, print_protocols): Likewise.
12399 (print_passwd, print_group, print_aliases): Likewise.
12400 * nis/nss-nisplus.h (niserr2nss): Likewise.
12401 * nscd/connections.c (restart_p): Likewise.
12402 Change return type to bool.
12403
eab55bfb
RM
124042013-02-05 Roland McGrath <roland@hack.frob.com>
12405
7bd642f5
RM
12406 * Makeconfig (all-Depend-files): Add existing
12407 $(sorted-subdirs:=/Depend) files.
12408 (all-subdirs): Remove nss.
12409 * sysdeps/unix/inet/Subdirs: Add it here instead.
12410 * hesiod/Depend: New file.
12411
573c29b2
RM
12412 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
12413 instead of calling alloca.
12414
b2e25af0
RM
12415 * io/lseek.c (__lseek): Rename to __libc_lseek.
12416 Define __lseek as an alias.
12417
eab55bfb
RM
12418 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
12419
9a0d1941
CD
124202013-02-04 Carlos O'Donell <carlos@redhat.com>
12421
12422 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
12423 else clause and remove check for non-standard endianness.
12424
b83bbec4
DM
124252013-02-04 David S. Miller <davem@davemloft.net>
12426
12427 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12428
6277fdab
JM
124292013-02-04 Joseph Myers <joseph@codesourcery.com>
12430
12431 [BZ #13550]
12432 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
12433 (__ubp_memchr): Remove prototype.
12434 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
12435 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12436 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
12437 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12438 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
12439 Remove alias.
12440 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
12441 (__ubp_memchr): Likewise.
12442 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
12443 (__ubp_memchr): Likewise.
12444 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
12445 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
12446 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
12447 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
12448 CHECK_STRING.
12449 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12450 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
12451 (__getcwd): Do not use CHECK_STRING.
12452 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12453 <bp-checks.h>.
12454 (__real_chown): Do not use CHECK_STRING.
12455 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
12456 <bp-checks.h>.
12457 (fchownat): Do not use CHECK_STRING.
12458 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
12459 CHECK_STRING.
12460 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12461 <bp-checks.h>.
12462 (__lchown): Do not use CHECK_STRING.
12463 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12464 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12465 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12466 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12468 include <bp-checks.h>.
12469 (truncate64): Do not use CHECK_STRING.
12470 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12471 <bp-checks.h>.
12472 (__real_chown): Do not use CHECK_STRING.
12473 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12474 <bp-checks.h>.
12475 (__lchown): Do not use CHECK_STRING.
12476 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12477 <bp-checks.h>.
12478 (__chown): Do not use CHECK_STRING.
12479 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
12480 <bp-checks.h>.
12481 (truncate64): Do not use CHECK_STRING.
12482 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
12483 Likewise.
12484 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
12485 (__xmknod): Do not use CHECK_STRING.
12486 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
12487 <bp-checks.h>.
12488 (__xmknodat): Do not use CHECK_STRING.
12489 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12490 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
12491
903ae060
AS
124922013-02-04 Andreas Schwab <schwab@suse.de>
12493
12494 [BZ #14142]
12495 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
12496 * include/netdb.h: Likewise for h_errno.
12497 * elf/tst-stackguard1.c: Include <tls.h>.
12498
542f9466
JK
124992013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12500
12501 * elf/link.h (struct link_map): Extend the l_addr comment.
12502 * include/link.h (struct link_map): Likewise.
12503
e782a927
JM
125042013-02-01 Joseph Myers <joseph@codesourcery.com>
12505
12506 [BZ #13550]
12507 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
12508 (BOUNDED_1): Remove macro.
12509 * debug/backtrace.c: Don't include <bp-checks.h>.
12510 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
12511 (__backtrace): Likewise.
12512 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
12513 <bp-checks.h>.
12514 (__backtrace): Don't use BOUNDED_1.
12515 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
12516 <bp-checks.h>.
12517 (__backtrace): Don't use BOUNDED_1.
12518 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
12519 (__backtrace): Don't use BOUNDED_1.
12520 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
12521 (shmat): Don't use BOUNDED_N.
12522
8cf28c5e
JM
125232013-01-31 Joseph Myers <joseph@codesourcery.com>
12524
3a7ac8a0
JM
12525 [BZ #13550]
12526 * sysdeps/generic/bp-start.h: Remove file.
12527 * csu/libc-start.c: Don't include <bp-start.h>.
12528 (LIBC_START_MAIN): Set up __environ directly instead of using
12529 INIT_ARGV_and_ENVIRON.
12530 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
12531 <bp-start.h>.
12532
f3499f95
JM
12533 [BZ #13550]
12534 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
12535 definitions.
12536 (CHECK_FCNTL): Likewise.
12537 (CHECK_N_PAGES): Likewise.
12538
32a45bea
JM
12539 [BZ #13550]
12540 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
12541 definitions.
12542 (CHECK_SIGSET_NULL_OK): Likewise.
12543 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
12544 <bp-checks.h>.
12545 (sigpending): Don't use CHECK_SIGSET.
12546 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
12547 <bp-checks.h>.
12548 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12549 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
12550 <bp-checks.h>.
12551 (do_sigsuspend): Don't use CHECK_SIGSET.
12552 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
12553 use CHECK_SIGSET.
12554 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
12555 (do_sigwait): Don't use CHECK_SIGSET.
12556 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
12557 use CHECK_SIGSET.
12558 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
12559 include <bp-checks.h>.
12560 (sigpending): Don't use CHECK_SIGSET.
12561 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
12562 include <bp-checks.h>.
12563 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12564 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
12565 <bp-checks.h>.
12566 (sigpending): Don't use CHECK_SIGSET.
12567 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
12568 <bp-checks.h>.
12569 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12570
2e8a5c8c
JM
12571 [BZ #13550]
12572 * sysdeps/generic/bp-semctl.h: Remove file.
12573 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
12574 <bp-checks.h> and <bp-semctl.h>.
12575 (__old_semctl): Don't use CHECK_SEMCTL.
12576 (__new_semctl): Likewise.
12577 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
12578 and <bp-semctl.h>.
12579 (__old_semctl): Don't use CHECK_SEMCTL.
12580 (__new_semctl): Likewise.
12581 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
12582 <bp-checks.h> and <bp-semctl.h>.
12583 (__old_semctl): Don't use CHECK_SEMCTL.
12584 (__new_semctl): Likewise.
12585 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
12586 <bp-checks.h> and <bp-semctl.h>.
12587 (semctl): Don't use CHECK_SEMCTL.
12588
c2d54929
JM
12589 [BZ #13550]
12590 * Makerules (elide-bp-thunks): Remove variable.
12591 (elide-routines.oS): Don't use $(elide-bp-thunks).
12592 (elide-routines.os): Likewise.
12593 (elide-routines.o): Likewise.
12594 (elide-routines.op): Likewise.
12595 (elide-routines.og): Likewise.
12596 (objects): Don't use $(bp-thunks).
12597 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
12598 include.
12599 (common-generated): Do not add s-proto-bp.d.
12600 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
12601 (int): Likewise.
12602 (typ): Likewise.
12603 Do not generate makefile rules for bounded-pointer thunks.
12604 * sysdeps/generic/bp-thunks.h: Remove file.
12605 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
12606 * sysdeps/unix/s-proto-bp.S: Likewise.
12607
8cf28c5e
JM
12608 [BZ #15062]
12609 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
12610 parts of result separately when argument is not close to line from
12611 -i to i and one part of argument is small.
12612 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12613 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12614 * math/libm-test.inc (cacos_test): Add more tests.
12615 (casin_test): Likewise.
12616 (casinh_test): Likewise.
12617 * sysdeps/i386/fpu/libm-test-ulps: Update.
12618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12619
c4e33b8d
DM
126202013-01-31 David S. Miller <davem@davemloft.net>
12621
12622 * po/de.po: Update from translation team.
12623
3b60b421
MK
126242013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
12625
12626 * time/tzfile.c: Include stdint.h for SIZE_MAX.
12627
bb931195
TS
126282013-01-25 Thomas Schwinge <thomas@codesourcery.com>
12629
b5a5da23
TS
12630 * configure.in (_AC_PROG_CC_C89): New definition.
12631 * configure: Regenerate.
12632
bb931195
TS
12633 * configure.in (AC_PROG_CPP): New definition.
12634 * configure: Regenerate.
12635
8c53a12c
JM
126362013-01-23 Joseph Myers <joseph@codesourcery.com>
12637
12638 * debug/tst-backtrace.h: New file.
12639 * debug/tst-backtrace2.c: Include tst-backtrace.h.
12640 (ret): Remove variable.
12641 (x): Likewise.
12642 (FAIL): Remove macro.
12643 (NO_INLINE): Likewise.
12644 (fn1): Use match function instead of strstr.
12645 * debug/tst-backtrace3.c: Include tst-backtrace.h.
12646 (ret): Remove variable.
12647 (x): Likewise.
12648 (FAIL): Remove macro.
12649 (NO_INLINE): Likewise.
12650 (fn): Use match function instead of strstr.
12651 * debug/tst-backtrace4.c: Include tst-backtrace.h.
12652 (ret): Remove variable.
12653 (x): Likewise.
12654 (FAIL): Remove macro.
12655 (NO_INLINE): Likewise.
12656 (handle_signal): Use match function instead of strstr.
12657 * debug/tst-backtrace5.c: Include tst-backtrace.h.
12658 (ret): Remove variable.
12659 (x): Likewise.
12660 (FAIL): Remove macro.
12661 (NO_INLINE): Likewise.
12662 (handle_signal): Use match function instead of strstr.
12663
4858fa2a
RM
126642013-01-23 Roland McGrath <roland@hack.frob.com>
12665
12666 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
12667
bae8e7f5
DM
126682013-01-23 David S. Miller <davem@davemloft.net>
12669
12670 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
12671 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
12672 argument of CAS if possible.
12673 * sysdeps/sparc/sparc64/bits/atomic.h
12674 (__arch_compare_and_exchange_val_32_acq): Likewise.
12675 (__arch_compare_and_exchange_val_64_acq): Likewise.
12676
9cbbc4ae
PT
126772013-01-23 Pino Toscano <toscano.pino@tiscali.it>
12678
12679 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
12680 * sysdeps/posix/ulimit.c: ... this.
92a601b8 12681 Include <limits.h>.
67b3f58c 12682 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 12683
5655a0b5
AC
126842013-01-23 Adam Conrad <adconrad@0c3.net>
12685
12686 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
12687 (LDFLAGS-tst-array5): Likewise.
12688
052aff95
JM
126892013-01-23 Joseph Myers <joseph@codesourcery.com>
12690
12691 [BZ #15036]
12692 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
12693 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
12694 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
12695 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
12696
7c1e01aa
DM
126972013-01-21 David S. Miller <davem@davemloft.net>
12698
12699 * sysdeps/sparc/backtrace.c: New file.
12700 * sysdeps/sparc/sparc32/backtrace.h: New file.
12701 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
12702 * sysdeps/sparc/sparc64/backtrace.h: New file.
12703 * sysdeps/sparc/sparc64/backtrace.c: Delete.
12704 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
12705 -funwind-tables.
12706
ab087e0a
AS
127072013-01-21 Andreas Schwab <schwab@suse.de>
12708
12709 [BZ #15020]
12710 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
12711 closed its stdout.
12712
ed689c2f
AS
127132013-01-20 Andreas Schwab <schwab@linux-m68k.org>
12714
12715 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
12716 "mpa2.h".
12717 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12718
31d470ac
JM
127192013-01-18 Joseph Myers <joseph@codesourcery.com>
12720 Mark Mitchell <mark@codesourcery.com>
12721 Tom de Vries <tom@codesourcery.com>
12722 Paul Pluzhnikov <ppluzhnikov@google.com>
12723
12724 * debug/tst-backtrace2.c: New file.
12725 * debug/tst-backtrace3.c: Likewise.
12726 * debug/tst-backtrace4.c: Likewise.
12727 * debug/tst-backtrace5.c: Likewise.
12728 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
12729 (CFLAGS-tst-backtrace3.c): Likewise.
12730 (CFLAGS-tst-backtrace4.c): Likewise.
12731 (CFLAGS-tst-backtrace5.c): Likewise.
12732 (LDFLAGS-tst-backtrace2): Likewise.
12733 (LDFLAGS-tst-backtrace3): Likewise.
12734 (LDFLAGS-tst-backtrace4): Likewise.
12735 (LDFLAGS-tst-backtrace5): Likewise.
12736 (tests): Add new tests tst-backtrace2, tst-backtrace3,
12737 tst-backtrace4 and tst-backtrace5.
12738
90567f30 127392013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
12740 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12741
12742 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
12743 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
12744 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
12745 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
12746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12747 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
12748 "+r" and remove output regs list as redundant. Add explicit inline
12749 asm to specify register of return val to work around compiler codegen
12750 bug. Remove (int) cast on return value. Add return type parameter to
12751 use in macro so that this macro does not truncate return value for
12752 64-bit values.
12753 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
12754 pass to INTERNAL_VSYSCALL_NCS.
12755 (INLINE_VSYSCALL): Add 'long int' as return type to
12756 INTERNAL_VSYSCALL_NCS macro invocation.
12757 (INTERNAL_VSYSCALL): Add 'long int' as return type to
12758 INTERNAL_VSYSCALL_NCS macro invocation.
12759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12760
d3b9ea61
SP
127612013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12762
0b57daeb
SP
12763 [BZ #14496]
12764 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
12765 Fix application of SIMD FP exception mask.
12766
caa99d06
SP
12767 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
12768 mp_no from a power of two.
12769 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
12770 __mpexp_twomm1. Use __pow_mp.
12771
d3b9ea61
SP
12772 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
12773 multiplication.
12774
1dbaee3c
DM
127752013-01-17 David S. Miller <davem@davemloft.net>
12776
12777 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12778
728d7b43
JM
127792013-01-17 Joseph Myers <joseph@codesourcery.com>
12780
12781 [BZ #15023]
12782 * include/complex.h: Condition contents on [!_COMPLEX_H].
12783 (__kernel_casinhf): New prototype.
12784 (__kernel_casinh): Likewise.
12785 (__kernel_casinhl): Likewise.
12786 * math/Makefile (libm_calls): Add k_casinh.
12787 * math/k_casinh.c: New file.
12788 * math/k_casinhf.c: Likewise.
12789 * math/k_casinhl.c: Likewise.
12790 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
12791 finite nonzero arguments.
12792 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
12793 finite nonzero arguments.
12794 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
12795 finite nonzero arguments.
12796 * math/s_casinh.c: Do not include <float.h>.
12797 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
12798 * math/s_casinhf.c: Do not include <float.h>.
12799 (__casinhf): Move code for finite nonzero arguments to
12800 k_casinhf.c.
12801 * math/s_casinhl.c: Do not include <float.h>.
12802 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
12803 redefine.
12804 (__casinhl): Move code for finite nonzero arguments to
12805 k_casinhl.c.
12806 * math/libm-test.inc (cacos_test): Add more tests.
12807 * sysdeps/i386/fpu/libm-test-ulps: Update.
12808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12809
2a26ef3a
PT
128102013-01-17 Pino Toscano <toscano.pino@tiscali.it>
12811
12812 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
12813 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
12814 [!HAVE_MREMAP]: Remove [defined linux] case.
12815 * malloc/arena.c: Do not include <malloc-sysdep.h>.
12816
a897655d
SP
128172013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12818
12819 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
12820
881ebe89 128212013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
12822
12823 * elf/elf.h (R_386_SIZE32): New relocation.
12824 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
12825 R_386_SIZE32.
12826 (elf_machine_rela): Likewise.
12827 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12828 R_X86_64_SIZE64 and R_X86_64_SIZE32.
12829
59981e9b
JM
128302013-01-17 Joseph Myers <joseph@codesourcery.com>
12831
12832 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
12833 (FP_FAST_FMA): Do not define.
12834 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
12835 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
12836 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
12837 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
12838 !_SOFT_FLOAT]: Likewise.
12839 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
12840 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
12841 value.
12842 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
12843 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
12844 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
12845 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
12846 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
12847 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
12848 file.
12849
cfa8054f
AS
128502013-01-16 Andreas Schwab <schwab@suse.de>
12851
12852 [BZ #14327]
12853 * include/stdlib.h (__mktemp): Add declaration.
12854 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
12855 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
12856
dd930cc5
SP
128572013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12858
881ebe89
SP
12859 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
12860 definitions.
12861 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12862 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
12863 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
12864 definitions here.
12865 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
12866 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
12867 definitions.
12868 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
12869 and ONE.
12870 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
12871 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
12872 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
12873 definitions.
12874 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
12875 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
12876 definitions.
12877 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 12878
dd930cc5
SP
12879 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
12880
c19a9f89
DM
128812013-01-15 David S. Miller <davem@davemloft.net>
12882
1aa61767
DM
12883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12884 trunc{,f} to libm-sysdep_routes.
12885 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
12887 file.
12888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
12889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
12890 file.
12891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
12892 file.
12893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
12894 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
12895 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
12896 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
12897 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
12898 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
12899 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
12900 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
12901
c42d5e98
DM
12902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12903 nearbyint{,f} to libm-sysdep_routes.
12904 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
12906 New file.
12907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
12908 file.
12909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
12910 New file.
12911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
12912 file.
12913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
12914 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
12915 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
12916 file.
12917 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
12918 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
12919 file.
12920 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
12921 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
12922 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
12923
c19a9f89
DM
12924 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12925 libc_feholdexcept and libc_fesetenv.
12926
357679d2
MF
129272013-01-15 Mike Frysinger <vapier@gentoo.org>
12928
12929 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
12930
65a82e3d
DM
129312013-01-14 David S. Miller <davem@davemloft.net>
12932
8b954ab9
DM
12933 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
12934 (SPARC_ASM_VIS2_IFUNC): Likewise.
12935 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
12936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
12937 use of 'siam' instruction.
12938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
12939 Likewise.
12940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
12941 Likewise.
12942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
12943 Likewise.
12944 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
12945 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
12946 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
12947 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
12948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
12949 file.
12950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
12951 file.
12952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
12953 file.
12954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
12955 file.
12956 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
12957 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
12958 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
12959 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
12960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
12961 new VIS2 routines.
12962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12965 Likewise.
12966 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12967 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12968 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12969 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
12971 routines to libm-sysdep_routines.
12972 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12973
65a82e3d
DM
12974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12975 fdim/fdimf to libm-sysdep_routines.
12976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
12977 file.
12978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
12979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
12980 file.
12981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
12982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
12983 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
12984 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
12985 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
12986 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
12987 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
12988
e34ab705
SP
129892013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12990
2a91b573
SP
12991 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
12992 to optimize copies.
12993
1066a534
SP
12994 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
12995 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12996 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12997
e34ab705
SP
12998 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
12999 local variable MPTWO.
13000 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13001 Likewise.
13002
aba5e596
MF
130032013-01-13 Mike Frysinger <vapier@gentoo.org>
13004
13005 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
13006 GLOB_NOESCAPE.
13007
e557e9e5
MF
130082013-01-13 Mike Frysinger <vapier@gentoo.org>
13009
13010 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
13011
0428cec9
MF
130122013-01-13 Mike Frysinger <vapier@gentoo.org>
13013
13014 * manual/pattern.texi (glob_t): Document gl_flags.
13015 (glob64_t): Likewise.
13016
8794a964
DM
130172013-01-11 David S. Miller <davem@davemloft.net>
13018
66438c3f
RM
13019 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
13020 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
13021 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
13022 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
13023 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
13024 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
13025 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
13026 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
13027 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
13028 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
13029 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
13030 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
13031 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
13032
4ae4244d
DM
13033 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13034 sparc V9 rather than using V8 code.
13035 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13036 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13037
8794a964
DM
13038 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13039 Move to...
13040 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
13041 Here.
13042
6270516e
RM
130432013-01-11 Roland McGrath <roland@hack.frob.com>
13044
13045 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
13046 not in the main loop.
13047 * configure: Regenerated.
13048
6a57d931
JM
130492013-01-11 Joseph Myers <joseph@codesourcery.com>
13050
13051 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
13052 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
13053 to just #else.
13054 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
13055 [!__GLIBC_HAVE_LONG_LONG] case.
13056 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
13057 condition to just #else.
13058 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
13059 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
13060 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
13061 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
13062 unconditional.
13063 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
13064 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13065 #elif condition to just #else.
13066 * sysdeps/unix/sysv/linux/sys/sysmacros.h
13067 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
13068 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13069 #elif condition to just #else.
13070
0e8529e9
SE
130712013-01-11 Steve Ellcey <sellcey@mips.com>
13072
13073 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
13074 (EF_MIPS_ARCH_64): Fix value.
13075 (EF_MIPS_ARCH_32R2): New.
13076 (EF_MIPS_ARCH_64R2): New.
13077
740b3dbe
L
130782013-01-11 H.J. Lu <hongjiu.lu@intel.com>
13079
13080 * Makeconfig (+link-pie-before-libc): New.
13081 (+link-pie-after-libc): Likewise.
13082 (+link-pie-tests): Likewise.
13083 (+link-pie): Rewritten.
13084 (link-before-libc): Remove $(config-LDFLAGS).
13085 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
13086 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
13087 (config-LDFLAGS): Renamed to ...
13088 (rtld-LDFLAGS): This.
13089 (rtld-tests-LDFLAGS): New macro.
13090 (link-libc-rpath-link): Likewise.
13091 (link-libc-tests-rpath-link): Likewise.
13092 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
13093 (link-libc): Prepand $(link-libc-rpath-link).
13094 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
13095 (test-program-prefix): New macro.
13096 (test-via-rtld-prefix): Likewise.
13097 (test-program-cmd): Likewise.
13098 (host-test-program-cmd): Likewise.
13099 * Makefile ($(common-objpfx)testrun.sh): Replace
13100 $(run-program-prefix) with $(test-program-prefix).
13101 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
13102 $(rtld-LDFLAGS).
13103 ($(common-objpfx)shlib.lds): Likewise.
13104 (build-module-helper): Likewise.
13105 ($(common-objpfx)format.lds): Likewise.
13106 * Rules (binaries-pie-tests): New.
13107 (binaries-pie-notests): Likewise.
13108 (binaries-pie): Rewritten.
13109 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
13110 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
13111 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
13112 (make-test-out): Replace $(host-built-program-cmd) with
13113 $(host-test-program-cmd).
13114 * config.make.in (build-hardcoded-path-in-tests): New variable.
13115 * configure.in (--enable-hardcoded-path-in-tests): New configure
13116 option.
13117 (hardcoded_path_in_tests): New AC_SUBST.
13118 * configure: Regenerated.
13119 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
13120 $(built-program-cmd) with $(test-program-cmd).
13121 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
13122 (test_program_cmd): This.
13123 * elf/Makefile ($(objpfx)order.out): Run test with
13124 $(test-program-prefix).
13125 ($(objpfx)order2.out): Likewise.
13126 ($(objpfx)tst-initorder.out): Likewise.
13127 ($(objpfx)tst-initorder2.out): Likewise.
13128 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
13129 $(test-program-cmd).
13130 ($(objpfx)tst-array1-static.out): Likewise.
13131 ($(objpfx)tst-array2.out): Likewise.
13132 ($(objpfx)tst-array3.out): Likewise.
13133 ($(objpfx)tst-array4.out): Likewise.
13134 ($(objpfx)tst-array5.out): Likewise.
13135 ($(objpfx)tst-array5-static.out): Likewise.
13136 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
13137 $(test-program-cmd).
13138 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
13139 $(run-program-prefix) with $(test-program-prefix).
13140 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
13141 (test_program_prefix): This.
13142 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
13143 $(run-program-prefix) with $(test-program-prefix).
13144 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
13145 (test_program_prefix): This.
13146 * iconvdata/tst-tables.sh: Likewise.
13147 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
13148 $(run-program-prefix) with $(test-program-prefix).
13149 ($(objpfx)tst-translit.out): Likewise.
13150 ($(objpfx)tst-gettext2.out): Likewise.
13151 ($(objpfx)tst-gettext4.out): Likewise.
13152 ($(objpfx)tst-gettext6.out): Likewise.
13153 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
13154 (test_program_prefix): This.
13155 * intl/tst-gettext2.sh: Likewise.
13156 * intl/tst-gettext4.sh Likewise.
13157 * intl/tst-gettext6.sh: Likewise.
13158 * intl/tst-translit.sh: Likewise.
13159 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
13160 with $(test-program-cmd).
13161 * libio/Makefile ($(objpfx)test-freopen.out): Replace
13162 $(run-program-prefix) with $(test-program-prefix).
13163 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
13164 (test_program_prefix): This.
13165 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
13166 $(run-program-prefix) with $(test-program-prefix).
13167 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
13168 (test_program_prefix): This.
13169 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
13170 * posix/Makefile ($(objpfx)globtest.out): Replace
13171 $(run-via-rtld-prefix) and $(test-wrapper) with
13172 $(test-program-prefix) and $(test-via-rtld-prefix).
13173 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
13174 $(test-program-prefix).
13175 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
13176 $(host-test-program-cmd).
13177 (tst-spawn-ARGS): Likewise.
13178 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
13179 $(test-program-prefix).
13180 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
13181 (test_via_rtld_prefix): This.
13182 (test_wrapper): Renamed to ...
13183 (test_program_prefix): This.
13184 (run_program_prefix): Replaced by test_program_prefix.
13185 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
13186 (test_program_prefix): This.
13187 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
13188 with $(host-test-program-cmd).
13189 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
13190 $(run-program-prefix) with $(test-program-prefix).
13191 ($(objpfx)tst-printf.out): Likewise.
13192 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
13193 $(test-program-cmd).
13194 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
13195 (test_program_prefix): This.
13196 * stdio-common/tst-unbputc.sh: Likewise.
13197 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
13198 $(run-program-prefix) with $(test-program-prefix).
13199 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
13200 (test_program_prefix): This.
13201 * string/Makefile ($(objpfx)tst-svc.out): Replace
13202 $(built-program-cmd) with $(test-program-cmd).
13203
c6fe55cf
AJ
132042013-01-11 Andreas Jaeger <aj@suse.de>
13205
13206 [BZ #15003]
13207 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
13208 value. Sync with Linux 3.7.
13209
9e6919c8
DM
132102013-01-10 David S. Miller <davem@davemloft.net>
13211
13212 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
13213 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13214 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13215
1c9f1a02
RM
132162013-01-10 Roland McGrath <roland@hack.frob.com>
13217
13218 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
13219 never set.
13220 * configure: Regenerated.
13221
b9de2dde
DM
132222013-01-10 David S. Miller <davem@davemloft.net>
13223
13224 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13225 sparc V9 rather than using V8 code.
13226 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13227 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13228
e7f68ef4
RM
132292013-01-10 Roland McGrath <roland@hack.frob.com>
13230
13231 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
13232 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
13233 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
13234 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
13235 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
13236 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
13237 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
13238 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
13239 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
13240 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
13241 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
13242 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
13243 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
13244 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
13245 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
13246 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
13247 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
13248 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
13249 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
13250 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
13251 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
13252 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
13253 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
13254 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
13255 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
13256 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
13257 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
13258
5a47cc9c
DM
132592013-01-10 David S. Miller <davem@davemloft.net>
13260
13261 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13262
4cf8f209
L
132632013-01-10 H.J. Lu <hongjiu.lu@intel.com>
13264
13265 * posix/Makefile (tests-static): New variable.
13266 (tests): Add $(tests-static).
13267 (tst-exec-static-ARGS): New variable.
13268 (tst-spawn-static-ARGS): Likewise.
13269 * posix/tst-exec-static.c: New file.
13270 * posix/tst-spawn-static.c: Likewise.
13271 * posix/tst-exec.c: Support run directly.
13272 * posix/tst-spawn.c: Likewise.
13273
fed0faa1
JM
132742013-01-10 Joseph Myers <joseph@codesourcery.com>
13275
828beb13
JM
13276 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
13277 long.
13278 * math/bits/mathcalls.h (llrint): Likewise.
13279 (llround): Likewise.
13280 * stdlib/stdlib.h (struct drand48_data): Likewise.
13281 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
13282 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
13283 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
13284 Likewise.
13285 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
13286 Likewise.
13287 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
13288 (elf_greg_t): Likewise.
13289 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
13290 (__jmp_buf): Likewise.
13291 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
13292 definitions.
13293 (llrint): Likewise, for all definitions.
13294 (llrintl): Likewise.
13295
fed0faa1
JM
13296 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
13297 Remove [__GNUC__] condition.
13298 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
13299 condition to just [__USE_ISOC99].
13300 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
13301
1a20cb20
L
133022013-01-10 H.J. Lu <hongjiu.lu@intel.com>
13303
13304 [BZ #14200]
13305 * sysdeps/unix/sysv/linux/x86/bits/environments.h
13306 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
13307 defined.
13308 (_POSIX_V6_ILP32_OFF32): Likewise.
13309 (_XBS5_ILP32_OFF32): Likewise.
13310 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
13311 (__ILP32_OFFBIG_LDFLAGS): Likewise.
13312
751b85f7
SP
133132013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13314
7490eb81
SP
13315 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
13316
751b85f7
SP
13317 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
13318 doubles __mpexp_twomm1. Adjust usage.
13319 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
13320 Remove.
13321
988197f0
AS
133222013-01-10 Andreas Schwab <schwab@suse.de>
13323
13324 [BZ #14964]
13325 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
13326 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
13327
e83d7298
DM
133282013-01-09 David S. Miller <davem@davemloft.net>
13329
034ed64b 13330 [BZ #15003]
e83d7298
DM
13331 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
13332 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
13333 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
13334 TCP_FASTOPEN): Define.
13335 (tcp_repair_opt): New structure.
13336 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
13337 enum values.
13338 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
13339 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
13340 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
13341 (tcp_cookie_transactions): New structure.
13342
d5e0b9bd
AB
133432013-01-09 Anton Blanchard <anton@samba.org>
13344
13345 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
13346 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
13347 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
13348 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
13349
0c07e3ea
JM
133502013-01-09 Joseph Myers <joseph@codesourcery.com>
13351
13352 * include/features.h (__USE_ANSI): Remove.
13353
232f7002
RM
133542013-01-09 Roland McGrath <roland@hack.frob.com>
13355
ad98e30c
RM
13356 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
13357
232f7002
RM
13358 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
13359
950c99ca
SP
133602013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
13361
b5792741
SP
13362 * sysdeps/s390/fpu/libm-test-ulps: Update.
13363
47cf2278
SP
13364 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13365
950c99ca
SP
13366 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
13367 (__acr): Likewise.
13368 (__cpy): Likewise.
13369 (norm): Likewise.
13370 (denorm): Likewise.
13371 (__mp_dbl): Likewise.
13372 (__dbl_mp): Likewise.
13373 (add_magnitudes): Likewise.
13374 (sub_magnitudes): Likewise.
13375 (__add): Likewise.
13376 (__sub): Likewise.
13377 (__mul): Likewise.
13378 (__inv): Likewise.
13379 (__dvd): Likewise.
13380 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
13381 (__acr): Likewise.
13382 (__cpy): Likewise.
13383 (norm): Likewise.
13384 (denorm): Likewise.
13385 (__mp_dbl): Likewise.
13386 (__dbl_mp): Likewise.
13387 (add_magnitudes): Likewise.
13388 (sub_magnitudes): Likewise.
13389 (__add): Likewise.
13390 (__sub): Likewise.
13391 (__mul): Likewise.
13392 (__inv): Likewise.
13393 (__dvd): Likewise.
13394 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
13395 (__acr): Likewise.
13396 (__cpy): Likewise.
13397 (norm): Likewise.
13398 (denorm): Likewise.
13399 (__mp_dbl): Likewise.
13400 (__dbl_mp): Likewise.
13401 (add_magnitudes): Likewise.
13402 (sub_magnitudes): Likewise.
13403 (__add): Likewise.
13404 (__sub): Likewise.
13405 (__mul): Likewise.
13406 (__inv): Likewise.
13407 (__dvd): Likewise.
13408
eede9df9
JM
134092013-01-08 Joseph Myers <joseph@codesourcery.com>
13410
13411 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
13412 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
13413 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
13414 2 && __USE_EXTERN_INLINES]: Likewise.
13415
c40ea3d9
AJ
134162013-01-08 Andreas Jaeger <aj@suse.de>
13417
13418 [BZ# 14985]
13419 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
13420 Remove.
13421 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13422 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13423
2ccdea26
AB
134242013-01-07 Anton Blanchard <anton@samba.org>
13425
13426 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
13427 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13428 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
13429 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13430 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13431 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13432 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
13433 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13434 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13435 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13436 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13437 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13438 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13439 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13440 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13441 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13442 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13443 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13444 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13445 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13446 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13447 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
13448 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13449 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13450 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
13451 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13452 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13453 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13454 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
13455 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13456 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13457 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13458 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13459 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13460 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13461 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13462 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13463 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13464 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
13465 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13466 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
13467 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13468 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13469
a9708fed
JM
134702013-01-07 Joseph Myers <joseph@codesourcery.com>
13471
375607b9
JM
13472 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
13473 (__MALLOC_PMT): Likewise.
13474 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
13475 [__GNUC__], only on [_LIBC].
13476 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13477 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
13478 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13479 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
13480 forward declaration.
13481 (realloc_hook_ini): Likewise.
13482 (memalign_hook_ini): Likewise.
13483 (__libc_memalign): Do not use __MALLOC_PMT in variable
13484 declaration.
13485 (__libc_valloc): Likewise.
13486 (__libc_pvalloc): Likewise.
13487 (__libc_calloc): Likewise.
13488 (__posix_memalign): Likewise.
13489
a9708fed
JM
13490 [BZ #14996]
13491 * math/s_casinh.c: Include <float.h>.
13492 (__casinh): Do not do computation with squaring and square root
13493 for large arguments.
13494 * math/s_casinhf.c: Include <float.h>.
13495 (__casinhf): Do not do computation with squaring and square root
13496 for large arguments.
13497 * math/s_casinhl.c: Include <float.h>.
13498 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
13499 (__casinhl): Do not do computation with squaring and square root
13500 for large arguments.
13501 * math/libm-test.inc (casin_test): Add more tests.
13502 (casinh_test): Likewise.
13503 * sysdeps/i386/fpu/libm-test-ulps: Update.
13504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13505
afec409a
L
135062013-01-04 H.J. Lu <hongjiu.lu@intel.com>
13507
13508 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
13509 (__x86_64_raw_data_cache_size): Likewise.
13510 (__x86_64_data_cache_size_half): Likewise.
13511 (__x86_64_raw_data_cache_size_half): Likewise.
13512 (__x86_64_shared_cache_size): Likewise.
13513 (__x86_64_raw_shared_cache_size): Likewise.
13514 (__x86_64_shared_cache_size_half): Likewise.
13515 (__x86_64_raw_shared_cache_size_half): Likewise.
13516 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
13517 to ...
13518 (__x86_data_cache_size): This.
13519 (__x86_64_raw_data_cache_size): Renamed to ...
13520 (__x86_raw_data_cache_size): This.
13521 (__x86_64_data_cache_size_half): Renamed to ...
13522 (__x86_data_cache_size_half): This.
13523 (__x86_64_raw_data_cache_size_half): Renamed to ...
13524 (__x86_raw_data_cache_size_half): This.
13525 (__x86_64_shared_cache_size): Renamed to ...
13526 (__x86_shared_cache_size): This.
13527 (__x86_64_raw_shared_cache_size): Renamed to ...
13528 (__x86_raw_shared_cache_size): This.
13529 (__x86_64_shared_cache_size_half): Renamed to ...
13530 (__x86_shared_cache_size_half): This.
13531 (__x86_64_raw_shared_cache_size_half): Renamed to ...
13532 (__x86_raw_shared_cache_size_half): This.
13533 * sysdeps/x86_64/memcpy.S: Updated.
13534 * sysdeps/x86_64/memset.S: Likewise.
13535 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13536 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13537 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13538
0b3986d0
DM
135392013-01-04 David S. Miller <davem@davemloft.net>
13540
13541 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13542
e47686e9
AS
135432013-01-04 Andreas Schwab <schwab@linux-m68k.org>
13544
d643bac1
AS
13545 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
13546 1 to avoid redefinition warning.
13547 (__USE_GNU): Don't define.
13548 (init_signaling_nan): Protoize.
13549
e47686e9
AS
13550 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13551
b18decba
SP
135522013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13553
fffb407f
SP
13554 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
13555 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
13556 (__cpymn): Likewise.
13557 (norm): Remove commented code.
13558 (denorm): Likewise.
13559 (__mp_dbl): Likewise.
13560 (__inv): Likewise.
13561 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
13562 (__cpymn): Likewise.
13563 (norm): Remove commented code.
13564 (denorm): Likewise.
13565 (__mp_dbl): Likewise.
13566 (__inv): Likewise.
13567
b18decba
SP
13568 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
13569 mp_no value for 1.0 and 2.0.
13570 (norm): Use RADIXI instead of radixi.d.
13571 (denorm): Likewise.
13572 (__mul): Use 0.0 instead of zero.d.
13573 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
13574 mp_no value for 1.0 and 2.0.
13575 (norm): Use RADIXI instead of radixi.d.
13576 (denorm): Likewise.
13577 (__mul): Use 0.0 instead of zero.d.
13578
cdc1c96f
JM
135792013-01-04 Joseph Myers <joseph@codesourcery.com>
13580
13581 [BZ #14994]
13582 * math/s_casinh.c (__casinh): Reduce finite argument to first
13583 quadrant then set signs of results at the end.
13584 * math/s_casinhf.c (__casinhf): Likewise.
13585 * math/s_casinhl.c (__casinhl): Likewise.
13586 * math/libm-test.inc (casin_test): Add more tests.
13587 (casinh_test): Likewise.
13588 * sysdeps/i386/fpu/libm-test-ulps: Update.
13589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13590
302913e1
SP
135912013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13592
6420d207
SP
13593 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
13594
a9e48ab4
SP
13595 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
13596
b7837264
SP
13597 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
13598 declarations.
13599 (denorm): Likewise.
13600 (__mp_dbl): Likewise.
13601 (__inv): Likewise.
13602
f8af25d2
SP
13603 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
13604 and adjust the header comment.
13605
302913e1
SP
13606 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
13607 variable name from declaration.
13608
5d7dd1ca
L
136092013-01-03 H.J. Lu <hongjiu.lu@intel.com>
13610
13611 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13612 Initialize COMMON_CPUID_INDEX_7 element.
13613 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
13614 (CPUID_RTM): Likewise.
13615 (HAS_RTM): Likewise.
13616 (COMMON_CPUID_INDEX_7): New enum.
13617
2f5f40f4
AS
136182013-01-03 Andreas Schwab <schwab@linux-m68k.org>
13619
13620 [BZ #14981]
13621 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
13622 size is zero, record memory as freed.
13623
4056f4a0
AJ
136242013-01-03 Andreas Jaeger <aj@suse.de>
13625
13626 * po/ia.po: Add new Interlingua translation.
13627
ab15736f 136282012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
13629
13630 * locale/programs/localedef.c: Fix description of '--posix' flag.
13631
568035b7
JM
136322013-01-02 Joseph Myers <joseph@codesourcery.com>
13633
e6898b8d
JM
13634 * NEWS: Update dates in second copyright notice.
13635 * README: Update copyright dates in example.
13636 * manual/libc.texinfo: Update copyright dates.
13637 * scripts/test-installation.pl: Update copyright date in --version
13638 output.
13639
0e2f9562
JM
13640 * hurd/ctty-input.c: Fix copyright notice formatting.
13641 * hurd/ctty-output.c: Likewise.
13642 * hurd/dtable.c: Likewise.
13643 * hurd/hurd-raise.c: Likewise.
13644 * hurd/hurdprio.c: Likewise.
13645 * hurd/msgportdemux.c: Likewise.
13646 * misc/sys/file.h: Likewise.
13647 * misc/sys/ioctl.h: Likewise.
13648 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13649 * sysdeps/mach/hurd/chdir.c: Likewise.
13650 * sysdeps/mach/hurd/fchdir.c: Likewise.
13651 * sysdeps/mach/hurd/rename.c: Likewise.
13652 * sysdeps/mach/hurd/rmdir.c: Likewise.
13653 * sysdeps/mach/hurd/seekdir.c: Likewise.
13654 * sysdeps/mach/hurd/setsid.c: Likewise.
13655 * sysdeps/posix/wait3.c: Likewise.
13656
568035b7
JM
13657 * All files with FSF copyright notices: Update copyright dates
13658 using scripts/update-copyrights.
13659 * intl/plural.c: Regenerated.
13660 * locale/programs/charmap-kw.h: Likewise.
13661 * locale/programs/locfile-kw.h: Likewise.
13662
da08f647
SP
136632013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13664
0f5477af
SP
13665 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
13666 four values.
13667
44e0d4c2
SP
13668 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
13669 calculation loop and add branch prediction.
13670
4d55b4e5
SP
13671 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
13672 check access beyond bounds of m1np.
13673
da08f647
SP
13674 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13675 MPTWO.
13676 (__inv): Remove local variable MPTWO to use the global
13677 constant.
13678 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
13679 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13680 variable MPTWO.
13681 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
13682 MP3HALFS static const.
13683
8e051029
DM
136842013-01-01 David S. Miller <davem@davemloft.net>
13685
13686 * po/ca.po: Update from translation team.
13687
f4cf5f2d
JM
136882013-01-01 Joseph Myers <joseph@codesourcery.com>
13689
13690 * scripts/update-copyrights: New file.
13691 * Makeconfig: Reformat copyright notice.
13692 * ctype/ctype.h: Likewise.
13693 * debug/swprintf_chk.c: Likewise.
13694 * elf/dl-cache.c: Likewise.
13695 * elf/dl-debug.c: Likewise.
13696 * elf/dl-object.c: Likewise.
13697 * grp/initgroups.c: Likewise.
13698 * hurd/Makefile: Likewise.
13699 * hurd/hurd/signal.h: Likewise.
13700 * hurd/hurdfault.c: Likewise.
13701 * hurd/hurdioctl.c: Likewise.
13702 * hurd/hurdlookup.c: Likewise.
13703 * hurd/intr-msg.c: Likewise.
13704 * iconv/gconv_open.c: Likewise.
13705 * libio/swprintf.c: Likewise.
13706 * locale/lc-ctype.c: Likewise.
13707 * locale/nl_langinfo.c: Likewise.
13708 * mach/Machrules: Likewise.
13709 * mach/Makefile: Likewise.
13710 * malloc/obstack.h: Likewise.
13711 * manual/Makefile: Likewise.
13712 * manual/tsort.awk: Likewise.
13713 * misc/bits/stab.def: Likewise.
13714 * nis/nis_print_group_entry.c: Likewise.
13715 * nis/nis_table.c: Likewise.
13716 * nis/nss_compat/compat-pwd.c: Likewise.
13717 * nis/nss_compat/compat-spwd.c: Likewise.
13718 * po/Makefile: Likewise.
13719 * posix/fnmatch.c: Likewise.
13720 * posix/regex.h: Likewise.
13721 * resolv/Makefile: Likewise.
13722 * resolv/nss_dns/dns-network.c: Likewise.
13723 * resolv/res_hconf.c: Likewise.
13724 * scripts/gen-sorted.awk: Likewise.
13725 * soft-fp/soft-fp.h: Likewise.
13726 * stdio-common/printf.h: Likewise.
13727 * stdlib/monetary.h: Likewise.
13728 * stdlib/random.c: Likewise.
13729 * stdlib/random_r.c: Likewise.
13730 * sysdeps/generic/Makefile: Likewise.
13731 * sysdeps/gnu/Makefile: Likewise.
13732 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13733 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13734 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13735 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13736 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13737 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13738 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13739 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13740 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13741 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13742 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13743 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13744 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13745 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13746 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
13747 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13748 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13749 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13750 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13751 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13752 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13753 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13754 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13755 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13756 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
13757 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13758 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13759 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
13760 * sysdeps/mach/hurd/errnos.awk: Likewise.
13761 * sysdeps/mach/hurd/fork.c: Likewise.
13762 * sysdeps/mach/hurd/getcwd.c: Likewise.
13763 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
13764 * sysdeps/mach/hurd/mmap.c: Likewise.
13765 * sysdeps/mach/hurd/utimes.c: Likewise.
13766 * sysdeps/mach/hurd/xmknod.c: Likewise.
13767 * sysdeps/posix/profil.c: Likewise.
13768 * sysdeps/posix/readdir_r.c: Likewise.
13769 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13770 * sysdeps/powerpc/bits/setjmp.h: Likewise.
13771 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
13772 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13773 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13774 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13775 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13776 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13777 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13778 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13779 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13780 * sysdeps/pthread/lio_listio.c: Likewise.
13781 * sysdeps/sparc/dl-procinfo.h: Likewise.
13782 * sysdeps/unix/i386/sysdep.S: Likewise.
13783 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
13784 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
13785 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
13786 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
13787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13788 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
13789 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
13790 * sysdeps/unix/sysv/linux/speed.c: Likewise.
13791 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
13792 * sysdeps/wordsize-32/divdi3.c: Likewise.
13793 * time/sys/time.h: Likewise.
13794 * wcsmbs/Makefile: Likewise.
13795
0549fbba
DM
137962013-01-01 David S. Miller <davem@davemloft.net>
13797
a141f1a7
DM
13798 * po/fr.po: Update from translation team.
13799
0549fbba
DM
13800 * catgets/gencat.c: Update copyright year.
13801 * csu/version.c: Likewise.
13802 * debug/catchsegv.sh: Likewise.
13803 * debug/pcprofiledump.c: Likewise.
13804 * debug/xtrace.sh: Likewise.
13805 * elf/ldconfig.c: Likewise.
13806 * elf/ldd.bash.in: Likewise.
13807 * elf/pldd.c: Likewise.
13808 * elf/sotruss.ksh: Likewise.
13809 * elf/sprof.c: Likewise.
13810 * iconv/iconv_prog.c: Likewise.
13811 * iconv/iconvconfig.c: Likewise.
13812 * locale/programs/locale.c: Likewise.
13813 * locale/programs/localedef.c: Likewise.
13814 * login/programs/pt_chown.c: Likewise.
13815 * malloc/memusage.sh: Likewise.
13816 * malloc/memusagestat.c: Likewise.
13817 * malloc/mtrace.pl: Likewise.
13818 * nscd/nscd.c: Likewise.
13819 * nss/getent.c: Likewise.
13820 * nss/makedb.c: Likewise.
13821 * posix/getconf.c: Likewise.
13822
18ea052c
SP
138232012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13824
13825 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
13826 numbers.
13827
9c89fca6
MF
138282012-12-30 Mike Frysinger <vapier@gentoo.org>
13829
13830 * math/bits/mathcalls.h (modf): Use __nonnull.
13831
085ec079
SP
138322012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13833
13834 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
13835 (split): Use macro CN instead of the bare value.
13836 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
13837 could be used.
13838 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
13839 instead of the bare value.
13840 (power1): Likewise.
13841
6d9f97e1
SP
138422012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13843
d63f73be
SP
13844 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
13845 __ATAN_TWOM.
13846 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13847
6d9f97e1
SP
13848 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
13849 their values.
13850 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13851 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13852 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
13853 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13854
4c4febf5
AJ
138552012-12-28 Andreas Jaeger <aj@suse.de>
13856
af5843ef
AJ
13857 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
13858 values are from Linux 3.7.
13859
4c4febf5
AJ
13860 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
13861 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
13862
99136f82
SP
138632012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13864
2f216c3c 13865 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
13866 TRUE case.
13867
99136f82
SP
13868 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
13869 (norm): Likewise.
13870 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
13871 variables with preprocessor constants.
13872 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13873 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13874 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13875
7fffbdff
BH
138762012-12-27 Bruno Haible <bruno@clisp.org>
13877
13878 [BZ #14317]
13879 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
13880 only if needed.
13881
b76eb5f0
SP
138822012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13883
31a7fe5c
SP
13884 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
13885 and use variable directly.
13886 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
13887
b76eb5f0
SP
13888 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13889 MPONE.
13890 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
13891 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13892 variable MPONE.
13893 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
13894 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13895 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
13896 include directive. Remove local variable MPONE.
13897 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
13898 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
13899 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13900
2c8bfe7d
DM
139012012-12-25 David S. Miller <davem@davemloft.net>
13902
13903 * version.h (RELEASE): Set to "development".
13904 (VERSION): Set to "2.17.90".
13905 * NEWS: Add 2.18 section.
13906
147d03b0
DM
139072012-12-21 David S. Miller <davem@davemloft.net>
13908
13909 * po/hr.po: Update from translation team.
13910
a8ebb2b9
AK
139112012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13912
13913 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
13914
95b4f1b6
SE
139152012-12-19 Steve Ellcey <sellcey@mips.com>
13916
b2d94007 13917 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 13918
cedb2a90
MS
139192012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13920
13921 * manual/contrib.texi (Contributors): Spelling correction.
13922
bbf527d6
DM
139232012-12-15 David S. Miller <davem@davemloft.net>
13924
13925 * po/ru.po: Update from translation team.
13926
bc38c906
DM
139272012-12-13 David S. Miller <davem@davemloft.net>
13928
85429b1a
DM
13929 * NEWS: Mention IFUNC testsuite enhancements.
13930
d283e353
DM
13931 * po/pl.po: Update from translation team.
13932 * po/bg.po: Likewise.
13933
bc38c906
DM
13934 * manual/contrib.texi (Contributors): Update entries for Hongjiu
13935 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
13936
a181b0d7
DM
139372012-12-11 David S. Miller <davem@davemloft.net>
13938
4641d57e
DM
13939 * po/sv.po: Update from translation team.
13940
f7bc6495
DM
13941 * po/vi.po: Update from translation team.
13942
6fc9048f
DM
13943 * po/cs.po: Update from translation team.
13944
a181b0d7
DM
13945 * po/de.po: Update from translation team.
13946 * po/eo.po: Likewise.
13947 * po/nl.po: Likewise.
13948
f70bfe80
SP
139492012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13950
3c8b4190
SP
13951 [BZ #14246]
13952 * manual/argp.texi (Argp Helper Functions): Move node to follow
13953 Argp Parsing State.
13954
f70bfe80
SP
13955 [BZ #14872]
13956 * manual/conf.texi (Limits on File System Capacity): Mention if
13957 terminating null is included in the max size.
13958
188f0adf
AJ
139592012-12-10 Andreas Jaeger <aj@suse.de>
13960
13961 * po/cs.po: Update from translation team.
13962
56e7d3ad
SP
139632012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13964
13965 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
13966 void pointer and cast to uintptr_t.
13967 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
13968 path.
13969 * sysdeps/s390/s390-64/memcpy.S: Likewise.
13970 * sysdeps/s390/s390-64/memset.S: Likewise.
13971
76f2d2ea 139722012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
13973
13974 [BZ #14833]
13975 * menual/message.texi (Message Translation): Fix typos.
13976 (Helper programs for gettext): Likewise.
13977
67cbf9a2
AS
139782012-12-07 Andreas Schwab <schwab@linux-m68k.org>
13979
13980 [BZ #14898]
13981 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
13982 Change to -1.
13983
682d0e9a
DM
139842012-12-07 David S. Miller <davem@davemloft.net>
13985
13986 * po/libc.pot: Update.
13987
573cd484
RH
139882012-12-07 Richard Henderson <rth@redhat.com>
13989
7e9da188 13990 [BZ #10114]
573cd484
RH
13991 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
13992 normal/normal case to before the switch.
13993 (_FP_DIV): Likewise.
13994
e933a943
MF
139952012-12-06 Carlos O'Donell <carlos@systemhalted.org>
13996 Mike Frysinger <vapier@gentoo.org>
13997
13998 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
13999 check for __NR_fadvise64_64.
14000
82123268
CM
140012012-12-06 Chris Metcalf <cmetcalf@tilera.com>
14002
14003 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
14004 0, not just to plain "0" as a statement.
14005 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
14006 with cw.
14007
d9814526
JM
140082012-12-06 Joseph Myers <joseph@codesourcery.com>
14009
14010 * NEWS: Use sourceware.org in Bugzilla URL.
14011
7728c574
SP
140122012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14013
f16946dd
SP
14014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14015 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14016
5704bbcb
SP
14017 * stdio-common/tst-put-error.c (do_test): Add newline to the
14018 padded test to ensure flush.
14019
17aa0516
JL
140202012-12-05 Jeff Law <law@redhat.com>
14021
14022 * sunrpc/etc.rpc (fedfs_admin): Add entry.
14023
363313b5
JM
140242012-12-05 Joseph Myers <joseph@codesourcery.com>
14025
effbd42a
JM
14026 * README: Don't refer to ports add-on as distributed separately.
14027 Mention AArch64 in list of systems supported in the ports add-on.
14028
87600365
JM
14029 * LICENSES: Add more non-FSF copyright and license notices.
14030
a0d7066a
JM
14031 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
14032 ((unused)).
14033
66ca5a5b
JM
14034 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
14035
363313b5
JM
14036 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
14037 10000 as width of padded output.
14038
b37984ad
JM
140392012-12-04 Joseph Myers <joseph@codesourcery.com>
14040
9003570a
JM
14041 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
14042
b37984ad
JM
14043 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
14044 variable LX with __attribute__ ((unused)).
14045 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14046 Likewise.
14047 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14048 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14049 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
14050 with __attribute__ ((unused)).
14051
c8df52ec
DM
140522012-12-04 David S. Miller <davem@abraco.davemloft.net>
14053
14054 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
14055
b3b099af
JM
140562012-12-04 Joseph Myers <joseph@codesourcery.com>
14057
c33aa6e3
JM
14058 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
14059 (CFLAGS-nldbl-acos.c): New variable.
14060 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
14061 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
14062 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
14063 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
14064 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
14065 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
14066 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
14067 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
14068 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
14069 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
14070 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
14071 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
14072 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
14073 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
14074 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
14075 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
14076 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
14077 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
14078 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
14079 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
14080 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
14081 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
14082 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
14083 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
14084 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
14085 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
14086 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
14087 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
14088 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
14089 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
14090 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
14091 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
14092 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
14093 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
14094 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
14095 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
14096 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
14097 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
14098 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
14099 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
14100 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
14101 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
14102 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
14103 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
14104 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
14105 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
14106 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
14107 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
14108 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
14109 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
14110 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
14111 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
14112 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
14113 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
14114 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
14115 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
14116 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
14117 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
14118 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
14119 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
14120 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
14121 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
14122 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
14123 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
14124 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
14125 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
14126 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
14127 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
14128 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
14129 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
14130 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
14131 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
14132 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
14133 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
14134 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
14135 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
14136 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
14137 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
14138 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
14139 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
14140 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
14141 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
14142 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
14143 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
14144 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
14145 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
14146 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
14147 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
14148 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
14149 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
14150 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
14151 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
14152 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
14153 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
14154 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
14155 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
14156 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
14157
20f0018d
JM
14158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14159 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14160
b3b099af
JM
14161 [BZ #14914]
14162 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
14163 whole low double instead of just low 47 bits when splitting values
14164 into two parts.
14165
029264d1
AM
141662012-12-03 Allan McRae <allan@archlinux.org>
14167
14168 * manual/stdio.texi (Predefined Printf Handlers): Remove
14169 @hsep and @vsep usage.
14170
c9d6789e
MF
141712012-12-03 Mike Frysinger <vapier@gentoo.org>
14172
14173 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
14174 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
14175
4b7634a5
JL
141762012-12-03 Jeff Law <law@redhat.com>
14177
14178 * time/sys/time.h (settimeofday): Do not mark TV argument
14179 as __nonnull.
14180
eb6cbd24
MF
141812012-12-01 Mike Frysinger <vapier@gentoo.org>
14182
14183 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
14184 when currently writing and seek to current position when not.
14185 * libio/Makefile (tests): Remove bug-fclose1.
14186 * libio/bug-fclose1.c: Delete.
14187
f638872a
JM
141882012-12-01 Joseph Myers <joseph@codesourcery.com>
14189
14190 * manual/arith.texi (feenableexcept): Fix typo.
14191 (fedisableexcept): Likewise.
14192
48085d14
RM
141932012-11-30 Roland McGrath <roland@hack.frob.com>
14194
14195 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
14196 second, differently-typed declaration, rather than a cast.
14197
1a538b9f
SP
141982012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14199
14200 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
14201 * include/rpc/svc.h: ... here.
14202
d07f2ff1 142032012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
14204
14205 [BZ #13013]
14206 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
14207 depending n and resplen2 to catch cases where answer
14208 equals answerp2.
14209
c93ec1f0
CD
142102012-11-29 Carlos O'Donell <carlos@systemhalted.org>
14211
14212 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
14213 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
14214
37db69de
MF
142152012-11-29 Mike Frysinger <vapier@gentoo.org>
14216
14217 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
14218
e10c4e4f
RM
142192012-11-29 Roland McGrath <roland@hack.frob.com>
14220
14221 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
14222
2af1b328
JL
142232012-11-28 Jeff Law <law@redhat.com>
14224
14225 [BZ #13761]
14226 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
14227 dataset_temporary. Track alloca usage into alloca_used.
14228 If dataset is large allocate and release it via malloc/free.
14229
111db5b1
FW
142302012-06-04 Florian Weimer <fweimer@redhat.com>
14231
f06cc227 14232 [BZ #14197]
111db5b1
FW
14233 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
14234
dd694abd
DM
142352012-11-28 David S. Miller <davem@davemloft.net>
14236
14237 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14238
9984dd01
JM
142392012-11-28 Joseph Myers <joseph@codesourcery.com>
14240
14241 [BZ #14803]
14242 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
14243 of pi/2 rounded to nearest to 64 bits.
14244 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
14245 nearest to 64 bits.
14246 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
14247 bits.
14248
14bc93a9
JL
142492012-11-28 Jeff Law <law@redhat.com>
14250 Martin Osvald <mosvald@redhat.com>
14251
14252 [BZ #14889]
14253 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
14254 * sunrpc/svc.c: Include time.h.
14255 (__svc_accept_failed): New function.
14256 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
14257 any reason other than EINTR, call __svc_accept_failed.
14258 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
14259 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
14260
e3c6aa3a
AS
142612012-11-28 Andreas Schwab <schwab@suse.de>
14262
14263 * scripts/abilist.awk: Also handle indirect functions in .opd
14264 section.
14265
1bead169
JM
142662012-11-28 Joseph Myers <joseph@codesourcery.com>
14267
14268 [BZ #13881]
14269 * sysdeps/x86/fpu/powl_helper.c: New file.
14270 * sysdeps/x86/fpu/Makefile: Likewise.
14271 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
14272 (p3): New object.
14273 (__ieee754_powl): Use __powl_helper for finite arguments except
14274 integer exponents below 8.
14275 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
14276 (p3): New object.
14277 (__ieee754_powl): Use __powl_helper for finite arguments except
14278 integer exponents below 8.
14279 * math/libm-test.inc (pow_test): Add more tests and enable some
14280 previously disabled tests.
14281 * sysdeps/i386/fpu/libm-test-ulps: Update.
14282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14283
0817d63d
SP
142842012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14285 Carlos O'Donell <carlos_odonell@mentor.com>
14286
14287 * nss/makedb.c (is_prime): Assert that input is odd and greater
14288 than 4. Note that fact in a comment too.
14289 (next_prime): Add 4 to input.
14290
de2fd463
SP
142912012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14292
14293 [BZ #11741]
14294 * libio/Makefile (tests): Add test case tst-fwrite-error.
14295 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
14296 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
14297 * libio/tst-fwrite-error.c: New test case.
14298
c515fb51
L
142992012-11-26 H.J. Lu <hongjiu.lu@intel.com>
14300
14301 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
14302 before casting to void *.
14303 * include/libc-internal.h (__pointer_type): New macro.
14304 (__integer_if_pointer_type_sub): Likewise.
14305 (__integer_if_pointer_type): Likewise.
14306 (cast_to_integer): Likewise.
14307 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
14308 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
14309 before casting to atomic64_t.
14310 (atomic_exchange_acq): Likewise.
14311 (__arch_exchange_and_add_body): Likewise.
14312 (__arch_add_body): Likewise.
14313 (atomic_add_negative): Likewise.
14314 (atomic_add_zero): Likewise.
14315
4cf77aa9
JM
143162012-11-26 Joseph Myers <joseph@codesourcery.com>
14317
14318 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
14319 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
14320 (add_fdes): Likewise.
14321 (linear_search_fdes): Likewise.
14322 (binary_search_unencoded_fdes): Likewise.
14323
d260b3b4
AS
143242012-11-26 Andreas Schwab <schwab@linux-m68k.org>
14325
14326 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
14327
67060746
AC
143282012-11-24 Adam Conrad <adconrad@0c3.net>
14329
14330 * configure.in: Autodetect C++ header directories.
14331 * configure: Regenerated.
14332
800938a1
MF
143332012-11-23 Mike Frysinger <vapier@gentoo.org>
14334
14335 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
14336
4e6e34e6
AS
143372012-11-23 Andreas Schwab <schwab@linux-m68k.org>
14338
14339 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14340
7c7feb47
JM
143412012-11-22 Joseph Myers <joseph@codesourcery.com>
14342
7184dcdf
JM
14343 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
14344 LDBL_MANT_DIG == 106]: Disable some tests.
14345 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14346 Likewise.
14347 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14348 Likewise.
14349
0a42601f
JM
14350 [BZ #14871]
14351 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
14352 input for small inputs. Return +/- pi/2 for large inputs.
14353 * math/libm-test.inc (atan_test): Add more tests.
14354
79c9b9fe
JM
14355 * sysdeps/generic/unwind-dw2-fde-glibc.c
14356 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
14357 __attribute__ ((unused)).
14358
c60d3bf2
JM
14359 [BZ #14645]
14360 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
14361 x * y if x and y are nonzero and z is zero.
14362
ef1e0867
JM
14363 [BZ #14811]
14364 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
14365 nonzero exponents with absolute value below 0x1p-117 to +/-
14366 0x1p-117.
14367
1468ded3
JM
14368 [BZ #14869]
14369 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
14370 up arguments below 2**-450, not just those below 2**-500.
14371 * math/libm-test.inc (hypot_test): Add another test.
14372
8e27e3cc
JM
14373 [BZ #14868]
14374 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14375 Return a+b for ratio over 2**120, not 2**60.
14376 * math/libm-test.inc (hypot_test): Add another test.
14377
c9c0279b
JM
14378 * math/libm-test.inc (clog_test): Use
14379 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
14380 (clog10_test): Likewise.
14381
7c7feb47
JM
14382 [BZ #6778]
14383 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
14384
fff1530e
AS
143852012-11-22 Andreas Schwab <schwab@suse.de>
14386
14387 * sysdeps/i386/fpu/libm-test-ulps: Update.
14388
94558d30
PT
143892012-11-22 Pino Toscano <toscano.pino@tiscali.it>
14390
14391 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
14392 printf output with newline.
14393
7e1be741
L
143942012-11-21 H.J. Lu <hongjiu.lu@intel.com>
14395
6bfea974
L
14396 [BZ #14865]
14397 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
14398 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
14399 -z nodlopen, -z initfirst and -z execstack support.
14400 * configure: Regenerated.
14401
7e1be741
L
14402 * elf/elf.h (DF_1_NODIRECT): New macro.
14403 (DF_1_IGNMULDEF): Likewise.
14404 (DF_1_NOKSYMS): Likewise.
14405 (DF_1_NOHDR): Likewise.
14406 (DF_1_EDITED): Likewise.
14407 (DF_1_NORELOC): Likewise.
14408 (DF_1_SYMINTPOSE): Likewise.
14409 (DF_1_GLOBAUDIT): Likewise.
14410 (DF_1_SINGLETON): Likewise.
14411 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
14412 DT_1_SUPPORTED_MASK bits.
14413 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
14414
105ce2ce
CD
144152012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
14416
14417 * sysdeps/unix/make-syscalls.sh: Document prefixes.
14418
123be9de
TS
144192012-11-20 Thomas Schwinge <thomas@codesourcery.com>
14420
d072f3f7
TS
14421 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
14422 macro.
14423
123be9de
TS
14424 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
14425 (sendmmsg): Move declarations...
14426 * socket/sys/socket.h: ... here.
14427 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
14428 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
14429 include it from...
14430 * socket/recvmmsg.c: ... this new file.
14431 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
14432 (sendmmsg): Rename to __sendmmsg, create weak alias and make
14433 definition of __sendmmsg hidden.
14434 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
14435 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
14436 Move ENOSYS stub into and include it from...
14437 * socket/sendmmsg.c: ... this new file.
14438 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
14439 (sysdep_routines): Move recvmmsg and sendmmsg...
14440 * socket/Makefile (routines): ... here.
14441 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
14442 (GLIBC_PRIVATE): Add __sendmmsg.
14443 * include/sys/socket.h (__sendmmsg): Add declarations.
14444 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
14445 sendmmsg.
14446
cf9a5d18
JM
144472012-11-20 Joseph Myers <joseph@codesourcery.com>
14448
14449 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
14450 variable I1 with __attribute__ ((unused)).
14451 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14452
ecd4caf9
JM
144532012-11-19 Joseph Myers <joseph@codesourcery.com>
14454
be14d48f
JM
14455 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
14456 DUMMY variables with __attribute__ ((unused)).
14457
ecd4caf9
JM
14458 * bits/byteswap.h: Include <bits/types.h>.
14459 (__bswap_64): Use __uint64_t instead of unsigned long long int.
14460
986cab95
PT
144612012-11-19 Pino Toscano <toscano.pino@tiscali.it>
14462
14463 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
14464 string_t. Do not manually set errno.
14465 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
14466 length with __strnlen. Make sure to both set errno and return it on
14467 failure.
14468
6d33cc9d
DM
144692012-11-19 David S. Miller <davem@davemloft.net>
14470
14471 With help from Joseph Myers.
14472 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
14473 very large arguments properly.
14474 * math/libm-test.inc (atan_test): New tests.
14475 (atan2_test): New tests.
14476 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14477 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14478
ee663277
JM
144792012-11-19 Joseph Myers <joseph@codesourcery.com>
14480
877f2d8e
JM
14481 [BZ #14856]
14482 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
14483 Define to 3.
14484
116fc08a
JM
14485 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
14486 [POSIX] (EADDRNOTAVAIL): Likewise.
14487 [POSIX] (EAFNOSUPPORT): Likewise.
14488 [POSIX] (EALREADY): Likewise.
14489 [POSIX] (ECONNABORTED): Likewise.
14490 [POSIX] (ECONNREFUSED): Likewise.
14491 [POSIX] (ECONNRESET): Likewise.
14492 [POSIX] (EDESTADDRREQ): Likewise.
14493 [POSIX] (EDQUOT): Likewise.
14494 [POSIX] (EHOSTUNREACH): Likewise.
14495 [POSIX] (EIDRM): Likewise.
14496 [POSIX] (EISCONN): Likewise.
14497 [POSIX] (ELOOP): Likewise.
14498 [POSIX] (EMULTIHOP): Likewise.
14499 [POSIX] (ENETDOWN): Likewise.
14500 [POSIX] (ENETUNREACH): Likewise.
14501 [POSIX] (ENOBUFS): Likewise.
14502 [POSIX] (ENODATA): Likewise.
14503 [POSIX] (ENOLINK): Likewise.
14504 [POSIX] (ENOMSG): Likewise.
14505 [POSIX] (ENOPROTOOPT): Likewise.
14506 [POSIX] (ENOSR): Likewise.
14507 [POSIX] (ENOSTR): Likewise.
14508 [POSIX] (ENOTCONN): Likewise.
14509 [POSIX] (ENOTSOCK): Likewise.
14510 [POSIX] (EOPNOTSUPP): Likewise.
14511 [POSIX] (EOVERFLOW): Likewise.
14512 [POSIX] (EPROTO): Likewise.
14513 [POSIX] (EPROTONOSUPPORT): Likewise.
14514 [POSIX] (EPROTOTYPE): Likewise.
14515 [POSIX] (ESTALE): Likewise.
14516 [POSIX] (ETIME): Likewise.
14517 [POSIX] (ETXTBSY): Likewise.
14518 [POSIX] (EWOULDBLOCK): Likewise.
14519 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
14520 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
14521 [POSIX] (SEEK_CUR): Likewise.
14522 [POSIX] (SEEK_END): Likewise.
14523 [POSIX || UNIX98] (mode_t): Do not require.
14524 [POSIX] (off_t): Likewise.
14525 [POSIX] (pid_t): Likewise.
14526 [POSIX] (sys/stat.h): Do not allow header.
14527 [POSIX] (unistd.h): Likewise.
14528 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
14529 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
14530 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
14531 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
14532 require.
14533 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
14534 sigevent): Specify elements.
14535 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
14536 entry.
14537 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
14538 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
14539
a483863f
JM
14540 * conform/data/cpio.h-data [POSIX]: Disable whole file.
14541 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
14542 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
14543 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
14544 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
14545 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
14546 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
14547 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
14548 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
14549 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
14550 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
14551 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
14552 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
14553 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
14554 Likewise.
14555 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
14556 Likewise.
14557 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
14558 Likewise.
14559 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
14560 Likewise.
14561 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
14562 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
14563 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
14564 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
14565 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
14566 Specify lower bound on value.
14567 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
14568 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
14569 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
14570 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
14571 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
14572 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
14573 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
14574 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
14575 value.
14576 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
14577 as optional.
14578 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
14579 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
14580 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
14581 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
14582 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
14583 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
14584 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
14585 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
14586 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
14587 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
14588 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
14589 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
14590 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
14591 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
14592 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
14593 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
14594 entry.
14595 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
14596 optional.
14597 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
14598 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
14599 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
14600 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
14601 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
14602 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
14603 Likewise.
14604 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
14605 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
14606 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
14607 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
14608 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
14609 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
14610 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
14611 as optional.
14612 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
14613 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
14614 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
14615 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
14616 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
14617 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
14618 specify as optional.
14619 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
14620 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
14621 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
14622 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
14623 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
14624 [XPG3] (NL_LANGMAX): Likewise.
14625 [POSIX || XPG3] (NL_MSGMAX): Likewise.
14626 [POSIX || XPG3] (NL_NMAX): Likewise.
14627 [POSIX || XPG3] (NL_SETMAX): Likewise.
14628 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
14629 [XPG3] (NZERO): Likewise.
14630 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
14631 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
14632 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
14633 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
14634 (REG_ERANGE): Expect.
14635 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
14636 optional-constant.
14637 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
14638 Use (void) in prototype.
14639 [POSIX] (*_t): Allow.
14640 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
14641 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
14642 (WRDE_BADVAL): Expect.
14643
5ba924e3
JM
14644 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
14645 expect.
14646 [XPG3 || XPG4] (O_RSYNC): Likewise.
14647 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
14648 Likewise.
14649 [XPG3 || XPG4] (pthread_sigmask): Likewise.
14650 [XPG3 || XPG4] (sigqueue): Likewise.
14651 [XPG3 || XPG4] (sigtimedwait): Likewise.
14652 [XPG3 || XPG4] (sigwaitinfo): Likewise.
14653 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
14654 [XPG3 || XPG4] (vsnprintf): Likewise.
14655 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
14656 Likewise.
14657 [XPG3 || XPG4] (blksize_t): Likewise.
14658 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
14659 Likewise.
14660 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
14661 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
14662 [XPG3 || XPG4] (struct itimerspec): Likewise.
14663 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
14664 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
14665 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
14666 [XPG3 || XPG4] (clockid_t): Likewise.
14667 [XPG3 || XPG4] (timer_t): Likewise.
14668 [XPG3 || XPG4] (clock_getres): Likewise.
14669 [XPG3 || XPG4] (clock_gettime): Likewise.
14670 [XPG3 || XPG4] (clock_settime): Likewise.
14671 [XPG3 || XPG4] (nanosleep): Likewise.
14672 [XPG3 || XPG4] (timer_create): Likewise.
14673 [XPG3 || XPG4] (timer_delete): Likewise.
14674 [XPG3 || XPG4] (timer_gettime): Likewise.
14675 [XPG3 || XPG4] (timer_getoverrun): Likewise.
14676 [XPG3 || XPG4] (timer_settime): Likewise.
14677 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
14678 [XPG3 || XPG4] (getlogin_r): Likewise.
14679 [XPG3 || XPG4] (pread): Likewise.
14680 [XPG3 || XPG4] (pthread_atfork): Likewise.
14681 [XPG3 || XPG4] (pwrite): Likewise.
14682
ee663277
JM
14683 [BZ #14835]
14684 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
14685 <bits/siginfo.h>.
14686
942caa16
PT
146872012-11-19 Pino Toscano <toscano.pino@tiscali.it>
14688
e19af380
PT
14689 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
14690 finalizing MALLSTREAM.
14691
942caa16
PT
14692 * sysdeps/mach/hurd/syncfs.c: New file.
14693
cfde9b46
SP
146942012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14695
14696 [BZ #14719]
14697 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
14698 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
14699 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
14700 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
14701 (_nss_dns_gethostbyname4_r): Likewise.
14702 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
14703 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
14704
f6da27e5
PH
147052012-11-19 Peng Haitao <penght@cn.fujitsu.com>
14706
14707 [BZ #13763]
14708 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
14709
6665d4a2
SM
147102012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
14711
1f51ee92
SM
14712 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
14713 * elf/cache.c (print_entry): Print ",AArch64" for
14714 FLAG_AARCH64_LIB64
14715
6665d4a2
SM
14716 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
14717 * elf/cache.c (print_entry): Print ",hard-float" for
14718 FLAG_ARM_LIBHF.
14719
05b227bd
DM
147202012-11-18 David S. Miller <davem@davemloft.net>
14721
14722 With help from Joseph Myers.
14723 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
14724 cutoff to 2**-13.
14725 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
14726 cutoff to 2**-25.
14727 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
14728 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
14729 small.
14730 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
14731 * math/libm-test.inc (y0_test): New tests.
14732 (y1_test): New tests.
14733 * sysdeps/i386/fpu/libm-test-ulps: Update.
14734 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14735 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14736
786b0b67
AS
147372012-11-18 Andreas Schwab <schwab@linux-m68k.org>
14738
14739 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
14740 64-bit targets.
14741 * configure: Regenerated.
14742
8e18b86d
DM
147432012-11-17 David S. Miller <davem@davemloft.net>
14744
14745 [BZ #14811]
14746 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
14747 nonzero exponents with absolute value below 0x1p-128 to +/-
14748 0x1p-128.
14749
531f1ae0
JM
147502012-11-17 Joseph Myers <joseph@codesourcery.com>
14751
12df29e2
JM
14752 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
14753
150dc1a0
JM
14754 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
14755
531f1ae0
JM
14756 * posix/getconf-speclist.c: New file.
14757 * posix/posix-envs.def: Likewise.
14758 * posix/confstr.c (START_ENV_GROUP): New macro.
14759 (END_ENV_GROUP): Likewise.
14760 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14761 (KNOWN_PRESENT_ENV_STRING): Likewise.
14762 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14763 (UNKNOWN_ENVIRONMENT): Likewise.
14764 (confstr): Include posix-envs.def instead of handling
14765 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
14766 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
14767 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
14768 (END_ENV_GROUP): Likewise.
14769 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14770 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14771 (UNKNOWN_ENVIRONMENT): Likewise.
14772 (__sysconf): Include posix-envs.def instead of handling associated
14773 cases directly here.
14774 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
14775 preprocessing getconf-speclist.c rather than running getconf or
14776 generating empty file.
14777
a93f9cbc
PT
147782012-11-16 Pino Toscano <toscano.pino@tiscali.it>
14779
14780 * scripts/check-local-headers.sh: Ignore 'mach' headers.
14781
d64d9f87
AL
147822012-11-16 Andrej Lajovic <natrij@gmail.com>
14783
14784 [BZ #14672]
14785 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
14786
447885eb
DM
147872012-11-16 David S. Miller <davem@davemloft.net>
14788
14789 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
14790 smaller than LDBL_EPSILON/2.0L, just return xm1.
14791
bcbf9830
L
147922012-11-16 H.J. Lu <hongjiu.lu@intel.com>
14793
14794 * elf/tst-array1.c (init): Set constructor priority to 1000.
14795 (fini): Set destructor priority to 1000.
14796 * elf/tst-array2dep.c: Likewise.
14797
2b766585
SP
147982012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14799
14800 [BZ #11741]
14801 * libio/fileops.c (_IO_new_file_write): Correctly return error.
14802 (_IO_new_file_xsputn): Also return EOF if none of the input
14803 data was written when overflow failed.
14804 * libio/iopadn.c (_IO_padn): Likewise.
14805 * libio/iowpadn.c (_IO_wpadn): Likewise.
14806 * stdio-common/tst-put-error.c: Add copyright notice.
14807 (do_test): Add case for printing padded string.
14808 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
14809 _IO_padn returned error.
14810 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
14811 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
14812 return EOF.
14813
b1848fde
SP
148142012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14815
14816 * libio/libioP.h: Add comment note that the references to C++
14817 bits are now obsolete.
14818
2fd89785
MS
148192012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14820
14821 * math/libm-test.inc (check_complex): Use asprintf.
14822
e3ea5409
JM
148232012-11-14 Joseph Myers <joseph@codesourcery.com>
14824
14825 * debug/pcprofiledump.c (print_version): Update copyright year.
14826 * malloc/memusagestat.c (print_version): Likewise.
14827
2e64d265
L
148282012-11-14 H.J. Lu <hongjiu.lu@intel.com>
14829
14830 [BZ #14831]
14831 * elf/Makefile (tests): Add tst-audit8.
14832 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
14833 ($(objpfx)tst-audit8.out): New target.
14834 (tst-audit8-ENV): New variable.
14835 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
14836 audit if l_reloc_result is NULL.
14837 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
14838 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
14839 * elf/tst-audit8.c: New file.
14840
c485e4d2
MS
148412012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14842
14843 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
14844 * misc/Makefile (CFLAGS-select.c): Define.
14845 * posix/Makefile (CFLAGS-pause.c): Define.
14846
3a0d900a
DM
148472012-11-13 David S. Miller <davem@davemloft.net>
14848
14849 * crypt/Makefile: Move test targets after toplevel Rules
14850 inclusion. Grab any necessary sysdep routines when linking.
14851 * crypt/md5.c (md5_process_block): Remove define, we will always
14852 name it __md5_process_block.
14853 (md5_finish_ctx): Update md5_process_block call.
14854 (md5_stream): Likewise.
14855 (md5_process_bytes): Likewise.
14856 (md5_process_block): Rename to __md5_process_block and move to ...
14857 * crypt/md5-block.c: ... here.
14858 * crypt/sha256.c (sha256_process_block): Move to ...
14859 * crypt/sha256-block.c: ... here.
14860 * crypt/sha512.c (sha512_process_block): Move to ...
14861 * crypt/sha512-block.c: ... here.
14862 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
14863 path.
14864 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
14865 * sysdeps/sparc/sparc64/multiarch/Makefile
14866 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
14867 crypt subdir.
14868 (localedef-aux): Add md5 crypto assembler when in locale subdir.
14869 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
14870 multiarch changes.
14871 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
14872 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
14873 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
14874 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
14875 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
14876 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
14877 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
14878 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
14879 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
14880 file.
14881 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
14882 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
14883 file.
14884 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
14885
8ca89318
JM
148862012-11-13 Joseph Myers <joseph@codesourcery.com>
14887
e27d476a
JM
14888 * timezone/tzselect.ksh: Update from tzcode git revision
14889 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
14890 * timezone/zdump.c: Likewise.
14891 * timezone/zic.c: Likewise.
14892 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
14893 in TZVERSION setting, not $(PKGVERSION).
14894 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
14895 REPORT_BUGS_TO settings.
14896
8ca89318
JM
14897 [BZ #14838]
14898 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
14899 macro.
14900
47594329
MS
149012012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14902
14903 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
14904 detection to immediately after _FP_ROUND().
14905 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
14906 bits are 0.
14907
640ac3f1
DM
149082012-11-11 David S. Miller <davem@davemloft.net>
14909
14910 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
14911 inttypes.h
14912 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
14913 __close rather than their public counterparts.
14914
3d2577bb
JM
149152012-11-10 Joseph Myers <joseph@codesourcery.com>
14916
14917 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
14918 file.
14919 [UNIX98] (sem_timedwait): Do not expect.
14920 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
14921 [XPG4 || UNIX98] (sockatmark): Do not expect.
14922 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
14923 (clock_getcpuclockid): Do not expect.
14924 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
14925 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
14926 Do not expect.
14927 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
14928 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
14929 [UNIX98] (vwscanf): Likewise.
14930 [UNIX98] (vswscanf): Likewise.
14931
fb1ae1ee
JM
149322012-11-09 Joseph Myers <joseph@codesourcery.com>
14933
9ec6f8bd
JM
14934 * timezone/version.h: Remove file.
14935 * timezone/README: Do not refer to version.h.
14936 * timezone/Makefile ($(objpfx)zic.o): New dependency on
14937 $(objpfx)version.h.
14938 ($(objpfx)zdump.o): Likewise.
c3f81911 14939 ($(objpfx)version.h): New target.
9ec6f8bd 14940
0aa8f8a1
JM
14941 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
14942 2012i.
14943 * timezone/README: Don't mention modification to tzselect.ksh.
14944 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
14945 work on unmodified tzselect.ksh. Substitute version numbers in
14946 tzselect.ksh.
14947
4e87147f
JM
14948 * Makefile (format-me): Remove.
14949 (INSTALL): Adjust indentation. Use commands directly instead of
14950 using $(format-me).
14951
8b748aed
JM
14952 * aclocal.m4 (ACX_PKGVERSION): New macro.
14953 (ACX_BUGURL): Likewise.
14954 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
14955 (PKGVERSION): New AC_DEFINE_UNQUOTED.
14956 (REPORT_BUGS_TO): Likewise.
14957 * configure: Regenerated.
14958 * config.h.in (PKGVERSION): New macro.
14959 (REPORT_BUGS_TO): Likewise.
14960 * config.make.in (PKGVERSION): New variable.
14961 (PKGVERSION_TEXI): Likewise.
14962 (REPORT_BUGS_TO): Likewise.
14963 (REPORT_BUGS_TEXI): Likewise.
14964 * Makefile (format-me): Use -I$(common-objpfx)manual.
14965 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
14966 ($(common-objpfx)manual/%): New target.
14967 (manual/%): Remove target.
14968 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
14969 (print_version): Use PKGVERSION.
14970 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
14971 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
14972 and REPORT_BUGS_TO.
14973 ($(objpfx)xtrace): Likewise.
14974 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
14975 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
14976 (print_version): Use PKGVERSION.
14977 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
14978 (do_version): Use PKGVERSION.
14979 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
14980 REPORT_BUGS_TO.
14981 (common-ldd-rewrite): Likewise.
14982 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
14983 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
14984 (print_version): Use PKGVERSION.
14985 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
14986 * elf/pldd.c (argp_program_bug_address): Remove variable.
14987 (more_help): New function.
14988 (argp): Use more_help.
14989 (print_version): Use PKGVERSION.
14990 * elf/sln.c (main): Use PKGVERSION.
14991 (usage): Use REPORT_BUGS_TO.
14992 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
14993 (top level): Use PKGVERSION.
14994 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
14995 (print_version): Use PKGVERSION.
14996 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
14997 (print_version): Use PKGVERSION.
14998 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
14999 (print_version): Use PKGVERSION.
15000 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
15001 (print_version): Use PKGVERSION.
15002 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
15003 (print_version): Use PKGVERSION.
15004 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
15005 (print_version): Use PKGVERSION.
15006 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
15007 and BUGURL.
15008 ($(objpfx)memusage): Likewise.
15009 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
15010 (do_version): Use PKGVERSION.
15011 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
15012 (print_version): Use PKGVERSION.
15013 * malloc/mtrace.pl ($PACKAGE): Remove variable.
15014 ($PKGVERSION): New variable.
15015 ($REPORT_BUGS_TO): Likewise.
15016 (usage): Use $REPORT_BUGS_TO.
15017 (top level): Use $PKGVERSION.
15018 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
15019 ($(objpfx)pkgvers.texi): New rule.
15020 ($(objpfx)stamp-pkgvers): Likewise.
15021 * manual/install.texi: Include pkgvers.texi.
15022 (--with-pkgversion): Document new configure option.
15023 (--with-bugurl): Likewise.
15024 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
15025 than necessarily for this particular distribution. Use
15026 REPORT_BUGS_TO for where to report bugs.
15027 * INSTALL: Regenerated.
15028 * manual/libc.texinfo: Include pkgvers.texi.
15029 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
15030 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
15031 (print_version): Use PKGVERSION.
15032 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
15033 (print_version): Use PKGVERSION.
15034 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
15035 (print_version): Use PKGVERSION.
15036 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
15037 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
15038 macro.
15039 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
15040 (print_version): Use PKGVERSION.
15041 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
15042 (print_version): Use PKGVERSION.
15043 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
15044 and PKGVERSION.
15045
92e4b6a9
JM
15046 * timezone/checktab.awk: Update from tzcode 2012i.
15047 * timezone/ialloc.c: Likewise.
15048 * timezone/private.h: Likewise.
15049 * timezone/scheck.c: Likewise.
15050 * timezone/tzfile.h: Likewise.
15051 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
15052 (TZVERSION): Hardcode tzcode version number.
15053 * timezone/zdump.c: Update from tzcode 2012i.
15054 * timezone/zic.c: Likewise.
15055 * timezone/version.h: New file.
15056 * timezone/README: Describe version.h. Update upstream location.
15057
9bde902c
JM
15058 [BZ #14824]
15059 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
15060 (mktemp): Enable declaration.
15061 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
15062 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
15063 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
15064 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
15065 Likewise.
15066 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
15067 Likewise.
15068 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
15069 Likewise.
15070 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
15071 Likewise.
15072 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
15073 Likewise.
15074 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
15075 Likewise.
15076
fb1ae1ee
JM
15077 [BZ #14821]
15078 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
15079 offset in buffer as u_int32_t not u_long. Consistently use memcpy
15080 for copies of such integer values.
15081 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15082 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15083
2c1adbcb
AJ
150842012-11-09 Andreas Jaeger <aj@suse.de>
15085
15086 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
15087 definitions and declarations that are provided by
15088 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15089
d0f8457e
AK
150902012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15091
3a235abb 15092 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
15093 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
15094 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
15095 definition.
15096
57241e26
MS
150972012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15098
15099 * elf/elf.h: Update comment before AArch64 relocations.
15100
60e8270d
DM
151012012-11-07 David S. Miller <davem@davemloft.net>
15102
15103 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
15104 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15105 (__start_context): Declare.
15106 (__makecontext_ret): Delete.
15107 (__makecontext): Hook up __start_context instead of
15108 __makecontext_ret.
15109 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
15110 (sysdep_routines): Add __start_context when in stdlib.
15111
0fbb0fbc
JM
151122012-11-07 Joseph Myers <joseph@codesourcery.com>
15113
15114 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
15115 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
15116 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
15117 hardcoded "nm".
15118 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
15119 (READELF): New variable. Use it instead of hardcoded "readelf".
15120
eb48db7e
L
151212012-11-07 H.J. Lu <hongjiu.lu@intel.com>
15122
15123 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
15124 * sysdeps/x86/Makefile: Here.
15125 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
15126 * sysdeps/x86/tst-xmmymm.sh: This.
15127
05bcf62a
JM
151282012-11-07 Joseph Myers <joseph@codesourcery.com>
15129
c4b6cf53
JM
15130 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
15131 expectations.
15132 [UNIX98] (pthread_barrier_t): Do not expect.
15133 [UNIX98] (pthread_barrierattr_t): Likewise.
15134 [UNIX98] (pthread_spinlock_t): Likewise.
15135 [UNIX98] (pthread_barrier_destroy): Likewise.
15136 [UNIX98] (pthread_barrier_init): Likewise.
15137 [UNIX98] (pthread_barrier_wait): Likewise.
15138 [UNIX98] (pthread_barrierattr_destroy): Likewise.
15139 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
15140 [UNIX98] (pthread_barrierattr_init): Likewise.
15141 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
15142 [UNIX98] (pthread_getcpuclockid): Likewise.
15143 [UNIX98] (pthread_mutex_timedlock): Likewise.
15144 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
15145 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
15146 [UNIX98] (pthread_sigmask): Likewise.
15147 [UNIX98] (pthread_spin_destroy): Likewise.
15148 [UNIX98] (pthread_spin_init): Likewise.
15149 [UNIX98] (pthread_spin_lock): Likewise.
15150 [UNIX98] (pthread_spin_trylock): Likewise.
15151 [UNIX98] (pthread_spin_unlock): Likewise.
15152 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
15153 Do not expect.
15154 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
15155 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
15156 [XPG3 || XPG4] (pthread_cond_t): Likewise.
15157 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
15158 [XPG3 || XPG4] (pthread_key_t): Likewise.
15159 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
15160 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
15161 [XPG3 || XPG4] (pthread_once_t): Likewise.
15162 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
15163 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
15164 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
15165 [XPG3 || XPG4] (pthread_t): Likewise.
15166
cbe6e120
JM
15167 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
15168 not expect.
15169 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
15170
1b126443
JM
15171 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
15172 Change function return type to int.
15173
b961a573
JM
15174 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
15175 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
15176 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
15177 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
15178 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
15179 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
15180 [!POSIX] (posix_madvise): Likewise.
15181 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
15182 && !UNIX98].
15183 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
15184 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
15185 (mode_t): Likewise.
15186 (posix_mem_offset): Likewise.
15187 (posix_typed_mem_get_info): Likewise.
15188 (posix_typed_mem_open): Likewise.
15189
9e188909
JM
15190 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
15191 Change condition to [XOPEN2K8].
15192
05bcf62a
JM
15193 * conform/conformtest.pl: Preprocess allow-header data with -x c
15194 instead of from stdin.
15195 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
15196 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
15197 [C99-based standards] (cerfc): Likewise.
15198 [C99-based standards] (cexp2): Likewise.
15199 [C99-based standards] (cexpm1): Likewise.
15200 [C99-based standards] (clog10): Likewise.
15201 [C99-based standards] (clog1p): Likewise.
15202 [C99-based standards] (clog2): Likewise.
15203 [C99-based standards] (clgamma): Likewise.
15204 [C99-based standards] (ctgamma): Likewise.
15205 [C99-based standards] (cerff): Likewise.
15206 [C99-based standards] (cerfcf): Likewise.
15207 [C99-based standards] (cexp2f): Likewise.
15208 [C99-based standards] (cexpm1f): Likewise.
15209 [C99-based standards] (clog10f): Likewise.
15210 [C99-based standards] (clog1pf): Likewise.
15211 [C99-based standards] (clog2f): Likewise.
15212 [C99-based standards] (clgammaf): Likewise.
15213 [C99-based standards] (ctgammaf): Likewise.
15214 [C99-based standards] (cerfl): Likewise.
15215 [C99-based standards] (cerfcl): Likewise.
15216 [C99-based standards] (cexp2l): Likewise.
15217 [C99-based standards] (cexpm1l): Likewise.
15218 [C99-based standards] (clog10l): Likewise.
15219 [C99-based standards] (clog1pl): Likewise.
15220 [C99-based standards] (clog2l): Likewise.
15221 [C99-based standards] (clgammal): Likewise.
15222 [C99-based standards] (ctgammal): Likewise.
15223 * conform/data/inttypes.h-data [C99-based standards]: Include
15224 stdint.h-data. Remove all expectations for stdint.h contents.
15225 [C99-based standards] (PRI*): Do not allow.
15226 [C99-based standards] (SCN*): Likewise.
15227 [C99-based standards] (*_t): Likewise.
15228 [C99-based-standards] (PRId8): Expect macro.
15229 [C99-based-standards] (PRIi8): Likewise.
15230 [C99-based-standards] (PRIo8): Likewise.
15231 [C99-based-standards] (PRIu8): Likewise.
15232 [C99-based-standards] (PRIx8): Likewise.
15233 [C99-based-standards] (PRIX8): Likewise.
15234 [C99-based-standards] (SCNd8): Likewise.
15235 [C99-based-standards] (SCNi8): Likewise.
15236 [C99-based-standards] (SCNo8): Likewise.
15237 [C99-based-standards] (SCNu8): Likewise.
15238 [C99-based-standards] (SCNx8): Likewise.
15239 [C99-based-standards] (PRIdLEAST8): Likewise.
15240 [C99-based-standards] (PRIiLEAST8): Likewise.
15241 [C99-based-standards] (PRIoLEAST8): Likewise.
15242 [C99-based-standards] (PRIuLEAST8): Likewise.
15243 [C99-based-standards] (PRIxLEAST8): Likewise.
15244 [C99-based-standards] (PRIXLEAST8): Likewise.
15245 [C99-based-standards] (SCNdLEAST8): Likewise.
15246 [C99-based-standards] (SCNiLEAST8): Likewise.
15247 [C99-based-standards] (SCNoLEAST8): Likewise.
15248 [C99-based-standards] (SCNuLEAST8): Likewise.
15249 [C99-based-standards] (SCNxLEAST8): Likewise.
15250 [C99-based-standards] (PRIdFAST8): Likewise.
15251 [C99-based-standards] (PRIiFAST8): Likewise.
15252 [C99-based-standards] (PRIoFAST8): Likewise.
15253 [C99-based-standards] (PRIuFAST8): Likewise.
15254 [C99-based-standards] (PRIxFAST8): Likewise.
15255 [C99-based-standards] (PRIXFAST8): Likewise.
15256 [C99-based-standards] (SCNdFAST8): Likewise.
15257 [C99-based-standards] (SCNiFAST8): Likewise.
15258 [C99-based-standards] (SCNoFAST8): Likewise.
15259 [C99-based-standards] (SCNuFAST8): Likewise.
15260 [C99-based-standards] (SCNxFAST8): Likewise.
15261 [C99-based-standards] (PRId16): Likewise.
15262 [C99-based-standards] (PRIi16): Likewise.
15263 [C99-based-standards] (PRIo16): Likewise.
15264 [C99-based-standards] (PRIu16): Likewise.
15265 [C99-based-standards] (PRIx16): Likewise.
15266 [C99-based-standards] (PRIX16): Likewise.
15267 [C99-based-standards] (SCNd16): Likewise.
15268 [C99-based-standards] (SCNi16): Likewise.
15269 [C99-based-standards] (SCNo16): Likewise.
15270 [C99-based-standards] (SCNu16): Likewise.
15271 [C99-based-standards] (SCNx16): Likewise.
15272 [C99-based-standards] (PRIdLEAST16): Likewise.
15273 [C99-based-standards] (PRIiLEAST16): Likewise.
15274 [C99-based-standards] (PRIoLEAST16): Likewise.
15275 [C99-based-standards] (PRIuLEAST16): Likewise.
15276 [C99-based-standards] (PRIxLEAST16): Likewise.
15277 [C99-based-standards] (PRIXLEAST16): Likewise.
15278 [C99-based-standards] (SCNdLEAST16): Likewise.
15279 [C99-based-standards] (SCNiLEAST16): Likewise.
15280 [C99-based-standards] (SCNoLEAST16): Likewise.
15281 [C99-based-standards] (SCNuLEAST16): Likewise.
15282 [C99-based-standards] (SCNxLEAST16): Likewise.
15283 [C99-based-standards] (PRIdFAST16): Likewise.
15284 [C99-based-standards] (PRIiFAST16): Likewise.
15285 [C99-based-standards] (PRIoFAST16): Likewise.
15286 [C99-based-standards] (PRIuFAST16): Likewise.
15287 [C99-based-standards] (PRIxFAST16): Likewise.
15288 [C99-based-standards] (PRIXFAST16): Likewise.
15289 [C99-based-standards] (SCNdFAST16): Likewise.
15290 [C99-based-standards] (SCNiFAST16): Likewise.
15291 [C99-based-standards] (SCNoFAST16): Likewise.
15292 [C99-based-standards] (SCNuFAST16): Likewise.
15293 [C99-based-standards] (SCNxFAST16): Likewise.
15294 [C99-based-standards] (PRId32): Likewise.
15295 [C99-based-standards] (PRIi32): Likewise.
15296 [C99-based-standards] (PRIo32): Likewise.
15297 [C99-based-standards] (PRIu32): Likewise.
15298 [C99-based-standards] (PRIx32): Likewise.
15299 [C99-based-standards] (PRIX32): Likewise.
15300 [C99-based-standards] (SCNd32): Likewise.
15301 [C99-based-standards] (SCNi32): Likewise.
15302 [C99-based-standards] (SCNo32): Likewise.
15303 [C99-based-standards] (SCNu32): Likewise.
15304 [C99-based-standards] (SCNx32): Likewise.
15305 [C99-based-standards] (PRIdLEAST32): Likewise.
15306 [C99-based-standards] (PRIiLEAST32): Likewise.
15307 [C99-based-standards] (PRIoLEAST32): Likewise.
15308 [C99-based-standards] (PRIuLEAST32): Likewise.
15309 [C99-based-standards] (PRIxLEAST32): Likewise.
15310 [C99-based-standards] (PRIXLEAST32): Likewise.
15311 [C99-based-standards] (SCNdLEAST32): Likewise.
15312 [C99-based-standards] (SCNiLEAST32): Likewise.
15313 [C99-based-standards] (SCNoLEAST32): Likewise.
15314 [C99-based-standards] (SCNuLEAST32): Likewise.
15315 [C99-based-standards] (SCNxLEAST32): Likewise.
15316 [C99-based-standards] (PRIdFAST32): Likewise.
15317 [C99-based-standards] (PRIiFAST32): Likewise.
15318 [C99-based-standards] (PRIoFAST32): Likewise.
15319 [C99-based-standards] (PRIuFAST32): Likewise.
15320 [C99-based-standards] (PRIxFAST32): Likewise.
15321 [C99-based-standards] (PRIXFAST32): Likewise.
15322 [C99-based-standards] (SCNdFAST32): Likewise.
15323 [C99-based-standards] (SCNiFAST32): Likewise.
15324 [C99-based-standards] (SCNoFAST32): Likewise.
15325 [C99-based-standards] (SCNuFAST32): Likewise.
15326 [C99-based-standards] (SCNxFAST32): Likewise.
15327 [C99-based-standards] (PRId64): Likewise.
15328 [C99-based-standards] (PRIi64): Likewise.
15329 [C99-based-standards] (PRIo64): Likewise.
15330 [C99-based-standards] (PRIu64): Likewise.
15331 [C99-based-standards] (PRIx64): Likewise.
15332 [C99-based-standards] (PRIX64): Likewise.
15333 [C99-based-standards] (SCNd64): Likewise.
15334 [C99-based-standards] (SCNi64): Likewise.
15335 [C99-based-standards] (SCNo64): Likewise.
15336 [C99-based-standards] (SCNu64): Likewise.
15337 [C99-based-standards] (SCNx64): Likewise.
15338 [C99-based-standards] (PRIdLEAST64): Likewise.
15339 [C99-based-standards] (PRIiLEAST64): Likewise.
15340 [C99-based-standards] (PRIoLEAST64): Likewise.
15341 [C99-based-standards] (PRIuLEAST64): Likewise.
15342 [C99-based-standards] (PRIxLEAST64): Likewise.
15343 [C99-based-standards] (PRIXLEAST64): Likewise.
15344 [C99-based-standards] (SCNdLEAST64): Likewise.
15345 [C99-based-standards] (SCNiLEAST64): Likewise.
15346 [C99-based-standards] (SCNoLEAST64): Likewise.
15347 [C99-based-standards] (SCNuLEAST64): Likewise.
15348 [C99-based-standards] (SCNxLEAST64): Likewise.
15349 [C99-based-standards] (PRIdFAST64): Likewise.
15350 [C99-based-standards] (PRIiFAST64): Likewise.
15351 [C99-based-standards] (PRIoFAST64): Likewise.
15352 [C99-based-standards] (PRIuFAST64): Likewise.
15353 [C99-based-standards] (PRIxFAST64): Likewise.
15354 [C99-based-standards] (PRIXFAST64): Likewise.
15355 [C99-based-standards] (SCNdFAST64): Likewise.
15356 [C99-based-standards] (SCNiFAST64): Likewise.
15357 [C99-based-standards] (SCNoFAST64): Likewise.
15358 [C99-based-standards] (SCNuFAST64): Likewise.
15359 [C99-based-standards] (SCNxFAST64): Likewise.
15360 [C99-based-standards] (PRIdMAX): Likewise.
15361 [C99-based-standards] (PRIiMAX): Likewise.
15362 [C99-based-standards] (PRIoMAX): Likewise.
15363 [C99-based-standards] (PRIuMAX): Likewise.
15364 [C99-based-standards] (PRIxMAX): Likewise.
15365 [C99-based-standards] (PRIXMAX): Likewise.
15366 [C99-based-standards] (SCNdMAX): Likewise.
15367 [C99-based-standards] (SCNiMAX): Likewise.
15368 [C99-based-standards] (SCNoMAX): Likewise.
15369 [C99-based-standards] (SCNuMAX): Likewise.
15370 [C99-based-standards] (SCNxMAX): Likewise.
15371 [C99-based-standards] (PRIdPTR): Likewise.
15372 [C99-based-standards] (PRIiPTR): Likewise.
15373 [C99-based-standards] (PRIoPTR): Likewise.
15374 [C99-based-standards] (PRIuPTR): Likewise.
15375 [C99-based-standards] (PRIxPTR): Likewise.
15376 [C99-based-standards] (PRIXPTR): Likewise.
15377 [C99-based-standards] (SCNdPTR): Likewise.
15378 [C99-based-standards] (SCNiPTR): Likewise.
15379 [C99-based-standards] (SCNoPTR): Likewise.
15380 [C99-based-standards] (SCNuPTR): Likewise.
15381 [C99-based-standards] (SCNxPTR): Likewise.
15382 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
15383 allow.
15384 * conform/data/stdint.h-data: Update comments to clarify
15385 requirements.
15386 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
15387 type.
15388 [C99-based standards] (INT8_MAX): Likewise.
15389 [C99-based standards] (INT16_MIN): Likewise.
15390 [C99-based standards] (INT16_MAX): Likewise.
15391 [C99-based standards] (INT32_MIN): Likewise.
15392 [C99-based standards] (INT32_MAX): Likewise.
15393 [C99-based standards] (INT64_MIN): Likewise.
15394 [C99-based standards] (INT64_MAX): Likewise.
15395 [C99-based standards] (UINT8_MAX): Likewise.
15396 [C99-based standards] (UINT16_MAX): Likewise.
15397 [C99-based standards] (UINT32_MAX): Likewise.
15398 [C99-based standards] (UINT64_MAX): Likewise.
15399 [C99-based standards] (INT_LEAST8_MIN): Likewise.
15400 [C99-based standards] (INT_LEAST8_MAX): Likewise.
15401 [C99-based standards] (INT_LEAST16_MIN): Likewise.
15402 [C99-based standards] (INT_LEAST16_MAX): Likewise.
15403 [C99-based standards] (INT_LEAST32_MIN): Likewise.
15404 [C99-based standards] (INT_LEAST32_MAX): Likewise.
15405 [C99-based standards] (INT_LEAST64_MIN): Likewise.
15406 [C99-based standards] (INT_LEAST64_MAX): Likewise.
15407 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
15408 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
15409 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
15410 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
15411 [C99-based standards] (INT_FAST8_MIN): Likewise.
15412 [C99-based standards] (INT_FAST8_MAX): Likewise.
15413 [C99-based standards] (INT_FAST16_MIN): Likewise.
15414 [C99-based standards] (INT_FAST16_MAX): Likewise.
15415 [C99-based standards] (INT_FAST32_MIN): Likewise.
15416 [C99-based standards] (INT_FAST32_MAX): Likewise.
15417 [C99-based standards] (INT_FAST64_MIN): Likewise.
15418 [C99-based standards] (INT_FAST64_MAX): Likewise.
15419 [C99-based standards] (UINT_FAST8_MAX): Likewise.
15420 [C99-based standards] (UINT_FAST16_MAX): Likewise.
15421 [C99-based standards] (UINT_FAST32_MAX): Likewise.
15422 [C99-based standards] (UINT_FAST64_MAX): Likewise.
15423 [C99-based standards] (INTPTR_MIN): Likewise.
15424 [C99-based standards] (INTPTR_MAX): Likewise.
15425 [C99-based standards] (UINTPTR_MAX): Likewise.
15426 [C99-based standards] (INTMAX_MIN): Likewise.
15427 [C99-based standards] (INTMAX_MAX): Likewise.
15428 [C99-based standards] (UINTMAX_MAX): Likewise.
15429 [C99-based standards] (PTRDIFF_MIN): Likewise.
15430 [C99-based standards] (PTRDIFF_MAX): Likewise.
15431 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
15432 [C99-based standards] (SIZE_MAX): Likewise.
15433 [C99-based standards] (WCHAR_MAX): Likewise.
15434 [C99-based standards] (WINT_MAX): Likewise.
15435 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
15436 constraint on value.
15437 [C99-based standards] (WCHAR_MIN): Likewise.
15438 [C99-based standards] (WINT_MIN): Likewise.
15439 [C99-based standards] (*_t): Allow.
15440 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
15441 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
15442 Include math.h-data and complex.h-data. Remove all expectations
15443 of math.h and complex.h contents.
15444 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
15445 at end of line.
15446 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
15447 (struct tm): Expect tag.
15448 [C99-based-standards] (wcstof): Expect function.
15449 [C99-based-standards] (wcstold): Likewise.
15450 [C99-based-standards] (wcstoll): Likewise.
15451 [C99-based-standards] (wcstoull): Likewise.
15452 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
15453 macro-int-constant. Specify type.
15454 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
15455 constraint on value.
15456 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15457 Specify type.
15458 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
15459 Specify value.
15460 [ISO C standards]: Do not allow headers.
15461 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
15462 wcs[abcdefghijklmnopqrstuvwxyz]*.
15463 [ISO C standards] (*_t): Do not allow.
15464 * conform/data/wctype.h-data [C99-based standards] (iswblank):
15465 Expect function.
15466 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
15467 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15468 Specify type.
15469 [ISO C standards]: Do not allow headers.
15470 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
15471 is[abcdefghijklmnopqrstuvwxyz]*.
15472 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
15473 to[abcdefghijklmnopqrstuvwxyz]*.
15474 [ISO C standards] (*_t): Do not allow.
15475 * conform/data/stdalign.h-data: New file.
15476 * conform/data/stdbool.h-data: Likewise.
15477 * conform/data/stdnoreturn.h-data: Likewise.
15478
7514feb8
RM
154792012-11-07 Roland McGrath <roland@hack.frob.com>
15480
15481 [BZ #14815]
15482 * manual/filesys.texi (Directory Entries): Typo fix.
15483 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
15484
19b2ecfc
MS
154852012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15486
15487 * elf/elf.h (EM_AARCH64): New macro.
15488 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
15489 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
15490 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
15491 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
15492 (R_AARCH64_TLSDESC): Likewise.
15493 (NT_ARM_TLS): Likewise.
15494 (NT_ARM_HW_BREAK): Likewise.
15495 (NT_ARM_HW_WATCH): Likewise.
15496
60e235ee
JM
154972012-11-07 Joseph Myers <joseph@codesourcery.com>
15498
15499 [BZ #14811]
15500 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
15501 (__ieee754_powl): Saturate nonzero exponents with absolute value
15502 below 0x1p-79 to +/- 0x1p-79.
15503 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
15504 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
15505 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
15506 nonzero exponents with absolute value below 0x1p-32 to +/-
15507 0x1p-32.
15508 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
15509 (__ieee754_powl): Saturate nonzero exponents with absolute value
15510 below 0x1p-79 to +/- 0x1p-79.
15511 * math/libm-test.inc (pow_test): Add more tests.
15512
0ab234b7
AK
155132012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15514
15515 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
15516 _dl_s390_cap_flags with kernel. Increase string length.
15517 (_dl_s390_platforms): Add z196 and zEC12.
15518
45832f74
JM
155192012-11-07 Joseph Myers <joseph@codesourcery.com>
15520
15521 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
15522 Change XOPEN21K to XOPEN2K.
15523
19218757
MK
155242012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
15525
15526 * string/memmove.c: Use memcpy when possible.
15527
c5f45721
AJ
155282012-11-06 Andreas Jaeger <aj@suse.de>
15529
15530 * po/eo.po: Update from translation team.
15531
82477c28
JM
155322012-11-06 Joseph Myers <joseph@codesourcery.com>
15533
15534 [BZ #14793]
15535 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
15536 exponent and small x and y exponents, scale x or y up. Increase
15537 by 2 the exponent used in scaling up.
15538 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15539 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15540 * math/libm-test.inc (fma_test): Add more tests.
15541 (fma_test_towardzero): Likewise.
15542 (fma_test_downward): Likewise.
15543 (fma_test_upward): Likewise.
15544
99252c8c
JM
155452012-11-05 Joseph Myers <joseph@codesourcery.com>
15546
acfa885f
JM
15547 [BZ #14805]
15548 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
15549 fenv_t *.
15550
99252c8c
JM
15551 [BZ #14801]
15552 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
15553 namespace for names of struct fields.
15554 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
15555 fenv_t fields.
15556 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
15557 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
15558
d6d98dea
ST
155592012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15560
15561 [BZ #3665]
15562 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
15563
e10bb107
TS
155642012-11-04 Thomas Schwinge <thomas@codesourcery.com>
15565
15566 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
15567 PTR_DEMANGLE.
15568
15569 [BZ #5246]
15570 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
15571 PTR_DEMANGLE.
15572
a0c2940d
JM
155732012-11-04 Joseph Myers <joseph@codesourcery.com>
15574
15575 [BZ #14797]
15576 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
15577 definitely overflow as x * y not x * y + z.
15578 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15579 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15580 * math/libm-test.inc (fma_test): Add more tests.
15581 (fma_test_towardzero): Likewise.
15582 (fma_test_downward): Likewise.
15583 (fma_test_upward): Likewise.
15584
b830319d
TS
155852012-11-04 Thomas Schwinge <thomas@codesourcery.com>
15586
15587 [BZ #157]
15588
15589 * include/stub-tag.h: Remove file.
15590 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
15591 '#include' of it.
15592 * manual/maint.texi (Porting): Don't reference it.
15593 * Makerules ($(objpfx)stubs): Likewise.
15594 * dirent/closedir.c: Don't include <stub-tag.h>.
15595 * dirent/dirfd.c: Likewise.
15596 * dirent/fdopendir.c: Likewise.
15597 * dirent/getdents.c: Likewise.
15598 * dirent/getdents64.c: Likewise.
15599 * dirent/opendir.c: Likewise.
15600 * dirent/readdir.c: Likewise.
15601 * dirent/readdir64.c: Likewise.
15602 * dirent/readdir64_r.c: Likewise.
15603 * dirent/readdir_r.c: Likewise.
15604 * dirent/rewinddir.c: Likewise.
15605 * dirent/seekdir.c: Likewise.
15606 * dirent/telldir.c: Likewise.
15607 * gmon/profil.c: Likewise.
15608 * grp/setgroups.c: Likewise.
15609 * inet/if_index.c: Likewise.
15610 * io/access.c: Likewise.
15611 * io/chdir.c: Likewise.
15612 * io/chmod.c: Likewise.
15613 * io/chown.c: Likewise.
15614 * io/close.c: Likewise.
15615 * io/dup.c: Likewise.
15616 * io/dup2.c: Likewise.
15617 * io/dup3.c: Likewise.
15618 * io/euidaccess.c: Likewise.
15619 * io/faccessat.c: Likewise.
15620 * io/fchdir.c: Likewise.
15621 * io/fchmod.c: Likewise.
15622 * io/fchmodat.c: Likewise.
15623 * io/fchown.c: Likewise.
15624 * io/fchownat.c: Likewise.
15625 * io/fcntl.c: Likewise.
15626 * io/flock.c: Likewise.
15627 * io/fstatfs.c: Likewise.
15628 * io/fstatfs64.c: Likewise.
15629 * io/fstatvfs.c: Likewise.
15630 * io/fstatvfs64.c: Likewise.
15631 * io/futimens.c: Likewise.
15632 * io/fxstat.c: Likewise.
15633 * io/fxstat64.c: Likewise.
15634 * io/fxstatat.c: Likewise.
15635 * io/fxstatat64.c: Likewise.
15636 * io/getcwd.c: Likewise.
15637 * io/isatty.c: Likewise.
15638 * io/lchmod.c: Likewise.
15639 * io/lchown.c: Likewise.
15640 * io/link.c: Likewise.
15641 * io/linkat.c: Likewise.
15642 * io/lseek.c: Likewise.
15643 * io/lseek64.c: Likewise.
15644 * io/lxstat64.c: Likewise.
15645 * io/mkdir.c: Likewise.
15646 * io/mkdirat.c: Likewise.
15647 * io/mkfifo.c: Likewise.
15648 * io/mkfifoat.c: Likewise.
15649 * io/open.c: Likewise.
15650 * io/open64.c: Likewise.
15651 * io/openat.c: Likewise.
15652 * io/openat64.c: Likewise.
15653 * io/pipe.c: Likewise.
15654 * io/pipe2.c: Likewise.
15655 * io/poll.c: Likewise.
15656 * io/posix_fadvise.c: Likewise.
15657 * io/posix_fadvise64.c: Likewise.
15658 * io/posix_fallocate.c: Likewise.
15659 * io/posix_fallocate64.c: Likewise.
15660 * io/read.c: Likewise.
15661 * io/readlink.c: Likewise.
15662 * io/readlinkat.c: Likewise.
15663 * io/rmdir.c: Likewise.
15664 * io/sendfile.c: Likewise.
15665 * io/sendfile64.c: Likewise.
15666 * io/statfs.c: Likewise.
15667 * io/statfs64.c: Likewise.
15668 * io/statvfs.c: Likewise.
15669 * io/statvfs64.c: Likewise.
15670 * io/symlink.c: Likewise.
15671 * io/symlinkat.c: Likewise.
15672 * io/ttyname.c: Likewise.
15673 * io/ttyname_r.c: Likewise.
15674 * io/umask.c: Likewise.
15675 * io/unlink.c: Likewise.
15676 * io/unlinkat.c: Likewise.
15677 * io/utime.c: Likewise.
15678 * io/utimensat.c: Likewise.
15679 * io/write.c: Likewise.
15680 * io/xmknod.c: Likewise.
15681 * io/xmknodat.c: Likewise.
15682 * io/xstat.c: Likewise.
15683 * io/xstat64.c: Likewise.
15684 * login/getpt.c: Likewise.
15685 * login/grantpt.c: Likewise.
15686 * login/unlockpt.c: Likewise.
15687 * math/e_acoshl.c: Likewise.
15688 * math/e_acosl.c: Likewise.
15689 * math/e_asinl.c: Likewise.
15690 * math/e_atan2l.c: Likewise.
15691 * math/e_atanhl.c: Likewise.
15692 * math/e_coshl.c: Likewise.
15693 * math/e_expl.c: Likewise.
15694 * math/e_fmodl.c: Likewise.
15695 * math/e_gammal_r.c: Likewise.
15696 * math/e_hypotl.c: Likewise.
15697 * math/e_j0l.c: Likewise.
15698 * math/e_j1l.c: Likewise.
15699 * math/e_jnl.c: Likewise.
15700 * math/e_lgammal_r.c: Likewise.
15701 * math/e_log10l.c: Likewise.
15702 * math/e_log2l.c: Likewise.
15703 * math/e_logl.c: Likewise.
15704 * math/e_powl.c: Likewise.
15705 * math/e_rem_pio2l.c: Likewise.
15706 * math/e_sinhl.c: Likewise.
15707 * math/e_sqrtl.c: Likewise.
15708 * math/fclrexcpt.c: Likewise.
15709 * math/fedisblxcpt.c: Likewise.
15710 * math/feenablxcpt.c: Likewise.
15711 * math/fegetenv.c: Likewise.
15712 * math/fegetexcept.c: Likewise.
15713 * math/fegetround.c: Likewise.
15714 * math/feholdexcpt.c: Likewise.
15715 * math/fesetenv.c: Likewise.
15716 * math/fesetround.c: Likewise.
15717 * math/feupdateenv.c: Likewise.
15718 * math/fgetexcptflg.c: Likewise.
15719 * math/fraiseexcpt.c: Likewise.
15720 * math/fsetexcptflg.c: Likewise.
15721 * math/ftestexcept.c: Likewise.
15722 * math/k_cosl.c: Likewise.
15723 * math/k_rem_pio2l.c: Likewise.
15724 * math/k_sinl.c: Likewise.
15725 * math/k_tanl.c: Likewise.
15726 * math/s_asinhl.c: Likewise.
15727 * math/s_atanl.c: Likewise.
15728 * math/s_cbrtl.c: Likewise.
15729 * math/s_erfl.c: Likewise.
15730 * math/s_expm1l.c: Likewise.
15731 * math/s_log1pl.c: Likewise.
15732 * math/s_tanhl.c: Likewise.
15733 * misc/acct.c: Likewise.
15734 * misc/brk.c: Likewise.
15735 * misc/chflags.c: Likewise.
15736 * misc/chroot.c: Likewise.
15737 * misc/fchflags.c: Likewise.
15738 * misc/fgetxattr.c: Likewise.
15739 * misc/flistxattr.c: Likewise.
15740 * misc/fremovexattr.c: Likewise.
15741 * misc/fsetxattr.c: Likewise.
15742 * misc/fsync.c: Likewise.
15743 * misc/ftruncate.c: Likewise.
15744 * misc/futimes.c: Likewise.
15745 * misc/futimesat.c: Likewise.
15746 * misc/getdomain.c: Likewise.
15747 * misc/getdtsz.c: Likewise.
15748 * misc/gethostid.c: Likewise.
15749 * misc/gethostname.c: Likewise.
15750 * misc/getloadavg.c: Likewise.
15751 * misc/getpagesize.c: Likewise.
15752 * misc/getsysstats.c: Likewise.
15753 * misc/getxattr.c: Likewise.
15754 * misc/gtty.c: Likewise.
15755 * misc/ioctl.c: Likewise.
15756 * misc/lgetxattr.c: Likewise.
15757 * misc/listxattr.c: Likewise.
15758 * misc/llistxattr.c: Likewise.
15759 * misc/lremovexattr.c: Likewise.
15760 * misc/lsetxattr.c: Likewise.
15761 * misc/lutimes.c: Likewise.
15762 * misc/madvise.c: Likewise.
15763 * misc/mincore.c: Likewise.
15764 * misc/mlock.c: Likewise.
15765 * misc/mlockall.c: Likewise.
15766 * misc/mmap.c: Likewise.
15767 * misc/mprotect.c: Likewise.
15768 * misc/msync.c: Likewise.
15769 * misc/munlock.c: Likewise.
15770 * misc/munlockall.c: Likewise.
15771 * misc/munmap.c: Likewise.
15772 * misc/preadv.c: Likewise.
15773 * misc/preadv64.c: Likewise.
15774 * misc/ptrace.c: Likewise.
15775 * misc/pwritev.c: Likewise.
15776 * misc/pwritev64.c: Likewise.
15777 * misc/readv.c: Likewise.
15778 * misc/reboot.c: Likewise.
15779 * misc/remap_file_pages.c: Likewise.
15780 * misc/removexattr.c: Likewise.
15781 * misc/revoke.c: Likewise.
15782 * misc/select.c: Likewise.
15783 * misc/setdomain.c: Likewise.
15784 * misc/setegid.c: Likewise.
15785 * misc/seteuid.c: Likewise.
15786 * misc/sethostid.c: Likewise.
15787 * misc/sethostname.c: Likewise.
15788 * misc/setregid.c: Likewise.
15789 * misc/setreuid.c: Likewise.
15790 * misc/setxattr.c: Likewise.
15791 * misc/sstk.c: Likewise.
15792 * misc/stty.c: Likewise.
15793 * misc/swapoff.c: Likewise.
15794 * misc/swapon.c: Likewise.
15795 * misc/sync.c: Likewise.
15796 * misc/syncfs.c: Likewise.
15797 * misc/syscall.c: Likewise.
15798 * misc/truncate.c: Likewise.
15799 * misc/ualarm.c: Likewise.
15800 * misc/usleep.c: Likewise.
15801 * misc/ustat.c: Likewise.
15802 * misc/utimes.c: Likewise.
15803 * misc/vhangup.c: Likewise.
15804 * misc/writev.c: Likewise.
15805 * posix/_exit.c: Likewise.
15806 * posix/alarm.c: Likewise.
15807 * posix/execve.c: Likewise.
15808 * posix/fexecve.c: Likewise.
15809 * posix/fork.c: Likewise.
15810 * posix/fpathconf.c: Likewise.
15811 * posix/getaddrinfo.c: Likewise.
15812 * posix/getegid.c: Likewise.
15813 * posix/geteuid.c: Likewise.
15814 * posix/getgid.c: Likewise.
15815 * posix/getgroups.c: Likewise.
15816 * posix/getlogin.c: Likewise.
15817 * posix/getlogin_r.c: Likewise.
15818 * posix/getpgid.c: Likewise.
15819 * posix/getpid.c: Likewise.
15820 * posix/getppid.c: Likewise.
15821 * posix/getresgid.c: Likewise.
15822 * posix/getresuid.c: Likewise.
15823 * posix/getsid.c: Likewise.
15824 * posix/getuid.c: Likewise.
15825 * posix/glob64.c: Likewise.
15826 * posix/nanosleep.c: Likewise.
15827 * posix/pathconf.c: Likewise.
15828 * posix/pause.c: Likewise.
15829 * posix/posix_madvise.c: Likewise.
15830 * posix/pread.c: Likewise.
15831 * posix/pread64.c: Likewise.
15832 * posix/pwrite.c: Likewise.
15833 * posix/pwrite64.c: Likewise.
15834 * posix/sched_getaffinity.c: Likewise.
15835 * posix/sched_getp.c: Likewise.
15836 * posix/sched_gets.c: Likewise.
15837 * posix/sched_primax.c: Likewise.
15838 * posix/sched_primin.c: Likewise.
15839 * posix/sched_rr_gi.c: Likewise.
15840 * posix/sched_setaffinity.c: Likewise.
15841 * posix/sched_setp.c: Likewise.
15842 * posix/sched_sets.c: Likewise.
15843 * posix/sched_yield.c: Likewise.
15844 * posix/setgid.c: Likewise.
15845 * posix/setlogin.c: Likewise.
15846 * posix/setpgid.c: Likewise.
15847 * posix/setresgid.c: Likewise.
15848 * posix/setresuid.c: Likewise.
15849 * posix/setsid.c: Likewise.
15850 * posix/setuid.c: Likewise.
15851 * posix/sleep.c: Likewise.
15852 * posix/spawni.c: Likewise.
15853 * posix/sysconf.c: Likewise.
15854 * posix/times.c: Likewise.
15855 * posix/wait.c: Likewise.
15856 * posix/wait3.c: Likewise.
15857 * posix/wait4.c: Likewise.
15858 * posix/waitpid.c: Likewise.
15859 * resolv/gai_sigqueue.c: Likewise.
15860 * resource/getpriority.c: Likewise.
15861 * resource/getrlimit.c: Likewise.
15862 * resource/getrusage.c: Likewise.
15863 * resource/nice.c: Likewise.
15864 * resource/setpriority.c: Likewise.
15865 * resource/setrlimit.c: Likewise.
15866 * resource/ulimit.c: Likewise.
15867 * rt/aio_cancel.c: Likewise.
15868 * rt/aio_fsync.c: Likewise.
15869 * rt/aio_read.c: Likewise.
15870 * rt/aio_sigqueue.c: Likewise.
15871 * rt/aio_suspend.c: Likewise.
15872 * rt/aio_write.c: Likewise.
15873 * rt/clock_getres.c: Likewise.
15874 * rt/clock_gettime.c: Likewise.
15875 * rt/clock_nanosleep.c: Likewise.
15876 * rt/clock_settime.c: Likewise.
15877 * rt/lio_listio.c: Likewise.
15878 * rt/mq_close.c: Likewise.
15879 * rt/mq_getattr.c: Likewise.
15880 * rt/mq_notify.c: Likewise.
15881 * rt/mq_open.c: Likewise.
15882 * rt/mq_receive.c: Likewise.
15883 * rt/mq_send.c: Likewise.
15884 * rt/mq_setattr.c: Likewise.
15885 * rt/mq_timedreceive.c: Likewise.
15886 * rt/mq_timedsend.c: Likewise.
15887 * rt/mq_unlink.c: Likewise.
15888 * rt/shm_open.c: Likewise.
15889 * rt/shm_unlink.c: Likewise.
15890 * rt/timer_create.c: Likewise.
15891 * rt/timer_delete.c: Likewise.
15892 * rt/timer_getoverr.c: Likewise.
15893 * rt/timer_gettime.c: Likewise.
15894 * rt/timer_settime.c: Likewise.
15895 * setjmp/__longjmp.c: Likewise.
15896 * setjmp/setjmp.c: Likewise.
15897 * signal/kill.c: Likewise.
15898 * signal/killpg.c: Likewise.
15899 * signal/raise.c: Likewise.
15900 * signal/sigaction.c: Likewise.
15901 * signal/sigaltstack.c: Likewise.
15902 * signal/sigblock.c: Likewise.
15903 * signal/sigignore.c: Likewise.
15904 * signal/sigintr.c: Likewise.
15905 * signal/signal.c: Likewise.
15906 * signal/sigpause.c: Likewise.
15907 * signal/sigpending.c: Likewise.
15908 * signal/sigqueue.c: Likewise.
15909 * signal/sigreturn.c: Likewise.
15910 * signal/sigset.c: Likewise.
15911 * signal/sigsetmask.c: Likewise.
15912 * signal/sigstack.c: Likewise.
15913 * signal/sigsuspend.c: Likewise.
15914 * signal/sigtimedwait.c: Likewise.
15915 * signal/sigvec.c: Likewise.
15916 * signal/sigwait.c: Likewise.
15917 * signal/sigwaitinfo.c: Likewise.
15918 * signal/sysv_signal.c: Likewise.
15919 * socket/accept.c: Likewise.
15920 * socket/accept4.c: Likewise.
15921 * socket/bind.c: Likewise.
15922 * socket/connect.c: Likewise.
15923 * socket/getpeername.c: Likewise.
15924 * socket/getsockname.c: Likewise.
15925 * socket/getsockopt.c: Likewise.
15926 * socket/isfdtype.c: Likewise.
15927 * socket/listen.c: Likewise.
15928 * socket/recv.c: Likewise.
15929 * socket/recvfrom.c: Likewise.
15930 * socket/recvmsg.c: Likewise.
15931 * socket/send.c: Likewise.
15932 * socket/sendmsg.c: Likewise.
15933 * socket/sendto.c: Likewise.
15934 * socket/setsockopt.c: Likewise.
15935 * socket/shutdown.c: Likewise.
15936 * socket/sockatmark.c: Likewise.
15937 * socket/socket.c: Likewise.
15938 * socket/socketpair.c: Likewise.
15939 * stdio-common/ctermid.c: Likewise.
15940 * stdio-common/cuserid.c: Likewise.
15941 * stdio-common/remove.c: Likewise.
15942 * stdio-common/rename.c: Likewise.
15943 * stdio-common/renameat.c: Likewise.
15944 * stdio-common/tempname.c: Likewise.
15945 * stdlib/getcontext.c: Likewise.
15946 * stdlib/makecontext.c: Likewise.
15947 * stdlib/setcontext.c: Likewise.
15948 * stdlib/swapcontext.c: Likewise.
15949 * stdlib/system.c: Likewise.
15950 * streams/fattach.c: Likewise.
15951 * streams/fdetach.c: Likewise.
15952 * streams/getmsg.c: Likewise.
15953 * streams/getpmsg.c: Likewise.
15954 * streams/putmsg.c: Likewise.
15955 * streams/putpmsg.c: Likewise.
15956 * sysdeps/unix/bsd/getpt.c: Likewise.
15957 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
15958 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
15959 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15961 Likewise.
15962 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
15963 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15964 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
15965 * sysvipc/msgctl.c: Likewise.
15966 * sysvipc/msgget.c: Likewise.
15967 * sysvipc/msgrcv.c: Likewise.
15968 * sysvipc/msgsnd.c: Likewise.
15969 * sysvipc/semctl.c: Likewise.
15970 * sysvipc/semget.c: Likewise.
15971 * sysvipc/semop.c: Likewise.
15972 * sysvipc/semtimedop.c: Likewise.
15973 * sysvipc/shmat.c: Likewise.
15974 * sysvipc/shmctl.c: Likewise.
15975 * sysvipc/shmdt.c: Likewise.
15976 * sysvipc/shmget.c: Likewise.
15977 * termios/tcdrain.c: Likewise.
15978 * termios/tcflow.c: Likewise.
15979 * termios/tcflush.c: Likewise.
15980 * termios/tcgetattr.c: Likewise.
15981 * termios/tcgetpgrp.c: Likewise.
15982 * termios/tcsendbrk.c: Likewise.
15983 * termios/tcsetattr.c: Likewise.
15984 * termios/tcsetpgrp.c: Likewise.
15985 * time/adjtime.c: Likewise.
15986 * time/clock.c: Likewise.
15987 * time/getitimer.c: Likewise.
15988 * time/gettimeofday.c: Likewise.
15989 * time/setitimer.c: Likewise.
15990 * time/settimeofday.c: Likewise.
15991 * time/stime.c: Likewise.
15992 * time/time.c: Likewise.
15993
159942012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 15995
a20492cf
PT
15996 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
15997 /usr/old/bin.
15998
72e182e3
PT
15999 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
16000 instead of spaces.
16001 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
16002
fbeafede
JM
160032012-11-03 Joseph Myers <joseph@codesourcery.com>
16004
5b5b04d6
JM
16005 [BZ #14796]
16006 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
16007 FE_TONEAREST before applying Dekker multiplication and Knuth
16008 addition. Clear inexact exceptions and check for exact zero
16009 results afterwards.
16010 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16011 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16012 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16013 * math/libm-test.inc (fma_test): Add more tests.
16014 (fma_test_towardzero): Likewise.
16015 (fma_test_downward): Likewise.
16016 (fma_test_upward): Likewise.
16017 * sysdeps/generic/math_private.h (default_libc_fesetround): New
16018 function.
16019 (libc_fesetround): New macro.
16020 (libc_fesetroundf): Likewise.
16021 (libc_fesetroundl): Likewise.
16022 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
16023 function.
16024 (libc_fesetround_387): Likewise.
16025 (libc_fesetroundf): New macro.
16026 (libc_fesetround): Likewise.
16027 (libc_fesetroundl): Likewise.
16028 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
16029 function.
16030 (libc_fesetroundf): New macro.
16031 (libc_fesetround): Likewise.
16032 (libc_fesetroundl): Likewise.
16033 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
16034 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
16035 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
16036 libm_hidden_ver.
16037 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
16038 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
16039 libm_hidden_def.
16040 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
16041 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
16042 libm_hidden_ver.
16043 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
16044 libm_hidden_def.
16045
fbeafede
JM
16046 [BZ #3439]
16047 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
16048 integer constant usable in #if and use that to give value to enum
16049 constant.
16050 (FE_DIVBYZERO): Likewise.
16051 (FE_UNDERFLOW): Likewise.
16052 (FE_OVERFLOW): Likewise.
16053 (FE_INVALID): Likewise.
16054 (FE_INVALID_SNAN): Likewise.
16055 (FE_INVALID_ISI): Likewise.
16056 (FE_INVALID_IDI): Likewise.
16057 (FE_INVALID_ZDZ): Likewise.
16058 (FE_INVALID_IMZ): Likewise.
16059 (FE_INVALID_COMPARE): Likewise.
16060 (FE_INVALID_SOFTWARE): Likewise.
16061 (FE_INVALID_SQRT): Likewise.
16062 (FE_INVALID_INTEGER_CONVERSION): Likewise.
16063 (FE_TONEAREST): Likewise.
16064 (FE_TOWARDZERO): Likewise.
16065 (FE_UPWARD): Likewise.
16066 (FE_DOWNWARD): Likewise.
16067 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
16068 (FE_DIVBYZERO): Likewise.
16069 (FE_OVERFLOW): Likewise.
16070 (FE_UNDERFLOW): Likewise.
16071 (FE_INEXACT): Likewise.
16072 (FE_TONEAREST): Likewise.
16073 (FE_DOWNWARD): Likewise.
16074 (FE_UPWARD): Likewise.
16075 (FE_TOWARDZERO): Likewise.
16076 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
16077 (FE_UNDERFLOW): Likewise.
16078 (FE_OVERFLOW): Likewise.
16079 (FE_DIVBYZERO): Likewise.
16080 (FE_INVALID): Likewise.
16081 (FE_TONEAREST): Likewise.
16082 (FE_TOWARDZERO): Likewise.
16083 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
16084 (FE_OVERFLOW): Likewise.
16085 (FE_UNDERFLOW): Likewise.
16086 (FE_DIVBYZERO): Likewise.
16087 (FE_INEXACT): Likewise.
16088 (FE_TONEAREST): Likewise.
16089 (FE_TOWARDZERO): Likewise.
16090 (FE_UPWARD): Likewise.
16091 (FE_DOWNWARD): Likewise.
16092 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
16093 (FE_DIVBYZERO): Likewise.
16094 (FE_OVERFLOW): Likewise.
16095 (FE_UNDERFLOW): Likewise.
16096 (FE_INEXACT): Likewise.
16097 (FE_TONEAREST): Likewise.
16098 (FE_DOWNWARD): Likewise.
16099 (FE_UPWARD): Likewise.
16100 (FE_TOWARDZERO): Likewise.
16101
105ca950
CM
161022012-11-02 Chris Metcalf <cmetcalf@tilera.com>
16103
16104 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
16105
a542b389
AS
161062012-11-03 Andreas Schwab <schwab@linux-m68k.org>
16107
16108 * scripts/cross-test-ssh.sh (command): Use newlines to separate
16109 commands. Quote $PWD.
16110 (blacklist_exports): Don't use remove_newlines. Replace "declare
16111 -x" by "export".
16112 (remove_newlines): Remove.
16113
f62c8abc
L
161142012-11-02 H.J. Lu <hongjiu.lu@intel.com>
16115
16116 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
16117 * stdlib/stdlib.h (atof): Moved to ...
16118 * include/bits/stdlib-float.h: Here. New file.
16119 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
16120 * stdlib/bits/stdlib-float.h: New file.
16121 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
16122 -mno-sse -mno-mmx.
16123 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
16124 <xmmintrin.h>.
16125
0155d5b2
JM
161262012-11-02 Joseph Myers <joseph@codesourcery.com>
16127
a68d0680
JM
16128 * conform/conformtest.pl (@headers): Add fenv.h.
16129 * conform/data/fenv.h-data: New file.
16130 * include/fenv.h [_ISOMAC]: Disable all contents of file except
16131 include of <math/fenv.h>.
16132
caf7f573
JM
16133 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
16134 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
16135 && !UNIX98]. Enables tests for XOPEN2K8.
16136 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
16137 POSIX2008]: Likewise.
16138
6c073ad6
JM
16139 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
16140 (struct rusage): Do not expect type or its members.
16141
0155d5b2
JM
16142 [BZ #3439]
16143 * math/math.h (FP_NAN): Define macro to integer constant usable in
16144 #if and use that to give value to enum constant.
16145 (FP_INFINITE): Likewise.
16146 (FP_ZERO): Likewise.
16147 (FP_SUBNORMAL): Likewise.
16148 (FP_NORMAL): Likewise.
16149
b5dcacb4
AS
161502012-11-02 Andreas Schwab <schwab@linux-m68k.org>
16151
16152 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
16153 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
16154 arguments.
16155
f7934be8
RM
161562012-11-02 Roland McGrath <roland@hack.frob.com>
16157
16158 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
16159 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
16160 autoconf-time if not.
16161 * configure.in: Remove AC_PREREQ.
16162
d7d08bde
TMQMF
161632012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16164
16165 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
16166 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
16167 of the internal implementation.
16168
dcdae19a
JM
161692012-11-02 Joseph Myers <joseph@codesourcery.com>
16170
16171 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
16172 except include of <misc/sys/syslog.h>.
16173
d6cffd3e
AS
161742012-11-01 Andreas Schwab <schwab@linux-m68k.org>
16175
16176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
16177 function returns with a NULL context exit with zero.
16178
b3563932
TMQMF
161792012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16180
16181 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
16182
b288a93d
L
161832012-11-01 H.J. Lu <hongjiu.lu@intel.com>
16184
16185 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
16186 (run_program_cmd): This.
16187 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
16188 (tst_langinfo): New variable. Use it.
16189
a2421a68
SAS
161902012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
16191
16192 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
16193 floating point opcodes.
16194
6f796e1b
TS
161952012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16196
7402596b
TS
16197 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
16198 variable.
16199
d0d4f868
TS
16200 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
16201
6f796e1b
TS
16202 * sysdeps/mach/hurd/powerpc: Remove directory.
16203 * sysdeps/mach/powerpc: Likewise.
16204
4da224a2
AS
162052012-11-01 Andreas Schwab <schwab@linux-m68k.org>
16206
16207 * scripts/check-local-headers.sh: Ignore c++ headers.
16208
341dd673
TS
162092012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16210
16211 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
16212 __libc_cleanup_region_start argument.
16213
473611b2
JM
162142012-11-01 Joseph Myers <joseph@codesourcery.com>
16215
16216 [BZ #14784]
16217 [BZ #14785]
16218 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
16219 x * y using scaling, not as x * y + z.
16220 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16221 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16222 * math/libm-test.inc (fma_test): Add more tests.
16223 (fma_test_towardzero): Likewise.
16224 (fma_test_downward): Likewise.
16225 (fma_test_upward): Likewise.
16226
4078da3d
TS
162272012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16228
16229 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
16230
903252aa
JM
162312012-10-31 Joseph Myers <joseph@codesourcery.com>
16232
16233 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
16234 New variable.
16235
cbc818d0
TS
162362012-10-31 Thomas Schwinge <thomas@codesourcery.com>
16237
16238 * rt/tst-shm.c (worker): Correct checking for mmap failure.
16239
5a03cb1e
AS
162402012-10-31 Andreas Schwab <schwab@linux-m68k.org>
16241
16242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16243 Fix sort order.
16244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16245 Likewise.
16246
90aff2ff
TMQMF
162472012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16248
16249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16250 Fix the order of the list for glibc 2.17.
16251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16252 Likewise.
16253
1818fcb7
AS
162542012-10-31 Andreas Schwab <schwab@linux-m68k.org>
16255
16256 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16257
ef82f4da
JM
162582012-10-31 Joseph Myers <joseph@codesourcery.com>
16259
16a0e2ec
JM
16260 [BZ #14610]
16261 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
16262 for low part of x being zero before using __atanl (y).
16263 * math/libm-test.inc (atan2_test): Add another test.
16264
0eb69512
JM
16265 * manual/install.texi (Configuring and compiling): Document
16266 general use of test-wrapper and test-wrapper-env.
16267 * INSTALL: Regenerated.
16268
ef82f4da
JM
16269 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
16270 (__fma): Do not extract and scale down low bits on after-rounding
16271 systems when result rounded to normal precision would have normal
16272 exponent.
16273 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
16274 (__fmal): Do not extract and scale down low bits on after-rounding
16275 systems when result rounded to normal precision would have normal
16276 exponent.
16277 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
16278 (__fmal): Do not extract and scale down low bits on after-rounding
16279 systems when result rounded to normal precision would have normal
16280 exponent.
16281 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
16282 macro.
16283 (fma_test): Add more tests.
16284 (fma_test_towardzero): Likewise.
16285 (fma_test_downward): Likewise.
16286 (fma_test_upward): Likewise.
16287
954ef0d9
L
162882012-10-30 H.J. Lu <hongjiu.lu@intel.com>
16289
16290 * sysdeps/i386/tininess.h: Renamed to ...
16291 * sysdeps/x86/tininess.h: This.
16292 * sysdeps/x86_64/tininess.h: Removed.
16293
df61ffb2
JM
162942012-10-30 Joseph Myers <joseph@codesourcery.com>
16295
16296 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
16297 input. Use $(build-program-cmd).
16298 ($(objpfx)tst-array1-static.out): Likewise.
16299 ($(objpfx)tst-array2.out): Likewise.
16300 ($(objpfx)tst-array3.out): Likewise.
16301 ($(objpfx)tst-array4.out): Likewise.
16302 ($(objpfx)tst-array5.out): Likewise.
16303 ($(objpfx)tst-array5-static.out): Likewise.
16304
01767843
CM
163052012-10-30 Chris Metcalf <cmetcalf@tilera.com>
16306
47cc1490
CM
16307 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
16308 if defined.
16309
01767843
CM
16310 * nss/nsswitch.h (nss_interface_function): Provide new
16311 macro for use with NSS functions.
16312 * grp/initgroups.c: Use new macro.
16313 * nss/getXXbyYY.c: Likewise.
16314 * nss/getXXbyYY_r.c: Likewise.
16315 * nss/getXXent.c: Likewise.
16316 * nss/getXXent_r.c: Likewise.
16317 * sysdeps/posix/getaddrinfo.c: Likewise.
16318
8321aa97
AJ
163192012-10-30 Andreas Jaeger <aj@suse.de>
16320
16321 * po/ru.po: Update Russion translation from translation project.
16322
2a27fd6d
JM
163232012-10-30 Joseph Myers <joseph@codesourcery.com>
16324
8627a232
JM
16325 [BZ #14152]
16326 [BZ #14783]
16327 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
16328 result and shift together with sticky bit instead of replicating
16329 round-to-nearest rounding.
16330 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16331 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16332 * math/libm-test.inc (fma_test): Add more tests. Do not permit
16333 missing underflow exceptions.
16334 (fma_test_towardzero): Add more tests.
16335 (fma_test_downward): Likewise.
16336 (fma_test_upward): Likewise.
16337
2a27fd6d
JM
16338 [BZ #14047]
16339 * sysdeps/generic/tininess.h: New file.
16340 * sysdeps/i386/tininess.h: Likewise.
16341 * sysdeps/sh/tininess.h: Likewise.
16342 * sysdeps/x86_64/tininess.h: Likewise.
16343 * stdlib/tst-strtod-underflow.c: Likewise.
16344 * stdlib/tst-tininess.c: Likewise.
16345 * stdlib/strtod_l.c: Include <tininess.h>.
16346 (round_and_return): Do not set errno for exact underflow cases.
16347 Force an underflow exception when setting errno for underflow.
16348 Determine underflow based on rounding to normal precision if
16349 TININESS_AFTER_ROUNDING.
16350 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
16351 ERANGE for exact underflow cases.
16352 * stdlib/Makefile (tests): Add tst-tininess and
16353 tst-strtod-underflow.
16354 ($(objpfx)tst-tininess): Use $(link-libm).
16355 ($(objpfx)tst-strtod-underflow): Likewise.
16356
e7170363
AJ
163572012-10-30 Andreas Jaeger <aj@suse.de>
16358
e5088dc6
AJ
16359 [BZ#14767]
16360 * elf/Makefile (tests): Remove conditional for have-initfini-array
16361 since this is now always required and the variable does not exist
16362 anymore.
16363 (tests-static): Likewise.
16364 (modules-names): Likewise.
16365
e7170363 16366 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
16367
16368 * elf/tst-array1.c (fini_array): Make writeable so that it can be
16369 merged with constructor/destructor.
16370 (init_array): Likewise.
16371 * elf/tst-array2dep.c (fini_array): Likewise.
16372 (init_array): Likewise.
16373
60457d8a
MF
163742012-10-29 Mike Frysinger <vapier@gentoo.org>
16375
16376 * manual/message.texi: Delete @cartouche tags.
16377
8bece752
PT
163782012-10-29 Pino Toscano <toscano.pino@tiscali.it>
16379
94ce799f
PT
16380 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
16381 EOPNOTSUPP.
16382 * sysdeps/mach/hurd/fsync.c: Likewise.
16383
8bece752
PT
16384 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
16385 [_POSIX_REALTIME_SIGNALS]: Change condition to
16386 [_POSIX_REALTIME_SIGNALS > 0].
16387
86ebe6b1
AJ
163882012-10-27 Andreas Jaeger <aj@suse.de>
16389
16390 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
16391 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
16392 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
16393 [__WORDSIZE != 64]: Likewise.
16394
54399c08
L
163952012-10-26 H.J. Lu <hongjiu.lu@intel.com>
16396
16397 * iconvdata/tst-table.sh: Remove ${SHELL}.
16398 * iconvdata/tst-tables.sh: Likewise.
16399
e2211bed
DM
164002012-10-25 David S. Miller <davem@davemloft.net>
16401
16402 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16403 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
16404 of strtoull.
16405
f303f97c
DM
16406 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
16407 ifunc-impl-list.c
16408 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16409 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
16410 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
16411 file.
16412
1e9d84cd
RM
164132012-10-25 Roland McGrath <roland@hack.frob.com>
16414
16415 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16416 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
16417 __getdirentries.
16418
df381762
JM
164192012-10-25 Joseph Myers <joseph@codesourcery.com>
16420 Jim Blandy <jimb@codesourcery.com>
16421
16422 * scripts/cross-test-ssh.sh: New file.
16423 * manual/install.texi (Configuring and compiling): Document use of
16424 cross-test-ssh.sh.
16425 * INSTALL: Regenerated.
16426
bff64913
PT
164272012-10-25 Pino Toscano <toscano.pino@tiscali.it>
16428
16429 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
16430 EOPNOTSUPP.
16431
25fe8932
JM
164322012-10-25 Joseph Myers <joseph@codesourcery.com>
16433
16434 * Makeconfig (run-program-prefix): Fix comment.
16435
cc1290d0
JM
164362012-10-24 Joseph Myers <joseph@codesourcery.com>
16437 Jim Blandy <jimb@codesourcery.com>
16438
16439 * Makeconfig (test-wrapper): New variable,
16440 (test-wrapper-env): Likewise.
16441 [$(cross-compiling) = yes && $(test-wrapper) != ""]
16442 (run-built-tests): Define to yes.
16443 (run-program-prefix): Use $(test-wrapper).
16444 (built-program-cmd): Likewise.
16445 * Rules (make-test-out): Use $(test-wrapper-env) and
16446 $(host-built-program-cmd).
16447 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
16448 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
16449 tst-pathopt.sh.
16450 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
16451 $(test-wrapper-env) to tst-rtld-load-self.sh.
16452 ($(objpfx)order2.out): Use $(test-wrapper).
16453 ($(objpfx)tst-initorder.out): Likewise.
16454 ($(objpfx)tst-initorder2.out): Likewise.
16455 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
16456 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
16457 (test_wrapper_env): New variable. Use it to run ld.so.
16458 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
16459 Use it to run ld.so.
16460 (test_wrapper_env): Likewise.
16461 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
16462 $(test-wrapper) to run-iconv-test.sh.
16463 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
16464 (ICONV): Use $test_wrapper.
16465 * posix/Makefile ($(objpfx)globtest.out): Pass
16466 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
16467 globtest.sh, not $(run-program-prefix).
16468 * posix/globtest.sh (run_via_rtld_prefix): New variable.
16469 (test_wrapper): Likewise.
16470 (test_wrapper_env): Likewise. Use it to run globtest with HOME
16471 set together with run_via_rtld_prefix.
16472 (run_program_prefix): Define in terms of test_wrapper and
16473 run_via_rtld_prefix.
16474
6e6249d0
RM
164752012-10-24 Roland McGrath <roland@hack.frob.com>
16476
16477 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
16478 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
16479 Targets removed.
16480
16481 [BZ #14743]
16482 * include/time.h: Remove librt_hidden_proto (clock_gettime).
16483 Declare __clock_getres, __clock_gettime, __clock_settime,
16484 __clock_nanosleep, and __clock_getcpuclockid.
16485 * rt/clock_gettime.c: Define __clock_gettime as an alias.
16486 Remove librt_hidden_def (clock_gettime).
16487 * sysdeps/unix/clock_gettime.c: Likewise.
16488 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
16489 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16490 * rt/clock_getres.c: Define __clock_getres as an alias.
16491 * sysdeps/posix/clock_getres.c: Likewise.
16492 * rt/clock_settime.c: Define __clock_settime as an alias.
16493 * sysdeps/unix/clock_settime.c: Likewise.
16494 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
16495 * sysdeps/unix/clock_nanosleep.c: Likewise.
16496 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16497 * rt/clock-compat.c: New file.
16498 * rt/Makefile (librt-routines): Add clock-compat and move
16499 $(clock-routines) to ...
16500 (routines): ... here, new variable.
16501 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
16502 Don't add get_clockfreq here.
16503 * rt/Versions (libc: GLIBC_2.17): New version set.
16504 Add clock_* symbols here.
16505 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
16506 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
16507 (GLIBC_2.17): Add clock_* symbols.
16508 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16509 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16510 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16512 Likewise.
16513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16514 Likewise.
16515 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16516 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16517 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16518 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16519 * NEWS: Mention the move.
16520
16521 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16522 Use __open, __read, __close rather than their public counterparts.
16523 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16524 (__get_clockfreq_via_cpuinfo): Likewise.
16525 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
16526 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
16527
16528 * config.h.in (HAVE_IFUNC): New #undef.
16529 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
16530 was successful.
16531 * configure: Regenerated.
16532
0cae3f4b
MF
165332012-10-24 Mike Frysinger <vapier@gentoo.org>
16534
16535 * configure.in: Move READELF check to start of file.
16536 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
16537 libc_cv_asm_gnu_indirect_function in the process.
16538 * configure: Regenerated.
16539
8175a253
MF
165402012-10-24 Mike Frysinger <vapier@gentoo.org>
16541
16542 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
16543 send the output to /dev/null.
16544 (libc_cv_cc_with_libunwind): Likewise.
16545 (libc_cv_as_noexecstack): Likewise.
16546 * configure: Regenerate.
16547
0708a7d1
JM
165482012-10-24 Joseph Myers <joseph@codesourcery.com>
16549
10b40d85
JM
16550 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
16551
0708a7d1
JM
16552 * posix/globtest.sh (TMPDIR): Do not set.
16553 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
16554 (testout): Likewise.
16555
9fddec1a
AJ
165562012-10-24 Andreas Jaeger <aj@suse.de>
16557
3a8db22f
AJ
16558 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
16559 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
16560 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
16561 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
16562 posix_fadvise64, posix_fallocate64.
16563
9fddec1a
AJ
16564 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
16565 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
16566 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
16567 Likewise.
16568 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
16569 Likewise.
16570 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
16571
16572 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
16573 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
16574 <bits/fcntl-linux.h>.
16575 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
16576
16577 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
16578 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
16579 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
16580 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
16581 [__WORDSIZE != 64]: Likewise.
16582
ebfd1bbd
JM
165832012-10-23 Joseph Myers <joseph@codesourcery.com>
16584
03ac099f
JM
16585 * Makeconfig (run-built-tests): New variable.
16586 * Rules [$(cross-compiling) = yes]: Change condition to
16587 [$(run-built-tests) = no].
16588 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
16589 to [$(run-built-tests) = yes].
16590 * elf/Makefile [$(cross-compiling) = no]: Likewise
16591 * grp/Makefile [$(cross-compiling) = no]: Likewise.
16592 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
16593 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
16594 * intl/Makefile [$(cross-compiling) = no]: Likewise.
16595 * io/Makefile [$(cross-compiling) = no]: Likewise.
16596 * libio/Makefile [$(cross-compiling) = no]: Likewise.
16597 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
16598 * misc/Makefile [$(cross-compiling) = no]: Likewise.
16599 * posix/Makefile [$(cross-compiling) = no]: Likewise.
16600 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
16601 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
16602 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
16603 * string/Makefile [$(cross-compiling) = no]: Likewise.
16604
ebfd1bbd
JM
16605 * posix/Makefile ($(objpfx)globtest.out): Pass
16606 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
16607 $(rtld-installed-name).
16608 * posix/globtest.sh (elf_objpfx): Remove variable.
16609 (rtld_installed_name): Likewise.
16610 (library_path): Likewise.
16611 (run_program_prefix): New variable. Use for running globtest
16612 binary.
16613
166bca24
JB
166142012-10-23 Jim Blandy <jimb@codesourcery.com>
16615 Joseph Myers <joseph@codesourcery.com>
16616
16617 * Makeconfig (host-built-program-cmd): New variable.
16618 * elf/Makefile (tst-stackguard1-ARGS): Use
16619 $(host-built-program-cmd).
16620 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
16621 (tst-spawn-ARGS): Likewise.
16622 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
16623
88866099
JM
166242012-10-23 Joseph Myers <joseph@codesourcery.com>
16625 Jim Blandy <jimb@codesourcery.com>
16626
16627 * Makeconfig (run-via-rtld-prefix): New variable.
16628 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
16629 (built-program-cmd): Likewise.
16630
b4b4c296
AJ
166312012-10-22 Andreas Jaeger <aj@suse.de>
16632
16633 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
16634 __O_RSYNC if it exists, otherwise to O_SYNC.
16635
6fb54a22
JB
166362012-10-22 Jim Blandy <jimb@codesourcery.com>
16637 Joseph Myers <joseph@codesourcery.com>
16638
16639 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
16640 /dev/null.
16641 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
16642 from /dev/null
16643 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
16644 /dev/null.
16645
481b90b9
AJ
166462012-10-22 Andreas Jaeger <aj@suse.de>
16647
2a0e2669
AJ
16648 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
16649 Define always.
16650 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
16651
76e38f9a
AJ
16652 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16653 bits/fcntl-linux.h.
16654
7cd37b43
AJ
16655 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
16656 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
16657
481b90b9
AJ
16658 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
16659 to __O_LARGEFILE.
16660 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
16661 to __O_LARGEFILE.
16662
aba75984
JB
166632012-10-21 Jim Blandy <jimb@codesourcery.com>
16664 Joseph Myers <joseph@codesourcery.com>
16665
16666 * config.make.in (NM): New variable.
16667
88d4247f
AJ
166682012-10-21 Andreas Jaeger <aj@suse.de>
16669
16670 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
16671 definitions and declarations that are provided by
16672 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16673
f2eed205
L
166742012-10-20 H.J. Lu <hongjiu.lu@intel.com>
16675
16676 [BZ #14683]
16677 * elf/Makefile (tests-static): Add tst-leaks1-static.
16678 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
16679 ($(objpfx)tst-leaks1-static): New rule.
16680 ($(objpfx)tst-leaks1-static-mem): Likewise.
16681 (tst-leaks1-static-ENV): New macro.
16682 * elf/dl-open.c (dl_open_worker): Check the main application
16683 only if SHARED is defined.
16684 * elf/tst-leaks1-static.c: New file.
16685
335e6931
AJ
166862012-10-20 Andreas Jaeger <aj@suse.de>
16687
16688 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
16689 generic values for Linux.
16690 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
16691 and declarations that are provided by <bits/fcntl-linux.h> and
16692 include <bits/fcntl-linux.h>.
16693 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16694 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16695
ac5c94d3
RM
166962012-10-20 Roland McGrath <roland@hack.frob.com>
16697
16698 * io/fcntl.h: Move include of <bits/types.h> to the top and
16699 include it unconditionally.
16700
de54b33a
L
167012012-10-20 H.J. Lu <hongjiu.lu@intel.com>
16702
228cfb01
L
16703 * wcsmbs/Makefile (tests-ifunc): New variable.
16704 (tests): Add $(tests-ifunc).
16705 * wcsmbs/test-wcschr-ifunc.c: New file.
16706 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
16707 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
16708 * wcsmbs/test-wcslen-ifunc.c: Likewise.
16709 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
16710 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
16711
69f07e5f
L
16712 * string/Makefile (tests-ifunc): New variable.
16713 (tests): Add $(tests-ifunc).
16714 * string/test-memccpy.c (TEST_NAME): New macro.
16715 * string/test-memchr.c (TEST_NAME): Likewise.
16716 * string/test-memcmp.c (TEST_NAME): Likewise.
16717 * string/test-memcpy.c (TEST_NAME): Likewise.
16718 * string/test-memmem.c (TEST_NAME): Likewise.
16719 * string/test-memmove.c (TEST_NAME): Likewise.
16720 * string/test-memset.c (TEST_NAME): Likewise.
16721 * string/test-rawmemchr.c (TEST_NAME): Likewise.
16722 * string/test-stpcpy.c (TEST_NAME): Likewise.
16723 * string/test-stpncpy.c (TEST_NAME): Likewise.
16724 * string/test-strcasecmp.c (TEST_NAME): Likewise.
16725 * string/test-strcasestr.c (TEST_NAME): Likewise.
16726 * string/test-strcat.c (TEST_NAME): Likewise.
16727 * string/test-strchr.c (TEST_NAME): Likewise.
16728 * string/test-strcmp.c(TEST_NAME): Likewise.
16729 * string/test-strcpy.c (TEST_NAME): Likewise.
16730 * string/test-strcspn.c (TEST_NAME): Likewise.
16731 * string/test-strlen.c (TEST_NAME): Likewise.
16732 * string/test-strncasecmp.c (TEST_NAME): Likewise.
16733 * string/test-strncmp.c (TEST_NAME): Likewise.
16734 * string/test-strncpy.c (TEST_NAME): Likewise.
16735 * string/test-strnlen.c (TEST_NAME): Likewise.
16736 * string/test-strpbrk.c (TEST_NAME): Likewise.
16737 * string/test-strrchr.c (TEST_NAME): Likewise.
16738 * string/test-strspn.c (TEST_NAME): Likewise.
16739 * string/test-strstr.c (TEST_NAME): Likewise.
16740 * string/test-bcopy-ifunc.c: New file.
16741 * string/test-bzero-ifunc.c: Likewise.
16742 * string/test-memccpy-ifunc.c: Likewise.
16743 * string/test-memchr-ifunc.c: Likewise.
16744 * string/test-memcmp-ifunc.c: Likewise.
16745 * string/test-memcpy-ifunc.c: Likewise.
16746 * string/test-memmem-ifunc.c: Likewise.
16747 * string/test-memmove-ifunc.c: Likewise.
16748 * string/test-mempcpy-ifunc.c: Likewise.
16749 * string/test-memset-ifunc.c: Likewise.
16750 * string/test-rawmemchr-ifunc.c: Likewise.
16751 * string/test-stpcpy-ifunc.c: Likewise.
16752 * string/test-stpncpy-ifunc.c: Likewise.
16753 * string/test-strcasecmp-ifunc.c: Likewise.
16754 * string/test-strcasestr-ifunc.c: Likewise.
16755 * string/test-strcat-ifunc.c: Likewise.
16756 * string/test-strchr-ifunc.c: Likewise.
16757 * string/test-strchrnul-ifunc.c: Likewise.
16758 * string/test-strcmp-ifunc.c: Likewise.
16759 * string/test-strcpy-ifunc.c: Likewise.
16760 * string/test-strcspn-ifunc.c: Likewise.
16761 * string/test-strlen-ifunc.c: Likewise.
16762 * string/test-strncasecmp-ifunc.c: Likewise.
16763 * string/test-strncat-ifunc.c: Likewise.
16764 * string/test-strncmp-ifunc.c: Likewise.
16765 * string/test-strncpy-ifunc.c: Likewise.
16766 * string/test-strnlen-ifunc.c: Likewise.
16767 * string/test-strpbrk-ifunc.c: Likewise.
16768 * string/test-strrchr-ifunc.c: Likewise.
16769 * string/test-strspn-ifunc.c: Likewise.
16770 * string/test-strstr-ifunc.c: Likewise.
16771
de54b33a
L
16772 * debug/Makefile (tests-ifunc): New variable.
16773 (tests): Add $(tests-ifunc).
16774 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
16775 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
16776 * debug/test-stpcpy_chk-ifunc.c: New file.
16777 * debug/test-strcpy_chk-ifunc.c: Likewise.
16778
88481c16
SP
167792012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16780
16781 [BZ #13601]
16782 * elf/dl-load.c (open_verify): Retry read if the entire ELF
16783 header is not read in.
16784
135948bd
JM
167852012-10-19 Joseph Myers <joseph@codesourcery.com>
16786
89f1c388
JM
16787 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
16788 script to $(SHELL) as $<. Pass $(common-objpfx) to script
16789 directly. Pass built executable to script as
16790 $(built-program-cmd).
16791 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
16792 $testprogram without using LD_LIBRARY_PATH and $ldso.
16793
e40a0d21
JM
16794 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
16795 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
16796 $(rtld-installed-name).
16797 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
16798 (rtld_installed_name): Likewise.
16799 (library_path): Likewise.
16800 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
16801 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
16802 $(run-program-prefix) to tst-tables.sh.
16803 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
16804 it to run tst-table-from and tst-table-to.
16805 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
16806 Pass it to tst-table.sh.
16807 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
16808 $(run-program-prefix) to tst-gettext.sh.
16809 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
16810 tst-translit.sh.
16811 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
16812 tst-gettext2.sh.
16813 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
16814 to run tst-gettext.
16815 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
16816 to run tst-gettext2.
16817 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
16818 to run tst-translit.
16819 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
16820 $(run-program-prefix) to tst-mtrace.sh.
16821 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
16822 to run tst-mtrace.
16823 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
16824 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
16825 $(rtld-installed-name).
16826 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
16827 (rtld_installed_name): Likewise.
16828 (run_program_prefix): New variable. Use it to run wordexp-test.
16829
728e272a
JM
16830 * Makeconfig (ARCH): Remove all definitions.
16831 (machine): Likewise.
16832 [ARCH]: Remove conditional code.
16833 [!objdir]: Give error.
16834 [!objdir] (objpfx): Remove.
16835 [!objdir] (common-objpfx): Likewise.
16836 [!objdir] (common-objdir): Likewise.
16837 * configure.in (config_makefile): Remove. Hardcode Makefile in
16838 AC_CONFIG_FILES call.
16839 * configure: Regenerated.
16840
d528cdcf
JM
16841 [BZ #13888]
16842 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
16843 or TMPDIR.
16844 (testout): Likewise.
16845
135948bd
JM
16846 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
16847 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
16848 $(rtld-installed-name).
16849 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
16850 (rtld_installed_name): Likwise.
16851 (runit): Remove function.
16852 (run_getconf): New variable, Use it for running getconf binary.
16853
38c78296
L
168542012-10-18 H.J. Lu <hongjiu.lu@intel.com>
16855
16856 [BZ #14716]
16857 * string/test-memmem.c (check_result): New function.
16858 (do_one_test): Use it.
16859 (check1): New function.
16860 (test_main): Use it.
16861
d077f65f
MT
168622012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
16863
16864 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
16865
ced52c71
JM
168662012-10-18 Joseph Myers <joseph@codesourcery.com>
16867
16868 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
16869 (_G_LSEEK64): Likewise.
16870 (_G_MMAP64): Likewise.
16871 (_G_FSTAT64): Likewise.
16872 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
16873 (_G_LSEEK64): Likewise.
16874 (_G_MMAP64): Likewise.
16875 (_G_FSTAT64): Likewise.
16876 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
16877 unconditional. Call __mmap64 directly.
16878 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
16879 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
16880 __lseek64 directly.
16881 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
16882 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
16883 __mmap64 directly.
16884 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
16885 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
16886 __lseek64 directly.
16887 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
16888 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
16889 __lseek64 directly.
16890 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
16891 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
16892 __lseek64 directly.
16893 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
16894 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
16895 __fxstat64 directly.
16896 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
16897 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
16898 unconditional.
16899 (freopen64) [!_G_OPEN64]: Remove conditional code.
16900 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
16901 unconditional.
16902 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
16903 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
16904 unconditional.
16905 (ftello64) [!_G_LSEEK64]: Remove conditional code.
16906 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
16907 unconditional.
16908 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16909 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
16910 unconditional.
16911 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
16912 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
16913 unconditional.
16914 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16915 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
16916 unconditional.
16917 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16918 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
16919 unconditional.
16920 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16921
b741de23
SP
169222012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16923
16924 [BZ #12140]
16925 * manual/memory.texi (Malloc Tunable Parameters): Add note
16926 about free list pointers overwriting some perturb bytes.
16927 Wording suggested by Roland McGrath.
16928
f9b9d9c9
JM
169292012-10-17 Joseph Myers <joseph@codesourcery.com>
16930
16931 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
16932 (lgamma_test): Likewise.
16933 (tgamma_test): Likewise.
16934
172a631a
FW
169352012-10-16 Florian Weimer <fweimer@redhat.com>
16936
16937 [BZ #14700]
16938 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
16939 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
16940
e9f37252
MK
169412012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
16942
16943 * NEWS: Mention BZ #14716.
16944 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
16945 when removing AVAILABLE1_USES_J macro.
16946
d394eb74
L
169472012-10-12 H.J. Lu <hongjiu.lu@intel.com>
16948
16949 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
16950 (__bswap_64): __uint64_t for unsigned 64-bit int.
16951
ca38dc17
AS
169522012-10-12 Andreas Schwab <schwab@linux-m68k.org>
16953
16954 * include/string.h (memmem): Declare libc hidden alias.
16955 * string/memmem.c (memmem): Define libc hidden alias.
16956 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
16957 __read, __close instead of open, read, close.
16958
9a387d1f
L
169592012-10-11 H.J. Lu <hongjiu.lu@intel.com>
16960
ac49ecaf
L
16961 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
16962 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
16963 global and hidden.
16964 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
16965 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
16966 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
16967 Likewise.
16968 (__rawmemchr_sse2): Likewise.
16969 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
16970 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
16971 (__strchr_sse2): Likewise.
16972 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
16973 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
16974 (__strcasecmp_sse2): Likewise.
16975 (__strncasecmp_sse2): Likewise.
16976 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
16977 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
16978 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
16979 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
16980 (__strrchr_sse2): Likewise.
16981 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
16982 ifunc-impl-list.c.
16983 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16984 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16985 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16986 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16987 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16988 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16989 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16990 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16991 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
16992 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
16993 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
16994 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
16995 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
16996 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16997 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16998 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16999 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17000 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17001 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
17002 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
17003 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
17004 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
17005 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
17006 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17007 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
17008 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17009 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17010 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17011 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17012 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17013
b090e8ea
L
17014 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
17015 global and hidden.
17016 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
17017 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
17018 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
17019 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
17020 Likewise.
17021 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
17022 Likewise.
17023 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
17024 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
17025 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
17026 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
17027 ifunc-impl-list.c.
17028 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17029 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17030 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17031 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17032 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17033 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17034 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17035 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17036 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17037 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17038 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17039 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17040 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17041 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
17042 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
17043 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17044 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
17045 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
17046 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17047 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17048 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17049 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17050 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17051 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17052 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17053 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
17054 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
17055 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
17056 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
17057 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17058 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
17059 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17060 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17061 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
17062 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17063 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17064 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17065 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17066 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17067 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17068 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
17069
11dd4af6
L
17070 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
17071 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
17072 * include/ifunc-impl-list.h: New file.
17073 * misc/ifunc-impl-list.c: Likewise.
17074 * misc/Makefile (routines): Add ifunc-impl-list.
17075 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
17076 * string/test-string.h: Include <ifunc-impl-list.h>.
17077 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
17078 impl_array): New variables.
17079 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
17080 are defined.
17081 (test_init): Call __libc_ifunc_impl_list to initialize
17082 func_list if TEST_IFUNC and TEST_NAME are defined.
17083
9a387d1f
L
17084 * string/Makefile (strop-tests): Add bcopy and bzero.
17085 * string/test-bcopy.c: New file.
17086 * string/test-bzero.c: Likewise.
17087 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
17088 defined.
17089 * string/test-memset.c: Support bzero test if TEST_BZERO is
17090 defined.
17091 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
17092 __libc_memmove.
17093 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
17094 __libc_memset.
17095 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
17096 of memset.
17097
472371b9
JM
170982012-10-10 Joseph Myers <joseph@codesourcery.com>
17099
1e4a9536
JM
17100 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
17101 * configure: Regenerated.
17102
d173d12e
JM
17103 * Makeconfig (+link-static-before-libc): Don't include
17104 $(link-static-libc).
17105
472371b9
JM
17106 * libio/libio.h (_IO_pos_t): Remove.
17107
89a3ad0b
AO
171082012-10-10 Alexandre Oliva <aoliva@redhat.com>
17109
17110 * NEWS: Add note about FIPS mode. Wording suggested by Roland
17111 McGrath.
17112
e7451425
AO
171132012-10-10 Alexandre Oliva <aoliva@redhat.com>
17114
17115 * crypt/crypt-entry.c: Include fips-private.h.
17116 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
17117 * crypt/md5c-test.c (main): Tolerate disabled MD5.
17118 * sysdeps/unix/sysv/linux/fips-private.h: New file.
17119 * sysdeps/generic/fips-private.h: New file, dummy fallback.
17120
4ba74a35
AO
171212012-10-10 Alexandre Oliva <aoliva@redhat.com>
17122
17123 * crypt/crypt-private.h: Include stdbool.h.
17124 (_ufc_setup_salt_r): Return bool.
17125 * crypt/crypt-entry.c: Include errno.h.
17126 (__crypt_r): Return NULL with EINVAL for bad salt.
17127 * crypt/crypt_util.c (bad_for_salt): New.
17128 (_ufc_setup_salt_r): Check that salt is long enough and within
17129 the specified alphabet.
17130 * crypt/badsalttest.c: New file.
17131 * crypt/Makefile (tests): Add it.
17132 ($(objpfx)badsalttest): New.
17133
f96f1242
MK
171342012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
17135
17136 * NEWS: Add entry for BZ #14602.
17137
0e8e0c1c
JM
171382012-10-09 Joseph Myers <joseph@codesourcery.com>
17139
17140 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
17141 type-generic.
17142 * math/libm-test.inc: Update comment listing what functions and
17143 macros are tested.
17144 (isgreater_test): New function.
17145 (isgreaterequal_test): Likewise.
17146 (isless_test): Likewise.
17147 (islessequal_test): Likewise.
17148 (islessgreater_test): Likewise.
17149 (isunordered_test): Likewise.
17150 (main): Call the new functions.
17151
273edc5e
RM
171522012-10-09 Roland McGrath <roland@hack.frob.com>
17153
b8493de0
RM
17154 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
17155 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
17156 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
17157 * sysdeps/i386/configure: Regenerated.
17158 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
17159 * sysdeps/mach/configure: Regenerated.
17160 * sysdeps/mach/hurd/configure: Regenerated.
17161 * sysdeps/powerpc/configure: Regenerated.
17162 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17163 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17164 * sysdeps/s390/s390-32/configure: Regenerated.
17165 * sysdeps/s390/s390-64/configure: Regenerated.
17166 * sysdeps/sh/configure: Regenerated.
17167 * sysdeps/sparc/configure: Regenerated.
17168 * sysdeps/unix/sysv/linux/configure: Regenerated.
17169 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
17170 * sysdeps/x86_64/configure: Regenerated.
17171
273edc5e
RM
17172 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
17173 defined. Don't check if MAP is NULL.
17174
c8450f70
JM
171752012-10-09 Joseph Myers <joseph@codesourcery.com>
17176
17177 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
17178 (_G_stat64): Likewise.
17179 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
17180 (_G_stat64): Likewise.
17181 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
17182 instead of struct _G_stat64.
17183 * libio/fileops.c (mmap_remap_check): Likewise.
17184 (decide_maybe_mmap): Likewise.
17185 (_IO_new_file_seekoff): Likewise.
17186 (_IO_file_stat): Likewise.
17187 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
17188 _G_off64_t.
17189 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
17190 instead of struct _G_stat64.
17191 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17192
57e605ba
MK
171932012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
17194
17195 [BZ #14602]
17196 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17197 Replace with ...
17198 (CHECK_EOL): New macro.
17199 (two_way_short_needle): Check beginning of haystack for EOL. Use
17200 CHECK_EOL.
17201 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17202 Replace with CHECK_EOL.
17203 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17204 Replace with CHECK_EOL.
17205
ef1bb361
JM
172062012-10-08 Joseph Myers <joseph@codesourcery.com>
17207
17208 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
17209 type-generic.
17210 * math/libm-test.inc: Update comment listing what functions and
17211 macros are tested.
17212 (finite_test): New function.
17213 (isinf_test): Likewise.
17214 (isnan_test): Likewise.
17215 (fpclassify_test): Test subnormal input.
17216 (isfinite_test): Likewise.
17217 (isnormal_test): Likewise.
17218 (main): Call the new functions.
17219
55f11534
JN
172202012-10-08 Jonathan Nieder <jrnieder@gmail.com>
17221
17222 [BZ #14660]
17223 * Makerules (%.dynsym): Force C locale when running
17224 $(OBJDUMP) --dynamic-syms.
17225
1ab29350
AS
172262012-10-08 Andreas Schwab <schwab@linux-m68k.org>
17227
17228 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
17229 <stdint.h>.
17230
f1ecb7ef
DM
172312012-10-06 David S. Miller <davem@davemloft.net>
17232
17233 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
17234 upper 32-bits of the length value in %o2 since we use branch-on-register
17235 tests which consider the entire 64-bit register.
17236
5d41d91a
L
172372012-10-06 H.J. Lu <hongjiu.lu@intel.com>
17238
17239 * string/test-strstr.c (check2): Add a test for page boundary.
17240
3baddb72
DM
172412012-10-05 David S. Miller <davem@davemloft.net>
17242
17243 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
17244 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
17245 file.
17246 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17247 sysdep_routines.
17248 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17249 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
17250 and bzero when HWCAP_SPARC_CRYPTO is present.
17251
9cee5585
L
172522012-10-05 H.J. Lu <hongjiu.lu@intel.com>
17253
d7e0dab9
L
17254 [BZ #14602]
17255 * string/test-strstr.c (check2): New function.
17256 (test_main): Call check2.
17257
03759f47
L
17258 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
17259 and bug-strchr1.
17260 * string/bug-strcasestr1.c (do_test): Moved to ...
17261 * string/test-strcasestr.c (check1): Here. New function.
17262 (do_one_test): Break out result checking code into ...
17263 (check_result): This. New function.
17264 (do_one_test): Call check_result.
17265 (test_main): Call check1.
17266 * string/bug-strchr1.c (do_test): Moved to ...
17267 * string/test-strchr.c (check1): Here. New function.
17268 (do_one_test): Break out result checking code into ...
17269 (check_result): This. New function.
17270 (do_one_test): Call check_result.
17271 (test_main): Call check1.
17272 * string/bug-strstr1.c (main): Moved to ...
046f153e 17273 * string/test-strstr.c (check1): Here. New function.
03759f47
L
17274 (do_one_test): Break out result checking code into ...
17275 (check_result): This. New function.
17276 (do_one_test): Call check_result.
17277 (test_main): Call check1.
17278 * string/bug-strcasestr1.c: Removed.
17279 * string/bug-strchr1.c: Likewise.
17280 * string/bug-strstr1.c: Likewise.
17281
53cea63e
L
17282 * elf/Makefile (dl-routines): Add hwcaps.
17283 * elf/dl-support.c (_dl_important_hwcaps): Removed.
17284 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
17285 (_dl_important_hwcaps): Moved to ...
17286 * elf/dl-hwcaps.c: Here. New file.
17287 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
17288
9cee5585 17289 [BZ #14557]
bb859b06
L
17290 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
17291 if IS_IN_rtld isn't defined.
17292
9cee5585
L
17293 * elf/dl-support.c (_dl_sysinfo_map): New.
17294 Include "get-dynamic-info.h" and "setup-vdso.h".
17295 (_dl_non_dynamic_init): Call setup_vdso.
17296 * elf/dynamic-link.h: Don't include <assert.h>.
17297 (elf_get_dynamic_info): Moved to ...
17298 * elf/get-dynamic-info.h: Here. New file.
17299 * elf/dynamic-link.h: Include "get-dynamic-info.h".
17300 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
17301 * elf/setup-vdso.h: Here. New file.
17302 * elf/rtld.c: Include "setup-vdso.h".
17303 (dl_main): Call setup_vdso.
17304
23c31b76
JM
173052012-10-05 Joseph Myers <joseph@codesourcery.com>
17306
28234b07
JM
17307 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
17308 creal in comment listing functions tested. List finite, isinf,
17309 isnan, isless, islessequal, isgreater, isgreaterequal,
17310 islessgreater, isunordered, lgamma_r and pow10 as functions and
17311 macros not tested. Mention which functions not tested are aliases
17312 for other functions. Fix typo. Note that signs of NaNs are not
17313 tested.
17314
23c31b76
JM
17315 * scripts/config.guess: Update from config.git.
17316 * scripts/config.sub: Likewise.
17317
9043e228
RM
173182012-10-04 Roland McGrath <roland@hack.frob.com>
17319
17320 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
17321 * misc/madvise.c (madvise): Renamed to __madvise.
17322 Make madvise a weak alias.
17323 * include/sys/mman.h: Declare __madvise.
17324 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
17325 * sysdeps/unix/syscalls.list
17326 (madvise): Make __madvise the strong name, and madvise a weak alias.
17327 * sysdeps/unix/sysv/linux/syscalls.list
17328 (madvise, mmap): Remove redundant entries.
17329 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
17330 * malloc/malloc.c (mtrim): Likewise.
17331 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
17332
f57f8055
RM
173332012-10-03 Roland McGrath <roland@hack.frob.com>
17334
17335 * sysdeps/mach/hurd/dl-cache.c: File removed.
17336 * config.h.in (USE_LDCONFIG): New #undef.
17337 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
17338 * configure: Regenerated.
17339 * elf/Makefile (dl-routines): Add dl-cache only under
17340 [$(use-ldconfig) = yes].
17341 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
17342 cache on [USE_LDCONFIG].
17343 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
17344 [USE_LDCONFIG].
17345 * elf/rtld.c (dl_main): Likewise.
17346
5bb0c10a
PT
173472012-10-03 Pino Toscano <toscano.pino@tiscali.it>
17348
17349 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
17350 _SC_LEVEL4_CACHE_LINESIZE.
17351
010188c6
RM
173522012-10-03 Roland McGrath <roland@hack.frob.com>
17353
17354 * sysdeps/unix/bsd/confstr.h: File removed.
17355
b6c5ec07
AO
173562012-10-02 Alexandre Oliva <aoliva@redhat.com>
17357
17358 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
17359 sys/sdt-config.h.
17360
408223d4
RM
173612012-10-02 Roland McGrath <roland@hack.frob.com>
17362
17363 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
17364 Make 'mapoff' field ElfW(Off) rather than off_t.
17365
bb9510dc
DL
173662012-10-02 Dmitry V. Levin <ldv@altlinux.org>
17367
fc997c6e
DL
17368 * nscd/Makefile: Remove nscd-cflags and all its users.
17369 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
17370 (CFLAGS-nonlib): Add compiler flags for nscd modules.
17371
bb9510dc
DL
17372 [BZ #10631]
17373 * malloc.c (malloc_printerr): Clarify error message.
17374
05699367
L
173752012-10-02 H.J. Lu <hongjiu.lu@intel.com>
17376
17377 [BZ #14648]
17378 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17379 Set bit_FMA_Usable if FMA is supported.
17380 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
17381 macro.
17382 (bit_FMA4_Usable): Updated.
17383 (index_FMA_Usable): New macro.
17384 (CPUID_FMA): Likewise
17385 (HAS_FMA): Defined with bit_FMA_Usable.
17386
51367701
RM
173872012-10-01 Roland McGrath <roland@hack.frob.com>
17388
17389 * bits/types.h (__swblk_t): Type removed.
17390 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
17391 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
17392 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17393 (__SWBLK_T_TYPE): Likewise.
17394 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17395 (__SWBLK_T_TYPE): Likewise.
17396 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17397 (__SWBLK_T_TYPE): Likewise.
17398 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17399 (__SWBLK_T_TYPE): Likewise.
17400
4d57bf63 174012012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 17402 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
17403
17404 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
17405 (xdr_mapname): Use YPMAXMAP as maxsize.
17406 (xdr_peername): Use YPMAXPEER as maxsize.
17407 (xdr_keydat): Use YPAXRECORD as maxsize.
17408 (xdr_valdat): Use YPMAXRECORD as maxsize.
17409
93c65d43
RM
174102012-10-01 Roland McGrath <roland@hack.frob.com>
17411
497a03d6
RM
17412 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
17413
93c65d43
RM
17414 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
17415 * csu/init-first.c: ... here.
17416 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
17417 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
17418 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
17419 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17420 * sysdeps/i386/init-first.c: File removed.
17421 * sysdeps/sh/init-first.c: File removed.
17422
bec749fd
JM
174232012-10-01 Joseph Myers <joseph@codesourcery.com>
17424
17425 [BZ #14645]
17426 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
17427 if x * y might underflow to zero and z is zero.
17428 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17429 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17430 * math/libm-test.inc (min_subnorm_value): New variable.
17431 (fma_test): Add more tests.
17432 (fma_test_towardzero): Likewise.
17433 (fma_test_downward): Likewise
17434 (fma_test_upward): Likewise.
17435 (initialize): Set min_subnorm_value.
17436
8ec5b013
JM
174372012-09-29 Joseph Myers <joseph@codesourcery.com>
17438
17439 [BZ #14638]
17440 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
17441 0 + 0.
17442 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
17443 mode for addition resulting in exact zero.
17444 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
17445 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
17446 exact 0 + 0.
17447 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17448 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17449 * math/libm-test.inc (fma_test): Add more tests.
17450 (fma_test_towardzero): New function.
17451 (fma_test_downward): Likewise.
17452 (fma_test_upward): Likewise.
17453 (main): Call the new functions.
17454
b1fa802e
DM
174552012-09-28 David S. Miller <davem@davemloft.net>
17456
17457 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
17458
d3b9fd9e
RM
174592012-09-28 Roland McGrath <roland@hack.frob.com>
17460
ea4d37b3
RM
17461 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
17462 instead of SIGALRM.
17463
ac51c949
RM
17464 * sysdeps/gnu/_G_config.h: Moved to ...
17465 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
17466 * sysdeps/mach/hurd/_G_config.h: Moved to ...
17467 * sysdeps/generic/_G_config.h: ... here.
17468
28c195f7
RM
17469 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
17470
848917f9
RM
17471 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
17472
6bacf05b
RM
17473 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
17474 Conditionalize target on [libnss_test1.so-version].
17475
91363dbb
RM
17476 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
17477
cc87f7d8
RM
17478 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
17479 (elfobjdir): Move out of conditionals.
17480
b1c608fe
RM
17481 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
17482 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
17483 (__nss_lookup_function): Conditionalize label remove_from_tree on
17484 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 17485
1d9a6d96
DM
174862012-09-28 David S. Miller <davem@davemloft.net>
17487
17488 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
17489 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
17490 file.
17491 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17492 sysdep_routines.
17493 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17494 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
17495 when HWCAP_SPARC_CRYPTO is present.
17496
72581615
PT
174972012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17498
17499 * io/tst-mknodat.c: Create a FIFO instead of a socket.
17500
715a900c
JL
175012012-09-28 Andreas Schwab <schwab@linux-m68k.org>
17502
17503 [BZ #6530]
17504 * stdio-common/vfprintf.c (process_string_arg): Revert
17505 2000-07-22 change.
17506
175072011-09-28 Jonathan Nieder <jrnieder@gmail.com>
17508
17509 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
17510 for testcase.
17511 * stdio-common/tst-sprintf.c: Include <locale.h>
17512 (main): Test sprintf's handling of incomplete multibyte
17513 characters.
17514
9bac1d86
L
175152012-09-28 H.J. Lu <hongjiu.lu@intel.com>
17516
17517 * elf/dl-runtime.c (VERSYMIDX): Removed.
17518 * elf/dl-version.c (VERSYMIDX): Likewise.
17519 * elf/do-rel.h (VERSYMIDX): Likewise.
17520 (VALIDX): Likewise.
17521 * elf/dynamic-link.h (VERSYMIDX): Likewise.
17522 * elf/rtld.c (VALIDX): Likewise.
17523 (ADDRIDX): Likewise.
9bac1d86
L
17524 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
17525 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
17526 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
17527 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
17528 (VALIDX): Likewise.
17529 (ADDRIDX): Likewise.
9bac1d86 17530
b31606c0
PT
175312012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17532
17533 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
17534
11541177
JL
175352012-09-28 Dmitry V. Levin <ldv@altlinux.org>
17536
17537 [BZ #11438]
17538 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
17539 to global scope.
17540 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
17541 addresses are in the same scope as 192.0.2/24.
17542 * posix/gai.conf: Document new scope table defaults.
17543
adb26fae
SP
175442012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17545
17546 [BZ #5298]
17547 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
17548 for ftell. Compute offsets from write pointers instead.
17549 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17550
4573c6b0
SP
175512012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17552
17553 [BZ #14543]
17554 * libio/Makefile (tests): New test case tst-fseek.
17555 * libio/tst-fseek.c: New test case to verify that fseek/ftell
17556 combination works in wide mode.
17557 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
17558 state when the external buffer state changes.
17559
aa9bbfe6
DM
175602012-09-27 David S. Miller <davem@davemloft.net>
17561
17562 [BZ #14376]
17563 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
17564 pass reloc->r_addend in as the 'high' argument to
17565 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
17566
784421e7
DM
17567 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17568
c39bc8b8
PT
175692012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17570
17571 * rt/tst-aio2.c: Include <pthread.h>.
17572 * rt/tst-aio3.c: Likewise.
17573
1ccc2399
SE
175742012-09-27 Steve Ellcey <sellcey@mips.com>
17575
17576 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
17577
31ed4153
L
175782012-09-27 H.J. Lu <hongjiu.lu@intel.com>
17579
25f5f885
L
17580 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
17581 contents on [SHARED].
31ed4153 17582
b7bfe116
MP
175832012-09-26 Marek Polacek <polacek@redhat.com>
17584
17585 [BZ #14530]
17586 [BZ #13741]
17587 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
17588 for C++ and GCC <4.3 as well as for non GCC compilers.
17589
43c4edba
MT
175902012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
17591
17592 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17593
6a1bf82f
RM
175942012-09-25 Roland McGrath <roland@hack.frob.com>
17595
17596 * Makefile.in (all, install): Declare with .PHONY.
17597 Reported by Michael Hope <michael.hope@linaro.org>.
17598
8ad11b9a
TMQMF
175992012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17600
17601 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
17602 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
17603 system header.
17604 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
17605 Likewise.
17606 (sydep_routines): Add the new and the internal functions.
17607 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
17608 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
17609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
17610 (GLIBC_2.17): Add the new function.
17611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17612 (GLIBC_2.17): Likewise.
17613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
17614 (GLIBC_2.17): Likewise.
17615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
17616 (GLIBC_2.17): Likewise.
17617 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
17618
7e2fca8d
AM
176192012-09-25 Alan Modra <amodra@gmail.com>
17620
17621 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
17622 Add release barrier before setting once_control to say
17623 initialisation is done. Add hints on lwarx. Use macro in
17624 place of isync.
17625 (clear_once_control): Add release barrier.
17626
b87c4b24
JM
176272012-09-25 Joseph Myers <joseph@codesourcery.com>
17628
d032e0d2
JM
17629 [BZ #13629]
17630 * math/s_clog.c (__clog): Handle more values close to |z| = 1
17631 specially.
17632 * math/s_clog10.c (__clog10): Likewise.
17633 * math/s_clog10f.c (__clog10f): Likewise.
17634 * math/s_clog10l.c (__clog10l): Likewise.
17635 * math/s_clogf.c (__clogf): Likewise.
17636 * math/s_clogl.c (__clogl): Likewise.
17637 * math/Makefile (libm-calls): Add x2y2m1.
17638 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
17639 (__x2y2m1): Likewise.
17640 (__x2y2m1l): Likewise.
17641 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
17642 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
17643 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17644 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17645 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
17646 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
17647 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
17648 * sysdeps/i386/fpu/libm-test-ulps: Update.
17649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17650
b87c4b24
JM
17651 [BZ #14621]
17652 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
17653 int as type of variable DEPTH.
17654 (glob): Use size_t instead of int as type of variables NEWCOUNT
17655 and OLD_PATHC.
17656
6d3bf199
LD
176572012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17658
22bf5c17
LD
17659 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17660 Add s_sincosf-sse2.
17661 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
17662 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
17663 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
17664 macros for using routine as __sincosf_ia32.
17665 Use macro for function declaration and weak_alias.
17666 * sysdeps/i386/fpu/libm-test-ulps: Update.
17667
17668 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
17669 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17670
17671 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
17672 subnormal argument.
17673 * math/s_cexpf.c (__cexpf): Likewise.
17674 * math/s_csinf.c (__csinf): Likewise.
17675 * math/s_csinhf.c (__csinhf): Likewise.
17676 * math/s_ctanf.c (__ctanf): Likewise.
17677 * math/s_ctanhf.c (__ctanhf): Likewise.
17678 * math/s_ccosh.c (__ccoshf): Likewise.
17679 * math/s_cexp.c (__cexpl): Likewise.
17680 * math/s_csin.c (__csin): Likewise.
17681 * math/s_csinh.c (__csinh): Likewise.
17682 * math/s_ctan.c (__ctan): Likewise.
17683 * math/s_ctanh.c (ctanh): Likewise.
17684 * math/s_ccoshl.c (__ccoshl): Likewise.
17685 * math/s_cexpl.c (__cexpl): Likewise.
17686 * math/s_csinl.c (__csinl): Likewise.
17687 * math/s_csinhl.c (__csinhl): Likewise.
17688 * math/s_ctanl.c (__ctanl): Likewise.
17689 * math/s_ctanhl.c (__ctanhl): Likewise.
17690
203e5603
JM
176912012-09-25 Joseph Myers <joseph@codesourcery.com>
17692
17693 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
17694 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
17695 (_IO_off_t): Define to __off_t, not _G_off_t.
17696 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
17697 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
17698 (_IO_wint_t): Define to wint_t, not _G_wint_t.
17699 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
17700 type of __dummy and __dummy2 fields.
17701 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
17702 (_G_ssize_t): Likewise.
17703 (_G_off_t): Likewise.
17704 (_G_pid_t): Likewise.
17705 (_G_uid_t): Likewise.
17706 (_G_wchar_t): Likewise.
17707 (_G_wint_t): Likewise.
17708 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
17709 (_G_ssize_t): Likewise.
17710 (_G_off_t): Likewise.
17711 (_G_pid_t): Likewise.
17712 (_G_uid_t): Likewise.
17713 (_G_wchar_t): Likewise.
17714 (_G_wint_t): Likewise.
17715 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
17716 (_G_ssize_t): Likewise.
17717 (_G_off_t): Likewise.
17718 (_G_pid_t): Likewise.
17719 (_G_uid_t): Likewise.
17720 (_G_wchar_t): Likewise.
17721 (_G_wint_t): Likewise.
17722
9fab36eb
SP
177232012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17724
17725 * malloc/arena.c: Include malloc-sysdep.h.
17726 (shrink_heap): Use check_may_shrink_heap to decide if madvise
17727 is sufficient to shrink the heap or an unmap is needed.
17728 * sysdeps/generic/malloc-sysdep.h: New file. Define
17729 new function check_may_shrink_heap.
17730 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
17731 new function check_may_shrink_heap.
17732
2b4f00d1
SP
177332012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17734
17735 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
17736 comments.
17737
9a9028b1
DL
177382012-09-24 Dmitry V. Levin <ldv@altlinux.org>
17739
57c69bef
DL
17740 * catgets/test-gencat.sh: Add "set -e".
17741 * elf/tst-pathopt.sh: Likewise.
17742 * grp/tst_fgetgrent.sh: Likewise.
17743 * iconvdata/run-iconv-test.sh: Likewise.
17744 * intl/tst-gettext.sh: Likewise.
17745 * intl/tst-gettext2.sh: Likewise.
17746 * intl/tst-gettext4.sh: Likewise.
17747 * intl/tst-gettext6.sh: Likewise.
17748 * intl/tst-translit.sh: Likewise.
17749 * io/ftwtest-sh: Likewise.
17750 * libio/test-freopen.sh: Likewise.
17751 * malloc/tst-mtrace.sh: Likewise.
17752 * posix/globtest.sh: Likewise.
17753 * posix/tst-getconf.sh: Likewise.
17754 * posix/wordexp-tst.sh: Likewise.
17755 * stdio-common/tst-printf.sh: Likewise.
17756 * stdio-common/tst-unbputc.sh: Likewise.
17757 * stdlib/tst-fmtmsg.sh: Likewise.
17758 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17759 * catgets/Makefile: Do not specify -e option when running
17760 testsuite shell scripts.
17761 * elf/Makefile: Likewise.
17762 * grp/Makefile: Likewise.
17763 * iconvdata/Makefile: Likewise.
17764 * intl/Makefile: Likewise.
17765 * io/Makefile: Likewise.
17766 * libio/Makefile: Likewise.
17767 * malloc/Makefile: Likewise.
17768 * posix/Makefile: Likewise.
17769 * stdio-common/Makefile: Likewise.
17770 * stdlib/Makefile: Likewise.
17771 * sysdeps/x86_64/Makefile: Likewise.
17772
9a9028b1
DL
17773 * io/ftwtest-sh: Add copyright header.
17774 * posix/globtest.sh: Likewise.
17775 * posix/tst-getconf.sh: Likewise.
17776 * posix/wordexp-tst.sh: Likewise.
17777 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17778
ced6f16e
L
177792012-09-24 H.J. Lu <hongjiu.lu@intel.com>
17780
94b32c39
L
17781 [BZ #13679]
17782 * Makeconfig (+link): Defined as $(+link-static) if
17783 $(build-shared) isn't yes.
17784 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
17785 isn't yes.
17786 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
17787
189e935b
L
17788 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
17789
ced6f16e
L
17790 [BZ #14562]
17791 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
17792 new chunk size with MALLOC_ALIGN_MASK.
17793
a9f8e53a
JM
177942012-09-24 Joseph Myers <joseph@codesourcery.com>
17795
17796 [BZ #5044]
17797 * stdio-common/printf_fphex.c: Include <stdbool.h> and
17798 <rounding-mode.h>.
17799 (__printf_fphex): Determine rounding using get_rounding_mode and
17800 round_away.
17801 * stdio-common/tst-printf-round.c (struct hex_test): New
17802 structure.
17803 (hex_tests): New variable.
17804 (test_hex_in_one_mode): New function.
17805 (do_test): Also run tests for hex float output.
17806
43153109
JM
178072012-09-21 Joseph Myers <joseph@codesourcery.com>
17808
17809 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17810 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17811 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
17812 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17813 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17814 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
17815 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17816 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17817
8a26625d
JM
178182012-09-20 Joseph Myers <joseph@codesourcery.com>
17819
17820 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
17821 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
17822 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
17823 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
17824
f3fd569c
DL
178252012-09-19 Dmitry V. Levin <ldv@altlinux.org>
17826
17827 [BZ #14579]
17828 * elf/rtld.c (dl_main): Limit the check for self loading to normal
17829 mode only.
17830 * elf/tst-rtld-load-self.sh: New test.
17831 * elf/Makefile: Run it.
17832
63bbedd4
JM
178332012-09-18 Joseph Myers <joseph@codesourcery.com>
17834
17835 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
17836 (tst-writev-ENV): Remove.
17837 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
17838
626f8b6a
CM
178392012-09-17 Chris Metcalf <cmetcalf@tilera.com>
17840
17841 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
17842
b7aaa4d6
JM
178432012-09-17 Joseph Myers <joseph@codesourcery.com>
17844
17845 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
17846 unconditional.
17847 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
17848 Likewise.
17849 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
17850 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
17851 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
17852 Likewise.
17853
65513990
L
178542012-09-14 H.J. Lu <hongjiu.lu@intel.com>
17855
17856 [BZ #14587]
17857 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
17858 * config.make.in (have-cpp-asm-debuginfo): Removed.
17859 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
17860 * configure: Regenerated.
17861
784761be
JM
178622012-09-14 Joseph Myers <joseph@codesourcery.com>
17863
17864 [BZ #5044]
17865 * stdio-common/printf_fp.c: Include <stdbool.h> and
17866 <rounding-mode.h>.
17867 (___printf_fp): Determine rounding using get_rounding_mode and
17868 round_away.
17869 * stdio-common/tst-printf-round.c: New file.
17870 * stdio-common/Makefile (tests): Add tst-printf-round.
17871 (link-libm): New variable.
17872 ($(objpfx)tst-printf-round): Depend in $(link-libm).
17873
9503345f
L
178742012-09-13 H.J. Lu <hongjiu.lu@intel.com>
17875
17876 [BZ #14576]
17877 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
17878 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
17879 Likewise.
17880 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
17881 Likewise.
17882
ad35fc00
JM
178832012-09-13 Joseph Myers <joseph@codesourcery.com>
17884
17885 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
17886 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17887 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17888 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17889
6c9b0f68
JM
178902012-09-12 Joseph Myers <joseph@codesourcery.com>
17891
17892 [BZ #14518]
17893 * include/rounding-mode.h: New file.
17894 * sysdeps/generic/get-rounding-mode.h: Likewise.
17895 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
17896 * stdlib/strtod_l.c: Include <rounding-mode.h>.
17897 (MAX_VALUE): New macro.
17898 (MIN_VALUE): Likewise.
17899 (overflow_value): New function.
17900 (underflow_value): Likewise.
17901 (round_and_return): Use overflow_value and underflow_value to
17902 determine return values in overflow and underflow cases. Use
17903 round_away to determine rounding depending on rounding mode.
17904 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
17905 determine return values in overflow and underflow cases.
17906 * stdlib/tst-strtod-round.c: Include <fenv.h>.
17907 (struct test_results): New structure.
17908 (struct test): Use struct test_results to store expected results
17909 for all rounding modes.
17910 (TEST): Include expected results for all rounding modes.
17911 (test_in_one_mode): New function.
17912 (do_test): Use test_in_one_mode to compute and check results.
17913 Check results for all rounding modes.
17914 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
17915 $(link-libm).
17916
19fcedd5
AM
179172012-12-09 Allan McRae <allan@archlinux.org>
17918
1e9d84cd 17919 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 17920
8bbfd2f1
JM
179212012-09-11 Joseph Myers <joseph@codesourcery.com>
17922
17923 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
17924 (_G_int32_t): Likewise.
17925 (_G_uint16_t): Likewise.
17926 (_G_uint32_t): Likewise.
17927 (_G_HAVE_BOOL): Likewise.
17928 (_G_HAVE_ATEXIT): Likewise.
17929 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17930 (_G_HAVE_IO_FILE_OPEN): Likewise.
17931 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
17932 (_G_int32_t): Likewise.
17933 (_G_uint16_t): Likewise.
17934 (_G_uint32_t): Likewise.
17935 (_G_HAVE_BOOL): Likewise.
17936 (_G_HAVE_ATEXIT): Likewise.
17937 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17938 (_G_HAVE_IO_FILE_OPEN): Likewise.
17939 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
17940 (_G_int32_t): Likewise.
17941 (_G_uint16_t): Likewise.
17942 (_G_uint32_t): Likewise.
17943 (_G_HAVE_BOOL): Likewise.
17944 (_G_HAVE_ATEXIT): Likewise.
17945 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17946 (_G_HAVE_IO_FILE_OPEN): Likewise.
17947
b1dc5912
L
179482012-09-11 H.J. Lu <hongjiu.lu@intel.com>
17949
17950 * csu/libc-tls.c: Update copyright years.
17951
0e886ef9
JM
179522012-09-10 Joseph Myers <joseph@codesourcery.com>
17953
28361c5e
JM
17954 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
17955 [!_G_USING_THUNKS]: Remove conditional code.
17956 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
17957 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
17958
0e886ef9
JM
17959 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
17960 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
17961 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17962 (_G_VTABLE_LABEL_PREFIX): Likewise.
17963 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17964 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17965 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17966 (_G_VTABLE_LABEL_PREFIX): Likewise.
17967 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17968 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17969 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17970 (_G_VTABLE_LABEL_PREFIX): Likewise.
17971 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17972
bcba7aa2
L
179732012-09-10 H.J. Lu <hongjiu.lu@intel.com>
17974
17975 * libio/Makefile: Include ../Makeconfig before tests.
17976 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
17977 only if $(build-shared) is yes.
17978
06585ee8
L
17979 * iconv/gconv_db.c: Update copyright years.
17980
80ccd52c
LD
179812012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17982
17983 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
17984 unwind info if defined PIC. Fix special cases description.
17985 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
17986
17987 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
17988 DP_HI_MASK entry.
17989 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
17990
691bc9c1
L
179912012-09-07 H.J. Lu <hongjiu.lu@intel.com>
17992
3d9b46b3
L
17993 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
17994
de2139a9
L
17995 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
17996 is NULL.
17997
5ca78dd0
L
17998 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
17999 (LDLIBS-tst-chk4): This.
18000 (LDFLAGS-tst-chk5): Renamed to ...
18001 (LDLIBS-tst-chk5): This.
18002 (LDFLAGS-tst-chk6): Renamed to ...
18003 (LDLIBS-tst-chk6): This.
18004 (LDFLAGS-tst-lfschk4): Renamed to ...
18005 (LDLIBS-tst-lfschk4): This.
18006 (LDFLAGS-tst-lfschk5): Renamed to ...
18007 (LDLIBS-tst-lfschk5): This.
18008 (LDFLAGS-tst-lfschk6): Renamed to ...
18009 (LDLIBS-tst-lfschk6): This.
18010
691bc9c1
L
18011 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
18012 on $(common-objpfx)soversions.mk.
18013
65cafb1c
JM
180142012-09-07 Joseph Myers <joseph@codesourcery.com>
18015
18016 [BZ #10014]
18017 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
18018 example host name.
18019
c78ab094
SP
180202012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18021
18022 * malloc/arena.c (arena_get_retry): New function that gets
18023 another arena for the caller to try its request on.
18024 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
18025 current arena cannot fulfill the request.
18026 (__libc_memalign): Likewise.
18027 (__libc_memalign): Likewise.
18028 (__libc_pvalloc): Likewise.
18029 (__libc_calloc): Likewise.
18030
01f49f59
JT
180312012-09-05 John Tobey <john.tobey@gmail.com>
18032
18033 [BZ #13542]
18034 * manual/arith.texi (Operations on Complex): Fix description
18035 of carg branch cut.
18036
4c23fed5
JM
180372012-09-06 Joseph Myers <joseph@codesourcery.com>
18038
1d3c8572
JM
18039 [BZ #10014]
18040 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
18041 host name.
18042
4c23fed5
JM
18043 [BZ #10038]
18044 * manual/memory.texi (Memory): Make order of menu items match
18045 order of sections.
18046
04570aaa
L
180472012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18048
18049 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
18050 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
18051 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
18052
b80af2f4
L
180532012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18054
18055 * csu/libc-tls.c (static_dtv): Renamed to ...
18056 (_dl_static_dtv): This. Make it global.
18057 (_dl_initial_dtv): Removed.
18058 (__libc_setup_tls): Updated.
18059 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
18060 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
18061 DL_INITIAL_DTV.
18062
2abe9f15
PM
180632012-09-06 Petr Machata <pmachata@redhat.com>
18064
18065 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
18066 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
18067 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
18068 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
18069
0948c3af
L
180702012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18071
18072 [BZ #14545]
18073 * csu/libc-tls.c (_dl_initial_dtv): New variable.
18074 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
18075 freeing dtv[-1].
18076
a5055ad1
L
180772012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18078
18079 [BZ #14544]
18080 * Makeconfig (link-static-before-libc): Replace $(+prector)
18081 with $(+prectorT).
18082 (link-static-after-libc): Replace $(+postctor) with
18083 $(+postctorT).
18084 (link-bounded): Replace $(+prector)/$(+postctor) with
18085 $(+prectorT)/$(+postctorT).
18086 (+prectorT): New macro.
18087 (+postctorT): Likewise.
18088
ed8c2ecd
JM
180892012-09-06 Joseph Myers <joseph@codesourcery.com>
18090
18091 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
18092 (round_str): Handle values above the maximum for IBM long double
18093 as inexact.
18094 * stdlib/tst-strtod-round.c (tests): Regenerated.
18095
14c996c8
AK
180962012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18097
18098 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
18099 assembler flag.
18100 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
18101 zarch_nohighgprs around the zarch optimized routines.
18102 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
18103 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
18104 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
18105 for zarch.
18106
430d6ce6
DM
181072012-09-05 David S. Miller <davem@davemloft.net>
18108
18109 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18110
ff04dda4
DM
18111 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
18112 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
18113 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
18114 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18115 entries.
18116
24d4e01b
AO
181172012-09-05 Alexandre Oliva <aoliva@redhat.com>
18118
18119 * malloc/arena.c: Fold copyright years.
18120 * malloc/mcheck.c, malloc/memusage.c: Likewise.
18121
61d58174
AO
181222012-09-05 Alexandre Oliva <aoliva@redhat.com>
18123
18124 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
18125
20196a5e
AO
181262012-09-05 Alexandre Oliva <aoliva@redhat.com>
18127
18128 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
18129
5c447383
AO
181302012-09-05 Alexandre Oliva <aoliva@redhat.com>
18131
18132 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
18133 change internal state upon failure.
18134
fad64255
AO
181352012-09-05 Alexandre Oliva <aoliva@redhat.com>
18136
18137 * malloc/mcheck.c (mcheck_check_all): Fix typo.
18138 * malloc/memusage.c (mmap): Likewise.
18139 (mmap64, mremap): Likewise. Adjust name in comment.
18140
1ffb8c90
SP
181412012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18142
18143 * libio/fileops.c: Fix typos in comments.
18144 * libio/oldfileops.c: Likewise.
18145 * libio/wfileops.c: Likewise.
18146
6ef9cc37
SP
181472012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18148
18149 [BZ #1349]
18150 * malloc/Makefile (tests): Add tst-malloc-usable test case.
18151 (tst-malloc-usable-ENV): Set environment for test case.
18152 * malloc/hooks.c (malloc_check_get_size): New function to get
18153 requested size.
18154 * malloc/malloc.c (musable): Use malloc_check_get_size.
18155 * malloc/tst-malloc-usable.c: New test case.
18156
4d038ae3
AS
181572012-09-05 Andreas Schwab <schwab@linux-m68k.org>
18158
18159 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
18160
c4e85184
AM
181612012-09-05 Allan McRae <allan@archlinux.org>
18162
b9dafc56 18163 [BZ #13966]
c4e85184
AM
18164 * configure.in (CXX_SYSINCLUDES): Use compiler output to
18165 determine header location.
18166 * configure: Regenerated.
18167
e1343020
AS
181682012-09-05 Andreas Schwab <schwab@linux-m68k.org>
18169
18170 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
18171 float format.
18172 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
18173 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
18174 format.
e1343020
AS
18175 (test): Regenerate.
18176
0a9f1987
DM
181772012-09-04 David S. Miller <davem@davemloft.net>
18178
18179 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
18180 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
18181 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
18182
29237804
FW
181832012-09-04 Florian Weimer <fweimer@redhat.com>
18184
18185 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
18186 failures.
18187
edb3cb88
FW
18188 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
18189
60160d83
JM
181902012-09-04 Joseph Myers <joseph@codesourcery.com>
18191
18192 [BZ #9914]
18193 * libio/iogetdelim.c: Include <limits.h>.
18194 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
18195 + len + 1 would overflow.
18196
bcd6c8dc
AJ
181972012-09-03 Andreas Jaeger <aj@suse.de>
18198
18199 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18200 * sysdeps/i386/fpu/libm-test-ulps: Update.
18201
4ffffbd2
LD
182022012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18203
18204 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18205 Add s_sinf-sse2, s_conf-sse2.
18206
18207 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
18208 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
18209 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
18210 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
18211
18212 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
18213 for using routine as __sinf_ia32.
18214 Use macro for function declaration and weak_alias.
18215 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
18216 for using routine as __cosf_ia32.
18217 Use macro for function declaration and weak_alias.
18218
18219 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
18220 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
18221
18222 * sysdeps/x86_64/fpu/s_sinf.S: New file.
18223 * sysdeps/x86_64/fpu/s_cosf.S: New file.
18224 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18225
18226 * math/libm-test.inc (cos_test): Add more test cases.
18227 (sin_test): Likewise.
18228 (sincos_test): Likewise.
18229
511fa286
AK
182302012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18231
18232 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
18233 (IFUNC_RESOLVE): Make pointers to the specialized implementations
18234 hidden.
18235 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18236
5f30cfec
L
182372012-09-02 H.J. Lu <hongjiu.lu@intel.com>
18238
18239 [BZ #14538]
18240 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
18241 first element of the GOT.
18242 (elf_machine_load_address): Return the difference between
18243 the runtime address of _DYNAMIC and elf_machine_dynamic ().
18244
0786794f
AM
182452012-09-01 Allan McRae <allan@archlinux.org>
18246
5f30cfec
L
18247 [BZ #13412]
18248 * configure.in (AWK): Require gawk version 3.0 or later.
18249 * configure: Regenerated.
0786794f 18250
26889eac
JM
182512012-09-01 Joseph Myers <joseph@codesourcery.com>
18252
18253 * sysdeps/unix/sysv/linux/kernel-features.h
18254 (__ASSUME_POSIX_CPU_TIMERS): Remove.
18255 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18256 [__NR_clock_getres]: Make code unconditional.
18257 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
18258 (clock_getcpuclockid): Remove code left unreachable by removal of
18259 conditionals.
18260 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
18261 code unconditional.
18262 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18263 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18264 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
18265 Make code unconditional.
18266 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18267 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18268 * sysdeps/unix/sysv/linux/clock_settime.c
18269 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
18270 conditional code.
18271 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
18272 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18273
d22e28b0
L
182742012-08-29 H.J. Lu <hongjiu.lu@intel.com>
18275
18276 [BZ #14476]
18277 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
18278 scripts/test-installation.pl.
18279
18280 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
18281 and $ld_so_version if it is set.
18282
050af9c4
SP
182832012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18284
18285 [BZ #14516]
18286 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
18287 failure if reading from procfs failed.
18288 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
18289
ad845c0b
JM
182902012-08-27 Joseph Myers <joseph@codesourcery.com>
18291
18292 * sysdeps/unix/sysv/linux/kernel-features.h
18293 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
18294 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18295 Remove conditional code.
18296 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18297 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
18298 Remove conditional code.
18299 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18300 * sysdeps/unix/sysv/linux/i386/fxstat.c
18301 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18302 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18303 * sysdeps/unix/sysv/linux/i386/fxstatat.c
18304 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18305 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18306 * sysdeps/unix/sysv/linux/i386/lxstat.c
18307 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18308 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18309 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
18310 Remove conditional code.
18311 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18312 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18313 Remove conditional code.
18314 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18315 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
18316 <kernel-features.h>.
18317 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
18318 Remove.
18319 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
18320 Remove conditional code.
18321 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18322 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
18323 Remove conditional.
18324
5dbf56af
MF
183252012-08-27 Mike Frysinger <vapier@gentoo.org>
18326
18327 [BZ #5400]
18328 * NEWS: Add fixed bug number.
18329
d6e70f43
JM
183302012-08-27 Joseph Myers <joseph@codesourcery.com>
18331
7efb4737
JM
18332 [BZ #14519]
18333 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
18334 underflowing exponent in case of negative sign.
18335 * stdlib/tst-strtod-round-data: Add more tests.
18336 * stdlib/tst-strtod-round.c (tests): Regenerated.
18337
af92131a
JM
18338 [BZ #3479]
18339 * stdlib/strtod_l.c (NDIG): Remove.
18340 (HEXNDIG): Likewise.
18341 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
18342 smallest representable value.
18343 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
18344 lie within an exact representation of 1/2 ulp of the result.
18345 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
18346 unconditionally.
18347 (TENS_P9_IDX): Define unconditionally.
18348 (TENS_P9_SIZE): Likewise.
18349 (TENS_P10_IDX): Likewise.
18350 (TENS_P10_SIZE): Likewise.
18351 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
18352 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
18353 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
18354 entries for 10^2^13 and 10^2^14.
18355 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
18356 (TENS_P13_IDX): Define.
18357 (TENS_P13_SIZE): Likewise.
18358 (TENS_P14_IDX): Likewise.
18359 (TENS_P14_SIZE): Likewise.
18360 (_fpioconst_pow10): Change array size to
18361 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
18362 unconditional.
18363 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
18364 1024]: Add entries for 10^2^13 and 10^2^14.
18365 [LAST_POW10 > _LAST_POW10]: Remove #error.
18366 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
18367 (_fpioconst_pow10): Change array size to
18368 FPIOCONST_POW10_ARRAY_SIZE.
18369 * stdlib/gen-fpioconst.c: New file.
18370 * stdlib/gen-tst-strtod-round.c: Likewise.
18371 * stdlib/tst-strtod-round-data: Likewise.
18372 * stdlib/tst-strtod-round.c: Likewise.
18373 * stdlib/Makefile (tests): Add tst-strtod-round.
18374
d6e70f43
JM
18375 [BZ #14459]
18376 * stdlib/strtod_l.c: Include <stdint.h>.
18377 (NDEBUG): Do not define.
18378 (round_and_return): Change EXPONENT parameter to type intmax_t.
18379 Rearrange calculations to avoid internal overflow possibilities.
18380 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
18381 Rearrange calculations to avoid internal overflow possibilities.
18382 Assert that number fits inside MPNSIZE limbs.
18383 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
18384 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
18385 calculations and add assertions to avoid internal overflow
18386 possibilities. Add casts to avoid signed/unsigned operations.
18387 * stdlib/tst-strtod-overflow.c: New file.
18388 * stdlib/Makefile (tests): Add tst-strtod-overflow.
18389
1f529f7d
MP
183902012-08-25 Marek Polacek <polacek@redhat.com>
18391
18392 * time/time.h: Fix some typos in comments.
18393
59a629f1
RM
183942012-08-23 Roland McGrath <roland@hack.frob.com>
18395
18396 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
18397 * posix/tst-rfc3484-2.c: Likewise.
18398 * posix/tst-rfc3484-3.c: Likewise.
18399
d3bafbc9
SM
184002012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
18401
18402 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
18403 (EF_ARM_ABI_FLOAT_HARD): Likewise.
18404
4efcc022
JM
184052012-08-23 Joseph Myers <joseph@codesourcery.com>
18406
18407 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
18408 #include of fxstatat64.c.
18409
3cc3ef96
RM
184102012-08-22 Roland McGrath <roland@hack.frob.com>
18411
f04e2132
RM
18412 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
18413 * shadow/getspent_r.c: Likewise.
18414 * shadow/getspnam.c: Likewise.
18415 * shadow/getspnam_r.c: Likewise.
18416 * gshadow/getsgent.c: Likewise.
18417 * gshadow/getsgent_r.c: Likewise.
18418 * gshadow/getsgnam.c: Likewise.
18419 * gshadow/getsgnam_r.c: Likewise.
18420 * inet/getnetbyad.c: Likewise.
18421 * inet/getnetbyad_r.c: Likewise.
18422 * inet/getnetbynm.c: Likewise.
18423 * inet/getnetbynm_r.c: Likewise.
18424 * inet/getnetent.c: Likewise.
18425 * inet/getnetent_r.c: Likewise.
18426 * inet/getproto.c: Likewise.
18427 * inet/getproto_r.c: Likewise.
18428 * inet/getprtent.c: Likewise.
18429 * inet/getprtent_r.c: Likewise.
18430 * inet/getprtname.c: Likewise.
18431 * inet/getprtname_r.c: Likewise.
18432 * inet/getrpcbyname.c: Likewise.
18433 * inet/getrpcbyname_r.c: Likewise.
18434 * inet/getrpcbynumber.c: Likewise.
18435 * inet/getrpcbynumber_r.c: Likewise.
18436 * inet/getrpcent.c: Likewise.
18437 * inet/getrpcent_r.c: Likewise.
18438 * inet/getaliasent.c: Likewise.
18439 * inet/getaliasent_r.c: Likewise.
18440 * inet/getaliasname.c: Likewise.
18441 * inet/getaliasname_r.c: Likewise.
18442 * nscd/getgrgid_r.c: Likewise.
18443 * nscd/getgrnam_r.c: Likewise.
18444 * nscd/gethstbyad_r.c: Likewise.
18445 * nscd/gethstbynm3_r.c: Likewise.
18446 * nscd/getpwnam_r.c: Likewise.
18447 * nscd/getpwuid_r.c: Likewise.
18448 * nscd/getsrvbynm_r.c: Likewise.
18449 * nscd/getsrvbypt_r.c: Likewise.
18450 * nscd/gai.c: Likewise.
18451
c53d909c
RM
18452 * configure.in (build_nscd): New substituted variable, set
18453 by --disable-build-nscd and defaults to $use_nscd.
18454 * configure: Regenerated.
18455 * config.make.in (build-nscd): New substituted variable.
18456 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
18457 Change conditional to require [$(build-nscd) = yes] as well.
18458 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
18459
3cc3ef96
RM
18460 [BZ# 13696]
18461 * configure.in (use_nscd): New substituted variable, set by
18462 --disable-nscd. If enabled, define USE_NSCD.
18463 * configure: Regenerated.
18464 * config.h.in: Add USE_NSCD.
18465 * config.make.in (use-nscd): New substituted variable.
18466 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18467 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
18468 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
18469 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
18470 (CFLAGS-getgrnam_r.c): Likewise.
18471 (CFLAGS-initgroups.c): Likewise.
18472 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
18473 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
18474 Variables removed.
18475 * inet/getnetgrent_r.c
18476 (nscd_setnetgrent): New function, broken out of ...
18477 (setnetgrent): ... here. Call it.
18478 (innetgr): Conditionalize nscd bits on [USE_NSCD].
18479 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
18480 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
18481 * nscd/Makefile (routines, aux): Move definitions after include of
18482 Makeconfig. Conditionalize on [$(use-nscd) != no].
18483 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
18484 Conditionalize on [USE_NSCD].
18485 (is_nscd, nscd_init_cb): Likewise.
18486 (nss_load_library): Conditionalize init callback on [USE_NSCD].
18487 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
18488 * nss/nss_db/db-init.c: Likewise.
18489 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
18490 [USE_NSCD].
18491 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
18492 (make_request): Use it.
18493 (cache_valid_p): New function.
18494 (__check_pf): Use it.
18495 * NEWS: Add item for --disable-nscd.
18496
07e51550
DL
184972012-08-22 Dmitry V. Levin <ldv@altlinux.org>
18498
18499 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
18500 to support sed >= 4.2.1-20-ga9bf076.
18501 * configure: Regenerated.
18502
35a5b08b
RM
185032012-08-22 Roland McGrath <roland@hack.frob.com>
18504
18505 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
18506 Conditionalize whole body on [IREL].
18507
8479f23a
JL
185082012-08-22 Jeff Law <law@redhat.com>
18509
18510 [BZ #14505]
18511 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
18512 if the family is PF_UNSPEC.
18513
48da0b21
MF
185142012-08-22 Mike Frysinger <vapier@gentoo.org>
18515
18516 * Makerules (lib-version): Rename from V.
18517 (install-lib-nosubdir): Change V to lib-version.
18518
15d0da8c
WS
185192012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
18520
18521 [BZ #14252]
18522 * powerpc32/power6/wcschr.c: New file.
18523 * powerpc32/power6/wcscpy.c: New file.
18524 * powerpc32/power6/wcsrchr.c: New file.
18525 * powerpc64/power6/wcschr.c: New file.
18526 * powerpc64/power6/wcscpy.c: New file.
18527 * powerpc64/power6/wcsrchr.c: New file.
18528
bcca0895
MK
185292012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
18530
18531 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
18532 (two_way_short_needle): Use it.
5a4aaa33
RM
18533 * string/strstr.c (AVAILABLE1_USES_J): Define.
18534 * string/strcasestr.c: Likewise.
99677e57
MK
18535
18536 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
18537 array references.
18538 * string/strcasestr.c (TOLOWER): Make side-effect safe.
18539
400726de
MK
18540 [BZ #11607]
18541 * NEWS: Add an entry.
18542 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
18543 define their defaults.
18544 (two_way_short_needle): Detect end-of-string on-the-fly.
18545 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
18546 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
18547 * string/bug-strcasestr1.c: New test.
18548 * string/Makefile: Run it.
18549
20a71f2c
MK
185502012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
18551
18552 [BZ #11607]
18553 * string/str-two-way.h (two_way_short_needle): Optimize matching of
18554 the first character.
18555
21ad0558
RM
185562012-08-21 Roland McGrath <roland@hack.frob.com>
18557
18558 * csu/elf-init.c (__libc_csu_irel): Function removed.
18559 * csu/libc-start.c (apply_irel): New function.
18560 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
18561
0e1d9911
JM
185622012-08-21 Joseph Myers <joseph@codesourcery.com>
18563
18564 * sysdeps/unix/sysv/linux/kernel-features.h
18565 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
18566 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18567 <kernel-features.h>.
18568 [__NR_fadvise64_64]: Make code unconditional.
18569 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
18570 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18571 !__NR_fadvise64_64)]: Likewise.
18572 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18573 !__NR_fadvise64_64))]: Likewise.
18574 [__NR_fadvise64]: Make code unconditional.
18575 [!__NR_fadvise64]: Remove conditional code.
18576 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
18577 <kernel-features.h>.
18578 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18579 unconditional.
18580 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18581 conditional code.
18582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
18583 not include <kernel-features.h>.
18584 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18585 unconditional.
18586 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18587 conditional code.
18588 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
18589 include <kernel-features.h>.
18590 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18591 unconditional.
18592 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18593 conditional code.
18594
14a50c9d
WS
185952012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
18596
18597 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
18598 slight instruction rearrangements per scrollpipe analysis.
18599 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18600
c0f4faf0
RM
186012012-08-20 Roland McGrath <roland@hack.frob.com>
18602
696da859
RM
18603 * manual/syslog.texi (syslog; vsyslog, closelog):
18604 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
18605 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
18606
c0f4faf0
RM
18607 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
18608 DSOCAPS to match condition on defining it.
18609
348363b2
JM
186102012-08-20 Joseph Myers <joseph@codesourcery.com>
18611
a35cbf28
JM
18612 * sysdeps/unix/sysv/linux/kernel-features.h
18613 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
18614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
18615 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18616 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
18618 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18619 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
18621 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18622 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18623
445f7ecd
JM
18624 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
18625 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
18626
348363b2
JM
18627 * sysdeps/unix/sysv/linux/kernel-features.h
18628 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
18629 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
18630 unconditional.
18631 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18632 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
18633 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18634 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18635 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
18636 Make code unconditional.
18637 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18638 (__mmap64) [!__NR_mmap2]: Likewise.
18639 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
18640 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18641 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18642 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
18643 [__NR_mmap2]: Make code unconditional.
18644 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18645 (__mmap64) [!__NR_mmap2]: Likewise.
18646
bc5bc0e5
AK
186472012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18648
18649 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
18650
88d506de
AJ
186512012-08-18 Andreas Jaeger <aj@suse.de>
18652
18653 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
18654
493387d2
MF
186552012-08-18 Mike Frysinger <vapier@gentoo.org>
18656
18657 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
18658 * include/unistd.h (__have_sock_cloexec): Likewise.
18659 (__have_pipe2): Likewise.
18660 (__have_dup3): Likewise.
18661
a277af22
MF
186622012-08-18 Mike Frysinger <vapier@gentoo.org>
18663
18664 [BZ #9685]
18665 * include/unistd.h (__have_pipe2): Change define into an extern int.
18666 (__have_dup3): Likewise.
18667 * socket/have_sock_cloexec.c: Include fcntl.h.
18668 (__have_pipe2): New variable.
18669 (__have_dup3): Likewise.
18670
fdab8fd3
MF
186712012-08-17 Mike Frysinger <vapier@gentoo.org>
18672
18673 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
18674
31035e80
MP
186752012-08-17 Marek Polacek <polacek@redhat.com>
18676
18677 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
18678 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
18679
3bd9e993
RM
186802012-08-17 Roland McGrath <roland@hack.frob.com>
18681
c91c505f
RM
18682 * configure.in: Add AC_SUBST for sysheaders.
18683 * configure: Regenerated.
18684 * config.make.in (sysheaders): New substituted variable.
18685
7c6f9d53
RM
18686 * sysdeps/unix/mkfifo.c: Moved ...
18687 * sysdeps/posix/mkfifo.c: ... here.
18688 * sysdeps/unix/mkfifoat.c: Moved ...
18689 * sysdeps/posix/mkfifoat.c: ... here.
18690
18691 * sysdeps/unix/utime.c: Moved ...
18692 * sysdeps/posix/utime.c: ... here.
18693
18694 * sysdeps/unix/time.c: Moved ...
18695 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
18696 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
18697 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
18698
18699 * sysdeps/unix/nice.c: Moved ...
18700 * sysdeps/posix/nice.c: ... here.
18701
18702 * sysdeps/unix/alarm.c: Moved ...
18703 * sysdeps/posix/alarm.c: ... here.
18704
3bd9e993
RM
18705 * intl/Makefile ($(codeset_mo)): Depend on the input file.
18706
d1f09384
JL
187072012-08-17 Jeff Law <law@redhat.com>
18708
18709 * intl/Makefile (codeset_mo): New variable.
18710 ($(codeset_mo)): New target.
18711 (tst-codeset.out): Depend on that. Remove explicit rule.
18712 (tst-gettext3.out, tst-gettext5.out): Likewise.
18713 (LOCPATH-ENV, tst-codeset-ENV): New variables.
18714 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
18715 * intl/tst-codeset.sh: Remove.
18716 * intl/tst-gettext3.sh: Likewise.
18717 * intl/tst-gettext5.sh: Likewise.
18718
2ae1ae5c
RM
187192012-08-17 Roland McGrath <roland@hack.frob.com>
18720
c31fdb83
RM
18721 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
18722 * sysdeps/unix/syscalls.list: ... here.
18723
a0844057
RM
18724 * sysdeps/posix/getaddrinfo.c
18725 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
18726 (gaiconf_init, gaiconf_reload): Use them.
18727 [!_STATBUF_ST_NSEC]
18728 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
18729 Define using time_t rather than struct timespec.
18730
750c1f2a
RM
18731 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
18732 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
18733 Macros removed.
18734 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
18735 [!NO_THREADS].
18736 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
18737 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
18738 Likewise.
18739
2ae1ae5c
RM
18740 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
18741 __libc_cleanup_push argument.
18742
e66a42f5
RM
18743 * bits/param.h: New file.
18744 * misc/sys/param.h: New file.
18745 * include/sys/param.h: New file.
18746 * misc/Makefile (headers): Add bits/param.h.
18747 * sysdeps/generic/sys/param.h: File removed.
18748 * sysdeps/unix/sysv/linux/bits/param.h: New file.
18749 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
18750 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 18751 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 18752
b7c08a66
RM
18753 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
18754 last change.
18755
b2e1c562
RM
18756 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
18757 [_IO_MTSAFE_IO].
18758 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
18759 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
18760 New macros.
18761
c75ccd4c
RM
18762 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
18763 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
18764 rather than -D_IO_MTSAFE_IO conditionally.
18765 * stdio-common/Makefile (CPPFLAGS): Likewise.
18766 * wcsmbs/Makefile (CPPFLAGS): Likewise.
18767 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
18768 Use $(libio-mtsafe).
18769 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
18770 of -D_IO_MTSAFE_IO.
18771 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
18772 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
18773 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
18774 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
18775 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
18776 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
18777 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
18778 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
18779 (CFLAGS-fread_u_chk.c): Likewise.
18780 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
18781 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
18782 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
18783 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
18784 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
18785 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
18786 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
18787 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
18788 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
18789
18790 * libio/Makefile: Test [$(libc-reentrant) = yes]
18791 instead of [$(filter %REENTRANT, $(defines)) nonempty].
18792
18793 * Makeconfig
18794 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
18795 * sysdeps/pthread/configure: File removed.
18796 * sysdeps/pthread/Makeconfig: New file.
18797 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
18798 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
18799
d9195db8
GB
188002012-08-16 Gary Benson <gbenson@redhat.com>
18801
18802 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
18803 unmapping the first object in a namespace.
18804
86466cd9
RM
188052012-08-16 Roland McGrath <roland@hack.frob.com>
18806
18807 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
18808 (__internal_setnetgrent): ... this. Add internal_function to
18809 definition. Add libc_hidden_def.
18810 (setnetgrent): Update caller.
18811 (internal_endnetgrent): Renamed to ...
18812 (__internal_endnetgrent): ... this. Add internal_function to
18813 definition. Add libc_hidden_def.
18814 (endnetgrent): Update caller.
18815 (internal_getnetgrent_r): Renamed to ...
18816 (__internal_getnetgrent_r): ... this. Add internal_function to
18817 definition. Add libc_hidden_def.
18818 (__getnetgrent_r): Update caller.
18819 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
18820
c3c8283c
JM
188212012-08-16 Joseph Myers <joseph@codesourcery.com>
18822
18823 * stdlib/longlong.h: Update from GCC.
18824
db1ee0a8
RM
188252012-08-16 Roland McGrath <roland@hack.frob.com>
18826
18827 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
18828 on _QL, which is set by umul_ppmm but never used.
18829 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
18830 variables, which are set by GMP macros but never used.
18831 * stdio-common/_itowa.c (_itowa): Likewise.
18832 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
18833 * stdlib/mod_1.c (mpn_mod_1): Likewise.
18834
30f69637
CD
188352012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
18836
18837 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
18838 struct La_sh_regs is not constant.
18839 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
18840 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
18841 and struct La_sparc64_regs are not constant.
18842
93a78ac4
JM
188432012-08-16 Joseph Myers <joseph@codesourcery.com>
18844
18845 * sysdeps/unix/sysv/linux/kernel-features.h
18846 (__ASSUME_POSIX_TIMERS): Remove.
18847 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18848 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18849 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
18850 Make code unconditional.
18851 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18852 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
18853 Make code unconditional.
18854 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18855 * sysdeps/unix/sysv/linux/clock_nanosleep.c
18856 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
18857 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18858 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
18859 Make code unconditional.
18860 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18861 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
18862 (__libc_missing_posix_timers): Remove.
18863
dd924cd7
RM
188642012-08-15 Roland McGrath <roland@hack.frob.com>
18865
4b4f2771
RM
18866 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
18867 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
18868
601c888b
RM
18869 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
18870
176790a7
RM
18871 * elf/dl-sym.c: Include <stdlib.h>.
18872
329bc018
RM
18873 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
18874 constants, which avoids warnings in 32-bit builds.
18875
e04e272d
RM
18876 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
18877 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
18878
952bf94a
RM
18879 * misc/lseek.c: File moved to ...
18880 * io/lseek.c: ... here.
18881
7c99b50a
RM
18882 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
18883
dd924cd7
RM
18884 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
18885 shifting LEN more than 31 bits at once.
18886
b3f479a8
LD
188872012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18888
18889 [BZ #14195]
8c4ae0d4
RM
18890 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
18891 segmentation fault for a case of two empty input strings.
b3f479a8
LD
18892 * string/test-strncasecmp.c (check1): Renamed to...
18893 (bz12205): ...this.
18894 (bz14195): Add new testcase for two empty input strings and N > 0.
18895 (test_main): Call new testcase, adapt for renamed function.
18896
9c55864e
AJ
188972012-08-15 Andreas Jaeger <aj@suse.de>
18898
18899 [BZ #14090]
18900 * crypt/md5test2.c: New test, based on test supplied by Serge
18901 Belyshev <belyshev@depni.sinp.msu.ru>.
18902 * crypt/Makefile (xtests): Add md5test-giant..
18903 * crypt/Makefile ($(objpfx)md5test-giant): Add.
18904
02dcb6c5
PE
189052012-08-15 Paul Eggert <eggert@cs.ucla.edu>
18906
18907 [BZ #14090]
18908 * crypt/md5.c (md5_process_block): Don't assume the buffer
18909 length is less than 2**32.
18910 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
18911 length is less than 2**64.
18912
a3f95dcc
RM
189132012-08-15 Roland McGrath <roland@hack.frob.com>
18914
be75d758
RM
18915 * string/str-two-way.h: Include <sys/param.h>.
18916 (MAX): Macro removed.
18917
7312ca90
RM
18918 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
18919 Move #define and #undef of memmove to just before and after
18920 including <string.h>.
18921
9a0a5486
RM
18922 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
18923 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
18924 and after including <string.h>. Move declarations of
18925 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
18926 to before #include "string/memmove.c".
18927
67cc348d
RM
18928 * include/dirent.h: Declare __getdirentries.
18929
a3f95dcc
RM
18930 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
18931 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
18932
ca98e171
MF
189332012-08-14 Mike Frysinger <vapier@gentoo.org>
18934
18935 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
18936 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
18937 * sysdeps/i386/configure: Regenerated.
18938 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
18939 STABS_CURRENT_FILE, and STABS_FUN.
18940 (END): Remove call to STABS_FUN_END.
18941 (STABS_CURRENT_FILE1): Delete.
18942 (STABS_CURRENT_FILE): Likewise.
18943 (STABS_FUN): Likewise.
18944 (STABS_FUN_END): Likewise.
18945 (STABS_FUN2): Likewise.
18946 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
18947 * sysdeps/x86_64/configure: Regenerated.
18948
5908bf46
RM
189492012-08-14 Roland McGrath <roland@hack.frob.com>
18950
18951 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 18952 * elf/dl-lookup.c: Likewise.
5908bf46 18953
f2c05b9e
JM
189542012-08-14 Joseph Myers <joseph@codesourcery.com>
18955
18956 * sysdeps/unix/sysv/linux/kernel-features.h
18957 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
18958 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
18959 unconditionally.
18960 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
18961 unconditionally.
18962 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
18963 condition on __ASSUME_CLONE_THREAD_FLAGS.
18964
e11f5155
AJ
189652012-08-14 Andreas Jaeger <aj@suse.de>
18966
18967 * sysdeps/i386/fpu/libm-test-ulps: Update.
18968
51a9ba86
MK
189692012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
18970
2fdd4f78
AJ
18971 * include/atomic.h (atomic_exchange_and_add): Split into ...
18972 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
18973 New atomic macros.
51a9ba86 18974
ba6cba9e
MT
189752012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
18976
18977 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18978
42443a47
JL
189792012-08-13 Jeff Law <law@redhat.com>
18980
18981 * manual/stdio.texi (snprintf): Clarify handling of the trailing
18982 null byte in the output string.
18983
121dce05
JM
189842012-08-10 Joseph Myers <joseph@codesourcery.com>
18985
18986 * sysdeps/unix/sysv/linux/kernel-features.h
18987 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
18988 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
18989 (__ASSUME_ARG_MAX_STACK_BASED): Define.
18990 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18991 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
18992 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
18993 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
18994
bf51f568
JL
189952012-08-09 Jeff Law <law@redhat.com>
18996
18997 [BZ #13939]
18998 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
18999 When avoid_arena is set, don't retry in the that arena. Pick the
19000 next one, whatever it might be.
19001 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
19002 (arena_lock): Pass in new parameter to arena_get2.
19003 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
19004 arena_get2.
19005 (__libc_malloc): Unify retrying after main arena failure with
19006 __libc_memalign version.
19007 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
19008
f85fa270
L
190092012-08-09 H.J. Lu <hongjiu.lu@intel.com>
19010
19011 [BZ #14166]
19012 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
19013 to __redirect_strstr.
19014 (__strstr_sse42): Use typeof __redirect_strstr.
19015 (__strstr_ia32): Likewise.
19016 (__libc_strstr): New prototype.
19017 (strstr): Renamed to ...
19018 (__libc_strstr): This.
19019 (strstr): New strong alias of __libc_strstr.
19020 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19021 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
19022 __redirect_time.
19023 Include <time.h>.
19024 (__libc_time): New prototype.
19025 (time_ifunc): Replace time with __libc_time.
19026 (time): New strong alias and hidden definition of __libc_time.
19027 (__GI_time): Remove strong alias.
19028 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
19029 Include <stddef.h>.
19030 (memmove): Redefined to __redirect_memmove.
19031 (__memmove_sse2): Use typeof __redirect_memmove.
19032 (__memmove_ssse3): Likewise.
19033 (__memmove_ssse3_back): Likewise.
19034 (__libc_memmove): New prototype.
19035 (memmove): Renamed to ...
19036 (__libc_memmove): This.
19037 (memmove): New strong alias of __libc_memmove.
19038
33b4a91e
MS
190392012-08-08 Mark Salter <msalter@redhat.com>
19040
19041 * elf/elf.h
19042 (R_MN10300_TLS_GD): Define.
19043 (R_MN10300_TLS_LD): Likewise.
19044 (R_MN10300_TLS_LDO): Likewise.
19045 (R_MN10300_TLS_GOTIE): Likewise.
19046 (R_MN10300_TLS_IE): Likewise.
19047 (R_MN10300_TLS_LE): Likewise.
19048 (R_MN10300_TLS_DTPMOD): Likewise.
19049 (R_MN10300_TLS_DTPOFF): Likewise.
19050 (R_MN10300_TLS_TPOFF): Likewise.
19051 (R_MN10300_SYM_DIFF): Likewise.
19052 (R_MN10300_ALIGN): Likewise.
19053 (R_MN10300_NUM): Update.
19054
b36137f1
JM
190552012-08-08 Joseph Myers <joseph@codesourcery.com>
19056
19057 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
19058 Remove.
19059
cdd915fd
RM
190602012-08-08 Roland McGrath <roland@hack.frob.com>
19061
a2433aac
RM
19062 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
19063
cdd915fd
RM
19064 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
19065 sysdeps/unix -> sysdeps/posix move.
19066 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19067
bf9b740a
AM
190682012-08-07 Allan McRae <allan@archlinux.org>
19069
19070 [BZ #14303]
19071 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
19072 (SUNOS_CPP): Likewise.
19073 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
19074 not found.
19075 (open_input): Call CPP using execvp.
19076
93df14ee
JM
190772012-08-07 Joseph Myers <joseph@codesourcery.com>
19078
19079 * sysdeps/unix/sysv/linux/kernel-features.h
19080 (__ASSUME_PROT_GROWSUPDOWN): Remove.
19081 (__ASSUME_NO_CLONE_DETACHED): Likewise.
19082 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19083 (__ASSUME_WAITID_SYSCALL): Likewise.
19084 * sysdeps/unix/sysv/linux/dl-execstack.c
19085 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
19086 code unconditional.
19087 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
19088 conditional code.
19089 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
19090 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
19091 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
19092 code.
19093 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
19094 unconditional.
19095 [__ASSUME_WAITID_SYSCALL]: Likewise.
19096 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
19097
d34689de
RM
190982012-08-07 Roland McGrath <roland@hack.frob.com>
19099
a281decc
RM
19100 * sysdeps/unix/closedir.c: Renamed to ...
19101 * sysdeps/posix/closedir.c: ... here.
19102 * sysdeps/unix/dirfd.c: Renamed to ...
19103 * sysdeps/posix/dirfd.c: ... here.
19104 * sysdeps/unix/dirstream.h: Renamed to ...
19105 * sysdeps/posix/dirstream.h: ... here.
19106 * sysdeps/unix/fdopendir.c: Renamed to ...
19107 * sysdeps/posix/fdopendir.c: ... here.
19108 * sysdeps/unix/opendir.c: Renamed to ...
19109 * sysdeps/posix/opendir.c: ... here.
19110 * sysdeps/unix/readdir.c: Renamed to ...
19111 * sysdeps/posix/readdir.c: ... here.
19112 * sysdeps/unix/readdir_r.c: Renamed to ...
19113 * sysdeps/posix/readdir_r.c: ... here.
19114 * sysdeps/unix/rewinddir.c: Renamed to ...
19115 * sysdeps/posix/rewinddir.c: ... here.
19116 * sysdeps/unix/seekdir.c: Renamed to ...
19117 * sysdeps/posix/seekdir.c: ... here.
19118 * sysdeps/unix/telldir.c: Renamed to ...
19119 * sysdeps/posix/telldir.c: ... here.
19120 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
19121 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
19122 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
19123 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
19124
22895b47
RM
19125 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
19126 * bits/fcntl.h: ... here.
19127
707a53b6
RM
19128 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
19129 not 0.
19130 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
19131 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
19132 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
19133 (struct flock): Move l_start, l_len to the beginning.
19134 Use __pid_t for l_pid.
19135 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
19136 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
19137 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
19138 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
19139 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
19140 [__USE_LARGEFILE64] (struct flock64): New type.
19141 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
19142
f0bd3e25
RM
19143 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
19144 * bits/dirent.h: ... here.
19145
d34689de
RM
19146 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
19147 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
19148
6dad2c06
JM
191492012-08-07 Joseph Myers <joseph@codesourcery.com>
19150
19151 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19152 Change from 2.6.0 to 2.6.16.
19153 * sysdeps/unix/sysv/linux/configure: Regenerated.
19154 * sysdeps/unix/sysv/linux/kernel-features.h
19155 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
19156 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
19157 version.
19158 (__ASSUME_UTIMES): Likewise.
19159 (__ASSUME_CLONE_STOPPED): Remove.
19160 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
19161 architectures, not kernel version.
19162 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
19163 (__ASSUME_NO_CLONE_DETACHED): Likewise.
19164 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19165 (__ASSUME_WAITID_SYSCALL): Likewise.
19166 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
19167 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
19168 * README: State 2.6.16 as minimum Linux kernel version. Do not
19169 refer to older versions.
19170
03af9520
RM
191712012-08-06 Roland McGrath <roland@hack.frob.com>
19172
8e49df1d
RM
19173 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
19174 Define alphasort64 as an alias.
19175 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
19176 Define versionsort64 as an alias.
19177 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
19178 Define scandir64 as an alias.
19179 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
19180 Define scandirat64 as an alias.
19181 * dirent/alphasort64.c (alphasort64):
19182 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
19183 * dirent/versionsort64.c: Likewise.
19184 * dirent/scandir64.c: Likewise.
19185 * dirent/scandirat64.c: Likewise.
19186 * sysdeps/wordsize-64/alphasort.c: File removed.
19187 * sysdeps/wordsize-64/alphasort64.c: File removed.
19188 * sysdeps/wordsize-64/scandir.c: File removed.
19189 * sysdeps/wordsize-64/scandir64.c: File removed.
19190 * sysdeps/wordsize-64/scandirat.c: File removed.
19191 * sysdeps/wordsize-64/scandirat64.c: File removed.
19192 * sysdeps/wordsize-64/versionsort.c: File removed.
19193 * sysdeps/wordsize-64/versionsort64.c: File removed.
19194 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
19195 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
19196 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
19197 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
19198 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
19199 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
19200 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
19201 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
19202
19203 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
19204 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19205 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
19206 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19207 [defined __arch64__ || defined __sparcv9]
19208 (__INO_T_MATCHES_INO64_T): New macro.
19209 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19210 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
19211 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
19212 * sysdeps/unix/sysv/linux/bits/dirent.h
19213 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
19214 (_DIRENT_MATCHES_DIRENT64): New macro.
19215
03af9520
RM
19216 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
19217 Define lockf64 as an alias.
19218 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
19219 Define fseeko64 as an alias.
19220 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
19221 Define ftello64 as an alias.
19222 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
19223 Define _IO_fgetpos64 and fgetpos64 as aliases.
19224 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
19225 Define _IO_fsetpos64 and fsetpos64 as aliases.
19226 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
19227 Conditionalize body on this.
19228 * libio/fseeko64.c: Likewise.
19229 * libio/ftello64.c: Likewise.
19230 * libio/iofgetpos64.c: Likewise.
19231 * libio/iofsetpos64.c: Likewise.
19232 * sysdeps/wordsize-64/lockf.c: File removed.
19233 * sysdeps/wordsize-64/lockf64.c: File removed.
19234 * sysdeps/wordsize-64/fseeko.c: File removed.
19235 * sysdeps/wordsize-64/fseeko64.c: File removed.
19236 * sysdeps/wordsize-64/ftello.c: File removed.
19237 * sysdeps/wordsize-64/ftello64.c: File removed.
19238 * sysdeps/wordsize-64/iofgetpos.c: File removed.
19239 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
19240 * sysdeps/wordsize-64/iofsetpos.c: File removed.
19241 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
19242 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
19243 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
19244 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
19245 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
19246 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
19247 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
19248 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
19249 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
19250 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
19251 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
19252
19253 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19254 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19255 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
19256 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19257 [defined __arch64__ || defined __sparcv9]
19258 (__OFF_T_MATCHES_OFF64_T): New macro.
19259 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19260 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19261 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19262 (__OFF_T_MATCHES_OFF64_T): New macro.
19263
c5757acd
L
192642012-08-06 H.J. Lu <hongjiu.lu@intel.com>
19265
19266 * stdlib/secure-getenv.c (__secure_getenv): Replace
19267 GLIBC_2_16 with GLIBC_2_17.
19268
3a31811e
L
192692012-08-06 H.J. Lu <hongjiu.lu@intel.com>
19270
19271 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
19272 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19273
faa2bccb
DM
192742012-08-03 David S. Miller <davem@davemloft.net>
19275
19276 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19277
85fe1997
JM
192782012-08-03 Joseph Myers <joseph@codesourcery.com>
19279
19280 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
19281 Remove.
19282 (__ASSUME_CORRECT_SI_PID): Likewise.
19283 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
19284 (__ASSUME_TMPFS_NAME): Likewise.
19285 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
19286 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
19287 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
19288 (HAVE_AUX_SECURE): Make definition unconditional.
19289 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
19290 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
19291
4f75b7a0
RM
192922012-08-03 Roland McGrath <roland@hack.frob.com>
19293
19294 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
19295 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
19296 * sysdeps/mach/hurd/eloop-threshold.h: New file.
19297 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19298 __eloop_threshold instead of SYMLOOP_MAX.
19299
19300 * sysdeps/generic/eloop-threshold.h: New file.
19301 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
19302 of MAXSYMLINKS.
19303 * elf/chroot_canon.c (chroot_canon): Likewise.
19304
7aab07e4
JM
193052012-08-03 Joseph Myers <joseph@codesourcery.com>
19306
19307 [BZ #13717]
19308 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19309 Change to 2.6.0 everywhere.
19310 * sysdeps/unix/sysv/linux/configure: Regenerated.
19311 * sysdeps/unix/sysv/linux/kernel-features.h
19312 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
19313 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
19314 kernel versions.
19315 (__ASSUME_POSIX_TIMERS): Define unconditionally.
19316 (__ASSUME_FUTEX_REQUEUE): Remove.
19317 (__ASSUME_STATFS64): Define unconditionally.
19318 (__ASSUME_AT_SECURE): Likewise.
19319 (__ASSUME_CORRECT_SI_PID): Likewise.
19320 (__ASSUME_TGKILL): Define without depending on kernel version for
19321 i386.
19322 (__ASSUME_UTIMES): Likewise.
19323 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
19324 kernel version.
19325 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
19326 (__ASSUME_TMPFS_NAME): Likewise.
19327 * README: Update reference to Linux kernel versions.
19328
b67e9372
MP
193292012-08-02 Marek Polacek <polacek@redhat.com>
19330
1f529f7d 19331 [BZ# 14150]
b67e9372
MP
19332 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
19333 libc_cv_asm_type_prefix with %.
19334 * configure: Regenerated.
d2441631
RM
19335 * include/libc-symbols.h: Remove comment about
19336 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
19337 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
19338 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
19339 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
19340 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
19341 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19342 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
19343 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
19344 * elf/tst-unique2mod1.c: Likewise.
19345 * elf/tst-unique1mod2.c: Likewise.
19346 * elf/tst-unique1mod1.c: Likewise.
19347 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
19348 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
19349 Replace ASM_TYPE_DIRECTIVE with .type.
19350 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19351 * sysdeps/i386/sysdep.h: Likewise.
19352 * sysdeps/x86_64/sysdep.h: Likewise.
19353 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
19354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19355 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 19356 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
19357 * sysdeps/powerpc/powerpc32/sysdep.h:
19358 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
19359 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19360 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19361 * sysdeps/i386/fpu/e_powf.S: Likewise.
19362 * sysdeps/i386/fpu/e_expl.S: Likewise.
19363 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19364 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19365 * sysdeps/i386/fpu/e_pow.S: Likewise.
19366 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19367 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19368 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19369 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19370 * sysdeps/i386/fpu/e_log2.S: Likewise.
19371 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19372 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19373 * sysdeps/i386/fpu/e_powl.S: Likewise.
19374 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19375 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19376 * sysdeps/i386/fpu/e_logl.S: Likewise.
19377 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19378 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19379 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19380 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19381 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19382 * sysdeps/i386/fpu/e_log.S: Likewise.
19383 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19384 * sysdeps/i386/fpu/e_logf.S: Likewise.
19385 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19386 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19387 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19388 * sysdeps/i386/fpu/e_log10.S: Likewise.
19389 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19390 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19391 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19392 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19393 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19394 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
19395 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19396 * sysdeps/i386/i686/strtok.S: Likewise.
19397 * sysdeps/i386/i386-mcount.S: Likewise.
19398 * sysdeps/i386/strtok.S: Likewise.
19399 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
19400 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19401 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19402 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19403 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19404 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19405 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19406 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19407 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19408 * sysdeps/x86_64/_mcount.S: Likewise.
19409 * sysdeps/x86_64/strtok.S: Likewise.
19410 * sysdeps/sh/_mcount.S: Likewise.
19411
2747bf9a
RM
194122012-08-01 Roland McGrath <roland@hack.frob.com>
19413
19414 * libio/iofopen.c: Include <fcntl.h>.
19415 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
19416 (_IO_fopen64, fopen64): Define as aliases.
19417 * libio/iofopen64.c: Include <fcntl.h>.
19418 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
19419 Conditionalize body on this.
19420 * sysdeps/wordsize-64/iofopen.c: File removed.
19421 * sysdeps/wordsize-64/iofopen64.c: File removed.
19422
3fb791b8
MP
194232012-08-01 Marek Polacek <polacek@redhat.com>
19424
19425 * libc/Makeconfig: Use elf in place of binfmt-subdir.
19426 Use dlfcn directly instead of a variable.
19427 (binfmt-subdir): Do not define.
19428 (dlfcn): Likewise.
19429
a9f1039f
JM
194302012-08-01 Joseph Myers <joseph@codesourcery.com>
19431
23bddc06
JM
19432 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
19433 Remove all definitions.
19434 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
19435 <kernel-features.h>.
19436 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19437 (miss_F_GETOWN_EX): Remove all definitions.
19438 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
19439 macro definition.
19440 [!__ASSUME_FCNTL64]: Remove conditional code.
19441 [__ASSUME_FCNTL64]: Make code unconditional.
19442 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
19443 <kernel-features.h>.
19444 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19445 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
19446 (lockf64) [__NR_fcntl64]: Make code unconditional.
19447 (lockf64) [__ASSUME_FCNTL64]: Likewise.
19448
a9f1039f
JM
19449 * sysdeps/unix/sysv/linux/kernel-features.h
19450 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
19451 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
19452 Make code unconditional.
19453 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19454 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
19456 [__NR_vfork]: Make code unconditional.
19457 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19458 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
19460 [__NR_vfork]: Make code unconditional.
19461 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19462 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19463
09c0ee5f
RM
194642012-08-01 Roland McGrath <roland@hack.frob.com>
19465
48aec5b9
RM
19466 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
19467 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
19468
cd97c966
RM
19469 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19470 Define mkstemp64 as an alias.
3f55550c
RM
19471 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19472 Define mkstemps64 as an alias.
cd97c966
RM
19473 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19474 Define mkostemp64 as an alias.
b8625cfc
RM
19475 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19476 Define mkostemps64 as an alias.
cd97c966
RM
19477 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
19478 Conditionalize body on this.
19479 * misc/mkostemp64.c: Likewise.
b8625cfc 19480 * misc/mkostemps64.c: Likewise.
3f55550c 19481 * misc/mkstemps64.c: Likewise.
cd97c966
RM
19482 * sysdeps/wordsize-64/mkstemp64.c: File removed.
19483 * sysdeps/wordsize-64/mkostemp64.c: File removed.
19484 * sysdeps/wordsize-64/mkostemp.c: File removed.
19485 * sysdeps/wordsize-64/mkstemp.c: File removed.
19486 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
19487 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
19488 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
19489 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
19490
09c0ee5f
RM
19491 [BZ #14138]
19492 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
19493 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
19494 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
19495 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
19496
19497 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
19498 compat_symbol macros from <shlib-compat.h> rather than the underlying
19499 default_symbol_version and symbol_version macros, so that DEFAULT
19500 lines in shlib-versions are respected.
19501 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
19502
7e66ee51
FW
195032012-08-01 Florian Weimer <fweimer@redhat.com>
19504
19505 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
19506 Declare with warn_unused_result.
19507 (setgid, setregid, setegid, setresgid): Likewise.
19508 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
19509 Likewise.
19510 * WUR-REPORT: Remove set*id functions.
19511
d2a54255
PT
195122012-07-31 Pino Toscano <toscano.pino@tiscali.it>
19513
19514 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
19515
7ecdb005
RM
195162012-07-31 Roland McGrath <roland@hack.frob.com>
19517
b4180a5e 19518 [BZ #10191]
789bd351
RM
19519 * include/sys/socket.h (__libc_accept, __libc_accept4):
19520 Add attribute_hidden.
19521 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
19522
40ce302d
RM
19523 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
19524 use of PTR_MANGLE.
19525 * inet/getnetgrent_r.c (setup): Likewise.
19526
7ecdb005
RM
19527 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
19528
e2eabb2c
DM
195292012-07-31 David S. Miller <davem@davemloft.net>
19530
19531 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19532
d0419dbf
JM
195332012-07-31 Joseph Myers <joseph@codesourcery.com>
19534
19535 [BZ #13629]
19536 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
19537 value between 1.0 and 2.0 and smaller part has absolute value less
19538 than 1.0.
19539 * math/s_clog10.c (__clog10): Likewise.
19540 * math/s_clog10f.c (__clog10f): Likewise.
19541 * math/s_clog10l.c (__clog10l): Likewise.
19542 * math/s_clogf.c (__clogf): Likewise.
19543 * math/s_clogl.c (__clogl): Likewise.
19544 * math/libm-test.inc (clog_test): Add more tests.
19545 (clog10_test): Likewise.
19546 * sysdeps/i386/fpu/libm-test-ulps: Update.
19547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19548
2bc13872
FW
195492012-07-31 Florian Weimer <fweimer@redhat.com>
19550
19551 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
19552 Exit with zero in case no suitable GID is found, and write a
19553 message to standard error.
19554
bea9b193
RM
195552012-07-30 Roland McGrath <roland@hack.frob.com>
19556
19557 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
19558 rather than to 1.
19559 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
19560 (MAXPATHLEN): Removed.
19561 (NOGROUP, NODEV): New macros.
19562 (setbit, clrbit, isset, isclr): New macros.
19563 (howmany, roundup, powerof2): New macros.
19564 (DEV_BSIZE): New macro.
19565
19566 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
19567 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
19568
19569 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
19570 definition on [!__NO_LONG_DOUBLE_MATH].
19571
19572 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
19573 PTR_MANGLE and PTR_DEMANGLE.
19574
19575 * socket/accept4.c (accept4): Rename to __libc_accept4.
19576 Define accept4 as a weak alias.
19577
19578 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
19579 on [_DIRENT_HAVE_D_TYPE].
19580 * io/ftw.c (ftw_dir): Likewise.
19581
19582 * io/xmknod.c (__xmknod): Don't check PATH for being null.
19583
19584 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
19585
19586 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
19587 Use the BSD numbers rather than the arbitrary ones we had.
19588 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
19589 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
19590 (SIGXCPU, SIGXFSZ): New macros.
19591 (_NSIG): Now 32.
19592
19593 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
19594 initializer on [_LIBC_REENTRANT].
19595
19596 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
19597 definitions inside [_POSIX_MAPPED_FILES].
19598
19599 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
19600
19601 * dirent/opendir.c: Include <fcntl.h>.
19602
19603 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
19604 (__libc_getspecific): Likewise.
19605 (__libc_key_create): Likewise.
19606
19607 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
19608 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
19609 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
19610 (tmpfile64): Define as alias.
19611 * sysdeps/wordsize-64/tmpfile.c: File removed.
19612 * sysdeps/wordsize-64/tmpfile64.c: File removed.
19613 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
19614 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
19615
19616 * stdio-common/vfscanf.c: Include <stdbool.h>.
19617 * nss/makedb.c: Likewise.
19618 * stdio-common/_i18n_number.h: Likewise.
19619 * argp/argp-help.c: Likewise.
19620 * posix/wordexp.c: Likewise.
19621 * sysdeps/posix/spawni.c: Likewise.
19622 * nss/nss_files/files-initgroups.c: Likewise.
19623 * stdio-common/reg-modifier.c: Include <stdlib.h>.
19624 * nss/nss_files/files-initgroups.c: Likewise.
19625 * nss/nss_db/db-netgrp.c: Likewise.
19626 * nss/nss_db/db-initgroups.c: Likewise.
19627 * io/fchmodat.c: Include <sys/stat.h>.
19628
19629 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
19630 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
19631
19632 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
19633 [HAVE_MMAP].
19634
19635 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
19636 Add multiple inclusion protection.
19637
e5abc686
DM
196382012-07-27 David S. Miller <davem@davemloft.net>
19639
19640 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19641
815e6fa3
GB
196422012-07-27 Gary Benson <gbenson@redhat.com>
19643
19644 [BZ #14298]
19645 * elf/rtld.c: Include <stap-probe.h>.
19646 (dl_main): Added static probes "init_start" and "init_complete".
19647 * elf/dl-load.c: Include <stap-probe.h>.
19648 (lose): Take new parameter "nsid".
19649 Added static probe "map_failed".
19650 (_dl_map_object_from_fd): Pass namespace id to lose.
19651 Added static probe "map_start".
19652 (open_verify): Pass namespace id to lose.
19653 * elf/dl-open.c: Include <stap-probe.h>.
19654 (dl_open_worker) Added static probes "map_complete", "reloc_start"
19655 and "reloc_complete".
19656 * elf/dl-close.c: Include <stap-probe.h>.
19657 (_dl_close_worker): Added static probes "unmap_start" and
19658 "unmap_complete".
19659 * elf/rtld-debugger-interface.txt: New file documenting the above.
19660
9f98c16c
RM
196612012-07-26 Roland McGrath <roland@hack.frob.com>
19662
19663 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
19664 rather than a string variable.
19665 * sunrpc/rpc_main.c (h_output): Likewise.
19666 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
19667
f3c22df3
PT
196682012-07-26 Pino Toscano <toscano.pino@tiscali.it>
19669
19670 * inet/check_native.c: New file.
19671
3129cfc6
JM
196722012-07-26 Joseph Myers <joseph@codesourcery.com>
19673
da865e95
JM
19674 [BZ #13629]
19675 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
19676 if larger part has absolute value 1.0.
19677 * math/s_clog10.c (__clog10): Likewise.
19678 * math/s_clog10f.c (__clog10f): Likewise.
19679 * math/s_clog10l.c (__clog10l): Likewise.
19680 * math/s_clogf.c (__clogf): Likewise.
19681 * math/s_clogl.c (__clogl): Likewise.
19682 * math/libm-test.inc (clog_test): Add more tests.
19683 (clog10_test): Likewise.
19684 * sysdeps/i386/fpu/libm-test-ulps: Update.
19685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19686
3129cfc6
JM
19687 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
19688 (pltexit): Likewise.
19689 (La_regs): Likewise.
19690 (La_retval): Likewise.
19691 (int_retval): Likewise.
19692 Update #error for removed macros to refer only to definitions in
19693 tst-audit.h.
19694 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
19695 macro.
19696 (pltexit): Likewise.
19697 (La_regs): Likewise.
19698 (La_retval): Likewise.
19699 (int_retval): Likewise.
19700 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
19701 macro.
19702 (pltexit): Likewise.
19703 (La_regs): Likewise.
19704 (La_retval): Likewise.
19705 (int_retval): Likewise.
19706 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
19707 macro.
19708 (pltexit): Likewise.
19709 (La_regs): Likewise.
19710 (La_retval): Likewise.
19711 (int_retval): Likewise.
19712 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
19713 macro.
19714 (pltexit): Likewise.
19715 (La_regs): Likewise.
19716 (La_retval): Likewise.
19717 (int_retval): Likewise.
19718 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
19719 macro.
19720 (pltexit): Likewise.
19721 (La_regs): Likewise.
19722 (La_retval): Likewise.
19723 (int_retval): Likewise.
19724 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
19725 macro.
19726 (pltexit): Likewise.
19727 (La_regs): Likewise.
19728 (La_retval): Likewise.
19729 (int_retval): Likewise.
19730 * sysdeps/generic/tst-audit.h: Update comment to refer only to
19731 macro definitions in tst-audit.h.
19732 * sysdeps/i386/tst-audit.h: New file.
19733 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
19734 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
19735 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
19736 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
19737 * sysdeps/sh/tst-audit.h: Likewise.
19738 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
19739 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
19740 * sysdeps/x86_64/tst-audit.h: Likewise.
19741
bfc07087
AJ
197422012-07-26 Andreas Jaeger <aj@suse.de>
19743
b1b2aaf8
AJ
19744 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
19745 ptrace.
19746
19747 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
19748 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
19749 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
19750 PTRACE_O_MASK.
19751 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
19752 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
19753 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
19754
bfc07087
AJ
19755 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
19756 value.
19757
19758 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
19759 _sigsys.
19760 (si_call_addr, si_syscall, si_arch): Define new macro.
19761 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
19762 _sigsys.
19763 (si_call_addr, si_syscall, si_arch): Define new marcro.
19764 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
19765 _sigsys.
19766 (si_call_addr, si_syscall, si_arch): Define new macro.
19767 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
19768 _sigsys.
19769 (si_call_addr, si_syscall, si_arch): Define new macro.
19770
89b4b02f
JM
197712012-07-25 Joseph Myers <joseph@codesourcery.com>
19772
19773 [BZ #13717]
19774 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19775 Change to 2.4.21 where previously 2.4.1.
19776 * sysdeps/unix/sysv/linux/configure: Regenerated.
19777 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
19778 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
19779 Linux kernel version.
19780 (__ASSUME_STD_AUXV): Remove.
19781 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
19782 kernel version.
19783 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
19784 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
19785 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
19786 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
19787 (__ASSUME_NETLINK_SUPPORT): Likewise.
19788 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
19789 (__no_netlink_support): Remove conditional definition.
19790 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
19791 Remove.
19792 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19793 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
19794 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
19795 (if_nameindex_ioctl): Remove.
19796 (if_nameindex_netlink): Do not handle __no_netlink_support.
19797 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19798 code.
19799 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
19800 Remove conditional code.
19801 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19802 code.
19803 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
19804 unconditional.
19805 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19806 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
19807 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
19808 Remove.
19809 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
19810 [!__ASSUME_STD_AUXV]: Remove conditional code.
19811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
19812 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
19813 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
19814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
19815 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
19816 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19817 code.
19818 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19820 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
19821 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19822 conditional code.
19823 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19825 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19826 code.
19827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19828 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19829 conditional code.
19830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
19831 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19832 code unconditional.
19833 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19834 conditional code.
19835 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19836 unconditional.
19837 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19838 conditional code.
19839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19840 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19841 unconditional.
19842 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19843 conditional code.
19844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
19845 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19846 code unconditional.
19847 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19848 conditional code.
19849 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19850 unconditional.
19851 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19852 conditional code.
19853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
19854 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19855 code unconditional.
19856 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19857 conditional code.
19858 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19859 unconditional.
19860 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19861 conditional code.
19862
842a39cd
AS
198632012-07-25 Andreas Schwab <schwab@linux-m68k.org>
19864
19865 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
19866 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
19867 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
19868 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
19869 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
19870 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
19871 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
19872 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
19873 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
19874 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
19875 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
19876 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
19877 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
19878 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
19879 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
19880 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
19881 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
19882 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
19883 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
19884 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
19885 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
19886 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
19887 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19888
84b3fd84
FW
198892012-07-25 Florian Weimer <fweimer@redhat.com>
19890
19891 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
19892 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
19893 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
19894 Introduce __libc_secure_getenv.
0c7936d5
FW
19895 * stdlib/Versions (2.17): Add secure_getenv
19896 (GLIBC_PRIVATE): Add __libc_secure_getenv.
19897 * stdlib/secure-getenv.c: Rename __secure_getenv to
19898 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
19899 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
19900 * stdlib/tst-secure-getenv.c: New.
19901 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
19902 * manual/startup.texi (Environment Access): Document
19903 secure_getenv.
84b3fd84
FW
19904 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
19905 __libc_secure_getenv.
19906 * inet/ruserpass.c (ruserpass): Likewise.
19907 * malloc/mtrace.c (mtrace): Likewise.
19908 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 19909 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
19910 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
19911 * sysdeps/posix/tempname.c: Likewise. Evaluate
19912 HAVE_SECURE_GETENV.
19913 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 19914 __secure_getenv to __libc_secure_getenv.
84b3fd84 19915 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
19916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19917 Likewise.
19918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19919 Likewise.
19920 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19921 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19922 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19923 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19924 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19925 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19926 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 19927
56e49b71
JM
199282012-07-25 Joseph Myers <joseph@codesourcery.com>
19929
19930 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
19931 (struct La_i86_retval): Likewise.
19932 (struct La_x86_64_regs): Likewise.
19933 (struct La_x86_64_retval): Likewise.
19934 (struct La_x32_regs): Likewise.
19935 (struct La_x32_retval): Likewise.
19936 (struct La_ppc32_regs): Likewise.
19937 (struct La_ppc32_retval): Likewise.
19938 (struct La_ppc64_regs): Likewise.
19939 (struct La_ppc64_retval): Likewise.
19940 (struct La_sh_regs): Likewise.
19941 (struct La_sh_retval): Likewise.
19942 (struct La_s390_32_regs): Likewise.
19943 (struct La_s390_32_retval): Likewise.
19944 (struct La_s390_64_regs): Likewise.
19945 (struct La_s390_64_retval): Likewise.
19946 (struct La_sparc32_regs): Likewise.
19947 (struct La_sparc32_retval): Likewise.
19948 (struct La_sparc64_regs): Likewise.
19949 (struct La_sparc64_retval): Likewise.
19950 (struct audit_ifaces): Remove architecture-specific pltenter and
19951 pltexit members.
19952 * sysdeps/i386/ldsodefs.h: New file.
19953 * sysdeps/powerpc/ldsodefs.h: Likewise.
19954 * sysdeps/s390/ldsodefs.h: Likewise.
19955 * sysdeps/sh/ldsodefs.h: Likewise.
19956 * sysdeps/sparc/ldsodefs.h: Likewise.
19957 * sysdeps/x86_64/ldsodefs.h: Likewise.
19958
354691b7
MP
199592012-07-25 Marek Polacek <polacek@redhat.com>
19960
19961 [BZ #6808]
19962 * math/libm-test.inc (yn_test): Add another test.
19963 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
19964 to ERANGE when the result is +-Inf.
19965 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19966 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
19967 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
19968 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
19969
bf9e2071
JM
199702012-07-24 Joseph Myers <joseph@codesourcery.com>
19971
19972 * conform/data/time.h-data (NULL): Use macro-constant. Require
19973 equal to 0.
19974 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
19975 clock_t.
19976 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
19977
57633811
TS
199782012-07-23 Thomas Schwinge <thomas@codesourcery.com>
19979
19980 * configure.in <sysdeps resolving>: Correct printing
19981 Implies_before.
19982 * configure: Regenerate.
19983
c23c33b0
TS
199842012-07-22 Thomas Schwinge <thomas@codesourcery.com>
19985
19986 * math/w_ilogb.c: Include <limits.h>.
19987 * math/w_ilogbl.c: Likewise.
19988
b5982523
JM
199892012-07-20 Joseph Myers <joseph@codesourcery.com>
19990
19991 * manual/lang.texi (__va_copy): Document primarily as ISO C99
19992 va_copy. Document allowing for unavailable va_copy only as
19993 pre-C99 compatibility.
19994 * manual/string.texi (Copying and Concatenation): Use va_copy
19995 instead of __va_copy in concat example.
19996
ac4ea442
PT
199972012-07-20 Pino Toscano <toscano.pino@tiscali.it>
19998
19999 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
20000 (__sendto): Use create_address_port. Initialize APORT and deallocate
20001 it if not null.
20002
f98eafbd
PT
20003 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
20004 with O_NOLINK passed to __file_name_lookup.
20005
898c7aab
PT
20006 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
20007 with O_NOLINK passed to __file_name_lookup.
20008
0ced335a
PT
20009 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
20010 negative N or less than NGIDS.
20011
b3404dbd
PT
20012 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
20013 type to string_t. Set ERANGE as errno and return it if NAME is not big
20014 enough. Use memcpy instead of strncpy.
20015
0f48659e
JM
200162012-07-20 Joseph Myers <joseph@codesourcery.com>
20017
20018 * elf/Makefile (check-data): Remove.
20019 (localplt.data): New vpath directive.
20020 ($(objpfx)check-localplt.out): Use localplt.data from vpath
20021 instead of $(check-data).
20022 * scripts/data/localplt-generic.data: Move to ...
20023 * sysdeps/generic/localplt.data: ... here.
20024 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
20025 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
20026 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
20027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
20028 ... here.
20029 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
20030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
20031 ... here.
20032 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
20033 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
20034 ... here.
20035 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
20036 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
20037 ... here.
20038 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
20039 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
20040 ... here.
20041 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
20042 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
20043 ... here.
20044
d37cbdaa
AZ
200452012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20046
20047 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
20048 PPC32 and PPC64 files.
20049 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
20050 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
20051
46f85fc2
AK
200522012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20053
20054 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
20055 __makecontext_ret to ...
20056 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
20057 ... here and call exit if uc_link is NULL. New file.
20058 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
20059 __makecontext_ret.S.
20060 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
20061 __makecontext_ret to ...
20062 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
20063 ... here and call exit if uc_link is NULL. New file.
20064 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
20065 __makecontext_ret.S.
20066
08f43f9b
AK
200672012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20068
20069 * elf/elf.h (R_390_IRELATIVE): New definition.
20070 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
20071 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
20072 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
20073 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20074 (elf_machine_lazy_rel): Likewise.
20075 * sysdeps/s390/dl-irel.h: New file.
20076 * sysdeps/s390/s390-64/memcpy.S: New asm code.
20077 * sysdeps/s390/s390-64/memset.S: New asm code.
20078 * sysdeps/s390/s390-64/memcmp.S: New asm code.
20079 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
20080 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
20081 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
20082 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
20083 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
20084 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
20085 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
20086 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
20087 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
20088 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
20089 * sysdeps/s390/s390-32/memcpy.S: New asm code.
20090 * sysdeps/s390/s390-32/memset.S: New asm code.
20091 * sysdeps/s390/s390-32/memcmp.S: New asm code.
20092
3b05db33
MP
200932012-07-17 Marek Polacek <polacek@redhat.com>
20094
20095 [BZ #14349]
20096 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
20097 * sysdeps/s390/s390-64/configure.in: Likewise.
20098 * sysdeps/sparc/configure.in: Likewise.
20099 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
20100 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
20101 * sysdeps/i386/configure.in: Likewise.
20102 * sysdeps/x86_64/configure.in: Likewise.
20103 * sysdeps/sh/configure.in: Likewise.
20104 * sysdeps/s390/s390-32/configure: Regenerated.
20105 * sysdeps/s390/s390-64/configure: Likewise.
20106 * sysdeps/x86_64/configure: Likewise.
20107 * sysdeps/sh/configure: Likewise.
20108 * sysdeps/powerpc/powerpc64/configure: Likewise.
20109 * sysdeps/powerpc/powerpc32/configure: Likewise.
20110 * sysdeps/sparc/configure: Likwise.
20111 * sysdeps/i386/configure: Likewise.
20112
a66877c6
MP
20113 * elf/dl-open.c: Comment fixes.
20114
cfc82fd8
JM
201152012-07-17 Joseph Myers <joseph@codesourcery.com>
20116
bd29910a
JM
20117 * Makefile [CXX] (check-data): Remove.
20118 [CXX] (c++-types.data): New vpath directive.
20119 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
20120 vpath. Do not allow for C++ type data being missing.
20121 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
20122 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
20123 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
20124 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
20125 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
20126 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
20127 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
20128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
20129 ... here.
20130 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
20131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
20132 ... here.
20133 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
20134 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
20135 ... here.
20136 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
20137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
20138 ... here.
20139 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
20140 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
20141 ... here.
20142 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
20143 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
20144 ... here.
20145 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
20146 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
20147 ... here.
20148 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
20149 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
20150
cfc82fd8
JM
20151 * elf/tls-macros.h (TLS_LE): Move architecture-specific
20152 definitions to architecture-specific files.
20153 (TLS_IE): Likewise.
20154 (TLS_LD): Likewise.
20155 (TLS_GD): Likewise.
20156 * sysdeps/i386/tls-macros.h: New file.
20157 * sysdeps/powerpc/tls-macros.h: Likewise.
20158 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
20159 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
20160 * sysdeps/sh/tls-macros.h: Likewise.
20161 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
20162 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
20163 * sysdeps/x86_64/tls-macros.h: Likewise.
20164
f7db3170
TS
201652012-07-17 Thomas Schwinge <thomas@codesourcery.com>
20166
07cbfc23
TS
20167 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
20168 zero value for regular exit case.
20169
f7db3170
TS
20170 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20171 (__start_context): Preserve zero value for regular exit case.
20172
dc97c227
TS
201732012-07-17 Thomas Schwinge <thomas@codesourcery.com>
20174 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20175
20176 * manual/setjmp.texi (setcontext): Clarify normal process
20177 termination when uc_link is the null pointer.
20178 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
20179 exit call.
20180
d0cd7d02
AS
201812012-07-16 Andreas Schwab <schwab@linux-m68k.org>
20182
20183 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
20184 preprocessor. Test for each exception mask separately.
20185
dd318934
AJ
201862012-07-16 Andreas Jaeger <aj@suse.de>
20187
20188 * po/ru.po: Update from translation team.
20189
8048311a
JM
201902012-07-15 Joseph Myers <joseph@codesourcery.com>
20191
20192 * conform/data/string.h-data (NULL): Use macro-constant. Require
20193 equal to 0.
20194 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20195 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20196 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
20197 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
20198 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20199
b637d46e
AJ
202002012-07-13 Andreas Jaeger <aj@suse.de>
20201
20202 * po/fr.po: Update from translation team.
20203
541428fe
MP
202042012-07-12 Marek Polacek <polacek@redhat.com>
20205
20206 [BZ #14173]
20207 * math/libm-test.inc (yn_test): Add test for BZ #14173.
20208 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
20209 loop condition.
20210
ec332e94
JM
202112012-07-12 Joseph Myers <joseph@codesourcery.com>
20212
20213 [BZ #13717]
20214 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20215 Change to 2.4.1 where previously 2.4.0.
20216 * sysdeps/unix/sysv/linux/configure: Regenerated.
20217 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
20218 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
20219 version.
20220 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
20221 (__ASSUME_AT_CLKTCK): Remove.
20222 (__ASSUME_AT_PAGESIZE): Likewise.
20223 (__ASSUME_AT_XID): Likewise.
20224 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
20225 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
20226 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
20227 unconditionally.
20228 (HAVE_AUX_PAGESIZE): Likewise.
20229 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
20230 [__ASSUME_AT_CLKTCK]: Make code unconditional.
20231 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
20232
7b6e99be
JB
202332012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
20234
20235 [BZ #14307]
20236 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
20237 the temporary buffer used to invoke __gethostbyname2_r,
20238 __gethostbyaddr_r and gethostbyname4_r to make room for struct
20239 host_data / struct gaih_addrtuple.
20240 * resolv/nss_dns/dns-host.c (global scope): Move definition of
20241 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
20242 header file nss/nsswitch.h.
20243 * nss/nsswitch.h (global scope): Add definition of implementation
20244 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
20245 resolv/nss_dns/dns-host.c).
20246
608404eb
AJ
202472012-07-11 Andreas Jaeger <aj@suse.de>
20248
20249 * po/fr.po: Update from translation team.
20250
71220aca
AJ
20251 * po/sv.po: Update from translation team
20252 * po/fr.po: Another update from translation team.
20253
28cfe843
AZ
202542012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20255
20256 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
20257 for subnormals or multiply small sinh result by itself.
20258 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20259 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20260
6b90f981
DM
202612012-07-11 David S. Miller <davem@davemloft.net>
20262
20263 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20264
c6825772
AS
202652012-07-10 Andreas Schwab <schwab@linux-m68k.org>
20266
20267 [BZ #14347]
20268 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
20269 (INTERNAL_MARK): Shift it here.
20270
7b8e0d49
MP
202712012-07-10 Marek Polacek <polacek@redhat.com>
20272
20273 [BZ #14151]
20274 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
20275 libc_cv_asm_global_directive with .globl.
20276 * configure: Regenerated.
20277 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
20278 with .globl.
20279 * sysdeps/i386/configure: Regenerated.
20280 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
20281 with .globl.
20282 * sysdeps/x86_64/configure: Regenerated.
20283 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
20284 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
20285 * elf/tst-unique2mod2.c: Likewise.
20286 * elf/tst-unique2mod1.c: Likewise.
20287 * elf/tst-unique1mod2.c: Likewise.
20288 * elf/tst-unique1mod1.c: Likewise.
20289 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20290 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20291 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20292 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20293 * sysdeps/mach/sysdep.h: Likewise.
20294 * sysdeps/i386/sysdep.h: Likewise.
20295 * sysdeps/i386/i386-mcount.S: Likewise.
20296 * sysdeps/x86_64/_mcount.S: Likewise.
20297 * sysdeps/x86_64/sysdep.h: Likewise.
20298 * sysdeps/sh/_mcount.S: Likewise.
20299 * sysdeps/sh/sysdep.h: Likewise.
20300 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
20301 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
20302 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
20303 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20304 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
20305 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
20306 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
20307 * locale/localeinfo.h: Likewise.
20308 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
20309 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
20310
6c55cda3
RM
203112012-07-09 Roland McGrath <roland@hack.frob.com>
20312
20313 [BZ #14336]
20314 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
20315 system".
20316 * manual/message.texi (The Uniforum approach): Likewise.
20317 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
20318 (glibc iconv Implementation): Likewise.
20319
638a572e
JM
203202012-07-09 Joseph Myers <joseph@codesourcery.com>
20321
20322 [BZ #14337]
20323 * math/s_clog.c (__clog): Avoid scaling a value down where that
20324 could result in underflow.
20325 * math/s_clog10.c (__clog10): Likewise.
20326 * math/s_clog10f.c (__clog10f): Likewise.
20327 * math/s_clog10l.c (__clog10l): Likewise.
20328 * math/s_clogf.c (__clogf): Likewise.
20329 * math/s_clogl.c (__clogl): Likewise.
20330 * math/libm-test.inc (clog_test): Add more tests.
20331 (clog10_test): Likewise.
20332 * sysdeps/i386/fpu/libm-test-ulps: Update.
20333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20334
261f4859
AS
203352012-07-06 Andreas Schwab <schwab@linux-m68k.org>
20336
0abaf3e4
AS
20337 [BZ #14283]
20338 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
20339 by 7 not 8 to examine high bit of fractional part.
20340
261f4859
AS
20341 [BZ #14042]
20342 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
20343 for call to __mcount_internal.
20344 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
20345 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
20346 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
20347
f17ac40d
JM
203482012-07-06 Joseph Myers <joseph@codesourcery.com>
20349
9ad63c23
JM
20350 [BZ #14154]
20351 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
20352 approximation for values within 0x1p-13f of an odd multiple of
20353 pi/4.
20354 * math/libm-test.inc (tan_test): Do not allow spurious underflow
20355 exception. Add more tests.
20356 * sysdeps/i386/fpu/libm-test-ulps: Update.
20357
f17ac40d
JM
20358 [BZ #6778]
20359 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
20360 inputs and return -1 for them. Do not check for +Inf in case not
20361 reachable for +Inf.
20362 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20363 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
20364 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20365 and return -1 for them. Do not check for +Inf in case not
20366 reachable for +Inf.
20367 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
20368 define.
20369 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20370 and return -1 for them. Do not check for +Inf in case not
20371 reachable for +Inf.
20372 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
20373 spurious underflow.
20374 * sysdeps/i386/fpu/libm-test-ulps: Update.
20375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20376
fb21f89b
MF
203772012-07-06 Mike Frysinger <vapier@gentoo.org>
20378
20379 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
20380
cdfe2c5e
JM
203812012-07-05 Joseph Myers <joseph@codesourcery.com>
20382
20383 [BZ #14157]
20384 [BZ #14331]
20385 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
20386 could result in spurious underflow. Scale down values above
20387 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
20388 * math/s_csqrtf.c (__csqrtf): Likewise.
20389 * math/s_csqrtl.c (__csqrtl): Likewise.
20390 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
20391 spurious underflow.
20392 * sysdeps/i386/fpu/libm-test-ulps: Update.
20393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20394
70d35b67
AS
203952012-07-04 Andreas Schwab <schwab@linux-m68k.org>
20396
704bc459
AS
20397 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
20398 xopen-msg.sed.
20399 * catgets/xopen-msg.awk: New file.
20400 * catgets/xopen-msg.sed: Removed.
20401
70d35b67
AS
20402 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
20403 po2text.sed.
20404 * intl/po2test.awk: New file.
20405 * intl/po2test.sed: Removed.
20406
ca61cf32
JM
204072012-07-04 Joseph Myers <joseph@codesourcery.com>
20408
20409 [BZ #14328]
20410 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
20411 or multiply small sinh result by itself.
20412 * math/s_ctanf.c (__ctanf): Likewise.
20413 * math/s_ctanh.c (__ctanh): Likewise.
20414 * math/s_ctanhf.c (__ctanhf): Likewise.
20415 * math/s_ctanhl.c (__ctanhl): Likewise.
20416 * math/s_ctanl.c (__ctanl): Likewise.
20417 * math/libm-test.inc (ctan_test_tonearest): New function.
20418 (ctan_test_towardzero): Likewise.
20419 (ctan_test_downward): Likewise.
20420 (ctan_test_upward): Likewise.
20421 (ctanh_test_tonearest): Likewise.
20422 (ctanh_test_towardzero): Likewise.
20423 (ctanh_test_downward): Likewise.
20424 (ctanh_test_upward): Likewise.
20425 (main): Call these new functions.
20426 * sysdeps/i386/fpu/libm-test-ulps: Update.
20427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20428
ca48a46a
MF
204292012-07-03 Mike Frysinger <vapier@gentoo.org>
20430
20431 * .gitignore: Delete /ports entry.
20432
9d63d37d
AJ
204332012-07-03 Andreas Jaeger <aj@suse.de>
20434
20435 * po/bg.po: Update from translation team.
20436 * po/cs.po: Likewise.
20437 * po/de.po: Likewise.
20438 * po/hr.po: Likewise.
20439 * po/nl.pl: Likewise.
20440 * po/pl.po: Likewise.
20441 * po/vi.po: Likewise.
20442
370ca3d2
JM
204432012-07-03 Joseph Myers <joseph@codesourcery.com>
20444
95f5a9a8
JM
20445 * Makeconfig [!+link] (+link-before-libc): New variable.
20446 [!+link] (+link-after-libc): Likewise.
20447 [!+link] (+link-tests): Likewise.
20448 [!+link] (+link): Define in terms of $(+link-before-libc) and
20449 $(+link-after-libc).
20450 [!+link-static] (+link-static-before-libc): New variable.
20451 [!+link-static] (+link-static-after-libc): Likewise.
20452 [!+link-static] (+link-static-tests): Likewise.
20453 [!+link-static] (+link-static): Define in terms of
20454 $(+link-static-before-libc) and $(+link-static-after-libc).
20455 [build-shared] (link-libc-before-gnulib): New variable.
20456 [build-shared] (link-libc-tests): Likewise.
20457 [build-shared] (link-libc): Define in terms of
20458 $(link-libc-before-gnulib).
20459 [!build-shared] (link-libc-tests): New variable.
20460 (link-libc-static-tests): New variable.
20461 [!gnulib] (gnulib-arch): New variable.
20462 [!gnulib] (gnulib-tests): Likewise.
20463 [!gnulib] (static-gnulib-arch): Likewise.
20464 [!gnulib] (static-gnulib-tests): Likewise.
20465 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
20466 Define with "=" instead of ":=".
20467 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
20468 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
20469 * Rules (binaries-all-notests): New variable.
20470 (binaries-all-tests): Likewise.
20471 (binaries-static-notests): Likewise.
20472 (binaries-static-tests): Likewise.
20473 (binaries-all): Define using $(binaries-all-notests) and
20474 $(binaries-all-tests).
20475 (binaries-static): Define using $(binaries-static-notests) and
20476 $(binaries-static-tests).
20477 (binaries-shared-tests): New variable.
20478 (binaries-shared-notests): Likewise.
20479 (binaries-shared): Remove variable.
20480 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
20481 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
20482 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
20483 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
20484 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
20485 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
20486 * elf/Makefile (sln-modules): New variable.
20487 (extra-objs): Add $(sln-modules:=.o).
20488 (ldconfig-modules): Add static-stubs.
20489 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
20490 * elf/static-stubs.c: New file.
20491
7a845b2c
JM
20492 [BZ #14283]
20493 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
20494 by 7 not 8 to examine high bit of fractional part. Use volatile
20495 variables when splitting into final array of floats if
20496 __FLT_EVAL_METHOD__ != 0.
20497 * math/libm-test.inc (cos_test): Add another test.
20498 (sin_test): Likewise.
20499 * sysdeps/i386/fpu/libm-test-ulps: Update.
20500
e2283f38
JM
20501 [BZ #14273]
20502 * math/libm-test.inc (cosh_test): Add more tests.
20503
370ca3d2
JM
20504 * version.h (RELEASE): Set to "development".
20505 (VERSION): Set to "2.16.90".
20506
ee9247c3
CD
205072012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
20508
20509 * NEWS: Update copyright. Remove last-updated date.
20510 Mention math library bug fixes and timezone data changes.
20511 * README: Mention GNU/Hurd, x32, and HPPA support status.
20512
4648c381
TS
205132012-06-28 Thomas Schwinge <thomas@codesourcery.com>
20514
20515 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
20516
aac78a43
AJ
205172012-06-27 Andreas Jaeger <aj@suse.de>
20518
20519 * manual/contrib.texi (Contributors): Add Samuel Thibault.
20520
ed3dbfad
AJ
205212012-06-25 Andreas Jaeger <aj@suse.de>
20522
20523 * sysdeps/s390/fpu/libm-test-ulps: Update.
20524
4d0ee855
AS
205252012-06-23 Andreas Schwab <schwab@linux-m68k.org>
20526 Thomas Schwinge <thomas@codesourcery.com>
20527
20528 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
20529 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
20530 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
20531 fanotify_mark.
20532
af1bce34
TS
205332012-06-23 Thomas Schwinge <thomas@codesourcery.com>
20534
a9fa33ba
TS
20535 * sysdeps/mach/start.c: Remove file.
20536 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
20537 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
20538 * sysdeps/sh/init-first.c: Likewise.
20539
58f902b8
TS
20540 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
20541 registers for frame unwinding purposes, add CFI directives.
20542 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20543 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
20544 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
20545 Likewise.
20546
1518f58b
TS
20547 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
20548 __fortify_fail returning.
20549 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20550
db9b5059
TS
20551 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
20552 sysdeps/sh/____longjmp_chk.S.
20553 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
20554 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
20555 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
20556 (gen-as-const-headers): Append sigaltstack-offsets.sym.
20557
967705fe
TS
20558 * sysdeps/sh/abort-instr.h: New file.
20559 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
20560 process in case exit returns.
20561
a9def8c4
TS
20562 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
20563 initialize the GOT register before use.
20564
2a649725
TS
20565 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
20566 calculation of ARGC > 4.
20567
af1bce34
TS
20568 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
20569 meaningful names to some local labels.
20570
d230f50a
KK
205712012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20572 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20573
20574 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
20575 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
20576 (__arch_compare_and_exchange_val_16_acq): Likewise.
20577 (__arch_compare_and_exchange_val_32_acq): Likewise.
20578 (atomic_exchange_and_add): Fix gUSA sequence.
20579 (atomic_add): Likewise.
20580 (atomic_add_negative): Likewise.
20581 (atomic_add_zero): Likewise.
20582 (atomic_bit_test_set): Likewise.
20583
0479b305
AS
205842012-06-22 Andreas Schwab <schwab@redhat.com>
20585
20586 [BZ #13579]
20587 * include/link.h (struct link_map): Add l_free_initfini.
20588 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
20589 l_initfini.
20590 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
20591 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
20592 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
20593 set.
20594
0e3933b9
CD
205952012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
20596
20597 * configure.in: Use AC_LANG_SOURCE.
20598 * configure: Regenerate.
20599
4248b1b1
RM
206002012-06-22 Roland McGrath <roland@hack.frob.com>
20601
20602 * configure.in (libc_cv_localstatedir): New substituted variable.
20603 * configure: Regenerated.
20604 * config.make.in (localstatedir): New variable, substituted from
20605 libc_cv_localstatedir.
20606 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
20607 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
20608 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
20609 * sysdeps/gnu/configure: Regenerated.
20610
006dd861
JL
206112012-06-21 Jeff Law <law@redhat.com>
20612
20613 [BZ #14277]
20614 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
20615 free. Simplify list management for _LIBC case.
20616
79662d42
JM
206172012-06-21 Joseph Myers <joseph@codesourcery.com>
20618
b7abb4bf
JM
20619 [BZ #14273]
20620 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
20621 Clear sign bit of 64-bit integer value before comparing against
20622 overflow value.
20623
79662d42
JM
20624 * sysdeps/mach/configure: Regenerated.
20625
1f150908
L
206262012-06-21 H.J. Lu <hongjiu.lu@intel.com>
20627
20628 [BZ #14278]
20629 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
20630
28363bbf
JL
206312012-06-21 Jeff Law <law@redhat.com>
20632
20633 [BZ #13882]
20634 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
20635 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 20636 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
20637 * elf/dl-open.c (dl_open_worker): Likewise.
20638
09615db4
CD
206392012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
20640
20641 * scripts/list-sources.sh: Scan PORTS for translations.
20642 * po/libc.pot: Regenerated.
20643
2174c6dd
AJ
206442012-06-21 Andreas Jaeger <aj@suse.de>
20645
20646 [BZ #12194]
20647 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
20648 warning.
20649 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
20650 * bits/byteswap-16.h (__bswap_16): Likewise.
20651 * bits/byteswap.h (__bswap_constant_16): Likewise.
20652
3ee947b1
L
206532012-06-18 H.J. Lu <hongjiu.lu@intel.com>
20654
20655 [BZ #14117]
a2f34833
L
20656 * sysdeps/i386/fpu_control.h: Removed.
20657 * sysdeps/x86_64/fpu_control.h: Moved to ...
20658 * sysdeps/x86/fpu_control.h: Here.
20659
3ee947b1
L
20660 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
20661 (_FPU_SETCW): Likewise.
20662
ed1825f8
L
206632012-06-15 H.J. Lu <hongjiu.lu@intel.com>
20664
25f1282a
L
20665 [BZ #14117]
20666 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
20667 * sysdeps/x86/fpu/bits/mathinline.h: This.
20668 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
20669
ed1825f8
L
20670 [BZ #14050]
20671 [BZ #14117]
20672 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
20673 functions if __x86_64__ is defined.
20674
36d54b74
CLT
206752012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
20676
20677 * string/endian.h: Add !__ASSEMBLER__ condition for including
20678 conversion interfaces.
20679
10285c21
JM
206802012-06-15 Joseph Myers <joseph@codesourcery.com>
20681
20682 [BZ #14241]
20683 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
20684 of ABS(x) in calculating zero to negative powers other than odd
20685 integers.
20686 * math/libm-test.inc (pow_test): Add more tests.
20687
06c5abbd
AJ
206882012-06-15 Andreas Jaeger <aj@suse.de>
20689
20690 * manual/contrib.texi (Contributors): Update entry of Liubov
20691 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
20692 Machado Filho.
20693
a3aeac40
CH
206942012-06-15 Cyril Hrubis <metan@ucw.cz>
20695
20696 * string/string.h: Add __wur to GNU version of strerror_r.
20697
49bdf4c1
L
206982012-06-14 H.J. Lu <hongjiu.lu@intel.com>
20699
20700 [BZ #14229]
20701 * string/Makefile (tests): Add tst-strtok_r.
20702 * string/tst-strtok_r.c: New file.
20703 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
20704 RAX_LP/RDX_LP on SAVE_PTR.
20705
834f9b8d
RM
207062012-06-14 Roland McGrath <roland@hack.frob.com>
20707
20708 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
20709
75fa1921
JM
207102012-06-14 Joseph Myers <joseph@codesourcery.com>
20711
20712 * libm_test.inc (csqrt_test): Allow more spurious underflow
20713 exceptions.
20714 (j0_test): Likewise.
20715 (j1_test): Likewise.
20716 (y0_test): Likewise.
20717 (y1_test): Likewise.
20718
771766df
CD
207192012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
20720
20721 * po/Makefile (libc.pot): Use UTF-8 charset.
20722
ceb9e56b
PP
207232012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
20724
20725 [BZ #14210]
20726 Suppress sign-conversion warning from FD_SET.
20727 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
20728 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
20729 not unsigned long int.
20730 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
20731
ddb28975
L
207322012-06-12 H.J. Lu <hongjiu.lu@intel.com>
20733
20734 [BZ #14050]
20735 [BZ #14117]
20736 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
20737 __extern_always_inline instead of __extern_inline.
20738 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
20739 (__signbit): Likewise.
20740 (__signbitl): Support C++ namespace.
20741 (lrintf): New inline function.
20742 (lrint): Likewise.
20743 (llrintf): Likewise.
20744 (llrint): Likewise.
20745 (fmaxf): Likewise.
20746 (fmax): Likewise.
20747 (fminf): Likewise.
20748 (fmin): Likewise.
20749 (rint): Likewise.
20750 (rintf): Likewise.
20751 (ceil): Likewise.
20752 (ceilf): Likewise.
20753 (floor): Likewise.
20754 (floorf): Likewise.
20755 (nearbyint): Likewise.
20756 (nearbyintf): Likewise.
20757
d7b4fb26
TS
207582012-06-12 Thomas Schwinge <thomas@codesourcery.com>
20759
20760 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
20761 non-default versions.
20762
eb55f5c2
RM
207632012-06-11 Roland McGrath <roland@hack.frob.com>
20764
20765 [BZ #14218]
20766 * manual/argp.texi (Argp): Reword argp_parse description slightly.
20767
366af02c
TS
207682012-06-09 Thomas Schwinge <thomas@codesourcery.com>
20769
99ff6e5c
TS
20770 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
20771 (FE_UPWARD, FE_DOWNWARD): Don't define.
20772 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
20773 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20774
366af02c
TS
20775 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
20776 reading it.
20777 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
20778 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20779
793ea851
KK
207802012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20781
20782 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20783 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
20784 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
20785 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
20786
a728a38f
L
207872012-06-06 H.J. Lu <hongjiu.lu@intel.com>
20788
20789 [BZ #14117]
c08010c7
L
20790 * sysdeps/i386/fpu/bits/fenv.h: Removed.
20791 * sysdeps/i386/fpu/Implies: New file.
20792 * sysdeps/x86_64/fpu/Implies: Likewise.
20793 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
20794 * sysdeps/x86/fpu/bits/fenv.h: This.
20795
a728a38f
L
20796 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
20797 __SSE_MATH__.
20798
6e230d11
SP
207992012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20800
20801 [BZ #14134]
20802 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
20803 character 0xffff that matches the last element of the
20804 conversion table.
20805
1b671feb
AZ
208062012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20807
20808 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
20809 fmodl commit.
20810
6043738b
AZ
208112012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20812
20813 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
20814 values higher than 25.6283.
20815
34ae0b32
AZ
208162012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20817
20818 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
20819 subnormal exponent extraction and add some __builtin_expect.
20820 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
20821 Fix for subnormal mantissa calculation.
20822
1214ec8f
MF
208232012-06-04 Mike Frysinger <vapier@gentoo.org>
20824
20825 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
20826 cpu2 is -1 and errno is not ENOSYS.
20827
f3d1f93c
L
208282012-06-04 H.J. Lu <hongjiu.lu@intel.com>
20829
20830 [BZ #14117]
0e4a3cd7
L
20831 * sysdeps/i386/i486/bits/string.h: Renamed to ...
20832 * sysdeps/x86/bits/string.h: This.
20833 * sysdeps/x86_64/bits/string.h: Removed.
20834
6704c645
L
20835 * sysdeps/i386/i486/bits/string.h: Define inline functions only
20836 if not compiling for x86-64, but compiling for >= i486.
20837
48495318
L
20838 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
20839 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
20840
14adcbfc
L
20841 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
20842 New macro from Linux kernel 3.4.0.
20843 (FP_XSTATE_MAGIC2): Likewise.
20844 (FP_XSTATE_MAGIC2_SIZE): Likewise.
20845 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
20846 (struct _fpx_sw_bytes): New struct.
20847 (struct _xsave_hdr): Likewise.
20848 (struct _ymmh_state): Likewise.
20849 (struct _xstate): Likewise.
20850
68e408ab
L
20851 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
20852 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
20853 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
20854 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
20855 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
20856 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
20857
f3d1f93c
L
20858 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
20859 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
20860 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
20861 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
20862 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
20863 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
20864
d9dc34cd
TMQMF
208652012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20866
20867 [BZ #13743]
20868 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
20869 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
20870 (sysdep_headers): Include sys/platform/ppc.h.
20871 * sysdeps/powerpc/test-gettimebase.c: Test for
20872 __ppc_get_timebase() to catch future ISA opcode/insn changes.
20873 * manual/Makefile (appendices): Include platform.texi.
20874 * manual/contrib.texi (Contributors): Update @node pointers.
20875 * manual/maint.texi (Maintenance): Likewise.
20876 (Platform): New node.
20877 * manual/platform.texi: New file. Document the new features.
20878
4af3879c
SP
208792012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20880 Jakub Jelinek <jakub@redhat.com>
20881
20882 [BZ #14188]
20883 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
20884 where __builtin_expect is unavailable.
20885
2fd6ff13
DM
208862012-06-03 David S. Miller <davem@davemloft.net>
20887
20888 * stdlib/longlong.h: Updated from GCC.
20889
173f7220
AS
208902012-06-02 Andreas Schwab <schwab@linux-m68k.org>
20891
20892 [BZ #14042]
20893 * sysdeps/powerpc/powerpc32/mcount.c: New file.
20894 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
20895 __mcount_internal.
20896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20897 (GLIBC_2.16): Likewise.
20898
f34a1c6f
L
208992012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20900
20901 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
20902
88a4576f
JM
209032012-06-01 Joseph Myers <joseph@codesourcery.com>
20904
ea32bcdd
JM
20905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
20906 (default-abi): New variable.
20907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
20908 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
20909 variable.
20910 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
20911 Likewise.
20912 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
20913 Likewise.
20914 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
20915 Likewise.
20916
88a4576f
JM
20917 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
20918 definition. Document in comment.
20919
402fe938
DM
209202012-06-01 David S. Miller <davem@davemloft.net>
20921
20922 * stdlib/longlong.h: Updated from GCC.
20923
3553723f
L
209242012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20925
20926 [BZ #14117]
3bd872c4
L
20927 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
20928 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
20929 sys/debugreg.h sys/io.h here.
20930 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
20931 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
20932 sys/io.h.
20933 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
20934 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
20935 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
20936 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
20937 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
20938 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
20939
3553723f
L
20940 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
20941 Define only if __x86_64__ is defined.
20942
4842e4fe
JM
209432012-06-01 Joseph Myers <joseph@codesourcery.com>
20944
c5bfe3d5
JM
20945 [BZ #14048]
20946 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
20947 Use int64_t for variable i.
20948 * math/libm-test.inc (fmod_test): Add more tests.
20949
4842e4fe
JM
20950 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
20951 z computation is not scheduled after fetestexcept.
20952 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
20953 Use math_force_eval instead of asm to ensure calculation scheduled
20954 before exception test.
20955 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
20956 Ensure a1 + u.d computation is not scheduled after fetestexcept.
20957
efb73488
AJ
209582012-06-01 Aurelien Jarno <aurelien@aurel32.net>
20959
20960 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
20961 computation is not scheduled after fetestexcept.
20962
29bcce7c
L
209632012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20964
20965 [BZ #14117]
20966 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
20967 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
20968
73a68f94
AZ
209692012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20970
20971 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
20972 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
20973
67b6df78
L
209742012-05-31 H.J. Lu <hongjiu.lu@intel.com>
20975
edf2933a 20976 [BZ #14117]
ebc64a18
L
20977 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
20978 <bits/wordsize.h>.
20979 (__WCHAR_MIN): Support __WORDSIZE == 64.
20980 (__WCHAR_MAX): Likewise.
20981
edf2933a
L
20982 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
20983 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
20984
57c6cf40
L
20985 [BZ #14183]
20986 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
20987 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
20988
67b6df78 20989 [BZ #14117]
8eb6281e
L
20990 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
20991 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
20992
aac639f4
L
20993 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
20994 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
20995
67b6df78
L
20996 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
20997 Defined to 1 if __x86_64__ isn't defined.
20998 (_STAT_VER_LINUX_OLD): New.
20999 (st_atime): Remove duplicate.
21000 (st_mtime): Likewise.
21001 (st_ctime): Likewise.
21002
1c2cfe81
DM
210032012-05-31 David S. Miller <davem@davemloft.net>
21004
21005 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
21006 entries.
21007
5be8418c
AS
210082012-06-01 Andreas Schwab <schwab@linux-m68k.org>
21009
e7725326
AS
21010 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
21011 gen-libm-test.pl.
21012
5be8418c
AS
21013 [BZ #14132]
21014 * elf/dl-reloc.c: Include <_itoa.h>.
21015 (_dl_reloc_bad_type): Remove use of INTUSE.
21016 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
21017 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
21018 * stdio-common/psiginfo.c (psiginfo): Likewise.
21019 * stdio-common/psignal.c (psignal): Likewise.
21020 * string/strsignal.c (strsignal): Likewise.
21021 * include/signal.h (_sys_siglist): Declare hidden proto.
21022 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
21023 INTVARDEF with libc_hidden_data_def.
21024 * stdio-common/itoa-udigits.c: Likewise.
21025 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
21026 (_itoa_lower_digits_internal): Remove declaration.
21027 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
21028 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
21029 (_sys_sigabbrev_internal): Remove aliases.
21030 (_sys_siglist): Define hidden alias.
21031
507352f1
MT
210322012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
21033
21034 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21035 bits/sysctl.h.
21036
42bbb1c3
L
210372012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21038
21039 [BZ #14117]
6bd784b6
L
21040 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
21041 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
21042
8bca20f0
L
21043 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
21044 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
21045 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
21046 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
21047 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
21048 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
21049
f9e890a9
L
21050 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
21051 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
21052 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
21053
471101a1
L
21054 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
21055 with __addr.
21056 (insw): Likewise.
21057 (insl): Likewise.
21058 (outsb): Likewise.
21059 (outsw): Likewise.
21060 (outsl): Likewise.
21061
6451c862
L
21062 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
21063 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
21064 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
21065
a254b8c9
L
21066 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
21067 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
21068 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
21069 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
21070 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
21071 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
21072
b8dfdd92
L
21073 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
21074 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
21075
578cd270
L
21076 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
21077 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
21078
de662f5f
L
21079 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
21080 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
21081 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
21082
25653439
L
21083 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
21084 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
21085 to ...
21086 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
21087
6bad24a0
L
21088 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
21089 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
21090 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
21091
42bbb1c3
L
21092 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
21093 for x86-64.
21094 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
21095
2d10d547
JM
210962012-05-31 Joseph Myers <joseph@codesourcery.com>
21097
21098 * math/math.h (M_El): Use two more decimal places.
21099 (M_LOG2El): Likewise.
21100 (M_LOG10El): Likewise.
21101 (M_LN2l): Likewise.
21102 (M_LN10l): Likewise.
21103 (M_PIl): Likewise.
21104 (M_PI_2l): Likewise.
21105 (M_PI_4l): Likewise.
21106 (M_1_PIl): Likewise.
21107 (M_2_PIl): Likewise.
21108 (M_2_SQRTPIl): Likewise.
21109 (M_SQRT2l): Likewise.
21110 (M_SQRT1_2l): Likewise.
21111
f230c29b
DM
211122012-05-31 David S. Miller <davem@davemloft.net>
21113
21114 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
21115 values between float registers.
21116 * sysdeps/sparc/sparc64/memset.S: Likewise.
21117 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21118
fed806c3
MF
211192012-05-31 Mike Frysinger <vapier@gentoo.org>
21120
21121 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
21122 -D_FORTIFY_SOURCE=1.
21123 (CPPFLAGS-tst-longjmp_chk.c): Define.
21124 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
21125 (CPPFLAGS-tst-longjmp_chk2.c): Define.
21126 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
21127 CFLAGS-tst-wchar-h.c.
21128
30917259
MP
211292012-05-31 Marek Polacek <polacek@redhat.com>
21130
21131 [BZ #14132]
21132 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
21133 __endmntent_internal): Remove declaration.
21134 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
21135 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
21136 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
21137
1c58d5dc
DM
211382012-05-30 David S. Miller <davem@davemloft.net>
21139
21140 * sysdeps/sparc/sparc32/soft-fp/q_util.c
21141 (___Q_simulate_exceptions): Use real FP ops rather than writing
21142 into the %fsr.
21143 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
21144 Likewise.
21145
7dc00e0d
L
211462012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21147
21148 [BZ #14117]
0bd53985
L
21149 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
21150 * sysdeps/x86/bits/xtitypes.h: This.
21151
3a257e66
L
21152 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
21153 * sysdeps/x86/bits/wordsize.h: This.
21154
62f62904
L
21155 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
21156 * sysdeps/x86/bits/huge_vall.h: This.
21157
404fe9d9
L
21158 * sysdeps/i386/bits/select.h: Removed.
21159 * sysdeps/x86_64/bits/select.h: Renamed to ...
21160 * sysdeps/x86/bits/select.h: This.
21161
d48d0446
L
21162 * sysdeps/i386/bits/setjmp.h: Removed.
21163 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
21164 * sysdeps/x86/bits/setjmp.h: This.
21165
7dc00e0d
L
21166 * sysdeps/i386/bits/mathdef.h: Removed.
21167 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
21168 * sysdeps/x86/bits/mathdef.h: This.
21169
03277f8f
AS
211702012-05-30 Andreas Schwab <schwab@linux-m68k.org>
21171
21172 [BZ #14132]
21173 * include/sys/socket.h (__connect_internal)
21174 (__libc_sa_len_internal): Remove declaration.
21175 (__connect, __libc_sa_len): Declare hidden_proto.
21176 (SA_LEN): Remove use of INTUSE.
21177 * socket/connect.c: Add libc_hidden_def.
21178 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
21179 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
21180 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
21181 alias.
21182 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
21183 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
21184 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
21185 of adding _internal alias.
21186
13764867
L
211872012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21188
21189 [BZ #14117]
6bd97696
L
21190 * sysdeps/i386/bits/link.h: Removed.
21191 * sysdeps/i386/bits/linkmap.h: Likewise.
21192 * sysdeps/x86_64/bits/link.h: Renamed to ...
21193 * sysdeps/x86/bits/link.h: This.
21194 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
21195 * sysdeps/x86/bits/linkmap.h: This.
21196
f726f0bb
L
21197 * sysdeps/i386/bits/endian.h: Removed.
21198 * sysdeps/x86_64/bits/endian.h: Renamed to ...
21199 * sysdeps/x86/bits/endian.h: This.
21200
13764867
L
21201 * sysdeps/i386/bits/byteswap.h: Removed.
21202 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21203 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
21204 * sysdeps/x86/bits/byteswap.h: This.
21205 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
21206 * sysdeps/x86/bits/byteswap-16.h: This.
21207 * sysdeps/i386/Implies: Add x86.
21208 * sysdeps/x86_64/Implies: Likewise.
21209
ae251b0b
DM
212102012-05-30 David S. Miller <davem@davemloft.net>
21211
21212 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
21213 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
21214 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
21215 (FP_TRAPPING_EXCEPTIONS): Define.
21216 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
21217 (FP_TRAPPING_EXCEPTIONS): Define.
21218 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
21219 subnormals only when inexact has been signalled or underflow
21220 exceptions are enabled.
21221 (_FP_PACK_CANONICAL): Likewise.
21222
d5c90867
L
212232012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21224
21225 [BZ #14183]
21226 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
21227 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
21228
63f1549e
RH
212292012-05-30 Richard Henderson <rth@twiddle.net>
21230
8d8f2279
RH
21231 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
21232 with #ifndef NOT_IN_libc.
21233
63f1549e
RH
21234 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
21235 marked to avoid plt entry.
21236
0ab0291b
L
212372012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21238
21239 [BZ #14112]
21240 * Makeconfig (default-abi): New macro.
21241 (abi-includes): Likewise.
21242 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
21243 $(abi-$(default-abi)-lib-soname) for soname if defined.
21244 ($(common-objpfx)gnu/lib-names.stmp): Generate from
21245 abi-variants.
21246 * Makefile (installed-stubs): Likewise.
21247 * include/stubs-biarch.h: Removed.
21248 * scripts/lib-names.awk: Only handle one library at a time.
21249 * scripts/soversions.awk: Remove WORDSIZE support.
21250 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
21251 entries.
21252 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
21253 Removed.
21254 (syscall-list-default-condition): Likewise.
21255 (syscall-list-default-condition): Likewise.
21256 (syscall-list-includes): Likewise.
21257 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
21258 syscall-list-* with abi-*. Handle undefined abi-variants.
21259 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
21260 * sysdeps/unix/sysv/linux/i386/Implies: New file.
21261 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
21262 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
21263 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
21264 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
21265 Removed.
21266 (syscall-list-32-options): Likewise.
21267 (syscall-list-32-condition): Likewise.
21268 (syscall-list-64-options): Likewise.
21269 (syscall-list-64-condition): Likewise.
21270 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
21271 macro.
21272 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
21273 Renamed to ...
21274 (abi-*): This.
21275 (abi-64-ld-soname): New macro.
21276 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
21277 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
21278 Renamed to ...
21279 (abi-*): This.
21280 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
21281 * sysdeps/x86_64/x32/shlib-versions: Likewise.
21282
4da0431d
JM
212832012-05-30 Joseph Myers <joseph@codesourcery.com>
21284
3a85279c
JM
21285 * sysdeps/unix/sysv/linux/kernel-features.h
21286 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
21287 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
21288 include <kernel-features.h>.
21289 [!__NR_ftruncate64]: Remove conditional code.
21290 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21291 [__NR_ftruncate64]: Make code unconditional.
21292 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21293 * sysdeps/unix/sysv/linux/truncate64.c: Do not
21294 include <kernel-features.h>.
21295 [!__NR_ftruncate64]: Remove conditional code.
21296 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21297 [__NR_ftruncate64]: Make code unconditional.
21298 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
21300 include <kernel-features.h>.
21301 [!__NR_ftruncate64]: Remove conditional code.
21302 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21303 [__NR_ftruncate64]: Make code unconditional.
21304 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21306 include <kernel-features.h>.
21307 [!__NR_ftruncate64]: Remove conditional code.
21308 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21309 [__NR_ftruncate64]: Make code unconditional.
21310 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21311
4da0431d
JM
21312 * configure.in (libc_cv_fpie): Weaken to a compile test using
21313 LIBC_TRY_CC_OPTION.
21314 * configure: Regenerated.
21315
11ef492c
AK
213162012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21317
21318 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
21319 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
21320 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
21321 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21322 Refreshed.
21323 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
21324 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
21325 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
21326 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
21327 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
21328 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21329 Refreshed.
21330
d66ef399
DM
213312012-05-27 David S. Miller <davem@davemloft.net>
21332
21333 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
21334 (___Q_zero): New.
21335 (__Q_simulate_exceptions): Return void. Change to simulate
21336 exceptions by writing into the %fsr.
21337 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
21338 (__Qp_handle_exceptions): Likewise.
21339 (numbers): Delete.
21340 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
21341 __Qp_handle_exceptions.
21342 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
21343 __Qp_handle_exceptions.
21344 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21345 as unused and give dummy FP_RND_NEAREST initializer.
21346 (FP_INHIBIT_RESULTS): Define.
21347 (___Q_simulate_exceptions): Update declaration.
21348 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
21349 formatting.
21350 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21351 as unused and give dummy FP_RND_NEAREST initializer.
21352 (__Qp_handle_exceptions): Update declaration.
21353 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
21354 formatting.
21355
04fb54b5
TS
213562012-05-27 Thomas Schwinge <thomas@codesourcery.com>
21357
21358 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
21359 the temporary FPU control word.
21360 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21361 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
21362 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
21363 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21364 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21365 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
21366 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
21367 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21368 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21369 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
21370 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21371
3f99608f
KK
213722012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21373
21374 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
21375 fields.
21376
65a4de4e
CLT
213772012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
21378
21379 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
21380 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
21381 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
21382 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
21383 Likewise.
21384 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
21385 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
21386 Likewise.
21387
15749d40
UD
213882012-05-27 Ulrich Drepper <drepper@gmail.com>
21389
21390 * po/h.po: Update from translation team.
21391
25dbcb27
AS
213922012-05-26 Andreas Schwab <schwab@linux-m68k.org>
21393
3d3f8e55
AS
21394 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
21395
25dbcb27
AS
21396 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
21397 handling of denormals.
21398 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21399 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21400 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21401 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21402 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21403 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
21404 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
21405 Likewise.
21406
7ad47a80 214072012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
21408
21409 [BZ #14152]
21410 * math/libm-test.inc (fma_test): Don't always expect underflow
21411 exception.
21412
9c6ea9fa
SP
214132012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21414
21415 [BZ #12416]
21416 * elf/tst-execstack.c: Include stackinfo.h.
21417 (do_test): Adjust test case to ensure that pthread_getattr_np
21418 behaviour remains the same after marking stack executable.
21419
a8239222
JM
214202012-05-25 Joseph Myers <joseph@codesourcery.com>
21421
21422 * sysdeps/unix/sysv/linux/kernel-features.h
21423 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
21424 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
21425 kernel-features.h.
21426 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21427 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21428 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
21429 kernel-features.h.
21430 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21431 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21432
918b5606
L
214332012-05-25 H.J. Lu <hongjiu.lu@intel.com>
21434
21435 * configure.in: Define the default includes to being none.
21436 * configure: Regenerated.
21437
3a097cc7
RM
214382012-05-25 Roland McGrath <roland@hack.frob.com>
21439
8422c9a5
RM
21440 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
21441 * sysdeps/x86_64/setjmp.S: Likewise.
21442 * sysdeps/i386/bsd-setjmp.S: Likewise.
21443 * sysdeps/i386/bsd-_setjmp.S: Likewise.
21444 * sysdeps/i386/setjmp.S: Likewise.
21445 * sysdeps/i386/__longjmp.S: Likewise.
21446 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21447 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
21448
3a097cc7
RM
21449 * include/stap-probe.h: New file.
21450 * configure.in: Handle --enable-systemtap.
21451 * configure: Regenerated.
21452 * config.h.in (USE_STAP_PROBE): New #undef.
21453 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
21454 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
21455 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21456
21708942
JM
214572012-05-25 Joseph Myers <joseph@codesourcery.com>
21458
21459 [BZ #13717]
21460 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21461 to 2.4.0 where earlier.
21462 * sysdeps/unix/sysv/linux/configure: Regenerated.
21463 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21464 <kernel-features.h>.
21465 [__ASSUME_32BITUIDS]: Make code unconditional.
21466 [!__ASSUME_32BITUIDS]: Remove conditional code.
21467 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
21468 <kernel-features.h>.
21469 [__ASSUME_32BITUIDS]: Make code unconditional.
21470 [!__ASSUME_32BITUIDS]: Remove conditional code.
21471 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
21472 [__ASSUME_32BITUIDS]: Make code unconditional.
21473 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
21474 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
21475 <kernel-features.h>.
21476 [__ASSUME_32BITUIDS]: Make code unconditional.
21477 [!__ASSUME_32BITUIDS]: Remove conditional code.
21478 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
21479 <kernel-features.h>.
21480 [__ASSUME_32BITUIDS]: Make code unconditional.
21481 [!__ASSUME_32BITUIDS]: Remove conditional code.
21482 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
21483 <kernel-features.h>.
21484 [__ASSUME_32BITUIDS]: Make code unconditional.
21485 [!__ASSUME_32BITUIDS]: Remove conditional code.
21486 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
21487 <kernel-features.h>.
21488 [__ASSUME_32BITUIDS]: Make code unconditional.
21489 [!__ASSUME_32BITUIDS]: Remove conditional code.
21490 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21491 <kernel-features.h>.
21492 [__ASSUME_32BITUIDS]: Make code unconditional.
21493 [!__ASSUME_32BITUIDS]: Remove conditional code.
21494 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21495 <kernel-features.h>.
21496 [__ASSUME_32BITUIDS]: Make code unconditional.
21497 [!__ASSUME_32BITUIDS]: Remove conditional code.
21498 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
21499 <kernel-features.h>.
21500 [__ASSUME_32BITUIDS]: Make code unconditional.
21501 [!__ASSUME_32BITUIDS]: Remove conditional code.
21502 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21503 <kernel-features.h>.
21504 [__ASSUME_32BITUIDS]: Make code unconditional.
21505 [!__ASSUME_32BITUIDS]: Remove conditional code.
21506 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21507 <kernel-features.h>.
21508 [__ASSUME_32BITUIDS]: Make code unconditional.
21509 [!__ASSUME_32BITUIDS]: Remove conditional code.
21510 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
21511 <kernel-features.h>.
21512 [__ASSUME_32BITUIDS]: Make code unconditional.
21513 [!__ASSUME_32BITUIDS]: Remove conditional code.
21514 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
21515 <kernel-features.h>.
21516 [__NR_setresgid] (__setresgid): Do not declare.
21517 [__ASSUME_32BITUIDS]: Make code unconditional.
21518 [!__ASSUME_32BITUIDS]: Remove conditional code.
21519 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
21520 <kernel-features.h>.
21521 [__NR_setresuid] (__setresuid): Do not declare.
21522 [__ASSUME_32BITUIDS]: Make code unconditional.
21523 [!__ASSUME_32BITUIDS]: Remove conditional code.
21524 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
21525 <kernel-features.h>.
21526 [__ASSUME_32BITUIDS]: Make code unconditional.
21527 [!__ASSUME_32BITUIDS]: Remove conditional code.
21528 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
21529 <kernel-features.h>.
21530 [__ASSUME_32BITUIDS]: Make code unconditional.
21531 [!__ASSUME_32BITUIDS]: Remove conditional code.
21532 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
21533 <kernel-features.h>.
21534 [__ASSUME_32BITUIDS]: Make code unconditional.
21535 [!__ASSUME_32BITUIDS]: Remove conditional code.
21536 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
21537 <kernel-features.h>.
21538 [__ASSUME_32BITUIDS]: Make code unconditional.
21539 [!__ASSUME_32BITUIDS]: Remove conditional code.
21540 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
21541 <kernel-features.h>.
21542 [__ASSUME_32BITUIDS]: Make code unconditional.
21543 [!__ASSUME_32BITUIDS]: Remove conditional code.
21544 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
21545 <kernel-features.h>.
21546 [__ASSUME_32BITUIDS]: Make code unconditional.
21547 [!__ASSUME_32BITUIDS]: Remove conditional code.
21548 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
21549 <kernel-features.h>.
21550 [__ASSUME_32BITUIDS]: Make code unconditional.
21551 [!__ASSUME_32BITUIDS]: Remove conditional code.
21552 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
21553 <kernel-features.h>.
21554 [__ASSUME_32BITUIDS]: Make code unconditional.
21555 [!__ASSUME_32BITUIDS]: Remove conditional code.
21556 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
21557 <kernel-features.h>.
21558 [__ASSUME_32BITUIDS]: Make code unconditional.
21559 [!__ASSUME_32BITUIDS]: Remove conditional code.
21560 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21561 <kernel-features.h>.
21562 [__ASSUME_32BITUIDS]: Make code unconditional.
21563 [!__ASSUME_32BITUIDS]: Remove conditional code.
21564 * sysdeps/unix/sysv/linux/kernel-features.h
21565 (__ASSUME_SETRESUID_SYSCALL): Remove.
21566 (__ASSUME_SETRESGID_SYSCALL): Likewise.
21567 (__ASSUME_32BITUIDS): Likewise.
21568 (__ASSUME_LDT_WORKS): Likewise.
21569 (__ASSUME_O_DIRECTORY): Likewise.
21570 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
21571 architecture but not kernel version.
21572 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
21573 (__ASSUME_MMAP2_SYSCALL): Likewise.
21574 (__ASSUME_STAT64_SYSCALL): Likewise.
21575 (__ASSUME_IPC64): Likewise.
21576 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
21577 <kernel-features.h>.
21578 [__ASSUME_32BITUIDS]: Make code unconditional.
21579 [!__ASSUME_32BITUIDS]: Remove conditional code.
21580 * sysdeps/unix/sysv/linux/opendir.c: Do not include
21581 <kernel-features.h>.
21582 [__ASSUME_O_DIRECTORY]: Make code unconditional.
21583 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
21584 132096]: Remove conditional code.
21585 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
21586 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21587 <kernel-features.h>.
21588 [__ASSUME_32BITUIDS]: Make code unconditional.
21589 [!__ASSUME_32BITUIDS]: Remove conditional code.
21590 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21591 <kernel-features.h>.
21592 [__ASSUME_32BITUIDS]: Make code unconditional.
21593 [!__ASSUME_32BITUIDS]: Remove conditional code.
21594 * sysdeps/unix/sysv/linux/setegid.c: Do not include
21595 <kernel-features.h>.
21596 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
21597 unconditional.
21598 (__setresgid): Do not declare.
21599 [__ASSUME_32BITUIDS]: Make code unconditional.
21600 [!__ASSUME_32BITUIDS]: Remove conditional code.
21601 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
21602 <kernel-features.h>.
21603 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
21604 unconditional.
21605 (__setresuid): Do not declare.
21606 [__ASSUME_32BITUIDS]: Make code unconditional.
21607 [!__ASSUME_32BITUIDS]: Remove conditional code.
21608 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21609 <kernel-features.h>.
21610 [__ASSUME_32BITUIDS]: Make code unconditional.
21611 [!__ASSUME_32BITUIDS]: Remove conditional code.
21612 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
21613 <kernel-features.h>.
21614 [__ASSUME_32BITUIDS]: Make code unconditional.
21615 [!__ASSUME_32BITUIDS]: Remove conditional code.
21616
a386f1cc
RH
216172012-05-25 Richard Henderson <rth@twiddle.net>
21618
21619 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
21620 dl_hwcap to ifunc resolver.
21621 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
21622 elf_ifunc_invoke.
21623 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
21624 dl_hwcap to ifunc resolver.
21625 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
21626
b6550497
JM
216272012-05-24 Joseph Myers <joseph@codesourcery.com>
21628
21629 [BZ #14153]
21630 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
21631 for |x| <= 2**-26, not 2**-57.
21632 * math/libm-test.inc (acos_test): Do not allow spurious underflow
21633 exception.
21634
b0bc23a1
JL
216352012-05-24 Jeff Law <law@redhat.com>
21636
21637 * stdio-common/Makefile (tests): Add bug25.
21638 * stdio-common/bug25.c: New test.
21639
347c92e9
L
216402012-05-24 H.J. Lu <hongjiu.lu@intel.com>
21641
21642 [BZ #13576]
21643 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
21644 multiple of MALLOC_ALIGNMENT in size.
21645 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
21646
6bcc8b3f
JM
216472012-05-24 Joseph Myers <joseph@codesourcery.com>
21648
21649 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
21650 Require >= 256.
21651 (FILENAME_MAX): Use macro-int-constant.
21652 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
21653 (_IOFBF): Use macro-int-constant.
21654 (_IOLBF): Likewise.
21655 (_IONBF): Likewise.
21656 (SEEK_CUR): Likewise.
21657 (SEEK_END): Likewise.
21658 (SEEK_SET): Likewise.
21659 (TMP_MAX): Likewise.
21660 (EOF): Use macro-int-constant. Require < 0.
21661 (NULL): Use macro-constant. Require == 0.
21662 (stdin): Require type to be FILE *.
21663 (stdout): Likewise.
21664 (stderr): Likewise.
21665 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
21666 macro-int-constant.
21667 (EXIT_SUCCESS): Likewise.
21668 (NULL): Use macro-constant. Require == 0.
21669 (RAND_MAX): Use macro-int-constant.
21670 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
21671 [C99-based standards] (strtof): Require function.
21672 [C99-based standards] (strtold): Likewise.
21673 [C99-based standards] (strtoll): Likewise.
21674 [C99-based standards] (strtoull): Likewise.
21675 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21676 [ISO || ISO99 || ISO11] (limits.h): Likewise.
21677 [ISO || ISO99 || ISO11] (math.h): Likewise.
21678 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
21679 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21680 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21681
d18ea0c5
AS
216822012-05-24 Andreas Schwab <schwab@linux-m68k.org>
21683
21684 [BZ #14132]
56d25bb8
AS
21685 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
21686 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
21687 * intl/dgettext.c (DCGETTEXT): Likewise.
21688 * intl/gettext.c (DCGETTEXT): Likewise.
21689 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
21690 * posix/regex_internal.h (gettext): Likewise.
21691 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
21692 Remove declaration.
21693 * include/argz.h (__argz_count_internal)
21694 (__argz_stringify_internal): Remove declaration.
21695 (__argz_count, __argz_stringify): Declare hidden proto.
21696 * intl/dcgettext.c: Remove use of INTDEF.
21697 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
21698 * string/argz-stringify.c: Likewise.
21699 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21700 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21701 Declare hidden proto.
d18ea0c5
AS
21702 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21703 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21704 Declare hidden proto.
21705 * include/stdio.h (__asprintf_internal): Don't declare.
21706 (__asprintf): Don't define as macro. Declare hidden proto.
21707 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
21708 (__fsetlocking): Declare hidden proto.
21709 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
21710 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
21711 hidden proto.
21712 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
21713 (_IO_setlinebuf): Remove use of INTUSE.
21714 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
21715 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
21716 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
21717 Remove declaration.
21718 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
21719 (_IO_do_flush): Remove use of INTUSE.
21720 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
21721 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
21722 (_IO_adjust_column, _IO_least_wmarker)
21723 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
21724 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
21725 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
21726 (_IO_default_doallocate, _IO_wdefault_doallocate)
21727 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
21728 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
21729 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
21730 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
21731 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
21732 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
21733 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
21734 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
21735 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
21736 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
21737 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
21738 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
21739 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
21740 proto.
21741 (_IO_flush_all_internal, _IO_adjust_column_internal)
21742 (_IO_default_uflow_internal, _IO_default_finish_internal)
21743 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
21744 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
21745 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
21746 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
21747 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
21748 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
21749 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
21750 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
21751 (_IO_file_close_internal, _IO_file_close_it_internal)
21752 (_IO_file_underflow_internal, _IO_file_overflow_internal)
21753 (_IO_file_init_internal, _IO_file_attach_internal)
21754 (_IO_file_fopen_internal, _IO_file_read_internal)
21755 (_IO_file_sync_internal, _IO_file_seek_internal)
21756 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
21757 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
21758 (_IO_str_underflow_internal, _IO_str_overflow_internal)
21759 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
21760 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
21761 (_IO_list_all_internal, _IO_link_in_internal)
21762 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
21763 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
21764 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
21765 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
21766 (_IO_do_write_internal, _IO_padn_internal)
21767 (_IO_getline_info_internal, _IO_getline_internal)
21768 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
21769 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
21770 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
21771 (_IO_vfscanf_internal, _IO_vfprintf_internal)
21772 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
21773 (_IO_init_internal, _IO_un_link_internal): Don't declare.
21774 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
21775 with libc_hidden_ver, remove use of INTUSE.
21776 * libio/genops.c: Likewise.
21777 * libio/freopen.c: Likewise.
21778 * libio/freopen64.c: Likewise.
21779 * libio/iofclose.c: Likewise.
21780 * libio/iofdopen.c: Likewise.
21781 * libio/iofflush.c: Likewise.
21782 * libio/iofflush_u.c: Likewise.
21783 * libio/iofgets.c: Likewise.
21784 * libio/iofgets_u.c: Likewise.
21785 * libio/iofopen.c: Likewise.
21786 * libio/iofopncook.c: Likewise.
21787 * libio/iofread.c: Likewise.
21788 * libio/iofread_u.c: Likewise.
21789 * libio/ioftell.c: Likewise.
21790 * libio/iofwrite.c: Likewise.
21791 * libio/iogetline.c: Likewise.
21792 * libio/iogets.c: Likewise.
21793 * libio/iogetwline.c: Likewise.
21794 * libio/iopadn.c: Likewise.
21795 * libio/iopopen.c: Likewise.
21796 * libio/ioseekoff.c: Likewise.
21797 * libio/ioseekpos.c: Likewise.
21798 * libio/iosetbuffer.c: Likewise.
21799 * libio/iosetvbuf.c: Likewise.
21800 * libio/ioungetc.c: Likewise.
21801 * libio/ioungetwc.c: Likewise.
21802 * libio/iovdprintf.c: Likewise.
21803 * libio/iovsprintf.c: Likewise.
21804 * libio/iovsscanf.c: Likewise.
21805 * libio/memstream.c: Likewise.
21806 * libio/obprintf.c: Likewise.
21807 * libio/oldfileops.c: Likewise.
21808 * libio/oldiofclose.c: Likewise.
21809 * libio/oldiofdopen.c: Likewise.
21810 * libio/oldiofopen.c: Likewise.
21811 * libio/oldiopopen.c: Likewise.
21812 * libio/oldstdfiles.c: Likewise.
21813 * libio/putc.c: Likewise.
21814 * libio/setbuf.c: Likewise.
21815 * libio/setlinebuf.c: Likewise.
21816 * libio/stdfiles.c: Likewise.
21817 * libio/strops.c: Likewise.
21818 * libio/vasprintf.c: Likewise.
21819 * libio/vscanf.c: Likewise.
21820 * libio/vsnprintf.c: Likewise.
21821 * libio/vswprintf.c: Likewise.
21822 * libio/wfiledoalloc.c: Likewise.
21823 * libio/wfileops.c: Likewise.
21824 * libio/wgenops.c: Likewise.
21825 * libio/wmemstream.c: Likewise.
21826 * libio/wstrops.c: Likewise.
21827 * libio/__fpurge.c: Likewise.
21828 * libio/__fsetlocking.c: Likewise.
21829 * assert/assert.c: Likewise.
21830 * debug/fgets_chk.c: Likewise.
21831 * debug/fgets_u_chk.c: Likewise.
21832 * debug/fread_chk.c: Likewise.
21833 * debug/fread_u_chk.c: Likewise.
21834 * debug/gets_chk.c: Likewise.
21835 * debug/obprintf_chk.c: Likewise.
21836 * debug/vasprintf_chk.c: Likewise.
21837 * debug/vdprintf_chk.c: Likewise.
21838 * debug/vsnprintf_chk.c: Likewise.
21839 * debug/vsprintf_chk.c: Likewise.
21840 * malloc/mtrace.c: Likewise.
21841 * misc/error.c: Likewise.
21842 * misc/syslog.c: Likewise.
21843 * stdio-common/asprintf.c: Likewise.
21844 * stdio-common/fxprintf.c: Likewise.
21845 * stdio-common/getw.c: Likewise.
21846 * stdio-common/isoc99_fscanf.c: Likewise.
21847 * stdio-common/isoc99_scanf.c: Likewise.
21848 * stdio-common/isoc99_vfscanf.c: Likewise.
21849 * stdio-common/isoc99_vscanf.c: Likewise.
21850 * stdio-common/isoc99_vsscanf.c: Likewise.
21851 * stdio-common/printf-prs.c: Likewise.
21852 * stdio-common/printf_fp.c: Likewise.
21853 * stdio-common/printf_fphex.c: Likewise.
21854 * stdio-common/printf_size.c: Likewise.
21855 * stdio-common/putw.c: Likewise.
21856 * stdio-common/scanf.c: Likewise.
21857 * stdio-common/sprintf.c: Likewise.
21858 * stdio-common/tmpfile.c: Likewise.
21859 * stdio-common/vfprintf.c: Likewise.
21860 * stdio-common/vfscanf.c: Likewise.
21861 * stdlib/strfmon_l.c: Likewise.
21862 * sunrpc/openchild.c: Likewise.
21863 * sunrpc/xdr_stdio.c: Likewise.
21864 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
21865 * sysdeps/mach/hurd/tmpfile.c: Likewise.
21866
d6c33fda
RM
218672012-05-24 Roland McGrath <roland@hack.frob.com>
21868
c1487492
RM
21869 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21870
21871 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
21872 in the third column, to generate for the shared library an IFUNC
21873 that uses _dl_vdso_vsym.
21874 * Makerules (COMPILE.c, compile-stdin.c): New variables.
21875 * Makeconfig (object-suffixes-noshared): New variable.
21876
21877 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
21878 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
21879 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
21880 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
21881
d6c33fda
RM
21882 [BZ #14132]
21883 * include/sys/time.h (__gettimeofday): Remove macro.
21884 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
21885 * time/gettimeofday.c (__gettimeofday): Remove #undef.
21886 Remove INTDEF.
21887 (__gettimeofday): Add libc_hidden_def.
21888 (gettimeofday): Add libc_hidden_weak.
21889 * sysdeps/mach/gettimeofday.c: Likewise.
21890 * sysdeps/posix/gettimeofday.c: Likewise.
21891 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
21892 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
21893 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
21894 (__gettimeofday_internal): Remove strong_alias.
21895 (__gettimeofday): Add libc_hidden_def.
21896 (gettimeofday): Add libc_hidden_weak.
21897 * sysdeps/unix/syscalls.list (gettimeofday):
21898 Remove __gettimeofday_internal alias.
21899
b5a2bbe6
L
219002012-05-24 Daniel Jacobowitz <drow@false.org>
21901 H.J. Lu <hongjiu.lu@intel.com>
21902
21903 [BZ #12495]
21904 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
21905 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
21906 (largebin_index_32_big): New.
21907 (largebin_index): Use it for 16-byte alignment.
21908 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
21909 correction with front_misalign.
21910
cfba4fda
L
219112012-05-24 H.J. Lu <hongjiu.lu@intel.com>
21912
7f907421
L
21913 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
21914 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
21915 Likewise.
21916 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
21917 Likewise.
21918 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21919 Likewise.
21920 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
21921 Likewise.
21922 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
21923 Likewise.
21924 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
21925 Likewise.
21926 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
21927 Likewise.
21928 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
21929 Likewise.
21930 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
21931 Likewise.
21932 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
21933 Likewise.
21934 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
21935 Likewise.
21936 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
21937 Likewise.
21938
cfba4fda
L
21939 * scripts/data/c++-types-x32-linux-gnu.data: New file.
21940 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
21941
80bad0cc
JM
219422012-05-24 Joseph Myers <joseph@codesourcery.com>
21943
7a25eb06
JM
21944 [BZ #10846]
21945 [BZ #14036]
21946 * math/libm-test.inc (exp_test): Add test from bug 14036.
21947 (pow_test): Add test from bug 10846.
21948
795405f9
JM
21949 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
21950 and other flags.
21951 (special_function): Do not include flags in test name.
21952 (parse_args): Likewise.
21953 * sysdeps/i386/fpu/libm-test-ulps: Update.
21954 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21955 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21956 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21958
80bad0cc
JM
21959 * math/gen-libm-test.pl (%beautify): Add entries for underflow
21960 exceptions.
21961 * math/libm-test.inc ("Philosophy"): Update comment about
21962 exception testing.
21963 (UNDERFLOW_EXCEPTION): New macro.
21964 (UNDERFLOW_EXCEPTION_OK): Likewise.
21965 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
21966 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
21967 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
21968 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
21969 (INVALID_EXCEPTION_OK): Update value.
21970 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21971 (OVERFLOW_EXCEPTION_OK): Likewise.
21972 (IGNORE_ZERO_INF_SIGN): Likewise.
21973 (test_exceptions): Handle underflow exceptions.
21974 (acos_test): Update for underflow exception expectations.
21975 (cexp_test): Likewise.
21976 (clog_test): Likewise.
21977 (clog10_test): Likewise.
21978 (csqrt_test): Likewise.
21979 (ctan_test): Likewise.
21980 (ctanh_test): Likewise.
21981 (exp_test): Likewise.
21982 (exp10_test): Likewise.
21983 (exp2_test): Likewise.
21984 (expm1_test): Likewise.
21985 (fma_test): Likewise.
21986 (j0_test): Likewise.
21987 (jn_test): Likewise.
21988 (nexttoward_test): Likewise.
21989 (pow_test): Likewise.
21990 (scalbn_test): Likewise.
21991 (scalbln_test): Likewise.
21992 (tan_test): Likewise.
21993 (y1_test): Likewise.
21994 * sysdeps/i386/fpu/libm-test-ulps: Update.
21995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21996
9e0e3d0b
DM
219972012-05-23 David S. Miller <davem@davemloft.net>
21998
21999 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22000 (__libc_sigaction): Remove unused local variables.
22001
ccd0a08f
L
220022012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22003
22004 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
22005
62bdf9a6
PE
220062012-05-23 Paul Eggert <eggert@cs.ucla.edu>
22007
f8591f80
PE
22008 mktime: avoid signed integer overflow
22009 * time/mktime.c (__mktime_internal): Do not mishandle the case
22010 where diff == INT_MIN.
22011
94c7d826
PE
22012 mktime: simplify computation of average
22013 * time/mktime.c (ranged_convert): Use new time_t_avg function
22014 instead of rolling our own (probably-slower) code.
22015
ce73d683
PE
22016 mktime: do not assume signed right shift propagates sign bit
22017 * time/mktime.c (isdst_differ): New static function.
22018 (__mktime_internal): No need to normalize tm_isdst now.
22019 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
22020 tm_isdst values.
22021
72a22e59
PE
22022 mktime: merge another wrapv change from gnulib
22023 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
22024 from some compilers.
22025
68605433
PE
22026 mktime: remove incorrect attempt at unusual arithmetics
22027 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
22028 The code didn't really work on such machines anyway.
22029 (TYPE_MINIMUM): Assume two's complement.
22030 (twos_complement_arithmetic): Verify that long_int and time_t
22031 are two's complement (or unsigned, in the latter case).
22032
03cf7fe3
PE
22033 mktime: check signed shifts on long_int and time_t, too
22034 * time/mktime.c (SHR): Check that shifts work as desired
22035 on the types long_int and time_t too, as SHR is used on
22036 such types.
22037
f04dfbc2
PE
22038 mktime: do not assume 'long' is wide enough
22039 * time/mktime.c (verify): Move decl up.
22040 (long_int): New type.
22041 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
22042 to remove assumption in the code that 'long' is wide enough to
22043 store year values. This assumption is not true on x32 and on
22044 some non-glibc platforms.
22045
62bdf9a6
PE
22046 mktime: merge wrapv change from gnulib
22047 * time/mktime.c (WRAPV): New macro.
22048 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
22049 (guess_time_tm, __mktime_internal): Do not assume that signed
22050 integer overflow wraps around; modern compilers generate code
22051 where this assumption is no longer valid.
22052
5e292e4f
L
220532012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22054
22055 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22056 Replace "jmp L(pseudo_end)" with "ret".
22057 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
22058 Likewise.
22059
8caf8c87
AJ
220602012-05-23 Andreas Jaeger <aj@suse.de>
22061
22062 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
22063 * sysdeps/unix/sysv/linux/poll.c: Remove file.
22064
1a09dc56
AJ
220652012-05-23 Andreas Jaeger <aj@suse.de>
22066 Maximilian Attems <max@stro.at>
22067
22068 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
22069 New macros.
22070
1c87aba0
L
220712012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22072
22073 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
22074 code so that pseudo_end is just ret and the stack pointer is
22075 correct also for static library in error case.
22076
40e45bd5
JM
220772012-05-23 Joseph Myers <joseph@codesourcery.com>
22078
c2670533
JM
22079 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
22080 move to syscalls.list.
22081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
22082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22085
40e45bd5
JM
22086 * manual/install.texi (Running make install): Do not mention Linux
22087 kernel version for which pt_chown is not needed.
22088 (Linux): Do not mention problems with nscd with 2.0 kernels.
22089 * INSTALL: Regenerated.
22090
be08eda5
AJ
220912012-05-23 Andreas Jaeger <aj@suse.de>
22092
22093 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
22094 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
22095 macro.
22096 * sysdeps/unix/sysv/linux/s390/bits/mman.h
22097 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22098 * sysdeps/unix/sysv/linux/sh/bits/mman.h
22099 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22100 * sysdeps/unix/sysv/linux/i386/bits/mman.h
22101 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22102 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
22103 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22104 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
22105 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22106 * sysdeps/unix/sysv/linux/bits/in.h
22107 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
22108
a6a056bb
RM
221092012-05-22 Roland McGrath <roland@hack.frob.com>
22110
22111 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
22112 (PREPARE_VERSION): Just use assert instead, it will be elided
22113 under [NDEBUG] anyway.
22114
c9009328
L
221152012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22116
22117 * sysdeps/unix/sysv/linux/Makefile: Include
22118 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 22119 (sysdep_routines): Remove sysctl.
c9009328
L
22120 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
22121 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
22122 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
22123 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
22124 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
22125
73338355
AJ
221262012-05-22 Andreas Jaeger <aj@suse.de>
22127
22128 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
22129 that pseudo_end is just ret and the stack pointer is correct also
22130 for static library in error case.
22131
d44638b0
PP
221322012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
22133
22134 [BZ #14122]
22135 * nss/nsswitch.c (defconfig_entries): New variable.
22136 (__nss_database_lookup): Don't leak defconfig entries.
22137 (nss_parse_service_list): Don't leak on error paths.
22138 (free_database_entries): New function.
22139 (free_defconfig): New function.
22140 (free_mem): Move common code to free_database_entries.
22141
31a39bd8
L
221422012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22143
da0331a8
L
22144 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
22145 Add arch_prctl.
22146 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
22147
31a39bd8
L
22148 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22149 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
22150 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
22151 New macro.
22152 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
22153 (INTERNAL_SYSCALL_TYPES): Likewise.
22154 (LOAD_ARGS_TYPES_[1-6]): Likewise.
22155 (LOAD_REGS_TYPES_[1-6]): Likewise.
22156 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
22157 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
22158
45470df3
AZ
221592012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22160
22161 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
22162 copysignl for GLIBC_2_0.
22163 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
22164 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
22165 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
22166 logbl for GLIBC_2_0.
22167 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
22168 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
22169
98a61bcb
L
221702012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22171
a4f6e481
L
22172 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
22173 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22174
f63d5db6
L
22175 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22176 Use "neg %eax".
22177
98a61bcb
L
22178 * time/mktime.c: Update copyright years.
22179
95770f14
PE
221802012-05-22 Paul Eggert <eggert@cs.ucla.edu>
22181
6226efbd
PE
22182 mktime: merge comment-quoting-style change from gnulib
22183 * time/mktime.c: Quote 'like this' in comments.
22184 The GNU coding standards suggest that we no longer quote `like this',
22185 as "`" and "'" are typically rendered asymmetrically nowadays.
22186 The typical gnulib style is to quote 'like this' when quoting
22187 code, and "like this" when quoting English.
22188
b99e4f78
PE
22189 * time/mktime.c (compile-command): Add "-I.".
22190
643e01e6
PE
22191 mktime: merge mktime-internal.h change from gnulib
22192 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
22193
2554247d
PE
22194 mktime: merge time_r change from gnulib
22195 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
22196
826dd0ab
PE
22197 mktime: merge DEBUG change from gnulib
22198 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
22199 case system <time.h> has a #define.
22200
bd83aabe
PE
22201 mktime: merge <sys/types.h> change from gnulib
22202 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
22203 since <time.t> is now guaranteed to define time_t.
22204
95770f14
PE
22205 mktime: merge HAVE_CONFIG_H change from gnulib
22206 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
22207
5e1a27a9
L
222082012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22209
0e44a77e
L
22210 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22211 Use "neg %eax".
22212
5e1a27a9
L
22213 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
22214 __rlim_t cast.
22215 (struct rusage): Use anonymous union to pad each field to
22216 __syscall_slong_t.
22217
46259bec
DM
222182012-05-21 David S. Miller <davem@davemloft.net>
22219
22220 * Makefules (o-iterator): Remove .s cases.
22221 (compile-command.s): Delete.
22222 (COMPILE.s): Delete.
22223 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
22224
59f0c22e
JM
222252012-05-21 Joseph Myers <joseph@codesourcery.com>
22226
22227 * configure.in (libc_cv_predef_stack_protector): Only consider
22228 "foobar" and "__stack_chk_fail" lines in libc_undefs.
22229 * configure: Regenerated.
22230
20c07380
L
222312012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22232
bbb3154b
L
22233 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22234 New macro. Use R*LP on int and pointer.
22235 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
22236 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
22237 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
22238 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
22239
20c07380
L
22240 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
22241 [__WORDSIZE_TIME64_COMPAT32] instead of
22242 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
22243 (struct utmp): Likewise.
22244 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
22245 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
22246 Renamed to ...
22247 (__WORDSIZE_TIME64_COMPAT32): This.
22248 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
22249 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
22250 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
22251 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
22252 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
22253 (__WORDSIZE_TIME64_COMPAT32): New macro.
22254
d8d1017e
AJ
222552012-05-21 Andreas Jaeger <aj@suse.de>
22256
22257 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
22258 only if [SHARED]. Add prototype for __wcschr_ia32.
22259
6c7fb145
RM
222602012-05-21 Roland McGrath <roland@hack.frob.com>
22261
22262 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
22263 of %rbp unmolested in the jmp_buf while mangling the low bits.
22264 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
22265 unmolested high bits of %rbp while demangling the low bits.
22266 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22267
66274218
AJ
222682012-05-21 Andreas Jaeger <aj@suse.de>
22269
07c58f8f
AJ
22270 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
22271 * sunrpc/svc_simple.c: Use it for registerrpc.
22272 * sunrpc/xcrypt.c: Use it for passwd2des.
22273
66274218
AJ
22274 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
22275
61f65140
L
222762012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22277
22278 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
22279 Don't define if [__SYSCALL_WORDSIZE != 32].
22280 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
22281 New macro.
22282
5fefb436
AJ
222832012-05-21 Bruno Haible <bruno@clisp.org>
22284 Andreas Jaeger <aj@suse.de>
22285
22286 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
22287 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
22288 inptr and inend for must_buffer_ch.
22289 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
22290 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
22291 * stdio-common/Makefile (tests): Remove bug15.
22292 (bug15-ENV): Remove macro.
22293 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
22294 anymore.
22295
d8e272ab
AJ
222962012-05-19 Andreas Jaeger <aj@suse.de>
22297 Roland McGrath <roland@hack.frob.com>
22298
22299 * manual/contrib.texi: Completely rewritten. It contains now an
22300 alphabetical list of contributors and their contributions.
22301
4a56a162
RH
223022012-05-21 Richard Henderson <rth@twiddle.net>
22303
22304 * misc/getauxval.c (__getauxval): Use unsigned long int.
22305 * misc/sys/auxv.h: Include <sys/cdefs.h>.
22306 (getauxval): Use unsigned long int.
22307
d024d23c
L
223082012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22309
22310 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22311
cbc00a03
RM
223122012-05-21 Roland McGrath <roland@hack.frob.com>
22313
22314 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
22315 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
22316 __alignof__ (long double).
22317
478143fa
AZ
223182012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22319
22320 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22321
c7683a6d
RH
223222012-05-20 Richard Henderson <rth@twiddle.net>
22323
22324 * misc/getauxval.c: New file.
22325 * misc/sys/auxv.h: New file.
22326 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
22327 (routines): Add getauxval.
22328 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
22329 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
22330 * elf/dl-sysdep.c (_dl_auxv): Remove.
22331 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
22332 * elf/dl-support.c (_dl_auxv): New variable.
22333 (_dl_aux_init): Initialize it.
22334 * manual/startup.texi (Auxiliary Vector): New node.
22335 * sysdeps/generic/bits/hwcap.h: New file.
22336 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
22337 * sysdeps/powerpc/sysdep.h: ... here. Include it.
22338 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
22339 * sysdeps/sparc/sysdep.h: ... here. Include it.
22340 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
22341 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
22342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22343 Update.
c7683a6d
RH
22344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
22345 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
22346 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
22347 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
22348 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22349 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22350 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
22351 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
22352
a6f1845d
AZ
223532012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22354
22355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22356
cbcbe830
DM
223572012-05-19 David S. Miller <davem@davemloft.net>
22358
22359 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22360
e0b16cc2
JM
223612012-05-19 Joseph Myers <joseph@codesourcery.com>
22362
22363 [BZ #14123]
22364 * math/s_ccosh.c: Include <float.h>
22365 (__ccosh): Avoid internal overflow calculating sinh and cosh
22366 values before multiplying by sin and cos values.
22367 * math/s_ccoshf.c: Likewise.
22368 * math/s_ccoshl.c: Likewise.
22369 * math/s_csin.c: Likewise.
22370 * math/s_csinf.c: Likewise.
22371 * math/s_csinl.c: Likewise.
22372 * math/s_csinh.c: Likewise.
22373 * math/s_csinhf.c: Likewise.
22374 * math/s_csinhl.c: Likewise.
22375 * math/libm-test.inc (ccos_test): Add more tests.
22376 (ccosh_test): Likewise.
22377 (csin_test): Likewise.
22378 (csinh_test): Likewise.
22379 * sysdeps/i386/fpu/libm-test-ulps: Update.
22380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22381
6ad13e08
L
223822012-05-19 H.J. Lu <hongjiu.lu@intel.com>
22383
f66f0ce8
L
22384 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
22385 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
22386
6ad13e08
L
22387 * sysdeps/x86_64/x32/_itoa.h: Add comment.
22388
b1d072a7
JM
223892012-05-19 Joseph Myers <joseph@codesourcery.com>
22390
22391 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
22392 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
22393 * sysdeps/powerpc/soft-fp/Versions: Likewise.
22394 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
22395 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
22396 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
22397 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
22398 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
22399 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
22400 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
22401 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
22402 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
22403 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
22404 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
22405 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
22406 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
22407 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
22408 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
22409 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
22410 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
22411 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
22412 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
22413 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
22414 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
22415 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
22416 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
22417 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
22418 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
22419 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
22420 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
22421 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
22422
9eae47cb
AJ
224232012-05-18 Andreas Jaeger <aj@suse.de>
22424
22425 * csu/.gitignore: Delete.
22426
bb07f69f
L
224272012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22428
22429 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
22430 (timex): Use __syscall_slong_t.
22431
e6bdb741
AJ
224322012-05-18 Andreas Jaeger <aj@suse.de>
22433 Carlos O'Donell <carlos_odonell@mentor.com>
22434
22435 * manual/install.texi (Configuring and compiling): Update
22436 description about files modified in the source directory.
d6c33fda 22437 * INSTALL: Regenerated.
e6bdb741 22438
1b74487e
L
224392012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22440
22441 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
22442 value. Use "or" to set return value to -1.
22443 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
22444 negate return value.
22445
a88b64b9
TMQMF
224462012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22447
22448 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
22449 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
22450 failure if the compiler has Graphite support disabled.
22451 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
22452 Likewise.
22453 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
22454 CFLAGS-memmove.c): Likewise.
22455 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
22456 Likewise.
22457
3707636e
L
224582012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22459
610b8622
L
22460 * sysdeps/x86_64/x32/_itoa.h: New file.
22461
7cd195df
L
22462 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
22463 getdents system call only if kernel and user dirents have the
22464 same d_ino and d_off.
22465
94b07d20
L
22466 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22467 LLONG_MAX != LONG_MAX.
22468 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22469 (_fitoa_word): Likewise.
22470
18298070
L
22471 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
22472 years.
22473 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
22474 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
22475 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
22476
553c7ea4
L
22477 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
22478 include <bits/wordsize.h>. Check __x86_64__ instead of
22479 __WORDSIZE.
22480 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
22481 if __x86_64__ is defined. Use anonymous union on fpstate.
22482
3707636e
L
22483 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
22484 anonymous union.
22485
b53ef01a
AS
224862012-05-18 Andreas Schwab <schwab@linux-m68k.org>
22487
37fb1dc0
AS
22488 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
22489 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
22490 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
22491 Refer to _rtld_local_ro instead of _rtld_global_ro.
22492 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
22493 Likewise.
22494 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
22495 Likewise.
22496 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
22497 Likewise.
22498 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
22499 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
22500 of _rtld_global, and rtld_progname instead of _dl_argv[0].
22501
b53ef01a
AS
22502 * sysdeps/powerpc/powerpc32/dl-machine.c
22503 (__elf_machine_runtime_setup) [PROF]: Don't reference
22504 _dl_prof_resolve.
22505
7a185db2
AJ
225062012-05-18 Andreas Jaeger <aj@suse.de>
22507
22508 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
22509 function only available for GCCs before 3.4 since GCC 3.4
22510 introduced a builtin.
22511 (lrint): Likewise.
22512 (llrintf): Likewise.
22513 (llrint): Likewise.
22514 (fmaxf): Likewise.
22515 (fmax): Likewise.
22516 (fminf): Likewise.
22517 (fmin): Likewise.
22518 (rint): Likewise.
22519 (rintf): Likewise.
22520 (nearbyint): Likewise.
22521 (nearbyintf): Likewise.
22522 (ceil): Likewise.
22523 (ceilf): Likewise.
22524 (floor): Likewise.
22525 (floorf): Likewise.
22526
3e5aef87
L
225272012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22528
428bd707
L
22529 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
22530 on both fields and cast pointer to __syscall_ulong_t.
22531
3e5aef87
L
22532 * bits/types.h (__fsword_t): New type.
22533 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
22534 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
22535 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22536 (__FSWORD_T_TYPE): Likewise.
22537 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22538 (__FSWORD_T_TYPE): Likewise.
22539 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22540 (__FSWORD_T_TYPE): Likewise.
22541 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
22542 (__FSWORD_T_TYPE): Likewise.
22543 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
22544 __SWORD_TYPE with __fsword_t.
22545 (statfs64): Likewise.
22546
1ba7c3dc
DM
225472012-05-17 David S. Miller <davem@davemloft.net>
22548
22549 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
22550
59910343
AJ
225512012-05-17 Andreas Jaeger <aj@suse.de>
22552
22553 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
22554 warning.
22555
2e4c1e9e
L
225562012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22557
22558 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
22559
de7f5ce7
AJ
225602012-05-17 Andreas Jaeger <aj@suse.de>
22561
22562 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
22563 when it is used.
22564
286abc3d
CM
225652012-05-17 Chris Metcalf <cmetcalf@tilera.com>
22566
22567 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
22568
477cc68e
L
225692012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22570
22571 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
22572 * sysdeps/x86_64/tst-mallocalign1.c: New file.
22573
1a0994f5
CD
225742012-05-17 Andreas Jaeger <aj@suse.de>
22575 Carlos O'Donell <carlos_odonell@mentor.com>
22576
22577 [BZ #14059]
22578 * sysdeps/x86_64/multiarch/init-arch.h
22579 (bit_YMM_Usable): Rename to...
22580 (bit_AVX_Usable): ... this.
22581 (bit_FMA4_Usable): New macro.
22582 (bit_XMM_state): New macro.
22583 (bit_YMM_state): New macro.
22584 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
22585 [__ASSEMBLER__] (index_AVX_Usable): ... this.
22586 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
22587 (CPUID_OSXSAVE): New macro.
22588 (CPUID_AVX): New macro.
22589 (CPUID_FMA4): New macro.
22590 (index_YMM_Usable): Rename to...
22591 (index_AVX_Usable): ... this.
22592 (HAS_AVX): Use HAS_ARCH_FEATURE.
22593 (HAS_FMA4): Likewise.
22594 (HAS_YMM_USABLE): Remove.
22595 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22596 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
22597 are present.
22598 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
22599 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
22600 * sysdeps/x86_64/multiarch/Makefile: Likewise.
22601 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
22602 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
22603
0af797de
CM
226042012-05-17 Chris Metcalf <cmetcalf@tilera.com>
22605
22606 * math/libm-test.c: Support platforms without multiple rounding modes.
22607 * math/bug-nextafter.c: Support platforms without FP exceptions.
22608 * math/bug-nexttoward.c: Likewise.
22609 * math/test-fenv.c: Likewise.
22610 * math/test-misc.c: Likewise.
22611 * stdlib/bug-getcontext.c: Likewise.
22612
e39745ff
AJ
226132012-05-17 Andreas Jaeger <aj@suse.de>
22614
22615 * manual/examples/search.c (critter_cmp): Change signature to
22616 avoid warnings.
22617 * manual/string.texi (Collation Functions): Likewise.
22618
48970aba
L
226192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22620
22621 * bits/types.h: Fold copyright years.
22622 * bits/typesizes.h: Likewise.
22623 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
22624 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
22625 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
22626 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
22627 * time/time.h: Likewise.
22628
bedee953
PP
226292012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
22630
22631 [BZ #208]
22632 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
22633 in instead of returning them. Return void.
22634 (__libc_mallinfo): Accumulate over all arenas.
22635 (__malloc_stats): Adjust for change in int_mallinfo interface.
22636
61653dfb
RM
226372012-05-16 Roland McGrath <roland@hack.frob.com>
22638
30b99d79
RM
22639 [BZ #10375]
22640 * configure.in (NM): Add AC_CHECK_TOOL for it.
22641 (libc_extra_cflags): New substituted variable.
22642 Check for -fstack-protector being used implicitly.
22643 * configure: Regenerated.
22644 * config.make.in (config-extra-cflags): New variable,
22645 gets @libc_extra_cflags@.
22646 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
22647
61653dfb
RM
22648 [BZ #10375]
22649 * configure.in: Check for _FORTIFY_SOURCE being predefined.
22650 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
22651 * configure: Regenerated.
22652 * config.make.in (CPPUNDEFS): New substituted variable.
22653 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
22654 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
22655 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
22656
661768bb
L
226572012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22658
22659 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
22660 (mq_attr): Use __syscall_slong_t.
22661
d4261567
L
226622012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22663
22664 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
22665 Check __x86_64__ instead of __WORDSIZE.
22666 (_STAT_VER_LINUX): Likewise.
22667 (stat): Check __x86_64__ instead of __WORDSIZE. Use
22668 __syscall_ulong_t and __syscall_slong_t.
22669 (stat64): Likewise.
22670
cf3ff365
L
226712012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22672
22673 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
22674
76cf3e4d
L
226752012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22676
22677 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
22678
a637753a
L
226792012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22680
22681 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
22682 __syscall_ulong_t.
22683
d5e05119
L
22684 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
22685 include <bits/wordsize.h>. Check __x86_64__ instead of
22686 __WORDSIZE.
22687 (greg_t): Use "__extension__ long long int" if __x86_64__ is
22688 defined.
22689 (mcontext_t): Replace "unsigned long" with "unsigned long long".
22690
f62ee380
L
22691 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
22692 include <bits/wordsize.h>. Check __x86_64__ instead of
22693 __WORDSIZE.
22694 (user_regs_struct): Use "__extension__ unsigned long long"
22695 instead of "unsigned long" if __x86_64__ is defined.
22696 (user): Likewise. Pad after pointer field if __ILP32__ is
22697 defined.
22698
4e124ced
JM
226992012-05-16 Joseph Myers <joseph@codesourcery.com>
22700
6a3951a0
JM
22701 * configure.in (makeinfo): Require version 4.5 or later. Allow
22702 versions 5 to 9.
22703 * configure: Regenerated.
22704 * manual/install.texi (texinfo): Increase version requirement to
22705 4.5 or later.
22706 * INSTALL: Regenerated.
22707
4e124ced
JM
22708 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
22709
953ca31a
L
227102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22711
22712 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
22713
617aca05
L
22714 * sysdeps/x86_64/x32/ffs.c: New file.
22715
5762f7ae
L
22716 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
22717 __syscall_ulong_t.
22718 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
22719 defined. Use __syscall_ulong_t.
22720 (shminfo): Use __syscall_ulong_t.
22721 (shm_info): Likewise.
22722
a26b6856
L
22723 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
22724 __syscall_ulong_t.
22725
cb2b9ef7
L
22726 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
22727 <bits/wordsize.h>.
22728 (msgqnum_t): Use __syscall_ulong_t.
22729 (msglen_t): Likewise.
22730 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
22731 __syscall_ulong_t.
22732
34683bb0
L
22733 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
22734 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22735
84a68786
L
22736 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
22737
48baa5f1
L
22738 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
22739 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
22740
180be88b
L
22741 * sysvipc/sys/msg.h (msgbuf): Replace long int with
22742 __syscall_slong_t.
22743
5e90c8ad
L
22744 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
22745 include <bits/wordsize.h>. Check __x86_64__ instead of
22746 __WORDSIZE.
22747
23dfb58b
L
22748 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
22749 "unsigned long long int" if __x86_64__ is defined.
22750 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
22751
ce5d54b0
L
22752 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
22753 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22754 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
22755
13dc9eac
L
22756 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
22757 <stdint.h>.
22758 (GET_PC): Cast to uintptr_t first.
22759 (GET_FRAME): Likewise.
22760 (GET_STACK): Likewise.
22761
a7895d15
L
22762 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
22763 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
22764 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
22765 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
22766 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
22767 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
22768 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
22769 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
22770 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
22771 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
22772 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
22773 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
22774 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
22775 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
22776 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
22777 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
22778 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
22779 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
22780 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
22781 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
22782 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
22783 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
22784 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
22785 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
22786 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
22787 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
22788 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
22789 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
22790 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
22791
656416c9
AS
227922012-05-16 Andreas Schwab <schwab@linux-m68k.org>
22793
5bd66283
AS
22794 * Makerules (+depfiles): Also collect depfiles from .oS in
22795 $(extra-objs).
22796 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
22797 .oS, $(libnldbl-routines)).
22798
656416c9
AS
22799 * Makerules (native-compile-mkdep-flags): Define.
22800 * sunrpc/Makefile (extra-objs): Add $(addprefix
22801 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
22802 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
22803 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
22804 calling $(make-target-directory).
22805
a46f2169
L
228062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22807
22808 * bits/types.h (__snseconds_t): Removed.
22809 * time/time.h (struct timespec): Replace __snseconds_t with
22810 __syscall_slong_t.
22811 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
22812 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
22813 Likewise.
22814 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22815 (__SNSECONDS_T_TYPE): Likewise.
22816 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22817 (__SNSECONDS_T_TYPE): Likewise.
22818 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22819 (__SNSECONDS_T_TYPE): Likewise.
22820
6af6528b
L
228212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22822
22823 * sysdeps/mach/hurd/bits/typesizes.h
22824 (__SYSCALL_SLONG_TYPE): New macro.
22825 (__SYSCALL_ULONG_TYPE): Likewise.
22826
de986b56
L
228272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22828
22829 * bits/types.h (__syscall_slong_t): New type.
22830 (__syscall_ulong_t): Likewise.
22831
22832 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
22833 (__SYSCALL_ULONG_TYPE): Likewise.
22834 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22835 (__SYSCALL_SLONG_TYPE): Likewise.
22836 (__SYSCALL_ULONG_TYPE): Likewise.
22837 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22838 (__SYSCALL_SLONG_TYPE): Likewise.
22839 (__SYSCALL_ULONG_TYPE): Likewise.
22840 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22841 (__SYSCALL_SLONG_TYPE): Likewise.
22842 (__SYSCALL_ULONG_TYPE): Likewise.
22843
85736dc7
L
228442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22845
22846 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
22847 Add sigaltstack-offsets.sym.
22848 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
22849 <sigaltstack-offsets.h>.
22850 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
22851 longjmp_msg pointer.
22852 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
22853 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
22854 signal stack.
22855 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
22856
cc03b296
JM
228572012-05-15 Joseph Myers <joseph@codesourcery.com>
22858
a9538892
JM
22859 * elf/stackguard-macros.h: Remove file.
22860 * sysdeps/generic/stackguard-macros.h: New file.
22861 * sysdeps/i386/stackguard-macros.h: Likewise.
22862 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22863 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22864 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22865 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22866 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22867 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22868 * sysdeps/x86_64/stackguard-macros.h: Likewise.
22869 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
22870 <elf/stackguard-macros.h>.
22871
cc03b296
JM
22872 [BZ #14109]
22873 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
22874 __aligned__ in attribute.
22875 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
22876 (gregset_t): Likewise.
22877
93171016
L
228782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22879
22880 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
22881 * sysdeps/x86_64/64/Implies-after: Here. New file.
22882 * sysdeps/x86_64/x32/Implies-after: New file.
22883
d86813a0
L
228842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22885
22886 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
22887 and access return value for _dl_profile_fixup. Use R10_LP to
22888 load frame size.
22889
2953ec75
L
228902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22891
22892 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
22893
3b550e9e
L
228942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22895
22896 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
22897 * sysdeps/x86_64/x32/sysdep.h: New file.
22898
eda41706
L
228992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22900
22901 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
22902 * sysdeps/x86_64/setjmp.S: Likewise.
22903
9ea01d93
AZ
229042012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22905
22906 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
22907 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
22908 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
22909 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
22910 remove unused global constant.
22911
02a91938
CM
229122012-05-15 Chris Metcalf <cmetcalf@tilera.com>
22913
22914 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
22915 include of <not-cancel.h>.
22916
6540185f
RM
229172012-05-15 Roland McGrath <roland@hack.frob.com>
22918
22919 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
22920
509072a0
AJ
229212012-05-15 Jeff Law <law@redhat.com>
22922 Andreas Jaeger <aj@suse.de>
22923
22924 [BZ #13594]
22925 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
22926 out from...
22927 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
22928 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
22929 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
22930 code changing __hst_map_handle.map.
22931
ba75122d
RM
229322012-05-15 Roland McGrath <roland@hack.frob.com>
22933
22934 * configure.in (sysnames): Look for Implies-before and Implies-after
22935 files.
22936 * configure: Regenerated.
22937
890d8bd8
L
229382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22939
22940 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
22941 8-byte data alignment with LP_SIZE alignment.
22942
f6ee6623
L
229432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22944
22945 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
22946 into R10_LP.
22947
ea2626f6
L
229482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22949
22950 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
22951
085f715e
L
229522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22953
22954 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
22955 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
22956 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
22957 Likewise.
22958 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22959
be8498fc
L
229602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22961
22962 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
22963 (stackinfo_sub_sp): Likewise.
22964
70bc83b9
L
229652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22966
22967 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
22968 RAX_LP.
22969
9bc0b730
L
229702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22971
22972 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
22973 into R*_LP.
22974
6d2850e7
L
229752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22976
22977 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
22978 sizes into R*_LP.
22979
3cb84561
L
229802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22981
22982 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
22983
54e2ed81
L
229842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22985
22986 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
22987 into R11_LP and load __x86_64_shared_cache_size_half into
22988 R8_LP.
22989
8a17f349
L
229902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22991
22992 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
22993 R8_LP.
22994
777b1eea
AZ
229952012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22996
22997 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
22998 logb for POWER7.
22999 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
23000 logbf for POWER7.
23001 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
23002 logbl for POWER7.
23003 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
23004 powerpc32/power7/fpu/s_logb.c via #include.
23005 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
23006 powerpc32/power7/fpu/s_logbf.c via #include.
23007 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
23008 powerpc32/power7/fpu/s_logbl.c via #include.
23009
d20d4ac2
JM
230102012-05-15 Joseph Myers <joseph@codesourcery.com>
23011
23012 * README.libm: Remove file.
23013
6cdef1ab
L
230142012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23015
23016 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
23017 count for x32. Use R*_LP and omit operand-size suffix.
23018
0b254d8f
L
230192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23020
23021 * shlib-versions: Move x86_64-.*-linux.* entries to ...
23022 * sysdeps/x86_64/64/shlib-versions: Here. New file.
23023 * sysdeps/x86_64/x32/shlib-versions: New file.
23024
ceb809dc
RM
230252012-05-14 Roland McGrath <roland@hack.frob.com>
23026
23027 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
23028 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
23029 Use _dl_fatal_printf instead.
23030
37f1abd4
JM
230312012-05-14 Joseph Myers <joseph@codesourcery.com>
23032
23033 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
23034 set if not set by the user. Do not allow for being unset.
23035 * sysdeps/unix/sysv/linux/configure: Regenerated.
23036
11de3a33
L
230372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23038
23039 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
23040 the `q' suffix from lea and replace .quad with ASM_ADDR.
23041
e02f153a
L
230422012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23043
23044 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
23045 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
23046 instead of $17.
23047 (PTR_DEMANGLE): Likewise.
23048
520ae0fd
L
230492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23050
23051 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
23052 (LP_OP): Likewise.
23053 (ASM_ADDR): Likewise.
23054 (RAX_LP): Likewise.
23055 (RBP_LP): Likewise.
23056 (RBX_LP): Likewise.
23057 (RCX_LP): Likewise.
23058 (RDI_LP): Likewise.
23059 (RSI_LP): Likewise.
23060 (RSP_LP): Likewise.
23061 (R8_LP): Likewise.
23062 (R9_LP): Likewise.
23063 (R10_LP): Likewise.
23064 (R10_LP): Likewise.
23065 (R11_LP): Likewise.
23066 (R12_LP): Likewise.
23067 (R13_LP): Likewise.
23068 (R14_LP): Likewise.
23069 (R15_LP): Likewise.
23070
b985be81
L
230712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23072
23073 * sysdeps/x86_64/x32/dl-machine.h: New file.
23074
6a4888ff
AJ
230752012-05-14 Andreas Jaeger <aj@suse.de>
23076
23077 * manual/Makefile (subdir): Remove export of subdir.
23078 (all): Remove target.
23079 (.PHONY): Remove all from list.
23080 (mkinstalldirs): Remove.
23081 (.PHONY): Remove installdirs from list.
23082 ($(inst_infodir)/libc.info): Use make-target-directory.
23083 (installdirs): Remove.
23084 (subdir_%): Remove.
23085 (glibc-targets): Remove.
23086 (lib): Remove.
23087 (stubs): Remove.
23088 ($(objpfx)stubs ../po/manual.pot): Remove.
23089 ($(objpfx)stamp%): Remove.
23090 (make-target-directory): Remove.
23091 (subdir_install): Remove.
23092 (routines): Remove.
23093 (aux): Remove.
23094 (sources): Remove.
23095 (objects): Remove.
23096 (headers): Remove.
23097
23098 [BZ #13750]
23099 * manual/.gitignore: Remove, it's not needed anymore.
23100 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
23101 all files in it.
23102 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
23103 directory.
23104 (texis): Renamed to $(objpfx)texis.
23105 (texis-path): New, contains path to generated files.
23106 (chapters.%): Use texis-path for complete path, add extra argument
23107 libc-texinfo.sh.
23108 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
23109 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
23110 (summary,texi, stamp-summary): Use complete path of
23111 files. Generate files in build dir.
23112 (dir-add.texi): Build in build dir.
23113 (libm-err.texi,stamp-libm-err): Likewise.
23114 (version.texi, stamp-version): Likewise.
23115 (.%c.texi): Likewise.
23116 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
23117 (mostlyclean): Remove target.
23118 (realclean): Remove target.
23119 (generated): Add new variable with contents from mostlyclean and
23120 realclean, remove entries duplicated in common-mostlyclean, add
23121 stamp-libm-err and stamp-version.
23122 (generated-dirs): Add libc directory.
23123 ($(inst_infodir)/libc.info): Install files from build dir.
23124
23125 * manual/install.texi (Configuring and compiling): Adjust since
23126 the info files are not part of the tar ball anymore.
23127
7ac77294
AJ
231282012-05-14 Andreas Jaeger <aj@suse.de>
23129
23130 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
23131 variable.
23132
ffb7875d
JM
231332012-05-14 Joseph Myers <joseph@codesourcery.com>
23134
23135 [BZ #13717]
23136 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23137 to 2.2.0 where earlier.
23138 * sysdeps/unix/sysv/linux/configure: Regenerated.
23139 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
23140 Remove conditional code.
23141 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
23142 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
23143 Remove conditional code.
23144 [!__NR_lchown]: Likewise.
23145 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23146 [__NR_lchown]: Likewise.
23147 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
23148 comment referencing __ASSUME_LCHOWN_SYSCALL.
23149 * sysdeps/unix/sysv/linux/i386/sigaction.c
23150 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23151 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23152 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
23153 Remove conditional code.
23154 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
23155 (__protocol_available): Remove #if 0 code.
23156 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
23157 conditional code.
23158 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
23159 * sysdeps/unix/sysv/linux/kernel-features.h
23160 (__ASSUME_GETCWD_SYSCALL): Don't define.
23161 (__ASSUME_REALTIME_SIGNALS): Likewise.
23162 (__ASSUME_PREAD_SYSCALL): Likewise.
23163 (__ASSUME_PWRITE_SYSCALL): Likewise.
23164 (__ASSUME_POLL_SYSCALL): Likewise.
23165 (__ASSUME_LCHOWN_SYSCALL): Likewise.
23166 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
23167 non-SPARC.
23168 (__ASSUME_SIOCGIFNAME): Don't define.
23169 (__ASSUME_MSG_NOSIGNAL): Likewise.
23170 (__ASSUME_SENDFILE): Define unconditionally.
23171 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
23172 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
23173 conditional code.
23174 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
23175 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
23176 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23177 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23178 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
23179 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23180 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
23182 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23183 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23185 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23186 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
23188 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23189 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
23191 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23192 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
23194 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23195 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
23197 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23198 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
23200 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23201 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
23203 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23204 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23205 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
23206 Remove conditional code.
23207 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23208 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23209 Remove conditional code.
23210 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23211 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
23212 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
23213 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23214 Remove conditional code.
23215 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23216 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
23217 Remove conditional code.
23218 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23219 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
23220 Remove conditional code.
23221 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23222 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23223 Remove conditional code.
23224 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23225 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23226 Remove conditional code.
23227 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23228 * sysdeps/unix/sysv/linux/sh/pwrite64.c
23229 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23230 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23231 * sysdeps/unix/sysv/linux/sigaction.c
23232 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23233 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23234 * sysdeps/unix/sysv/linux/sigpending.c
23235 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23236 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23237 * sysdeps/unix/sysv/linux/sigprocmask.c
23238 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23239 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23240 * sysdeps/unix/sysv/linux/sigsuspend.c
23241 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23242 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23243 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23244 (__libc_missing_rt_sigs): Remove.
23245 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
23246 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
23247 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
23248 Remove conditional code.
23249 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
23250 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
23251 return 1.
23252 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
23253 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
23254 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
23255 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
23256
1bfb7291
AJ
232572012-05-14 Andreas Jaeger <aj@suse.de>
23258
caae5a81
AJ
23259 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
23260 it's not used in glibc.
23261 (__coshm1): Likewise.
23262 (__acosh1p): Likewise.
23263 (__sgn): Likewise.
23264
1bfb7291
AJ
23265 * manual/string.texi (Copying and Concatenation): Add missing
23266 variable in concat example.
23267 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
23268
c044d724
L
232692012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23270
144c5467 23271 [BZ #14103]
c044d724
L
23272 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
23273 __builtin_clzl with __builtin_clzll.
23274
2523c62b
L
232752012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23276
23277 [BZ #14104]
23278 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
23279 libc_freeres_ptr.
23280
d7bb4c42
LD
232812012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23282
23283 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
23284 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
23285 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
23286 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
23287
9dc4e1fb
MF
232882012-05-14 Mike Frysinger <vapier@gentoo.org>
23289
23290 * NEWS: Update ia64 info.
23291
c7df0112
AS
232922012-05-12 Andreas Schwab <schwab@linux-m68k.org>
23293
23294 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
23295 used as bcopy.
23296
dc70356c
TS
232972012-05-12 Thomas Schwinge <thomas@codesourcery.com>
23298
23299 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
23300 * sysdeps/unix/syscalls.list (dup3): Likewise.
23301 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
23302 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
23303
9fb1a21f
L
233042012-05-11 H.J. Lu <hongjiu.lu@intel.com>
23305
23306 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
23307 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
23308
4822a2a5
L
233092012-05-11 H.J. Lu <hongjiu.lu@intel.com>
23310
23311 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
23312 thread pointer.
23313 (TLS_IE): Use mov/add instead of movq/addq to load thread
23314 pointer.
23315 (TLS_GD_PREFIX): New.
23316 (TLS_GD): Use it.
23317
842b81d6
DM
233182012-05-11 David S. Miller <davem@davemloft.net>
23319
23320 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
23321 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
23322 (_FPU_SETCW): Likewise.
23323
1cf463cd
L
233242012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23325
23326 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
23327 is 32-byte aligned.
23328
60cc4a18
AS
233292012-05-11 Andreas Schwab <schwab@linux-m68k.org>
23330
23331 [BZ #11837]
23332 * iconvdata/gb18030.c: Update tables.
23333 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
23334 characters specially.
23335 (BODY for TO_LOOP): Add encoding of missing ranges.
23336
febb44a4
TS
233372012-05-11 Thomas Schwinge <thomas@codesourcery.com>
23338
23339 [BZ #13673]
23340 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
23341 * sysdeps/mach/hurd/dup3.c: Likewise.
23342 * sysdeps/mach/hurd/readlinkat.c: Likewise.
23343 * sysdeps/powerpc/memmove.c:: Likewise.
23344
0a10fb9e
L
233452012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23346
23347 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
23348 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
23349
df8a552f
L
233502012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23351
23352 * elf/elf.h (R_X86_64_RELATIVE64): New.
23353 (R_X86_64_NUM): Updated.
23354 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23355 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
23356 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
23357 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
23358 tst-quad1pie tst-quad2pie
23359 (modules-names): Add tst-quadmod1 tst-quadmod2.
23360 ($(objpfx)tst-quad1): New dependency.
23361 ($(objpfx)tst-quad2): Likewise.
23362 ($(objpfx)tst-quad1pie): Likewise.
23363 ($(objpfx)tst-quad2pie): Likewise.
23364 * sysdeps/x86_64/tst-quad1.c: New file.
23365 * sysdeps/x86_64/tst-quad1pie.c: New file.
23366 * sysdeps/x86_64/tst-quad2.c: Likewise.
23367 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
23368 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
23369 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
23370 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
23371 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
23372
f34d6f84
ST
233732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23374
f42d41d1
ST
23375 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
23376 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
23377 * streams/stropts.h (t_scalar_t): Define type.
23378
3c3571fc
ST
23379 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
23380 (_PATH_PRESERVE): Set to "/var/lib".
23381 (_PATH_RWHODIR): Set to "/var/spool/rwho".
23382
61f06bd3
ST
23383 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
23384 instead of int.
23385
918d4d71
ST
23386 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
23387 if __dir_mkfile succeeded.
23388
f34d6f84
ST
23389 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
23390 checking for _hurd_dtablesize. Unlock it right after having
23391 finished _hurd_dtable allocation.
23392
10589b4a
TS
233932012-05-10 Thomas Schwinge <thomas@schwinge.name>
23394
674cdbc7
TS
23395 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
23396 * sysdeps/mach/hurd/configure: Regenerated.
23397 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
23398 special-casing to...
23399 * sysdeps/gnu/configure.in: ... this new file.
23400 * sysdeps/unix/sysv/linux/configure: Regenerated.
23401 * sysdeps/gnu/configure: New generated file.
23402
8e41b99f
TS
23403 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
23404 for Linux: use nsec instead of usec, as well as:
23405 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
23406 members of type struct timespec.
23407 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
23408 New macros.
23409 (struct stat64): Likewise.
23410 (_STATBUF_ST_NSEC): New macro.
23411 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
23412
10589b4a
TS
23413 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
23414 __strtoul_internal rather than strtoul.
23415
63643c85
PT
234162012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23417
23418 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
23419 and reject them.
23420
3faebe6a
ST
234212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23422
23423 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
23424 which preserves existing values.
23425 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
23426
c6474b07
PT
234272012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23428
23429 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
23430 TIMEOUT values. Return EINVAL for NFDS values either negative or
23431 greater than FD_SETSIZE.
23432
1043890b
ST
234332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23434
23435 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
23436 allocated, call __vm_protect to finish enabling the existing space, and
23437 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
23438 allocate the remainder.
23439
37ed8b9b
PT
234402012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23441
23442 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
23443 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
23444
db653660
ST
234452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23446
37ed8b9b
PT
23447 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
23448 sysdeps/mach/hurd/readlink.c.
b29d4053 23449
db653660
ST
23450 * posix/tst-sysconf.c (posix_options): Only use
23451 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
23452 _POSIX_SYNCHRONIZED_IO when they are defined
23453 * sysdeps/mach/hurd/bits/posix_opt.h:
23454 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
23455 (_XOPEN_REALTIME): Undefine macro.
23456 (_XOPEN_REALTIME_THREADS): Undefine macro.
23457 (_XOPEN_SHM): Undefine macro.
23458 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
23459 macro to -1.
23460 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
23461 macro to -1.
23462 (_POSIX_ASYNC_IO): Undefine macro.
23463 (_POSIX_PRIORITIZED_IO): Undefine macro.
23464 (_POSIX_SPIN_LOCKS): Define macro to -1.
23465
ee16e894
ST
23466 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
23467 SA_NODEFER, SA_RESETHAND.
23468 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
23469 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
23470 F_DUPFD_CLOEXEC.
23471
6103ae3b
TS
234722012-05-10 Thomas Schwinge <thomas@schwinge.name>
23473
23474 * elf/Makefile (pldd-modules): Define unconditionally.
23475
80b4e5f3
TS
234762012-05-10 Thomas Schwinge <thomas@schwinge.name>
23477
23478 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
23479
edadcbd6
ST
234802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23481
23482 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
23483 Return ENOENT when name is empty.
23484 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
23485
80694780
TS
234862012-05-10 Thomas Schwinge <thomas@schwinge.name>
23487
1792c087
TS
23488 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
23489
80694780
TS
23490 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
23491
6b645f0d
ST
234922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23493
80694780
TS
23494 Fix mlock in all cases except non-readable pages.
23495 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
23496 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 23497
6b645f0d
ST
23498 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
23499 (__mkdir): When path is `/', just fail with EEXIST.
23500 * sysdeps/mach/hurd/mkdirat.c: Likewise.
23501
e468f8a3
TS
235022012-05-10 Thomas Schwinge <thomas@schwinge.name>
23503
23504 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
23505 <sys/uio.h> (for writev).
23506 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
23507 and <sys/param.h> (for MIN).
23508
a4186cff
PT
235092012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23510
23511 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
23512 REQUESTED_TIME. Properly set the remaining time and return EINTR
23513 if interrupted.
23514
510bbf14
TS
235152012-05-10 Thomas Schwinge <thomas@schwinge.name>
23516
23517 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
23518 Depend on against $(link-rpcuserlibs).
23519
5d5722e8
ST
235202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23521
a4186cff
PT
23522 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
23523 (__libc_stack_end): Do not use attribute_relro.
23524 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
23525 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 23526 to libthread-provided value.
a4186cff
PT
23527 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
23528 attribute_relro.
5d5722e8 23529
37233df9
TS
235302012-05-10 Thomas Schwinge <thomas@schwinge.name>
23531
be971a2b
TS
23532 [BZ #3748]
23533 * bits/libc-lock.h (__libc_once_get): New macro.
23534 * sysdeps/mach/bits/libc-lock.h: Likewise.
23535 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
23536 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
23537 instead of using implementation details.
23538
37233df9
TS
23539 * libio/fileops.c: Unconditionally include <kernel-features.h>.
23540 * libio/freopen.c: Likewise.
23541 * libio/freopen64.c: Likewise.
23542 * misc/syslog.c: Likewise.
23543 * nscd/connections.c: Likewise.
23544 * nscd/netgroupcache.c: Likewise.
23545 * sysdeps/posix/getcwd.c: Likewise.
23546
38de94a5
RM
235472012-05-10 Roland McGrath <roland@hack.frob.com>
23548
23549 * math/w_ilogbf.c: Add #include <limits.h>.
23550
67530489
ST
235512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23552
a4186cff 23553 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
23554 path instead of returning without unlocking.
23555
67530489
ST
23556 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
23557 immediate-write ioctls.
23558 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
23559
5aa3a74a
TS
235602012-05-10 Thomas Schwinge <thomas@schwinge.name>
23561
18bad2ae
TS
23562 * sysdeps/mach/hurd/i386/init-first.c (init): Use
23563 __builtin_frame_address instead of making assumptions about the
23564 location of the return address relative to DATA. Force early load of
23565 the return address.
23566 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
23567 __builtin_frame_address.
23568
5aa3a74a
TS
23569 dup3 for GNU Hurd.
23570 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
23571 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
23572 implement dup3 and do some further code clean-ups.
23573 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
23574 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
23575
ecd0de9a
ST
235762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23577
cd9fa985
ST
23578 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
23579
a4186cff
PT
23580 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
23581 HURD_CRITICAL_END around holding _hurd_dtable_lock.
23582 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
23583 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
23584 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
23585 d->port.lock.
802ca5a5 23586
a4186cff
PT
23587 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
23588 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
23589 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 23590
bcf55240
TS
235912012-05-10 Thomas Schwinge <thomas@schwinge.name>
23592
6960eb42
TS
23593 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
23594 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
23595 definitions.
23596
eb43375f
TS
23597 accept4 for GNU Hurd.
23598 * include/sys/socket.h (__libc_accept4): New prototype.
23599 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
23600 to implement __libc_accept4.
23601 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
23602 __libc_accept4.
23603 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
23604
bcf55240
TS
23605 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
23606 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
23607 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
23608 signal-defines.sym.
23609
6178c55b
ST
236102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23611
a4186cff 23612 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 23613
6f080c2f
TS
236142012-05-10 Thomas Schwinge <thomas@schwinge.name>
23615
23616 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
23617 assertion on O_CLOEXEC flag.
23618 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
23619 * hurd/intern-fd.c: Likewise.
23620 * hurd/port2fd.c: Likewise.
23621
bcfe3a54
ST
236222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23623
23624 [BZ #3906]
23625 * bits/in.h (IPV6_PKTINFO): Define new macro.
23626 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
23627
89c9aa49
AZ
236282012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23629
23630 [BZ #13954]
23631 [BZ #13955]
23632 [BZ #13956]
23633 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
23634 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23635 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
23636 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23637 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23638 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23639 * math/libm-test.inc (logb_test) : Additional logb tests.
23640
021db4be
AJ
236412012-05-09 Andreas Schwab <schwab@linux-m68k.org>
23642 Andreas Jaeger <aj@suse.de>
23643
23644 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
23645 * configure: Regenerated.
23646 * config.h.in (LINK_OBSOLETE_RPC): New macro.
23647 * config.make.in (link-obsolete-rpc): New substituted variable.
23648 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
23649 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
23650 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23651 (shared-only-routines): Don't set it under [link-obsolete-rpc],
23652 so that libc.a contains the symbols.
23653 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23654 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
23655 * sunrpc/auth_none.c: Likewise.
23656 * sunrpc/auth_unix.c: Likewise.
23657 * sunrpc/authdes_prot.c: Likewise.
23658 * sunrpc/authuxprot.c: Likewise.
23659 * sunrpc/clnt_gen.c: Likewise.
23660 * sunrpc/clnt_perr.c: Likewise.
23661 * sunrpc/clnt_raw.c: Likewise.
23662 * sunrpc/clnt_simp.c: Likewise.
23663 * sunrpc/clnt_tcp.c: Likewise.
23664 * sunrpc/clnt_udp.c: Likewise.
23665 * sunrpc/clnt_unix.c: Likewise.
23666 * sunrpc/des_crypt.c: Likewise.
23667 * sunrpc/des_soft.c: Likewise.
23668 * sunrpc/get_myaddr.c: Likewise.
23669 * sunrpc/key_call.c: Likewise.
23670 * sunrpc/key_prot.c: Likewise.
23671 * sunrpc/netname.c: Likewise.
23672 * sunrpc/pm_getmaps.c: Likewise.
23673 * sunrpc/pm_getport.c: Likewise.
23674 * sunrpc/pmap_clnt.c: Likewise.
23675 * sunrpc/pmap_prot.c: Likewise.
23676 * sunrpc/pmap_prot2.c: Likewise.
23677 * sunrpc/pmap_rmt.c: Likewise.
23678 * sunrpc/publickey.c: Likewise.
23679 * sunrpc/rpc_cmsg.c: Likewise.
23680 * sunrpc/rpc_common.c: Likewise.
23681 * sunrpc/rpc_dtable.c: Likewise.
23682 * sunrpc/rpc_prot.c: Likewise.
23683 * sunrpc/rpc_thread.c: Likewise.
23684 * sunrpc/rtime.c: Likewise.
23685 * sunrpc/svc.c: Likewise.
23686 * sunrpc/svc_auth.c: Likewise.
23687 * sunrpc/svc_raw.c: Likewise.
23688 * sunrpc/svc_run.c: Likewise.
23689 * sunrpc/svc_tcp.c: Likewise.
23690 * sunrpc/svc_udp.c: Likewise.
23691 * sunrpc/svc_unix.c: Likewise.
23692 * sunrpc/svcauth_des.c: Likewise.
23693 * sunrpc/xcrypt.c: Likewise.
23694 * sunrpc/xdr.c: Likewise.
23695 * sunrpc/xdr_array.c: Likewise.
23696 * sunrpc/xdr_float.c: Likewise.
23697 * sunrpc/xdr_intXX_t.c: Likewise.
23698 * sunrpc/xdr_mem.c: Likewise.
23699 * sunrpc/xdr_rec.c: Likewise.
23700 * sunrpc/xdr_ref.c: Likewise.
23701 * sunrpc/xdr_sizeof.c: Likewise.
23702 * sunrpc/xdr_stdio.c: Likewise.
23703
b5c086a2
RM
237042012-05-10 Roland McGrath <roland@hack.frob.com>
23705
23706 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
23707 change. Update copyright years.
23708
6d74dd09
JM
237092012-05-10 Joseph Myers <joseph@codesourcery.com>
23710
23711 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
23712
28e72501
MK
237132012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
23714 Joseph Myers <joseph@codesourcery.com>
23715 Paul Pluzhnikov <ppluzhnikov@google.com>
23716
23717 [BZ #14012]
23718 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
23719 requiring rpcgen.
23720 [cross-compiling] (extra-libs): Likewise.
23721 [cross-compiling] (extra-libs-others): Likewise.
23722 [cross-compiling] (librpcsvc-routines): Likewise.
23723 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
23724 [cross-compiling] (omit-deps): Likewise.
23725 (sunrpc-CPPFLAGS): New variable.
23726 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
23727 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
23728 (cross-rpcgen-objs): New variable.
23729 (extra-objs): Append $(cross-rpcgen-objs).
23730 ($(cross-rpcgen-objs)): New rule.
23731 ($(objpfx)cross-rpcgen): Likewise.
23732 (rpcgen-cmd): Define to use $(built-program-file). Expand
23733 comment.
23734 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
23735 ($(objpfx)x%.stmp): Likewise.
23736 * sunrpc/proto.h [IS_IN_build] (_): Define.
23737 [IS_IN_build] (_libc_intl_domainname): Likewise.
23738
c8c59454
L
237392012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23740
23741 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
23742 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
23743 and R_X86_64_TPOFF64.
23744
6f27cd16
JM
237452012-05-10 Joseph Myers <joseph@codesourcery.com>
23746
23747 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
23748 sysdeps/unix/sysv/syscalls.list.
23749 (stime): Likewise.
23750 (utime): Likewise.
23751 * sysdeps/unix/sysv/syscalls.list: Remove file.
23752
02467e1c
PE
237532012-05-10 Paul Eggert <eggert@cs.ucla.edu>
23754
23755 [BZ #3440]
23756 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
23757 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
23758 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
23759 (__LC_IDENTIFICATION): Make these macros useful in #if
23760 expressions, as required by C99.
23761
da392631
AS
237622012-05-10 Andreas Schwab <schwab@linux-m68k.org>
23763
23764 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
23765 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
23766 after this.
23767
8115f29b
L
237682012-05-09 H.J. Lu <hongjiu.lu@intel.com>
23769
23770 * stdlib/longlong.h: Updated from GCC.
23771
bdd74070
AJ
237722012-05-09 Andreas Jaeger <aj@suse.de>
23773
edfe0dbe
AJ
23774 * nscd/nscd.c (run_modes): Make named enum, reorder so that
23775 default is first entry.
23776 (run_mode): Set type.
23777 (main): Remove informal message about syslog.
23778 (options): Fix typo.
23779
bcfe3a54
ST
23780 [BZ #14053]
23781 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 23782 to asm.
bcfe3a54
ST
23783 (lrint): Likewise.
23784 (llrintf): Likewise.
23785 (llrint): Likewise.
23786 (rint): Likewise.
23787 (rintf): Likewise.
23788 (nearbyint): Likewise.
23789 (nearbyintf): Likewise.
bdd74070 23790
91d8d69e
AJ
237912012-05-09 Andreas Jaeger <aj@suse.de>
23792 Pedro Alves <palves@redhat.com>
23793
23794 * nscd/nscd.c (run_mode): Use enum.
23795 (main): Cleanup coding style issue.
23796
bb90b80b
AJ
237972012-05-09 Alexandre Oliva <aoliva@redhat.com>
23798 Andreas Jaeger <aj@suse.de>
23799
bcfe3a54
ST
23800 * nscd/nscd.c (go_background): Replaced with...
23801 (run_mode): ... this.
bb90b80b 23802 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
23803 (options): Add -F --foreground.
23804 (main): Implement it.
23805 (parse_opt): Parse it.
bb90b80b 23806
1a4b75a1
AJ
238072012-05-09 Andreas Jaeger <aj@suse.de>
23808
23809 [BZ #14083]
23810 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
23811 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
23812 -Wconversion warning.
23813 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
23814 Likewise.
23815
b1cc2472
JM
238162012-05-09 Joseph Myers <joseph@codesourcery.com>
23817
23818 * conform/data/locale.h-data (NULL): Use macro-constant. Require
23819 == 0.
23820 (LC_ALL): Use macro-int-constant.
23821 (LC_COLLATE): Likewise.
23822 (LC_CTYPE): Likewise.
23823 (LC_MESSAGES): Likewise.
23824 (LC_MONETARY): Likewise.
23825 (LC_NUMERIC): Likewise.
23826 (LC_TIME): Likewise.
23827 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
23828 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23829 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23830 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
23831 Specify type.
23832 [C99-based standards] (float_t): Expect type.
23833 [C99-based standards] (double_t): Expect type.
23834 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
23835 type.
23836 [C99-based standards] (HUGE_VALL): Likewise.
23837 [C99-based standards] (INFINITY): Likewise.
23838 [C99-based standards] (NAN): Likewise.
23839 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
23840 [C99-based standards] (FP_NAN): Likewise.
23841 [C99-based standards] (FP_NORMAL): Likewise.
23842 [C99-based standards] (FP_SUBNORMAL): Likewise.
23843 [C99-based standards] (FP_ZERO): Likewise.
23844 [C99-based standards] (FP_FAST_FMA): Use
23845 optional-macro-int-constant. Specify type. Require == 1.
23846 [C99-based standards] (FP_FAST_FMAF): Likewise.
23847 [C99-based standards] (FP_FAST_FMAL): Likewise.
23848 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
23849 [C99-based standards] (FP_ILOGBNAN): Likewise.
23850 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
23851 Specify type.
23852 [C99-based standards] (MATH_ERREXCEPT): Likewise.
23853 [C99-based standards] (math_errhandling): Specify type.
23854 [ISO99 || ISO11] (signgam): Do not allow.
23855 [non-C99-based standards] (copysignf): Do not allow.
23856 [non-C99-based standards] (exp2f): Likewise.
23857 [non-C99-based standards] (log2f): Likewise.
23858 [non-C99-based standards] (modff): Allow.
23859 [non-C99-based standards] (erff): Do not allow.
23860 [non-C99-based standards] (erfcf): Likewise.
23861 [non-C99-based standards] (gammaf): Likewise.
23862 [non-C99-based standards] (hypotf): Likewise.
23863 [non-C99-based standards] (j0f): Likewise.
23864 [non-C99-based standards] (j1f): Likewise.
23865 [non-C99-based standards] (jnf): Likewise.
23866 [non-C99-based standards] (lgammaf): Likewise.
23867 [non-C99-based standards] (tgammaf): Likewise.
23868 [non-C99-based standards] (y0f): Likewise.
23869 [non-C99-based standards] (y1f): Likewise.
23870 [non-C99-based standards] (ynf): Likewise.
23871 [non-C99-based standards] (isnanf): Likewise.
23872 [non-C99-based standards] (acoshf): Likewise.
23873 [non-C99-based standards] (asinhf): Likewise.
23874 [non-C99-based standards] (atanhf): Likewise.
23875 [non-C99-based standards] (cbrtf): Likewise.
23876 [non-C99-based standards] (expm1f): Likewise.
23877 [non-C99-based standards] (ilogbf): Likewise.
23878 [non-C99-based standards] (log1pf): Likewise.
23879 [non-C99-based standards] (logbf): Likewise.
23880 [non-C99-based standards] (nextafterf): Likewise.
23881 [non-C99-based standards] (remainderf): Likewise.
23882 [non-C99-based standards] (rintf): Likewise.
23883 [non-C99-based standards] (scalbf): Likewise.
23884 [non-C99-based standards] (copysignl): Likewise.
23885 [non-C99-based standards] (exp2l): Likewise.
23886 [non-C99-based standards] (log2l): Likewise.
23887 [non-C99-based standards] (modfl): Allow.
23888 [non-C99-based standards] (erfl): Do not allow.
23889 [non-C99-based standards] (erfcl): Likewise.
23890 [non-C99-based standards] (gammal): Likewise.
23891 [non-C99-based standards] (hypotl): Likewise.
23892 [non-C99-based standards] (j0l): Likewise.
23893 [non-C99-based standards] (j1l): Likewise.
23894 [non-C99-based standards] (jnl): Likewise.
23895 [non-C99-based standards] (lgammal): Likewise.
23896 [non-C99-based standards] (tgammal): Likewise.
23897 [non-C99-based standards] (y0l): Likewise.
23898 [non-C99-based standards] (y1l): Likewise.
23899 [non-C99-based standards] (ynl): Likewise.
23900 [non-C99-based standards] (isnanl): Likewise.
23901 [non-C99-based standards] (acoshl): Likewise.
23902 [non-C99-based standards] (asinhl): Likewise.
23903 [non-C99-based standards] (atanhl): Likewise.
23904 [non-C99-based standards] (cbrtl): Likewise.
23905 [non-C99-based standards] (expm1l): Likewise.
23906 [non-C99-based standards] (ilogbl): Likewise.
23907 [non-C99-based standards] (log1pl): Likewise.
23908 [non-C99-based standards] (logbl): Likewise.
23909 [non-C99-based standards] (nextafterl): Likewise.
23910 [non-C99-based standards] (remainderl): Likewise.
23911 [non-C99-based standards] (rintl): Likewise.
23912 [non-C99-based standards] (scalbl): Likewise.
23913 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23914 [non-C99-based standards] (FP_*): Do not allow.
23915 [C99-based standards] (FP_*): Change to
23916 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23917 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23918 allow.
23919 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
23920 (SIG_ERR): Likewise.
23921 [X/Open-based standards] (SIG_HOLD): Likewise.
23922 (SIG_IGN): Likewise.
23923 (SIGABRT): Use macro-int-constant. Specify type. Require
23924 positive value.
23925 (SIGFPE): Likewise.
23926 (SIGILL): Likewise.
23927 (SIGINT): Likewise.
23928 (SIGSEGV): Likewise.
23929 (SIGTER): Likewise.
23930 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
23931 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
23932 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
23933 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
23934 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
23935 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
23936 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
23937 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
23938 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
23939 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
23940 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
23941 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
23942 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
23943 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
23944 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
23945 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
23946 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
23947 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
23948 [X/Open-based standards] (SIGTRAP): Likewise.
23949 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
23950 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
23951 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
23952 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
23953 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23954 allow.
23955
b9f1922d
IW
239562012-05-08 Ian Wienand <ianw@vmware.com>
23957
23958 [BZ #14080]
23959 * time/tzset.c (__tzset_parse_tz): Update default rules for
23960 daylight time changes in the Energy Policy Act of 2005.
23961
1db86e88
AJ
239622012-05-09 Andreas Jaeger <aj@suse.de>
23963
23964 [BZ #13983]
23965 * elf/ldconfig.c (parse_conf): Change string to make clear that
23966 ldconfig only issued a warning if ld.so.conf does not exist.
23967
dee4a4e3
DM
239682012-05-08 David S. Miller <davem@davemloft.net>
23969
ee0db190
DM
23970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
23971 movxtod instead of popping the value on the stack.
23972
dee4a4e3
DM
23973 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23974
6a43ec98
CD
239752012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
23976
23977 * config.h.in: Add HAVE_ARM_PCS_VFP.
23978
05c2c961
RMG
239792012-05-08 Roland Mc Grath <roland@hack.frob.com>
23980
bcfe3a54
ST
23981 [BZ #13979]
23982 * include/features.h: Warn if user requests __FORTIFY_SOURCE
23983 checking but the checks are disabled for any reason.
05c2c961 23984
4b30f61a
L
239852012-05-08 H.J. Lu <hongjiu.lu@intel.com>
23986
23987 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
23988 and ELF64_R_TYPE with ELFW(R_TYPE).
23989
eee2bc67
JM
239902012-05-08 Joseph Myers <joseph@codesourcery.com>
23991
7ea5391a
JM
23992 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
23993 (ulimit): Likewise.
23994
eee2bc67
JM
23995 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
23996 (settimeofday): Likewise.
23997
abb66a67
MF
239982012-05-08 Mike Frysinger <vapier@gentoo.org>
23999
24000 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
24001 a struct th_u2 inside the union, and move tu_block/tu_code into
24002 a new th_u3 union of tu_block/tu_code inside of that. Move
24003 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
24004 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
24005 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
24006 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
24007 (th_stuff): Change to th_u1.tu_stuff.
24008 (th_data): Define.
24009 (th_msg): Change to th_u1.th_u2.tu_data.
24010
7f18b530
DM
240112012-05-07 David S. Miller <davem@davemloft.net>
24012
05760585
DM
24013 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24014
7f18b530
DM
24015 [BZ #14074]
24016 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
24017 (SETUP_PIC_REG): Use it.
24018 (SETUP_PIC_REG_LEAF): Use it.
24019
495fd99f
JM
240202012-05-07 Joseph Myers <joseph@codesourcery.com>
24021
24022 [BZ #13885]
24023 [BZ #13923]
24024 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24025 USE_AS_EXPM1L.
24026 (EXPL_FINITE): Likewise.
24027 (FLDLOG): Likewise.
24028 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24029 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24030 e_expl.S.
24031 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24032 USE_AS_EXPM1L.
24033 (EXPL_FINITE): Likewise.
24034 (FLDLOG): Likewise.
24035 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24036 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24037 e_expl.S.
24038 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
24039 test of -max_value argument for long double.
24040 * sysdeps/i386/fpu/libm-test-ulps: Update.
24041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24042
6693d694
DM
240432012-05-06 David S. Miller <davem@davemloft.net>
24044
24045 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
24046 quad soft-float symbols whose references which are compiler
24047 generated.
24048 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24049
6c23e11c
JM
240502012-05-06 Joseph Myers <joseph@codesourcery.com>
24051
d8b82cad
JM
24052 [BZ #13884]
24053 [BZ #13914]
24054 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24055 USE_AS_EXP10L.
24056 (EXPL_FINITE): Likewise.
24057 (FLDLOG): Likewise.
24058 (c0): Likewise.
24059 (c1): Likewise.
24060 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24061 Adjust comments for base varying.
24062 (__expl_finite): Change alias to EXPL_FINITE.
24063 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
24064 e_expl.S.
24065 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
24066 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
24067 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24068 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
24069 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24070 USE_AS_EXP10L.
24071 (EXPL_FINITE): Likewise.
24072 (FLDLOG): Likewise.
24073 (c0): Likewise.
24074 (c1): Likewise.
24075 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24076 Adjust comments for base varying.
24077 (__expl_finite): Change alias to EXPL_FINITE.
24078 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
24079 tests for bugs.
24080 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24081
6c23e11c
JM
24082 [BZ #14064]
24083 * math/libm-test.inc (check_float_internal): Correct ulp
24084 calculation for subnormal expected results.
24085
29ba805c
AJ
240862012-05-06 Andreas Jaeger <aj@suse.de>
24087
24088 * Makeconfig (+math-flags): New, set to -frounding-math.
24089 (+cflags): Add +math-flags so that all of glibc gets compiled with
24090 it.
24091
24092 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
24093
7b17aeda
JM
240942012-05-05 Joseph Myers <joseph@codesourcery.com>
24095
5779f134
JM
24096 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
24097 Disable one test.
24098
41498f4d
JM
24099 [BZ #13787]
24100 [BZ #13922]
24101 [BZ #14036]
24102 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
24103 (__ieee754_expl): Allow for and saturate large arguments.
24104 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
24105 (u_threshold): Likewise.
24106 (__exp): Call __ieee754_exp before checking for overflow and
24107 underflow.
24108 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
24109 (u_threshold): Likewise.
24110 (__expf): Call __ieee754_expf before checking for overflow and
24111 underflow.
24112 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
24113 (u_threshold): Likewise.
24114 (__expl): Call __ieee754_expl before checking for overflow and
24115 underflow.
24116 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
24117 (__ieee754_expl): Allow for and saturate large arguments.
24118 * math/libm-test.inc (exp_test): Add another test. Do not allow
24119 missing overflow exception on overflow.
24120 (expm1_test): Do not allow missing overflow exception on overflow.
24121
6698b8bf
JM
24122 * sysdeps/i386/fpu/e_expl.c: Move to ...
24123 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
24124 rather than using inline asm.
24125 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
24126 * sysdeps/x86_64/fpu/e_expl.S: Copy from
24127 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
24128
7b17aeda
JM
24129 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
24130 (nice): Likewise.
24131 (poll): Likewise.
24132 (signal): Likewise.
24133 (time): Likewise.
24134 (times): Likewise.
24135
f7c85819
JM
241362012-05-04 Joseph Myers <joseph@codesourcery.com>
24137
24138 * sysdeps/unix/syscalls.list (adjtime): Add entry from
24139 sysdeps/unix/common/syscalls.list.
24140 (fchmod): Likewise.
24141 (fchown): Likewise.
24142 (ftruncate): Likewise.
24143 (getrusage): Likewise.
24144 (gettimeofday): Likewise.
24145 (setpgid): Likewise.
24146 (setregid): Likewise.
24147 (setreuid): Likewise.
24148 (sigaction): Likewise.
24149 (truncate): Likewise.
24150 (vhangup): Likewise.
24151 * sysdeps/unix/common/syscalls.list: Remove file.
24152 * sysdeps/unix/bsd/Implies: Don't include unix/common.
24153 * sysdeps/unix/sysv/linux/Implies: Likewise.
24154
336270d0
L
241552012-05-04 H.J. Lu <hongjiu.lu@intel.com>
24156
24157 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
24158 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
24159 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
24160 Moved to ...
24161 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
24162 Here.
24163 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
24164 to ...
24165 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
24166 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
24167 to ...
24168 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
24169 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
24170 to ...
24171 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
24172 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
24173 to ...
24174 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
24175 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
24176 to ...
24177 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
24178 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
24179 to ...
24180 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
24181 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
24182 to ...
24183 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24184 Here.
24185 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
24186 to ...
24187 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
24188 Here.
24189 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
24190 to ...
24191 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
24192 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
24193 Moved to ...
24194 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
24195 Here.
24196 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
24197 to ...
24198 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
24199
d128e450
JM
242002012-05-04 Joseph Myers <joseph@codesourcery.com>
24201
fa8ee516
JM
24202 * sysdeps/unix/common/bits/dirent.h: Remove file.
24203 * sysdeps/unix/common/bits/fcntl.h: Likewise.
24204
d128e450
JM
24205 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
24206 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
24207 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
24208 * sysdeps/unix/bsd/isatty.c: Likewise.
24209 * sysdeps/unix/bsd/tcdrain.c: Likewise.
24210 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
24211 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
24212
ff8faaf0 242132012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 24214
62881be4 24215 [BZ #13563]
31dc8730
AZ
24216 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
24217 long double comparison inaccuracies.
24218 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24219 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24220
6fef930c
AS
242212012-05-04 Andreas Schwab <schwab@linux-m68k.org>
24222
24223 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
24224 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
24225
8f203e6c
JM
242262012-05-04 Joseph Myers <joseph@codesourcery.com>
24227
24228 [BZ #14049]
24229 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
24230 nonzero digits before rounding a hex value.
24231 * stdlib/tst-strtod.c (tests): Add another test.
24232
5197d9c2
AK
242332012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24234
24235 * sysdeps/s390/fpu/libm-test-ulps: Update.
24236
f0c1dedf
AJ
242372012-05-03 Andreas Jaeger <aj@suse.de>
24238
24239 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
24240 does not get optimized out.
24241 (malloc_opt_barrier): New.
24242
a65ef2ae 242432012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 24244 Roland McGrath <roland@hack.frob.com>
a65ef2ae 24245
2b942cb7 24246 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 24247 intermediate file deletion.
2b942cb7 24248 (generated): Add .symlist files.
a65ef2ae 24249
54b71e02
JM
242502012-05-03 Joseph Myers <joseph@codesourcery.com>
24251
24252 [BZ #13775]
24253 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
24254 Redirect under this condition.
24255 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24256 [__USE_GNU] (__dprintf_chk): Not under this condition.
24257 [__USE_GNU] (__vdprintf_chk): Likewise.
24258 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
24259 under this condition.
24260 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24261 [__USE_XOPEN2K8] (dprintf): Define under this condition.
24262 [__USE_XOPEN2K8] (vdprintf): Likewise.
24263 [__USE_GNU] (__dprintf_chk): Not under this condition.
24264 [__USE_GNU] (__vdprintf_chk): Likewise.
24265 [__USE_GNU] (dprintf): Likewise.
24266 [__USE_GNU] (vdprintf): Likewise.
24267
d3dfcc41
RM
242682012-05-03 Roland McGrath <roland@hack.frob.com>
24269
24270 * elf/Makefile (common-generated): Set this instead of generated for
24271 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
24272 $(all-built-dso)-derived lists.
24273
7ac30cc5
AJ
242742012-05-03 Andreas Jaeger <aj@suse.de>
24275
0c51e550
AJ
24276 * sysdeps/i386/fpu/libm-test-ulps: Update.
24277
7ac30cc5
AJ
24278 * FAQ: Removed.
24279 * FAQ.in: Likewise.
24280 * scripts/gen-FAQ.pl: Likewise.
24281 * manual/install.texi (Installation): Point to online location of
24282 FAQ.
24283 * Makefile (files-for-dist): Remove FAQ.
24284 (FAQ): Remove.
24285
d4c2917f
AM
242862012-05-02 Allan McRae <allan@archlinux.org>
24287
24288 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
24289 (LDFLAGS-reldepmod5.so): Likewise.
24290 (LDFLAGS-reldep6mod1.so): Likewise.
24291 (LDFLAGS-reldep6mod4.so): Likewise.
24292 (LDFLAGS-reldep8mod3.so): Likewise.
24293 (LDFLAGS-unload4mod1.so): Likewise.
24294 (LDFLAGS-unload4mod2.so): Likewise.
24295 (LDFLAGS-tst-initorder): Likewise.
24296 (LDFLAGS-tst-initordera2.so): Likewise.
24297 (LDFLAGS-tst-initordera3.so): Likewise.
24298 (LDFLAGS-tst-initordera4.so): Likewise.
24299 (LDFLAGS-tst-initorderb2.so): Likewise.
24300 (LDFLAGS-noload): Likewise.
24301 (LDFLAGS-next): Likewise.
24302 (LDFLAGS-order2mod1.so): Likewise.
24303 (LDFLAGS-order2mod2.so): Likewise.
24304 (LDFLAGS-tst-initorder2): Likewise.
24305 (LDFLAGS-tst-initorder2a.so): Likewise.
24306 (LDFLAGS-tst-initorder2b.so): Likewise.
24307 (LDFLAGS-tst-initorder2c.so): Likewise.
24308 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
24309
d77f993f
DM
243102012-05-02 David S. Miller <davem@davemloft.net>
24311
24312 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24313
171a70b4
PP
243142012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
24315
24316 [BZ #14055]
24317 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
24318
0be196ad
AJ
243192012-05-02 Andreas Jaeger <aj@suse.de>
24320
24321 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
24322 since we manipulate rounding mode.
24323 (CPPFLAGS-test-idouble.c): Likewise.
24324 (CPPFLAGS-test-ifloat.c): Likewise.
24325 (CFLAGS-test-ldouble.c): Likewise.
24326 (CFLAGS-test-double.c): Likewise.
24327 (CFLAGS-test-float.c): Likewise.
24328 (CFLAGS-test-misc.c): Likewise.
24329 (CFLAGS-test-test-fenv.c): Likewise.
24330
4f9d04aa
AZ
243312012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24332
2b942cb7
RM
24333 [BZ #2550]
24334 [BZ #2570]
24335 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
24336 comparisons to determine direction to adjust input.
4f9d04aa 24337
82a79e7d
RM
243382012-05-01 Roland McGrath <roland@hack.frob.com>
24339
f5a01ca9
RM
24340 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
24341 output to the target.
24342
90fe4186
RM
24343 * scripts/localplt.awk: New file.
24344 * elf/Makefile ($(objpfx)check-localplt): Target removed.
24345 (check-localplt-CFLAGS): Variable removed.
24346 ($(all-built-dso:=.jmprel)): New static pattern rule.
24347 (generated): Add those targets.
24348 (localplt-built-dso): New variable.
24349 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
24350
24351 * elf/check-localplt.c: File removed.
24352
82397ed6
RM
24353 * scripts/check-execstack.awk: New file.
24354 * elf/Makefile ($(objpfx)check-execstack): Target removed.
24355 (check-execstack-CFLAGS): Variable removed.
24356 ($(objpfx)check-execstack.h): Target removed.
24357 ($(objpfx)execstack-default): New target.
24358 (generated): Add that instead of check-execstack.h.
24359 ($(all-built-dso:=.phdr)): New static pattern rule.
24360 (generated): Add those targets.
24361 * elf/check-execstack.c: File removed.
24362
82a79e7d
RM
24363 * scripts/check-textrel.awk: New file.
24364 * elf/Makefile ($(objpfx)check-textrel): Target removed.
24365 (check-textrel-CFLAGS): Variable removed.
24366 (all-built-dso): Use := to define.o
24367 ($(all-built-dso:=.dyn)): New static pattern rule.
24368 (generated): Add those targets.
24369 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
24370 * config.make.in (READELF): New substituted variable.
24371 * elf/check-textrel.c: File removed.
24372
62fde54f 243732012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 24374
615605c9
JM
24375 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24376 allow.
24377 * conform/data/ctype.h-data [C99-based standards] (isblank):
24378 Expect function.
24379 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
24380 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
24381 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24382 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
24383 Specify type. Require positive value.
24384 (EILSEQ): Likewise.
24385 (ERANGE): Likewise.
24386 [ISO || POSIX] (EILSEQ): Do not expect.
24387 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
24388 Specify type. Require positive value.
24389 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
24390 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
24391 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
24392 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
24393 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
24394 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
24395 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
24396 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
24397 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
24398 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
24399 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
24400 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
24401 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
24402 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
24403 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
24404 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
24405 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
24406 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
24407 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
24408 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
24409 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
24410 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
24411 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
24412 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
24413 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
24414 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
24415 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
24416 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
24417 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
24418 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
24419 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
24420 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
24421 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
24422 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
24423 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
24424 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
24425 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
24426 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
24427 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
24428 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
24429 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
24430 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
24431 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
24432 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
24433 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
24434 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
24435 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
24436 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
24437 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
24438 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
24439 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
24440 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
24441 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
24442 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
24443 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
24444 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
24445 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
24446 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
24447 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
24448 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
24449 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
24450 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
24451 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
24452 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
24453 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
24454 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
24455 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
24456 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
24457 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
24458 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
24459 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
24460 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
24461 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
24462 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
24463 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
24464 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
24465 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
24466 Require >= 2.
24467 (FLT_ROUNDS): Expect as macro, not constant.
24468 (FLT_MANT_DIG): Use macro-int-constant.
24469 (DBL_MANT_DIG): Likewise.
24470 (LDBL_MANT_DIG): Likewise.
24471 (FLT_DIG): Likewise.
24472 (DBL_DIG): Likewise.
24473 (LDBL_DIG): Likewise.
24474 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
24475 (DBL_MIN_EXP): Likewise.
24476 (LDBL_MIN_EXP): Likewise.
24477 (FLT_MAX_EXP): Use macro-int-constant.
24478 (DBL_MAX_EXP): Likewise.
24479 (LDBL_MAX_EXP): Likewise.
24480 (FLT_MAX_10_EXP): Likewise.
24481 (DBL_MAX_10_EXP): Likewise.
24482 (LDBL_MAX_10_EXP): Likewise.
24483 (FLT_MAX): Use macro-constant.
24484 (DBL_MAX): Likewise.
24485 (LDBL_MAX): Likewise.
24486 (FLT_EPSILON): Use macro-constant. Give upper bound.
24487 (DBL_EPSILON): Likewise.
24488 (LDBL_EPSILON): Likewise.
24489 (FLT_MIN): Likewise.
24490 (DBL_MIN): Likewise.
24491 (LDBL_MIN): Likewise.
24492 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
24493 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
24494 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
24495 [ISO11] (FLT_HAS_SUBNORM): Likewise.
24496 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
24497 [ISO11] (DBL_DECIMAL_DIG): Likewise.
24498 [ISO11] (FLT_DECIMAL_DIG): Likewise.
24499 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
24500 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
24501 [ISO11] (FLT_TRUE_MIN): Likewise.
24502 [ISO11] (LDBL_TRUE_MIN): Likewise.
24503 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24504 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
24505 (SCHAR_MIN): Use macro-int-constant. Specify type.
24506 (SCHAR_MAX): Likewise.
24507 (UCHAR_MAX): Likewise.
24508 (CHAR_MIN): Likewise.
24509 (CHAR_MAX): Likewise.
24510 (MB_LEN_MAX): Use macro-int-constant.
24511 (SHRT_MIN): Use macro-int-constant. Specify type.
24512 (SHRT_MAX): Likewise.
24513 (USHRT_MAX): Likewise.
24514 (INT_MAX): Likewise.
24515 (INT_MIN): Use macro-int-constant. Specify type. Make upper
24516 bound negative.
24517 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
24518 bound with "U".
24519 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
24520 bound with "L".
24521 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
24522 bound negative. Suffix upper bound with "L".
24523 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
24524 bound with "UL".
24525 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
24526 Specify type.
24527 [C99-based standards] (LLONG_MAX): Likewise.
24528 [C99-based standards] (ULLONG_MAX): Likewise.
24529 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
24530 == 0.
24531 [ISO11] (max_align_t): Require type.
24532 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24533
c9140a62
JM
24534 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
24535 from $CFLAGS, without defining away __attribute__ calls.
24536 (checknamespace): Use $CFLAGS_namespace.
24537
9af0bf29
JM
24538 * conform/conformtest.pl (@keywords): Only include C99 keywords
24539 for standards based on C99 or C11.
24540
343222a2
JM
24541 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
24542 Disable tests.
24543 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
24544 UNIX98]: Likewise.
24545
661f8cf0
JM
24546 * conform/conformtest.pl: Handle "macro-int-constant" and test for
24547 usability of symbols in #if.
24548
ee74b9cb
JM
24549 * conform/conformtest.pl: If macro or constant types start
24550 "promoted:", expect the symbol to be of the following type
24551 promoted by the integer promotions.
62fde54f 24552
aafc49b3
JM
24553 * conform/conformtest.pl: Parse all "constant" and "macro" lines
24554 in one place. Also handle "macro-constant".
24555
fefdf574
JM
24556 * conform/conformtest.pl: Only accept expected macro values with
24557 "==". Parse all "macro" lines in one place.
24558 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
24559
f2d922fe
JM
24560 * conform/conformtest.pl: Handle braced types on "constant" lines
24561 instead of handling "typed-constant".
24562 * conform/data/signal.h-data: Use "constant" instead of
24563 "typed-constant".
24564
d22956c9
JM
24565 * conform/conformtest.pl: Handle "optional-" at start of lines in
24566 one place rather than duplicating several cases. Handle each
24567 format of "macro" line with initial "optional-".
24568
028e2e38
JM
24569 * conform/conformtest.pl: Only accept expected constant or
24570 optional-constant values with "==". Parse all "constant" lines in
24571 one place. Parse all "optional-constant" lines in one place.
24572 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
24573 * conform/data/fmtmsg.h-data: Likewise.
24574 * conform/data/netinet/in.h-data: Likewise.
24575 * conform/data/tar.h-data: Likewise.
24576 * conform/data/limits.h-data: Use "==" form on "constant" and
24577 "optional-constant" lines.
24578
1b8f2850
JM
24579 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
24580 Use -std=c99 for XOPEN2K.
24581 (@knownproblems): Remove.
24582 (newtoken): Don't check %isknown.
24583
a05a144b
JM
24584 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
24585 Do not expect macro.
24586 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
24587 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
24588 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
24589 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
24590 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
24591 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
24592 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
24593 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
24594 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
24595 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
24596 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
24597 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
24598 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
24599 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
24600 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
24601 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
24602 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
24603 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
24604 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
24605 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
24606 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
24607 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
24608 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
24609 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
24610 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
24611 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
24612 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
24613 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
24614 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
24615 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
24616 [XPG3] (acosh): Likewise.
24617 [XPG3] (asinh): Likewise.
24618 [XPG3] (atanh): Likewise.
24619 [XPG3] (cbrt): Likewise.
24620 [XPG3] (expm1): Likewise.
24621 [XPG3] (ilogb): Likewise.
24622 [XPG3] (log1p): Likewise.
24623 [XPG3] (logb): Likewise.
24624 [XPG3] (nextafter): Likewise.
24625 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
24626 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
24627 [XPG3] (remainder): Likewise.
24628 [XPG3] (rint): Likewise.
24629 [XPG3 || XPG4 || UNIX98] (round): Likewise.
24630 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
24631 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
24632 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
24633 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
24634 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
24635 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
24636 [UNIX98 || XOPEN2K] (scalb): Expect.
24637 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
24638 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
24639 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
24640 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
24641 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
24642 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
24643 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
24644 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
24645 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
24646 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
24647 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
24648 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
24649 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
24650 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
24651 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
24652 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
24653 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
24654 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
24655 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
24656 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
24657 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
24658 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
24659 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
24660 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
24661 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
24662 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
24663 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
24664 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
24665 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
24666 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
24667 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
24668 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
24669 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
24670 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
24671 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
24672 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
24673 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
24674 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
24675 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
24676 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
24677 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
24678 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
24679 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
24680 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
24681 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
24682 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
24683 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
24684 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
24685 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
24686 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
24687 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
24688 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
24689 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
24690 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
24691 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
24692 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
24693 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
24694 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
24695 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
24696 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
24697 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
24698 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
24699 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
24700 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
24701 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
24702 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
24703 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
24704 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
24705 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
24706 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
24707 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
24708 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
24709 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
24710 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
24711 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
24712 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
24713 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
24714 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
24715 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
24716 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
24717 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
24718 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
24719 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
24720 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
24721 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
24722 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
24723 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
24724 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
24725 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
24726 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
24727 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
24728 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
24729 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
24730 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
24731 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
24732 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
24733 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
24734 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
24735 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
24736 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
24737 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
24738 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
24739 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
24740 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
24741 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
24742 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
24743 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
24744 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
24745 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
24746 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
24747 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
24748 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
24749 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
24750 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
24751 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
24752 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
24753 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
24754 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
24755 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
24756 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
24757 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
24758 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
24759 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
24760 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
24761 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
24762 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
24763 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
24764 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
24765 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
24766 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
24767 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
24768 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
24769 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
24770 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
24771 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
24772 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
24773 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
24774
73c5ebe3
JM
24775 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
24776 _XOPEN_SOURCE_EXTENDED for XPG4.
24777
39c33b6c
JM
24778 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
24779
62fde54f
JM
24780 * Makeconfig (localtime): Remove variable.
24781 (inst_localtime-file): Likewise.
24782
0741d64c
AS
247832012-05-01 Andreas Schwab <schwab@linux-m68k.org>
24784
24785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
24786 Update.
24787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24788 Update.
24789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
24790 Update.
24791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24792 Update.
24793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
24794 Update.
24795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
24796 Update.
24797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24798 Update.
24799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
24800 Update.
24801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24802 Update.
24803
7cb029ee
JM
248042012-05-01 Joseph Myers <joseph@codesourcery.com>
24805
24806 [BZ #2550]
24807 [BZ #2570]
24808 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
24809 comparisons to determine direction to adjust input.
24810 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
24811 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
24812 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
24813 Likewise.
24814 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
24815 Likewise.
24816 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24817 Likewise.
24818 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
24819 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
24820 Likewise.
24821 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
24822 Likewise.
24823 * math/libm-test.inc (nexttoward_test): Add more tests.
24824
412bd966
AS
248252012-05-01 Andreas Schwab <schwab@linux-m68k.org>
24826
24827 [BZ #14040]
24828 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
24829 in version GLIBC_2.1, not GLIBC_2.0.
24830 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
24831 Likewise.
24832
9568c0c2
JM
248332012-04-30 Joseph Myers <joseph@codesourcery.com>
24834
adfbc8ac
JM
24835 [BZ #13942]
24836 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
24837 (1 - x) * (1 + x).
24838 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24839 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
24840 * math/libm-test.inc (acos_test): Add more tests.
24841 (asin_test): Likewise.
24842 * sysdeps/i386/fpu/libm-test-ulps: Update.
24843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24844
5ba3cc69
JM
24845 [BZ #14034]
24846 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
24847 of square root.
24848 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
24849 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24850 * math/libm-test.inc (acos_test_tonearest): New function.
24851 (acos_test_towardzero): Likewise.
24852 (acos_test_downward): Likewise.
24853 (acos_test_upward): Likewise.
24854 (asin_test_tonearest): Likewise.
24855 (asin_test_towardzero): Likewise.
24856 (asin_test_downward): Likewise.
24857 (asin_test_upward): Likewise.
24858 (main): Call the new functions.
24859 * sysdeps/i386/fpu/libm-test-ulps: Update.
24860 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24861
9568c0c2
JM
24862 [BZ #13884]
24863 [BZ #13924]
24864 * math/e_exp10.c: Include <float.h>.
24865 (__ieee754_exp10): Handle underflow here rather than multiplying
24866 large negative argument by M_LN10.
24867 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
24868 of __ieee754_expf.
24869 * math/e_exp10l.c: Include <float.h>.
24870 (__ieee754_exp10l): Handle underflow here rather than multiplying
24871 large negative argument by M_LN10l.
24872 * math/libm-test.inc (exp10_test): Add another test. Do not allow
24873 spurious overflow exception on underflow.
24874
5ac3ea17
MP
248752012-04-29 Marek Polacek <polacek@redhat.com>
24876
24877 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
24878 (__fortify_function): New macro.
24879 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
24880 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
24881 __extern_always_inline.
24882 * libio/bits/stdio2.h: Likewise.
24883 * libio/bits/stdio.h: Likewise.
24884 * string/string.h: Likewise.
24885 * string/bits/string3.h: Likewise.
24886 * include/stdio.h: Likewise.
24887 * stdlib/bits/stdlib.h: Likewise.
24888 * stdlib/stdlib.h: Likewise.
24889 * rt/bits/mqueue2.h: Likewise.
24890 * rt/mqueue.h: Likewise.
24891 * posix/bits/unistd.h: Likewise.
24892 * posix/unistd.h: Likewise.
24893 * io/bits/poll2.h: Likewise.
24894 * io/bits/fcntl2.h: Likewise.
24895 * io/fcntl.h: Likewise.
24896 * io/sys/poll.h: Likewise.
24897 * misc/bits/syslog.h: Likewise.
24898 * misc/bits/syslog-ldbl.h: Likewise.
24899 * misc/sys/syslog.h: Likewise.
24900 * socket/bits/socket2.h: Likewise.
24901 * socket/sys/socket.h: Likewise.
24902 * debug/tst-chk1.c: Likewise.
24903 * wcsmbs/bits/wchar2.h: Likewise.
24904 * wcsmbs/bits/wchar-ldbl.h: Likewise.
24905 * wcsmbs/wchar.h: Likewise.
24906
ecf0ebfb
AJ
249072012-04-29 Andreas Jaeger <aj@suse.de>
24908
24909 * Makerules (tests): Remove enable-check-abi protection.
24910 (check-abi-warn): Remove.
24911 (check-abi-%): Remove check-abi-warn usage.
24912
24913 * configure.in: Remove check-abi configure option.
24914 * configure: Regenerated.
24915 * config.make.in (enable-check-abi): Remove.
24916
6d5c57fa
AS
249172012-04-28 Andreas Schwab <schwab@linux-m68k.org>
24918
24c5d07e 24919 [BZ #14033]
ded5180a
AS
24920 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
24921 double functions to double *_finite functions.
24922
7e0d315d
AS
24923 [BZ #13941]
24924 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
24925 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
24926 LDBL_MIN_EXP.
24927 * stdio-common/Makefile (tests): Add tst-sprintf3.
24928 * stdio-common/tst-sprintf3.c: New file.
24929
6d5c57fa
AS
24930 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
24931 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
24932
0749ff8b
JM
249332012-04-28 Joseph Myers <joseph@codesourcery.com>
24934
24935 * conform/conformtest.pl: Remove duplicate typed-constant
24936 handling.
24937
8dbd5d7b
DM
249382012-04-28 David S. Miller <davem@davemloft.net>
24939
24940 * Makerules (%.abilist): Add vpath on sysdep_dirs.
24941 (check-abi-%): Remove AWK script prerequisite and explicit
24942 abilist directory.
24943 (check-abi): Rewrite to just diff the symlist with the abilist.
24944 (config-tls, config-abi-config): Delete, no longer used.
24945 (update-abi-%): Remove AWK script and explicit abilist directory.
24946 (update-abi): Rewrite to simply compare and conditionally copy the
24947 symlist and the sysdep abilist file. Remove update-abi-config
24948 checks.
24949 * abilist/ld.abilist: Remove.
24950 * abilist/libBrokenLocale.abilist: Remove.
24951 * abilist/libanl.abilist: Remove.
24952 * abilist/libcrypt.abilist: Remove.
24953 * abilist/libdl.abilist: Remove.
24954 * abilist/librt.abilist: Remove.
24955 * abilist/libthread_db.abilist: Remove.
24956 * abilist/libutil.abilist: Remove.
24957 * scripts/extract-abilist.awk: Remove.
24958 * scripts/merge-abilist.awk: Remove.
24959 * sysdeps/generic/libcidn.abilist: New file.
24960 * sysdeps/generic/libnss_compat.abilist: New file.
24961 * sysdeps/generic/libnss_db.abilist: New file.
24962 * sysdeps/generic/libnss_dns.abilist: New file.
24963 * sysdeps/generic/libnss_files.abilist: New file.
24964 * sysdeps/generic/libnss_hesiod.abilist: New file.
24965 * sysdeps/generic/libnss_nis.abilist: New file.
24966 * sysdeps/generic/libnss_nisplus.abilist: New file.
24967 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
24968 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
24969 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
24970 file.
24971 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
24972 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
24973 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
24974 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
24975 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
24976 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
24977 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
24978 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
24979 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
24980 file.
24981 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
24982 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
24983 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
24984 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
24985 file.
24986 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
24987 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
24988 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
24989 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
24990 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
24991 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
24992 file.
24993 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
24994 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
24995 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
24996 file.
24997 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
24998 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
24999 New file.
25000 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
25001 New file.
25002 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
25003 New file.
25004 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
25005 New file.
25006 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
25007 New file.
25008 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
25009 New file.
25010 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
25011 New file.
25012 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
25013 New file.
25014 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
25015 New file.
25016 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
25017 New file.
25018 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
25019 New file.
25020 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
25021 New file.
25022 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
25023 New file.
25024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
25025 file.
25026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25027 New file.
25028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25029 New file.
25030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
25031 file.
25032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25033 New file.
25034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25035 New file.
25036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
25037 file.
25038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25039 New file.
25040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25041 New file.
25042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25043 New file.
25044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25045 New file.
25046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25047 New file.
25048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25049 New file.
25050 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
25051 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
25052 file.
25053 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25054 New file.
25055 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
25056 file.
25057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
25058 file.
25059 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
25060 file.
25061 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
25062 file.
25063 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
25064 file.
25065 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25066 New file.
25067 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
25068 file.
25069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
25070 file.
25071 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25072 New file.
25073 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
25074 file.
25075 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
25076 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
25077 file.
25078 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25079 New file.
25080 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
25081 file.
25082 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
25083 file.
25084 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
25085 file.
25086 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
25087 file.
25088 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
25089 file.
25090 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25091 New file.
25092 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
25093 file.
25094 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
25095 file.
25096 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
25097 New file.
25098 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
25099 file.
25100 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25101 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
25102 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
25103 file.
25104 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
25105 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
25106 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
25107 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
25108 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
25109 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
25110 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
25111 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
25112 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
25113 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
25114 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
25115 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
25116 file.
25117 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
25118 New file.
25119 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
25120 file.
25121 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
25122 file.
25123 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
25124 file.
25125 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
25126 file.
25127 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
25128 file.
25129 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25130 New file.
25131 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
25132 New file.
25133 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
25134 file.
25135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
25136 New file.
25137 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
25138 file.
25139 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
25140 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
25141 file.
25142 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
25143 New file.
25144 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
25145 file.
25146 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
25147 file.
25148 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
25149 file.
25150 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
25151 file.
25152 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
25153 file.
25154 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25155 New file.
25156 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
25157 New file.
25158 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
25159 file.
25160 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
25161 New file.
25162 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
25163 file.
25164
41d73a1b
JM
251652012-04-28 Joseph Myers <joseph@codesourcery.com>
25166
25167 * conform/conformtest.pl: Fix typo in handling typed-constant from
25168 allow-header.
25169
28aeeda4
JM
251702012-04-27 Joseph Myers <joseph@codesourcery.com>
25171
adae8f5e
JM
25172 * README: Cut down references to pre-2.6 Linux kernels and
25173 Linuxthreads. Update lists of configurations in libc and ports
25174 and sort alphabetically. Say "or newer" with Linux kernel version
25175 requirements.
25176
28aeeda4
JM
25177 * config.h.in [IS_IN_build]: Allow compiling without optimization.
25178
a462cb63
RA
251792012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25180
25181 [BZ #887]
25182 * math/libm-test.inc (logb_test_downward): New test to expose
25183 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
25184 rounding mode.
25185
6ad3493e
JM
251862012-04-27 Joseph Myers <joseph@codesourcery.com>
25187
25188 [BZ #14027]
25189 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
25190 to be done.
25191 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
25192 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
25193
2ce4f015
JM
251942012-04-26 Joseph Myers <joseph@codesourcery.com>
25195
5aeb141a
JM
25196 * sysdeps/unix/i386/brk.S: Remove file.
25197 * sysdeps/unix/i386/dl-brk.S: Likewise.
25198 * sysdeps/unix/i386/pipe.S: Likewise.
25199 * sysdeps/unix/i386/sigreturn.S: Likewise.
25200 * sysdeps/unix/i386/syscall.S: Likewise.
25201 * sysdeps/unix/i386/vfork.S: Likewise.
25202 * sysdeps/unix/i386/wait.S: Likewise.
25203
7143acae
JM
25204 * sysdeps/unix/common/tcsendbrk.c: Move to ...
25205 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
25206
2ce4f015
JM
25207 * configure.in (arm*-none*): Do not allow without
25208 --enable-hacker-mode.
25209 (netbsd*): Remove case setting base_os.
25210 (386bsd*): Likewise.
25211 (freebsd*): Likewise.
25212 (bsdi*): Likewise.
25213 (osf*): Likewise.
25214 (sunos*): Likewise.
25215 (ultrix*): Likewise.
25216 (newsos*): Likewise.
25217 (dynix*): Likewise.
25218 (*bsd*): Likewise.
25219 (sysv*): Likewise.
25220 (isc*): Likewise.
25221 (esix*): Likewise.
25222 (sco*): Likewise.
25223 (minix*): Likewise.
25224 (irix4*): Likewise.
25225 (irix6*): Likewise.
25226 (solaris[2-9]*): Likewise.
25227 (none): Likewise.
25228 * configure: Regenerated.
25229
0ac229c8
AZ
252302012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25231
25232 [BZ #11521]
25233 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
25234 overflow or cancellation in calculating denominator.
25235 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
25236 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
25237 down expression to avoid unexpected rounding in newer GCCs.
25238 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
25239
33f244f4
DM
252402012-04-26 David S. Miller <davem@davemloft.net>
25241
25242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
25243 long-double compat symbols.
25244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
25248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
25250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
25251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
25252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
25253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
25254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
25255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
25256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25257
cfa1f3e8
DM
252582012-04-25 David S. Miller <davem@davemloft.net>
25259
25260 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
25261 HWCAP_* values only after the memory barriers have been defined.
25262 (atomic_full_barrier): Define.
25263 (atomic_read_barrier): Define.
25264 (atomic_write_barrier): Define.
25265
6e236b92
SP
252662012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25267
25268 * shlib-versions: Add libgcc_s version information.
25269 * sysdeps/generic/libgcc_s.h: Remove.
25270 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
25271 libgcc_s.h.
25272 * sysdeps/gnu/unwind-resume.c: Likewise.
25273 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
25274
aab39a09
DM
252752012-04-25 David S. Miller <davem@davemloft.net>
25276
25277 * sysdeps/unix/sparc/brk.S: Delete.
25278 * sysdeps/unix/sparc/dl-brk.S: Delete.
25279 * sysdeps/unix/sparc/pipe.S: Delete.
25280 * sysdeps/unix/sparc/sysdep.S: Delete.
25281 * sysdeps/unix/sparc/sysdep.h: Delete.
25282 * sysdeps/unix/sparc/vfork.S: Delete.
25283 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
25284 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
25285 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
25286 ret_ERRVAL, r0, r1, MOVE): Define.
25287 (JUMPTARGET): Remove.
25288 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
25289 sysdeps/unix/sparc/sysdep.h
25290 (ENTRY, END): Remove.
25291 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25292
a3cc4f48
JM
252932012-04-25 Joseph Myers <joseph@codesourcery.com>
25294
2ed8cda2
JM
25295 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
25296 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
25297 -DIS_IN_build.
25298
35d76d59
JM
25299 * timezone/README: Update upstream location and email address for
25300 tzcode and tzdata.
25301 * timezone/zdump.c: Update from tzcode 2012b.
25302 * timezone/zic.c: Likewise.
25303
a3cc4f48
JM
25304 * configure.in (libc_cv_as_needed): Remove test.
25305 * configure: Regenerated.
25306 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
25307 conditional definition.
25308 [$(have-as-needed) != yes] (no-as-needed): Likewise.
25309 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
25310 * config.make.in (have-as-needed): Remove variable.
25311
ceab42c3
SP
253122012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25313 Paul Pluzhnikov <ppluzhnikov@google.com>
25314
25315 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
25316 strings correctly.
25317
3ce2865f
CLT
253182012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
25319
25320 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
25321 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
25322 * sysdeps/sh/strlen.S: Likewise.
25323
f37e0d68
JM
253242012-04-24 Joseph Myers <joseph@codesourcery.com>
25325
ae186e9a
JM
25326 * sysdeps/unix/fork.S: Remove file.
25327 * sysdeps/unix/i386/fork.S: Likewise.
25328 * sysdeps/unix/sparc/fork.S: Likewise.
25329
b96914af
JM
25330 * sysdeps/unix/system.c: Remove file.
25331 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
25332
f37e0d68
JM
25333 * sysdeps/unix/getegid.S: Remove file.
25334 * sysdeps/unix/geteuid.S: Likewise.
25335
87ef29ca
RM
253362012-04-24 Roland McGrath <roland@hack.frob.com>
25337
83bcd236
RM
25338 * scripts/check-localplt.awk: New file.
25339 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
25340 of diff.
25341 * scripts/data/localplt-generic.data: Add a comment.
25342
87ef29ca
RM
25343 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
25344 NODE when __dir_mkfile failed.
25345 * sysdeps/mach/hurd/symlinkat.c: Likewise.
25346 Reported by Ludovic Courtès <ludo@gnu.org>.
25347
e5a6e567
AJ
253482012-04-24 Andreas Jaeger <aj@suse.de>
25349
25350 * Makerules (common-clean): Also remove gen-as-const-headers
25351 files.
25352
c1820385
JM
253532012-04-24 Joseph Myers <joseph@codesourcery.com>
25354
25355 * Makerules (native-compile): Do not change working directory for
25356 build. Use $(OUTPUT_OPTION) in command.
25357 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
25358
94e02fc4
AZ
253592012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25360
25361 [BZ #13886]
25362 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
25363 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
25364 * math/libm-test.inc (floor_test): Add more tests.
25365 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
25366
3a533ca3
JM
253672012-04-24 Joseph Myers <joseph@codesourcery.com>
25368
940ab4b3
JM
25369 * sysdeps/unix/getdents.c: Remove file.
25370 * sysdeps/unix/sysv/getdents.c: Likewise.
25371 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
25372
90e037bd
JM
25373 * sysdeps/unix/syscalls.list (madvise): Add syscall from
25374 sysdeps/unix/mman/syscalls.list.
25375 (mmap): Likewise.
25376 (mprotect): Likewise.
25377 (msync): Likewise.
25378 (munmap): Likewise.
25379 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
25380 * sysdeps/unix/mman/syscalls.list: Remove.
25381 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
25382
3a533ca3
JM
25383 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
25384 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
25385 * configure: Regenerated.
25386 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
25387 $(libgcc_s_suffix).
25388 * config.make.in (libgcc_s_suffix): Remove variable.
25389
1ad743de
JM
253902012-04-23 Joseph Myers <joseph@codesourcery.com>
25391
4ad451e2
JM
25392 * sysdeps/unix/sysv/gethostname.c: Move to ...
25393 * sysdeps/posix/gethostname.c: ... here.
25394
5e37ce39
JM
25395 * sysdeps/unix/execve.S: Remove file.
25396
1ad743de
JM
25397 * sysdeps/unix/_exit.S: Remove file.
25398
4e681b5b
AJ
253992012-04-23 Andreas Jaeger <aj@suse.de>
25400
25401 [BZ #13739]
25402 * manual/Makefile: Remove make dist support, there's no
25403 need for a stand-alone documentation tar ball.
25404 (TEXI2DVI): Define always, it's not in Makeconfig.
25405 (dist): Removed.
25406 (tar-it): Removed.
25407 (edition): Removed.
25408 (glibc-doc-$(edition).tar): Removed
25409 (%.Z): Removed.
25410 (%.gz): Removed.
25411 (%.uu): Removed.
25412 (ETAGS): Remove, it's in Makeconfig.
25413 (move-if-change): Remove, it's in Makeconfig.
25414
38686a03 254152012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
25416
25417 [BZ #13970]
25418 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
25419 (strtod, strtof, strtold, strtol, strtoul, strtoq)
25420 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
25421 (strtod_l, strtof_l, strtold_l): Remove __wur.
25422 It is not necessarily an error to ignore strtol's return value.
25423 One can reliably look at the stored endptr to decide whether
25424 the number had valid syntax.
25425
7c0616fa
AJ
254262012-04-21 Andreas Jaeger <aj@suse.de>
25427
803cb6b7 25428 [BZ #13739]
7c0616fa
AJ
25429 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
25430
b0fe253f
JM
254312012-04-21 Joseph Myers <joseph@codesourcery.com>
25432
25433 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
25434 * sysdeps/unix/sysv/Versions: Remove file.
25435
8280f22d
MT
254362012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
25437
25438 [BZ #13927]
25439 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25440
75ce411f 254412012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
25442
25443 [BZ #7064]
25444 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
25445 version from __vm86.
25446
097d59fa
JM
254472012-04-20 Joseph Myers <joseph@codesourcery.com>
25448
a90f3bcb
JM
25449 * sysdeps/unix/common/lxstat.c: Remove file.
25450 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
25451
edc7ea78
JM
25452 * sysdeps/unix/sysv/Makefile: Remove file.
25453
cb78c221
JM
25454 * sysdeps/unix/sysv/direct.h: Remove file.
25455
efa6a45f
JM
25456 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
25457 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
25458 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
25459 * sysdeps/unix/sysv/bits/signum.h: Likewise.
25460 * sysdeps/unix/sysv/bits/stat.h: Likewise.
25461 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
25462 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
25463
9c9f2d0c
JM
25464 * sysdeps/unix/sysv/setrlimit.c: Remove file.
25465
4541c83b
JM
25466 * sysdeps/unix/xmknod.c: Remove file.
25467 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
25468
f5d153a0
JM
25469 * sysdeps/unix/sysv/settimeofday.c: Remove file.
25470
aa746595
JM
25471 * sysdeps/unix/sysv/i386/time.S: Remove file.
25472
cce5905e
JM
25473 * sysdeps/unix/fxstat.c: Remove file.
25474 * sysdeps/unix/xstat.c: Likewise.
25475 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
25476
37fa3841
JM
25477 * sysdeps/unix/sysv/sigaction.c: Remove file.
25478
ff1962a3
JM
25479 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
25480 (sysdep_headers): Remove variable.
25481 [termio.h not in sysdep_headers] (generated): Likewise.
25482 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
25483 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
25484 * sysdeps/unix/sysv/tcdrain.c: Likewise.
25485 * sysdeps/unix/sysv/tcflow.c: Likewise.
25486 * sysdeps/unix/sysv/tcflush.c: Likewise.
25487 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
25488 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
25489 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
25490 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
25491 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
25492
e7740d31
JM
25493 * sysdeps/unix/siglist.c: Remove file.
25494
ee06f18b
JM
25495 * sysdeps/unix/getppid.S: Remove file.
25496
097d59fa
JM
25497 * sysdeps/unix/mkdir.c: Remove file.
25498 * sysdeps/unix/rmdir.c: Likewise.
25499
ff3d51ec
AS
255002012-04-19 Andreas Schwab <schwab@linux-m68k.org>
25501
25502 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
25503 ERR_MAX value.
25504 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
25505 errlist-compat value.
25506
50f81fd7
DM
255072012-04-18 David S. Miller <davem@davemloft.net>
25508
25509 * sysdeps/generic/memcopy.h (reg_char): Delete.
25510 * debug/strcat_chk.c: Use char, not reg_char.
25511 * debug/strcpy_chk.c: Likewise.
25512 * debug/strncat_chk.c: Likewise.
25513 * debug/strncpy_chk.c: Likewise.
25514 * string/memchr.c: Likewise.
25515 * string/memrchr.c: Likewise.
25516 * string/rawmemchr.c: Likewise.
25517 * string/strcat.c: Likewise.
25518 * string/strchr.c: Likewise.
25519 * string/strchrnul.c: Likewise.
25520 * string/strcmp.c: Likewise.
25521 * string/strcpy.c: Likewise.
25522 * string/strncat.c: Likewise.
25523 * string/strncmp.c: Likewise.
25524 * string/strncpy.c: Likewise.
25525
8ff41c46
WS
255262012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25527
25528 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
25529 __builtin_memcopy is called when src and dest ranges are known to not
25530 overlap.
25531
6b652f46
WS
255322012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25533
25534 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
25535 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
25536 fwd_align_merge macro call.
25537 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
25538 bwd_align_merge macro call.
25539 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25540
b282631e
WS
255412012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25542
25543 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
25544 bwd_align_merge macros.
25545 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
25546 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
25547 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25548
95aa737c
DM
255492012-04-18 David S. Miller <davem@davemloft.net>
25550
25551 * sysdeps/sparc/sparc64/memcopy.h: Delete.
25552
7a99a614
AJ
255532012-04-18 Andreas Jaeger <aj@suse.de>
25554
25555 [BZ# 6794]
25556 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
25557 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
25558 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25559
25560 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
25561 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
25562 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25563
25564 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
25565 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
25566 Adjust for changed ldbl-128 files.
25567
25568 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
25569 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
25570 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25571
e5270c23
DM
255722012-04-17 David S. Miller <davem@davemloft.net>
25573
25574 * sysdeps/sparc/sparc32/memcopy.h: Delete.
25575
fb5e92c9
AS
255762012-04-17 Andreas Schwab <schwab@linux-m68k.org>
25577
25578 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
25579 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
25580 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
25581 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
25582 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25583 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
25584
76da7265
AZ
255852012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25586
25587 [BZ #6794]
25588 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
25589 * math/libm-test.inc: Add ilogb errno and exception tests.
25590 * math/w_ilogb.c: New file: ilogb wrapper.
25591 * math/w_ilogbf.c: New file: ilogbf wrapper.
25592 * math/w_ilogbl.c: New file: ilogbl wrapper.
25593 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
25594 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
25595 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
25596 exception being thrown with 0.0 as argument.
25597 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
25598 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
25599 exception being thrown with 0.0 as argument.
25600 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
25601 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25602 exception being thrown with 0.0 as argument.
25603 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
25604 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25605 exception being thrown with 0.0 as argument.
25606 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
25607 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 25608 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
25609 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
25610 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
25611 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
25612 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
25613 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
25614 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
25615
0396e69d
PB
256162012-04-17 Petr Baudis <pasky@ucw.cz>
25617
25618 * include/sys/uio.h: Change __vector to __iovec to avoid clash
25619 with altivec.
25620
750b5926
MP
256212012-04-16 Marek Polacek <polacek@redhat.com>
25622
25623 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
25624
751728a1
MP
256252012-04-16 Marek Polacek <polacek@redhat.com>
25626
25627 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
25628 operands of fdivp instruction.
25629
34a27407
L
256302012-04-13 H.J. Lu <hongjiu.lu@intel.com>
25631
25632 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
25633 * elf/tst-auditmod3b.c: Likewise.
25634 * elf/tst-auditmod4b.c: Likewise.
25635 * elf/tst-auditmod5b.c: Likewise.
25636 * elf/tst-auditmod6b.c: Likewise.
25637 * elf/tst-auditmod6c.c: Likewise.
25638 * elf/tst-auditmod7b.c: Likewise.
25639 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
25640 * sysdeps/x86_64/preconfigure.in: Likewise.
25641 * sysdeps/x86_64/preconfigure: Regenerated.
25642
7e73e17d
L
256432012-04-13 H.J. Lu <hongjiu.lu@intel.com>
25644
25645 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
25646 __ILP32__.
25647
c7a6ab72
AB
256482012-04-13 Antoine Balestrat <merkil33@gmail.com>
25649
25650 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25651 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
25652
a9e8e0e0
CL
256532012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
25654
25655 [BZ #13973]
25656 * locale/iso-639.def: Fix gl language name. Spotted by
25657 Yaron Shahrabani.
25658
ec98af7d
RM
256592012-04-12 Roland McGrath <roland@hack.frob.com>
25660
25661 [BZ #2074]
25662 * libio/libio.h (__io_write_fn): Update comment.
25663
247c3ede
PB
256642012-04-12 Petr Baudis <pasky@ucw.cz>
25665
25666 [BZ #2074]
25667 * stdio.texi (Hook Functions): The user provided writer function
25668 is not allowed to return -1.
25669
55939d6d
DM
256702012-04-11 David S. Miller <davem@davemloft.net>
25671
25672 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25673
90020f5a
MF
256742012-04-11 Mike Frysinger <vapier@gentoo.org>
25675
25676 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
25677 Add a leading slash to rtkaio.
25678
288f9098
JM
256792012-04-11 Jim Meyering <meyering@redhat.com>
25680
90020f5a
MF
25681 [BZ #11959]
25682 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
25683 It is not necessarily an error to ignore fwrite's return
25684 value. One can reliably use ferror to test for errors after
25685 the fact.
288f9098 25686
4be2b570
L
256872012-04-10 H.J. Lu <hongjiu.lu@intel.com>
25688
25689 * bits/types.h (__snseconds_t): New type.
25690 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
25691
25692 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
25693 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25694 (__SNSECONDS_T_TYPE): Likewise.
25695 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25696 (__SNSECONDS_T_TYPE): Likewise.
25697 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25698 (__SNSECONDS_T_TYPE): Likewise.
25699
288f9098 257002012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
25701
25702 [BZ #2636]
25703 * manual/time.texi (Processor Time): Return type of times is
25704 elapsed real time since an arbitrary point in the past.
25705 (CPU Time): Move CLK_TCK from here...
25706 (Processor Time): ...to here. Correct description.
25707 * manual/conf.texi (Constants for Sysconf): Correct description of
25708 _SC_CLK_TCK.
25709
d7dd4413
DM
257102012-04-10 David S. Miller <davem@davemloft.net>
25711
25712 [BZ #13967]
25713 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
25714 where the is a gap between DT_REL(A) and DT_JMPREL.
25715
b46068fc
L
257162012-04-10 H.J. Lu <hongjiu.lu@intel.com>
25717
25718 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
25719 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25720 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25721
73d65cc3
SP
257222012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25723
25724 * elf/dl-support.c (_dl_inhibit_cache): New variable.
25725 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
25726 (dl_main): Handle --inhibit-cache.
25727 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
25728 _dl_inhibit_cache.
25729 * elf/dl-load.c (_dl_map_object): Use it.
25730 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
25731
bcc8d661
JM
257322012-04-09 Joseph Myers <joseph@codesourcery.com>
25733
8f9a2fae
JM
25734 [BZ #13872]
25735 * sysdeps/i386/fpu/e_powl.S (p78): New object.
25736 (__ieee754_powl): Saturate large exponents rather than testing for
25737 overflow of y*log2(x).
25738 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25739 * math/libm-test.inc (pow_test): Do not permit spurious overflow
25740 exceptions.
25741
bcc8d661
JM
25742 [BZ #11521]
25743 * math/s_ctan.c: Include <float.h>.
25744 (__ctan): Avoid internal overflow or cancellation in calculating
25745 denominator.
25746 * math/s_ctanf.c: Likewise.
25747 * math/s_ctanl.c: Likewise.
25748 * math/s_ctanh.c: Likewise.
25749 * math/s_ctanhf.c: Likewise.
25750 * math/s_ctanhl.c: Likewise.
25751 * math/libm-test.inc (ctan_test): Add more tests.
25752 (ctanh_test): Likewise.
25753 * sysdeps/i386/fpu/libm-test-ulps: Update.
25754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25755
823fbbb4
AJ
257562012-04-09 Andreas Jaeger <aj@suse.de>
25757
03879793
AJ
25758 [BZ #6894]
25759 * manual/filesys.texi (Directory Entries): Mention that d_namlen
25760 is an optional BSD extension.
25761
823fbbb4
AJ
25762 [BZ #10254]
25763 * manual/stdio.texi (Opening Streams): Document additional fopen
25764 parameters.
25765
8de131cb
RM
257662012-04-09 Roland McGrath <roland@hack.frob.com>
25767
25768 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
25769 %eax without telling the compiler.
25770
c0ed9d7d
CD
257712012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
25772
25773 [BZ # 13963]
25774 * manual/install.texi: Use sourceware.org.
25775
c483f6b4
JM
257762012-04-09 Joseph Myers <joseph@codesourcery.com>
25777
d7dd9453
JM
25778 [BZ #13873]
25779 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
25780 (__ieee754_pow): Generate overflow and underflow using huge*huge
25781 and tiny*tiny rather than just returning constant infinity or zero
25782 for large exponents.
25783 * math/libm-test.inc (pow_test): Require overflow exceptions for
25784 applicable cases of large exponents.
25785
c483f6b4
JM
25786 [BZ #706]
25787 * sysdeps/i386/fpu/e_pow.S (p10): New object.
25788 (__ieee754_pow): Use iterative multiplication algorithm only for
25789 integer exponents with absolute value below 1024. Check for odd
25790 integer exponents when using algorithm for real exponents.
25791 * math/libm-test.inc (pow_test): Add more tests.
25792 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25793
d2de7579
JM
257942012-04-08 Joseph Myers <joseph@codesourcery.com>
25795
25796 [BZ #13705]
25797 * math/libm-test.inc (exp_test): Do not allow overflow exception
25798 on underflow test.
25799
f77f1232
AJ
258002012-04-08 Aurelien Jarno <aurelien@aurel32.net>
25801
25802 [BZ #13705]
25803 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
25804 instead of __kernel_standard_f.
25805
3884932b
MF
258062012-04-08 Mike Frysinger <vapier@gentoo.org>
25807
25808 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
25809 * sysdeps/x86_64/memset_chk.S: Likewise.
25810
54472e9c
AJ
258112012-04-08 Andreas Jaeger <aj@suse.de>
25812
6ab0fbfc
AJ
25813 [BZ #10153]
25814 * manual/startup.texi (Environment Access): Describe return value
25815 for putenv and setenv.
25816
61efba8c
AJ
25817 [BZ #6895]
25818 * manual/filesys.texi (Directory Entries): Add description for
25819 DT_LNK.
25820
95c3f29a
AJ
25821 [BZ #6890]
25822 * manual/filesys.texi (Directory Entries): Clarify that it's file
25823 system not operating system in the description of DT_UNKNOWN.
25824
54472e9c
AJ
25825 [BZ #6578]
25826 * manual/syslog.texi (closelog): Fix reference, it's openlog.
25827
624254b1
SC
258282012-04-08 Stephen Compall <s11@member.fsf.org>
25829
25830 [BZ #6649]
25831 * manual/llio.texi (Opening and Closing Files): Add cross
25832 reference to explain mode argument.
25833
1e4920e0
MF
258342012-04-07 Mike Frysinger <vapier@gentoo.org>
25835
25836 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
25837 * sysdeps/x86_64/memset_chk.S: Likewise.
25838
5ed848f3
DM
258392012-04-07 David S. Miller <davem@davemloft.net>
25840
25841 * elf/elf.h (R_SPARC_WDISP10): Define.
25842 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
25843 R_SPARC_SIZE32.
25844 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
25845 R_SPARC_SIZE64 and R_SPARC_H34.
25846
96154cd8
CD
258472012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
25848
25849 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
25850 conditions and remove no longer applicable assertion.
25851
9904dc47
L
258522012-04-06 H.J. Lu <hongjiu.lu@intel.com>
25853
25854 * bits/byteswap.h: Include <features.h>.
25855 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25856 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25857
f8887d0a
L
258582012-04-06 H.J. Lu <hongjiu.lu@intel.com>
25859
25860 * bits/byteswap.h (__bswap_16): Removed.
25861 Include <bits/byteswap-16.h> to get __bswap_16.
25862 * sysdeps/i386/bits/byteswap.h: Likewise.
25863 * sysdeps/s390/bits/byteswap.h: Likewise.
25864 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25865 * bits/byteswap-16.h: New file.
25866 * sysdeps/i386/bits/byteswap-16.h: Likewise.
25867 * sysdeps/s390/bits/byteswap-16.h: Likewise.
25868 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
25869 * string/Makefile (headers): Add bits/byteswap-16.h.
25870
62470f60
PP
258712012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25872
25873 [BZ #13895]
25874 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
25875 extra indirection.
25876 * nss/Makefile (tests-static, tests): Add tst-nss-static.
25877 * nss/tst-nss-static.c: New.
25878
4dad7bab
RM
258792012-04-06 Robert Millan <rmh@gnu.org>
25880
25881 [BZ #6486]
25882 * manual/llio.texi (File Position Primitive): lseek
25883 refers to WHENCE when it really means OFFSET.
25884
e9142a17
AJ
258852012-04-06 Andreas Jaeger <aj@suse.de>
25886
2c040eff
AJ
25887 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
25888 strncmp declarations.
25889
e9142a17
AJ
25890 * abilist/libc.abilist: Add __poll and __ppoll.
25891
ff9f1c5f
DM
258922012-04-05 David S. Miller <davem@davemloft.net>
25893
dcd2ae90
DM
25894 * scripts/check-local-headers.sh: Accept a host triplet in the
25895 path matched by the exclude regexp.
25896
993eb054
DM
25897 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
25898 definition.
25899 * sysdeps/powerpc/powerpc32/dl-machine.h
25900 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
25901 * sysdeps/s390/s390-32/dl-machine.h
25902 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25903 * sysdeps/sparc/sparc32/dl-machine.h
25904 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25905 * sysdeps/sparc/sparc64/dl-machine.h
25906 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25907
ff9f1c5f
DM
25908 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
25909 lazy binding.
48e2e132 25910 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
25911 undefined symbol errors.
25912
48e2e132 25913 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
25914 DT_NEEDED entries.
25915
e80d6f94
MM
259162012-04-05 Michael Matz <matz@suse.de>
25917
25918 [BZ #13592]
25919 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
25920
349fa79f
AJ
259212012-04-05 Andreas Jaeger <aj@suse.de>
25922
25923 [BZ #13908]
25924 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
25925 comment.
25926
f402708f
KK
259272012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25928
25929 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
25930 which ROUND is no valid rounding mode.
25931
2ecccfc9
KK
259322012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25933
25934 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
25935 read again.
25936 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
25937
8a53f50f
KK
259382012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25939
25940 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
25941 an exception using FPU order intentionally.
25942
259432012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25944
25945 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
25946 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
25947 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
25948 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
25949
d653abb7
SJ
259502012-04-05 Simon Josefsson <simon@josefsson.org>
25951
25952 [BZ #12340]
25953 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
25954 EINVAL when BUFLEN is too smal.
25955
c3b1bf7d
TS
259562012-04-05 Thomas Schwinge <thomas@codesourcery.com>
25957
25958 [BZ #13553]
25959 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
25960 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
25961
b1aa60f3
AJ
259622012-04-03 Andreas Jaeger <aj@suse.de>
25963
c3b1bf7d 25964 [BZ #13938]
67f60a26
AJ
25965 * manual/setjmp.texi (System V contexts): Fix sentence.
25966
b1aa60f3
AJ
25967 [BZ #13926]
25968 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
25969 New macro for this case.
25970 [!__GNUC__] (__bswap_64): New inline function for this case.
25971 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25972 * bits/byteswap.h: Likewise.
25973 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
25974 ull, guard with __GLIBC_HAVE_LONG_LONG.
25975
25976 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
25977 __GLIBC_HAVE_LONG_LONG.
25978
25979 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
25980 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
25981
39c59c35
TMQMF
259822012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25983
25984 [BZ #13691]
25985 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
25986 inptr and inend, rather than using last_ch.
25987
135ffda8
DM
259882012-04-02 David S. Miller <davem@davemloft.net>
25989
25990 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
25991 * stdio-common/printf-parse.h (read_int): Change return type to
25992 'int', return -1 on INT_MAX overflow.
25993 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
25994 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
25995 overflows INT_MAX. Check for overflow of in-format-string precision
25996 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
25997 SIZE_MAX not INT_MAX for integer overflow test.
25998 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
25999 skip the construct in the format string but do not record anything.
26000 * stdio-common/bug22.c: Adjust to test both width/prevision
26001 INT_MAX overflow as well as total length INT_MAX overflow. Check
26002 explicitly for proper errno values.
26003
228c019e
TS
260042012-04-02 Thomas Schwinge <thomas@codesourcery.com>
26005
302cadd3
TS
26006 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
26007 CHAR_MAX.
26008 * string/test-strcmp.c [! WIDE]: Likewise.
26009 * time/tst-mktime2.c: Likewise for INT_MAX.
26010 * string/test-string.h: #include <sys/param.h> for MIN.
26011
228c019e
TS
26012 * csu/init-first.c (__libc_init_first): Call __ctype_init.
26013 * sysdeps/i386/init-first.c (init): Likewise.
26014 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
26015 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
26016 * sysdeps/sh/init-first.c (init): Likewise.
26017
cfa633f5
UD
260182012-04-01 Ulrich Drepper <drepper@gmail.com>
26019
26020 * po/ru.po: Update from translation team.
d1635ef8 26021 * po/vi.po: Likewise.
cfa633f5 26022
6cd0a5ea
SP
260232012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26024
26025 * resolv/nss_dns/dns-host.c: Merge copyright years.
26026
4b43400f
LD
260272012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26028
26029 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26030 Optimize memcpy with prefetch if
26031 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
26032 src, dst pointers have unequal 16 byte alignments.
26033
48c41d04
SP
260342012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26035
26036 [BZ #13928]
26037 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
26038 from a CNAME entry and return the minimum ttl for the query.
26039 (gaih_getanswer_slice): Likewise.
26040
b8dc394d
JL
260412012-03-30 Jeff Law <law@redhat.com>
26042
26043 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
26044 due to long keys.
26045 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
26046 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
26047
2f5a5ed0
JL
26048 * resolv/nss_dns/dns-host.c: Update copyright year.
26049
1d39e359
UD
260502012-03-30 Ulrich Drepper <drepper@gmail.com>
26051
c030f70c 26052 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 26053 requests to save a system call. Fix check that all bytes are sent.
c030f70c 26054
1d39e359
UD
26055 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
26056 comments for sendmmsg.
26057
260582012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
26059
26060 [BZ #13691]
26061 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
26062 with only 1 character between 0x0041 and 0x01b0.
26063 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
26064 * wcsmbs/tst-mbsnrtowcs.c: New file.
26065
20fde227
DM
260662012-03-29 David S. Miller <davem@davemloft.net>
26067
26068 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
26069 small copies by hand.
26070
984a4237
JL
260712012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26072
26073 [BZ #13761]
26074 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
26075 _nss_compat_initgroups_dyn): Fall back to malloc/free
26076 for large group memberships.
26077
18c9d62b
DM
260782012-03-28 David S. Miller <davem@davemloft.net>
26079
88d85d4f
DM
26080 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
26081 that branches into memcpy.
26082 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26083 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26084 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26085 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26086 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
26087 bits.
26088 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
26089 implementation too.
26090 * sysdeps/sparc/mempcpy.S: New file.
26091
e5aa83e1
DM
26092 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
26093 the IFUNC routine in the libc case.
26094 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26095
88570753
DM
26096 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
26097 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
26098 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
26099 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
26100 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
26101 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
26102 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
26103 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
26104
249d7567
DM
26105 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
26106 loop to 256 bytes instead of 64 bytes and fix test signedness.
26107
18c9d62b
DM
26108 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
26109 * sysdeps/sparc/sparc32/Makefile: rather than here...
26110 * sysdeps/sparc/sparc64/Makefile: and here.
26111
05f3d1f6
UD
261122012-03-28 Ulrich Drepper <drepper@gmail.com>
26113
26114 * malloc/mallocbug.c: Avoid warnings about unused variables.
26115
86ae07a8
JL
261162012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26117
26118 [BZ #13760]
26119 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
26120 in the right place. Discard and retry query if response is
26121 larger than input buffer size.
26122
41bf21a1
JM
261232012-03-28 Joseph Myers <joseph@codesourcery.com>
26124
d6270972
JM
26125 [BZ #369]
26126 [BZ #2678]
26127 [BZ #3866]
26128 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
26129 x for large integer exponent.
26130 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26131 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
26132 sign of result as needed afterwards.
26133 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26134 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
26135 result for underflowing pow the same as for overflow.
26136 (__kernel_standard_l): Handle powl overflow and underflow here
26137 rather than calling __kernel_standard.
26138 * math/libm-test.inc (pow_test): Add more tests.
26139
414fca03 26140 [BZ #3868]
41bf21a1
JM
26141 [BZ #13879]
26142 [BZ #13910]
26143 [BZ #13911]
26144 [BZ #13912]
26145 [BZ #13913]
26146 [BZ #13915]
26147 [BZ #13916]
26148 [BZ #13917]
26149 [BZ #13918]
26150 [BZ #13919]
26151 [BZ #13920]
26152 [BZ #13921]
26153 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
26154 * sysdeps/ieee754/k_standard.c: Include <float.h>.
26155 (__kernel_standard_l): New function.
26156 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
26157 __kernel_standard.
26158 * math/w_acosl.c (__acosl): Likewise.
26159 * math/w_asinl.c (__asinl): Likewise.
26160 * math/w_atan2l.c (__atan2l): Likewise.
26161 * math/w_atanhl.c (__atanhl): Likewise.
26162 * math/w_coshl.c (__coshl): Likewise.
26163 * math/w_exp10l.c (__exp10l): Likewise.
26164 * math/w_exp2l.c (__exp2l): Likewise.
26165 * math/w_fmodl.c (__fmodl): Likewise.
26166 * math/w_hypotl.c (__hypotl): Likewise.
26167 * math/w_j0l.c (__j0l, __y0l): Likewise.
26168 * math/w_j1l.c (__j1l, __y1l): Likewise.
26169 * math/w_jnl.c (__jnl, __ynl): Likewise.
26170 * math/w_lgammal.c (__lgammal): Likewise.
26171 * math/w_log10l.c (__log10l): Likewise.
26172 * math/w_log2l.c (__log2l): Likewise.
26173 * math/w_logl.c (__logl): Likewise.
26174 * math/w_powl.c (__powl): Likewise.
26175 * math/w_remainderl.c (__remainderl): Likewise.
26176 * math/w_scalbl.c (sysv_scalbl): Likewise.
26177 * math/w_sinhl.c (__sinhl): Likewise.
26178 * math/w_sqrtl.c (__sqrtl): Likewise.
26179 * math/w_tgammal.c (__tgammal): Likewise.
26180 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
26181 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
26182 * math/libm-test.inc (acos_test): Add more tests.
26183 (acosh_test): Likewise.
26184 (asin_test): Likewise.
26185 (atanh_test): Likewise.
26186 (exp_test): Likewise.
26187 (exp10_test): Likewise.
26188 (exp2_test): Likewise.
26189 (expm1_test): Likewise.
26190 (lgamma_test): Likewise.
26191 (log_test): Likewise.
26192 (log10_test): Likewise.
26193 (log1p_test): Likewise.
26194 (log2_test): Likewise.
26195 (pow_test): Do not allow some spurious overflow exceptions.
26196 (sqrt_test): Add more tests.
26197 (tgamma_test): Likewise.
26198 (y0_test): Likewise.
26199 (y1_test): Likewise.
26200 (yn_test): Likewise.
26201
dd62fda6
AB
262022012-03-27 Anton Blanchard <anton@samba.org>
26203
26204 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
26205 MAP_HUGETLB.
26206 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26207 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26208 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26209
1e3cdfda
AJ
262102012-03-27 David S. Miller <davem@davemloft.net>
26211
b855ab85
DM
26212 * conform/Makefile: Run run-conformtest.sh using $(BASH).
26213
1e3cdfda
AJ
26214 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
26215 have-as-vis3 check.
26216
262172012-03-27 Andreas Jaeger <aj@suse.de>
26218
26219 * sysdeps/x86_64/elf/configure.in: Moved to ...
26220 * sysdeps/x86_64/configure.in: ... here.
26221 * sysdeps/x86_64/elf/start.S: Moved to ...
26222 * sysdeps/x86_64/start.S: ... here.
26223 * sysdeps/x86_64/elf/configure: Delete.
26224
26225 * sysdeps/x86_64/configure.in: Merge contents from
26226 sysdeps/i386/configure.in (without i686 check).
26227
26228 * sysdeps/i386/elf/Versions: Merge into ...
26229 * sysdeps/i386/Versions: ... this.
26230 * sysdeps/i386/elf/Versions: Delete file.
26231 * sysdeps/i386/elf/start.S: Moved to ...
26232 * sysdeps/i386/start.S: ...here.
26233 * sysdeps/i386/elf/configure.in: Merge into...
26234 * sysdeps/i386/configure.in: ...here.
26235 * sysdeps/i386/elf/configure.in: Delete file.
26236 * sysdeps/i386/elf/configure: Delete file.
26237
26238 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
26239 * debug/backtracesyms.c: ... here.
26240 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
26241 * debug/backtracesymsfd.c: ... here.
26242 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
26243 * sysdeps/generic/ifunc-sel.h: ... here.
26244
26245 * sysdeps/unix/i386/start.c: Delete file.
26246 * sysdeps/unix/sparc/start.c: Delete file.
26247 * sysdeps/unix/start.c: Delete file.
26248
26249 * sysdeps/sh/elf/configure.in: Moved to ...
26250 * sysdeps/sh/configure.in: ... here.
26251 * sysdeps/sh/elf/start.S: Moved to ...
26252 * sysdeps/sh/start.S: ... here.
26253 * sysdeps/sh/elf/configure: Delete file.
26254
26255 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
26256 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
26257 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
26258 * sysdeps/powerpc/powerpc64/entry.h: ... here.
26259 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
26260 * sysdeps/powerpc/powerpc64/start.S: here.
26261 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
26262 * sysdeps/powerpc/powerpc64/Makefile: ... this.
26263 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
26264 * sysdeps/powerpc/powerpc64/configure.in: ... this.
26265 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
26266
26267 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
26268 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
26269 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
26270 * sysdeps/powerpc/powerpc32/start.S: ... here.
26271 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
26272 * sysdeps/powerpc/powerpc32/configure.in: ... this.
26273 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
26274
26275 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
26276 * sysdeps/powerpc/ifunc-sel.h: ... here.
26277 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
26278 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
26279
26280 * sysdeps/sparc/elf/configure.in: Moved to ...
26281 * sysdeps/sparc/configure.in: ... here.
26282 * sysdeps/sparc/elf/configure: Delete file.
26283 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
26284 * sysdeps/sparc/sparc32/start.S: ... here.
26285 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
26286 * sysdeps/sparc/sparc64/start.S: ... here.
26287 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
26288 * sysdeps/sparc/sparc32/Makefile: ... this.
26289 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
26290 * sysdeps/sparc/sparc64/Makefile: ... this.
26291
26292 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
26293 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
26294 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
26295 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
26296 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
26297 * sysdeps/s390/s390-32/setjmp.S: ... here.
26298 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
26299 * sysdeps/s390/s390-32/configure.in: ... here.
26300 * sysdeps/s390/s390-32/elf/configure: Delete file.
26301 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
26302 * sysdeps/s390/s390-32/start.S: ... here.
26303
26304 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
26305 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
26306 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
26307 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
26308 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
26309 * sysdeps/s390/s390-64/setjmp.S: ... here.
26310 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
26311 * sysdeps/s390/s390-64/configure.in: ... here
26312 * sysdeps/s390/s390-64/elf/configure: Delete file.
26313 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
26314 * sysdeps/s390/s390-64/start.S: ... here.
26315 * sysdeps/s390/s390-64/elf/configure: Delete.
26316
26317 * configure.in: Remove support for elf directories in sysdeps.
26318
26319 * configure: Regenerated.
26320 * sysdeps/i386/configure: Regenerated.
26321 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26322 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26323 * sysdeps/s390/s390-32/configure: Regenerated.
26324 * sysdeps/s390/s390-64/configure: Regenerated.
26325 * sysdeps/sh/configure: Regenerated.
26326 * sysdeps/sparc/configure: Regenerated.
26327 * sysdeps/x86_64/configure: Regenerated.
26328
a3f61311
AS
263292012-03-26 Andreas Schwab <schwab@linux-m68k.org>
26330
c876e002
AS
26331 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26332
a3f61311
AS
26333 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
26334 denormal result into account.
26335
ac4c54f0
RM
263362012-03-25 Roland McGrath <roland@hack.frob.com>
26337
26338 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
26339 Reported by Allan McRae <allan@archlinux.org>.
26340
6a9b9c02
JL
263412012-03-23 Jeff Law <law@redhat.com>
26342
26343 * nss/getnssent.c (__nss_getent): Fix typo.
26344
4c42a0c1
DM
263452012-03-23 David S. Miller <davem@davemloft.net>
26346
26347 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26348
1532c7ac
L
263492012-03-23 H.J. Lu <hongjiu.lu@intel.com>
26350
26351 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
26352 to pad to uint64_t for each field.
26353 (dl_tls_index): Replace unsigned long with uint64_t.
26354
3ff42526
PP
263552012-03-23 Daniel Jacobowitz <dmj@google.com>
26356 Paul Pluzhnikov <ppluzhnikov@google.com>
26357
26358 [BZ #6528]
26359 * grp/Makefile (otherlibs): Don't set it.
26360 * inet/Makefile (otherlibs): Likewise.
26361 * login/Makefile (otherlibs): Likewise.
26362 * nscd/Makefile (otherlibs): Likewise.
26363 * posix/Makefile (otherlibs): Likewise.
26364 * pwd/Makefile (otherlibs): Likewise.
26365 * rt/Makefile (otherlibs): Likewise.
26366 * sunrpc/Makefile (otherlibs): Likewise.
26367 * nss/Makefile (otherlibs): Likewise.
26368 Add libnss_files to routines and static-only-routines.
26369 ($(objpfx)getent): Remove rule.
26370 * resolv/Makefile: Add libnss_dns and libresolv to routines and
26371 static-only-routines.
26372
7c69cd14
JM
263732012-03-22 Joseph Myers <joseph@codesourcery.com>
26374
26375 [BZ #13892]
26376 * math/s_cexp.c: Include <float.h>.
26377 (__cexp): Handle exp result overflowing not necessarily
26378 overflowing both real and imaginary parts of result.
26379 * math/s_cexpf.c: Likewise.
26380 * math/s_cexpl.c: Likewise.
26381 * math/libm-test.inc (cexp_test): Add more tests.
26382 * sysdeps/i386/fpu/libm-test-ulps: Update.
26383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26384
81b035fe
L
263852012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26386
26387 * include/link.h (ELFW): New macro.
26388 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
26389 Replace ELF64_R_TYPE with ELFW(R_TYPE).
26390
1da7940c
L
263912012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26392
26393 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
26394 with uint64_t.
26395
b749dbb9
L
263962012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26397
26398 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
26399 declaration.
26400 (struct La_x32_retval): Likewise.
26401
2ff87f3f
L
264022012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26403
26404 * sysdeps/x86_64/preconfigure.in: New file.
26405 * sysdeps/x86_64/preconfigure: New generated file.
26406
c0df8e69
JM
264072012-03-22 Joseph Myers <joseph@codesourcery.com>
26408
48e44791
JM
26409 [BZ #13824]
26410 * math/e_exp2l.c: Include <float.h>.
26411 (__ieee754_exp2l): Handle overflow and underflow cases
26412 separately. Only pass fractional part of argument to
26413 __ieee754_expl.
26414 * math/libm-test.inc (exp2_test): Add more tests.
26415
c0df8e69
JM
26416 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
26417 negating x to take absolute value.
26418 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
26419 Likewise.
26420 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26421 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
26422 Likewise.
26423 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
26424 computing low part if x was negated.
26425 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26426
c8e43ba7
L
264272012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26428
26429 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
26430 la_x32_gnu_pltexit.
26431 (pltexit): Cast int_retval to ptrdiff_t.
26432 * elf/tst-auditmod3b.c: Likewise.
26433 * elf/tst-auditmod4b.c: Likewise.
26434 * elf/tst-auditmod5b.c: Likewise.
26435 * elf/tst-auditmod6b.c: Likewise.
26436 * elf/tst-auditmod6c.c: Likewise.
26437 * elf/tst-auditmod7b.c: Likewise.
26438
26439 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
26440 and x32_gnu_pltexit.
26441
26442 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
26443 __ELF_NATIVE_CLASS.
26444 (La_x32_regs): New macro.
26445 (La_x32_retval): Likewise.
26446 (la_x32_gnu_pltenter): New function prototype.
26447 (la_x32_gnu_pltexit): Likewise.
26448
7998fa78
AS
264492012-03-21 Andreas Schwab <schwab@linux-m68k.org>
26450
dcb33988
AS
26451 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
26452 exponent.
26453
233fc563
AS
26454 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26455
7998fa78
AS
26456 * configure.in (libc_cv_cc_nofma): Check for option to disable
26457 generation of FMA instructions.
26458 * configure: Regenerate.
26459 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
26460 * sysdeps/ieee754/dbl-64/Makefile: New file.
26461 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26462 Remove brandred-fma4.
26463 (CFLAGS-brandred-fma4.c): Remove.
26464 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
26465 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
26466 define.
26467 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
26468 define.
26469
8e95c99a
L
264702012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26471
26472 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
26473 LLONG_MAX != LONG_MAX.
26474 (_itoa_word): Use _ITOA_WORD_TYPE on value.
26475 (_fitoa_word): Likewise.
26476 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
26477 LLONG_MAX != LONG_MAX.
26478 * stdio-common/_itowa.h: Include <_itoa.h>.
26479 (_itowa_word): Use _ITOA_WORD_TYPE on value.
26480 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
26481 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
26482 only if not defined.
26483 (_ITOA_WORD_TYPE): Likewise.
26484 (_itoa_word): Use _ITOA_WORD_TYPE on value.
26485 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
26486
6f4db457
DM
264872012-03-21 David S. Miller <davem@davemloft.net>
26488
26489 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26490
7785fe5a
L
264912012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26492
26493 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
26494 of x86_64 when setting libc_cv_slibdir, libdir and
26495 libc_cv_localedir.
26496 * sysdeps/unix/sysv/linux/configure: Regenerated.
26497
4535cd55
JM
264982012-03-21 Joseph Myers <joseph@codesourcery.com>
26499
26500 * manual/lang.texi (Old Varargs): Remove section.
26501 (How Variadic): Update menu.
26502 (va_start): Do not mention varargs.h.
26503
17228132
TS
265042012-03-21 Thomas Schwinge <thomas@codesourcery.com>
26505 Joseph Myers <joseph@codesourcery.com>
26506
26507 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
26508 link test.
26509 * configure: Regenerated.
26510
8149f976
TS
265112012-03-21 Thomas Schwinge <thomas@codesourcery.com>
26512
05f3d1f6
UD
26513 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
26514 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
26515 conformtest.pl
8149f976 26516
1a4ac776
JM
265172012-03-21 Joseph Myers <joseph@codesourcery.com>
26518
be22ce65
JM
26519 * NOTES: Remove.
26520 * Makefile (files-for-dist): Remove NOTES.
26521 (NOTES): Remove rule.
26522 * README: Don't refer to NOTES.
26523 * manual/creature.texi: Don't include macros.texi.
26524 * manual/intro.texi (creature.texi): Remove comment referring to
26525 NOTES.
26526
40b601fb
JM
26527 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
26528 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
26529 * configure: Regenerated.
26530 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
26531 LIBC_TRY_CC_OPTION.
26532 (libc_cv_as_i686): Likewise.
26533 (libc_cv_cc_avx): Likewise.
26534 (libc_cv_cc_sse2avx): Likewise.
26535 (libc_cv_cc_fma4): Likewise.
26536 (libc_cv_cc_novzeroupper): Likewise.
26537 * sysdeps/i386/configure: Regenerated.
26538
1a4ac776
JM
26539 [BZ #13883]
26540 * sysdeps/i386/fpu/s_cexp.S: Remove.
26541 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26542 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26543 * math/libm-test.inc (cexp_test): Add more tests.
26544 * sysdeps/i386/fpu/libm-test-ulps: Update.
26545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26546
a458e7fe
AM
265472012-03-21 Allan McRae <allan@archlinux.org>
26548
26549 * timezone/Makefile: Do not install iso3166.tab and zone.tab
26550
0cb7efc5
JM
265512012-03-21 Joseph Myers <joseph@codesourcery.com>
26552
26553 [BZ #13871]
26554 * math/w_exp2.c: Do not include <float.h>.
26555 (o_threshold, u_threshold): Remove.
26556 (__exp2): Calculate result before checking finiteness and calling
26557 __kernel_standard.
26558 * math/w_exp2f.c: Likewise.
26559 * math/w_exp2l.c: Likewise.
26560 * math/libm-test.inc (exp2_test): Require overflow exception for
26561 1e6 input.
2460d3aa
JM
26562
26563 [BZ #3866]
26564 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
26565 range of signed 64-bit integers before using fistpll. Remove
26566 checks for whether integers fit in mantissa bits.
26567 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
26568 the range of signed 32-bit integers before using fistpl. Remove
26569 checks for whether integers fit in mantissa bits.
26570 * sysdeps/i386/fpu/e_powl.S (p64): New object.
26571 (__ieee754_powl): Test for y outside the range of signed 64-bit
26572 integers before using fistpll. Reduce 64-bit values to 63-bit
26573 ones as needed.
26574 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
26575 divide-by-zero is raised for zero to large negative powers.
26576 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
26577 (__ieee754_powl): Test for y outside the range of signed 64-bit
26578 integers before using fistpll. Reduce 64-bit values to 63-bit
26579 ones as needed.
26580 * math/libm-test.inc (pow_test): Add more tests.
26581
eb96ffb0
L
265822012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26583
26584 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
26585 <stdio-common/_itoa.h>.
26586 * debug/segfault.c: Likewise.
26587 * elf/dl-cache.c: Likewise.
26588 * elf/dl-minimal.c: Likewise.
26589 * elf/dl-misc.c: Likewise.
26590 * elf/dl-sysdep.c: Likewise.
26591 * elf/dl-version.c: Likewise.
26592 * elf/rtld.c: Likewise.
26593 * hurd/hurdsock.c: Likewise.
26594 * hurd/lookup-retry.c: Likewise.
26595 * malloc/malloc.c: Likewise.
26596 * malloc/mtrace.c: Likewise.
26597 * nscd/nscd_getgr_r.c: Likewise.
26598 * nscd/nscd_getpw_r.c: Likewise.
26599 * nscd/nscd_getserv_r.c: Likewise.
26600 * posix/getopt_init.c: Likewise.
26601 * posix/wordexp.c: Likewise.
26602 * stdio-common/_itoa.c: Likewise.
26603 * stdio-common/printf_fphex.c: Likewise.
26604 * stdio-common/vfprintf.c: Likewise.
26605 * string/_strerror.c: Likewise.
26606 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
26607 * sysdeps/i386/i686/hp-timing.h: Likewise.
26608 * sysdeps/mach/_strerror.c: Likewise.
26609 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
26610 * sysdeps/mach/hurd/sethostid.c: Likewise.
26611 * sysdeps/mach/hurd/xmknodat.c: Likewise.
26612 * sysdeps/mach/xpg-strerror.c: Likewise.
26613 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26614 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26615 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
26616 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
26617 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26618 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
26619 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
26620 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
26621 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
26622 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
26623 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
26624 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
26625 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
26626 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26627 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26628 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
26629 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
26630 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
26631 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
26632 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
26633 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
26634
26635 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
26636
26637 * stdio-common/_itoa.h: Moved to ...
26638 * sysdeps/generic/_itoa.h: Here.
26639
26640 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
26641
26642 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
26643 instead of "_itoa.h" and "_itowa.h".
26644 * stdio-common/vfprintf.: Likewise.
26645
d1af992d
L
266462012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26647
26648 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
26649 <bits/wordsize.h>.
26650 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
26651 (__signbit): Likwise.
26652 (llrintf): Likwise.
26653 (llrint): Likwise.
26654
114883e0
L
266552012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26656
26657 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
26658 __WORDSIZE != 64.
26659
c135cc1b
JM
266602012-03-20 Joseph Myers <joseph@codesourcery.com>
26661
26662 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
26663 OVERFLOW_EXCEPTION_OK.
26664 * math/libm-test.inc ("Philosophy"): Update comment about
26665 exception testing.
26666 (OVERFLOW_EXCEPTION): Define.
26667 (OVERFLOW_EXCEPTION_OK): Likewise.
26668 (INVALID_EXCEPTION_OK): Renumber.
26669 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26670 (IGNORE_ZERO_INF_SIGN): Likewise.
26671 (test_exceptions): Handle FE_OVERFLOW.
26672 (exp10_test): Expect overflow exceptions.
26673 (exp2_test): Likewise.
26674 (expm1_test): Likewise.
26675 (nextafter_test): Likewise.
26676 (pow_test): Likewise.
26677 (scalbn_test): Likewise.
26678 (scalbln_test): Likewise.
26679
95443d88
L
266802012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26681
26682 * sysdeps/x86_64/bits/atomic.h
26683 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
26684 64bit integer.
26685 (atomic_exchange_acq): Likewise.
26686 (__arch_exchange_and_add_body): Likewise.
26687 (__arch_add_body): Likewise.
26688 (atomic_add_negative): Likewise.
26689 (atomic_add_zero): Likewise.
26690
490df6c4
L
266912012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26692
c2722551 26693 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
26694 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
26695
5e52b189
L
266962012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26697
26698 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
26699 Check __x86_64__ instead of __WORDSIZE.
26700
a9879d4c
L
267012012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26702
26703 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
26704
5df98260
DM
267052012-03-19 David S. Miller <davem@davemloft.net>
26706
e1497744
DM
26707 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26708
5df98260
DM
26709 * sysdeps/sparc/fpu/fenv_private.h: New file.
26710 * sysdeps/sparc/fpu/math_private.h: Use it.
26711 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
26712 Remove.
26713 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
26714 (libc_feholdexcept_setroundl): Remove.
26715 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
26716 Remove.
26717 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
26718 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
26719
b4c35121
L
267202012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26721
26722 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
26723 int64_t instead of long int.
26724 (INSERT_WORDS64): Likwise.
26725
56965fd7
L
267262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26727
26728 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
26729 _Unwind_GetCFA return to _Unwind_Ptr first.
26730
83d1aec8
JM
267312012-03-19 Joseph Myers <joseph@codesourcery.com>
26732
1897ad44
JM
26733 [BZ #13629]
26734 * math/s_clog.c: Include <float.h>.
26735 (__clog): Scale large or subnormal inputs.
26736 * math/s_clogf.c: Likewise.
26737 * math/s_clogl.c: Likewise.
26738 * math/s_clog10.c: Include <float.h>.
26739 (M_LOG10_2): Define.
26740 (__clog10): Scale large or subnormal inputs.
26741 * math/s_clog10f.c: Likewise.
26742 * math/s_clog10l.c: Likewise.
26743 * math/libm-test.inc (clog_test): Add more tests.
26744 (clog10_test): Likewise.
26745 * sysdeps/i386/fpu/libm-test-ulps: Update.
26746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26747
7726d6a9
JM
26748 [BZ #11451]
26749 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
26750 x and y.
26751 * math/libm-test.inc (atan2_test): Add another test.
26752
83d1aec8
JM
26753 * Makerules (common-objdir-compile): Remove.
26754 * sysdeps/unix/Makefile (config-generated): Do not add
26755 $(unix-generated) to variable.
26756 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
26757 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
26758 Remove rule.
26759 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
26760 Likewise.
26761 [generic bits/local_lim.h] (before-compile): Do not append to
26762 variable.
26763 [generic bits/local_lim.h] (common-generated): Likewise.
26764 [generic sys/param.h] (before-compile): Do not append to variable.
26765 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
26766 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
26767 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
26768 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
26769 include.
26770 [generic sys/param.h] (sys/param.h-includes): Remove variable.
26771 [generic sys/param.h] (sys/param.h-includes): Remove rule.
26772 [generic sys/param.h] ($(addprefix
26773 $(common-objpfx),$(sys/param.h-includes))): Likewise.
26774 [generic sys/param.h] (common-generated): Do not append to
26775 variable.
26776 [generic sys/param.h] (sysdep_headers): Likewise.
26777 [generic bits/errno.h] (before-compile): Do not append to
26778 variable.
26779 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
26780 rule.
26781 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
26782 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
26783 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
26784 [generic bits/errno.h] (common-generated): Do not append to
26785 variable.
26786 [generic bits/ioctls.h] (before-compile): Do not append to
26787 variable.
26788 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
26789 rule.
26790 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
26791 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
26792 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
26793 rule.
26794 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
26795 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
26796 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
26797 [generic bits/ioctls.h] (common-generated): Do not append to
26798 variable.
26799 [generic sys/syscall.h] (syscall.h): Remove variable.
26800 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
26801 rule.
26802 [generic sys/syscall.h] (before-compile): Do not append to
26803 variable.
26804 [generic sys/syscall.h] (common-generated): Likewise.
26805 * sysdeps/unix/errnos-tmpl.c: Remove file.
26806 * sysdeps/unix/errnos.awk: Likewise.
26807 * sysdeps/unix/ioctls-tmpl.c: Likewise.
26808 * sysdeps/unix/ioctls.awk: Likewise.
26809 * sysdeps/unix/mk-local_lim.c: Likewise.
26810 * sysdeps/unix/snarf-ioctls: Likewise.
26811
4851a949
RH
268122012-03-19 Richard Henderson <rth@twiddle.net>
26813
bd37f2ee
RH
26814 * sysdeps/i386/fpu/fenv_private.h: New file.
26815 * sysdeps/i386/fpu/math_private.h: Use it.
26816 (math_opt_barrier, math_force_eval): Remove.
26817 (libc_feholdexcept_setround_53bit): Remove.
26818 (libc_feupdateenv_53bit): Remove.
26819 * sysdeps/x86_64/fpu/math_private.h: Likewise.
26820 (math_opt_barrier, math_force_eval): Remove.
26821 (libc_feholdexcept): Remove.
26822 (libc_feholdexcept_setround): Remove.
26823 (libc_fetestexcept, libc_fesetenv): Remove.
26824 (libc_feupdateenv_test): Remove.
26825 (libc_feupdateenv, libc_feholdsetround): Remove.
26826 (libc_feresetround): Remove.
26827
d0adc922
RH
26828 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
26829 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26830
0fe0f1f8
RH
26831 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
26832 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
26833 (libc_feupdateenv_testl): New.
26834 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
26835 (libc_feupdateenv_testf): New.
26836 (libc_feupdateenv): Use libc_feupdateenv_test.
26837 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
26838 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
26839
eb92c487
RH
26840 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
26841 (libc_feholdsetroundf, libc_feholdsetroundl): New.
26842 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
26843 (libc_feresetround_noex): New.
26844 (libc_feresetround_noexf): New.
26845 (libc_feresetround_noexl): New.
26846 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
26847 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
26848 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
26849 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
26850 SET_RESTORE_ROUND.
26851 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26852 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
26853 (__cos): Likewise.
26854 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
26855 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
26856 SET_RESTORE_ROUND_NOEX.
26857 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
26858 SET_RESTORE_ROUND_NOEXF.
26859 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
26860 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
26861 (libc_feholdsetroundf): New.
26862 (libc_feresetround, libc_feresetroundf): New.
26863
7d2e8012
RH
26864 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
26865 (libc_feholdexcept_setround_53bit): Convert from macro to function.
26866 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
26867
b4dabbb4
RH
26868 * sysdeps/generic/math_private.h: Include <fenv.h>.
26869 (default_libc_feholdexcept): New.
26870 (default_libc_feholdexcept_setround): New.
26871 (default_libc_fesetenv, default_libc_feupdateenv): New.
26872 (libc_feholdexcept): Only define if undefined.
26873 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
26874 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
26875 (libc_feholdexcept_setroundl): Likewise.
26876 (libc_feholdexcept_setround_53bit): Likewise.
26877 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
26878 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
26879 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
26880 (libc_feupdateenv_53bit): Likewise.
26881 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
26882 (libc_feholdexcept): Convert from macro to inline function.
26883 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
26884 (libc_fesetenv, libc_feupdateenv): Likewise.
26885
4851a949
RH
26886 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
26887 not previously defined.
26888 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
26889 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
26890 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
26891 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
26892 * sysdeps/ieee754/flt-32/math_private.h: New file.
26893 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
26894 math_private.h below SET_FLOAT_WORD.
26895 (__isnan, __isinf_ns, __finite): Remove.
26896 (__isnanf, __isinf_nsf, __finitef): Remove.
26897
e79d442e
AS
268982012-03-18 Andreas Schwab <schwab@linux-m68k.org>
26899
26900 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26901
90b80344
DM
269022012-03-17 David S. Miller <davem@davemloft.net>
26903
26904 [BZ #6471]
26905 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
26906 for 2.16.
26907
edc21804
DM
269082012-03-16 David S. Miller <davem@davemloft.net>
26909
77e927af
DM
26910 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
26911 warnings.
26912
374976dd
DM
26913 [BZ #6471]
26914 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
26915 properly.
26916 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
26917 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
26918 sysdep_routines when subdir is sysvipc.
26919 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
26920 __getshmlba helper.
26921
edc21804
DM
26922 * sysdeps/sparc/fpu/libm-test/ulps: Update.
26923
473c3ef3
L
269242012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26925
26926 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
26927 [__LP64__].
26928
eb0f39b6
L
269292012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26930
26931 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
26932 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
26933 (__lround): Renamed to ...
26934 (__llround): This. Replace long int with long long int.
26935 Define lround functions as aliases of llround functions.
26936 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
26937
6b6cd74b
L
269382012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26939
26940 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
26941 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
26942 adresses to uintptr_t. Replace "long int" and "unsigned long
26943 int" with "greg_t" on va_arg.
26944
f1a77b01
L
269452012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26946
26947 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
26948 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
26949
26950 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
26951 Move e_machine check before EI_CLASS check. Handle x32
26952 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
26953 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
26954 SKIP_EM_IA_64 and include
26955 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
26956
26957 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
26958 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
26959 (add_system_dir): New macro.
26960
26961 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
26962 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
26963
11b90b9f
JM
269642012-03-16 Joseph Myers <joseph@codesourcery.com>
26965
c36e1d23
JM
26966 [BZ #2551]
26967 [BZ #2552]
26968 [BZ #2553]
26969 [BZ #2554]
26970 [BZ #2562]
26971 [BZ #2563]
26972 [BZ #2565]
26973 [BZ #2566]
26974 [BZ #2576]
26975 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
26976 (y0): Likewise.
26977 * math/w_j0f.c (j0f): Likewise.
26978 (y0f): Likewise.
26979 * math/w_j0l.c (__j0l): Likewise.
26980 (__y0l): Likewise.
26981 * math/w_j1.c (j1): Likewise.
26982 (y1): Likewise.
26983 * math/w_j1f.c (j1f): Likewise.
26984 (y1f): Likewise.
26985 * math/w_j1l.c (__j1l): Likewise.
26986 (__y1l): Likewise.
26987 * math/w_jn.c (jn): Likewise.
26988 (yn): Likewise.
26989 * math/w_jnf.c (jnf): Likewise.
26990 (ynf): Likewise.
26991 * math/w_jnl.c (__jnl): Likewise.
26992 (__ynl): Likewise.
26993 * math/libm-test.inc (j0_test): Add more tests.
26994 (j1_test): Likewise.
26995 (jn_test): Likewise. Add trailing semicolon to existing test.
26996 (y0_test): Likewise.
26997 (y1_test): Likewise.
26998 * sysdeps/i386/fpu/libm-test-ulps: Update.
26999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27000
11b90b9f
JM
27001 [BZ #13851]
27002 [BZ #13854]
27003 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27004 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
27005 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
27006 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
27007 (__tanl): Set errno for infinite argument.
27008 * sysdeps/i386/fpu/mptan.c: Remove.
27009 * sysdeps/i386/fpu/s_tan.S: Likewise.
27010 * sysdeps/i386/fpu/s_tanl.S: Likewise.
27011 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
27012 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
27013 * math/libm-test.inc (tan_test): Add more tests and enable more
27014 tests for double and long double.
27015 * sysdeps/i386/fpu/libm-test-ulps: Update.
27016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27017
6a1bd2a1
JK
270182012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
27019
27020 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
27021 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
27022
10a803e0
RM
270232012-03-16 Roland McGrath <roland@hack.frob.com>
27024
27025 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
27026 * configure.in: Use it for both main tree and add-ons.
27027 * configure: Regenerated.
27028
f196c7f7
L
270292012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27030
27031 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
27032
8848d99d
JM
270332012-03-16 Joseph Myers <joseph@codesourcery.com>
27034
96cbe7f4
JM
27035 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
27036 in comment.
27037
8848d99d
JM
27038 [BZ #13851]
27039 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
27040 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
27041 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
27042 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
27043 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
27044 infinite argument.
27045 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
27046 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
27047 != 0 for prec == 2.
27048 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
27049 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
27050 * sysdeps/i386/fpu/s_cosl.S: Likewise.
27051 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
27052 * sysdeps/i386/fpu/s_sinl.S: Likewise.
27053 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
27054 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
27055 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
27056 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
27057 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
27058 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
27059 * math/libm-test.inc (cos_test): Add more tests and enable more
27060 tests for long double.
27061 (sin_test): Likewise.
27062 (sincos_test): Likewise.
27063 * sysdeps/i386/fpu/libm-test-ulps: Update.
27064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27065
dd7f4703
DM
270662012-03-16 David S. Miller <davem@davemloft.net>
27067
27068 * sysdeps/sparc/fpu/math_private.h: New file.
27069
006f1daa
DM
270702012-03-15 David S. Miller <davem@davemloft.net>
27071
c0c83bc8
DM
27072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
27073 file.
e6a62e18 27074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
27075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
27076 file.
e6a62e18
DM
27077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
27078 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
27079 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
27080 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
27081 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
27082 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
27083 sysdep routines.
27084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27085
88cb87d9
DM
27086 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
27087 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
27088
006f1daa 27089 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
27090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
27091 sparc-ifunc.h
006f1daa 27092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
27093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27094 Likewise.
27095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
27096 Likewise.
006f1daa
DM
27097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
27098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
27099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
27100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27101 Likewise.
006f1daa
DM
27102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
27104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
27106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
27107 Likewise.
27108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
27109 Likewise.
006f1daa
DM
27110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
27112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
27113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
27114 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27115 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27116 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
27117 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
27118 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27119 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27120 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
27121 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
27122 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
27123 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
27124 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
27125 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
27126 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
27127 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
27128 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
27129 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
27130 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
27131 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
27132 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
27133 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
27134
11e0098e
AS
271352012-03-15 Andreas Schwab <schwab@linux-m68k.org>
27136
27137 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
27138 scaling.
27139 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27140
e85b09d0
AJ
271412012-03-15 Andreas Jaeger <aj@suse.de>
27142
27143 [BZ #13852]
27144 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
27145 ieee754/flt-32 implementation for sin, cos and sincos.
27146 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
27147 * sysdeps/i386/fpu/s_cosf.S: Likewise.
27148 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
27149 * sysdeps/i386/fpu/s_sinf.S: Likewise.
27150 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
27151 ieee754/flt-32 implementation for tan.
27152
27153 * math/libm-test.inc (cos_test): Enable some large input tests for
27154 float as well
27155 (sin_test): Likewise.
27156 (sincos_test): Likewise.
27157 (tan_test): Add tests for large input.
27158
27159 * sysdeps/i386/fpu/libm-test-ulps: Update.
27160
81c64153
AJ
271612012-03-15 Andreas Jaeger <aj@suse.de>
27162
27163 [BZ #13658]
27164 * math/libm-test.inc (cos_test): Add more test cases.
27165 (sin_test): Likewise.
27166 (sincos_test): Likewise.
27167
7bbfa5c6
AJ
271682012-03-15 Andreas Jaeger <aj@suse.de>
27169
27170 [BZ #13837]
27171 * math/libm-test.inc (cos_test): Add a test case for large input
27172 value.
27173 (sin_test): Likewise.
27174 (sincos_test): Likewise.
27175
271762012-03-15 Andreas Jaeger <aj@suse.de>,
27177 Joseph Myers <joseph@codesourcery.com>
27178
27179 [BZ #13658]
0671f479 27180 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
27181 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
27182 * sysdeps/i386/fpu/branred.c: Likewise.
27183 * sysdeps/i386/fpu/dosincos.c: Likewise.
27184 * sysdeps/i386/fpu/mpa.c: Likewise.
27185 * sysdeps/i386/fpu/s_cos.S: Likewise.
27186 * sysdeps/i386/fpu/s_sin.S: Likewise.
27187 * sysdeps/i386/fpu/s_sincos.S: Likewise.
27188 * sysdeps/i386/fpu/sincos32.c: Likewise.
27189
27190 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
27191 Define.
27192 (libc_feupdateenv_53bit): Define.
27193 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
27194 Define.
27195 (libc_feupdateenv_53bit): Define.
27196
27197 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
27198 53 bit (without extend i386 double precision).
27199
27200 * math/libm-test.inc (sincos_test): Add tests for large input.
27201 (sin): Likewise.
27202 (cos): Likewise.
27203
27204 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27205
9cad04ea
AS
272062012-03-15 Andreas Schwab <schwab@linux-m68k.org>
27207
27208 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27209
f7062b9a
DM
272102012-03-15 David S. Miller <davem@davemloft.net>
27211
27212 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
27213 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
27214 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
27215 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
27216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
27217 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
27218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
27219 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
27220 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
27221 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
27222 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
27223 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
27224 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
27225 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
27226 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
27227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
27228 file.
f7062b9a 27229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
27230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
27231 file.
f7062b9a 27232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
27233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
27234 file.
f7062b9a 27235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
27236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
27237 file.
f7062b9a
DM
27238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
27239 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
27240 fmin/fmax sysdep routines.
27241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27242
7bd951ff
DM
272432012-03-14 David S. Miller <davem@davemloft.net>
27244
559398ab
DM
27245 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
27246 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
27247 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
27248 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
27249 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
27250 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
27251 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
27252 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
27253 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
27254 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
27255 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
27256 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
27257 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
27258 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
27259 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
27260 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
27261 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
27262 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
27263 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
27264 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
27265 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
27266 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
27267 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
27268 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
27269 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
27270 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
27271 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
27272 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
27273 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
27274 routines.
27275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
27276 file.
559398ab 27277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
27278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
27279 file.
559398ab 27280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
27281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
27282 file.
559398ab 27283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
27284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
27285 file.
559398ab 27286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
27287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
27288 file.
559398ab 27289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
27290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
27291 file.
27292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
27293 file.
27294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
27295 file.
27296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
27297 file.
27298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
27299 New file.
27300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
27301 file.
27302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
27303 file.
559398ab 27304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
27305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
27306 file.
559398ab 27307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
27308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
27309 file.
559398ab 27310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
27311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
27312 file.
559398ab 27313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
27314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
27315 VIS3 routines.
559398ab
DM
27316
27317 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27318 New file.
27319
5a1c1e32
DM
27320 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27321
eae47a36
DM
27322 * sysdeps/sparc/configure.in: New file.
27323 * sysdeps/sparc/configure: Generate.
27324 * configure.in (libc_cv_sparc_as_vis3): Substitute.
27325 * configure: Regenerate.
27326 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
27327 * config.make.in (have-as-vis3): New.
27328 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
27329 available use -Av9d instead of -Av9a.
27330 * sysdeps/sparc/sparc64/Makefile: Likewise.
27331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
27332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
27333 New file.
27334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
27335 file.
27336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
27337 New file.
27338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
27339 file.
eae47a36
DM
27340 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
27341 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
27342 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
27343 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
27344 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
27345
c0c83bc8
DM
27346 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
27347 fzeros/fnegs to load 0x80000000 into a float register instead of
27348 using the stack.
7bd951ff
DM
27349 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
27350
bd951ccb
JM
273512012-03-14 Joseph Myers <joseph@codesourcery.com>
27352
27353 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27354 bits/syscall.h.
27355 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
27356 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
27357 ($(inst_includedir)/bits/syscall.h): Remove rule.
27358 ($(objpfx)bits/syscall.d): Include instead of
27359 $(objpfx)syscall-list.d.
27360 (generated): Change syscall-list.h and syscall-list.d to
27361 bits/syscall.h and bits/syscall.d.
27362
bb4e6db2
RM
273632012-03-14 Roland McGrath <roland@hack.frob.com>
27364
27365 [BZ #13846]
27366 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
27367
aa4a2ae1
JM
273682012-03-14 Joseph Myers <joseph@codesourcery.com>
27369
e456826d
JM
27370 [BZ #13841]
27371 * math/s_csqrt.c: Include <float.h>.
27372 (__csqrt): Scale large or subnormal inputs.
27373 * math/s_csqrtf.c: Likewise.
27374 * math/s_csqrtl.c: Likewise.
27375 * math/libm-test.inc (csqrt_test): Add more tests.
27376 * sysdeps/i386/fpu/libm-test-ulps: Update.
27377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27378
aa4a2ae1
JM
27379 [BZ #13840]
27380 * math/libm-test.inc (hypot_test): Add more tests.
27381
7c10fd35
DM
273822012-03-13 David S. Miller <davem@davemloft.net>
27383
27384 [BZ #13840]
27385 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
27386 double-precision for the calculation instead of scaling.
27387
f453b98b
JM
273882012-03-13 Joseph Myers <joseph@codesourcery.com>
27389
27390 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
27391 manipulate bits before adding and subtracting TWO52[sx].
27392 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
27393 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27394 Likewise.
27395 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
27396
09a3453f
DM
273972012-03-13 David S. Miller <davem@davemloft.net>
27398
8e59da90
DM
27399 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
27400 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
27401 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
27402 rtld-global-offsets.h
27403 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27404
2a8ab7f2
DM
27405 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
27406 large parameters.
27407
10f62770
DM
27408 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
27409
5f0bdb18
DM
27410 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
27411 'err' in the ifdef scope in which it is actually used.
27412
09a3453f
DM
27413 * nss/nss_db/db-init.c: Include string.h
27414
b4b2eb5e
DM
274152012-03-12 David S. Miller <davem@davemloft.net>
27416
98bb2f1c
DM
27417 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27418 masking out of the most significant byte of random value used.
27419 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27420 Fix coding style in previous change.
27421
b4b2eb5e
DM
27422 * sysdeps/unix/sysv/linux/kernel-features.h
27423 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
27424 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
27425 expression.
27426 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
27427 later.
27428
6e226b09
DM
274292012-03-11 David S. Miller <davem@davemloft.net>
27430
a1bcbd40
DM
27431 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27432 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
27433 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
27434 for 'resultvar' otherwise things get truncated on 64-bit.
27435
cb9d6174
DM
27436 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27437 Fix masking out of the most significant byte of random value used.
27438
6e226b09
DM
27439 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27440
058c132d
AS
274412012-03-10 Andreas Schwab <schwab@linux-m68k.org>
27442
27443 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27444
2d2cd515
DM
274452012-03-09 David S. Miller <davem@davemloft.net>
27446
27447 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
27448 variables with appropriate CPP guards.
27449 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
27450 frame pointer, not the stack pointer. Correct layout comments. Fix test
27451 on resulting framesize and the management of the outregs buffer for pltexit.
27452 Preserve floating point return values across _dl_call_pltexit call.
27453 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
27454 framesize and the management of the outregs buffer for pltexit.
27455 Preserve floating point return values across _dl_call_pltexit
27456 call.
27457 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
27458 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
27459 (print_exit): Fix format string for return register value.
27460
9a07f9d0
JM
274612012-03-10 Joseph Myers <joseph@codesourcery.com>
27462
27463 * sunrpc/Makefile (others): Add rpcgen.
27464 ($(objpfx)rpcgen): Remove special build rule and dependency on
27465 libc.
27466 * sunrpc/rpcgen.c: New file.
27467
547b5e30
PE
274682012-03-09 Paul Eggert <eggert@cs.ucla.edu>
27469
c524201a
PE
27470 [BZ #13673]
27471 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
27472 * stdio-common/bug-vfprintf-nargs.c: Likewise.
27473 * sysdeps/i386/crti.S: Likewise.
27474 * sysdeps/i386/crtn.S: Likewise.
27475 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
27476 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
27477 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
27478 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
27479 * sysdeps/sh/crti.S: Likewise.
27480 * sysdeps/sh/crtn.S: Likewise.
27481 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27482
7b6235f2
PE
27483 [BZ #13673]
27484 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
27485 with URL.
27486 * locale/programs/locfile-kw.gperf: Likewise.
27487 * locale/programs/charmap-kw.h: Regenerated.
27488 * locale/programs/locfile-kw.h: Likewise.
27489
547b5e30
PE
27490 [BZ #13673]
27491 * intl/plural.y: Replace FSF snail mail address with URL.
27492 * intl/plural.c: Regenerated.
27493
5f0a5dae
RH
274942012-03-09 Richard Henderson <rth@twiddle.net>
27495
27496 * include/math_private.h: Remove file.
27497 * math/math_private.h: Move file ...
27498 * sysdeps/generic/math_private.h: ... here.
27499
b8c03620
RH
27500 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
27501 * sysdeps/powerpc/fpu/math_private.h: Likewise.
27502 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27503
4e234f5d 27504 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
27505 and <math_private.h>.
27506 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27507 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27508 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27509 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27510 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27511 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
27512 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27513 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27514 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27515 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27516 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27517 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27518 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27519 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27520 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27521 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27522 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27523 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27524 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27525 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27526 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27527 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27528 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27529 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27530 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27531 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27532 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27533 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27534 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27535 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27536 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27537 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27538 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27539 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27540 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27541 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27542 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27543 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27544 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27545 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27546 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
27547 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27548 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27549 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27550 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27551 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27552 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
27553 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27554 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27555 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27556 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27557 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
27558 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27559 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27560 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27561 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27562 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27563 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27564 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27565 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
27566 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27567 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27568 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27569 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27570 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
27571 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27572 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27573 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27574 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
27575 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
27576 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27577 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27578 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27579 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27580 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
27581 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
27582 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
27583 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27584 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
27585 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
27586 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27587 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
27588 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27589 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27590 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27591 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
27592 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
27593 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
27594 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27595 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27596 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27597 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27598 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27599 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27600 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27601 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27602 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27603 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27604 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27605 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27606 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27607 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27608 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27609 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27610 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27611 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27612 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27613 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27614 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27615 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27616 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27617 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27618 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27619 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27620 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
27621 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27622 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27623 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27624 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27625 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27626 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27627 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27628 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27629 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
27630 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27631 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27632 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27633 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
27634 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27635 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
27636 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
27637 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27638 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27639 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
27640 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
27641 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27642 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27643 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27644 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
27645 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27646 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27647 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27648 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27649 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
27650 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
27651 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27652 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27653 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27654 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
27655 * sysdeps/ieee754/k_standard.c: Likewise.
27656 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27657 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27658 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27659 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27660 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27661 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27662 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27663 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27664 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27665 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27666 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27667 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27668 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27669 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27670 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27671 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27672 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27673 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27674 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27675 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
27676 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
27677 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
27678 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27679 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27680 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27681 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
27682 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27683 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27684 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27685 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27686 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27687 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27688 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27689 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27690 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27691 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27692 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27693 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
27694 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
27695 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27696 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27697 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27698 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27699 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27700 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27701 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27702 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27703 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27704 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27705 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27706 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27707 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27708 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27709 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
27710 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27711 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27712 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
27713 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
27714 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27715 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27716 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27717 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27718 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27719 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27720 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27721 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27722 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27723 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27724 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27725 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27726 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27727 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27728 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27729 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27730 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27731 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27732 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
27733 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27734 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27735 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27736 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27737 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27738 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27739 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27740 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
27741 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27742 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27743 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
27744 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27745 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27746 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
27747 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27748 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
27749 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27750 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27751 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27752 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
27753 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
27754 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
27755 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
27756 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27757 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27758 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27759 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27760 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
27761 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27762 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27763 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
27764 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
27765 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27766 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27767 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27768 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27769 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27770 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27771 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27772 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27773 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27774 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27775 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27776 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27777 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27778 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27779 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27780 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27781 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
27782 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27783 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27784 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27785 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27786 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27787 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27788 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27789 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
27790 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27791 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27792 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
27793 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
27794 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27795 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
27796 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
27797 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27798 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
27799 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
27800 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27801 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27802 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27803 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27804 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27805 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
27806 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27807 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27808 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27809 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27810 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
27811 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
27812 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27813 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27814 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27815 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
27816 * sysdeps/ieee754/s_lib_version.c: Likewise.
27817 * sysdeps/ieee754/s_matherr.c: Likewise.
27818 * sysdeps/ieee754/s_signgam.c: Likewise.
27819 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27820 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27821 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
27822 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
27823 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
27824 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27825 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
27826 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
27827 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
27828 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
27829 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27830 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
27831 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27832 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27833 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
27834 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27835 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27836 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27837 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27838 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27839 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 27840
1991fa03
JM
278412012-03-09 Joseph Myers <joseph@codesourcery.com>
27842
27843 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
27844 * sunrpc/rpc_main.c: Likewise.
27845 * sunrpc/rpc_svcout.c: Likewise.
27846
60d6f5a6
DM
278472012-03-09 David S. Miller <davem@davemloft.net>
27848
27849 * include/math_private.h: New file.
27850
4962050e
JM
278512012-03-09 Joseph Myers <joseph@codesourcery.com>
27852
02a6f887
JM
27853 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
27854 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
27855 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
27856 from <bits/socket_type.h>.
27857 (enum __socket_type): Don't define here.
27858 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
27859 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27860 bits/socket_type.h.
27861
c6e013c1
JM
27862 [BZ #13566]
27863 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
27864 checking __USE_GNU.
27865
4962050e
JM
27866 * Makerules ($(inst_includedir)/%.h): New rule.
27867 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
27868 (install-others): Remove variable setting.
27869 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
27870
38842f45
RH
278712012-03-08 Richard Henderson <rth@twiddle.net>
27872
67bb6da6
RH
27873 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
27874 from macro to inline function; merge with the
27875 !__LIBC_INTERNAL_MATH_INLINES version.
27876 (__ieee754_sqrtf): Likewise.
27877
15194b4b
RH
27878 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
27879 to inline function.
27880 (__rintf, __floor, __floorf): Likewise.
27881
64e21ede
RH
27882 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
27883 macro to inline function.
27884 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
27885
38842f45
RH
27886 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
27887 not <math/math_private.h>.
27888
c64bf5fe
DM
278892012-03-08 David S. Miller <davem@davemloft.net>
27890
27891 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
27892 copyright year.
27893 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
27894
82d86f28
TS
278952012-03-08 Thomas Schwinge <thomas@codesourcery.com>
27896
27897 * resolv/gai_misc.c (handle_requests): Fix struct timespec
27898 normalization.
27899 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
27900 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
27901
aea5d727
UD
279022012-03-08 Ulrich Drepper <drepper@gmail.com>
27903
27904 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
27905 be defined individually, they must be defined as a block. Define
27906 S for printing a string instead of hidint the different by using a
27907 macro for adding the 'l'.
27908 * stdio-common/tst-fphex-wide.c: Adjust.
27909
70bca0a3
MP
279102012-03-07 Marek Polacek <polacek@redhat.com>
27911
27912 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
27913
65b81130
MP
279142012-03-08 Marek Polacek <polacek@redhat.com>
27915
27916 [BZ #13806]
27917 * stdio-common/Makefile (tests): Add tst-fphex-wide.
27918 * stdio-common/tst-fphex.c: Define a few macros to make the
27919 test reusable. Use them.
27920 * stdio-common/tst-fphex-wide.c: New file.
27921
07037eeb
JM
279222012-03-08 Joseph Myers <joseph@codesourcery.com>
27923
a7a93d50
JM
27924 [BZ #6911]
27925 * manual/macros.texi (gnusystems): New macro.
27926 (nongnusystems): Likewise.
27927 (gnulinuxhurdsystems): Likewise.
27928 (gnuhurdsystems): Likewise..
27929 (gnulinuxsystems): Likewise.
27930 * manual/charset.texi: Use new macros or @theglibc{} to refer to
27931 variants of the GNU system, not "GNU system".
27932 * manual/conf.texi: Likewise.
27933 * manual/errno.texi: Likewise. Update example of errno macro
27934 expansion.
27935 * manual/filesys.texi: Likewise.
27936 (getumask): Document as specific to GNU/Hurd.
27937 * manual/install.texi: Likewise. Reword some references to
27938 GNU/Linux.
27939 * manual/intro.texi: Likewise.
27940 * manual/io.texi: Likewise.
27941 (File Name Portability): Detail which constraints are inapplicable
27942 to all GNU systems and which are only inapplicable to GNU/Hurd.
27943 * manual/job.texi: Likewise.
27944 * manual/llio.texi: Likewise.
27945 (O_NOCTTY): Document as present on GNU/Linux.
27946 * manual/maint.texi: Likewise.
27947 * manual/memory.texi: Likewise.
27948 * manual/pattern.texi: Likewise.
27949 * manual/pipe.texi: Likewise.
27950 * manual/process.texi: Likewise.
27951 * manual/resource.texi: Likewise.
27952 (RUSAGE_CHILDREN): Remove statement about specifying a particular
27953 child on GNU/Hurd.
27954 * manual/setjmp.texi: Likewise.
27955 * manual/signal.texi: Likewise.
27956 * manual/startup.texi: Likewise.
27957 * manual/stdio.texi: Likewise.
27958 * manual/terminal.texi: Likewise.
27959 (ONLCR): Document as POSIX.
27960 (OXTABS): Document availability on GNU/Linux as XTABS.
27961 (ONOEOT): Document availability separately from other bits.
27962 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
27963 * manual/time.texi: Likewise.
27964 * manual/users.texi: Likewise.
27965 * INSTALL: Regenerated.
27966 * sysdeps/gnu/errlist.c: Regenerated.
27967
07037eeb
JM
27968 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
27969 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
27970 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
27971 puts.
27972 * configure: Regenerated.
27973
d1d3431a
JM
279742012-03-07 Joseph Myers <joseph@codesourcery.com>
27975
af6a1e37
JM
27976 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
27977 default includes instead of AC_HEADER_CHECK.
27978 * sysdeps/i386/configure: Regenerated.
27979
d1d3431a
JM
27980 [BZ #10716]
27981 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
27982 * math/s_cacoshf.c (__cacoshf): Likewise.
27983 * math/s_cacoshl.c (__cacoshl): Likewise.
27984 * math/s_casinh.c (__casinh): Set signs of result from argument.
27985 * math/s_casinhf.c (__casinhf): Likewise.
27986 * math/s_casinhl.c (__casinhl): Likewise.
27987 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
27988 (casinh_test): Add more tests.
27989 * sysdeps/i386/fpu/libm-test-ulps: Update.
27990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27991
482ff4da
UD
279922012-03-07 Ulrich Drepper <drepper@gmail.com>
27993
872fda05
UD
27994 * po/zh_TW.po: Update from translation team.
27995
a4300c7a
UD
27996 * login/Makefile (distribute): Remove variable.
27997 * catgets/Makefile: Likewise.
27998 * mach/Makefile: Likewise.
27999 * malloc/Makefile: Likewise.
28000 * misc/Makefile: Likewise.
28001 * iconv/Makefile: Likewise.
28002 * nscd/Makefile: Likewise.
28003 * hurd/Makefile: Likewise.
28004 * manual/Makefile: Likewise.
28005 * locale/Makefile: Likewise.
28006 * intl/Makefile: Likewise.
28007 * conform/Makefile: Likewise.
28008 * nss/Makefile: Likewise.
28009 * time/Makefile: Likewise.
28010 * soft-fp/Makefile: Likewise.
28011 * dirent/Makefile: Likewise.
28012 * gmon/Makefile: Likewise.
28013 * po/Makefile: Likewise.
28014 * rt/Makefile: Likewise.
28015 * socket/Makefile: Likewise.
28016 * math/Makefile: Likewise.
28017 * signal/Makefile: Likewise.
28018 * debug/Makefile: Likewise.
28019 * elf/Makefile: Likewise.
28020 * timezone/Makefile: Likewise.
28021 * stdlib/Makefile: Likewise.
28022 * iconvdata/Makefile: Likewise.
28023 * sunrpc/Makefile: Likewise.
28024 * io/Makefile: Likewise.
28025 * argp/Makefile: Likewise.
28026 * inet/Makefile: Likewise.
28027 * hesiod/Makefile: Likewise.
28028 * grp/Makefile: Likewise.
28029 * csu/Makefile: Likewise.
28030 * wctype/Makefile: Likewise.
28031 * crypt/Makefile: Likewise.
28032 * libio/Makefile: Likewise.
28033 * string/Makefile: Likewise.
28034 * nis/Makefile: Likewise.
28035 * resolv/Makefile: Likewise.
28036 * stdio-common/Makefile: Likewise.
28037 * wcsmbs/Makefile: Likewise.
28038 * dlfcn/Makefile: Likewise.
28039 * posix/Makefile: Likewise.
28040
3b7c4e74 28041 [BZ #6959]
482ff4da
UD
28042 * timezone/Makefile: Don't install timezone files, just the programs
28043 and scripts.
28044
f72ed77d
UD
280452012-03-06 Ulrich Drepper <drepper@gmail.com>
28046
a000466f
UD
28047 * nss/databases.def: Add missing gshadow entry.
28048
f72ed77d
UD
28049 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
28050
a53b7a4e
MP
280512012-03-06 Marek Polacek <polacek@redhat.com>
28052
28053 [BZ #13726]
28054 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
28055 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28056 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
28057 * stdio-common/tst-long-dbl-fphex.c: New file.
28058
e9258400
DM
280592012-03-06 David S. Miller <davem@davemloft.net>
28060
28061 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28062 (set_obp_int): New function.
28063 (get_obp_int): New function.
28064 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
28065 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
28066 Avoid unused variable warnings on 'val' and use builtin_expect.
28067 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
28068 __builtin_expect.
e9258400
DM
28069 (INLINE_CLONE_SYSCALL): Likewise.
28070
3bd2c723
DM
280712012-03-05 David S. Miller <davem@davemloft.net>
28072
28073 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28074
bbb78d03
AS
280752012-03-05 Andreas Schwab <schwab@linux-m68k.org>
28076
884c5db4
AS
28077 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28078
bbb78d03
AS
28079 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
28080 only for |x| >= 40.
28081 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28082
1c9f702a 280832012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
28084
28085 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
28086 Replace gettimeofday with __vdso_gettimeofday.
28087
7be16f82
RM
28088 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28089 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
28090 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
28091
28092 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
28093 time with __vdso_time.
28094
ed58a00f
JM
280952012-03-05 Joseph Myers <joseph@codesourcery.com>
28096
28097 * manual/lang.texi (size_t): Note types to which size_t may be
28098 equivalent with the GNU C Library, but do not describe when
28099 differences between them are significant.
28100
30ee4ced
AJ
281012012-03-05 Andreas Jaeger <aj@suse.de>
28102
28103 * sysdeps/i386/fpu/libm-test-ulps: Update.
28104
b7cd39e8
JM
281052012-03-05 Joseph Myers <joseph@codesourcery.com>
28106
28107 [BZ #3976]
28108 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
28109 (__ieee754_pow): Save and restore rounding mode and use
28110 round-to-nearest for main computations.
28111 * math/libm-test.inc (pow_test_tonearest): New function.
28112 (pow_test_towardzero): Likewise.
28113 (pow_test_downward): Likewise.
28114 (pow_test_upward): Likewise.
28115 (main): Call the new functions.
28116 * sysdeps/i386/fpu/libm-test-ulps: Update.
28117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
28118
28119 [BZ #3976]
28120 * math/libm-test.inc (cosh_test_tonearest): New function.
28121 (cosh_test_towardzero): Likewise.
28122 (cosh_test_downward): Likewise.
28123 (cosh_test_upward): Likewise.
28124 (sinh_test_tonearest): Likewise.
28125 (sinh_test_towardzero): Likewise.
28126 (sinh_test_downward): Likewise.
28127 (sinh_test_upward): Likewise.
28128 (main): Call the new functions.
28129 * sysdeps/i386/fpu/libm-test-ulps: Update.
28130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28131
6c6a98c9
TV
281322012-03-05 Tom de Vries <tom@codesourcery.com>
28133
28134 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
28135 default stack guard is set in last bytes.
28136 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
28137
21bb2d2e 281382012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 28139
21bb2d2e 28140 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 28141
21bb2d2e
AJ
28142 [BZ #13656]
28143 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
28144 possibly allocate from heap instead of stack.
28145 * stdio-common/bug-vfprintf-nargs.c: New file.
28146 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 28147
c6922934
AS
281482012-03-03 Andreas Schwab <schwab@linux-m68k.org>
28149
28150 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28151
bc957d53
MP
281522012-03-03 Marek Polacek <polacek@redhat.com>
28153
28154 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
28155 * math/math_private.h: Likewise.
28156 * stdlib/tst-strtod.c: Likewise.
28157 * sysdeps/i386/i486/bits/atomic.h: Likewise.
28158 * sysdeps/x86_64/bits/atomic.h: Likewise.
28159
6358490d
DM
281602012-03-02 David S. Miller <davem@davemloft.net>
28161
28162 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
28163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
28164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
28165 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
28166 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
28167 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
28168 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
28169 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
28170
01ae168d
RM
281712012-03-02 Roland McGrath <roland@hack.frob.com>
28172
d9a17c07
RM
28173 [BZ #13792]
28174 * manual/examples/README: New file, says the example source files
28175 can be used under GPL>=2.
28176 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
28177 line containing just "*/".
28178 * manual/examples/add.c: Add copyright header (GPL>=2).
28179 * manual/examples/argp-ex1.c: Likewise.
28180 * manual/examples/argp-ex2.c: Likewise.
28181 * manual/examples/argp-ex3.c: Likewise.
28182 * manual/examples/argp-ex4.c: Likewise.
28183 * manual/examples/atexit.c: Likewise.
28184 * manual/examples/db.c: Likewise.
28185 * manual/examples/dir.c: Likewise.
28186 * manual/examples/dir2.c: Likewise.
28187 * manual/examples/execinfo.c: Likewise.
28188 * manual/examples/filecli.c: Likewise.
28189 * manual/examples/filesrv.c: Likewise.
28190 * manual/examples/fmtmsgexpl.c: Likewise.
28191 * manual/examples/genpass.c: Likewise.
28192 * manual/examples/inetcli.c: Likewise.
28193 * manual/examples/inetsrv.c: Likewise.
28194 * manual/examples/isockad.c: Likewise.
28195 * manual/examples/longopt.c: Likewise.
28196 * manual/examples/memopen.c: Likewise.
28197 * manual/examples/memstrm.c: Likewise.
28198 * manual/examples/mkfsock.c: Likewise.
28199 * manual/examples/mkisock.c: Likewise.
28200 * manual/examples/mygetpass.c: Likewise.
28201 * manual/examples/pipe.c: Likewise.
28202 * manual/examples/popen.c: Likewise.
28203 * manual/examples/rprintf.c: Likewise.
28204 * manual/examples/search.c: Likewise.
28205 * manual/examples/select.c: Likewise.
28206 * manual/examples/setjmp.c: Likewise.
28207 * manual/examples/sigh1.c: Likewise.
28208 * manual/examples/sigusr.c: Likewise.
28209 * manual/examples/stpcpy.c: Likewise.
28210 * manual/examples/strdupa.c: Likewise.
28211 * manual/examples/strftim.c: Likewise.
28212 * manual/examples/strncat.c: Likewise.
28213 * manual/examples/subopt.c: Likewise.
28214 * manual/examples/swapcontext.c: Likewise.
28215 * manual/examples/termios.c: Likewise.
28216 * manual/examples/testopt.c: Likewise.
28217 * manual/examples/testpass.c: Likewise.
28218 * manual/examples/timeval_subtract.c: Likewise.
28219
01ae168d
RM
28220 [BZ #13792]
28221 * manual/time.texi (Elapsed Time): Move timeval_subtract example
28222 function to ...
28223 * manual/timeval_subtract.c.texi: ... here, new file.
28224
49efa33d
DM
282252012-03-02 David S. Miller <davem@davemloft.net>
28226
28227 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
28228
28afd92d
JM
282292012-03-02 Joseph Myers <joseph@codesourcery.com>
28230
804360ed
JM
28231 [BZ #3976]
28232 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
28233 (__sin): Save and restore rounding mode and use round-to-nearest
28234 for all computations.
28235 (__cos): Save and restore rounding mode and use round-to-nearest
28236 for all computations.
28237 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
28238 <fenv.h>.
28239 (tan): Save and restore rounding mode and use round-to-nearest for
28240 all computations.
28241 * math/libm-test.inc (cos_test_tonearest): New function.
28242 (cos_test_towardzero): Likewise.
28243 (cos_test_downward): Likewise.
28244 (cos_test_upward): Likewise.
28245 (sin_test_tonearest): Likewise.
28246 (sin_test_towardzero): Likewise.
28247 (sin_test_downward): Likewise.
28248 (sin_test_upward): Likewise.
28249 (tan_test_tonearest): Likewise.
28250 (tan_test_towardzero): Likewise.
28251 (tan_test_downward): Likewise.
28252 (tan_test_upward): Likewise.
28253 (main): Call the new functions.
28254 * sysdeps/i386/fpu/libm-test-ulps: Update.
28255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28256
a6d06d7b
JM
28257 [BZ #10135]
28258 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
28259 small n, then large n, before computing and testing k+n.
28260 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
28261 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
28262 Likewise.
28263 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
28264 Likewise.
28265 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
28266 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
28267 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
28268 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
28269 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28270 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28271 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
28272 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
28273 * math/libm-test.inc (scalbn_test): Add more tests.
28274 (scalbln_test): Likewise.
28275
07e12bb3
JM
28276 * manual/filesys.texi (mode_t): Describe constraints on size and
28277 signedness, not exact equivalence to a particular type.
28278 (ino_t): Likewise.
28279 (ino64_t): Likewise.
28280 (dev_t): Likewise.
28281 (nlink_t): Likewise.
28282 (blkcnt_t): Likewise.
28283 (blkcnt64_t): Likewise.
28284 * manual/llio.texi (off_t): Likewise.
28285
28afd92d
JM
28286 [BZ #3976]
28287 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
28288 (__ieee754_exp): Save and restore rounding mode and use
28289 round-to-nearest for all computations.
28290 * math/libm-test.inc (exp_test_tonearest): New function.
28291 (exp_test_towardzero): Likewise.
28292 (exp_test_downward): Likewise.
28293 (exp_test_upward): Likewise.
28294 (main): Call the new functions.
28295 * sysdeps/i386/fpu/libm-test-ulps: Update.
28296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28297
b1eeb65d
CD
282982012-03-01 Chris Demetriou <cgd@google.com>
28299
28300 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
28301 have predictable order.
28302
53362a4b
DM
283032012-03-01 David S. Miller <davem@davemloft.net>
28304
3c969083
DM
28305 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
28306
759707de
DM
28307 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
28308 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
28309 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
28310 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
28311
dfdb8ff2
DM
28312 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
28313 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
28314 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
28315 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
28316 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
28317 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
28318 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
28319 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
28320 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
28321
ead89f96
DM
28322 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28323
7f66bd07
DM
28324 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
28325 * sysdeps/sparc/fpu/libm-test-ulps: to here.
28326 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
28327
53362a4b
DM
28328 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
28329 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28330 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28331 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
28332 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
28333 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
28334 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
28335 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28336 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28337 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
28338 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
28339 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28340 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28341 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28342 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28343 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28344 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
28345 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
28346 * sysdeps/sparc/elf/configure: Regenerated.
28347
7b1902cb
JM
283482012-03-01 Joseph Myers <joseph@codesourcery.com>
28349
bec039bc
JM
28350 * configure.in (AS, LD): Require binutils 2.20 or later.
28351 * configure: Regenerated.
28352 * manual/install.texi (Tools for Compilation): Give binutils 2.20
28353 as required minimum version.
28354 * INSTALL: Regenerated.
28355
7b1902cb
JM
28356 [BZ #2541]
28357 [BZ #4108]
28358 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
28359 before squaring exponent.
28360 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
28361 bottom long double and 27 bits of top long double before squaring
28362 exponent.
28363 * math/libm-test.inc (erfc_test): Add more tests.
28364 * sysdeps/i386/fpu/libm-test-ulps: Update.
28365 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28367
f775c276
KT
283682012-03-01 Kai Tietz <ktietz@redhat.com>
28369
28370 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
28371 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
28372 containing bit-fields.
28373 * soft-fp/extended.h (_FP_UNION_E): Likewise.
28374 * soft-fp/single.h (_FP_UNION_S): Likewise.
28375 * soft-fp/double.h (_FP_UNION_D): Likewise.
28376
5b8a4d4a
JM
283772012-02-29 Joseph Myers <joseph@codesourcery.com>
28378
0bab47b6
JM
28379 [BZ #13786]
28380 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
28381 not include ../strcmp.S.
28382 [USE_AS_STRNCASECMP_L]: Likewise.
28383 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
28384 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
28385 * sysdeps/i386/i686/multiarch/strncase_l-c.c
28386 (__strncasecmp_l_ia32): Define as alias to
28387 __strncasecmp_l_nonascii.
28388
0fcad3e2
JM
28389 [BZ #5794]
28390 * math/libm-test.inc (expm1_test): Add test for bug 5794.
28391 * sysdeps/i386/fpu/libm-test-ulps: Update.
28392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28393
5b8a4d4a
JM
28394 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
28395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28396
8fdceb2e
JL
283972012-02-29 Jeff Law <law@redhat.com>
28398
28399 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
28400 out of bounds read.
28401
1f393a11
MP
284022012-02-29 Marek Polacek <polacek@redhat.com>
28403
28404 [BZ #13706]
28405 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
28406 * elf/Makefile: Add rules to run tst-unused-dep.out.
28407
8847f037
DM
284082012-02-28 David S. Miller <davem@davemloft.net>
28409
28410 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
28411 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
28412 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
28413 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
28414 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
28415 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
28416
169d7f11
JM
284172012-02-29 Joseph Myers <joseph@codesourcery.com>
28418
28419 * math/libm-test.inc (llround_test): Move one test from
28420 lround_test. Use TEST_f_L in moved test.
28421 (lround_test): Move misplaced test to llround_test. Add testcase
28422 from bug 2561.
28423
39adf059
UD
284242012-02-28 Ulrich Drepper <drepper@gmail.com>
28425
28426 * sysdeps/x86_64/fpu/e_expf.S: New file.
28427 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
28428
71b5d1c5
SB
284292012-02-28 Stanislav Brabec <sbrabec@suse.cz>
28430
28431 [BZ #13637]
28432 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
28433 of remain_len that may cause incomplete multi-byte character and
28434 false match.
28435 * posix/bug-regex33.c: New file.
28436 * posix/Makefile (tests): Add bug-regex33.
28437
1f77f049
JM
284382012-02-28 Joseph Myers <joseph@codesourcery.com>
28439
28440 * manual/macros.texi: New file.
28441 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
28442 * manual/libc.texinfo: Include macros.texi.
28443 * manual/creatute.texi: Likewise.
28444 * manual/install.texi: Likewise.
28445 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
28446 @glibcadj{} in references to the GNU C Library.
28447 * manual/charset.texi: Likewise.
28448 * manual/conf.texi: Likewise.
28449 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
28450 when not using those macros.
28451 * manual/creature.texi: Likewise.
28452 * manual/crypt.texi: Likewise.
28453 * manual/errno.texi: Likewise.
28454 * manual/filesys.texi: Likewise.
28455 * manual/header.texi: Likewise.
28456 * manual/install.texi: Likewise.
28457 * manual/intro.texi: Likewise.
28458 * manual/io.texi: Likewise.
28459 * manual/job.texi: Likewise.
28460 * manual/lang.texi: Likewise.
28461 * manual/libc.texiinfo: Likewise.
28462 * manual/llio.texi: Likewise.
28463 * manual/locale.texi: Likewise.
28464 * manual/maint.texi: Likewise.
28465 * manual/math.texi: Likewise.
28466 * manual/memory.texi: Likewise.
28467 * manual/message.texi: Likewise.
28468 * manual/nss.texi: Likewise.
28469 * manual/pattern.texi: Likewise.
28470 * manual/process.texi: Likewise.
28471 * manual/resource.texi: Likewise.
28472 * manual/search.texi: Likewise.
28473 * manual/setjmp.texi: Likewise.
28474 * manual/signal.texi: Likewise.
28475 * manual/socket.texi: Likewise.
28476 * manual/startup.texi: Likewise.
28477 * manual/stdio.texi: Likewise.
28478 * manual/string.texi: Likewise.
28479 * manual/sysinfo.texi: Likewise.
28480 * manual/syslog.texi: Likewise.
28481 * manual/terminal.texi: Likewise.
28482 * manual/time.texi: Likewise.
28483 * manual/users.texi: Likewise.
28484 * INSTALL: Regenerated.
28485 * NOTES: Regenerated.
d40c5d54 28486 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 28487
450bf206
AS
284882012-02-28 Andreas Schwab <schwab@linux-m68k.org>
28489
28490 * include/dirent.h: Include <dirstream.h> before
28491 <dirent/dirent.h>.
28492
741a235b
DM
284932012-02-28 David S. Miller <davem@davemloft.net>
28494
28495 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
28496 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
28497 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
28498 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
28499
d6b5aa58
DM
285002012-02-27 David S. Miller <davem@davemloft.net>
28501
1aff59a3
DM
28502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
28503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
28504 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
28505 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
28506
d6b5aa58
DM
28507 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
28508 frame pointer instead of stack pointer relative arg slot.
28509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28510 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28511 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28512
433f48bf
CD
285132012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
28514
28515 [BZ #3992]
28516 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
28517
d674b76d
DM
285182012-02-27 David S. Miller <davem@davemloft.net>
28519
28520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
28521 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28522 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
28524 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28525 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28526 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
28527 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
28528
0e7727f7
JM
285292012-02-27 Joseph Myers <joseph@codesourcery.com>
28530
28531 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
28532 later. Allow versions 5-9.
43be4ca2 28533 * configure: Regenerated.
0e7727f7
JM
28534 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
28535 required minimum version and 4.6 as recommended version. Do not
28536 mention bugs in GCC 2.7 and 2.8.
43be4ca2 28537 * INSTALL: Regenerated.
0e7727f7 28538
a78bc654
DM
285392012-02-27 David S. Miller <davem@davemloft.net>
28540
428d5830
DM
28541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
28542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
28543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
28544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
28545 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
28546 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
28547 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
28548 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
28549
a78bc654
DM
28550 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
28551 manipulate bits before adding and subtracting TWO112[sx].
28552 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28553
4579f81c
RM
285542012-02-27 Roland McGrath <roland@hack.frob.com>
28555
36c8acb4
RM
28556 [BZ #13775]
28557 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
28558 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
28559 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
28560 being in POSIX, because they are in 1003.1-2008.
28561
84ad622b
RM
28562 * rt/tst-aio.c: Include <fcntl.h>.
28563 * rt/tst-aio7.c: Likewise.
28564 * rt/tst-aio64.c: Likewise.
28565
4579f81c
RM
28566 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
28567
abd923db
JM
285682012-02-27 Joseph Myers <joseph@codesourcery.com>
28569
28570 * manual/install.texi (--with-headers): Describe headers as
28571 interface headers, not private headers.
28572 (Specific advice for GNU/Linux systems): Describe use of headers
28573 from "make headers_install", not private headers from older
28574 kernels.
43be4ca2 28575 * INSTALL: Regenerated.
abd923db
JM
28576 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
28577 Change to 2.6.19.
28578 * sysdeps/unix/sysv/linux/configure: Regenerated.
28579
6664049b
JM
28580 * manual/llio.texi (fclean): Remove documentation.
28581
bb8b6697
JM
28582 * manual/Makefile (libc-texi-generated): New variable. Include
28583 version.texi.
28584 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
28585 $(libc-texi-generated), not duplicated list of files.
28586 (version.texi, stamp-version): New rules.
28587 (realclean): Remove $(libc-texi-generated), not individual files
28588 from that list. Do not remove dir-add.texinfo.
28589 * manual/libc.texinfo: Comment out uses of edition numbers and
28590 references to printed manual. Remove last-updated dates.
28591 (EDITION): Comment out.
28592 (ISBN): Likewise.
28593 (VERSION, UPDATED): Remove.
28594 (version.texi): Include.
28595
12e5c3b9
AS
285962012-02-27 Andreas Schwab <schwab@linux-m68k.org>
28597
28598 * sysdeps/posix/spawni.c: Include <signal.h>.
28599 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
28600 * sysdeps/pthread/aio_fsync.c: Likewise.
28601
4efeffc1 286022012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 28603
ba63ba08
UD
28604 * conform/Makefile (tests): Run only when not cross-compiling and
28605 when fast-check is not defined.
28606
d94a4670
UD
28607 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
28608 * conform/data/limits.h-data: Fixes for POSIX2008.
28609 * conform/run-conformtest.sh: Run all tests.
28610 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
28611 headers.
28612 * include/bits/dlfcn.h: Likewise.
28613 * include/langinfo.h: Likewise.
28614 * include/monetary.h: Likewise.
28615 * include/sys/poll.h: Likewise.
28616
28617 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
28618 for __USE_GNU.
28619 * posix/spawn.h: Define __need_sigset_t.
28620 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
28621 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
28622 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
28623 to get sigevent_t only.
28624 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
28625 only for __USE_GNU.
28626 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28627 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28628 process_vm_writev only for __USE_GNU.
28629 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
28630
28631 * conform/Makefile: For now ignore errors from run-conformtest.
28632 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
28633 POSIX to avoid namespace pollution. Don't prepend headers.
28634 * conform/data/aio.h-data: Fixes for POSIX testing.
28635 * conform/data/fcntl.h-data: Likewise.
28636 * conform/data/glob.h-data: Likewise.
28637 * conform/data/grp.h-data: Likewise.
28638 * conform/data/pthread.h-data: Likewise.
28639 * conform/data/pwd.h-data: Likewise.
28640 * conform/data/signal.h-data: Likewise.
28641 * conform/data/spawn.h-data: Likewise.
28642 * conform/data/stdio.h-data: Likewise.
28643 * conform/data/stdlib.h-data: Likewise.
28644 * conform/data/stropts.h-data: Likewise.
28645 * conform/data/sys/mman.h-data: Likewise.
28646 * conform/data/sys/stat.h-data: Likewise.
28647 * conform/data/sys/types.h-data: Likewise.
28648 * conform/data/sys/wait.h-data: Likewise.
28649 * conform/data/time.h-data: Likewise.
28650 * conform/data/unistd.h-data: Likewise.
28651 * conform/data/utime.h-data: Likewise.
28652
28653 * io/sys/stat.h: fchmod was always in POSIX.
28654 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
28655 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
28656 * rt/aio.h: Define __need_timespec before including <time.h>.
28657 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
28658 struct. Add forward declaration of pthread_attr_t and use it in
28659 sigevent.
28660 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28661 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28662 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
28663 always remove CLK_TCK definition.
28664
c20105c3
AS
286652012-02-26 Andreas Schwab <schwab@linux-m68k.org>
28666
28667 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
28668
7a270350
UD
286692012-02-25 Ulrich Drepper <drepper@gmail.com>
28670
31341567
UD
28671 * conform/run-conformtest.sh: New file.
28672 * conform/Makefile: Run run-conformtest for tests.
28673 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
28674 support.
28675
28676 * conform/data/uchar.h-data: New file.
28677 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
28678 * conform/data/arpa/inet.h-data: Likewise.
28679 * conform/data/assert.h-data: Likewise.
28680 * conform/data/complex.h-data: Likewise.
28681 * conform/data/cpio.h-data: Likewise.
28682 * conform/data/ctype.h-data: Likewise.
28683 * conform/data/dirent.h-data: Likewise.
28684 * conform/data/dlfcn.h-data: Likewise.
28685 * conform/data/errno.h-data: Likewise.
28686 * conform/data/fcntl.h-data: Likewise.
28687 * conform/data/float.h-data: Likewise.
28688 * conform/data/fmtmsg.h-data: Likewise.
28689 * conform/data/fnmatch.h-data: Likewise.
28690 * conform/data/ftw.h-data: Likewise.
28691 * conform/data/glob.h-data: Likewise.
28692 * conform/data/grp.h-data: Likewise.
28693 * conform/data/iconv.h-data: Likewise.
28694 * conform/data/inttypes.h-data: Likewise.
28695 * conform/data/langinfo.h-data: Likewise.
28696 * conform/data/libgen.h-data: Likewise.
28697 * conform/data/limits.h-data: Likewise.
28698 * conform/data/locale.h-data: Likewise.
28699 * conform/data/math.h-data: Likewise.
28700 * conform/data/monetary.h-data: Likewise.
28701 * conform/data/mqueue.h-data: Likewise.
28702 * conform/data/ndbm.h-data: Likewise.
28703 * conform/data/net/if.h-data: Likewise.
28704 * conform/data/netdb.h-data: Likewise.
28705 * conform/data/netinet/in.h-data: Likewise.
28706 * conform/data/nl_types.h-data: Likewise.
28707 * conform/data/poll.h-data: Likewise.
28708 * conform/data/pthread.h-data: Likewise.
28709 * conform/data/pwd.h-data: Likewise.
28710 * conform/data/regex.h-data: Likewise.
28711 * conform/data/sched.h-data: Likewise.
28712 * conform/data/search.h-data: Likewise.
28713 * conform/data/semaphore.h-data: Likewise.
28714 * conform/data/setjmp.h-data: Likewise.
28715 * conform/data/signal.h-data: Likewise.
28716 * conform/data/spawn.h-data: Likewise.
28717 * conform/data/stdarg.h-data: Likewise.
28718 * conform/data/stdio.h-data: Likewise.
28719 * conform/data/stdlib.h-data: Likewise.
28720 * conform/data/string.h-data: Likewise.
28721 * conform/data/strings.h-data: Likewise.
28722 * conform/data/stropts.h-data: Likewise.
28723 * conform/data/sys/ipc.h-data: Likewise.
28724 * conform/data/sys/mman.h-data: Likewise.
28725 * conform/data/sys/msg.h-data: Likewise.
28726 * conform/data/sys/resource.h-data: Likewise.
28727 * conform/data/sys/select.h-data: Likewise.
28728 * conform/data/sys/sem.h-data: Likewise.
28729 * conform/data/sys/shm.h-data: Likewise.
28730 * conform/data/sys/socket.h-data: Likewise.
28731 * conform/data/sys/stat.h-data: Likewise.
28732 * conform/data/sys/statvfs.h-data: Likewise.
28733 * conform/data/sys/time.h-data: Likewise.
28734 * conform/data/sys/timeb.h-data: Likewise.
28735 * conform/data/sys/times.h-data: Likewise.
28736 * conform/data/sys/types.h-data: Likewise.
28737 * conform/data/sys/uio.h-data: Likewise.
28738 * conform/data/sys/un.h-data: Likewise.
28739 * conform/data/sys/utsname.h-data: Likewise.
28740 * conform/data/sys/wait.h-data: Likewise.
28741 * conform/data/syslog.h-data: Likewise.
28742 * conform/data/tar.h-data: Likewise.
28743 * conform/data/termios.h-data: Likewise.
28744 * conform/data/utime.h-data: Likewise.
28745 * conform/data/utmpx.h-data: Likewise.
28746 * conform/data/varargs.h-data: Likewise.
28747 * conform/data/wchar.h-data: Likewise.
28748 * conform/data/wctype.h-data: Likewise.
28749 * conform/data/wordexp.h-data: Likewise.
28750
28751 * include/stropts.h: New file.
28752 * include/uchar.h: New file.
28753 * include/aio.h: Changes to allow conformtest.pl to use the headers.
28754 * include/assert.h: Likewise.
28755 * include/ctype.h: Likewise.
28756 * include/dirent.h: Likewise.
28757 * include/dlfcn.h: Likewise.
28758 * include/fcntl.h: Likewise.
28759 * include/fnmatch.h: Likewise.
28760 * include/glob.h: Likewise.
28761 * include/grp.h: Likewise.
28762 * include/libio.h: Likewise.
28763 * include/locale.h: Likewise.
28764 * include/math.h: Likewise.
28765 * include/net/if.h: Likewise.
28766 * include/netdb.h: Likewise.
28767 * include/netinet/in.h: Likewise.
28768 * include/pthread.h: Likewise.
28769 * include/pwd.h: Likewise.
28770 * include/regex.h: Likewise.
28771 * include/sched.h: Likewise.
28772 * include/search.h: Likewise.
28773 * include/setjmp.h: Likewise.
28774 * include/signal.h: Likewise.
28775 * include/stdio.h: Likewise.
28776 * include/stdlib.h: Likewise.
28777 * include/string.h: Likewise.
28778 * include/sys/cdefs.h: Likewise.
28779 * include/sys/mman.h: Likewise.
28780 * include/sys/msg.h: Likewise.
28781 * include/sys/resource.h: Likewise.
28782 * include/sys/select.h: Likewise.
28783 * include/sys/socket.h: Likewise.
28784 * include/sys/stat.h: Likewise.
28785 * include/sys/statvfs.h: Likewise.
28786 * include/sys/time.h: Likewise.
28787 * include/sys/times.h: Likewise.
28788 * include/sys/uio.h: Likewise.
28789 * include/sys/utsname.h: Likewise.
28790 * include/sys/wait.h: Likewise.
28791 * include/termios.h: Likewise.
28792 * include/time.h: Likewise.
28793 * include/ulimit.h: Likewise.
28794 * include/unistd.h: Likewise.
28795 * include/utime.h: Likewise.
28796 * include/wchar.h: Likewise.
28797 * include/wctype.h: Likewise.
28798 * include/wordexp.h: Likewise.
28799
28800 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
28801
7a270350
UD
28802 * time/time.h: TIME_UTC must be a macro.
28803 Make timespec_get available for ISO C11 only as well.
28804
7724defc
UD
288052012-02-24 Ulrich Drepper <drepper@gmail.com>
28806
28807 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
28808 Reported by Peng Haitao <penght@cn.fujitsu.com>.
28809
6b1d1d46
JM
288102012-02-24 Joseph Myers <joseph@codesourcery.com>
28811
28812 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 28813
0f8bbd69
JM
288142012-02-24 Joseph Myers <joseph@codesourcery.com>
28815
28816 * manual/texinfo.tex: Update to version 2012-01-19.16.
28817
66ab80bc
JM
288182012-02-24 Joseph Myers <joseph@codesourcery.com>
28819
28820 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
28821
74981cc5
RM
288222012-02-24 Roland McGrath <roland@hack.frob.com>
28823
ee968201
RM
28824 [BZ #13738]
28825 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
28826 * manual/fdl-1.3.texi: New file.
28827 * manual/fdl-1.1.texi: File removed.
28828
74981cc5
RM
28829 [BZ #13738]
28830 * manual/libc.texinfo (FDL_VERSION): New @set.
28831 Use it for mention of FDL in cover text.
28832 (Documentation License): Use it in @include file name.
28833
7bb764bc
JM
288342012-02-22 Joseph Myers <joseph@codesourcery.com>
28835 Roland McGrath <roland@hack.frob.com>
28836
28837 [BZ #5461]
28838 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
28839 not LONG_LONG_MAX and LONG_LONG_MIN.
28840 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
28841 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
28842 name.
28843 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
28844
6cbeae47
JM
288452012-02-22 Joseph Myers <joseph@codesourcery.com>
28846
28847 [BZ #2547]
28848 [BZ #11365]
28849 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
28850 manipulate bits before adding and subtracting TWO23[sx].
28851 * math/libm-test.inc (nearbyint_test): Add more tests.
28852
fe45ce09
JM
288532012-02-22 Joseph Myers <joseph@codesourcery.com>
28854
28855 [BZ #2548]
28856 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
28857 bits before adding and subtracting TWO23[sx].
28858 * math/libm-test.inc (rint_test): Add more tests.
28859 (rint_test_tonearest): Likewise.
28860 (rint_test_towardzero): Likewise.
28861 (rint_test_downward): Likewise.
28862 (rint_test_upward: Likewise.
28863
ff3b3d82
JM
288642012-02-22 Joseph Myers <joseph@codesourcery.com>
28865
28866 [BZ #10110]
28867 * include/stdc-predef.h: New file. Extracted from features.h.
28868 * include/features.h: Include stdc-predef.h.
28869 * Makefile (headers): Add stdc-predef.h.
28870 * CONFORMANCE (Compiler limitations): Update.
28871
ef0aab35
JM
288722012-02-22 Joseph Myers <joseph@codesourcery.com>
28873
28874 * manual/libc.texinfo (VERSION, UPDATED): Revert.
28875
58639409
DM
288762012-02-21 David S. Miller <davem@davemloft.net>
28877
28878 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
28879 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28880
c0e70b25
DM
288812012-02-20 David S. Miller <davem@davemloft.net>
28882
28883 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
28884 using a normal save/restore sequence, rather than allocating a
28885 dummy stack frame just to store a frame pointer and restore.
28886 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28887
fb06851d
JM
288882012-02-21 Joseph Myers <joseph@codesourcery.com>
28889
28890 * manual/install.texi: Fix stray word in line-wrapped comment.
28891
7a8b71c3
DM
288922012-02-20 David S. Miller <davem@davemloft.net>
28893
d510c123
DM
28894 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
28895 both binutils and gcc support GOTDATA.
28896
0722d7c2
DM
28897 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
28898 "rd %pc" in the PIC register setup sequences.
28899
3d2b3019
DM
28900 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
28901 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
28902 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28903 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
28904 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28905 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28906 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28907 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28908 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
28909 (SYSCALL_ERROR_HANDLER): Likewise.
28910 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28911 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28912 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
28913 (SYSCALL_ERROR_HANDLER): Likewise.
28914
c80098a9
DM
28915 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
28916 (HAVE_GCC_GOTDATA): New.
28917 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
28918 relocation support in both binutils and gcc.
28919 * sysdeps/sparc/elf/configure: Regenerate.
28920
3a2545a0
DM
28921 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
28922 * sysdeps/sparc/sparc32/elf/configure: Delete.
28923 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
28924 * sysdeps/sparc/sparc64/elf/configure: Delete.
28925 * sysdeps/sparc/elf/configure.in: New file.
28926 * sysdeps/sparc/elf/configure: Generate.
28927
7a8b71c3
DM
28928 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
28929 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
28930 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28931 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
28932 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
28933
f1e86fca
JM
289342012-02-21 Joseph Myers <joseph@codesourcery.com>
28935
28936 * manual/install.texi: Do not mention specific glibc version
28937 numbers.
28938 * manual/libc.texinfo (VERSION, UPDATED): Update.
28939 (@copying): Use @copyright{} and range of years.
28940
0e7dfaef
JM
289412012-02-21 Joseph Myers <joseph@codesourcery.com>
28942
28943 [BZ #13695]
28944 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
28945 [crti.S not in sysdirs] (generated): Do not append.
28946 [crti.S not in sysdirs] (omit-deps): Likewise.
28947 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
28948 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
28949 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
28950 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
28951 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
28952 Likewise.
28953 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
28954 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
28955 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
28956 * csu/defs.awk: Remove file.
28957 * sysdeps/generic/initfini.c: Likewise.
28958 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
28959 variable.
28960 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
28961 Likewise.
28962
599af3ca
JM
289632012-02-20 Joseph Myers <joseph@codesourcery.com>
28964
28965 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
28966 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
28967 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
28968 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
28969 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28970 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
28971 <bits/epoll.h>.
28972 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
28973 (__EPOLL_PACKED): Define to empty if not defined by
28974 <bits/epoll.h>.
28975 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
28976 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28977 bits/epoll.h.
28978
0e499750
JM
289792012-02-20 Joseph Myers <joseph@codesourcery.com>
28980
28981 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
28982 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
28983 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
28984 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
28985 <bits/timerfd.h>.
28986 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
28987 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28988 bits/timerfd.h.
28989
5ad91f6e
JM
289902012-02-20 Joseph Myers <joseph@codesourcery.com>
28991
28992 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
28993 in C locale.
28994 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28995 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28996 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
28997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28998
06b99b02
AJ
289992012-02-20 Aurelien Jarno <aurelien@aurel32.net>
29000
29001 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29002 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29003
7638c0fd
AS
290042012-02-19 Andreas Schwab <schwab@linux-m68k.org>
29005
29006 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
29007 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
29008 defined.
29009 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
29010 Likewise.
29011 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
29012 entry for 2.16.
29013
92221550
AJ
290142012-02-19 Aurelien Jarno <aurelien@aurel32.net>
29015
29016 * math/w_acos.c: Use non-signaling floating-point comparisons.
29017 * math/w_acosf.c: Likewise.
29018 * math/w_acosh.c: Likewise.
29019 * math/w_acoshf.c: Likewise.
29020 * math/w_acoshl.c: Likewise.
29021 * math/w_acosl.c: Likewise.
29022 * math/w_asin.c: Likewise.
29023 * math/w_asinf.c: Likewise.
29024 * math/w_asinl.c: Likewise.
29025 * math/w_atanh.c: Likewise.
29026 * math/w_atanhf.c: Likewise.
29027 * math/w_atanhl.c: Likewise.
29028 * math/w_exp2.c: Likewise.
29029 * math/w_exp2f.c: Likewise.
29030 * math/w_exp2l.c: Likewise.
29031 * math/w_j0.c: Likewise.
29032 * math/w_j0f.c: Likewise.
29033 * math/w_j0l.c: Likewise.
29034 * math/w_j1.c: Likewise.
29035 * math/w_j1f.c: Likewise.
29036 * math/w_j1l.c: Likewise.
29037 * math/w_jn.c: Likewise.
29038 * math/w_jnf.c: Likewise.
29039 * math/w_log.c: Likewise.
29040 * math/w_log10.c: Likewise.
29041 * math/w_log10f.c: Likewise.
29042 * math/w_log10l.c: Likewise.
29043 * math/w_log2.c: Likewise.
29044 * math/w_log2f.c: Likewise.
29045 * math/w_log2l.c: Likewise.
29046 * math/w_logf.c: Likewise.
29047 * math/w_logl.c: Likewise.
29048 * math/w_sqrt.c: Likewise.
29049 * math/w_sqrtf.c: Likewise.
29050 * math/w_sqrtl.c: Likewise.
29051 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29052 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
29053 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29054 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29055 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29056
ebaf36eb
JM
290572012-02-19 Joseph Myers <joseph@codesourcery.com>
29058
29059 [BZ #9739]
29060 * manual/string.texi (strnlen): Use correct parameter name in
29061 equivalent expression.
29062
71c254a6
JM
290632012-02-19 Joseph Myers <joseph@codesourcery.com>
29064
29065 [BZ #11174]
29066 * manual/users.texi (seteuid): Consistently use neweuid for
29067 argument name.
29068
16d2c631
JM
290692012-02-19 Joseph Myers <joseph@codesourcery.com>
29070
29071 [BZ #13704]
29072 * manual/nss.texi (Services in the NSS configuration): Correct
29073 list of services in example configuration file.
29074
cd837b09
NB
290752012-02-19 Nick Bowler <nbowler@draconx.ca>
29076
29077 [BZ #11322]
29078 * manual/arith.texi: Remove statements about negative zero
29079 behaving identically to zero.
29080
02c4bbad
JM
290812012-02-18 Joseph Myers <joseph@codesourcery.com>
29082
29083 [BZ #5993]
29084 * manual/install.texi: Do not document upgrading from libc5.
29085
366842e7
JM
290862012-02-18 Joseph Myers <joseph@codesourcery.com>
29087
29088 [BZ #4596]
29089 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
29090
dd54084d
DM
290912012-02-18 David S. Miller <davem@davemloft.net>
29092
29093 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
29094 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
29095 %o7 across the call.
29096 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
29097 instead.
29098 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
29099 SETUP_PIC_REG_LEAF.
29100 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29101 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
29102 * sysdeps/sparc/crtn.S: Likewise.
29103
2bcc53a3
UD
291042012-02-17 Ulrich Drepper <drepper@gmail.com>
29105
29106 * aout/Makefile: Remove.
29107
09c093b5
RK
291082012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
29109
29110 [BZ #13058]
29111 * manual/examples/argp-ex1.c (main): Format definition in GNU
29112 style.
29113 * manual/examples/argp-ex2.c (main): Likewise.
29114 * manual/examples/argp-ex3.c (main): Likewise.
29115 * manual/examples/argp-ex4.c (main): Likewise.
29116 * manual/examples/longopt.c (main): Use new-style prototype
29117 definition.
29118 * manual/examples/strncat.c (main): Specify return type and use
29119 (void) for arguments.
29120 * manual/examples/subopt.c (main): Use char **argv argument.
29121
2ee633a2
JM
291222012-02-17 Joseph Myers <joseph@codesourcery.com>
29123
29124 [BZ #5077]
29125 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
29126 rounding modes.
29127
0520adde
FB
291282012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
29129
29130 [BZ #6907]
29131 * manual/string.texi (strchr): Change when strchrnul is
29132 recommended.
29133
3f4081cd
DGM
291342012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
29135
29136 [BZ #174]
29137 * manual/locale.texi (setlocale): Document LOCPATH.
29138
d1b10e78
JM
291392012-02-17 Joseph Myers <joseph@codesourcery.com>
29140
29141 [BZ #10210]
29142 * manual/process.texi (execle): Move @dots{} before last argument.
29143
79c6869c
PB
291442012-02-17 Paul Bolle <pebolle@tiscali.nl>
29145
29146 [BZ #12047]
29147 * manual/charset.texi (Generic Charset Conversion): Fix typo
29148 (LC_TYPE -> LC_CTYPE).
29149
cc6e48bc
NB
291502012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
29151
29152 [BZ #5805]
29153 * manual/arith.texi (scalbn): Use @var{} on parameter names.
29154 (scalbnf): Likewise.
29155 (scalbnl): Likewise.
29156 (scalbln): Likewise.
29157 (scalblnf): Likewise.
29158 (scalblnl): Likewise.
29159 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
29160 (vwarnx): Likewise.
29161 (verr): Likewise.
29162 (verrx): Likewise.
29163 * manual/filesys.texi (telldir): Use braces around return type.
29164 * manual/llio.texi (mmap): Add space after comma.
29165 (mmap64): Likewise.
29166 * manual/math.texi (jn): Use @var{} on parameter names.
29167 (jnf): Likewise.
29168 (jnl): Likewise.
29169 (yn): Likewise.
29170 (ynf): Likewise.
29171 (ynl): Likewise.
29172 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
29173 line.
29174 * manual/resource.texi (ulimit): Use @dots{} instead of literal
29175 "...".
29176 (sched_get_priority_min): Remove semicolon on @deftypefun line.
29177 (sched_get_priority_max): Likewise.
29178 * manual/signal.texi (sigvec): Add space after comma.
29179 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
29180 names.
29181 (if_indextoname): Likewise.
29182 (if_freenameindex): Likewise.
29183 (sendto): Use ',' instead of '.' in prototype.
29184 * manual/startup.texi (syscall): Use @dots{} instead of literal
29185 "...".
29186 * manual/stdio.texi (__fpending): Separate initial words of
29187 paragraph from @deftypefun line.
29188 * manual/syslog.texi (syslog): Use @dots{} instead of literal
29189 "...".
29190 (vsyslog): Use @var{} on parameter names.
29191 * manual/terminal.texi (stty): Use @var{} on parameter names.
29192 * manual/users.texi (getutmp): Use @var{} on parameter names.
29193 (getutmpx): Likewise.
29194
5b23062f
JM
291952012-02-17 Joseph Myers <joseph@codesourcery.com>
29196
29197 [BZ #6884]
29198 * manual/stdio.texi (fopen): Fix typos in description of
29199 ",ccs=STRING".
29200
8dee4833
AJ
292012012-02-17 Aurelien Jarno <aurelien@aurel32.net>
29202
29203 [BZ #4026]
29204 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
29205 get clock_id definition.
29206
9078ce93
TS
292072012-02-17 Thomas Schwinge <thomas@schwinge.name>
29208
29209 [BZ #4822]
29210 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
29211 (madvise): Cast every argument to void on its own.
29212
3835c55f
JM
292132012-02-17 Joseph Myers <joseph@codesourcery.com>
29214
29215 [BZ #9902]
29216 * manual/startup.texi (Exit Status): Fix typo.
29217
35c47e37
JM
292182012-02-17 Joseph Myers <joseph@codesourcery.com>
29219
29220 [BZ #10140]
29221 * manual/examples/argp-ex1.c: Include <stdlib.h>.
29222 * manual/examples/argp-ex2.c: Likewise.
29223 * manual/examples/argp-ex3.c: Likewise.
29224
e3b69ca7
RH
292252012-02-16 Richard Henderson <rth@redhat.com>
29226
29227 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
29228 * sysdeps/s390/s390-32/initfini.c: Remove.
29229 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
29230 * sysdeps/s390/s390-64/initfini.c: Remove.
29231
df83af67
KK
292322012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29233
29234 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
29235 compiler output for sysdeps/generic/initfini.c.
29236 * sysdeps/sh/elf/initfini.c: Remove file.
29237
f63f3380
DM
292382012-02-16 David S. Miller <davem@davemloft.net>
29239
fb59b3a4
DM
29240 [BZ #11494]
29241 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
29242
f63f3380
DM
29243 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
29244 * sysdeps/sparc/crti.S: New file.
29245 * sysdeps/sparc/crtn.S: New file.
29246 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
29247 * sysdeps/sparc/sparc64/Makefile: Likewise.
29248
df6a4a4a
MF
292492012-02-15 Mike Frysinger <vapier@gentoo.org>
29250
6dd8f3dc 29251 [BZ #3335]
df6a4a4a
MF
29252 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
29253
1cac7236
RM
292542012-02-15 Roland McGrath <roland@hack.frob.com>
29255
d2c736f8
RM
29256 [BZ #4822]
29257 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
29258
1cac7236
RM
29259 * mach/devstream.c (cookie_io_functions_t): Macro removed.
29260 (write, read, close): Likewise.
29261 Patch by Aurelien Jarno <aurelien@aurel32.net>.
29262
8e475601
JM
292632012-02-15 Joseph Myers <joseph@codesourcery.com>
29264
29265 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
29266 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
29267 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
29268 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
29269 <bits/signalfd.h>.
29270 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
29271 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29272 bits/signalfd.h.
29273
ed656b40
MP
292742012-02-14 Marek Polacek <polacek@redhat.com>
29275
29276 * sysdeps/x86_64/crti.S: New file.
29277 * sysdeps/x86_64/crtn.S: New file.
29278 * sysdeps/x86_64/elf/initfini.c: Remove file.
29279
2a979d3a
JM
292802012-02-13 Joseph Myers <joseph@codesourcery.com>
29281
29282 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
29283 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
29284 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
29285 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
29286 <bits/inotify.h>.
29287 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
29288 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29289 bits/inotify.h.
29290
2a418ac3
JM
292912012-02-13 Joseph Myers <joseph@codesourcery.com>
29292
29293 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
29294 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
29295 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
29296 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
29297 <bits/eventfd.h>.
29298 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
29299 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29300 bits/eventfd.h.
29301
fb779be7
TS
293022012-02-10 Thomas Schwinge <thomas@codesourcery.com>
29303
e19e83c5
RM
29304 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
29305 __feraiseexcept instead of feraiseexcept.
7c35ffed 29306
fb779be7
TS
29307 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
29308 nanosleep invocations.
29309 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
29310 strings, and add error checking for a nanosleep invocations.
29311
59ba27a6
PE
293122012-02-09 Paul Eggert <eggert@cs.ucla.edu>
29313
29314 Replace FSF snail mail address with URLs, as per GNU coding standards.
29315 Most of the snail mail addresses were wrong anyway, and omitting
29316 them makes the source code easier to maintain. Almost all of the
29317 changes are to license notices and to locale LC_IDENTIFICATION
29318 addresses, except for this one:
29319 * manual/libc.texinfo: In "Published by", give the FSF's URL,
29320 not its snail mail address.
29321
57b957eb
RH
293222012-02-09 Richard Henderson <rth@twiddle.net>
29323
af850b1c
RH
29324 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
29325 of kernel-features.h.
29326
57b957eb
RH
29327 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
29328
6b73181a
MP
293292012-02-08 Marek Polacek <polacek@redhat.com>
29330
29331 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
29332 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
29333 * sysdeps/gnu/_G_config.h: Likewise.
29334 * sysdeps/generic/_G_config.h: Likewise.
29335
26ecc33a
AS
293362012-02-08 Andreas Schwab <schwab@linux-m68k.org>
29337
6c6dbc63
AS
29338 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
29339 tests.
29340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29341
e216c012
AS
29342 * sysdeps/powerpc/powerpc32/crti.S: New file.
29343 * sysdeps/powerpc/powerpc32/crtn.S: New file.
29344 * sysdeps/powerpc/powerpc64/crti.S: New file.
29345 * sysdeps/powerpc/powerpc64/crtn.S: New file.
29346
26ecc33a
AS
29347 * Makeconfig (have-initfini): Don't set.
29348 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
29349 * configure.in (nopic_initfini): Don't substitute.
29350 * config.h.in (HAVE_INITFINI): Don't #undef.
29351 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
29352 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
29353
3add8e13
JM
293542012-02-08 Joseph Myers <joseph@codesourcery.com>
29355
29356 Support crti.S and crtn.S provided directly by architectures.
29357 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
29358 [crti.S in sysdirs] (omit-deps): Likewise.
29359 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
29360 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
29361 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
29362 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
29363 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
29364 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
29365 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
29366 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
29367 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
29368 compiler output for sysdeps/generic/initfini.c.
29369 * sysdeps/i386/elf/Makefile: Remove file.
29370 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
29371
a22f12b4
MP
293722012-02-07 Marek Polacek <polacek@redhat.com>
29373
29374 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
29375 * sysdeps/gnu/_G_config.h: Likewise.
29376 * sysdeps/mach/hurd/_G_config.h: Likewise.
29377
148cf100
MP
293782012-02-07 Marek Polacek <polacek@redhat.com>
29379
29380 * math/Makefile (tests): Add tst-CMPLX2.
29381 * math/tst-CMPLX2.c: New file.
29382
cfdc0dd7
AS
293832012-02-07 Andreas Schwab <schwab@linux-m68k.org>
29384
84ba42c4
AS
29385 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29386
cfdc0dd7
AS
29387 * math/libm-test.inc (jn_test): Add missing L suffix.
29388
622c86f4
MP
293892012-02-06 Marek Polacek <polacek@redhat.com>
29390
29391 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
29392 * sysdeps/i386/fpu/e_powf.S: Likewise.
29393 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29394 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29395 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29396 * sysdeps/i386/fpu/e_pow.S: Likewise.
29397 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29398 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29399 * sysdeps/i386/fpu/s_expm1.S: Likewise.
29400 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29401 * sysdeps/i386/fpu/e_log2.S: Likewise.
29402 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29403 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29404 * sysdeps/i386/fpu/e_powl.S: Likewise.
29405 * sysdeps/i386/fpu/s_log1p.S: Likewise.
29406 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29407 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29408 * sysdeps/i386/fpu/e_logl.S: Likewise.
29409 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29410 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
29411 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29412 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29413 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29414 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29415 * sysdeps/i386/fpu/e_log.S: Likewise.
29416 * sysdeps/i386/fpu/s_cexp.S: Likewise.
29417 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29418 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
29419 * sysdeps/i386/fpu/e_logf.S: Likewise.
29420 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29421 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29422 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
29423 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29424 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29425 * sysdeps/i386/fpu/e_log10.S: Likewise.
29426 * sysdeps/i386/fpu/s_frexp.S: Likewise.
29427 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29428 * sysdeps/i386/fpu/s_asinh.S: Likewise.
29429 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29430 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29431 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29432 * sysdeps/i386/asm-syntax.h: Likewise.
29433 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29434 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29435 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29436 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
29437 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
29438 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29439 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29440 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29441 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29442 * sysdeps/powerpc/sysdep.h: Likewise.
29443 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
29444 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29445
d4a54ac6
JM
294462012-02-06 Joseph Myers <joseph@codesourcery.com>
29447
29448 [BZ #411]
29449 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
29450
314054ea
JM
294512012-02-06 Joseph Myers <joseph@codesourcery.com>
29452
29453 * sysdeps/i386/sysdep.h: Include <features.h>.
29454 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
29455 version.
29456
d8e0ca50
JM
294572012-02-05 Joseph Myers <joseph@codesourcery.com>
29458
29459 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
29460 Define.
29461 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
29462 LOAD_PIC_REG_STR.
29463
b1da7dd9
JM
294642012-02-03 Joseph Myers <joseph@codesourcery.com>
29465
29466 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
29467 (SETUP_PIC_REG): Use GET_PC_THUNK.
29468 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
29469 macro.
29470
9a1d9254
JM
294712012-02-03 Joseph Myers <joseph@codesourcery.com>
29472
29473 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
29474 for non-PIC compilation.
29475 (SETUP_PIC_REG): Add .p2align directive.
29476 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
29477 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
29478 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29479 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29480 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29481 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29482 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
29483 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29484 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29485 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29486 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29487 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29488 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29489 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29490 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29491 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29492 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29493 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29494 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29495 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29496 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29497 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29498 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29499 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29500 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29501 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29502 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29503 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29504 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29505 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29506 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29507 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29508 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29509 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29510 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29511 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29512 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29513 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29514 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29515 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29516 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29517
65dc3b75
JM
295182012-02-03 Joseph Myers <joseph@codesourcery.com>
29519
29520 * math/tst-CMPLX.c: Include <stdio.h>.
29521
d55bf177
JM
295222012-01-31 Joseph Myers <joseph@codesourcery.com>
29523
29524 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
29525 float.
29526 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29527 * sysdeps/sparc/bits/mathdef.h: Likewise.
29528
69db4f8f
MP
295292012-01-31 Marek Polacek <polacek@redhat.com>
29530
29531 * libio/libio.h: Don't define _PARAMS.
29532 * locale/programs/config.h: Don't define PARAMS.
29533 * stdlib/strtol_l.c: Likewise.
29534 (__strtol_l): Remove PARAMS from the prototype.
29535
41b81892
UD
295362012-01-31 Ulrich Drepper <drepper@gmail.com>
29537
3b49edc0
UD
29538 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
29539 names. Just use the correct names. Remove unnecessary wrapper
29540 functions.
29541 * malloc/arena.c: Likewise.
29542 * malloc/hooks.c: Likewise.
29543
41b81892
UD
29544 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
29545 ARENA_TEST says not to. Simplify test for creation of a new arena.
29546 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
29547
27a25b6e
UD
295482012-01-30 Ulrich Drepper <drepper@gmail.com>
29549
29550 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
29551 into tail calls.
29552 (update_get_addr): New function.
29553 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
29554 GET_ADDR_MODULE parameter.
29555
c8a89e7d
JM
295562012-01-30 Joseph Myers <joseph@codesourcery.com>
29557
29558 * crypt/cert.c: Remove __STDC__ conditionals.
29559 * crypt/crypt-entry.c: Likewise.
29560 * crypt/crypt_util.c: Likewise.
29561 * libio/filedoalloc.c: Likewise.
29562 * libio/fileops.c: Likewise.
29563 * libio/genops.c: Likewise.
29564 * libio/iofclose.c: Likewise.
29565 * libio/iofdopen.c: Likewise.
29566 * libio/iofopen.c: Likewise.
29567 * libio/iofopen64.c: Likewise.
29568 * libio/iogetdelim.c: Likewise.
29569 * libio/iopopen.c: Likewise.
29570 * libio/obprintf.c: Likewise.
29571 * libio/oldfileops.c: Likewise.
29572 * libio/oldiofclose.c: Likewise.
29573 * libio/oldiofdopen.c: Likewise.
29574 * libio/oldiofopen.c: Likewise.
29575 * libio/oldiopopen.c: Likewise.
29576 * libio/wfiledoalloc.c: Likewise.
29577 * libio/wgenops.c: Likewise.
29578 * locale/programs/xmalloc.c: Likewise.
29579 * misc/syslog.c: Likewise.
29580 * stdio-common/xbug.c: Likewise.
29581 * string/memchr.c: Likewise.
29582 * string/memcmp.c: Likewise.
29583 * string/memrchr.c: Likewise.
29584 * string/rawmemchr.c: Likewise.
29585 * sysdeps/posix/getcwd.c: Likewise.
29586 * time/strftime_l.c: Likewise.
29587
3b100462
JM
295882012-01-30 Joseph Myers <joseph@codesourcery.com>
29589
29590 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
29591 * config.make.in (config-cflags-sse2avx): Define.
29592 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
29593 Fix typo.
29594
607998af
CM
295952012-01-29 Chris Metcalf <cmetcalf@tilera.com>
29596
29597 * scripts/config.guess: Update from upstream config git repository.
29598 * scripts/config.sub: Likewise.
29599
3601428f
CM
296002012-01-28 Chris Metcalf <cmetcalf@tilera.com>
29601
3ac8b282
CM
29602 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
29603 (EM_NUM): Update.
29604 (R_TILEPRO_*, R_TILEGX_*): New macros.
29605
e034841e
CM
29606 * scripts/firstversions.awk: Fix bug in version range handling.
29607
540d7568
CM
29608 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
29609
3601428f
CM
29610 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
29611
463de862
CM
29612 * include/sys/epoll.h: New file.
29613 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
29614 libc_hidden_def.
29615
73139a76
UD
296162012-01-28 Ulrich Drepper <drepper@gmail.com>
29617
96bc5b45
UD
29618 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
29619 Avoid unnecessary __WORDSIZE == 64 test.
29620 (fmaxf): Use VEX format if possible.
29621 (fmax): Likewise.
29622 (fminf): Likewise.
29623 (fmin): Likewise.
29624
56f6f6a2
UD
29625 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
29626 * math/math_private.h: Remove libc_fegetround* and
29627 libc_fesetround*.
29628 * sysdeps/i386/configure.in: Check for -msse2avx.
29629 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
29630 also if SSE2AVX is defined.
29631 Remove libc_fegetround* and libc_fesetround*.
29632 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
29633 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
29634 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
29635 of HAS_YMM_USABLE.
29636 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29637 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29638 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29639 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29640 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29641
73139a76
UD
29642 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
29643
d73f93a4
AZ
296442012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29645
29646 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
29647 size is not set.
29648 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
29649
6ee65ed6
UD
296502012-01-27 Ulrich Drepper <drepper@gmail.com>
29651
29652 [BZ #13618]
29653 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
29654 relocation.
29655 * Makeconfig (libm): Define.
29656 * elf/Makefile: Add rules to build and run tst-relsort1.
29657 * elf/tst-relsort1.c: New file.
29658 * elf/tst-relsort1mod1.c: New file.
29659 * elf/tst-relsort1mod2.c: New file.
29660
8db21882
JM
296612012-01-27 Joseph Myers <joseph@codesourcery.com>
29662
29663 * math/s_ldexp.c: Remove __STDC__ conditionals.
29664 * math/s_ldexpf.c: Likewise.
29665 * math/s_ldexpl.c: Likewise.
29666 * math/s_nextafter.c: Likewise.
29667 * math/s_nexttowardf.c: Likewise.
29668 * math/s_significand.c: Likewise.
29669 * math/s_significandf.c: Likewise.
29670 * math/s_significandl.c: Likewise.
29671 * math/w_jnl.c: Likewise.
29672 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29673 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29674 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29675 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29676 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29677 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29678 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
29679 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29680 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29681 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29682 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29683 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29684 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29685 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29686 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29687 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29688 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29689 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29690 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29691 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29692 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29693 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29694 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29695 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29696 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29697 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29698 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29699 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29700 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29701 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29702 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29703 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29704 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29705 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29706 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29707 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29708 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29709 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29710 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29711 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29712 * sysdeps/ieee754/k_standard.c: Likewise.
29713 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29714 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29715 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29716 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29717 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29718 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29719 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29720 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29721 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29722 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29723 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29724 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29725 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29726 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29727 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29728 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29729 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29730 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29731 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29732 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29733 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29734 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29735 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29736 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29737 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29738 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29739 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29740 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29741 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29742 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29743 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29744 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
29745 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29746 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29747 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29748 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29749 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
29750 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29751 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29752 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
29753 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
29754 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29755 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
29756 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
29757 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29758 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
29759 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
29760 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29761 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29762 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
29763 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
29764 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29765 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29766 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29767 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29768 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29769 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
29770 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29771 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29772 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29773 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29774 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29775 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29776 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29777 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29778 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29779 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29780 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29781 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29782 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29783 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29784 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29785 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29786 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29787 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29788 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29789 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29790 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29791 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29792 * sysdeps/ieee754/s_matherr.c: Likewise.
29793 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29794 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29795 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29796 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29797
965a54a4
JM
297982012-01-26 Joseph Myers <joseph@codesourcery.com>
29799
29800 * crypt/md5.h: Remove __STDC__ conditionals.
29801 * libio/libioP.h: Likewise.
29802 * locale/programs/config.h: Likewise.
29803 * sysdeps/generic/sysdep.h: Likewise.
29804 * sysdeps/i386/asm-syntax.h: Likewise.
29805 * sysdeps/s390/asm-syntax.h: Likewise.
29806 * sysdeps/unix/sysdep.h: Likewise.
29807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29809
7071ad79
JM
298102012-01-26 Joseph Myers <joseph@codesourcery.com>
29811
29812 * libio/libio.h: Remove __STDC__ conditionals.
29813 * malloc/obstack.h: Likewise.
29814 * math/complex.h: Likewise.
29815 * math/math.h: Likewise.
29816 * sysdeps/generic/_G_config.h: Likewise.
29817 * sysdeps/gnu/_G_config.h: Likewise.
29818 * sysdeps/mach/hurd/_G_config.h: Likewise.
29819 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29820 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29821 * sysdeps/sparc/bits/mathdef.h: Likewise.
29822
afc5ed09
UD
298232012-01-26 Ulrich Drepper <drepper@gmail.com>
29824
29825 [BZ #13583]
29826 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 29827 Clean up HAS_* macros.
afc5ed09 29828 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
29829 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
29830 possible.
29831 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
29832 HAS_AVX.
29833 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29834 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29835 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29836 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29837 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 29838
bdb6de1d
JM
298392012-01-25 Joseph Myers <joseph@codesourcery.com>
29840
29841 * elf/tst-unique3.cc (gets): Remove declaration.
29842 * elf/tst-unique3lib.cc (gets): Likewise.
29843 * elf/tst-unique3lib2.cc (gets): Likewise.
29844 * elf/tst-unique4.cc (gets): Likewise.
29845
b15549e6
UD
298462012-01-24 Ulrich Drepper <drepper@gmail.com>
29847
29848 * include/stdio.h: Add C++ protection. Add gets declarations and
29849 definitions.
29850 * debug/tst-chk1.c: Don't declare gets here.
29851 * stdio-common/tst-gets.c: Likewise.
29852
a037381f
JM
298532012-01-24 Joseph Myers <joseph@codesourcery.com>
29854
29855 * posix/glob: Remove directory.
29856
f1d4aa75
JM
298572012-01-24 Joseph Myers <joseph@codesourcery.com>
29858
29859 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
29860
81c0c964
PT
298612012-01-22 Pino Toscano <toscano.pino@tiscali.it>
29862
29863 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
29864 of the non-standard EPFNOSUPPORT.
29865
0ea698ae
ST
298662011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
29867
29868 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
29869 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
29870 ANYWHERE set to 1 only on KERN_NO_SPACE error.
29871
d220b117
UD
298722012-01-21 Ulrich Drepper <drepper@gmail.com>
29873
29874 * wcsmbs/uchar.h: Test __STDC_VERSION__.
29875
3e1aa84e
UD
298762012-01-20 Ulrich Drepper <drepper@gmail.com>
29877
29878 * nscd/aicache.c (addhstaiX): Do not cache negative results of
29879 transient errors.
29880 * nscd/grpcache.c (cache_addgr): Likewise.
29881 * nscd/hstcache.c (cache_addhst): Likewise.
29882 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29883 * nscd/pwdcache.c (cache_addpw): Likewise.
29884 * nscd/servicescache.c (cache_addserv): Likewise.
29885
400aa020
UD
298862012-01-16 Ulrich Drepper <drepper@gmail.com>
29887
d77e7869
UD
29888 * malloc/malloc.c: Various cleanups.
29889 * malloc/hooks.c: Likewise.
29890
400aa020
UD
29891 * stdlib/Makefile (tests): Add bug-fmtmsg1.
29892 * stdlib/bug-fmtmsg1.c: New file.
29893
29894 * stdlib/fmtmsg.c (init): Add missing unlock.
29895 Patch by Peng Haitao <penght@cn.fujitsu.com>.
29896
e0a309cf
MP
298972012-01-12 Marek Polacek <polacek@redhat.com>
29898
29899 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
29900 and _GNU_SOURCE.
29901
929d11c7
WS
299022012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29903
29904 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
29905 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
29906 macro to ensure uniqueness of label name.
29907 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29908 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29909
41d0e869
UD
299102012-01-11 Ulrich Drepper <drepper@gmail.com>
29911
0cc5ed3b
UD
29912 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
29913
41d0e869
UD
29914 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
29915 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29916 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29917 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
29918
a47a831a
UD
299192012-01-10 Ulrich Drepper <drepper@gmail.com>
29920
daa891c0
UD
29921 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
29922
29923 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
29924 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29925 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29926
e58ef0f2
UD
29927 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
29928
a47a831a 29929 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
29930 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29931 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 29932 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
29933
29934 * math/bits/math-finite.h: Add ldexp support.
29935
a0bfc9c7
MP
299362012-01-10 Marek Polacek <polacek@redhat.com>
29937
29938 * locale/programs/localedef.h (show_archive_content): Add noreturn
29939 attribute.
29940
d6e97a1d
UD
299412012-01-09 Ulrich Drepper <drepper@gmail.com>
29942
29943 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
29944
d5835c26
UD
299452012-01-08 Ulrich Drepper <drepper@gmail.com>
29946
e5f484c6
UD
29947 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
29948
d5835c26
UD
29949 * io/Makefile (headers): Add bits/poll2.h.
29950
d1f741e9
WS
299512011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
29952
29953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
29954 typo #include statement.
29955
ec09c1c4
UD
299562012-01-08 Ulrich Drepper <drepper@gmail.com>
29957
29958 * include/sys/cdefs.h: Define __attribute_alloc_size.
29959 * catgets/gencat.c: Add alloc_size attribute and apply consistently
29960 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
29961 * elf/pldd.c: Likewise.
29962 * iconv/iconv_charmap.c: Likewise.
29963 * iconv/iconvconfig.c: Likewise.
29964 * iconv/strtab.c: Likewise.
29965 * locale/programs/locale.c: Likewise.
29966 * locale/programs/localedef.h: Likewise.
29967 * locale/programs/simple-hash.c: Likewise.
29968 * nscd/nscd.h: Likewise.
29969 * nss/makedb.c: Likewise.
29970 * sysdeps/generic/ldconfig.h: Likewise.
29971 * locale/programs/localedef.c: Remove xmalloc prototype.
29972 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
29973
20b38e03
PP
299742012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29975
29976 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
29977 appropriate.
29978
a0da5fe1
UD
299792012-01-08 Ulrich Drepper <drepper@gmail.com>
29980
1d5a644a 29981 * math/Makefile (tests): Add tst-CMPLX.
669704fd 29982 * math/tst-CMPLX.c: New file.
1d5a644a 29983
8784a6db
UD
29984 * math/complex.h (CMPLXL): Fix typo.
29985
d9a216c0
UD
29986 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
29987 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
29988 GLIBC_2.16.
29989 * debug/tst-chk1.c: Add poll and ppoll tests.
29990 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
29991 * include/sys/poll.h: Add hidden proto for ppoll.
29992 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
29993 * sysdeps/mach/hurd/ppoll.c: Likewise.
29994 * io/ppoll.c: Likewise.
29995 * debug/poll_chk.c: New file.
29996 * debug/ppoll_chk.c: New file.
29997 * include/bits/poll2.h: New file.
29998 * io/bits/poll2.h: New file.
29999
ac097f5c
UD
30000 [BZ #1350]
30001 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
30002
2119dcfa
UD
30003 * configure.in: static is always set to yes. Remove.
30004 * config.make.in: Don't set build-static.
30005 * Makeconfig: Remove use of build-static.
30006 * dlfcn/Makefile: Likewise.
30007 * elf/Makefile: Likewise.
30008 * math/Makefile: Likewise.
30009 * misc/Makefile: Likewise.
30010 * nptl/Makefile: Likewise.
30011 * sysdeps/mach/hurd/Makefile: Likewise.
30012
121766a9
UD
30013 * configure.in: PWD_P is not used anymore.
30014 * config.make.in: Remove PWD_P entry.
30015
51a1d39c 30016 * configure.in: Remove last remnants of RANLIB.
8720d066 30017 No need to check for signed size_t anymore.
215f4bdc
UD
30018 Don't set libc_commonpagesize and libc_relro_required here for Alpha
30019 and IA-64.
3857022a 30020 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
30021 * aclocal.m4: Likewise.
30022
d3ed7225
UD
30023 * wcsmbs/mbrtoc16.c: Implement using towc function.
30024 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
30025 * wcsmbs/wcsmbsload.c: Likewise.
30026 * iconv/gconv_simple.c: Likewise.
30027 * iconv/gconv_int.h: Likewise.
30028 * iconv/gconv_builtin.h: Likewise.
30029 * iconv/iconv_prog.c: Remove CHAR16 handling.
30030
30031 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
30032
30033 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
30034
a0da5fe1
UD
30035 * configure.in: Remove --with-elf and --enable-bounded options.
30036 Dont set base_machine for ia64. More non-ELF conditions removed.
30037 Remove testing and setting of leading underscore information.
30038 * config.make.in (build-bounded): Set to no.
30039 * config.h.in: Remove NO_UNDERSCORES entry.
30040 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
30041 them.
30042 * csu/start.c: Remove !NO_UNDERSCORE code.
30043 * locale/localeinfo.h: Likewise.
30044 * sysdeps/generic/machine-gmon.h: Likewise.
30045 * sysdeps/generic/sysdep.h: Likewise.
30046 * sysdeps/i386/sysdep.h: Likewise.
30047 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30048 * sysdeps/mach/sysdep.h: Likewise.
30049 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30050 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30051 * sysdeps/sh/sysdep.h: Likewise.
30052 * sysdeps/sparc/sparc32/alloca.S: Likewise.
30053 * sysdeps/unix/i386/sysdep.S: Likewise.
30054 * sysdeps/unix/sparc/start.c: Likewise.
30055 * sysdeps/unix/sparc/sysdep.S: Likewise.
30056 * sysdeps/unix/sparc/sysdep.h: Likewise.
30057 * sysdeps/unix/start.c: Likewise.
30058 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30059 * sysdeps/x86_64/sysdep.h: Likewise.
30060
df78418a
UD
300612012-01-07 Ulrich Drepper <drepper@gmail.com>
30062
a784e502
UD
30063 [BZ #13553]
30064 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
30065 for non-gcc.
30066 * argp/argp-fmtstream.h: Use const instead __const.
30067 * argp/argp.h: Likewise.
30068 * assert/assert.h: Likewise.
30069 * bits/fenv.h: Likewise.
30070 * bits/sched.h: Likewise.
30071 * bits/sigset.h: Likewise.
30072 * bits/sigthread.h: Likewise.
30073 * catgets/nl_types.h: Likewise.
30074 * conform/data/pthread.h-data: Likewise.
30075 * crypt/crypt-private.h: Likewise.
30076 * crypt/crypt.h: Likewise.
30077 * crypt/crypt_util.c: Likewise.
30078 * ctype/ctype.h: Likewise.
30079 * debug/execinfo.h: Likewise.
30080 * debug/mbsnrtowcs_chk.c: Likewise.
30081 * debug/mbsrtowcs_chk.c: Likewise.
30082 * debug/wcsnrtombs_chk.c: Likewise.
30083 * debug/wcsrtombs_chk.c: Likewise.
30084 * debug/wcstombs_chk.c: Likewise.
30085 * dirent/dirent.h: Likewise.
30086 * dlfcn/dlfcn.h: Likewise.
30087 * elf/neededtest4.c: Likewise.
30088 * grp/grp.h: Likewise.
30089 * gshadow/gshadow.h: Likewise.
30090 * iconv/gconv.h: Likewise.
30091 * iconv/gconv_int.h: Likewise.
30092 * iconv/gconv_simple.c: Likewise.
30093 * iconv/iconv.h: Likewise.
30094 * iconv/loop.c: Likewise.
30095 * iconv/skeleton.c: Likewise.
30096 * include/aio.h: Likewise.
30097 * include/aliases.h: Likewise.
30098 * include/argz.h: Likewise.
30099 * include/arpa/inet.h: Likewise.
30100 * include/assert.h: Likewise.
30101 * include/dirent.h: Likewise.
30102 * include/dlfcn.h: Likewise.
30103 * include/execinfo.h: Likewise.
30104 * include/fcntl.h: Likewise.
30105 * include/fenv.h: Likewise.
30106 * include/glob.h: Likewise.
30107 * include/grp.h: Likewise.
30108 * include/libintl.h: Likewise.
30109 * include/mntent.h: Likewise.
30110 * include/netdb.h: Likewise.
30111 * include/pwd.h: Likewise.
30112 * include/rpc/netdb.h: Likewise.
30113 * include/sched.h: Likewise.
30114 * include/search.h: Likewise.
30115 * include/shadow.h: Likewise.
30116 * include/signal.h: Likewise.
30117 * include/stdio.h: Likewise.
30118 * include/stdlib.h: Likewise.
30119 * include/string.h: Likewise.
30120 * include/sys/socket.h: Likewise.
30121 * include/sys/stat.h: Likewise.
30122 * include/sys/statfs.h: Likewise.
30123 * include/sys/statvfs.h: Likewise.
30124 * include/sys/syslog.h: Likewise.
30125 * include/sys/time.h: Likewise.
30126 * include/sys/uio.h: Likewise.
30127 * include/time.h: Likewise.
30128 * include/unistd.h: Likewise.
30129 * include/utmp.h: Likewise.
30130 * include/wchar.h: Likewise.
30131 * include/wctype.h: Likewise.
30132 * inet/aliases.h: Likewise.
30133 * inet/arpa/inet.h: Likewise.
30134 * inet/netinet/ether.h: Likewise.
30135 * inet/netinet/in.h: Likewise.
30136 * intl/libintl.h: Likewise.
30137 * io/bits/fcntl2.h: Likewise.
30138 * io/fcntl.h: Likewise.
30139 * io/ftw.h: Likewise.
30140 * io/sys/poll.h: Likewise.
30141 * io/sys/stat.h: Likewise.
30142 * io/sys/statfs.h: Likewise.
30143 * io/sys/statvfs.h: Likewise.
30144 * io/utime.h: Likewise.
30145 * libio/bits/stdio.h: Likewise.
30146 * libio/bits/stdio2.h: Likewise.
30147 * libio/libio.h: Likewise.
30148 * libio/libioP.h: Likewise.
30149 * libio/stdio.h: Likewise.
30150 * locale/lc-ctype.c: Likewise.
30151 * locale/locale.h: Likewise.
30152 * login/utmp.h: Likewise.
30153 * malloc/arena.c: Likewise.
30154 * malloc/malloc.c: Likewise.
30155 * malloc/malloc.h: Likewise.
30156 * malloc/mcheck.c: Likewise.
30157 * malloc/mtrace.c: Likewise.
30158 * math/bits/mathcalls.h: Likewise.
30159 * math/fenv.h: Likewise.
30160 * math/math_private.h: Likewise.
30161 * misc/bits/error.h: Likewise.
30162 * misc/bits/syslog.h: Likewise.
30163 * misc/err.h: Likewise.
30164 * misc/error.h: Likewise.
30165 * misc/fstab.h: Likewise.
30166 * misc/mntent.h: Likewise.
30167 * misc/regexp.h: Likewise.
30168 * misc/search.h: Likewise.
30169 * misc/sgtty.h: Likewise.
30170 * misc/sys/mman.h: Likewise.
30171 * misc/sys/syslog.h: Likewise.
30172 * misc/sys/uio.h: Likewise.
30173 * misc/sys/xattr.h: Likewise.
30174 * misc/ttyent.h: Likewise.
30175 * nis/rpcsvc/ypclnt.h: Likewise.
30176 * nss/nss.h: Likewise.
30177 * posix/bits/unistd.h: Likewise.
30178 * posix/fnmatch.h: Likewise.
30179 * posix/glob.h: Likewise.
30180 * posix/sched.h: Likewise.
30181 * posix/spawn.h: Likewise.
30182 * posix/sys/wait.h: Likewise.
30183 * posix/unistd.h: Likewise.
30184 * posix/wordexp.h: Likewise.
30185 * pwd/pwd.h: Likewise.
30186 * resolv/netdb.h: Likewise.
30187 * resource/sys/resource.h: Likewise.
30188 * rt/aio.h: Likewise.
30189 * rt/bits/mqueue2.h: Likewise.
30190 * rt/mqueue.h: Likewise.
30191 * shadow/shadow.h: Likewise.
30192 * signal/signal.h: Likewise.
30193 * socket/send.c: Likewise.
30194 * socket/sendto.c: Likewise.
30195 * socket/sys/socket.h: Likewise.
30196 * stdio-common/printf.h: Likewise.
30197 * stdlib/bits/stdlib.h: Likewise.
30198 * stdlib/fmtmsg.h: Likewise.
30199 * stdlib/monetary.h: Likewise.
30200 * stdlib/stdlib.h: Likewise.
30201 * stdlib/ucontext.h: Likewise.
30202 * streams/stropts.h: Likewise.
30203 * string/argz.h: Likewise.
30204 * string/bits/string2.h: Likewise.
30205 * string/string.h: Likewise.
30206 * string/strings.h: Likewise.
30207 * sunrpc/rpc/auth.h: Likewise.
30208 * sunrpc/rpc/auth_des.h: Likewise.
30209 * sunrpc/rpc/clnt.h: Likewise.
30210 * sunrpc/rpc/netdb.h: Likewise.
30211 * sunrpc/rpc/pmap_clnt.h: Likewise.
30212 * sunrpc/rpc/xdr.h: Likewise.
30213 * sysdeps/generic/inttypes.h: Likewise.
30214 * sysdeps/generic/net/if.h: Likewise.
30215 * sysdeps/generic/sys/swap.h: Likewise.
30216 * sysdeps/gnu/net/if.h: Likewise.
30217 * sysdeps/gnu/utmpx.h: Likewise.
30218 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
30219 * sysdeps/i386/i486/bits/string.h: Likewise.
30220 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
30221 * sysdeps/s390/bits/string.h: Likewise.
30222 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
30223 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
30224 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
30225 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
30226 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
30227 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
30228 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
30229 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
30230 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
30231 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30232 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
30233 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
30234 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
30235 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
30236 * sysdeps/unix/sysv/linux/readv.c: Likewise.
30237 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
30238 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
30239 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30240 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
30241 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
30242 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30243 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
30244 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
30245 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
30246 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
30247 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
30248 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
30249 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30250 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
30251 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
30252 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
30253 * sysvipc/sys/ipc.h: Likewise.
30254 * sysvipc/sys/msg.h: Likewise.
30255 * sysvipc/sys/sem.h: Likewise.
30256 * sysvipc/sys/shm.h: Likewise.
30257 * termios/termios.h: Likewise.
30258 * time/sys/time.h: Likewise.
30259 * time/time.h: Likewise.
30260 * wcsmbs/bits/wchar2.h: Likewise.
30261 * wcsmbs/uchar.h: Likewise.
30262 * wcsmbs/wchar.h: Likewise.
30263 * wctype/wctype.h: Likewise.
30264
0269750c
UD
30265 [BZ #13551]
30266 * Makeconfig: Remove all but ELF support including AIX support.
30267 * Makerules: Likewise.
30268 * config.h.in: Likewise.
30269 * config.make.in: Likewise.
30270 * configure: Likewise.
30271 * configure.in: Likewise.
30272 * csu/Makefile: Likewise.
30273 * csu/version.c: Likewise.
30274 * debug/Makefile: Likewise.
30275 * dlfcn/Makefile: Likewise.
30276 * elf/Makefile: Likewise.
30277 * extra-lib.mk: Likewise.
30278 * iconv/Makefile: Likewise.
30279 * include/libc-symbols.h: Likewise.
30280 * include/shlib-compat.h: Likewise.
30281 * resolv/Makefile: Likewise.
30282 * resolv/res_libc.c: Likewise.
30283 * rt/Makefile: Likewise.
30284 * sysdeps/i386/asm-syntax.h: Likewise.
30285 * sysdeps/i386/sysdep.h: Likewise.
30286 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30287 * sysdeps/mach/sysdep.h: Likewise.
30288 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
30289 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
30290 * sysdeps/s390/asm-syntax.h: Likewise.
30291 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30292 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30293 * sysdeps/sh/sysdep.h: Likewise.
30294 * sysdeps/unix/sparc/sysdep.h: Likewise.
30295 * sysdeps/wordsize-32/divdi3.c: Likewise.
30296 * sysdeps/x86_64/sysdep.h: Likewise.
30297
00bbd29b
UD
30298 * argp/Versions: Remove _argp_unlock_xxx.
30299
30300 [BZ #13559]
30301 * abilist/ld.abilist: Update. Adjust for removal of tls option.
30302 * abilist/libBrokenLocale.abilist: Likewise.
30303 * abilist/libanl.abilist: Likewise.
30304 * abilist/libc.abilist: Likewise.
30305 * abilist/libcrypt.abilist: Likewise.
30306 * abilist/libdl.abilist: Likewise.
30307 * abilist/libm.abilist: Likewise.
30308 * abilist/libnsl.abilist: Likewise.
30309 * abilist/libpthread.abilist: Likewise.
30310 * abilist/libresolv.abilist: Likewise.
30311 * abilist/librt.abilist: Likewise.
30312 * abilist/libthread_db.abilist: Likewise.
30313 * abilist/libutil.abilist: Likewise.
30314 * abilist/libnss_db.abilist: New file.
30315
30316 * scripts/abilist.awk: Add support for indirect functions.
30317
a2693a0e
UD
30318 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
30319
3f05895f
UD
30320 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
30321
ecb6fb48
UD
30322 * shlib-versions: Remove entries for ports architectures.
30323
664f8cb9
UD
30324 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
30325 files in ports.
30326 * elf/stackguard-macros.h: Remove support for IA-64.
30327 * elf/tst-auditmod1.c: Likewise.
30328 * sysdeps/generic/ldsodefs.h: Likewise.
30329
7ae81d88
UD
30330 * sysdeps/unix/sysv/linux/configure.in: Ports should define
30331 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
30332 configure files.
30333
bdeba135
UD
30334 [BZ #13552]
30335 * configure.in: Remove --enable-omitfp support.
30336 * FAQ.in: Adjust.
30337 * config.make.in: Likewise.
30338 * Makeconfig: Likewise.
30339 * manual/install.texi: Likewise.
30340
d75a0a62
UD
30341 In case anyone cares, the IA-64 architecture could move to ports.
30342 * sysdeps/ia64/*: Removed.
30343 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 30344 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 30345
dcc9756b
UD
30346 [BZ #13555]
30347 * configure.in: Remove entries for unsupported architectures.
30348
d3761ebc 30349 [BZ #13533]
9954432e
UD
30350 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
30351 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
30352 routines.
30353 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
30354 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
30355 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
30356 fall back to using wcrtomb.
30357 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
30358 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
30359 renaming.
30360 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
30361 * wcsmbs/tst-c16c32-1.c: New file.
30362
30363 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
30364 local variable.
30365
c3a87236
UD
30366 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
30367
28926a1b
UD
30368 * elf/tst-unique3.cc: Add explicit declaration of gets.
30369 * elf/tst-unique3lib.cc: Likewise.
30370 * elf/tst-unique3lib2.cc: Likewise.
30371 * elf/tst-unique4.cc: Likewise.
30372
df78418a
UD
30373 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
30374
8ecd6b2a
JM
303752012-01-06 Joseph Myers <joseph@codesourcery.com>
30376
30377 [BZ #13566]
30378 * assert/assert.h (static_assert): Don't define for C++.
30379 * libio/stdio.h (gets): Do declare for C++ <= C++11.
30380 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
30381
9f115170
UD
303822012-01-03 Ulrich Drepper <drepper@gmail.com>
30383
5e0d0300
UD
30384 * iconv/loop.c (single loop): Fix assertion in storing of
30385 remaining bytes.
30386
9f115170
UD
30387 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
30388
81fb02b0
UD
303892012-01-01 Ulrich Drepper <drepper@gmail.com>
30390
30391 * posix/getconf.c: Update copyright year.
30392 * nss/getent.c: Likewise.
a316c1f6 30393 * nss/makedb.c: Likewise.
81fb02b0
UD
30394 * iconv/iconvconfig.c: Likewise.
30395 * iconv/iconv_prog.c: Likewise.
30396 * elf/ldconfig.c: Likewise.
a316c1f6
UD
30397 * elf/pldd.c: Likewise.
30398 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
30399 * catgets/gencat.c: Likewise.
30400 * csu/version.c: Likewise.
30401 * elf/ldd.bash.in: Likewise.
30402 * elf/sprof.c (print_version): Likewise.
30403 * locale/programs/locale.c: Likewise.
30404 * locale/programs/localedef.c: Likewise.
a316c1f6 30405 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
30406 * nscd/nscd.c (print_version): Likewise.
30407 * debug/xtrace.sh: Likewise.
30408 * malloc/memusage.sh: Likewise.
30409 * malloc/mtrace.pl: Likewise.
30410 * debug/catchsegv.sh: Likewise.
30411
2ba92745
JJ
304122011-12-30 Jakub Jelinek <jakub@redhat.com>
30413
30414 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
30415 pure attribute.
30416
dadebdae
UD
304172011-12-24 Ulrich Drepper <drepper@gmail.com>
30418
d3761ebc 30419 [BZ #13533]
db6af3eb
UD
30420 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
30421 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
30422 transformations.
30423 * iconv/gconv_int.h: Likewise.
30424 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
30425 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
30426 from libc for GLIBC_2.16.
30427 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
30428 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
30429 * wcsmbs/uchar.h: Really define mbstate_t.
30430 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
30431 * wcsmbs/c16rtomb.c: New file.
30432 * wcsmbs/mbrtoc16.c: New file.
30433 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
30434 for C/POSIX locale.
30435 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
30436 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
30437
dadebdae
UD
30438 * wcsmbs/wchar.h: Add missing __restrict.
30439
67371b56
UD
304402011-12-23 Ulrich Drepper <drepper@gmail.com>
30441
74033a25
UD
30442 [BZ #13532]
30443 * time/Makefile (routines): Add timespec_get.
30444 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
30445 * time/time.h: Define TIME_UTC and declare timespec_get. Define
30446 timespec for ISO C11.
30447 * time/timespec_get.c: New file.
30448 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
30449 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
30450
380d7e87
UD
30451 [BZ #13531]
30452 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
30453 * stdlib/stdlib.h: Declare aligned_alloc.
30454 * Versions.def: Add GLIBC_2.16 for libc.
30455 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
30456
4e9e7a35
UD
30457 [BZ 13527]
30458 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
30459 ISO C11.
30460
380d7e87 30461 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
30462 code.
30463
03a71829
UD
30464 [BZ #13528]
30465 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
30466
839e283e
UD
30467 [BZ #13529]
30468 * assert/assert.h (static_assert): Define.
30469
ce5294e2 30470 * version.h: Update for 2.16 development version.
90fa7312 30471
8d44e150 30472 [BZ #13526]
d7809905
UD
30473 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
30474 _ISOC11_SOURCE.
30475
c0da14cd
UD
30476 * version.h (RELEASE): Bump for 2.15 release.
30477 * include/features.h (__GLIBC_MINOR__): Bump to 15.
30478
530a3249
MP
30479 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
30480 Patch by Marek Polacek <mpolacek@redhat.com>.
30481
67371b56
UD
30482 * bits/byteswap.h: Protect long long constants with __extension__.
30483 * sysdeps/i386/bits/byteswap.h: Likewise.
30484 * sysdeps/ia64/bits/byteswap.h: Likewise.
30485 * sysdeps/s390/bits/byteswap.h: Likewise.
30486 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30487
15db4de1
LD
304882011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30489
30490 [BZ #13540]
bbe315ea
LD
30491 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
30492 destination buffer.
15db4de1
LD
30493 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
30494
2b2596b1
MP
304952011-12-23 Marek Polacek <polacek@redhat.com>
30496
30497 * elf/dl-addr.c (determine_info): Add inline keyword.
30498 * elf/tst-auditmod4b.c (check_avx): Likewise.
30499 * elf/tst-auditmod6b.c (check_avx): Likewise.
30500 * elf/tst-auditmod6c.c (check_avx): Likewise.
30501 * elf/tst-auditmod7b.c (check_avx): Likewise.
30502
70c6c246
UD
305032011-12-23 Ulrich Drepper <drepper@gmail.com>
30504
30505 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
30506 !__SSE_MATH__.
30507
c044cf14
LD
305082011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30509
15db4de1 30510 [BZ #13540]
c044cf14
LD
30511 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
30512 processing for last bytes.
30513
6b13d9d9
BH
305142011-08-06 Bruno Haible <bruno@clisp.org>
30515
d455f537
BH
30516 [BZ #13061]
30517 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
30518 U+0385, not to U+1FEE.
30519
6b13d9d9
BH
30520 [BZ #13062]
30521 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
30522 entry for U+00A5 U+0301.
30523
db910efd
UD
305242011-12-22 Ulrich Drepper <drepper@gmail.com>
30525
27deeafc
UD
30526 [BZ #13166]
30527 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
30528 buffer for the output is too small.
30529
aed9d171
UD
30530 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
30531 optimization.
30532
db910efd
UD
30533 [BZ #13185]
30534 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
30535 SSE flags if possible.
30536
2bd779ae
LD
305372011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30538
e7f9dac3 30539 [BZ #13540]
2bd779ae
LD
30540 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
30541 processing for last bytes.
30542
154bfc16
JM
305432011-12-22 Joseph Myers <joseph@codesourcery.com>
30544
30545 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
30546 (syscall-list-default-options, syscall-list-default-condition)
30547 (syscall-list-includes): Define.
30548 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
30549 list of ABIs and options and #if conditions for each ABI. Do not
30550 handle common syscalls between ABIs specially.
30551 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
30552 Remove.
30553 (syscall-list-variants, syscall-list-32bit-options)
30554 (syscall-list-32bit-condition, syscall-list-64bit-options)
30555 (syscall-list-64bit-condition): Define.
30556 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
30557 (syscall-list-variants, syscall-list-32bit-options)
30558 (syscall-list-32bit-condition, syscall-list-64bit-options)
30559 (syscall-list-64bit-condition): Define.
30560 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
30561 Remove.
30562 (syscall-list-variants, syscall-list-32bit-options)
30563 (syscall-list-32bit-condition, syscall-list-64bit-options)
30564 (syscall-list-64bit-condition): Define.
30565 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
30566 Remove.
30567 (syscall-list-variants, syscall-list-32bit-options)
30568 (syscall-list-32bit-condition, syscall-list-64bit-options)
30569 (syscall-list-64bit-condition): Define.
30570
21eaf3a5
UD
305712011-12-22 Ulrich Drepper <drepper@gmail.com>
30572
16c6f992
UD
30573 * locale/iso-639.def: Add brx entry.
30574
41043168
UD
30575 [BZ #13328]
30576 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
30577 Proposed by Mariusz_Cukr <marcukr@op.pl>.
30578
21eaf3a5
UD
30579 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
30580 __feraiseexcept_renamed.
30581
e3a851a2
UD
305822011-12-21 Ulrich Drepper <drepper@gmail.com>
30583
4920765e
UD
30584 [BZ #13538]
30585 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
30586 EPOLLET with unsigned values.
30587 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30588 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30589
e3a851a2
UD
30590 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
30591 to large cancellation.
30592 * math/s_cacoshf.c: Likewise.
30593 * math/s_cacoshl.c: Likewise.
30594
b27e24b8
RK
305952011-11-18 Richard B. Kreckel <kreckel@ginac.de>
30596
30597 [BZ #13305]
aebefeee 30598 [BZ #12786]
b27e24b8
RK
30599 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
30600 * math/s_cacoshf.c: Likewise.
30601 * math/s_cacoshl.c: Likewise.
30602
ee190f67
UD
306032011-12-21 Ulrich Drepper <drepper@gmail.com>
30604
30605 [BZ #13439]
30606 * iconv/gconv.h: Define __GCONV_SWAP.
30607 * iconvdata/unicode.c: The swap bit must be stored in __flags.
30608 * iconvdata/utf-16.c: Likewise.
30609 * iconvdata/utf-32.c: Likewise.
30610
707f25df
AS
306112011-12-21 Andreas Schwab <schwab@linux-m68k.org>
30612
30613 [BZ #13524]
30614 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
30615 numerator after shifting it by one limb.
30616
d2daaa1e
RÁE
306172011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
30618
30619 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
30620 under [__USE_EXTERN_INLINES].
30621
a4647e72
UD
306222011-12-17 Ulrich Drepper <drepper@gmail.com>
30623
30624 [BZ #13446]
30625 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
30626
f0b264f1
AZ
306272011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30628
30629 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
30630 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
30631 optimized code.
30632 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
30633 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
30634 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
30635 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
30636 for strncasecmp/strncasecmp_l compilation.
30637 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
30638 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
30639
8ef4f244
MP
306402011-12-08 Marek Polacek <mpolacek@redhat.com>
30641
30642 [BZ #13484]
30643 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
30644 of __asm__.
30645
97ac2654
UD
306462011-12-17 Ulrich Drepper <drepper@gmail.com>
30647
30648 [BZ #13506]
30649 * time/tzfile.c (__tzfile_read): Check values from file header.
30650
91d2a845
WS
306512011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30652
30653 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
30654 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
30655 * powerpc/powerpc32/dl-start.S: Likewise.
30656 * powerpc/powerpc32/elf/start.S: Likewise.
30657 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30658 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
30659 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
30660 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
30661 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30662 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
30663 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
30664 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30665 * powerpc/powerpc32/fpu/s_round.S: Likewise.
30666 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
30667 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
30668 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
30669 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
30670 * powerpc/powerpc32/memset.S: Likewise.
30671 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30672 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30673 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30674 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30675 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30676 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30677 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30678 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30679 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
30680 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
30681 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
30682 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30683 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30684
a1267ba1
AZ
306852011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30686
30687 * math/libm-test.inc: Added more nearbyint tests.
30688 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
30689 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
30690 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
30691 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
30692
ad8ac1bd
RL
306932011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
30694
30695 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
30696 FD_CLOEXEC.
30697
1d3e4b61
UD
306982011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30699
30700 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
30701 Add wcscpy-ssse3 wcscpy-c.
30702 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
30703 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
30704 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
30705 * sysdeps/x86_64/wcschr.S: New file.
30706 * sysdeps/x86_64/wcsrchr.S: New file.
30707 * string/test-strcmp.c: Remove checking of wcscmp function for
30708 wrong alignments.
30709 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
30710 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
30711 wcsrchr-sse2 wcsrchr-c.
30712 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
30713 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
30714 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
30715 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
30716 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
30717 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
30718 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
30719 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
30720 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
30721 * wcsmbc/wcschr.c (WCSCHR): New macro.
30722
5b330a2d
UD
307232011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30724
30725 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
30726 * wcsmbs/test-wcsrchr.c: New file.
30727 * string/test-strrchr.c: Add wcsrchr support.
30728 (WIDE): New macro.
30729 * wcsmbs/test-wcscpy.c: New file.
30730 * string/test-strcpy.c: Add wcscpy support.
30731 (WIDE): New macro.
26428b7c 30732
f039c043
UD
307332011-12-10 Ulrich Drepper <drepper@gmail.com>
30734
30735 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
30736 the inner loop.
30737
850fb039
AS
307382011-12-06 Andreas Schwab <schwab@linux-m68k.org>
30739
30740 [BZ #13472]
30741 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
30742
4efbd5cb
UD
307432011-12-04 Ulrich Drepper <drepper@gmail.com>
30744
52ff5dd0 30745 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 30746 Minor optimizations.
52ff5dd0 30747
4efbd5cb
UD
30748 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
30749 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
30750 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
30751
8a426e12
UD
307522011-12-03 Ulrich Drepper <drepper@gmail.com>
30753
aff2453d
UD
30754 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
30755 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
30756 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
30757 for gcc to avoid warnings.
30758 * inet/Makefile (tests): Add tst-checks.
30759 * inet/tst-checks.c: New file.
30760
30761 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
30762 warning.
30763
30764 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
30765 __wmemcmp_sse2.
30766
30767 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
30768 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
30769
8a426e12
UD
30770 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
30771
9bea3473
UD
307722011-12-02 Ulrich Drepper <drepper@gmail.com>
30773
3a965496
UD
30774 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
30775 problem.
30776
9bea3473
UD
30777 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
30778
f101631b
UD
307792011-11-29 Joseph Myers <joseph@codesourcery.com>
30780
30781 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
30782 conditional on GCC version.
30783 (__arch_compare_and_exchange_val_8_acq)
30784 (__arch_compare_and_exchange_val_16_acq)
30785 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
30786 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
30787 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
30788
a98275aa
UD
307892011-12-02 Joseph Myers <joseph@codesourcery.com>
30790
30791 * sysdeps/sh/backtrace.c: New file.
30792
d4cc29a2
AS
307932011-12-02 Andreas Schwab <schwab@redhat.com>
30794
30795 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
30796 parenthesis.
30797
6257af2d
AS
307982011-12-01 Andreas Schwab <schwab@redhat.com>
30799
30800 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
30801 falling back to utime.
30802
b5f44c1a
AS
308032011-11-30 Andreas Schwab <schwab@redhat.com>
30804
30805 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
30806 expectations for float.
30807
f3a6cc0a
AS
308082011-11-29 Andreas Schwab <schwab@redhat.com>
30809
30810 * locale/weight.h (findidx): Add parameter len.
30811 * locale/weightwc.h (findidx): Likewise.
30812 * posix/fnmatch_loop.c (FCT): Adjust caller.
30813 * posix/regcomp.c (build_equiv_class): Likewise.
30814 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
30815 * posix/regexec.c (check_node_accept_bytes): Likewise.
30816 * string/strcoll_l.c (STRCOLL): Likewise.
30817 * string/strxfrm_l.c (STRXFRM): Likewise.
30818
9d65ea3a
UD
308192011-11-17 Ulrich Drepper <drepper@gmail.com>
30820
30821 * Makefile.in: Remove CVSOPT handling.
30822 * configure.in: Remove use of AC_REVISION.
30823 * iconvdata/Makefile (distribute): No need to filter out CVS.
30824 * scripts/list-sources.sh: Remove CVS, subversion and monotone
30825 handling.
30826
5583a086
AS
308272011-11-16 Andreas Schwab <schwab@redhat.com>
30828
30829 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
30830 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
30831 [USE_AS_STRNCASECMP_L]: Likewise.
30832 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
30833 NO_TLS_DIRECT_SEG_REFS.
30834 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
30835 Fix argument offsets for non-PIC.
30836 [USE_AS_STRNCASECMP_L]: Likewise.
30837 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
30838 NO_TLS_DIRECT_SEG_REFS.
30839
d62a8200
UD
308402011-11-15 Ulrich Drepper <drepper@gmail.com>
30841
9d65ea3a 30842 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
30843 O_CLOEXEC.
30844 * locale/loadlocale.c (_nl_load_locale): Likewise.
30845
09f93bd3
AS
308462011-11-15 Andreas Schwab <schwab@redhat.com>
30847
446514f9
AS
30848 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
30849 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
30850 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
30851 (SYSCALL_GETTIME): Set errno on error.
30852
09f93bd3
AS
30853 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
30854 count references to noai6ai_cached.
30855
312be3f9
UD
308562011-11-15 Ulrich Drepper <drepper@gmail.com>
30857
30858 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
30859
30860 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
30861 FD_CLOEXEC for /proc/self/maps.
30862
30863 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
30864 FD_CLOEXEC for /proc/meminfo.
30865
30866 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
30867 gai.conf.
30868
30869 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
30870 FD_CLOEXEC for given file.
30871
30872 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
30873
30874 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
30875 FD_CLOEXEC for /etc/hosts.
30876 (_gethtent): Likewise.
30877
30878 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
30879
30880 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
30881 cancellation and set FD_CLOEXEC for /etc/netgroup.
30882
30883 * nss/nss_files/files-key.c (search): Don't allow cancellation when
30884 reading /etc/publickey.
30885
30886 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
30887 allow cancellation when reading /etc/group.
30888
30889 * nss/nss_files/files-alias.c (internal_setent): Don't allow
30890 cancellation.
30891 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
30892
30893 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
30894 when using data file.
30895
30896 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
30897
30898 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
30899 (write_nis_obj): Use "c" and "e" in fopen.
30900
30901 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
30902
30903 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
30904
30905 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
30906
30907 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
30908
30909 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
30910 locale.alias.
30911
30912 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
30913
30914 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
30915
30916 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
30917
30918 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
30919 file parsing and set FD_CLOEXEC.
30920
82af0fa8
UD
309212011-11-14 Ulrich Drepper <drepper@gmail.com>
30922
30923 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
30924
a5fb313c
AS
309252011-11-14 Andreas Schwab <schwab@redhat.com>
30926
30927 * malloc/arena.c (arena_get2): Don't call reused_arena when
30928 _int_new_arena failed.
30929
6abf3465
UD
309302011-11-14 Ulrich Drepper <drepper@gmail.com>
30931
30932 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
30933 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
30934 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
30935 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30936 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30937 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
30938 to compile strcasecmp and strncasecmp.
30939 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
30940 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
30941
30942 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
30943
76e3966e
UD
309442011-11-13 Ulrich Drepper <drepper@gmail.com>
30945
30946 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
30947 locale-defines.sym to gen-as-const-headers.
30948 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
30949 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
30950 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
30951 to compile strcasecmp and strncasecmp.
30952 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
30953 strcasecmp_l and strncasecmp_l.
30954 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
30955 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
30956 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
30957 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
30958 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
30959 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
30960 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
30961 * sysdeps/i386/i686/multiarch/strncase.S: New file.
30962 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
30963 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
30964 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
30965
ab26144e
UD
309662011-11-12 Ulrich Drepper <drepper@gmail.com>
30967
7edb22ef
UD
30968 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
30969 result of SYSDEP_GETTIME_CPU to retval.
30970 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
30971 parameter list to macro. Remove trailing semicolon. Adjust users.
30972
9694fc44
UD
30973 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
30974 variable.
30975
8ad89ef8
UD
30976 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
30977 mantissa words.
30978 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
30979
0c822ef9
UD
30980 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
30981 from unused variable.
30982
874e0564
UD
30983 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
30984 DWARF definitions.
30985 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
30986 for assembling.
30987
3a2edc79
UD
30988 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
30989 over namespaces.
30990
f3c2577f
UD
30991 * sunrpc/rpc_prot.c (rejected): Fix case value.
30992
294ce126
UD
30993 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
30994 unsigned long long int to avoid warnings in shift.
30995
5e2b63c6
UD
30996 * posix/regex_internal.c (re_string_reconstruct): Actually use result
30997 of use of trans.
30998 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
30999 variable tmp.
31000
e7f4b08e
UD
31001 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
31002 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
31003 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
31004
ab26144e
UD
31005 * nis/nis_table.c (nis_list): Use variable of correct type for
31006 result of __follow_path call.
31007
8a6d5255
AZ
310082011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31009
31010 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
31011 of math functions ceil, trunc, floor, round, and sqrt, when
31012 avaliable on the platform.
31013 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
31014 name clash.
31015 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31016 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31017 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31018
aaddc98c
MP
310192011-10-30 Marek Polacek <mpolacek@redhat.com>
31020
31021 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
31022 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31023
95b7042b
RM
310242011-11-11 Roland McGrath <roland@hack.frob.com>
31025
31026 * include/unistd.h: Fix __readlink return type.
31027 Reported by Chris Metcalf <cmetcalf@tilera.com>.
31028
57769839
UD
310292011-11-11 Ulrich Drepper <drepper@gmail.com>
31030
31031 * stdlib/ucontext.h: Undo last change for makecontext.
31032
edc5984d
AS
310332011-11-11 Andreas Schwab <schwab@redhat.com>
31034
98591e58
AS
31035 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
31036
edc5984d
AS
31037 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
31038 * setjmp/setjmp.h: Mark functions as non-leaf.
31039 * setjmp/bits/setjmp2.h: Likewise.
31040 * stdlib/ucontext.h: Likewise.
31041
77cdc054
AS
310422011-11-10 Andreas Schwab <schwab@redhat.com>
31043
31044 * malloc/arena.c (_int_new_arena): Don't increment narenas.
31045 (reused_arena): Don't check arena limit.
31046 (arena_get2): Atomically check arena limit.
31047
fe72eebd
UD
310482011-11-08 Ulrich Drepper <drepper@gmail.com>
31049
5f078c32
UD
31050 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
31051 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
31052
fe72eebd
UD
31053 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
31054 instructions.
31055
ae1bc2fa
AS
310562011-11-07 Andreas Schwab <schwab@redhat.com>
31057
7583a88d
AS
31058 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
31059 handler when locking.
31060
ae1bc2fa
AS
31061 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31062 Fix size of allocated buffer.
31063
10fb0bfa
AS
310642011-11-04 Andreas Schwab <schwab@redhat.com>
31065
998832a4
AS
31066 [BZ #10103]
31067 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
31068 declarations for long double functions.
31069 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
31070
10fb0bfa
AS
31071 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
31072
3d7ba52b
AS
310732011-11-03 Andreas Schwab <schwab@redhat.com>
31074
a9ae54a1
AS
31075 * nscd/nscd.c (main): Don't start AVC thread until credentials are
31076 installed.
31077
3d7ba52b
AS
31078 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
31079 is disabled.
31080
bc8db248
ST
310812011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
31082
31083 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
31084
45b96dd6
AS
310852011-11-01 Andreas Schwab <schwab@linux-m68k.org>
31086
647776f6
AS
31087 * include/alloca.h (stackinfo_alloca_round): Define.
31088 (extend_alloca): Use it.
31089 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
31090 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
31091 here.
31092
d91a8b93
AS
31093 * scripts/check-local-headers.sh: Ignore libaudit.h.
31094
45b96dd6
AS
31095 * nscd/Makefile (extra-objs): Make recursively expanded.
31096
432d41ce
UD
310972011-11-01 Ulrich Drepper <drepper@gmail.com>
31098
34372fc6
UD
31099 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
31100 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31101
fadb59f8
UD
31102 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
31103 * posix/tst-rfc3484-2.c: Likewise.
31104 * posix/tst-rfc3484-3.c: Likewise.
31105
78239589
UD
31106 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31107 process_vm_writev.
31108 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
31109 process_vm_writev.
31110 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
31111 process_vm_writev from libc using GLIBC_2.15 version.
31112
432d41ce
UD
31113 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
31114
02f9c6cf
PP
311152011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
31116
31117 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
31118 stack usage.
31119
3a2c0242
UD
311202011-10-31 Ulrich Drepper <drepper@gmail.com>
31121
f4ec4833
UD
31122 [BZ #13367]
31123 * nss/getent.c (initgroups_keys): Show error message in case no group
31124 names are given.
31125
3a2c0242
UD
31126 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
31127 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
31128 __bump_nl_timestamp.
31129 * nscd/connections (nscd_init): When host database is served open
31130 netlink socket and request notification about configuration changes.
31131 (main_loop_poll): Track netlink file descriptor and bump timestamp
31132 in case data becomes available.
31133 (main_loop_epoll): Likewise.
31134 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
31135 (database_pers_head): Add extra_data fileds.
31136 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
31137 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
31138 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
31139 Adjust caller.
31140 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
31141 in6ai data, call __free_in6ai.
31142 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
31143 Add -DHAVE_NETLINK.
31144 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
31145 interface information. Reuse previous data if netlink timestamp
31146 is not changed.
31147 (__bump_nl_timestamp): New function.
31148 (__free_in6ai): New function.
31149
636064eb
UD
311502011-10-30 Ulrich Drepper <drepper@gmail.com>
31151
31152 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
31153 close_not_cancel_no_status here.
31154 (__check_pf): Reorganize code a bit to not call close twice if OOM.
31155
9beb2334
UD
311562011-10-29 Ulrich Drepper <drepper@gmail.com>
31157
6ef76f3b
UD
31158 [BZ #13276]
31159 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
31160 return value.
31161
0ffc4f3e 31162 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
31163 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
31164 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
31165
cb95113e
UD
311662011-07-03 Andreas Jaeger <aj@suse.de>
31167
31168 [BZ #10709]
31169 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
31170 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
31171 * math/libm-test.inc (sin_test): Add test case.
31172
a1b560ff
UD
311732011-10-29 Ulrich Drepper <drepper@gmail.com>
31174
c9aaface
UD
31175 [BZ #13337]
31176 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
31177 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31178
d272e7f1
UD
31179 * elf/chroot_canon.c (chroot_canon): Cleanups.
31180
1bc33071
UD
31181 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
31182
1760874d
TJ
31183 [BZ #13335]
31184 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
31185 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31186
51d91b18
UD
31187 * string/test-strchr.c: Make usable for strchrnul testing.
31188 * string/test-strchrnul.c: New file.
31189 * string/Makefile (strop-tests): Add strchrnul.
31190
a1b560ff 31191 * po/it.po: Update from translation team.
b611fb81 31192 * po/es.po: Likewise.
a1b560ff 31193
a5b81e1f
UD
311942011-10-28 Ulrich Drepper <drepper@gmail.com>
31195
fd52bc6d
UD
31196 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
31197 the three constants needed as parameters. Drop the others.
31198 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
31199 __m128i_strloadu_tolower.
52e4b9eb
UD
31200 Create and initialize variable zero and use it in all the places
31201 where _mm_setzero_si128 was used.
fd52bc6d 31202
a5b81e1f
UD
31203 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
31204 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
31205 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
31206 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
31207 anymore.
31208 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
31209 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
31210 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
31211 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
31212 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
31213 __mpranred, __mptan.
31214 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
31215 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
31216 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
31217 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
31218 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
31219 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
31220 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
31221 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
31222 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
31223
b4343346
AS
312242011-10-28 Andreas Schwab <schwab@redhat.com>
31225
0c92d8a8
AS
31226 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
31227 redefine if SHARED.
31228 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
31229
b4343346
AS
31230 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
31231 wide char related routines to wcsmbs subdir.
31232
3871f58f
AS
312332011-10-27 Andreas Schwab <schwab@redhat.com>
31234
31235 [BZ #13344]
31236 * misc/sys/cdefs.h (__THROWNL): Define.
31237 * posix/unistd.h: Use __THREADNL instead of __THREAD
31238 for memory synchronization functions.
31239
94d44d9f
RM
312402011-10-26 Roland McGrath <roland@hack.frob.com>
31241
21b64b15 31242 [BZ #13349]
94d44d9f
RM
31243 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
31244 doesn't exist.
31245 * manual/stdio.texi (Obstack Streams): Node removed.
31246
f6ce9294
AS
312472011-10-26 Andreas Schwab <schwab@redhat.com>
31248
80479147
AS
31249 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
31250 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31251 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31252
f6ce9294
AS
31253 * math/math_private.h (math_force_eval): Allow non-addressable
31254 arguments.
31255 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
31256
618280a1
UD
312572011-10-25 Ulrich Drepper <drepper@gmail.com>
31258
e0016b11
UD
31259 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
31260 file is not needed.
31261
31262 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
31263 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31264 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31265 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31266 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31267 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31268 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31269 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
31270 Add AVX variants.
31271 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
31272 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
31273 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
31274 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
31275 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
31276 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
31277 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
31278 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
31279 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
31280 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
31281 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
31282 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
31283 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
31284 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
31285 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
31286 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
31287 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
31288 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
31289 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
31290
31291 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
31292 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
31293
618280a1
UD
31294 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
31295 place. Use VEX encoding when compiling for AVX.
31296
37822576
AS
312972011-10-25 Andreas Schwab <schwab@redhat.com>
31298
1f1e1947
AS
31299 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
31300 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31301
37822576
AS
31302 * string/test-strchr.c (do_test): Don't generate NUL bytes.
31303
31ea014d
UD
313042011-10-25 Ulrich Drepper <drepper@gmail.com>
31305
d7826aa1 31306 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 31307 useless if() expression.
d7826aa1
UD
31308 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31309 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31310 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31311 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31312 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31313 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31314 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31315 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31316 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31317 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31318 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31319 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31320 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
31321 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31322 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
31323 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31324 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31325 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31326 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
31327
31ea014d
UD
31328 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
31329
16437fec
AS
313302011-10-25 Andreas Schwab <schwab@redhat.com>
31331
31332 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
31333 condition.
31334 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31335
31d3cc00
UD
313362011-10-25 Ulrich Drepper <drepper@gmail.com>
31337
31338 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
31339 .text section. Avoid duplicate constants.
31340 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31341 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31342 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31343 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31344 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31345 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31346 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31347 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31348 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31349 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
31350 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31351 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31352 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31353 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31354 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31355 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31356 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31357 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31358 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31359 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31360 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31361 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31362 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31363 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
31364 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
31365 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
31366 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
31367 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
31368 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
31369 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
31370 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
31371 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
31372 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31373 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
31374 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
31375 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
31376 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
31377 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
31378 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
31379 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
31380 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
31381 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
31382 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
31383 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
31384 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
31385
58985aa9
UD
313862011-10-24 Ulrich Drepper <drepper@gmail.com>
31387
202c9deb
UD
31388 * sysdeps/x86_64/dla.h: Move to ...
31389 * sysdeps/x86_64/fpu/dla.h: ...here.
31390 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
31391 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 31392
af968f62
UD
31393 * config.make.in: Add have-mfma4 entry.
31394 * configure.in: Substitute libc_cv_cc_fma4.
31395 * math/Makefile (dbl-only-routines): Add sincostab.
31396 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
31397 Use __sincostab not sincos.
31398 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
31399 name is a macro.
31400 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31401 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31402 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31403 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
31404 using __copysign.
31405 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
31406 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
31407 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
31408 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
31409 and __inv.
31410 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
31411 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
31412 __copysign.
31413 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
31414 define aliases when function name is a macro.
31415 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
31416 sysdeps/ieee754/dbl-64/sincos.tbl.
31417 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
31418 fma4-enabled routines.
31419 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
31420 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
31421 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
31422 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
31423 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
31424 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
31425 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
31426 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
31427 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
31428 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
31429 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
31430 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
31431 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
31432 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
31433 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
31434 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
31435 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
31436 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
31437 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
31438 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
31439 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
31440 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
31441 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
31442 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
31443 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
31444 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
31445 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
31446 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
31447 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
31448 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
31449
58985aa9
UD
31450 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
31451 rename.
31452 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31453 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31454 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31455 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31456 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31457 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31458 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31459 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31460
a201fbcf
AS
314612011-10-24 Andreas Schwab <schwab@redhat.com>
31462
31463 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
31464
fc2ee42a
LD
314652011-10-23 Ulrich Drepper <drepper@gmail.com>
31466
bb3129bd
UD
31467 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
31468
0275fff8
UD
31469 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
31470 prediction.
31471 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
31472
2fa2ae85
UD
31473 * string/strnlen.c: Don't define STRNLEN, reverse logic.
31474 Remove unused variable magic_bits.
31475 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
31476
fc2ee42a
LD
31477 * string/strnlen.c: Define and use STRNLEN macro.
31478 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
31479 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
31480 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
31481 * wcsmbs/wcslen.c: Define and use WCSLEN.
31482 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
31483 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
31484 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
31485 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
31486 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
31487 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
31488 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31489
ce7dd29f
LD
314902011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31491
31492 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31493 strnlen-sse2-no-bsf.
31494 Rename strlen-no-bsf to strlen-sse2-no-bsf.
31495 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
31496 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
31497 Add strnlen support.
31498 (USE_AS_STRNLEN): New macro.
31499 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
31500 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
31501 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
31502 * sysdeps/x86_64/wcslen.S: New file.
31503
979c70a3
MZ
315042011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
31505
31506 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31507 XMM-moves are used for copying on small sizes.
31508
2d09f82f
LD
315092011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31510
31511 * wcsmbs/Makefile (strop-tests): Add wcschr.
31512 * wcsmbs/test-wcschr.c: New file.
31513 * string/test-strchr.c: Update.
31514 Add wcschr support.
31515 (WIDE): New macro.
31516
619fccca
LD
315172011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31518
2d09f82f 31519 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
31520 * wcsmbs/test-wcslen.c: New file.
31521 * string/test-strlen.c: Update.
31522 Add wcslen support.
31523 (WIDE): New macro.
31524
09f699ea
UD
315252011-10-23 Ulrich Drepper <drepper@gmail.com>
31526
31527 * po/it.po: Update from translation team.
31528
95584d3b
LD
315292011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31530
31531 * sysdeps/x86_64/wcscmp.S: Update.
31532 Fix wrong comparison semantics.
31533 wcscmp shall use signed comparison not unsigned.
31534 Don't use substraction to avoid overflow bug.
31535 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
31536 * wcsmbc/wcscmp.c: Likewise.
31537 * string/test-strcmp.c: Likewise.
31538 Add new tests to check cases with negative values.
31539
c8b3296b
UD
315402011-10-23 Ulrich Drepper <drepper@gmail.com>
31541
31542 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
31543 * sysdeps/x86_64/dla.h: ...here. New file.
31544 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
31545 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31546 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31547 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31548 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31549 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31550 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31551 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31552 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31553
246ad57a
AS
315542011-10-23 Andreas Schwab <schwab@linux-m68k.org>
31555
31556 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
31557 __ynl_finite aliases.
31558
a1a87169
UD
315592011-10-22 Ulrich Drepper <drepper@gmail.com>
31560
0d355eb7
UD
31561 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31562
a1a87169
UD
31563 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
31564 define DLA_FMA.
31565 [DLA_FMA] (EMULV): Use DLA_FMA.
31566 [DLA_FMA] (MUL12): Use EMULV.
31567 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
31568 that are not needed.
31569 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31570 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31571 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31572 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31573 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31574 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31575 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31576
ee2aafe0
AS
315772011-10-22 Andreas Schwab <schwab@linux-m68k.org>
31578
31579 * math/s_nan.c: Undef __nan.
31580 * math/s_nanf.c: Undef __nanf.
31581 * math/s_nanl.c: Undef __nanl.
31582 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
31583 "math_private.h".
31584
bc62c2fb
UD
315852011-10-22 Ulrich Drepper <drepper@gmail.com>
31586
77425c63
UD
31587 * math/s_catan.c: Add branch predictions.
31588 * math/s_catanf.c: Likewise.
31589 * math/s_catanh.c: Likewise.
31590 * math/s_catanhf.c: Likewise.
31591 * math/s_catanhl.c: Likewise.
31592 * math/s_catanl.c: Likewise.
31593 * math/s_cexp.c: Likewise.
31594 * math/s_cexpf.c: Likewise.
31595 * math/s_cexpl.c: Likewise.
31596 * math/s_clog.c: Likewise.
31597 * math/s_clog10.c: Likewise.
31598 * math/s_clog10f.c: Likewise.
31599 * math/s_clog10l.c: Likewise.
31600 * math/s_clogf.c: Likewise.
31601 * math/s_clogl.c: Likewise.
31602 * math/s_csqrt.c: Likewise.
31603 * math/s_csqrtf.c: Likewise.
31604 * math/s_csqrtl.c: Likewise.
31605 * math/s_ctanf.c: Likewise.
31606 * math/s_ctanh.c: Likewise.
31607 * math/s_ctanhf.c: Likewise.
31608 * math/s_ctanhl.c: Likewise.
31609 * math/s_ctanl.c: Likewise.
31610
bc62c2fb
UD
31611 * math/math_private.h: Define __nan, __nanf, __nanl.
31612 * math/s_cacosh.c: Include <math_private.h>.
31613 * math/s_cacoshl.c: Likewise.
31614 * math/s_casinh.c: Likewise.
31615 * math/s_casinhf.c: Likewise.
31616 * math/s_casinhl.c: Likewise.
31617 * math/s_ccos.c: Rely entire on ccosh.
31618 * math/s_ccosf.c: Rely entire on ccoshf.
31619 * math/s_ccosl.c: Rely entirely on ccoshl.
31620 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
31621 Remove tests for FE_INVALID.
31622 * math/s_ccoshf.c: Likewise.
31623 * math/s_ccoshl.c: Likewise.
31624 * math/s_csin.c: Likewise.
31625 * math/s_csinf.c: Likewise.
31626 * math/s_csinh.c Likewise.
31627 * math/s_csinhf.c: Likewise.
31628 * math/s_csinhl.c: Likewise.
31629 * math/s_csinl.c: Likewise.
31630 * math/s_ctan.c: Likewise.
31631 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
31632 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
31633 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
31634
8ec250a4
UD
316352011-10-21 Ulrich Drepper <drepper@gmail.com>
31636
c196fed8
UD
31637 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
31638 compilation problems.
31639
8ec250a4
UD
31640 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
31641 __builtin_expect.
31642
8d4f46c6
UD
316432011-10-20 Ulrich Drepper <drepper@gmail.com>
31644
ed72b654
UD
31645 * sysdeps/i386/configure.in: Test for -mfma4 option.
31646 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
31647 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
31648 COMMON_CPUID_INDEX_80000001.
31649 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
31650 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
31651 use it if FMA3 is not supported.
31652 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
31653
8d4f46c6
UD
31654 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
31655 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31656
d45c60c2
AS
316572011-10-20 Andreas Schwab <schwab@redhat.com>
31658
31659 [BZ #12892]
31660 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
31661 it would create a cycle with a link time dependency.
31662
d9a4d2ab
UD
316632011-10-19 Ulrich Drepper <drepper@gmail.com>
31664
855d1560
UD
31665 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
31666 instruction.
31667 * string/Makefile (strop-tests): Add rawmemchr.
31668 * string/test-rawmemchr.c: New file.
31669
d9a4d2ab
UD
31670 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
31671 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
31672 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
31673 when compiling str{,n}casecmp and when AVX is available. Hook up
31674 new optimized code in initializers.
31675
8f3b1ffe
AS
316762011-10-19 Andreas Schwab <schwab@redhat.com>
31677
31678 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
31679 __feraiseexcept instead of feraiseexcept.
31680
d38f1dba
UD
316812011-10-18 Ulrich Drepper <drepper@gmail.com>
31682
d9a8d0ab
UD
31683 * math/math_private.h: Define defaults for libc_fetestexcept and
31684 libc_feupdateenv.
31685 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
31686 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
31687 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31688 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31689 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
31690 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31691 libc_fetestexcept and libc_feupdateenv.
31692
4855e3dd
UD
31693 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
31694 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
31695 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
31696 * sysdeps/x86_64/fpu/math_private.h: Define special version of
31697 libc_feholdexcept_setround.
31698
581d30e3
UD
31699 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
31700 Add s_nearbyint-c and s_nearbyintf-c.
31701 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
31702 nearbyintf inlines.
31703 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
31704 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
31705 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
31706 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
31707
d38f1dba
UD
31708 * math/math_private.h: Define defaults for libc_fegetround,
31709 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
31710 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
31711 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
31712 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
31713 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
31714 standard functions.
31715 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31716 Remove comments and hacks for old compiler versions.
31717 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31718 libc_fegetround, libc_fesetround, libc_feholdexcept, and
31719 libc_feholdexceptl.
31720
caa6c9d8
AS
317212011-10-18 Andreas Schwab <schwab@redhat.com>
31722
31723 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
31724 (__feraiseexcept_renamed): Add __NTH.
31725 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
31726 namespace violations.
31727
97c066e6
UD
317282011-10-17 Ulrich Drepper <drepper@gmail.com>
31729
99ce7b04
UD
31730 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
31731
1004d182
UD
31732 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
31733
228a984d
UD
31734 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
31735 recently added interfaces.
31736 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
31737
c8553a6a
UD
31738 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
31739 about macro parameter expansion.
31740
ed22dcf6
UD
31741 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
31742 __NO_MATH_INLINES is defined. Cleanups.
31743
31744 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
31745 and __floorf is target has SSE4.1.
31746 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
31747 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
31748 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
31749 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
31750
b171c137
UD
31751 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
31752 name.
31753 (floorf): Likewise.
31754
97c066e6
UD
31755 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
31756
629f62ef
AS
317572011-10-17 Andreas Schwab <schwab@redhat.com>
31758
49a43d80
AS
31759 * misc/sys/cdefs.h: Fix last change.
31760
629f62ef
AS
31761 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
31762 database lookup.
31763
e453f6cd
UD
317642011-10-16 Ulrich Drepper <drepper@gmail.com>
31765
aa78043a
UD
31766 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
31767
ad0f5cad
UD
31768 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
31769 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31770 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
31771 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31772 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31773 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
31774 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31775 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31776 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
31777 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
31778 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
31779 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
31780 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
31781 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
31782 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
31783 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
31784 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
31785 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
31786 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
31787 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
31788 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
31789 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
31790
31791 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
31792 ceil, ceilf, floor, floorf.
31793
31794 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
31795 Perform IRELATIVE relocations last.
31796
e453f6cd
UD
31797 * elf/do-rel.h: Add another parameter nrelative, replacing the
31798 local variable with the same name. Change name of the function
31799 to end in Rel or Rela (uppercase).
31800 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
31801 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
31802 elf_dynamic_do_##reloc function.
31803
fd5bdc09
UD
318042011-10-15 Ulrich Drepper <drepper@gmail.com>
31805
79b195b5
UD
31806 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
31807 is sufficient, at least on modern CPUs.
31808
d4a28569
UD
31809 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
31810
b61099b5
UD
31811 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
31812 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
31813
bcf01e6d
UD
31814 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
31815 __expl_finite.
31816 * math/bits/math-finite.h: Add entries for exp.
31817 * math/e_expl.c: Add __*_finite alias.
31818 * sysdeps/i386/fpu/e_exp.S: Likewise.
31819 * sysdeps/i386/fpu/e_expf.S: Likewise.
31820 * sysdeps/i386/fpu/e_expl.c: Likewise.
31821 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31822 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31823 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31824 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31825 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
31826 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31827 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31828
ba1a0d59
UD
31829 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
31830 is sufficient, at least on modern CPUs.
31831
fd5bdc09
UD
31832 * ctype/ctype-info.c (__ctype_init): Define.
31833 * include/ctype.h (__ctype_init): Declare.
31834 (__ctype_b_loc): The variable is always initialized.
31835 (__ctype_toupper_loc): Likewise.
31836 (__ctype_tolower_loc): Likewise.
31837 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
31838 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
31839
7872cfb0
AS
318402011-10-15 Andreas Schwab <schwab@linux-m68k.org>
31841
b468825a
AS
31842 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
31843
7872cfb0
AS
31844 * configure.in: Also look in $cxxmachine/include for C++ system
31845 headers.
31846
be13f7bf
LD
318472011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31848
31849 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
31850 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
31851 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
31852 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
31853 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
31854 (USE_AS_WMEMCMP): New macro.
31855 Fixing indents.
31856 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
31857 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
31858 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
31859 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
31860 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31861 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
31862 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
31863 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
31864 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
31865 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
31866 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
31867 (USE_AS_WMEMCMP): New macro.
31868 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
31869 * sysdeps/string/test-memcmp.c: Update.
31870 Fix simple_wmemcmp.
31871 Add new tests.
31872 * wcsmbs/wmemcmp.c: Update.
31873 (WMEMCMP): New macro.
31874 Fix overflow bug.
31875
556a2007
AJ
318762011-10-12 Andreas Jaeger <aj@suse.de>
31877
31878 [BZ #13268]
31879 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
31880
538faaa7
UD
318812011-10-15 Ulrich Drepper <drepper@gmail.com>
31882
ab6737ff
UD
31883 * libio/iofwide.c (do_length): Avoid warning.
31884
538faaa7
UD
31885 * ctype/ctype.h (__isctype_f): Add missing __THROW.
31886
396a21b1
UD
318872011-10-14 Ulrich Drepper <drepper@gmail.com>
31888
cdf2901f
UD
31889 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
31890
38ad40ce
UD
31891 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
31892 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
31893 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
31894 * sysdeps/i386/i686/fpu/e_log.S: New file.
31895 * sysdeps/i386/i686/fpu/e_logf.S: New file.
31896 * sysdeps/i386/i686/fpu/e_logl.S: New file.
31897
396a21b1
UD
31898 * ctype/ctype.h: Add support for inlined isXXX functions when
31899 compiling C++ code.
31900
6b1f68c9
AS
319012011-10-14 Andreas Schwab <schwab@redhat.com>
31902
349290c0
AS
31903 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31904
6b1f68c9
AS
31905 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
31906
f2282d42
RM
319072011-10-13 Roland McGrath <roland@hack.frob.com>
31908
31909 [BZ #13291]
31910 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
31911
5298ffa8
AS
319122011-10-13 Andreas Schwab <schwab@redhat.com>
31913
714fad23
AS
31914 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
31915 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
31916 feraiseexcept.
31917
81dcc7fb
AS
31918 * sysdeps/x86_64/memrchr.S: Check for zero size.
31919
5298ffa8
AS
31920 * string/stratcliff.c: Add memrchr tests.
31921
951fbcec
LD
319222011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31923
31924 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31925 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
31926 rawmemchr-sse2 rawmemchr-sse2-bsf.
31927 * sysdeps/i386/i686/multiarch/memchr.S: New file.
31928 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
31929 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
31930 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
31931 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
31932 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
31933 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
31934 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
31935 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
31936 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
31937 * string/memrchr.c (MEMRCHR): New macro.
31938
0ac5ae23
UD
319392011-10-12 Ulrich Drepper <drepper@gmail.com>
31940
31941 Add integration with gcc's -ffinite-math-only and optimize wrapper
31942 functions in libm.
31943 * Versions.def: Define GLIBC_2.15 version for libm.
31944 * math/Makefile (headers): Add bits/math-finite.h.
31945 * math/bits/math-finite.h: New file.
31946 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
31947 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
31948 * math/e_acoshl.c: Add __*_finite alias.
31949 * math/e_acosl.c: Likewise.
31950 * math/e_asinl.c: Likewise.
31951 * math/e_atan2l.c: Likewise.
31952 * math/e_atanhl.c: Likewise.
31953 * math/e_coshl.c: Likewise.
31954 * math/e_exp10.c: Likewise.
31955 * math/e_exp10f.c: Likewise.
31956 * math/e_exp10l.c: Likewise.
31957 * math/e_exp2l.c: Likewise.
31958 * math/e_fmodl.c: Likewise.
31959 * math/e_gammal_r.c: Likewise.
31960 * math/e_hypotl.c: Likewise.
31961 * math/e_j0l.c: Likewise.
31962 * math/e_j1l.c: Likewise.
31963 * math/e_jnl.c: Likewise.
31964 * math/e_lgammal_r.c: Likewise.
31965 * math/e_log10l.c: Likewise.
31966 * math/e_log2l.c: Likewise.
31967 * math/e_logl.c: Likewise.
31968 * math/e_powl.c: Likewise.
31969 * math/e_sinhl.c: Likewise.
31970 * math/e_sqrtl.c: Likewise.
31971 * math/e_scalb.c: Completely rewritten and optimized.
31972 * math/e_scalbf.c: Likewise.
31973 * math/e_scalbl.c: Likewise.
31974 * math/w_acos.c: Likewise.
31975 * math/w_acosf.c: Likewise.
31976 * math/w_acosl.c: Likewise.
31977 * math/w_acosh.c: Likewise.
31978 * math/w_acoshf.c: Likewise.
31979 * math/w_acoshl.c: Likewise.
31980 * math/w_asin.c: Likewise.
31981 * math/w_asinf.c: Likewise.
31982 * math/w_asinl.c: Likewise.
31983 * math/w_atan2.c: Likewise.
31984 * math/w_atan2f.c: Likewise.
31985 * math/w_atan2l.c: Likewise.
31986 * math/w_atanh.c: Likewise.
31987 * math/w_atanhf.c: Likewise.
31988 * math/w_atanhl.c: Likewise.
31989 * math/w_exp10.c: Likewise.
31990 * math/w_exp10f.c: Likewise.
31991 * math/w_exp10l.c: Likewise.
31992 * math/w_fmod.c: Likewise.
31993 * math/w_fmodf.c: Likewise.
31994 * math/w_fmodl.c: Likewise.
31995 * math/w_j0.c: Likewise.
31996 * math/w_j0f.c: Likewise.
31997 * math/w_j0l.c: Likewise.
31998 * math/w_j1.c: Likewise.
31999 * math/w_j1f.c: Likewise.
32000 * math/w_j1l.c: Likewise.
32001 * math/w_jn.c: Likewise.
32002 * math/w_jnf.c: Likewise.
32003 * math/w_log.c: Likewise.
32004 * math/w_logf.c: Likewise.
32005 * math/w_logl.c: Likewise.
32006 * math/w_log10.c: Likewise.
32007 * math/w_log10f.c: Likewise.
32008 * math/w_log10l.c: Likewise.
32009 * math/w_log2.c: Likewise.
32010 * math/w_log2f.c: Likewise.
32011 * math/w_log2l.c: Likewise.
32012 * math/w_pow.c: Likewise.
32013 * math/w_powf.c: Likewise.
32014 * math/w_powl.c: Likewise.
32015 * math/w_remainder.c: Likewise.
32016 * math/w_remainderf.c: Likewise.
32017 * math/w_remainderl.c: Likewise.
32018 * math/w_scalb.c: Likewise.
32019 * math/w_scalbf.c: Likewise.
32020 * math/w_scalbl.c: Likewise.
32021 * math/w_sqrt.c: Likewise.
32022 * math/w_sqrtf.c: Likewise.
32023 * math/w_sqrtl.c: Likewise.
32024 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
32025 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
32026 used.
32027 * math/math_private.h: Declare __kernel_standard_f.
32028 * math/w_cosh.c: Remove cruft and optimize a bit.
32029 * math/w_coshf.c: Likewise.
32030 * math/w_coshl.c: Likewise.
32031 * math/w_exp2.c: Likewise.
32032 * math/w_exp2f.c: Likewise.
32033 * math/w_exp2l.c: Likewise.
32034 * math/w_hypot.c: Likewise.
32035 * math/w_hypotf.c: Likewise.
32036 * math/w_hypotl.c: Likewise.
32037 * math/w_lgamma.c: Likewise.
32038 * math/w_lgamma_r.c: Likewise.
32039 * math/w_lgammaf.c: Likewise.
32040 * math/w_lgammaf_r.c: Likewise.
32041 * math/w_lgammal.c: Likewise.
32042 * math/w_lgammal_r.c: Likewise.
32043 * math/w_sinh.c: Likewise.
32044 * math/w_sinhf.c: Likewise.
32045 * math/w_sinhl.c: Likewise.
32046 * math/w_tgamma.c: Likewise.
32047 * math/w_tgammaf.c: Likewise.
32048 * math/w_tgammal.c: Likewise.
32049 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32050 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32051 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
32052 Minor optimizations. Pretty printing. Remove cruft.
32053 * sysdeps/i386/fpu/e_acosf.S: Likewise.
32054 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32055 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32056 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32057 * sysdeps/i386/fpu/e_acosl.c: Likewise.
32058 * sysdeps/i386/fpu/e_asin.S: Likewise.
32059 * sysdeps/i386/fpu/e_asinf.S: Likewise.
32060 * sysdeps/i386/fpu/e_atan2.S: Likewise.
32061 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
32062 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
32063 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32064 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32065 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32066 * sysdeps/i386/fpu/e_exp10.S: Likewise.
32067 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
32068 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
32069 * sysdeps/i386/fpu/e_exp2.S: Likewise.
32070 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
32071 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
32072 * sysdeps/i386/fpu/e_fmod.S: Likewise.
32073 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
32074 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
32075 * sysdeps/i386/fpu/e_hypot.S: Likewise.
32076 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
32077 * sysdeps/i386/fpu/e_log.S: Likewise.
32078 * sysdeps/i386/fpu/e_log10.S: Likewise.
32079 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32080 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32081 * sysdeps/i386/fpu/e_log2.S: Likewise.
32082 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32083 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32084 * sysdeps/i386/fpu/e_logf.S: Likewise.
32085 * sysdeps/i386/fpu/e_logl.S: Likewise.
32086 * sysdeps/i386/fpu/e_pow.S: Likewise.
32087 * sysdeps/i386/fpu/e_powf.S: Likewise.
32088 * sysdeps/i386/fpu/e_powl.S: Likewise.
32089 * sysdeps/i386/fpu/e_remainder.S: Likewise.
32090 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
32091 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
32092 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32093 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32094 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32095 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
32096 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
32097 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
32098 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32099 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32100 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32101 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32102 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32103 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32104 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
32105 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32106 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32107 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32108 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32109 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32110 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32111 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32112 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32113 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32114 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32115 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32116 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32117 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32118 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32119 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32120 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32121 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32122 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32123 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32124 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32125 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32126 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
32127 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32128 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32129 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32130 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32131 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32132 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32133 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32134 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32135 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32136 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32137 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32138 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32139 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32140 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32141 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32142 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32143 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32144 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32145 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32146 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32147 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
32148 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32149 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32150 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32151 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32152 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32153 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
32154 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
32155 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
32156 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
32157 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
32158 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
32159 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
32160 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32161 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32162 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
32163 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
32164 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
32165 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
32166 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
32167 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
32168 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
32169 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
32170 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
32171 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
32172 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
32173 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32174 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32175 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
32176 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32177 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
32178 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32179 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
32180 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
32181 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32182 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32183 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32184 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32185 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
32186 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
32187 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
32188 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32189 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32190 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32191 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32192 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32193 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32194 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32195 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
32196 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
32197 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
32198 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
32199 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
32200 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
32201 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
32202 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32203 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32204 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32205 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32206 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
32207 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32208 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
32209 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
32210 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
32211 (__isnanf): Likewise.
32212 (__isinf_ns): Likewise.
32213 (__isinf_nsf): Likewise.
32214 (__finite): Likewise.
32215 (__finitef): Likewise.
32216 (__ieee754_sqrt): Define as macro.
32217 (__ieee754_sqrtf): Define as macro.
32218 (__ieee754_sqrtl): Define as macro.
32219 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
32220 inlined copy.
32221 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
32222 __FINITE_MATH_ONLY__ consistent.
32223 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
32224
12cc2fcd
AS
322252011-10-10 Andreas Schwab <schwab@linux-m68k.org>
32226
a843a204
AS
32227 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
32228 of rawmemchr.
32229
12cc2fcd
AS
32230 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
32231
c853acd5
UD
322322011-10-09 Ulrich Drepper <drepper@gmail.com>
32233
32234 * po/ja.po: Update from translation team.
32235
c658d255
RM
322362011-10-08 Roland McGrath <roland@hack.frob.com>
32237
110946e4
RM
32238 * locale/programs/locarchive.c (prepare_address_space): New function.
32239 (create_archive, enlarge_archive, open_archive): Use it.
32240
50604220
RM
32241 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
32242 inside [SHARED], where it is used.
32243
c658d255
RM
32244 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
32245
32246 * nss/getent.c (netgroup_keys): Remove unused variable.
32247 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32248
6a621eb7
UD
322492011-10-08 Ulrich Drepper <drepper@gmail.com>
32250
7edb55ce
UD
32251 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
32252 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
32253 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
32254 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
32255 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
32256 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
32257 * math/Makefile (libm-calls): Add s_isinf_ns.
32258 * math/divtc3.c: Use __isinf_nsl instead of isinf.
32259 * math/multc3.c: Likewise.
32260 * math/s_casin.c: Likewise.
32261 * math/s_casinf.c: Likewise.
32262 * math/s_casinl.c: Likewise.
32263 * math/s_ccos.c: Likewise.
32264 * math/s_ccosf.c: Likewise.
32265 * math/s_ccosl.c: Likewise.
32266 * math/s_ctan.c: Likewise.
32267 * math/s_ctanf.c: Likewise.
32268 * math/s_ctanh.c: Likewise.
32269 * math/s_ctanhf.c: Likewise.
32270 * math/s_ctanhl.c: Likewise.
32271 * math/s_ctanl.c: Likewise.
32272 * math/w_fmod.c: Likewise.
32273 * math/w_fmodf.c: Likewise.
32274 * math/w_fmodl.c: Likewise.
32275 * math/w_remainder.c: Likewise.
32276 * math/w_remainderf.c: Likewise.
32277 * math/w_remainderl.c: Likewise.
32278 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
32279 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
32280 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
32281 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
32282 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
32283 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
32284 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
32285 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
32286
187da0ae
UD
32287 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
32288 of the number.
32289 * stdio-common/printf_fphex.c: Likewise.
32290 * stdio-common/printf_size.c: Likewise.
32291
9277c064
UD
32292 * math/e_exp10.c: Include math_private.h using <...> not "...".
32293 * math/e_exp10f.c: Likewise.
32294 * math/e_exp10l.c: Likewise.
32295 * math/e_exp2l.c: Likewise.
32296 * math/e_j0l.c: Likewise.
32297 * math/e_j1l.c: Likewise.
32298 * math/e_jnl.c: Likewise.
32299 * math/e_lgammal_r.c: Likewise.
32300 * math/e_rem_pio2l.c: Likewise.
32301 * math/e_scalb.c: Likewise.
32302 * math/e_scalbf.c: Likewise.
32303 * math/e_scalbl.c: Likewise.
32304 * math/k_cosl.c: Likewise.
32305 * math/k_sinl.c: Likewise.
32306 * math/k_tanl.c: Likewise.
32307 * math/s_cacoshf.c: Likewise.
32308 * math/s_catan.c: Likewise.
32309 * math/s_catanf.c: Likewise.
32310 * math/s_catanh.c: Likewise.
32311 * math/s_catanhf.c: Likewise.
32312 * math/s_catanhl.c: Likewise.
32313 * math/s_catanl.c: Likewise.
32314 * math/s_ccosh.c: Likewise.
32315 * math/s_ccoshf.c: Likewise.
32316 * math/s_ccoshl.c: Likewise.
32317 * math/s_cexp.c: Likewise.
32318 * math/s_cexpf.c: Likewise.
32319 * math/s_cexpl.c: Likewise.
32320 * math/s_clog.c: Likewise.
32321 * math/s_clog10.c: Likewise.
32322 * math/s_clog10f.c: Likewise.
32323 * math/s_clog10l.c: Likewise.
32324 * math/s_clogf.c: Likewise.
32325 * math/s_clogl.c: Likewise.
32326 * math/s_csin.c: Likewise.
32327 * math/s_csinf.c: Likewise.
32328 * math/s_csinh.c: Likewise.
32329 * math/s_csinhf.c: Likewise.
32330 * math/s_csinhl.c: Likewise.
32331 * math/s_csinl.c: Likewise.
32332 * math/s_csqrt.c: Likewise.
32333 * math/s_csqrtf.c: Likewise.
32334 * math/s_csqrtl.c: Likewise.
32335 * math/s_ctan.c: Likewise.
32336 * math/s_ctanf.c: Likewise.
32337 * math/s_ctanh.c: Likewise.
32338 * math/s_ctanhf.c: Likewise.
32339 * math/s_ctanhl.c: Likewise.
32340 * math/s_ctanl.c: Likewise.
32341 * math/s_ldexp.c: Likewise.
32342 * math/s_ldexpf.c: Likewise.
32343 * math/s_ldexpl.c: Likewise.
32344 * math/s_significand.c: Likewise.
32345 * math/s_significandf.c: Likewise.
32346 * math/s_significandl.c: Likewise.
32347 * math/w_acos.c: Likewise.
32348 * math/w_acosf.c: Likewise.
32349 * math/w_acosh.c: Likewise.
32350 * math/w_acoshf.c: Likewise.
32351 * math/w_acoshl.c: Likewise.
32352 * math/w_acosl.c: Likewise.
32353 * math/w_asin.c: Likewise.
32354 * math/w_asinf.c: Likewise.
32355 * math/w_asinl.c: Likewise.
32356 * math/w_atan2.c: Likewise.
32357 * math/w_atan2f.c: Likewise.
32358 * math/w_atan2l.c: Likewise.
32359 * math/w_atanh.c: Likewise.
32360 * math/w_atanhf.c: Likewise.
32361 * math/w_atanhl.c: Likewise.
32362 * math/w_cosh.c: Likewise.
32363 * math/w_coshf.c: Likewise.
32364 * math/w_coshl.c: Likewise.
32365 * math/w_dremf.c: Likewise.
32366 * math/w_exp10.c: Likewise.
32367 * math/w_exp10f.c: Likewise.
32368 * math/w_exp10l.c: Likewise.
32369 * math/w_exp2.c: Likewise.
32370 * math/w_exp2f.c: Likewise.
32371 * math/w_fmod.c: Likewise.
32372 * math/w_fmodf.c: Likewise.
32373 * math/w_fmodl.c: Likewise.
32374 * math/w_hypot.c: Likewise.
32375 * math/w_hypotf.c: Likewise.
32376 * math/w_hypotl.c: Likewise.
32377 * math/w_j0.c: Likewise.
32378 * math/w_j0f.c: Likewise.
32379 * math/w_j0l.c: Likewise.
32380 * math/w_j1.c: Likewise.
32381 * math/w_j1f.c: Likewise.
32382 * math/w_j1l.c: Likewise.
32383 * math/w_jn.c: Likewise.
32384 * math/w_jnf.c: Likewise.
32385 * math/w_jnl.c: Likewise.
32386 * math/w_lgamma.c: Likewise.
32387 * math/w_lgamma_r.c: Likewise.
32388 * math/w_lgammaf.c: Likewise.
32389 * math/w_lgammaf_r.c: Likewise.
32390 * math/w_lgammal.c: Likewise.
32391 * math/w_lgammal_r.c: Likewise.
32392 * math/w_log.c: Likewise.
32393 * math/w_log10.c: Likewise.
32394 * math/w_log10f.c: Likewise.
32395 * math/w_log10l.c: Likewise.
32396 * math/w_log2.c: Likewise.
32397 * math/w_log2f.c: Likewise.
32398 * math/w_log2l.c: Likewise.
32399 * math/w_logf.c: Likewise.
32400 * math/w_logl.c: Likewise.
32401 * math/w_pow.c: Likewise.
32402 * math/w_powf.c: Likewise.
32403 * math/w_powl.c: Likewise.
32404 * math/w_remainder.c: Likewise.
32405 * math/w_remainderf.c: Likewise.
32406 * math/w_remainderl.c: Likewise.
32407 * math/w_scalb.c: Likewise.
32408 * math/w_scalbf.c: Likewise.
32409 * math/w_scalbl.c: Likewise.
32410 * math/w_sinh.c: Likewise.
32411 * math/w_sinhf.c: Likewise.
32412 * math/w_sinhl.c: Likewise.
32413 * math/w_sqrt.c: Likewise.
32414 * math/w_sqrtf.c: Likewise.
32415 * math/w_sqrtl.c: Likewise.
32416 * math/w_tgamma.c: Likewise.
32417 * math/w_tgammaf.c: Likewise.
32418 * math/w_tgammal.c: Likewise.
32419
6a621eb7
UD
32420 * po/ja.po: Update from translation team.
32421
bf582445
AJ
324222011-09-29 Andreas Jaeger <aj@suse.de>
32423
f9efbf3a
AJ
32424 [BZ #13179]
32425 * sunrpc/netname.c (netname2host): Fix logic.
32426
bf582445
AJ
32427 [BZ #6779]
32428 [BZ #6783]
32429 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
32430 correctly.
32431 * math/w_remainder.c (__remainder): Likewise.
32432 * math/w_remainderf.c (__remainderf): Likewise.
32433 * math/libm-test.inc (remainder_test): Add test cases.
32434
48693bea
AK
324352011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32436
32437 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
32438 sdiv_qrnnd.
32439
42622229
LD
324402011-10-07 Ulrich Drepper <drepper@gmail.com>
32441
32442 * string/test-memcmp.c: Avoid unncessary #defines.
32443 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32444
093ecf92
LD
324452011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32446
32447 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
32448 Use new sse2 version for core i3 - i7 as it's faster
32449 than sse42 version.
32450 (bit_Prefer_PMINUB_for_stringop): New.
32451 * sysdeps/x86_64/rawmemchr.S: Update.
32452 Replace with faster SSE2 version.
32453 * sysdeps/x86_64/memrchr.S: New file.
32454 * sysdeps/x86_64/memchr.S: Update.
32455 Replace with faster SSE2 version.
32456
fde56e5c
MP
324572011-09-12 Marek Polacek <mpolacek@redhat.com>
32458
32459 * elf/dl-load.c (lose): Add cast to avoid warning.
32460
21fd49a9
UD
324612011-10-07 Ulrich Drepper <drepper@gmail.com>
32462
5a06e643
UD
32463 * po/ca.po: Update from translation team.
32464
684ae515
UD
32465 * inet/getnetgrent_r.c: Hook up nscd.
32466 * nscd/Makefile (routines): Add nscd_netgroup.
32467 (nscd-modules): Add netgroupcache.
32468 (CFLAGS-netgroupcache.c): Define.
32469 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
32470 (cache_search): Add const to second parameter.
32471 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
32472 INNETGR.
32473 (dbs): Add netgrdb entry.
32474 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
32475 (verify_persistent_db): Handle netgrdb.
32476 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
32477 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
32478 GETFDNETGR.
32479 (netgroup_response_header): Define.
32480 (innetgroup_response_header): Define.
32481 (datahead): Add netgroup_response_header and innetgroup_response_header
32482 elements.
32483 * nscd/nscd.conf: Add entries for netgroup cache.
32484 * nscd/nscd.h (dbtype): Add netgrdb.
32485 (_PATH_NSCD_NETGROUP_DB): Define.
32486 (netgroup_iov_disabled): Declare.
32487 (xmalloc, xcalloc, xrealloc): Move declarations here.
32488 (cache_search): Adjust prototype.
32489 Add netgroup-related prototypes.
32490 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
32491 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
32492 (__nscd_innetgr): Declare.
32493 * nscd/selinux.c (perms): Use access_vector_t as element type and
32494 add netgroup-related initializers.
32495 * nscd/netgroupcache.c: New file.
32496 * nscd/nscd_netgroup.c: New file.
32497 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
32498 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
32499 For four parameters use innetgr.
32500 * nss/nss_files/files-init.c: Add definition and callback for netgr.
32501 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
32502 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
32503 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
32504
21fd49a9
UD
32505 * nscd/connections.c (register_traced_file): Don't register file
32506 for disabled databases.
32507
054c0457
UD
325082011-10-06 Ulrich Drepper <drepper@gmail.com>
32509
32b63198
UD
32510 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
32511
054c0457
UD
32512 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
32513 from tree and freeing node.
32514
64031225
JO
325152011-09-25 Jiri Olsa <jolsa@redhat.com>
32516
32517 * nss/nsswitch.c (__nss_database_lookup): Handle
32518 nss_parse_service_list out of memory case.
32519
0490345c
JO
325202011-09-15 Jiri Olsa <jolsa@redhat.com>
32521
32522 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
32523 out of memory case.
32524
3a62d00d
AS
325252011-10-04 Andreas Schwab <schwab@redhat.com>
32526
32527 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
32528 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
32529 pass it down.
32530 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
32531 elf_machine_rela, elf_machine_lazy_rel.
32532 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
32533 (ELF_DYNAMIC_DO_REL): Likewise.
32534 (ELF_DYNAMIC_DO_RELA): Likewise.
32535 (ELF_DYNAMIC_RELOCATE): Likewise.
32536 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
32537 to ELF_DYNAMIC_DO_REL.
32538 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
32539 (dl_main): In trace mode always set __RTLD_NOIFUNC.
32540 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
32541 elf_machine_rela.
32542 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
32543 skip_ifunc, don't call ifunc function if non-zero.
32544 (elf_machine_rela): Likewise.
32545 (elf_machine_lazy_rel): Likewise.
32546 (elf_machine_lazy_rela): Likewise.
32547 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
32548 (elf_machine_lazy_rel): Likewise.
32549 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
32550 Likewise.
32551 (elf_machine_lazy_rel): Likewise.
32552 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32553 Likewise.
32554 (elf_machine_lazy_rel): Likewise.
32555 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
32556 (elf_machine_lazy_rel): Likewise.
32557 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
32558 (elf_machine_lazy_rel): Likewise.
32559 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32560 (elf_machine_lazy_rel): Likewise.
32561 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
32562 (elf_machine_lazy_rel): Likewise.
32563 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
32564 (elf_machine_lazy_rel): Likewise.
32565 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32566 (elf_machine_lazy_rel): Likewise.
32567
68577918
UD
325682011-09-28 Ulrich Drepper <drepper@gmail.com>
32569
32570 * nss/nss_files/files-init.c (_nss_files_init): Use static
32571 initialization for all the *_traced_file variables.
32572
68822d74
AS
325732011-09-28 Andreas Schwab <schwab@redhat.com>
32574
32575 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32576
2056100b
RM
325772011-09-27 Roland McGrath <roland@hack.frob.com>
32578
32579 [BZ #13226]
32580 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
32581
32c76b63
AS
325822011-09-27 Andreas Schwab <schwab@redhat.com>
32583
32584 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32585 Reread the line before reparsing it.
32586
bf972c9d
AS
325872011-09-26 Andreas Schwab <schwab@redhat.com>
32588
32589 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
32590
e057a1b5
JM
325912011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
32592 Maxim Kuvyrkov <maxim@codesourcery.com>
32593 Joseph Myers <joseph@codesourcery.com>
32594
32595 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
32596 if needed for __stack_chk_guard.
32597
bc7e1c36
RM
325982011-09-19 Roland McGrath <roland@hack.frob.com>
32599
ecb1482f
RM
32600 * sysdeps/posix/spawni.c (script_execute): Always define it.
32601 It will be optimized away if unused.
32602 (maybe_script_execute): New function.
32603 (__spawni): Call it.
32604
bc7e1c36
RM
32605 * Makerules: Don't include tls.make.
32606 (config-tls): Always set to thread.
32607 * tls.make.c: File removed.
32608
1c3b002b
MF
326092011-09-19 Mike Frysinger <vapier@gentoo.org>
32610
32611 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
32612 * config.make.in (CPPFLAGS-config): New substituted variable.
32613
2840865d
UD
326142011-09-15 Ulrich Drepper <drepper@gmail.com>
32615
88738eb6
UD
32616 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
32617
cbf645a6 32618 [BZ #13192]
2840865d
UD
32619 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
32620 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
32621
b402e91a
RM
326222011-09-15 Roland McGrath <roland@hack.frob.com>
32623
32624 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
32625 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
32626 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32627 (CALL_FAIL): Likewise.
32628 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
32629 (CALL_FAIL): Macro removed.
32630 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
32631
4c1a1f71
UD
326322011-09-15 Ulrich Drepper <drepper@gmail.com>
32633
32634 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
32635 for __FINITE_MATH_ONLY__ == 1.
32636
edc121be
AS
326372011-09-15 Andreas Schwab <schwab@redhat.com>
32638
32639 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
32640 __ieee754_sqrt instead of sqrt.
32641 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
32642 __ieee754_sqrtf instead of sqrtf.
32643 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
32644 __floorf instead of floorf.
32645 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
32646 __floorf, __truncf instead of floorf, truncf.
32647
cd205654
UD
326482011-09-14 Ulrich Drepper <drepper@gmail.com>
32649
ee4d0315
UD
32650 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
32651
cd205654
UD
32652 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
32653 __extern_always_inline.
32654 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
32655 32-bit.
32656
48b67d71
AS
326572011-09-14 Andreas Schwab <schwab@redhat.com>
32658
32659 * elf/rtld.c (dl_main): Also relocate in dependency order when
32660 doing symbol dependency testing.
32661
1ae12c75
AS
326622011-09-13 Andreas Schwab <schwab@linux-m68k.org>
32663
32664 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32665 Always define `refsym'.
32666
995a80df
AS
326672011-09-13 Andreas Schwab <schwab@redhat.com>
32668
e529793b
AS
32669 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
32670 (__FD_ELT): Renamed from __FDELT.
32671 * misc/bits/select2.h (__FD_ELT): Likewise.
32672 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
32673 __FD_MASK instead of __FDELT, __FDMASK.
32674 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32675 Likewise.
32676 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32677 Likewise.
32678
52d4fef8
AS
32679 * elf/Makefile (gen-ldd): Fix pattern.
32680
995a80df
AS
32681 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
32682 (init_tls): Likewise.
32683
8682f8b0
UD
326842011-09-12 Ulrich Drepper <drepper@gmail.com>
32685
32686 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
32687
de82006d
AS
326882011-09-12 Andreas Schwab <schwab@redhat.com>
32689
a7c8e6a1
AS
32690 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
32691 `struct cmsghdr *' instead of `void *'.
32692 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
32693 Likewise.
32694
0f31fe77
AS
326952011-09-11 Andreas Schwab <schwab@linux-m68k.org>
32696
32697 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
32698 if non-absolute.
32699 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
32700 ldd_rewrite_script.
0f31fe77 32701
32b4c839
UD
327022011-09-11 Ulrich Drepper <drepper@gmail.com>
32703
83cd1420
UD
32704 * configure.in: Remove --with-tls option.
32705 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
32706 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
32707 out in case it is missing.
32708 * sysdeps/ia64/elf/configure.in: Likewise.
32709 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
32710 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
32711 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
32712 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
32713 * sysdeps/sh/elf/configure.in: Likewise.
32714 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
32715 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
32716 * sysdeps/x86_64/elf/configure.in: Likewise.
32717 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
32718 * sysdeps/mach/hurd/tls.h: Likewise.
32719
633f745d
UD
32720 [BZ #13067]
32721 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
32722
f318beb8
UD
32723 [BZ #13090]
32724 * configure.in: Fix use of AC_INIT.
32725
32b4c839
UD
32726 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
32727
3ce1f295
UD
327282011-09-10 Ulrich Drepper <drepper@gmail.com>
32729
bb016596
UD
32730 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
32731 __set_errno.
8e58439c
UD
32732 * malloc/hooks.c: Likewise.
32733
aebae053 32734 [BZ #11929]
02d46fc4
UD
32735 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
32736 variables statically.
32737 (narenas): Initialize.
32738 (list_lock): Initialize.
bb016596
UD
32739 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
32740 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
32741 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
32742 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
32743 Add initializers to main_arena and mp_.
32744 (malloc_state): Remove pagesize member. Change all users to use
32745 GLRO(dl_pagesize).
32746
32747 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
32748 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
32749 is always initialized.
32750
22a89187
UD
32751 * malloc/malloc.c: Removed unused configurations and dead code.
32752 * malloc/arena.c: Likewise.
32753 * malloc/hooks.c: Likewise.
02d46fc4 32754 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 32755
d063d164
UD
32756 * include/tls.h: Removed. USE___THREAD must always be defined.
32757 * bits/libc-tsd.h: Don't handle !USE___THREAD.
32758 * elf/dl-libc.c: Likewise.
32759 * elf/dl-tsd.c: Likewise.
32760 * include/errno.h: Likewise.
32761 * include/netdb.h: Likewise.
32762 * include/resolv.h: Likewise.
32763 * inet/herrno-loc.c: Likewise.
32764 * inet/herrno.c: Likewise.
32765 * malloc/arena.c: Likewise.
32766 * malloc/hooks.c: Likewise.
32767 * malloc/malloc.c: Likewise.
32768 * resolv/res-state.c: Likewise.
32769 * resolv/res_libc.c: Likewise.
32770 * sysdeps/i386/dl-machine.h: Likewise.
32771 * sysdeps/ia64/dl-machine.h: Likewise.
32772 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
32773 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32774 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
32775 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
32776 * sysdeps/sh/dl-machine.h: Likewise.
32777 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32778 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32779 * sysdeps/unix/i386/sysdep.S: Likewise.
32780 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32781 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
32782 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
32783 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32784 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
32785 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32786 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32787 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32788 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32789 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32790 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32791 * sysdeps/x86_64/dl-machine.h: Likewise.
32792 * tls.make.c: Likewise.
32793
3ce1f295
UD
32794 * configure.in: Remove --with-__thread option. Make tests for
32795 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
32796 tls_model attribute fail if no support is available. Remove
32797 USE_IN_LIBIO.
32798 * Makeconfig: Adjust for dropped configure option. All features are
32799 now mandatory.
32800 * Makerules: Likewise.
32801 * Versions.def: Likewise.
32802 * argp/argp-fmtstream.c: Likewise.
32803 * argp/argp-fmtstream.h: Likewise.
32804 * argp/argp-help.c: Likewise.
32805 * assert/assert.c: Likewise.
32806 * config.h.in: Likewise.
32807 * config.make.in: Likewise.
32808 * configure: Likewise.
32809 * configure.in: Likewise.
32810 * csu/Versions: Likewise.
32811 * csu/init.c: Likewise.
32812 * elf/tst-audit2.c: Likewise.
32813 * elf/tst-tls10.c: Likewise.
32814 * elf/tst-tls10.h: Likewise.
32815 * elf/tst-tls11.c: Likewise.
32816 * elf/tst-tls12.c: Likewise.
32817 * elf/tst-tls14.c: Likewise.
32818 * elf/tst-tlsmod11.c: Likewise.
32819 * elf/tst-tlsmod12.c: Likewise.
32820 * elf/tst-tlsmod13.c: Likewise.
32821 * elf/tst-tlsmod13a.c: Likewise.
32822 * elf/tst-tlsmod14a.c: Likewise.
32823 * elf/tst-tlsmod15b.c: Likewise.
32824 * elf/tst-tlsmod16a.c: Likewise.
32825 * elf/tst-tlsmod16b.c: Likewise.
32826 * elf/tst-tlsmod7.c: Likewise.
32827 * elf/tst-tlsmod8.c: Likewise.
32828 * elf/tst-tlsmod9.c: Likewise.
32829 * gmon/gmon.c: Likewise.
32830 * grp/fgetgrent_r.c: Likewise.
32831 * grp/putgrent.c: Likewise.
32832 * hurd/fopenport.c: Likewise.
32833 * include/libc-symbols.h: Likewise.
32834 * include/tls.h: Likewise.
32835 * intl/gettextP.h: Likewise.
32836 * intl/loadinfo.h: Likewise.
32837 * locale/global-locale.c: Likewise.
32838 * locale/localeinfo.h: Likewise.
32839 * mach/devstream.c: Likewise.
32840 * malloc/arena.c: Likewise.
32841 * malloc/set-freeres.c: Likewise.
32842 * misc/err.c: Likewise.
32843 * misc/getttyent.c: Likewise.
32844 * misc/mntent_r.c: Likewise.
32845 * posix/getopt.c: Likewise.
32846 * posix/wordexp.c: Likewise.
32847 * pwd/fgetpwent_r.c: Likewise.
32848 * resolv/Versions: Likewise.
32849 * resolv/res_hconf.c: Likewise.
32850 * shadow/fgetspent_r.c: Likewise.
32851 * shadow/putspent.c: Likewise.
32852 * stdio-common/printf_fphex.c: Likewise.
32853 * stdio-common/tmpfile.c: Likewise.
32854 * stdlib/abort.c: Likewise.
32855 * stdlib/fmtmsg.c: Likewise.
32856 * sunrpc/auth_unix.c: Likewise.
32857 * sunrpc/clnt_perr.c: Likewise.
32858 * sunrpc/clnt_tcp.c: Likewise.
32859 * sunrpc/clnt_udp.c: Likewise.
32860 * sunrpc/clnt_unix.c: Likewise.
32861 * sunrpc/openchild.c: Likewise.
32862 * sunrpc/svc_simple.c: Likewise.
32863 * sunrpc/svc_tcp.c: Likewise.
32864 * sunrpc/svc_udp.c: Likewise.
32865 * sunrpc/svc_unix.c: Likewise.
32866 * sunrpc/xdr.c: Likewise.
32867 * sunrpc/xdr_array.c: Likewise.
32868 * sunrpc/xdr_rec.c: Likewise.
32869 * sunrpc/xdr_ref.c: Likewise.
32870 * sunrpc/xdr_stdio.c: Likewise.
32871
1248c1c4
PB
328722011-09-09 Ulrich Drepper <drepper@gmail.com>
32873
32874 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32875
328762011-07-03 Andreas Jaeger <aj@suse.de>
32877
32878 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
32879 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
32880 regenerate with gen-libm-tests.pl.
32881
328822010-05-12 Petr Baudis <pasky@suse.cz>
32883
32884 [BZ #11589]
32885 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
32886 around j0() zero points by switching to j1().
32887 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32888 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32889 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32890 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32891
f22e1074
UD
328922011-09-09 Ulrich Drepper <drepper@gmail.com>
32893
f19009c1
UD
32894 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
32895 instead of 0.
32896 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 32897 instead of 0.
f19009c1
UD
32898 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32899 Patch in part by Pavel Roskin <proski@gnu.org>.
32900
3f8cc204
UD
32901 [BZ #13138]
32902 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
32903 realloc.
32904 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
32905 Free memory block if necessary.
32906
f22e1074
UD
32907 [BZ #12847]
32908 * libio/genops.c (INTDEF): For string streams the _lock pointer can
32909 be NULL. Don't lock in this case.
32910
0a2349f9
RM
329112011-09-09 Roland McGrath <roland@hack.frob.com>
32912
32913 * elf/elf.h (ELFOSABI_GNU): New macro.
32914 (ELFOSABI_LINUX): Define to that.
32915
f3cdd467
DZ
329162011-07-29 Denis Zaitceff <zaitceff@gmail.com>
32917
32918 * string/strncat.c (strncat): Undef the symbol in case it has been
32919 defined in bits/string.h.
32920
74718d13
UD
329212011-09-09 Ulrich Drepper <drepper@gmail.com>
32922
633e9e0f
UD
32923 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
32924
0a2349f9 32925 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
32926 link map.
32927
f9924780
AJ
329282011-08-17 Andreas Jaeger <aj@suse.de>
32929
32930 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
32931
7f5517aa
PP
329322011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
32933 Ian Lance Taylor <iant@google.com>
32934
32935 * math/libm-test.inc (lround_test): New testcase.
32936 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
32937
762011fe
UD
329382011-09-08 Ulrich Drepper <drepper@gmail.com>
32939
92963737
UD
32940 * Makefile: Remove support for automatic cvs check-ins.
32941 * Makerules: Likewise.
32942 * config.make.in: Likewise.
32943 * configure.in: Likewise.
32944 * intl/Makefile: Likewise.
32945 * locale/Makefile: Likewise.
32946 * po/Makefile: Likewise.
32947 * posix/Makefile: Likewise.
32948 * sysdeps/gnu/Makefile: Likewise.
32949 * sysdeps/mach/hurd/Makefile: Likewise.
32950 * sysdeps/sparc/sparc32/Makefile: Likewise.
32951
b0727fd8
JS
32952 [BZ #13118]
32953 * posix/Makefile (bug-regex32-ENV): Define.
32954 Patch by John Stanley <jpsinthemix@verizon.net>.
32955
a0f33f99
UD
32956 * misc/Makefile (headers): Add bits/select2.h.
32957 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
32958 * misc/bits/select2.h: New file.
32959 * include/bits/select2.h: New file.
32960 * debug/Makefile (routines): Add fdelt_chk.
32961 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
32962 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
32963 FD_ISSET.
32964 * debug/fdelt_chk.c: New file.
32965
762011fe
UD
32966 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
32967 * wcsmbs/test-wmemcmp.c: Likewise.
32968 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 32969 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
32970
329712011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32972
32973 * string/Makefile (strop-tests): Add memcmp.
32974 * string/test-wmemcmp.c: New file.
32975 * string/test-memcmp.c: Add wmemcmp support.
32976
7f513ec8
RM
329772011-09-08 Roland McGrath <roland@hack.frob.com>
32978
0442afb4
RM
32979 [BZ #13153]
32980 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
32981 2011-07-19 change.
32982
7f513ec8
RM
32983 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
32984 garbage value in a __mach_port_mod_refs call in the cases of the
32985 task-self and thread-self ports.
32986
a12b2239
ST
329872011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32988
32989 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
32990
610f9ab4
AS
329912011-09-08 Andreas Schwab <schwab@redhat.com>
32992
7f513ec8 32993 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 32994
48882a1a
LD
329952011-09-07 Ulrich Drepper <drepper@gmail.com>
32996
b49865be
UD
32997 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
32998
fdc86bc9
UD
32999 * elf/dl-libc.c (dlerror_run): Pass back error code from
33000 dl_catch_error.
33001
c966526a
UD
33002 [BZ #13123]
33003 * elf/dl-load.c (lose): Free l_origin if it is valid.
33004
48882a1a
LD
33005 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
33006 names.
33007 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
33008 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33009 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33010 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33011 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
33012 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
33013
77a2a8b4
AZ
330142011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33015
33016 * sysdeps/powerpc/fpu/e_hypot.c: New file.
33017 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
33018 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
33019 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
33020 * sysdeps/powerpc/fpu/k_cosf.c: New file.
33021 * sysdeps/powerpc/fpu/k_sinf.c: New file.
33022 * sysdeps/powerpc/fpu/s_cosf.c: New file.
33023 * sysdeps/powerpc/fpu/s_sinf.c: New file.
33024 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
33025 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
33026
24f579d8
AM
330272011-08-15 Alan Modra <amodra@gmail.com>
33028
33029 [BZ #13092]
33030 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
33031 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
33032 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
33033 ppc_mcount to static-only-routines.
33034 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
33035 __mcount_internal.
33036 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
33037 __mcount_internal with usual JUMPTARGET. Remove useless nop.
33038
3d4837df
UD
330392011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
33040
33041 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
33042 for finite and infinity parameters.
33043
22700377
WS
330442011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
33045
33046 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
33047 and add nop instructions for throughput optimization.
33048 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33049
5025581e
WS
330502011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
33051
33052 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
33053 aligned copy for power7 with vector-scalar instructions.
33054 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
33055
08a300c9
L
330562011-07-24 H.J. Lu <hongjiu.lu@intel.com>
33057
33058 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
33059 AVX check.
33060
59178ef9
AS
330612011-09-07 Andreas Schwab <schwab@redhat.com>
33062
33063 [BZ #13144]
33064 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
33065 last change.
33066
e38ba7ab
UD
330672011-09-07 Ulrich Drepper <drepper@gmail.com>
33068
33069 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33070 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
33071 syscall wrapper around clock_gettime in __vdso_clock_gettime.
33072 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
33073 clock_gettime.
33074
d53a73ac
UD
330752011-09-06 Ulrich Drepper <drepper@gmail.com>
33076
fc8bffcc
UD
33077 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
33078 Forgot to demangle the pointer.
33079
ceaa0c5d
UD
33080 * sysdeps/i386/sysdep.h: Define atom_text_section.
33081 * sysdeps/x86_64/sysdep.h: Likewise.
33082 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
33083 section with atom_text_section.
33084 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33085 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33086 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
33087 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33088 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
33089
a77d3c17
UD
33090 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
33091 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
33092 already be defined. Change to take two parameters and don't assign
33093 result to variable. Adjust all users.
33094 Define INTERNAL_GETTIME if not already defined.
33095 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
33096 call.
33097 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
33098 HAVE_CLOCK_GETTIME_VSYSCALL.
33099 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
33100
d53a73ac
UD
33101 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
33102 gettimeofday vsyscall, just use time.
33103
a8f84144
AS
331042011-09-06 Andreas Schwab <schwab@redhat.com>
33105
33106 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
33107 <errno.h>.
33108
ef606249
UD
331092011-09-06 Ulrich Drepper <drepper@gmail.com>
33110
33111 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
33112 syscall on x86-64.
33113 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
33114 syscall.
33115 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
33116 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
33117 syscall if possible.
33118
6585cb60
UD
331192011-09-05 Ulrich Drepper <drepper@gmail.com>
33120
33121 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
33122 e_ident. Don't pass to find_mapsXX.
33123 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
33124
a5f524e4
LD
331252011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33126
33127 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33128 strchr-sse2-no-bsf strrchr-sse2-no-bsf
33129 * sysdeps/x86_64/multiarch/strchr.S: Update.
33130 Check bit_slow_BSF bit.
33131 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33132 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
33133 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
33134
554881ef
UD
331352011-09-05 Ulrich Drepper <drepper@gmail.com>
33136
d96de963
UD
33137 [BZ #13134]
33138 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
33139 before glibc 2.15.
33140 (tryshell): Define.
33141 (__spawni): Change last parameter to be flag. Test
33142 SPAWN_XFLAGS_USE_PATH flag to use path or not.
33143 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
33144 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
33145 * posix/spawni.c: Likewise.
33146 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
33147 * posix/spawnp.c: Likewise. Change normal version to use
33148 SPAWN_XFLAGS_USE_PATH.
33149 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
33150 SPAWN_XFLAGS_TRY_SHELL.
33151
d48e5868
UD
33152 [BZ #13150]
33153 * posix/glob.h: Remove gcc 1.x support.
33154
554881ef
UD
33155 [BZ #13068]
33156 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
33157
693fb948
LD
331582011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33159
33160 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33161 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
33162 strrchr-sse2-bsf
33163 * sysdeps/i386/i686/multiarch/strchr.S: New file.
33164 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
33165 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
33166 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
33167 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
33168 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
33169
1b48c537
UD
331702011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33171
49d42c37
UD
33172 * sysdeps/x86_64/wcscmp.S: New file.
33173
1b48c537
UD
33174 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
33175 wcscmp-c wcscmp-sse2
33176 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
33177 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
33178 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
33179 * wcsmbs/wcscmp.c: Allow renaming.
33180
15c95c5d
DM
331812011-09-05 David S. Miller <davem@davemloft.net>
33182
33183 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
33184 stack slot, rather than the struct return pointer slot.
33185 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
33186 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
33187 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
33188 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
33189
2f0ad8f3
UD
331902011-09-05 Ulrich Drepper <drepper@gmail.com>
33191
d88ae418
UD
33192 * po/ja.po: Update from translation team.
33193
2f0ad8f3
UD
33194 [BZ #13144]
33195 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
33196 kernel in 64-bit binaries.
33197
5f4318d1
DM
331982011-09-01 David S. Miller <davem@davemloft.net>
33199
33200 * elf/elf.h (HWCAP_SPARC_*): Move to..
33201 * sysdeps/sparc/sysdep.h: this new file and add new values.
33202 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
33203 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
33204 _DL_HWCAP_COUNT to 24.
33205 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33206 entries.
33207 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
33208 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
33209 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
33210 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
33211 instead of magic constants.
33212 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33213
3ba57516
DM
332142011-08-31 David S. Miller <davem@davemloft.net>
33215
33216 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
33217 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
33218 Reimplement to do errno handling inline.
33219 (SYSCALL_ERROR_HANDLER): New macro.
33220 (__SYSCALL_STRING): Do not do errno handling in asm.
33221 (__CLONE_SYSCALL_STRING): Delete.
33222 (__INTERNAL_SYSCALL_STRING): Delete.
33223 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
33224 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
33225 (PSEUDO): Reimplement to do errno handling inline.
33226 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
33227 (SYSCALL_ERROR_HANDLER): New macro.
33228 (__SYSCALL_STRING): Do not do errno handling in asm.
33229 (__CLONE_SYSCALL_STRING): Delete.
33230 (__INTERNAL_SYSCALL_STRING): Delete.
33231 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
33232 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
33233 i386.
33234 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
33235 (inline_syscall*): Add 'err' argument.
33236 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
33237 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
33238 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
33239 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
33240
33241 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
33242 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33243
2bc17433
AS
332442011-08-30 Andreas Schwab <schwab@redhat.com>
33245
33246 * elf/rtld.c (dl_main): Relocate objects in dependency order.
33247
fbeb5f4d
JO
332482011-08-29 Jiri Olsa <jolsa@redhat.com>
33249
33250 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
33251 directive.
33252
ad69cc26
DM
332532011-08-24 David S. Miller <davem@davemloft.net>
33254
33255 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
33256
39dd69df
AS
332572011-08-24 Andreas Schwab <schwab@redhat.com>
33258
33259 * elf/Makefile: Add rules to build and run unload8 test.
33260 * elf/unload8.c: New file.
33261 * elf/unload8mod1.c: New file.
33262 * elf/unload8mod1x.c: New file.
33263 * elf/unload8mod2.c: New file.
33264 * elf/unload8mod3.c: New file.
33265
33266 * elf/dl-close.c (_dl_close_worker): Reset private search list if
33267 it wasn't used.
33268
2c0b250a
DM
332692011-08-23 David S. Miller <davem@davemloft.net>
33270
33271 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
33272 subtract stack bias.
33273 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
33274 %sp not %fp in calculations.
33275 (_JMPBUF_UNWINDS_ADJ): Likewise.
33276
22044b48
DM
33277 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
33278 (aio_suspend): Call it to force an exception region around the
33279 AIO_MISC_WAIT() invocation.
33280
2cae4995
AS
332812011-08-23 Andreas Schwab <schwab@redhat.com>
33282
33283 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
33284 backslash.
33285
873a772e
AJ
332862011-07-04 Aurelien Jarno <aurelien@aurel32.net>
33287
33288 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
33289 protection macro.
33290 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
33291 and <dl-machine.h>.
33292 (Elf64_FuncDesc): Remove.
33293
25ad0df1
DM
332942011-08-22 David S. Miller <davem@davemloft.net>
33295
33296 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
33297 sigaltstack check, add missing cfi directives.
33298 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
33299 missing cfi directives, and sigaltstack handling.
33300
e888bcbe
AS
333012011-08-16 Andreas Schwab <schwab@redhat.com>
33302
33303 [BZ #11724]
33304 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
33305 object is seen twice.
33306 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33307
33308 * elf/Makefile (distribute): Add tst-initorder2.c.
33309 (tests): Add tst-initorder2.
33310 (modules-names): Add tst-initorder2a tst-initorder2b
33311 tst-initorder2c tst-initorder2d. Add rules to build them.
33312 ($(objpfx)tst-initorder2.out): New rule.
33313 * elf/tst-initorder2.c: New file.
33314 * elf/tst-initorder2.exp: New file.
33315
87162f46
AS
333162011-08-22 Andreas Schwab <schwab@redhat.com>
33317
70538b7f
AS
33318 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
33319
f55ffe58
AS
33320 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
33321 dependencies back to end of function.
33322
87162f46
AS
33323 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33324 $(elfobjdir)/ld.so.
33325
91b392a4
UD
333262011-08-21 Ulrich Drepper <drepper@gmail.com>
33327
33328 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
33329 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
33330 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
33331 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
33332 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
33333 of __vdso_gettimeofday.
33334 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
33335 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
33336 attribute_hidden.
33337 (_libc_vdso_platform_setup): Remove initialization of
33338 __vdso_gettimeofday and __vdso_time.
33339
5c43483f
UD
333402011-08-20 Ulrich Drepper <drepper@gmail.com>
33341
775a77e7
UD
33342 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
33343 and fgetc_unlocked.
33344 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
33345 getc_unlocked.
89f447ed 33346
49c74ba9
UD
33347 * elf/dl-open.c (add_to_global): Report additions to the global scope
33348 for LD_DEBUG=scopes.
33349 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 33350 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 33351
5c43483f
UD
33352 [BZ #13114]
33353 * stdio-common/Makefile (tests): Add bug24.
33354 * stdio-common/bug24.c: New file.
33355
a101b025
AJ
333562011-08-19 Andreas Jaeger <aj@suse.de>
33357
33358 [BZ #13114]
33359 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
33360 non-existant file when using close-on-exec mode.
33361
c88f1766
UD
333622011-08-20 Ulrich Drepper <drepper@gmail.com>
33363
0276a718
UD
33364 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
33365 the very first instruction.
33366
c88f1766
UD
33367 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
33368 the CFI state in the end.
33369 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
33370 inclusion of dl-trampoline.h.
33371 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
33372
51ccffa0
AS
333732011-08-19 Andreas Schwab <schwab@redhat.com>
33374
94d7165f
AS
33375 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
33376 expectations for long double.
33377
51ccffa0
AS
33378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
33379 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
33380
fd708658 333812011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
33382
33383 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
33384 artificual limit depends upon the system page size.
33385
44f0a71e
UD
333862011-08-17 Ulrich Drepper <drepper@gmail.com>
33387
33388 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
33389 * resolv/Makefile: Define CFLAGS-libresolv.
33390
8de79a24
AS
333912011-08-17 Andreas Schwab <schwab@redhat.com>
33392
33393 * nss/makedb.c (compute_tables): Make variables used in nested
33394 function static.
33395
27724598
UD
333962011-08-17 Ulrich Drepper <drepper@gmail.com>
33397
c5305d88
UD
33398 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
33399 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
33400 if buffer was too small.
33401
27724598
UD
33402 * elf/pldd.c (main): Attach to all threads in the process.
33403 Rewrite /proc handling to use *at functions.
33404
076fe015
UD
334052011-08-16 Ulrich Drepper <drepper@gmail.com>
33406
174baab3
UD
33407 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
33408 specifies first scope to show.
33409 (dl_open_worker): Update callers. Move printing scope of new
33410 object to before the relocation.
44f0a71e 33411 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
33412 * sysdeps/generic/ldsodefs.h: Update declaration.
33413
076fe015
UD
33414 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
33415 string for the scope number.
33416
a60df2c3
UD
334172011-08-14 Ulrich Drepper <drepper@gmail.com>
33418
33419 * nscd/servicescache.c (cache_addserv): Make sure written is always
33420 initialized.
33421
5e4287d1
RM
334222011-08-14 Roland McGrath <roland@hack.frob.com>
33423
85ae0589
RM
33424 * sysdeps/i386/i486/bits/atomic.h
33425 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
33426 statement expression, so as to suppress "set but not used" warning.
33427 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
33428
69f63097
RM
33429 * string/strncat.c (STRNCAT): Use prototype definition.
33430
675456ef
RM
33431 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
33432 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
33433 -Iprograms here.
33434 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
33435 (localedef-modules): Add localedef.
33436 (locale-modules): Add locale.
33437
5e4287d1
RM
33438 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
33439 * elf/rtld.c (dl_main): Invert order of assignment in last change,
33440 to avoid a warning.
33441
9c96ff23
DM
334422011-08-14 David S. Miller <davem@davemloft.net>
33443
33444 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
33445 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
33446
f9ddf089
UD
334472011-08-13 Ulrich Drepper <drepper@gmail.com>
33448
44f0a71e 33449 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
33450 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
33451 * elf/rtld.c (dl_main): Set l_name of vDSO.
33452 Call _dl_show_scope when DL_DEBUG_SCOPES.
33453 (process_dl_debug): Recognize scopes flag and also set it for all.
33454 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
33455 Declare _dl_show_scope.
33456
1dc27704
UD
33457 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
33458 (do_dlopen): Pass caller_dlopen to dl_open.
33459 (__libc_dlopen_mode): Initialize caller_dlopen.
33460
f9ddf089
UD
33461 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
33462 of libc. Make tolower call locale-independent. Optimize a bit by
33463 using isdigit instead of isalnum.
33464 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
33465
9ac533d3
UD
334662011-08-12 Ulrich Drepper <drepper@gmail.com>
33467
33468 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
33469 was a dependency or dynamically loaded.
33470
89edf2e9
UD
334712011-08-11 Ulrich Drepper <drepper@gmail.com>
33472
8e999d29
UD
33473 * intl/l10nflist.c: Allow architecture-specific pop function.
33474 * sysdeps/x86_64/l10nflist.c: New file.
33475
89edf2e9
UD
33476 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
33477 classification.
33478
14d96785
AS
334792011-08-10 Andreas Schwab <schwab@redhat.com>
33480
33481 * include/dirent.h: Add libc_hidden_proto for scandirat and
33482 scandirat64. Don't declare __scandirat64.
33483 * dirent/scandirat.c: Add libc_hidden_def.
33484 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
33485 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
33486
6761ac04
DM
334872011-08-10 David S. Miller <davem@davemloft.net>
33488
33489 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
33490 enum.
33491 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33492 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33493 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33494
c55fbd1e
UD
334952011-08-09 Ulrich Drepper <drepper@gmail.com>
33496
33497 * Versions.def [libc]: Add GLIBC_2.15.
33498 * dirent/Makefile (routines): Add scandirat and scandirat64.
33499 * dirent/Versions [libc]: Export scandirat and scandirat64 for
33500 GLIBC_2.15.
33501 * dirent/dirent.h: Declare scandirat and scandirat64.
33502 * dirent/scandirat.c: New file.
33503 * dirent/scandirat64.c: New file.
33504 * sysdeps/wordsize-64/scandirat.c: New file.
33505 * sysdeps/wordsize-64/scandirat64.c: New file.
33506 * dirent/opendir.c: Define opendirat.
33507 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
33508 using scandirat.
33509 * dirent/scandir64.c: Adjust for scandir.c change.
33510 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
33511 __scandirat64, and __scandir_cancel_handler.
33512 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
33513 additional parameter and use openat instead of open (outside of ld.so).
33514 Add new __opendir as wrapper around __opendirat.
33515 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
33516 here without requiring old scandirat implementation.
33517
879165f2
UD
335182011-08-08 Ulrich Drepper <drepper@gmail.com>
33519
33520 * dirent/scandir.c (cancel_handler): Renamed to
33521 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
33522 defined. Adjust users.
33523 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
33524 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
33525
cb7e923b
UD
335262011-08-04 Ulrich Drepper <drepper@gmail.com>
33527
16292edd
UD
33528 * string/test-string.h (IMPL): Use __STRING to expand name and then
33529 stringify it.
33530
cb7e923b
UD
33531 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
33532 of cleanups.
33533
cff82933
LD
335342011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33535
33536 * string/Makefile: Update.
33537 (strop-tests): Append strncat.
33538 * string/test-wcscmp.c: New file.
33539 New comprehensive test for wcscmp.
33540 * string/test-strcmp.c: Update.
33541 (WIDE): New define.
33542
9be9bfcc
AS
335432011-07-22 Andreas Schwab <schwab@redhat.com>
33544
33545 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
33546 line.
33547
2e96f1c7
AS
335482011-07-26 Andreas Schwab <schwab@redhat.com>
33549
33550 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33551 encoding to ACE if AI_IDN.
33552
85188888
JJ
335532011-08-01 Jakub Jelinek <jakub@redhat.com>
33554
33555 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
33556 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
33557
5fa16e9b
LD
335582011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33559
33560 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
33561 Fix overflow bug in strncat.
33562 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
33563
33564 * string/test-strncat.c: Update.
33565 Add new tests for checking overflow bugs.
33566
335672011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33568
33569 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33570 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
33571 * sysdeps/i386/i686/multiarch/strcat.S: New file.
33572 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
33573 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
33574 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
33575 * sysdeps/i386/i686/multiarch/strncat.S: New file.
33576 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
33577 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
33578
33579 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
33580 (USE_AS_STRCAT): Define.
33581 Add strcat and strncat support.
33582 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33583
8c1a459f
AS
335842011-07-25 Andreas Schwab <schwab@redhat.com>
33585
33586 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
33587 __n bigger than INT_MAX+1.
33588 (__strncmp_g): Likewise.
33589
bba33c28
UD
335902011-07-23 Ulrich Drepper <drepper@gmail.com>
33591
798be72d
UD
33592 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
33593 * libio/stido.h: Likewise.
33594
8accd4dc
UD
33595 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
33596 (AF_NFC): Define.
33597 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
33598 (AF_NFC): Define.
33599
cbff0d96
UD
33600 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
33601 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33602 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33603 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33604 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33605
9191c04a
UD
33606 [BZ #13021]
33607 * scripts/test-installation.pl: Don't expect libnss_test1 to be
33608 installed.
33609
bba33c28
UD
33610 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
33611 typo.
33612 (_dl_x86_64_save_sse): Likewise.
33613
90f139dd
UD
336142011-07-22 Ulrich Drepper <drepper@gmail.com>
33615
1aae088a
UD
33616 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
33617 OSXSAVE.
33618 (_dl_x86_64_save_sse): Likewise.
33619
8e2045f5
UD
33620 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
33621
90f139dd
UD
33622 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
33623
1d002f25
AS
336242011-07-21 Andreas Schwab <schwab@redhat.com>
33625
33626 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
33627 change.
33628 (_dl_x86_64_save_sse): Use correct AVX check.
33629
21137f89
UD
336302011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33631
33632 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
33633 bug in strncpy/strncat.
33634 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
33635
a65c0b7a
UD
336362011-07-21 Ulrich Drepper <drepper@gmail.com>
33637
33638 * string/tester.c (test_strcat): Add tests for different alignments
33639 of source and destination.
33640 (test_strncat): Likewise.
33641
6986b98a
UD
336422011-07-20 Ulrich Drepper <drepper@gmail.com>
33643
90bb2039
UD
33644 [BZ #12852]
33645 * posix/glob.c (glob): Check passed in values before using them in
33646 expressions to avoid some overflows.
33647 (glob_in_dir): Likewise.
33648
5644ef54
UD
33649 [BZ #13007]
33650 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
33651 check for AVX enablement so that we don't crash with old kernels and
33652 new hardware.
33653 * elf/tst-audit4.c: Add same checks here.
33654 * elf/tst-audit6.c: Likewise.
33655
33656 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 33657
bfc9dc9b
AS
336582011-07-09 Andreas Schwab <schwab@linux-m68k.org>
33659
33660 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
33661
702e64bb
UD
336622011-07-20 Ulrich Drepper <drepper@gmail.com>
33663
33664 * po/cs.po: Update from translation team.
33665 * po/bg.po: Likewise.
33666
295e904f
MP
336672011-07-12 Marek Polacek <mpolacek@redhat.com>
33668
33669 * misc/sys/cdefs.h: Add support for const attribute.
33670 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
33671 to gnu_dev_{major,minor,makedev} functions.
33672
3ff94596
MP
336732011-07-20 Marek Polacek <mpolacek@redhat.com>
33674
33675 * intl/dcigettext.c (get_output_charset): Add missing bracket.
33676
28b59fca
AS
336772011-07-20 Andreas Schwab <schwab@redhat.com>
33678
33679 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
33680 strlen results.
33681
19df733e
AK
336822011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33683
33684 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
33685 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
33686 register in order to avoid conflicts with the soft frame pointer
33687 being held in r11 when necessary.
33688 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
33689 (INTERNAL_VSYSCALL_NCS): Likewise.
33690
c8835729
MP
336912011-07-14 Marek Polacek <mpolacek@redhat.com>
33692
33693 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
33694 * elf/dl-fini.c (_dl_fini): Adjust caller.
33695 * elf/dl-close.c (_dl_close_worker): Likewise.
33696 * sysdeps/generic/ldsodefs.h: Adjust declaration.
33697
b902330c
MP
336982011-07-15 Marek Polacek <mpolacek@redhat.com>
33699
8991e135
MP
33700 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
33701 "aux_cache->nlibs < 0".
33702
b902330c
MP
33703 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
33704 in the reload-count case.
33705
99710781
LD
337062011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33707
33708 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33709 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
33710 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
33711 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
33712 * sysdeps/x86_64/multiarch/strcat.S: New file.
33713 * sysdeps/x86_64/multiarch/strncat.S: New file.
33714 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
33715 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
33716 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
33717 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
33718 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
33719 (USE_AS_STRCAT): Define.
33720 Add strcat and strncat support.
33721 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33722 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33723 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
33724 * string/strncat.c: Update.
33725 (USE_AS_STRNCAT): Define.
33726 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33727 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
33728 and i7.
33729 * sysdeps/x86_64/multiarch/init-arch.h
33730 (bit_Prefer_PMINUB_for_stringop): New.
33731 (index_Prefer_PMINUB_for_stringop): Likewise.
33732 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
33733 bit_Prefer_PMINUB_for_stringop.
33734
7dc6bd90
UD
337352011-07-19 Ulrich Drepper <drepper@gmail.com>
33736
33737 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
33738 buffer64.
33739 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
33740 of casting of buffer.
33741 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
33742 buffer32 and buffer64.
33743 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
33744 writes instead of casting of buffer.
33745 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
33746 buffer32.
33747 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
33748 casting of buffer.
33749
e0e72284
AS
337502011-07-19 Andreas Schwab <schwab@redhat.com>
33751
33752 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
33753
feb1eb0b
UD
337542011-07-19 Ulrich Drepper <drepper@gmail.com>
33755
33756 * nscd/nscd.c (termination_handler): Don't do anything for a database
33757 if it has not yet been initialized.
33758
298711ff
UD
337592011-07-18 Ulrich Drepper <drepper@gmail.com>
33760
33761 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33762
337632011-07-15 Marek Polacek <mpolacek@redhat.com>
33764
33765 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33766
f9d68389
UD
337672011-07-18 Ulrich Drepper <drepper@gmail.com>
33768
33769 * po/nl.po: Update from translation team.
33770 * po/sv.po: Likewise.
33771
db290cf5
RM
337722011-07-16 Roland McGrath <roland@hack.frob.com>
33773
33774 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
33775 now disallowed by GCC.
5c550700 33776
fd5e21c7
RM
33777 * configure.in (use-default-link): Default to yes if a test -shared
33778 link meets our qualifications.
33779 * configure: Regenerated.
33780
5c550700
RM
33781 * config.make.in (output-format): New variable.
33782 * configure.in: Check for ld --print-output-format support.
33783 * configure: Regenerated.
33784 * Makerules ($(common-objpfx)format.lds)
33785 [$(output-format) != unknown]: Just use $(output-format),
33786 instead of the linker-script munging.
33787
9fa2c032
RM
337882011-07-14 Roland McGrath <roland@hack.frob.com>
33789
a6928d51
RM
33790 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
33791 of $(common-objpfx)shlib.lds.
33792 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
33793
661607b3
RM
33794 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
33795 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
33796
9fa2c032
RM
33797 * configure.in (-z relro check): Adjust test code to add a large
33798 writable data section after it.
33799 * configure: Regenerated.
33800
defe9061
RM
338012011-07-11 Roland McGrath <roland@hack.frob.com>
33802
33803 * configure.in (-z relro check): Fix test code to make the variable
33804 truly const.
33805 * configure: Regenerated.
33806
319b9ad4
UD
338072011-07-11 Ulrich Drepper <drepper@gmail.com>
33808
33809 * nscd/nscd.h (struct traced_file): Define.
33810 (struct database_dyn): Remove inotify_descr, reset_res, and filename
33811 elements. Add traced_files.
33812 (inotify_fd): Declare.
33813 (register_traced_file): Declare.
33814 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
33815 (inotify_fd): Export.
33816 (resolv_conf_descr): Remove.
33817 (nscd_init): Move inotify descriptor creation to main.
33818 Don't register files for notification here.
33819 (register_traced_file): New function.
33820 (invalidate_cache): Don't use reset_res to determine whether to call
33821 res_init, go through the list of registered files.
33822 (main_loop_poll): The inotify descriptors are now stored in the
33823 structures for the traced files.
33824 (main_loop_epoll): Likewise
33825 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
33826 to __nss_disable_nscd.
33827 * nscd/cache.c (prune_cache): There is no single inotify descriptor
33828 for a database anymore. Check the records for all the registered
33829 files instead.
33830 * nss/Makefile (libnss_files-routines): Add files-init.
33831 (libnss_db-routines): Add db-init.
33832 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
33833 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
33834 * nss/nss_db/db-init.c: New file.
33835 * nss/nss_files/files-init.c: New file.
33836 * nss/nsswitch.c (nss_load_library): New function. Broken out of
33837 __nss_lookup_function.
33838 (__nss_lookup_function): Call nss_load_library.
33839 (nss_load_all_libraries): New function.
33840 (__nss_disable_nscd): Take parameter with callback function for files
33841 to register. Set is_nscd. Load all the DSOs for the NSS modules
33842 used for the cached services.
33843 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
33844 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
33845 options for features to all the files in nscd.
33846
33847 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
33848
23bee3e8
RM
338492011-07-10 Roland McGrath <roland@hack.frob.com>
33850
33851 * csu/elf-init.c (__libc_csu_init): Comment typo.
33852
46a5b7f0
UD
338532011-07-09 Ulrich Drepper <drepper@gmail.com>
33854
33855 * po/pl.po: Update from translation team.
33856 * po/ja.po: Likewise.
33857 * po/ru.po: Likewise.
33858 * po/ko.po: Likewise.
33859 * po/fr.po: Likewise.
33860
d30cf5bb
RM
338612011-07-09 Roland McGrath <roland@hack.frob.com>
33862
113ddea4
RM
33863 * configure.in (.ctors/.dtors header and trailer check):
33864 Use an empirical test on a built program.
33865 * configure: Regenerated.
33866
574920b4
RM
33867 * configure.in (-z relro check): Use an empirical test on a built DSO.
33868 Detect, but do not require, on ia64.
33869 * configure: Regenerated.
33870
d30cf5bb
RM
33871 * configure.in (READELF): Find it with AC_CHECK_TOOL.
33872 Update tests that use readelf to use $READELF instead.
33873 * configure: Regenerated.
33874
8538fdb3
UD
338752011-07-08 Ulrich Drepper <drepper@gmail.com>
33876
33877 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
33878 if the result is not used.
33879
04d08991
AJ
338802011-07-05 Andreas Jaeger <aj@suse.de>
33881
33882 [BZ#9696]
33883 * stdlib/tst-strtod.c: Add testcase.
33884
de283087
AD
338852011-07-07 Ulrich Drepper <drepper@gmail.com>
33886
4e5f31c8 33887 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 33888 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
33889 The latter has a higher limit. Take additional parameter to pass to
33890 the new function.
33891 (__pathconf): Pass file to __statfs_link_max.
33892 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
33893 __statfs_link_max.
33894 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
33895 __statfs_link_max.
33896
de283087
AD
33897 [BZ #12868]
33898 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
33899 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33900 Handle Lustre.
33901 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
33902 (__statfs_filesize_max): Likewise.
33903 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
33904
c75fa153
AJ
339052011-07-05 Andreas Jaeger <aj@suse.de>
33906
33907 * resolv/res_comp.c (dn_skipname): Remove unused variable.
33908
1a544854
UD
339092011-07-06 Marek Polacek <mpolacek@redhat.com>
33910
33911 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
33912 `status' variable.
33913 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
33914 Likewise.
33915
6f0eec67
UD
339162011-07-04 H.J. Lu <hongjiu.lu@intel.com>
33917
33918 * Makefile (strop-tests): Add strncat.
33919 * string/test-strncat.c: New file.
33920
aae30307
UD
339212011-06-30 Marek Polacek <mpolacek@redhat.com>
33922
33923 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
33924
c0cfb5eb
UD
339252011-06-21 Andreas Jaeger <aj@suse.de>
33926
33927 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
33928 Copy rule from iconvdata/Makefile.
33929
01636b21
UD
339302011-07-06 Ulrich Drepper <drepper@gmail.com>
33931
33932 [BZ #12922]
33933 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
33934 but no long options are defined, just return 'W'.
33935
9895c8bc
UD
339362011-06-22 Marek Polacek <mpolacek@redhat.com>
33937
33938 [BZ #9696]
33939 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
33940
5d4cf042
UD
339412011-07-06 Ulrich Drepper <drepper@gmail.com>
33942
33943 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
33944 netgroups to read.
960e5535 33945 (innetgr): Likewise.
5d4cf042 33946
751eb97e
RM
339472011-07-05 Roland McGrath <roland@hack.frob.com>
33948
33949 * config.make.in (install_root): Default to $(DESTDIR).
33950
f15f1e45
UD
339512011-07-05 Ulrich Drepper <drepper@gmail.com>
33952
33953 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
33954
4e34ac6a
RM
339552011-07-02 Roland McGrath <roland@hack.frob.com>
33956
5e9b6af4
RM
33957 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
33958
84f9ea0f
RM
33959 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
33960 containing directory rather than embedding absolute directory names.
33961
ea5ee9f7
RM
33962 * scripts/check-local-headers.sh: Rewritten using awk.
33963 Match by word, not by line. Print error messages for matches.
33964 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
33965
1b74661a
RM
33966 * Makerules [shlib-lds-flags empty]:
33967 ($(common-objpfx)libc_pic.opts): New target.
33968 ($(common-objpfx)libc_pic.os.clean): New target.
33969 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
33970
33971 * config.make.in (OBJCOPY): New variable.
33972 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
33973 * configure: Regenerated.
33974
f781ef40
RM
33975 * config.make.in (use-default-link): New variable.
33976 * configure.in (use_default_link): Grok --with-default-link to set it.
33977 * configure: Regenerated.
33978 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
33979 (shlib-lds, shlib-lds-flags): Define to empty.
33980
2d4fa81e
RM
33981 * Makerules (shlib-lds): New variable.
33982 (shlib-lds-flags): New variable.
33983 (build-shlib, build-moduile, build-module-asneeded): Use it.
33984 ($(common-objpfx)libc.so): Use $(shlib-lds).
33985 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
33986 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
33987
31fffa6b
RM
33988 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
33989 DT_FLAGS/DT_FLAGS_1 with zero flags.
33990
4e34ac6a
RM
33991 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
33992 linker script munging.
33993
fcfc776b
UD
339942011-07-02 Ulrich Drepper <drepper@gmail.com>
33995
33996 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
33997 as 128-bit value.
33998 * crypt/sha512.c (sha512_process_block): Perform total addition using
33999 128-bit if possible.
34000 (__sha512_finish_ctx): Likewise.
34001 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
34002 as 64-bit value.
34003 * crypt/sha256.c (SWAP64): Define.
34004 (sha256_process_block): Perform total addition using 64-bit if
34005 possible.
34006 (__sha256_finish_ctx): Likewise.
34007
99231d9a
UD
340082011-07-01 Ulrich Drepper <drepper@gmail.com>
34009
34010 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
34011 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34012 * nscd/hstcache.c (cache_addhst): Likewise.
34013 * nscd/grpcache.c (cache_addgr): Likewise.
34014 * nscd/aicache.c (addhstaiX): Likewise
34015 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
34016
445b4a53
TK
340172011-07-01 Thorsten Kukuk <kukuk@suse.de>
34018
34019 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
34020 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34021 * nscd/hstcache.c (cache_addhst): Likewise.
34022 * nscd/grpcache.c (cache_addgr): Likewise.
34023 * nscd/aicache.c (addhstaiX): Likewise
34024
6d4d8e8e
AS
340252011-07-01 Andreas Schwab <schwab@redhat.com>
34026
34027 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
34028 domain only when needed.
34029
89f654c5
AS
340302011-06-30 Andreas Schwab <schwab@redhat.com>
34031
34032 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
34033 is always restored.
34034
cf3b23ff
UD
340352011-06-29 Ulrich Drepper <drepper@gmail.com>
34036
34037 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
34038 are re-adding the entry.
34039 * nscd/servicescache.c (cache_addserv): Likewise.
34040
751626f9
AJ
340412011-06-30 Aurelien Jarno <aurelien@aurel32.net>
34042
34043 * sysdeps/generic/dl-irel.h: fix protection against multiple
34044 inclusions.
34045 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
34046
9113ea1f
UD
340472011-06-28 Ulrich Drepper <drepper@gmail.com>
34048
5c0b8d90
UD
34049 [BZ #12935]
34050 * malloc/memusage.sh: Fix quoting in message.
34051 * debug/xtrace.sh: Likewise.
34052
9113ea1f
UD
34053 * configure.in: Remove support for --experimental-malloc option, make
34054 it the default.
34055 * config.make.in: Likewise.
34056 * malloc/Makefile: Likewise.
34057
a4172181
AS
340582011-06-27 Andreas Schwab <schwab@redhat.com>
34059
34060 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
34061 two-byte characters.
34062
78a7eee7
RM
340632011-06-27 Roland McGrath <roland@hack.frob.com>
34064
62bede13
RM
34065 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
34066 AC_CACHE_CHECK invocation.
34067 * configure: Regenerated.
34068
78a7eee7
RM
34069 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
34070
5ce33a62
UD
340712011-06-27 Ulrich Drepper <drepper@gmail.com>
34072
034807a9
UD
34073 [BZ #12350]
34074 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
34075 bit from old_res_options.
34076
4902da17
UD
34077 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
34078
5ce33a62
UD
34079 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
34080 value type for setfct.
34081
c2344f56
L
340822011-06-23 H.J. Lu <hongjiu.lu@intel.com>
34083
34084 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34085 __gettimeofday instead of gettimeofday.
34086
68468076
UD
340872011-06-26 Ulrich Drepper <drepper@gmail.com>
34088
34089 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
34090
acb0d739
L
340912011-06-24 H.J. Lu <hongjiu.lu@intel.com>
34092
34093 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
34094
34095 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
34096 info.
34097
8912479f
L
340982011-06-22 H.J. Lu <hongjiu.lu@intel.com>
34099
34100 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34101 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34102 strcpy-sse2-unaligned strncpy-sse2-unaligned
34103 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
34104 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
34105 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
34106 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
34107 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
34108 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
34109 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
34110 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
34111 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
34112 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
34113 (STRCPY): Support SSE2 and SSSE3 versions.
34114
d5495a11
UD
341152011-06-24 Ulrich Drepper <drepper@gmail.com>
34116
34117 [BZ #12874]
34118 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
34119 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
34120 kernels which artificially limit size of requests.
34121
0b1cbaae
L
341222011-06-22 H.J. Lu <hongjiu.lu@intel.com>
34123
34124 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34125 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34126 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
34127 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
34128 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
34129 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
34130 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
34131 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
34132 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
34133 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
34134 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
34135 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
34136 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
34137 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
34138 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
34139 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34140 Enable unaligned load optimization for Intel Core i3, i5 and i7
34141 processors.
34142 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
34143 Define.
34144 (index_Fast_Unaligned_Load): Define.
34145 (HAS_FAST_UNALIGNED_LOAD): Define.
34146
07f494a0
MP
341472011-06-23 Marek Polacek <mpolacek@redhat.com>
34148
34149 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
34150
fa3fc0fe
UD
341512011-06-22 Ulrich Drepper <drepper@gmail.com>
34152
34153 [BZ #12907]
34154 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
34155 until it is clear that the information is realy needed.
34156 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
34157
e12df166
AS
341582011-06-22 Andreas Schwab <schwab@redhat.com>
34159
34160 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
34161
852eb34d
UD
341622011-06-22 Ulrich Drepper <drepper@gmail.com>
34163
84e2a551
UD
34164 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34165 /sys/devices/system/cpu/online if it is usable.
34166
852eb34d
UD
34167 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
34168 reading the information from the /proc filesystem to once a second.
34169
6e502e19
UD
341702011-06-21 Andreas Jaeger <aj@suse.de>
34171
34172 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
34173 NULL after inclusion of kernel headers.
34174
75d39ff2
UD
341752011-06-21 Ulrich Drepper <drepper@gmail.com>
34176
51f9aa6a
UD
34177 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
34178 calls to internal_setent.
34179
c0244a9d
UD
34180 [BZ #12885]
34181 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
34182 addresses using gethostbyname4_r ignore IPv4 addresses.
34183
c5e3c2ae
UD
34184 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
34185 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
34186
75d39ff2
UD
34187 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
34188
42675c6f
DM
341892011-06-20 David S. Miller <davem@davemloft.net>
34190
34191 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
34192 inclusions.
34193 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
34194
34195 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
34196 (elf_irel): Use it.
34197 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
34198 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
34199 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
34200 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
34201 * sysdeps/x86_64/dl-irel.h: Likewise.
34202
34203 * elf/dl-runtime.c: Use elf_ifunc_invoke.
34204 * elf/dl-sym.c: Likewise.
34205
57912a71
UD
342062011-06-15 Ulrich Drepper <drepper@gmail.com>
34207
34208 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
34209 need to dereference resplen2.
34210
ee22793d
AS
342112011-06-14 Andreas Schwab <schwab@redhat.com>
34212
34213 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
34214
a9e836b0
UD
342152011-06-15 Ulrich Drepper <drepper@gmail.com>
34216
77fb9117
UD
34217 * Makeconfig: Define vardbdir and inst_vardbdir.
34218 * nss/Makefile: Add rules to install db-Makefile.
34219
40c1b22c
UD
34220 * nss/nss_db/db-XXX.c: Cleanup.
34221
9f2da732
UD
34222 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
34223 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
34224 GLIBC_PRIVATE.
34225 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
34226 * nss/makedb.c: Implement -g option to specify that value strings
34227 are generated and should not be added to table iterated over for
34228 get*ent calls.
34229 * nss/nss_db/db-initgroups.c: New file.
34230
82e9a1f7
UD
34231 * nss/getent.c: Add support for initgroups lookups through getgrouplist
34232 interface.
34233
c41af17e
UD
34234 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
34235 (internal_getgrouplist): Adjust to name change.
34236 Update use_initgroups_entry if this is not the first call.
34237 * nss/databases.def: Add initgroups entry.
34238
a9e836b0
UD
34239 * nss/makedb.c (compute_tables): Check result of multiple hash table
34240 sizes to minimize maximum chain length.
34241
2666d441
UD
342422011-06-14 Ulrich Drepper <drepper@gmail.com>
34243
34244 * Versions.def: Add entry for libnss_db.
34245 * shlib-versions: Likewise.
34246 * nss/Makefile: Add rules to build libnss_db.
34247 * nss/Versions: Add libnss_db information. Organize libnss_files
34248 entries better.
34249 * nss/db-Makefile: Add gshadow support. Change rules for the new
34250 makedb progra. Some minor improvements to generate smaller files.
34251 * nss/nss_db/nss_db.h: Move NSS database header data structures to
34252 here from...
34253 * nss/makedb.c: ...here.
34254 Improve database format to be smaller and require less memory at
34255 runtime.
34256 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
34257 db anymore.
34258 * nss/nss_db/db-netgrp.c: Likewise.
34259 * nss/nss_db/db-open.c: Likewise.
34260 * nss/nss_files/flies-XXX.x: Adjust comments.
34261 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
34262 * nss/nss_files/files-grp.c: Likewise.
34263 * nss/nss_files/files-hosts.c: Likewise.
34264 * nss/nss_files/files-network.c: Likewise.
34265 * nss/nss_files/files-proto.c: Likewise.
34266 * nss/nss_files/files-pwd.c: Likewise.
34267 * nss/nss_files/files-rpc.c: Likewise.
34268 * nss/nss_files/files-service.c: Likewise.
34269 * nss/nss_files/files-sgrp.c: Likewise.
34270 * nss/nss_files/files-spwd.c: Likewise.
34271 * nss/nss_db/db-alias.c: Removed.
34272 * nss/nss_db/dummy-db.h: Removed.
34273
9ee76b5a
UD
342742011-06-02 Ulrich Drepper <drepper@gmail.com>
34275
34276 * nss/makedb.c: Rewritten to not use database library.
34277 * nss/Makefile: Update to build new makedb program.
34278
c71ca1f8
AJ
342792011-06-14 Andreas Jaeger <aj@suse.de>
34280
34281 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
34282 memset declaration.
34283
3154bfb8
UD
342842011-06-10 Andreas Schwab <schwab@redhat.com>
34285
34286 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
34287 tmpbuf.
34288
b350afab
RM
342892011-06-10 Roland McGrath <roland@hack.frob.com>
34290
decd4e50
RM
34291 * Makerules (shlib.lds): Fail if the linker script comes out empty.
34292 * elf/Makefile ($(objpfx)ld.so): Likewise.
34293
5615eaf2
RM
34294 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
34295 Don't list ld.so twice in dependencies.
34296
34297 * posix/bug-regex31.c: Include <stdlib.h>.
34298
34299 * nscd/hstcache.c (cache_addhst): Remove unused variable.
34300
34301 * nis/nss_compat/compat-spwd.c
34302 (getspent_next_nss_netgr): Remove unused variable.
34303 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
34304
34305 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
34306 nonmembers" output to use the right array.
34307
34308 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
34309
34310 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
34311
34312 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
34313 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
34314 * catgets/gencat.c (read_input_file): Likewise.
34315 * locale/programs/locarchive.c (enlarge_archive): Likewise.
34316
34317 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
34318 variable definition inside #if's controlling its use.
34319
34320 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
34321
34322 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
34323
34324 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
34325
34326 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
34327 unreachable code.
34328
34329 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
34330
b68e08db
RM
34331 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
34332 * configure: Regenerated.
34333
b350afab
RM
34334 * Makerules: Revert last change.
34335 * elf/Makefile: Likewise.
34336
28368601
RM
343372011-06-09 Roland McGrath <roland@hack.frob.com>
34338
34339 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
34340 * elf/Makefile ($(objpfx)librtld.os): Likewise.
34341 (reloc-link): Likewise.
34342
11988f8f
UD
343432011-06-09 Ulrich Drepper <drepper@gmail.com>
34344
34345 * elf/Makefile: Add rules to build pldd.
34346 * elf/pldd.c: New file.
34347 * elf/pldd-xx.c: New file.
34348
e80fab37
UD
343492011-06-07 Ulrich Drepper <drepper@gmail.com>
34350
34351 * version.h: Update for 2.15 development version.
34352
9b849836
DM
343532011-06-07 David S. Miller <davem@davemloft.net>
34354
34355 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
34356 ifuncs.
34357 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
34358 elf_machine_lazy_rel): Likewise.
34359 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
34360 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
34361 elf_machine_lazy_rel): Likewise.
34362 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
34363 dl_hwcap via passed in argument.
34364 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
34365 Likewise.
34366
5a31b283
AK
343672011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34368
34369 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
34370
069e52f8
RM
343712011-06-06 Roland McGrath <roland@hack.frob.com>
34372
34373 [BZ #12849]
34374 * manual/fdl-1.1.texi: New file, verbatim from:
34375 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
34376 * manual/lgpl-2.1.texi: New file, verbatim from:
34377 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
34378 * manual/Makefile (licenses): New variable, list those new file names.
34379 (texis): Use it.
34380 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
34381
34382 * manual/fdl.texi: File removed.
34383 * manual/lesser.texi: File removed.
34384 * manual/libc.texinfo (Copying, Documentation License):
34385 Use new @include file names, put @appendix directive before @include.
34386
f16846a5
JJ
343872011-06-04 Jakub Jelinek <jakub@redhat.com>
34388
34389 [BZ #12841]
34390 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
34391 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
34392 (mq_open): Add __NTH.
34393
3d29045b
L
343942011-06-02 H.J. Lu <hongjiu.lu@intel.com>
34395
34396 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34397 Assume Intel Core i3/i5/i7 processor if AVX is available.
34398
8c297311
UD
343992011-05-31 Ulrich Drepper <drepper@gmail.com>
34400
34401 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34402 typo.
34403
c8fc0c91
UD
344042011-05-31 Andreas Schwab <schwab@redhat.com>
34405
34406 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
34407 memory. Use alloca_account. Fix memory leak when retrying.
34408
5b27a807
UD
344092011-05-31 Ulrich Drepper <drepper@gmail.com>
34410
356f8bc6
UD
34411 * version.h (RELEASE): Bump for 2.14 release.
34412 * include/features.h (__GLIBC_MINOR__): Bump to 14.
34413
5b27a807
UD
34414 * config.make.in (RANLIB): Remove entry.
34415
01f16ab0
UD
344162011-05-30 Ulrich Drepper <drepper@gmail.com>
34417
41fce8bd
UD
34418 * po/Makefile (po-sed-cmd): Add ksh to extensions.
34419 (libc.pot): Work around missing support for .ksh extension in xgettext.
34420
4769ae77
UD
34421 [BZ #12684]
34422 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
34423 if both request failed.
34424 (send_dg): In case of server errors clear resplen or *resplen2.
34425
6b1e7d19
UD
34426 [BZ #12454]
34427 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
34428 when there are multiple maps.
34429 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
34430 (_dl_fini): Remove test here.
34431
01f16ab0
UD
34432 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
34433
b1ebd700
UD
344342011-05-29 Ulrich Drepper <drepper@gmail.com>
34435
7ae22829
UD
34436 [BZ #12350]
34437 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
34438 bit from old_res_options.
34439 (gaih_inet): Likewise.
34440
553149f6 34441 [BZ #11099]
18a84741 34442 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
34443 as signed.
34444
652ffab1
UD
34445 * resolv/res_init.c (res_setoptions): Make the code more compact.
34446
16985fd0
UD
34447 [BZ #11558]
34448 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
34449 set RES_USEVC.
34450
0464f746
UD
34451 [BZ #11634]
34452 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
34453
7d17596c
UD
34454 * malloc/malloc.h: Mark malloc hook variables as deprecated.
34455
cf6bbbd7
UD
34456 [BZ #11781]
34457 * malloc/malloc.h: Declare malloc hook variables as volatile.
34458
13f1ab36
UD
34459 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
34460 in last patch.
34461
b1ebd700
UD
34462 [BZ #11799]
34463 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 34464 raise in the comment.
80e2212d
UD
34465 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34466 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34467 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 34468
ce67228d
UD
344692011-05-28 Ulrich Drepper <drepper@gmail.com>
34470
8887a920
UD
34471 [BZ #12811]
34472 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
34473 grow the buffers more if it already has to be sufficient.
34474 (build_wcs_upper_buffer): Likewise.
34475 * posix/regexec.c (check_matching): Likewise.
34476 (clean_state_log_if_needed): Likewise.
34477 (extend_buffers): Don't enlarge buffers beyond size of the input
34478 buffer.
34479 Patches mostly by Emil Wojak <emil@wojak.eu>.
34480 * posix/bug-regex32.c: New file.
34481 * posix/Makefile (tests): Add bug-regex32.
34482
4f031072
UD
34483 * locale/findlocale.c (_nl_find_locale): Return right away if
34484 _nl_explode_name failed.
34485 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
34486
d0478f0c
UD
34487 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
34488
de81b246
UD
34489 * debug/xtrace.sh: Unify messages.
34490 * malloc/memusage.sh: Likewise.
34491
c738465a
UD
34492 [BZ #12813]
34493 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
34494 time symbol from vDSO. Substitute with vsyscall if not available.
34495 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
34496 __vdso_time.
34497
f1f929d7
UD
34498 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
34499 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
34500 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
34501 Add sendmmsg and internal_sendmmsg.
34502 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
34503 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
34504 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
34505
ce67228d
UD
34506 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
34507 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
34508 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
34509
e57420c6
UD
345102011-05-27 Ulrich Drepper <drepper@gmail.com>
34511
a8509ca5
UD
34512 [BZ #12813]
34513 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
34514 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
34515 available.
34516 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
34517 __vdso_getcpu.
34518
e57420c6
UD
34519 [BZ #12814]
34520 * iconvdata/Makefile (tests): Add bug-iconv9.
34521 * iconvdata/bug-iconv9.c: New file.
34522
4d07db15
AS
345232011-05-27 Andreas Schwab <schwab@redhat.com>
34524
34525 [BZ #12814]
34526 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
34527
ea486f69
JJ
345282011-05-25 Jakub Jelinek <jakub@redhat.com>
34529
34530 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34531 (struct user_regs_struct): Change intcs field back to cs.
34532
6f038433
UD
345332011-05-25 Ulrich Drepper <drepper@gmail.com>
34534
34535 * po/ja.po: Update from translation team.
34536
67f86a25
UD
345372011-05-23 Ulrich Drepper <drepper@gmail.com>
34538
34539 [BZ #12795]
34540 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
34541 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
34542
def7fbd6
AS
345432011-05-20 Andreas Schwab <schwab@redhat.com>
34544
34545 * stdlib/longlong.h: Update from GCC.
34546
f50ef8f1
AS
345472011-05-23 Andreas Schwab <schwab@redhat.com>
34548
34549 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
34550 parameter name.
34551 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
34552 Add parameter name.
34553 (__sysconf): Pass it down.
34554
de7ce8f1
UD
345552011-05-22 Ulrich Drepper <drepper@gmail.com>
34556
f2962a71
UD
34557 [BZ #12671]
34558 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
34559 some situations.
34560 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34561 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
34562 add in in __libc_use_alloca calls. Adjust callers.
34563 (glob): Use malloc in some situations.
34564
de7ce8f1
UD
34565 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
34566 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
34567 pltexit.
34568
aec84f53
UD
345692011-05-21 Ulrich Drepper <drepper@gmail.com>
34570
05bb4a68
UD
34571 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
34572 and CLOCK_BOOTTIME_ALARM.
34573
7ea72f99
UD
34574 [BZ #12782]
34575 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
34576 is returned.
34577
7e4afad5
UD
34578 * string/_strerror.c (__strerror_r): Print negative errors as signed
34579 numbers.
34580
8e211fec
UD
34581 [BZ #12777]
34582 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
34583 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
34584 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
34585
f7d82dc9
UD
34586 * configure.in: Fix typo in redirection and correct removal of test
34587 files in two cases.
34588
cc9e536d
UD
34589 [BZ #12788]
34590 * locale/setlocale.c (new_composite_name): Fix test to check for
34591 identical name of all categories.
34592
aec84f53
UD
34593 [BZ #12792]
34594 * libio/filedoalloc.c (local_isatty): New function.
34595 (_IO_file_doallocate): Use local_isatty.
34596 * stdio-common/perror.c (perror): In case a new stream is used
34597 forward the stream error.
34598 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
34599 error flag.
34600
78e64fdc
RT
346012011-05-20 Ulrich Drepper <drepper@gmail.com>
34602
34a9094f
UD
34603 [BZ #11869]
34604 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
34605 alloca.
34606 * include/alloca.h (extend_alloca_account): Define.
34607
78e64fdc
RT
34608 [BZ #11857]
34609 * posix/regex.h: Fix comments with documentation of user-accessible
34610 fields after compilation and describe correct free'ing of pattern
34611 after re_compile_pattern.
34612 Patch by Reuben Thomas <rrt@sc3d.org>.
34613
457bddfc
RA
346142011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
34615
34616 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
34617 and -mno-altivec to prevent the compiler from using Altivec and/or
34618 VSX instructions when the corresponding registers are not available.
34619
a4527b51
AS
346202011-05-19 Andreas Schwab <schwab@redhat.com>
34621
34622 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
34623
ed690b2f
UD
346242011-05-19 Ulrich Drepper <drepper@gmail.com>
34625
34626 * libio/freopen.c (freopen): Use __dup2, not dup2.
34627 * libio/freopen64.c (freopen64): Likewise.
34628
8db73634
L
346292011-05-17 H.J. Lu <hongjiu.lu@intel.com>
34630
34631 [BZ #12775]
34632 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
34633 * math/Makefile (tests): Add test-powl.
34634 (CFLAGS-test-powl.c): Define.
34635 * math/test-powl.c: New file.
34636
0a197a9d
L
346372011-05-16 H.J. Lu <hongjiu.lu@intel.com>
34638
34639 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
34640
ee30c380
UD
346412011-05-17 Ulrich Drepper <drepper@gmail.com>
34642
34643 [BZ #11837]
34644 * iconvdata/gb18030.c: Update to GB18020-2005.
34645
6ce75379
UD
346462011-05-16 Ulrich Drepper <drepper@gmail.com>
34647
a4b89fd8
AR
34648 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
34649 RE_SYNTAX_POSIX_AWK): Update to match recent development.
34650 Patch by Aharon Robbins <arnold@skeeve.com>.
34651
ea389b12
UD
34652 [BZ #11892]
34653 * stdlib/putenv.c (putenv): Don't always create copy of the variable
34654 on the stack.
34655
68a3f91f
UD
34656 [BZ #11895]
34657 * misc/pselect.c (__pselect): Handle timeout value errors hidden
34658 through underflows.
34659
15cc7dd1
UD
34660 [BZ #12766]
34661 * misc/error.c (error_at_line): Ensure file_name and old_file_name
34662 point to strings before performing equality test for error_one_per_line
34663 mode.
34664
f3799213
UD
34665 [BZ #11697]
34666 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
34667
d79a9c94
UD
34668 [BZ #11820]
34669 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34670 (struct user_fpregs_struct): Avoid __uint*_t types.
34671
56e5eb46
UD
34672 [BZ #6420]
34673 * malloc/mtrace.c (tr_where): Add additional parameter to point to
34674 symbol info. Use it instead of calling _dl_addr locally.
34675 (lock_and_info): New function.
34676 (tr_freehook): Call lock_and_info and pass symbol info as additional
34677 parameter to tr_where.
34678 (tr_mallochook): Likewise.
34679 (tr_reallochook): Likewise.
34680 (tr_memalignhook): Likewise.
34681
6ce75379
UD
34682 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
34683 used and couldn't be at all thread-safe.
34684
f8a3b5bf
UD
346852011-05-15 Ulrich Drepper <drepper@gmail.com>
34686
94b7cc37
UD
34687 * libio/freopen.c (freopen): Don't close old file descriptor
34688 before the new one is opened. Instead dup the new file descriptor
34689 to the old one after the new stream is created.
34690 * libio/freopen64.c (freopen64): Likewise.
34691 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
34692 * libio/fileops.c (_IO_new_file_close_it): Handle new
34693 _IO_FLAGS2_NOCLOSE flag.
34694 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
34695 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
34696 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
34697 _IO_FLAGS2_NOCLOSE flag.
34698 * include/unistd.h: Add hidden_proto for dup3.
34699 Define __have_dup3.
34700 * io/dup3.c: Define hidden symbol.
34701 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
34702
bd25564e
UD
34703 [BZ #7101]
34704 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
34705 when an incomplete long option is used.
34706 * posix/tst-getopt_long1.c: New file.
34707 * posix/Makefile (tests): Add tst-getopt_long1.
34708
c84cfef4
UD
34709 [BZ #10138]
34710 * scripts/config.guess: Update from autoconf-2.68.
34711 * scripts/config.sub: Likewise.
34712
3b85df27
UD
34713 [BZ #10157]
34714 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
34715 tests into ...
34716 (has_cpuclock): ...this. New function.
34717 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
34718 macro here based on has_cpuclock code.
34719
15a856b1
UD
34720 [BZ #10149]
34721 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34722 First byte (not low byte) is now always NUL.
34723 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
34724
05f399e6
UD
34725 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34726 Use non-cancelable interfaces.
34727
10a52685 34728 [BZ #9809]
94ecc67d
UD
34729 * locale/iso-639.def: Add entry for Sorani.
34730
f8a3b5bf
UD
34731 [BZ #11901]
34732 * include/stdlib.h: Move include protection to the right place.
34733 Define abort_msg_s. Declare __abort_msg with it.
34734 * stdlib/abort.c (__abort_msg): Adjust type.
34735 * assert/assert.c (__assert_fail_base): New function. Majority
34736 of code from __assert_fail. Allocate memory for __abort_msg with
34737 mmap.
34738 (__assert_fail): Now call __assert_fail_base.
34739 * assert/assert-perr.c: Remove bulk of implementation. Use
34740 __assert_fail_base.
34741 * include/assert.hL Declare __assert_fail_base.
34742 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
34743 mmap.
34744 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
34745
1af4e298
UD
347462011-05-14 Ulrich Drepper <drepper@gmail.com>
34747
f8a3b5bf 34748 [BZ #11952]
d26dfc60
MG
34749 [BZ #12453]
34750 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
34751 until all modules are registered in the DTV.
34752 * elf/Makefile: Add rules to build and run tst-tls19.
34753 * elf/tst-tls19.c: New file.
34754 * elf/tst-tls19mod1.c: New file.
34755 * elf/tst-tls19mod2.c: New file.
34756 * elf/tst-tls19mod3.c: New file.
34757 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
34758
2fc54d6f
UD
34759 [BZ #12083]
34760 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
34761 correctly.
34762
98d76b46
UD
34763 [BZ #12601]
34764 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
34765 two-byte sequence errors.
34766 * iconvdata/Makefile (tests): Add bug-iconv8.
34767 * iconvdata/bug-iconv8.c: New file.
34768
da3c19ef
UD
34769 [BZ #12626]
34770 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
34771 buf2 definition.
34772
ca408c15
UD
34773 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
34774
d6f67f7d
UD
34775 [BZ #12432]
34776 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
34777 (dummy_getcfa): New function.
34778 (init): Get _Unwind_GetCFA address, use dummy if not found.
34779 (backtrace_helper): In recursion check, also check whether CFA changes.
34780 (__backtrace): Completely initialize arg.
34781
1af4e298 34782 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
34783 storing incomplete byte sequence in state object. Avoid testing for
34784 guaranteed too small input if we know there is enough data available.
1af4e298 34785
da62f81b
AS
347862011-05-11 Andreas Schwab <schwab@redhat.com>
34787
34788 * Makeconfig (+link-pie): Indent.
34789 * Rules (binaries-pie): Define if $(have-fpie) and
34790 $(build-shared).
34791 (binaries-shared): Also filter out $(binaries-pie).
34792 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
34793 * nscd/Makefile (others-pie): Add nscd.
34794 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
34795 ($(objpfx)nscd): Remove command override.
34796 * login/Makefile (others-pie): Add pt_chown.
34797 ($(objpfx)pt_chown): Remove command override.
34798 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
34799 remove command overrides.
34800
fcabc0f8
UD
348012011-05-13 Ulrich Drepper <drepper@gmail.com>
34802
20030ae6
UD
34803 * libio/tst_putwc.c: Fix error messages.
34804
fcabc0f8
UD
34805 [BZ #12724]
34806 * libio/fileops.c (_IO_new_file_close_it): Always flush when
34807 currently writing and seek to current position when not.
34808 * libio/Makefile (tests): Add bug-fclose1.
34809 * libio/bug-fclose1.c: New file.
34810
320a5dc0
PB
348112011-05-12 Ulrich Drepper <drepper@gmail.com>
34812
34813 [BZ #12511]
34814 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
34815 don't set DF_1_NODELETE here.
34816 (do_lookup_x): When entering new entry test for copy relocation
34817 and if necessary set DF_1_NODELETE flag.
34818 * elf/tst-unique4.cc: New file.
34819 * elf/tst-unique4.h: New file.
34820 * elf/tst-unique4lib.cc: New file.
34821 * elf/Makefile: Add rules to build and run tst-unique4.
34822 Patch by Piotr Bury <pbury@goahead.com>.
34823
22836f52
UD
348242011-05-11 Ulrich Drepper <drepper@gmail.com>
34825
f574184a
UD
34826 [BZ #12052]
34827 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
34828
e1fb097f
UD
34829 [BZ #12625]
34830 * misc/mntent_r.c (addmntent): Flush the stream after the output
34831
22836f52
UD
34832 [BZ #12393]
34833 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
34834 (is_trusted_path_normalize): Skip initial colon. Append slash
34835 to empty buffer. Duplicate is_trusted_path code but allow
34836 constructed patch to be prefix.
34837 (is_dst): Allow $ORIGIN followed by /.
34838 (_dl_dst_substitute): Correct clearing of check_for_trusted.
34839 Correct testing of result of is_trusted_path_normalize
34840 (decompose_rpath): Fix warning.
34841
7b3b0b2a
UD
348422011-05-10 Ulrich Drepper <drepper@gmail.com>
34843
34844 [BZ #11257]
34845 * grp/initgroups.c (internal_getgrouplist): When we found the service
34846 list through the initgroups entry in nsswitch.conf do not always
34847 continue on a successful lookup. Don't always use the
eac80ce2 34848 __nss_group_database value if it is set.
7b3b0b2a
UD
34849 * nss/nsswitch.conf (initgroups): Change action for successful db
34850 lookup to continue for compatibility.
34851
2a81eaa5
UD
348522011-05-09 Ulrich Drepper <drepper@gmail.com>
34853
be97a69e
UD
34854 [BZ #11532]
34855 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
34856 and CP774 modules.
34857 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
34858 and CP774 modules.
34859 * iconvdata/tst-tables.sh: Likewise.
34860 * iconvdata/cp770.c: New file.
34861 * iconvdata/cp771.c: New file.
34862 * iconvdata/cp772.c: New file.
34863 * iconvdata/cp773.c: New file.
34864 * iconvdata/cp774.c: New file.
34865 * iconvdata/testdata/CP770: New file.
34866 * iconvdata/testdata/CP770..UTF8: New file.
34867 * iconvdata/testdata/CP771: New file.
34868 * iconvdata/testdata/CP771..UTF8: New file.
34869 * iconvdata/testdata/CP772: New file.
34870 * iconvdata/testdata/CP772..UTF8: New file.
34871 * iconvdata/testdata/CP773: New file.
34872 * iconvdata/testdata/CP773..UTF8: New file.
34873 * iconvdata/testdata/CP774: New file.
34874 * iconvdata/testdata/CP774..UTF8: New file.
34875
34876 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
34877 END CHARMAP line.
34878 * iconvdata/gen-8bit-gap.sh: Likewise.
34879 * iconvdata/gen-8bit.sh: Likewise.
34880
c1e9e399
UD
34881 * locale/iso-639.def: Add ary entry.
34882
24c55fb3 34883 [BZ #11258]
96b4b1b0
UD
34884 * locale/C-translit.h.in: Add U20A1 transliteration.
34885
bdc2f971
KB
34886 [BZ #12178]
34887 * locale/iso-639.def: Add wae entry.
34888 Patch by Kevin Bortis <bortis@translate-wae.ch>.
34889
2952b117
UD
34890 [BZ #12545]
34891 * locale/programs/localedef.c (construct_output_path): Use ssize_t
34892 for n.
34893
2a81eaa5
UD
34894 [BZ #12711]
34895 * locale/C-translit.h.in: Add entry for U20B9.
34896 Patch by pravin.d.s@gmail.com.
34897
28377d1b
UD
348982011-05-08 Ulrich Drepper <drepper@gmail.com>
34899
7fb90fb8
UD
34900 [BZ #12713]
34901 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
34902 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
34903 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
34904 in rtld. Use *stat64.
7fb90fb8 34905 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 34906 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 34907 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
34908 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
34909 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
34910 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
34911 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
34912 __fstatat64 macros.
7fb90fb8
UD
34913 * include/dirent.h: Add libc_hidden_proto for rewinddir.
34914 * dirent/rewinddir.c: Add libc_hidden_def.
34915 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 34916 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 34917
28377d1b
UD
34918 * include/dirent.h (__alloc_dir): Add flags parameter.
34919 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
34920 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
34921 __alloc_dir.
34922 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
34923 from fdopendir if O_CLOEXEC is already set.
34924
66bdbaa4
AM
349252011-03-15 Alan Modra <amodra@gmail.com>
34926
34927 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
34928 l_tls_firstbyte_offset non-zero. Save padding offset in
34929 l_tls_firstbyte_offset for later use.
34930 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
34931 freeing static tls block.
34932
95721191
JN
349332011-03-05 Jonathan Nieder <jrnieder@gmail.com>
34934
34935 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
34936 where #ifdef was intended. The intent is to prevent ARG_MAX from
34937 being defined by the kernel headers.
34938
f87dfb1f
UD
349392011-05-07 Ulrich Drepper <drepper@gmail.com>
34940
34941 [BZ #12734]
34942 * resolv/resolv.h: Define RES_NOTLDQUERY.
34943 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
34944 no-tld-query and set RES_NOTLDQUERY.
34945 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
34946 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
34947 modern BIND to search name as TLD unless forbidden.
34948
47c3cd7a
UD
349492011-05-07 Petr Baudis <pasky@suse.cz>
34950 Ulrich Drepper <drepper@gmail.com>
34951
34952 [BZ #12393]
34953 * elf/dl-load.c (fillin_rpath): Move trusted path check...
34954 (is_trusted_path): ...to here.
c1e9ea35 34955 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 34956 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 34957 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 34958
8a35c912
PP
349592011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34960
34961 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
34962 __BEGIN/__END_DECLS.
34963
acd41f47
UD
349642011-05-06 Ulrich Drepper <drepper@gmail.com>
34965
34966 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
34967 NSS_STATUS_NOTFOUND if no record was found.
34968
597df647
AS
349692011-05-05 Andreas Schwab <schwab@redhat.com>
34970
34971 * sunrpc/Makefile (headers): Add rpc/netdb.h.
34972 (headers-not-in-tirpc): Remove rpc/netdb.h
34973 * resolv/netdb.h: Revert last change.
34974
b9af1301
PP
349752011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
34976
34977 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
34978 circular dependency between libgcc.a and libc.a.
34979
4e34d5f5
AS
349802011-05-05 Andreas Schwab <schwab@redhat.com>
34981
34982 * resolv/netdb.h: Don't include <rpc/netdb.h>.
34983 * nis/Makefile: Don't install rpcsvc/*.
34984 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
34985 instead of <rpc/types.h>.
34986 (MAXHOSTNAMELEN): Define.
34987
00ee369c
AS
349882011-05-03 Andreas Schwab <schwab@redhat.com>
34989
34990 * elf/ldconfig.c (add_dir): Don't crash on empty path.
34991
0b592a30
MB
349922011-04-28 Maciej Babinski <mbabinski@google.com>
34993
34994 [BZ #12714]
34995 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
34996 gethostbyname4_r when IPv6 results are possible.
34997
6e04cbbe
UD
349982011-05-02 Ulrich Drepper <drepper@gmail.com>
34999
35000 [BZ #12723]
35001 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
35002 _PC_PIPE_BUF handling.
35003
e4ecafe0
BH
350042011-04-30 Bruno Haible <bruno@clisp.org>
35005
35006 [BZ #12717]
35007 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
35008 * resolv/netdb.h (getnameinfo): Change type of flags parameter
35009 to 'int'.
35010 * inet/getnameinfo.c (getnameinfo): Likewise.
35011
125ee683
UD
350122011-04-29 Ulrich Drepper <drepper@gmail.com>
35013
35014 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
35015 to groups setting in database lookup.
35016 * nss/nsswitch.conf: Add initgroups entry.
35017
b722481a
EB
350182011-04-22 Ulrich Drepper <drepper@gmail.com>
35019
35020 [BZ #12685]
35021 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
35022 mode string.
35023 Patch by Eric Blake <eblake@redhat.com>.
35024
4df46dbd
L
350252011-04-20 H.J. Lu <hongjiu.lu@intel.com>
35026
35027 * sunrpc/Makefile (need-export-routines): Add svc_run.
35028 (routines): Remove svc_run.
35029 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
35030 * sunrpc/clnt_perr.c (clnt_perrno): Export.
35031 * sunrpc/svc_run.c (svc_run): Likewise.
35032 * sunrpc/svc_udp.c (svcudp_create): Likewise.
35033
e84142d2
UD
350342011-04-21 Ulrich Drepper <drepper@gmail.com>
35035
35036 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
35037 problem in reallocation in last patch.
35038
877175d8
UD
350392011-04-20 Ulrich Drepper <drepper@gmail.com>
35040
35041 * sunrpc/Makefile: Move inclusion of Rules.
35042
ab8eed78
UD
350432011-04-19 Ulrich Drepper <drepper@gmail.com>
35044
35045 * nss/nss_files/files-initgroups.c: New file.
35046 * nss/Makefile (libnss_files-routines): Add files-initgroups.
35047 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
35048 _nss_files_initgroups_dyn.
35049
e3d8f584
RS
350502011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
35051
35052 * elf/elf.h (R_ARM_IRELATIVE): Define.
35053
af190f45
UD
350542011-04-19 Ulrich Drepper <drepper@gmail.com>
35055
35056 * po/ru.po: Update from translation team.
35057
53cf59ef
UD
350582011-04-17 Ulrich Drepper <drepper@gmail.com>
35059
35060 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
35061 dependencies.
35062
4c559bcd
MF
350632011-02-06 Mike Frysinger <vapier@gentoo.org>
35064
35065 [BZ #12653]
35066 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
35067 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
35068 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35069 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35070 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35071
4420675c
AS
350722011-03-28 Andreas Schwab <schwab@linux-m68k.org>
35073
35074 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
35075 differing bytes.
35076 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35077 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35078 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35079
75ea32ab
UD
350802011-04-17 Ulrich Drepper <drepper@gmail.com>
35081
35082 [BZ #12420]
35083 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
35084 storing it.
35085 * stdlib/bug-getcontext.c: New file.
35086 * stdlib/Makefile: Add rules to build and run bug-getcontext.
35087
27390476
AK
350882011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35089
35090 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
35091 instructions into .machine "z9-109".
35092 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
35093 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
35094
10442705
AK
350952011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35096
35097 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
35098 between environment variables and auxiliary vector.
35099
7b57bfe5
UD
351002011-04-16 Ulrich Drepper <drepper@gmail.com>
35101
35102 * Makefile: Add rules to build linkobj/libc.so.
35103 * include/libc-symbols.h: Define libc_hidden_nolink.
35104 * include/rpc/auth.h: Mark functions which are to be hidden.
35105 * include/rpc/auth_des.h: Likewise.
35106 * include/rpc/auth_unix.h: Likewise.
35107 * include/rpc/clnt.h: Likewise.
35108 * include/rpc/des_crypt.h: Likewise.
35109 * include/rpc/key_prot.h: Likewise.
35110 * include/rpc/pmap_clnt.h: Likewise.
35111 * include/rpc/pmap_prot.h: Likewise.
35112 * include/rpc/pmap_rmt.h: Likewise.
35113 * include/rpc/rpc_msg.h: Likewise.
35114 * include/rpc/svc.h: Likewise.
35115 * include/rpc/svc_auth.h: Likewise.
35116 * include/rpc/xdr.h: Likewise.
35117 * nis/Makefile: Link all DSOs against linkobj/libc.so.
35118 * nss/Makefile: Likewise.
35119 * sunrpc/Makefile: Don't install headers. Build library with normal
35120 entry points. Don't build rpcinfo. Link RPC tests appropriately.
35121 * sunrpc/auth_des.c: Hide exported symbols by default, export some
35122 for the compat linking library. Remove use of INTDEF/INTUSE.
35123 * sunrpc/auth_none.c: Likewise.
35124 * sunrpc/auth_unix.c: Likewise.
35125 * sunrpc/authdes_prot.c: Likewise.
35126 * sunrpc/authuxprot.c: Likewise.
35127 * sunrpc/clnt_gen.c: Likewise.
35128 * sunrpc/clnt_perr.c: Likewise.
35129 * sunrpc/clnt_raw.c: Likewise.
35130 * sunrpc/clnt_simp.c: Likewise.
35131 * sunrpc/clnt_tcp.c: Likewise.
35132 * sunrpc/clnt_udp.c: Likewise.
35133 * sunrpc/clnt_unix.c: Likewise.
35134 * sunrpc/des_crypt.c: Likewise.
35135 * sunrpc/des_soft.c: Likewise.
35136 * sunrpc/get_myaddr.c: Likewise.
35137 * sunrpc/key_call.c: Likewise.
35138 * sunrpc/key_prot.c: Likewise.
35139 * sunrpc/netname.c: Likewise.
35140 * sunrpc/pm_getmaps.c: Likewise.
35141 * sunrpc/pm_getport.c: Likewise.
35142 * sunrpc/pmap_clnt.c: Likewise.
35143 * sunrpc/pmap_prot.c: Likewise.
35144 * sunrpc/pmap_prot2.c: Likewise.
35145 * sunrpc/pmap_rmt.c: Likewise.
35146 * sunrpc/publickey.c: Likewise.
35147 * sunrpc/rpc_cmsg.c: Likewise.
35148 * sunrpc/rpc_common.c: Likewise.
35149 * sunrpc/rpc_dtable.c: Likewise.
35150 * sunrpc/rpc_prot.c: Likewise.
35151 * sunrpc/rpc_thread.c: Likewise.
35152 * sunrpc/rtime.c: Likewise.
35153 * sunrpc/svc.c: Likewise.
35154 * sunrpc/svc_auth.c: Likewise.
35155 * sunrpc/svc_authux.c: Likewise.
35156 * sunrpc/svc_raw.c: Likewise.
35157 * sunrpc/svc_run.c: Likewise.
35158 * sunrpc/svc_simple.c: Likewise.
35159 * sunrpc/svc_tcp.c: Likewise.
35160 * sunrpc/svc_udp.c: Likewise.
35161 * sunrpc/svc_unix.c: Likewise.
35162 * sunrpc/svcauth_des.c: Likewise.
35163 * sunrpc/xcrypt.c: Likewise.
35164 * sunrpc/xdr.c: Likewise.
35165 * sunrpc/xdr_array.c: Likewise.
35166 * sunrpc/xdr_float.c: Likewise.
35167 * sunrpc/xdr_intXX_t.c: Likewise.
35168 * sunrpc/xdr_mem.c: Likewise.
35169 * sunrpc/xdr_rec.c: Likewise.
35170 * sunrpc/xdr_ref.c: Likewise.
35171 * sunrpc/xdr_sizeof.c: Likewise.
35172 * sunrpc/xdr_stdio.c: Likewise.
35173
e6c61494
UD
351742011-04-10 Ulrich Drepper <drepper@gmail.com>
35175
35176 [BZ #12650]
35177 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
35178 * sysdeps/ia64/dl-tls.h: Likewise.
35179 * sysdeps/powerpc/dl-tls.h: Likewise.
35180 * sysdeps/s390/dl-tls.h: Likewise.
35181 * sysdeps/sh/dl-tls.h: Likewise.
35182 * sysdeps/sparc/dl-tls.h: Likewise.
35183 * sysdeps/x86_64/dl-tls.h: Likewise.
35184 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
35185
34fe483e
AS
351862011-03-14 Andreas Schwab <schwab@redhat.com>
35187
35188 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
35189 rpath element also skip the following colon.
35190 (expand_dynamic_string_token): Add is_path parameter and pass
35191 down to DL_DST_REQUIRED and _dl_dst_substitute.
35192 (decompose_rpath): Call expand_dynamic_string_token with
35193 non-zero is_path. Ignore empty rpaths.
35194 (_dl_map_object_from_fd): Call expand_dynamic_string_token
35195 with zero is_path.
35196
f12a32e6
AS
351972011-04-08 Andreas Schwab <schwab@linux-m68k.org>
35198
35199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35200 Make cancelable.
35201
38a7d692
UD
352022011-04-09 Ulrich Drepper <drepper@gmail.com>
35203
35204 [BZ #12655]
35205 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
35206 Patch by Filipe David Manana <fdmanana@apache.org>.
35207
e451d22b
AS
352082011-04-07 Andreas Schwab <schwab@redhat.com>
35209
35210 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
35211 Maintain aligned stack.
35212 (CHECK_RSP): Remove unused macro.
35213
dedc7c7b
UD
352142011-04-03 Ulrich Drepper <drepper@gmail.com>
35215
35216 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
35217 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
35218
94521213
UD
352192011-04-02 Ulrich Drepper <drepper@gmail.com>
35220
35221 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
35222
8cb700c0 35223 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 35224
0354e355
L
352252011-03-26 H.J. Lu <hongjiu.lu@intel.com>
35226
35227 [BZ #12518]
35228 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
35229 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
35230 * sysdeps/x86_64/memmove.c: New file.
35231 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
35232 (memcpy): Renamed to ...
35233 (__new_memcpy): This.
35234 (memcpy): Provide GLIBC_2_14 memcpy.
35235 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
35236 (memcpy): Provide GLIBC_2_2_5 memcpy.
35237
8593482f
UD
352382011-04-01 Ulrich Drepper <drepper@gmail.com>
35239
35240 [BZ #12631]
35241 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
35242
81a5726b
AS
352432011-03-30 Andreas Schwab <schwab@redhat.com>
35244
35245 * misc/syncfs.c: New file.
35246 * misc/Makefile (routines): Add syncfs.
35247 * posix/unistd.h: Declare syncfs.
35248 * sysdeps/unix/syscalls.list: Add syncfs.
35249
00e5419f
AS
352502011-04-01 Andreas Schwab <schwab@redhat.com>
35251
35252 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
35253 open_by_handle_at.
35254 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35255 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35256 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35257 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35258 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35259 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
35260 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35261
748876bf
UD
352622011-04-01 Ulrich Drepper <drepper@gmail.com>
35263
658e451d
UD
35264 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
35265 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35266 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
35267 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35268 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35269 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35270 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35271
748876bf
UD
35272 * io/Makefile: Compile fallocate.c, fallocate64.c, and
35273 sync_file_range.c with -fexceptions.
35274 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
35275 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
35276 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
35277 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
35278 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
35279 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35280 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
35281 sync_file_range as cancellation point
35282 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
35283 now a wrapper around __call_sync_file_range with cancellation handling.
35284 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
35285 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
35286 function name to __call_sync_file_range.
35287 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
35288 Add call_sync_file_range.
748876bf 35289
6e63d5e1
AS
352902011-04-01 Andreas Schwab <schwab@redhat.com>
35291
35292 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 35293 bits/timex.h.
6e63d5e1 35294
46998f74
UD
352952011-04-01 Ulrich Drepper <drepper@gmail.com>
35296
4c1423ed
UD
35297 * iconv/iconv.h: Fix typo in comment.
35298 * io/fcntl.h: Likewise.
35299 * libio/stdio.h: Likewise.
35300 * posix/spawn.h: Likewise.
35301 * posix/unistd.h: Likewise.
35302 * stdlib/stdlib.h: Likewise.
35303 * time/time.h: Likewise.
35304 * wcsmbs/wchar.h: Likewise.
35305
158648c0
UD
35306 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
35307 open_by_handle): Add.
35308 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
35309 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
35310 Augment a few comments.
35311 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35312 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35313 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35314 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35315 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35316 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
35317 open_by_handle.
35318
46998f74
UD
35319 * io/fcntl.h (AT_EMPTY_PATH): Define.
35320
83fe108b
UD
353212011-03-30 Ulrich Drepper <drepper@gmail.com>
35322
35323 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
35324 * sysdeps/unix/sysv/linux/bits/time.h: New file.
35325 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
35326 to...
35327 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
35328 * Versions.def: Add GLIBC_2.14.
35329 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
35330 Export.
83fe108b 35331
bb242059
UD
353322011-03-22 Ulrich Drepper <drepper@gmail.com>
35333
35334 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
35335 round counter.
35336 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35337
c97a1282
L
353382011-03-20 H.J. Lu <hongjiu.lu@intel.com>
35339
35340 [BZ #12597]
35341 * string/test-strncmp.c (do_page_test): New function.
35342 (check2): Likewise.
35343 (test_main): Call check2.
35344 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
35345
2a115601
UD
353462011-03-20 Ulrich Drepper <drepper@gmail.com>
35347
35348 [BZ #12587]
35349 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
35350 Handle cache information in CPU leaf 4.
35351 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35352
8126d904
UD
353532011-03-18 Ulrich Drepper <drepper@gmail.com>
35354
042c49c6 35355 [BZ #12583]
8126d904
UD
35356 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
35357 character representation.
35358 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
35359
ccfe366e
RA
353602011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
35361
35362 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
35363 END(__isnan) to END(__isnanf) to match function entry point/label
35364 EALIGN(__isnanf,...).
35365
c6e13027
JJ
353662011-03-10 Jakub Jelinek <jakub@redhat.com>
35367
35368 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
35369
33f85a3f
UD
353702011-03-10 Ulrich Drepper <drepper@gmail.com>
35371
028478fa
UD
35372 [BZ #12510]
35373 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
35374 copy from the symbol referenced in the relocation to initialize the
35375 used variable.
35376 Patch by Piotr Bury <pbury@goahead.com>.
35377 * elf/Makefile: Add rules to build and tst-unique3.
35378 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
35379 * elf/tst-unique3.cc: New file.
35380 * elf/tst-unique3.h: New file.
35381 * elf/tst-unique3lib.cc: New file.
35382 * elf/tst-unique3lib2.cc: New file.
35383
33f85a3f
UD
35384 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
35385
03592fc7
MF
353862011-03-10 Mike Frysinger <vapier@gentoo.org>
35387
35388 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
35389 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
35390 to _start.
03592fc7 35391
6a5ee102
UD
353922011-03-06 Ulrich Drepper <drepper@gmail.com>
35393
35394 * elf/dl-load.c (_dl_map_object): If we are looking for the first
35395 to-be-loaded object along a path to loader is ld.so.
35396
7e4ba49c
HJ
353972011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
35398 Ulrich Drepper <drepper@gmail.com>
35399
35400 * sysdeps/x86_64/memset.S: After aligning destination, code
35401 branches to different locations depending on the value of
35402 misalignment, when multiarch is enabled. Fix this.
35403
354042011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
35405
35406 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
35407 Set _x86_64_preferred_memory_instruction for AMD processsors.
35408 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35409 Set bit_Prefer_SSE_for_memop for AMD processors.
35410
13a804de
UD
354112011-03-04 Ulrich Drepper <drepper@gmail.com>
35412
35413 * libio/fmemopen.c (fmemopen): Optimize a bit.
35414
9d25c392
AS
354152011-03-03 Andreas Schwab <schwab@redhat.com>
35416
35417 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
35418
a5543c6a
RM
354192011-03-03 Roland McGrath <roland@redhat.com>
35420
35421 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
35422
012d35f7
DM
354232011-02-28 Aurelien Jarno <aurelien@aurel32.net>
35424
7e4ba49c 35425 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
35426 __bzero_ultra1 instead of __memset_ultra1.
35427
4bff6e01
AS
354282011-02-23 Andreas Schwab <schwab@redhat.com>
35429 Ulrich Drepper <drepper@gmail.com>
35430
35431 [BZ #12509]
35432 * include/link.h (struct link_map): Add l_orig_initfini.
35433 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
35434 returning unsuccessfully.
35435 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
35436 close of a file loaded at startup, restore the original l_initfini
35437 list.
35438 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
35439 list, store the pointer.
35440 * elf/Makefile ($(objpfx)noload-mem): New rule.
35441 (noload-ENV): Define.
35442 (tests): Add $(objpfx)noload-mem.
35443 * elf/noload.c: Include <memcheck.h>.
35444 (main): Call mtrace. Close all opened handles.
35445
f2092faf
AS
354462011-02-17 Andreas Schwab <schwab@redhat.com>
35447
35448 [BZ #12454]
35449 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
35450 dependencies are missing.
35451
6c8a2e88
ST
354522011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
35453
f2092faf 35454 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
35455 Hurd needs munmap.
35456 * sysdeps/mach/hurd/ifreq.h: New file.
35457
84a42118
PB
354582011-01-27 Petr Baudis <pasky@suse.cz>
35459 Ulrich Drepper <drepper@gmail.com>
35460
071f805e 35461 [BZ 12445]#
84a42118
PB
35462 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
35463 to extend_alloca().
35464 * stdio-common/bug23.c: New file.
35465 * stdio-common/Makefile (tests): Add bug23.
35466
e23fe25b
AS
354672010-09-28 Andreas Schwab <schwab@redhat.com>
35468 Ulrich Drepper <drepper@gmail.com>
35469
35470 [BZ #12489]
35471 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
35472 before performing relro protection. At old place add assertion
35473 to make sure nothing changed.
35474
d3f02e10
NS
354752011-02-17 Nathan Sidwell <nathan@codesourcery.com>
35476 Glauber de Oliveira Costa <glommer@gmail.com>
35477
35478 * elf/elf.h: Add new ARM TLS relocs.
35479
d55fd7a5
RA
354802011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
35481
35482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35483 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
35484 cast from r3.
35485 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
35486 'tests' variable.
35487 * sysdeps/wordsize-64/tst-writev.c: New file.
35488
2206397e
RA
354892011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
35490
35491 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
35492 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
35493 insns in _dl_start to prevent a TOC reference before relocs are
35494 resolved.
35495
e9433893
UD
354962011-02-15 Ulrich Drepper <drepper@gmail.com>
35497
35498 [BZ #12469]
35499 * Makeconfig: Remove RANLIB definition.
35500 * Makerules: Don't use RANLIB.
35501 * aclocal.m4: Remove ranlib test.
35502 * configure.in: No need to check for ranlib.
35503 * elf/rtld-Rules: Don't use RANLIB.
35504
f75286c6
ST
355052011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
35506
8e31c82d
ST
35507 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
35508 protection macro.
35509 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
35510 inclusion protection macro.
35511
f75286c6
ST
35512 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
35513 SIGRTMIN and SIGRTMAX and print information in that case only when
35514 SIGRTMIN is defined.
35515
c1d0e639
JJ
355162011-02-11 Jakub Jelinek <jakub@redhat.com>
35517
35518 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
35519 arginfo fn returning -1.
35520
35521 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
35522 and thousands string is zero terminated.
35523
edf9294e
AS
355242011-02-03 Andreas Schwab <schwab@redhat.com>
35525
35526 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
35527 sysdeps/unix/sysv/linux/bits/socket.h.
35528
2b7e92df
ST
355292011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
35530
edf9294e
AS
35531 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
35532 (__CPU_COUNT): Remove old macros.
35533 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
35534 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
35535 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
35536 (__sched_cpualloc, __sched_cpufree): Add declarations.
35537
a4c7ea7b
UD
355382011-02-05 Ulrich Drepper <drepper@gmail.com>
35539
35540 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
35541 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
35542 * nscd/aicache.c (addhstaiX): Return timeout of added value.
35543 (readdhstai): Return value of addhstaiX call.
35544 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
35545 (addgrbyX): Return value returned by cache_addgr.
35546 (readdgrbyname): Return value returned by addgrbyX.
35547 (readdgrbygid): Likewise.
35548 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
35549 (addpwbyX): Return value returned by cache_addpw.
35550 (readdpwbyname): Return value returned by addhstbyX.
35551 (readdpwbyuid): Likewise.
35552 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
35553 (addservbyX): Return value returned by cache_addserv.
35554 (readdservbyname): Return value returned by addservbyX:
35555 (readdservbyport): Likewise.
35556 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
35557 (addhstbyX): Return value returned by cache_addhst.
35558 (readdhstbyname): Return value returned by addhstbyX.
35559 (readdhstbyaddr): Likewise.
35560 (readdhstbynamev6): Likewise.
35561 (readdhstbyaddrv6): Likewise.
35562 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
35563 (readdinitgroups): Return value returned by addinitgroupsX.
35564 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
35565 (prune_cache): Keep track of timeout value of re-added entries.
35566 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
35567 * nscd/nscd.h: Adjust prototypes of readd* functions.
35568
a0bf67cc
RM
355692011-02-04 Roland McGrath <roland@redhat.com>
35570
35571 * nis/nis_server.c (nis_servstate): Use the right name for 0.
35572 (nis_stats): Likewise.
35573 * nis/nis_modify.c (nis_modify): Likewise.
35574 * nis/nis_remove.c (nis_remove): Likewise.
35575 * nis/nis_add.c (nis_add): Likewise.
35576
35577 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
35578
35579 * posix/fnmatch_loop.c: Add some consts.
35580
35581 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
35582
435b95eb
L
355832011-02-02 H.J. Lu <hongjiu.lu@intel.com>
35584
35585 [BZ #12460]
35586 * config.make.in (config-cflags-novzeroupper): Define.
35587 * configure.in: Substitute libc_cv_cc_novzeroupper.
35588 * elf/Makefile (AVX-CFLAGS): Define.
35589 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
35590 (CFLAGS-tst-auditmod4a.c): Likewise.
35591 (CFLAGS-tst-auditmod4b.c): Likewise.
35592 (CFLAGS-tst-auditmod6b.c): Likewise.
35593 (CFLAGS-tst-auditmod6c.c): Likewise.
35594 (CFLAGS-tst-auditmod7b.c): Likewise.
35595 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
35596
8517b15e
UD
355972011-02-02 Ulrich Drepper <drepper@gmail.com>
35598
35599 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
35600 function to the callback.
35601 Patch partly by Jiri Olsa <jolsa@redhat.com>.
35602
10a656fe
AS
356032011-02-02 Andreas Schwab <schwab@redhat.com>
35604
35605 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
35606 of errno.
35607
968dad0a
UD
356082011-01-19 Ulrich Drepper <drepper@gmail.com>
35609
9f94d2ea 35610 [BZ #11724]
968dad0a
UD
35611 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
35612 of constructors.
35613 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
35614 of destructors.
35615 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
35616
35617 [BZ #11724]
35618 * elf/Makefile: Add rules to build and run new test.
35619 * elf/tst-initorder.c: New file.
35620 * elf/tst-initorder.exp: New file.
35621 * elf/tst-initordera1.c: New file.
35622 * elf/tst-initordera2.c: New file.
35623 * elf/tst-initordera3.c: New file.
35624 * elf/tst-initordera4.c: New file.
35625 * elf/tst-initorderb1.c: New file.
35626 * elf/tst-initorderb2.c: New file.
35627 * elf/tst-order-a1.c: New file.
35628 * elf/tst-order-a2.c: New file.
35629 * elf/tst-order-a3.c: New file.
35630 * elf/tst-order-a4.c: New file.
35631 * elf/tst-order-b1.c: New file.
35632 * elf/tst-order-b2.c: New file.
35633 * elf/tst-order-main.c: New file.
35634 New test case by George Gensure <werkt0@gmail.com>.
35635
86e92359
UD
356362010-10-01 Andreas Schwab <schwab@redhat.com>
35637
35638 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35639 decoding ACE if AI_CANONIDN.
35640
5d5732b0
UD
356412011-01-18 Ulrich Drepper <drepper@gmail.com>
35642
35643 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
35644
a77e8cbc
UD
356452011-01-17 Ulrich Drepper <drepper@gmail.com>
35646
6392473f
UD
35647 * version.h (RELEASE): Bump for 2.13 release.
35648 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
35649
620a0529
UD
35650 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
35651
18ba70a5
UD
35652 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
35653 MADV_NOHUGEPAGE.
32465c3e
UD
35654 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
35655 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35656 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35657 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35658 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35659 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35660
c0dafcf1
UD
35661 * posix/getconf.c: Update copyright year.
35662 * catgets/gencat.c: Likewise.
35663 * csu/version.c: Likewise.
35664 * debug/catchsegv.sh: Likewise.
35665 * debug/xtrace.sh: Likewise.
35666 * elf/ldconfig.c: Likewise.
35667 * elf/ldd.bash.in: Likewise.
35668 * elf/sprof.c (print_version): Likewise.
35669 * iconv/iconv_prog.c: Likewise.
35670 * iconv/iconvconfig.c: Likewise.
35671 * locale/programs/locale.c: Likewise.
35672 * locale/programs/localedef.c: Likewise.
35673 * malloc/memusage.sh: Likewise.
35674 * malloc/mtrace.pl: Likewise.
35675 * nscd/nscd.c (print_version): Likewise.
35676 * nss/getent.c: Likewise.
35677
a77e8cbc
UD
35678 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
35679 PF_CAIF, and PF_ALG.
35680 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35681
77e8bddf
AS
356822011-01-16 Andreas Schwab <schwab@linux-m68k.org>
35683
1f20b93a
AS
35684 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
35685 (modules-names): Use them.
35686 (ifunc-test-modules, ifunc-pie-tests): Define.
35687 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
35688 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
35689 (test-extras): Likewise.
35690 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
35691 $(compile-command.c).
35692 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
35693 (all-built-dso): Define.
35694 (check-textrel.out, check-execstack.out): Depend on it.
35695
77e8bddf
AS
35696 * configure.in: Don't override --enable-multi-arch.
35697
bc425b33
UD
356982011-01-15 Ulrich Drepper <drepper@gmail.com>
35699
35700 [BZ #6812]
35701 * nscd/hstcache.c (tryagain): Define.
35702 (cache_addhst): Return tryagain not notfound for temporary errors.
35703 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
35704 failed.
35705
794c3ad3
UD
357062011-01-14 Ulrich Drepper <drepper@gmail.com>
35707
70181fdd
UD
35708 [BZ #10563]
35709 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
35710 to make the syscall.
35711 * sysdeps/unix/sysv/linux/setgroups.c: New file.
35712
794c3ad3
UD
35713 [BZ #12378]
35714 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
35715 and fall back to matching as normal character if the string ends before
35716 the matching ']' is found. This is what POSIX requires.
35717 * posix/testfnm.c: Adjust test result.
35718 * posix/globtest.sh: Adjust test result. Add new test.
35719 * posix/tst-fnmatch.input: Likewise.
35720 * posix/tst-fnmatch2.c: Add new test.
35721
68dc9497
AS
357222010-12-28 Andreas Schwab <schwab@linux-m68k.org>
35723
35724 * elf/Makefile (check-execstack): Revert last change. Depend on
35725 check-execstack.h.
35726 (check-execstack.h): New target.
35727 (generated): Add check-execstack.h.
35728 * elf/check-execstack.c: Include "check-execstack.h".
35729 (main): Revert last change.
35730 (handle_file): Return zero if GNU_STACK is absent and
35731 DEFAULT_STACK_PERMS doesn't include PF_X.
35732
451f001b
UD
357332011-01-13 Ulrich Drepper <drepper@gmail.com>
35734
cfa28e56
UD
35735 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
35736 in child fails because the descriptor is already closed.
8cf8ce17
UD
35737 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
35738 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
35739 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 35740
1086d70d
UD
35741 [BZ #12397]
35742 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
35743 syscall.
35744
451f001b
UD
35745 [BZ #10484]
35746 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
35747 temporary buffer used to handle multi lookups locally.
a85b5cb4 35748 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 35749
08769175
UD
357502011-01-12 Ulrich Drepper <drepper@gmail.com>
35751
35752 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
35753 loader is ld.so.
35754
5e49c52e
UD
357552011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
35756
35757 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
35758 alignment for SSE2.
35759
60522a5f
UD
357602011-01-12 Ulrich Drepper <drepper@gmail.com>
35761
35762 [BZ #12394]
35763 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
35764 characters. When rounding increased number of integer digits recompute
35765 number of groups.
35766 * stdio-common/tst-grouping.c: New file.
35767 * stdio-common/Makefile: Add rules to build and run tst-grouping.
35768
f257bbd7
UD
357692011-01-09 Ulrich Drepper <drepper@gmail.com>
35770
35771 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
35772 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
35773
35774 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
35775 void.
35776 * bits/select.h: Likewise.
35777
fa9c15cb
UD
357782011-01-08 Ulrich Drepper <drepper@gmail.com>
35779
35780 * po/ja.po: Update from translation team.
35781
16c2895f
DM
357822011-01-04 David S. Miller <davem@sunset.davemloft.net>
35783
35784 [BZ #11155]
35785 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
35786 implementation just like for lxstat, fxstatat, et al.
35787
2543fef2
JM
357882010-12-27 Jim Meyering <meyering@redhat.com>
35789
35790 [BZ #12348]
35791 * posix/regexec.c (build_trtable): Return failure indication upon
35792 calloc failure. Otherwise, re_search_internal could infloop on OOM.
35793
98727dbe
UD
357942010-12-25 Ulrich Drepper <drepper@gmail.com>
35795
5bd6dc5c
UD
35796 [BZ #12201]
35797 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
35798 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
35799 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
35800 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
35801
97983464
UD
35802 [BZ #12207]
35803 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
35804
98727dbe
UD
35805 [BZ #12204]
35806 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
35807 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
35808
4a531bb0
L
358092010-12-15 H.J. Lu <hongjiu.lu@intel.com>
35810
35811 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
35812 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
35813 script has SORT_BY_INIT_PRIORITY.
35814 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
35815 NO_CTORS_DTORS_SECTIONS is defined.
35816 * elf/soinit.c: Likewise.
35817 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
35818 NO_CTORS_DTORS_SECTIONS is defined.
35819 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
35820 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
35821 * sysdeps/sh/init-first.c: Likewise.
35822 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
35823
07eb4b71
UD
358242010-12-24 Ulrich Drepper <drepper@gmail.com>
35825
35826 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
35827 always use the slow path.
35828
30950a5f
RA
358292010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
35830
35831 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
35832 similar rule which adds the sysdep directories to the header search in
35833 order to pick up the correct platform stackinfo.h.
35834 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
35835 perform test if it is, otherwise return successfully without testing.
35836 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
35837 DEFAULT_STACK_PERMS define in stackinfo.h.
35838 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
35839 defined in stackinfo.h.
35840 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
35841 DEFAULT_STACK_PERMS defined in stackinfo.h.
35842 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
35843 * sysdeps/ia64/stackinfo.h: Likewise.
35844 * sysdeps/s390/stackinfo.h: Likewise.
35845 * sysdeps/sh/stackinfo.h: Likewise.
35846 * sysdeps/sparc/stackinfo.h: Likewise.
35847 * sysdeps/x86_64/stackinfo.h: Likewise.
35848 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
35849 PF_X for powerpc64. Retain PF_X for powerpc32.
35850
db753e2c
UD
358512010-12-19 Ulrich Drepper <drepper@gmail.com>
35852
14b697f7
UD
35853 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
35854 accurately.
db753e2c
UD
35855 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
35856 GETDENTS_64BIT_ALIGNED.
35857
28300719
UD
358582010-12-14 Ulrich Drepper <dreper@gmail.com>
35859
14b697f7 35860 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 35861
4f197237
AS
358622010-12-10 Andreas Schwab <schwab@redhat.com>
35863
dbb0472f
AS
35864 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
35865 _GNU_SOURCE.
35866
4f197237
AS
35867 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
35868 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
35869 Remove __restrict.
35870 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
35871 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
35872
fb88ac72
UD
358732010-12-09 Ulrich Drepper <drepper@gmail.com>
35874
35875 [BZ #11655]
35876 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
35877 are initialized.
35878
42acbb92
JJ
358792010-12-09 Jakub Jelinek <jakub@redhat.com>
35880
35881 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
35882
c038d98d
UD
358832010-12-03 Ulrich Drepper <drepper@gmail.com>
35884
35885 * po/it.po: Update from translation team.
35886
3a4a2499
L
358872010-12-01 H.J. Lu <hongjiu.lu@intel.com>
35888
35889 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
35890 unused codes.
35891
1e24cf6e
UD
358922010-11-30 Ulrich Drepper <drepper@gmail.com>
35893
35894 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
35895
a7690819
AS
358962010-11-24 Andreas Schwab <schwab@redhat.com>
35897
35898 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
35899 specially.
35900 (gaih_getanswer_slice): Likewise.
35901
3bf8d1b1
JJ
359022010-10-20 Jakub Jelinek <jakub@redhat.com>
35903
35904 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
35905
6db52fbb
PB
359062010-05-31 Petr Baudis <pasky@suse.cz>
35907
35908 [BZ #11149]
35909 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
35910 silently even in the chroot mode.
35911
eaca7569
UD
359122010-11-22 Ulrich Drepper <drepper@gmail.com>
35913
35914 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
35915 last patch a bit. Pretty printing
35916
3056dcdb
UD
359172010-05-31 Petr Baudis <pasky@suse.cz>
35918
35919 [BZ #10085]
35920 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
35921 initialization of skip_initgroups_dyn.
35922
cf7c9078
UD
359232010-11-19 Ulrich Drepper <drepper@gmail.com>
35924
35925 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
35926 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35927
a1fb5e3e
UD
359282010-11-16 Ulrich Drepper <drepper@gmail.com>
35929
35930 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
35931
3540d66b
AS
359322010-11-11 Andreas Schwab <schwab@redhat.com>
35933
35934 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
35935 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
35936 (tst-fnmatch-ENV): Set MALLOC_TRACE.
35937 ($(objpfx)tst-fnmatch-mem): New rule.
35938 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
35939 * posix/tst-fnmatch.c (main): Call mtrace.
35940
13b69574
L
359412010-11-11 H.J. Lu <hongjiu.lu@intel.com>
35942
35943 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35944 Support Intel processor model 6 and model 0x2c.
35945
da93d214
LM
359462010-11-10 Luis Machado <luisgpm@br.ibm.com>
35947
35948 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
35949 signed comparison.
35950
8ca52c6e
L
359512010-11-09 H.J. Lu <hongjiu.lu@intel.com>
35952
35953 [BZ #12205]
35954 * string/test-strncasecmp.c (check_result): New function.
35955 (do_one_test): Use it.
35956 (check1): New function.
35957 (test_main): Use it.
35958 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
35959 Support strcasecmp and strncasecmp.
35960
69da074d
UD
359612010-11-08 Ulrich Drepper <drepper@gmail.com>
35962
35963 [BZ #12194]
35964 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
35965 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35966
ff02d528
L
359672010-11-07 H.J. Lu <hongjiu.lu@intel.com>
35968
35969 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
35970 IFUNC support.
35971 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35972 memset-x86-64.
35973 * sysdeps/x86_64/multiarch/bzero.S: New file.
35974 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
35975 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
35976 * sysdeps/x86_64/multiarch/memset.S: New file.
35977 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
35978 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35979 Set bit_Prefer_SSE_for_memop for Intel processors.
35980 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
35981 Define.
35982 (index_Prefer_SSE_for_memop): Define.
35983 (HAS_PREFER_SSE_FOR_MEMOP): Define.
35984
344d0b54
LM
359852010-11-04 Luis Machado <luisgpm@br.ibm.com>
35986
35987 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
35988 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
35989
c0dde15b
UD
359902010-11-03 H.J. Lu <hongjiu.lu@intel.com>
35991
35992 [BZ #12191]
35993 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35994 (__x86_64_raw_data_cache_size_half): Likewise.
35995 (__x86_64_raw_shared_cache_size): Likewise.
35996 (__x86_64_raw_shared_cache_size_half): Likewise.
35997
35998 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35999 (__x86_64_raw_data_cache_size_half): Likewise.
36000 (__x86_64_raw_shared_cache_size): Likewise.
36001 (__x86_64_raw_shared_cache_size_half): Likewise.
36002 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
36003 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
36004 and __x86_64_raw_shared_cache_size_half. Round
36005 __x86_64_data_cache_size_half, __x86_64_data_cache_size
36006 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
36007 to multiple of 256 bytes.
36008
0e516e0e
MS
360092010-11-03 Ulrich Drepper <drepper@gmail.com>
36010
36011 [BZ #12167]
36012 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
36013 of inacessible symlinks. Verify result of symlink before returning it.
36014 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36015 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
36016
0e012e87
ER
360172010-10-28 Erich Ritz <erichritz@gmail.com>
36018
36019 * math/math.h (isinf): Fix typo in comment.
36020
de0ff7bc
UD
360212010-11-01 Ulrich Drepper <drepper@gmail.com>
36022
36023 * po/da.po: Update from translation team.
36024
fa41c84d
UD
360252010-10-26 Ulrich Drepper <drepper@gmail.com>
36026
36027 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
36028 is added to the list.
36029
f0967738
AK
360302010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36031 Ulrich Drepper <drepper@gmail.com>
36032
36033 * elf/dl-object.c (_dl_new_object): Don't append the new object to
36034 the global list here. Move code to...
36035 (_dl_add_to_namespace_list): ...here. New function.
36036 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
36037 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
36038 * elf/dl-load.c (lose): Don't remove the element from the list.
36039 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
36040 (_dl_map_object): Likewise.
36041
360422010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
36043
36044 [BZ #12159]
36045 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
36046 into all bytes of SSE register.
36047 Patch by Richard Li <richardpku@gmail.com>.
36048
f0967738 360492010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
36050
36051 [BZ #12140]
36052 * malloc/malloc.c (_int_free): Fill correct number of bytes when
36053 perturbing.
36054
d0b9e94f
MB
360552010-10-20 Michael B. Brutman <brutman@us.ibm.com>
36056
36057 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
36058 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
36059 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
36060 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
36062 submachine.
36063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
36064
8e9f92e9
AS
360652010-10-22 Andreas Schwab <schwab@redhat.com>
36066
36067 * include/dlfcn.h (__RTLD_SECURE): Define.
36068 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
36069 mode & __RTLD_SECURE instead.
36070 (open_path): Rename preloaded parameter to secure.
36071 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
36072 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
36073 * elf/dl-deps.c (openaux): Likewise.
36074 * elf/rtld.c (struct map_args): Remove is_preloaded.
36075 (map_doit): Don't use it.
36076 (dl_main): Likewise.
36077 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
36078 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
36079
bc96fbda
AS
360802010-09-09 Andreas Schwab <schwab@redhat.com>
36081
36082 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
36083 (sysd-rules-targets): Remove duplicates.
36084 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
36085 rtld-%.$o dependency.
36086
22cd1c9b
AS
360872010-10-18 Andreas Schwab <schwab@redhat.com>
36088
36089 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
36090 _dl_map_object do it.
36091
18edac48
UD
360922010-10-19 Ulrich Drepper <drepper@gmail.com>
36093
36094 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
36095 fast fma builtins, define the macros in the C99 standard.
36096 (FP_FAST_FMAF): Likewise.
36097 (FP_FAST_FMAL): Likewise.
36098 * sysdeps/x86_64/bits/mathdef.h: Likewise.
36099
36100 * bits/mathdef.h: Update copyright year.
36101 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36102
d2050124
MM
361032010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
36104
36105 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
36106 builtins, define the macros in the C99 standard.
36107 (FP_FAST_FMAF): Likewise.
36108 (FP_FAST_FMAL): Likewise.
36109 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
36110 multiply/add.
36111 (FP_FAST_FMAF): Likewise.
36112
475facd1
JJ
361132010-10-15 Jakub Jelinek <jakub@redhat.com>
36114
36115 [BZ #3268]
36116 * math/libm-test.inc (fma_test): Some new testcases.
36117 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
36118 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
36119 y and infinite z. Do multiplication by C already in long double.
36120 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
36121 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
36122 y and infinite z. Do bitwise or of inexact bit into u.d.
36123 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
36124 * sysdeps/i386/fpu/s_fmaf.S: Removed.
36125 * sysdeps/i386/fpu/s_fma.S: Removed.
36126 * sysdeps/i386/fpu/s_fmal.S: Removed.
36127
7c08a05c
JJ
361282010-10-16 Jakub Jelinek <jakub@redhat.com>
36129
36130 [BZ #3268]
36131 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
36132 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
36133 computation is not scheduled after fetestexcept. Fix value
36134 of minimum denormal long double.
36135
f3f7372d
JJ
361362010-10-14 Jakub Jelinek <jakub@redhat.com>
36137
36138 [BZ #3268]
36139 * math/libm-test.inc (fma_test): Add some more tests.
36140 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
36141 correctly.
36142
14d43591
AS
361432010-10-15 Andreas Schwab <schwab@redhat.com>
36144
36145 * scripts/data/localplt-s390-linux-gnu.data: New file.
36146 * scripts/data/localplt-s390x-linux-gnu.data: New file.
36147
5e908464
JJ
361482010-10-13 Jakub Jelinek <jakub@redhat.com>
36149
36150 [BZ #3268]
36151 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
36152 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
36153 instead of dbl-64.
36154 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
36155 inlines.
36156 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
36157 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
36158 if one of x and y is very large and the other is subnormal.
36159 * sysdeps/s390/fpu/s_fmaf.c: New file.
36160 * sysdeps/s390/fpu/s_fma.c: New file.
36161 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
36162 * sysdeps/powerpc/fpu/s_fma.S: New file.
36163 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
36164 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
36165 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
36166
361672010-10-12 Jakub Jelinek <jakub@redhat.com>
36168
36169 [BZ #3268]
36170 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
36171 fma tests.
36172 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
36173 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
36174 * sysdeps/i386/i686/multiarch/s_fma.c: Include
36175 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
36176 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
36177 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
36178 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
36179
b833d51f
UD
361802010-10-12 Ulrich Drepper <drepper@redhat.com>
36181
36182 [BZ #12078]
36183 * posix/regcomp.c (parse_branch): One more memory leak plugged.
36184 * posix/bug-regex31.input: Add test case.
36185
1751705d
UD
361862010-10-11 Ulrich Drepper <drepper@gmail.com>
36187
e9b9cbf5
UD
36188 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
36189 * posix/bug-regex31.input: New file.
36190
36191 [BZ #12078]
36192 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
36193 (parse_sub_exp): Fix last change, use postorder.
36194
ef06edbe
UD
36195 * posix/bug-regex31.c: New file.
36196 * posix/Makefile: Add rules to build and run bug-regex31.
36197
a129c80d
UD
36198 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
36199
36200 [BZ #12078]
36201 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
36202
b76b818e
UD
36203 [BZ #12108]
36204 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
36205 to have entries in sys_siglist.
36206
1751705d
UD
36207 [BZ #12093]
36208 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
36209 be NULL.
36210
9ff8d36f
JJ
362112010-10-07 Jakub Jelinek <jakub@redhat.com>
36212
36213 [BZ #3268]
36214 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
36215 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
36216 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
36217 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
36218 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
36219 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
36220 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
36221 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
36222 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
36223 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
36224 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
36225 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
36226 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
36227 * math/ftestexcept.c (fetestexcept): Likewise.
36228 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
36229 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
36230 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
36231 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
36232 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
36233 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
36234 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36235
af325969
UD
362362010-10-11 Ulrich Drepper <drepper@gmail.com>
36237
c579b202 36238 [BZ #12107]
af325969
UD
36239 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
36240 newline.
36241
67a67b95
UD
362422010-10-06 Ulrich Drepper <drepper@gmail.com>
36243
36244 * string/bug-strstr1.c: New file.
36245 * string/Makefile: Add rules to build and run bug-strstr1.
36246
5fb308bc
EB
362472010-10-05 Eric Blake <eblake@redhat.com>
36248
36249 [BZ #12092]
36250 * string/str-two-way.h (two_way_long_needle): Always clear memory
36251 when skipping input due to the shift table.
36252
45db99c7
UD
362532010-10-03 Ulrich Drepper <drepper@gmail.com>
36254
3b111893
UD
36255 [BZ #12005]
36256 * malloc/mcheck.c: Handle large requests.
36257
45db99c7
UD
36258 [BZ #12077]
36259 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
36260 for strncmp and strncasecmp.
36261 * string/stratcliff.c: Add tests for strcmp and strncmp.
36262 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
36263
cf7a1eb8
NI
362642010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36265
36266 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
36267 __set_fpscr.
36268
6484ba5e
AJ
362692010-09-30 Andreas Jaeger <aj@suse.de>
36270
36271 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
36272 (CGROUP_SUPER_MAGIC): Define.
36273 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36274 Handle btrfs and cgroup file systems.
36275 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36276 Likewise.
36277
91c42559
LM
362782010-09-27 Luis Machado <luisgpm@br.ibm.com>
36279
36280 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
36281 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
36282
87a97932
AK
362832010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36284
36285 [BZ #12067]
36286 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
36287 trying to locate the ELF header.
36288
c21cc9bc
AS
362892010-09-27 Andreas Schwab <schwab@redhat.com>
36290
36291 [BZ #11611]
36292 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
36293 Mask out sign-bit copies when constructing f_fsid.
36294
315970f6
PB
362952010-09-24 Petr Baudis <pasky@suse.cz>
36296
36297 * debug/stack_chk_fail_local.c: Add missing licence exception.
36298 * debug/warning-nop.c: Likewise.
36299
1ac7a2c7
JM
363002010-09-15 Joseph Myers <joseph@codesourcery.com>
36301
36302 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
36303 implementing getdents64 using getdents syscall, set d_type if
36304 __ASSUME_GETDENTS32_D_TYPE.
36305
56801c50
AS
363062010-09-16 Andreas Schwab <schwab@redhat.com>
36307
36308 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
36309 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
36310
dda51327
UD
363112010-09-21 Ulrich Drepper <drepper@redhat.com>
36312
36313 [BZ #12037]
36314 * posix/unistd.h: Undo change of feature selection for ftruncate from
36315 2010-01-11.
36316
8ffcee4a
UD
363172010-09-20 Ulrich Drepper <drepper@redhat.com>
36318
a545ecd9 36319 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
36320 detection.
36321
e24f0a8b
AS
363222010-09-20 Andreas Schwab <schwab@redhat.com>
36323
36324 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
36325 fanotify_mark.
36326 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36327
7291c56f
AS
363282010-09-14 Andreas Schwab <schwab@redhat.com>
36329
36330 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
36331 variables after CHECK_SP call.
36332 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
36333
bc5fb037
AS
363342010-09-13 Andreas Schwab <schwab@redhat.com>
36335 Ulrich Drepper <drepper@redhat.com>
36336
36337 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
36338 re-relocationg ld.so.
36339 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
36340 _dl_init_paths call.
36341 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
36342 here anymore.
36343
e66e7419
UD
363442010-09-14 Ulrich Drepper <drepper@redhat.com>
36345
36346 * resolv/res_init.c (__res_vinit): Count the default server we added.
36347
c044aa75
CLT
363482010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
36349 Ulrich Drepper <drepper@redhat.com>
36350
36351 [BZ #11968]
36352 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
36353 (____longjmp_chk): Use %ebx for saving value across system call.
36354 Add unwind info.
36355
32cf4069
AS
363562010-09-06 Andreas Schwab <schwab@redhat.com>
36357
36358 * manual/Makefile: Don't mix pattern rules with normal rules.
36359
817328ee
AS
363602010-09-05 Andreas Schwab <schwab@linux-m68k.org>
36361
36362 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
36363 operation.
36364 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
36365 * libio/iofopncook.c (_IO_cookie_init): Likewise.
36366 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
36367 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
36368 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36369 Likewise.
36370
29fddf61
UD
363712010-09-04 Ulrich Drepper <drepper@redhat.com>
36372
36373 [BZ #11979]
36374 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
36375 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
36376
0959ffc9
UD
363772010-09-02 Ulrich Drepper <drepper@redhat.com>
36378
36379 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
36380 * sysdeps/x86_64/addmul_1.S: Likewise.
36381 * sysdeps/x86_64/lshift.S: Likewise.
36382 * sysdeps/x86_64/mul_1.S: Likewise.
36383 * sysdeps/x86_64/rshift.S: Likewise.
36384 * sysdeps/x86_64/sub_n.S: Likewise.
36385 * sysdeps/x86_64/submul_1.S: Likewise.
36386
ece29840
ST
363872010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
36388
0959ffc9
UD
36389 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
36390 Define __sched_param instead of SCHED_* and sched_param when
ece29840 36391 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 36392 * bits/sched.h [__need_schedparam]
ece29840 36393 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
36394 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
36395 (__defined_schedparam): Define to 1.
ece29840
ST
36396 (__sched_param): New structure, identical to sched_param.
36397 (__need_schedparam): Undefine.
36398
e53a31fe
MF
363992010-08-31 Mike Frysinger <vapier@gentoo.org>
36400
fdc0c10d
MF
36401 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
36402 (epoll_create1): Declare.
36403
e53a31fe
MF
36404 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
36405
a726d796
AS
364062010-08-31 Andreas Schwab <schwab@redhat.com>
36407
36408 [BZ #7066]
36409 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
36410 shifting retval into place.
36411
2f3e3dc7
UD
364122010-09-01 Ulrich Drepper <drepper@redhat.com>
36413
f2933da9
UD
36414 * nis/rpcsvc/nis.h: Update copyright notice.
36415 * nis/rpcsvc/nis.x: Likewise.
36416 * nis/rpcsvc/nis_callback.h: Likewise.
36417 * nis/rpcsvc/nis_callback.x: Likewise.
36418 * nis/rpcsvc/nis_object.x: Likewise.
36419 * nis/rpcsvc/nis_tags.h: Likewise.
36420 * nis/rpcsvc/yp.h: Likewise.
36421 * nis/rpcsvc/yp.x: Likewise.
36422 * nis/rpcsvc/ypupd.h: Likewise.
36423 * nis/yp_xdr.c: Likewise.
36424 * nis/ypupdate_xdr.c: Likewise.
36425
2f3e3dc7
UD
36426 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
36427 mainly the body of pmap_getport. Add parameters to specify timeouts.
36428 (pmap_getport): Use __libc_rpc_getport.
36429 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
36430 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
36431 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
36432
f3dcc2f9
AS
364332010-08-31 Andreas Schwab <schwab@linux-m68k.org>
36434
36435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
36436 fanotify_mark.
36437
6d34eb5b
RM
364382010-08-27 Roland McGrath <roland@redhat.com>
36439
36440 * sysdeps/i386/i686/multiarch/Makefile
36441 (CFLAGS-varshift.c): New variable.
36442
9ea3de11
UD
364432010-08-27 Ulrich Drepper <drepper@redhat.com>
36444
c96d23fc
UD
36445 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
36446 * sysdeps/i386/i686/multiarch/varshift.c: New file.
36447
9ea3de11
UD
36448 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
36449
36450 * sysdeps/x86_64/strlen.S: Minimal code improvement.
36451
623aac7f
L
364522010-08-26 H.J. Lu <hongjiu.lu@intel.com>
36453
36454 * sysdeps/x86_64/strlen.S: Unroll the loop.
36455 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36456 strlen-sse2 strlen-sse2-bsf.
36457 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
36458 __strlen_no_bsf if bit_Slow_BSF is set.
36459 (__strlen_sse42): Removed.
36460 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
36461 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
36462
8b2b7715
RM
364632010-08-25 Roland McGrath <roland@redhat.com>
36464
36465 * sysdeps/x86_64/multiarch/varshift.S: File removed.
36466 * sysdeps/x86_64/multiarch/varshift.c: New file.
36467 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
36468 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
36469 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
36470 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36471
e73015f2
L
364722010-08-25 H.J. Lu <hongjiu.lu@intel.com>
36473
36474 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36475 strlen-sse2 strlen-sse2-bsf.
36476 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
36477 __strlen_sse2_bsf if bit_Slow_BSF is unset.
36478 (__strlen_sse2): Removed.
36479 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
36480 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
36481 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
36482 bit_Slow_BSF for Atom.
36483 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
36484 (index_Slow_BSF): Define.
36485 (HAS_SLOW_BSF): Define.
36486
df24a73e
UD
364872010-08-25 Ulrich Drepper <drepper@redhat.com>
36488
36489 [BZ #10851]
36490 * resolv/res_init.c (__res_vinit): When no server address at all
36491 is given default to loopback.
36492
f2ac4868
RM
364932010-08-24 Roland McGrath <roland@redhat.com>
36494
09055553
RM
36495 * configure.in: Remove config-name.h generation.
36496 * configure: Regenerated.
36497 * config-name.in: File removed.
36498 * scripts/config-uname.sh: New file.
36499 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
36500 ($(objdir)config-name.h): New target.
36501
f2ac4868
RM
36502 * sunrpc/rpc_parse.h: Avoid nested comment.
36503
73f27d5e
RH
365042010-08-24 Richard Henderson <rth@redhat.com>
36505 Ulrich Drepper <drepper@redhat.com>
36506 H.J. Lu <hongjiu.lu@intel.com>
36507
36508 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
36509 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
36510 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
36511 Replace _mm_srli_si128 with __m128i_shift_right. Replace
36512 _mm_alignr_epi8 with _mm_loadu_si128.
36513 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
36514 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
36515 (__m128i_shift_right): Removed.
36516 * sysdeps/i386/i686/multiarch/varshift.h: New file.
36517 * sysdeps/i386/i686/multiarch/varshift.S: New file.
36518 * sysdeps/x86_64/multiarch/varshift.h: New file.
36519 * sysdeps/x86_64/multiarch/varshift.S: New file.
36520
84b9230c
MF
365212010-08-21 Mike Frysinger <vapier@gentoo.org>
36522
36523 * configure.in: Move assembler checks to before sysdep dir checking.
36524
9bbd0ddc
PB
365252010-08-20 Petr Baudis <pasky@suse.cz>
36526
36527 * LICENSES: Sync the sunrpc license.
36528
9da4bb31
UD
365292010-08-19 Ulrich Drepper <drepper@redhat.com>
36530
a7ab6ec8
UD
36531 * sunrpc/auth_des.c: Update copyright notice once again.
36532 * sunrpc/auth_none.c: Likewise.
36533 * sunrpc/auth_unix.c: Likewise.
36534 * sunrpc/authdes_prot.c: Likewise.
36535 * sunrpc/authuxprot.c: Likewise.
36536 * sunrpc/bindrsvprt.c: Likewise.
36537 * sunrpc/clnt_gen.c: Likewise.
36538 * sunrpc/clnt_perr.c: Likewise.
36539 * sunrpc/clnt_raw.c: Likewise.
36540 * sunrpc/clnt_simp.c: Likewise.
36541 * sunrpc/clnt_tcp.c: Likewise.
36542 * sunrpc/clnt_udp.c: Likewise.
36543 * sunrpc/clnt_unix.c: Likewise.
36544 * sunrpc/des_crypt.c: Likewise.
36545 * sunrpc/des_soft.c: Likewise.
36546 * sunrpc/get_myaddr.c: Likewise.
36547 * sunrpc/getrpcport.c: Likewise.
36548 * sunrpc/key_call.c: Likewise.
36549 * sunrpc/key_prot.c: Likewise.
36550 * sunrpc/openchild.c: Likewise.
36551 * sunrpc/pm_getmaps.c: Likewise.
36552 * sunrpc/pm_getport.c: Likewise.
36553 * sunrpc/pmap_clnt.c: Likewise.
36554 * sunrpc/pmap_prot.c: Likewise.
36555 * sunrpc/pmap_prot2.c: Likewise.
36556 * sunrpc/pmap_rmt.c: Likewise.
36557 * sunrpc/rpc/auth.h: Likewise.
36558 * sunrpc/rpc/auth_unix.h: Likewise.
36559 * sunrpc/rpc/clnt.h: Likewise.
36560 * sunrpc/rpc/des_crypt.h: Likewise.
36561 * sunrpc/rpc/key_prot.h: Likewise.
36562 * sunrpc/rpc/netdb.h: Likewise.
36563 * sunrpc/rpc/pmap_clnt.h: Likewise.
36564 * sunrpc/rpc/pmap_prot.h: Likewise.
36565 * sunrpc/rpc/pmap_rmt.h: Likewise.
36566 * sunrpc/rpc/rpc.h: Likewise.
36567 * sunrpc/rpc/rpc_des.h: Likewise.
36568 * sunrpc/rpc/rpc_msg.h: Likewise.
36569 * sunrpc/rpc/svc.h: Likewise.
36570 * sunrpc/rpc/svc_auth.h: Likewise.
36571 * sunrpc/rpc/types.h: Likewise.
36572 * sunrpc/rpc/xdr.h: Likewise.
36573 * sunrpc/rpc_clntout.c: Likewise.
36574 * sunrpc/rpc_cmsg.c: Likewise.
36575 * sunrpc/rpc_common.c: Likewise.
36576 * sunrpc/rpc_cout.c: Likewise.
36577 * sunrpc/rpc_dtable.c: Likewise.
36578 * sunrpc/rpc_hout.c: Likewise.
36579 * sunrpc/rpc_main.c: Likewise.
36580 * sunrpc/rpc_parse.c: Likewise.
36581 * sunrpc/rpc_parse.h: Likewise.
36582 * sunrpc/rpc_prot.c: Likewise.
36583 * sunrpc/rpc_sample.c: Likewise.
36584 * sunrpc/rpc_scan.c: Likewise.
36585 * sunrpc/rpc_scan.h: Likewise.
36586 * sunrpc/rpc_svcout.c: Likewise.
36587 * sunrpc/rpc_tblout.c: Likewise.
36588 * sunrpc/rpc_util.c: Likewise.
36589 * sunrpc/rpc_util.h: Likewise.
36590 * sunrpc/rpcinfo.c: Likewise.
36591 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
36592 * sunrpc/rpcsvc/key_prot.x: Likewise.
36593 * sunrpc/rpcsvc/klm_prot.x: Likewise.
36594 * sunrpc/rpcsvc/mount.x: Likewise.
36595 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
36596 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
36597 * sunrpc/rpcsvc/rex.x: Likewise.
36598 * sunrpc/rpcsvc/rstat.x: Likewise.
36599 * sunrpc/rpcsvc/rusers.x: Likewise.
36600 * sunrpc/rpcsvc/sm_inter.x: Likewise.
36601 * sunrpc/rpcsvc/spray.x: Likewise.
36602 * sunrpc/rpcsvc/yppasswd.x: Likewise.
36603 * sunrpc/rtime.c: Likewise.
36604 * sunrpc/svc.c: Likewise.
36605 * sunrpc/svc_auth.c: Likewise.
36606 * sunrpc/svc_authux.c: Likewise.
36607 * sunrpc/svc_raw.c: Likewise.
36608 * sunrpc/svc_run.c: Likewise.
36609 * sunrpc/svc_simple.c: Likewise.
36610 * sunrpc/svc_tcp.c: Likewise.
36611 * sunrpc/svc_udp.c: Likewise.
36612 * sunrpc/svc_unix.c: Likewise.
36613 * sunrpc/svcauth_des.c: Likewise.
36614 * sunrpc/xcrypt.c: Likewise.
36615 * sunrpc/xdr.c: Likewise.
36616 * sunrpc/xdr_array.c: Likewise.
36617 * sunrpc/xdr_float.c: Likewise.
36618 * sunrpc/xdr_mem.c: Likewise.
36619 * sunrpc/xdr_rec.c: Likewise.
36620 * sunrpc/xdr_ref.c: Likewise.
36621 * sunrpc/xdr_sizeof.c: Likewise.
36622 * sunrpc/xdr_stdio.c: Likewise.
36623
9da4bb31
UD
36624 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
36625 handling.
36626
bdaa77bc
AS
366272010-08-19 Andreas Schwab <schwab@redhat.com>
36628
36629 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
36630
fe2f79db
LM
366312010-08-19 Luis Machado <luisgpm@br.ibm.com>
36632
36633 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
36634 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
36635 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
36636 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
36637 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
36638 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
36639 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
36640 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
36641 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
36642 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
36643 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
36644 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
36645 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
36646 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
36647
b9b42ee0
AB
366482010-07-26 Anton Blanchard <anton@samba.org>
36649
36650 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
36651 * malloc/arena.c (heap_trim): Likewise.
36652
1c06ba31
UD
366532010-08-16 Ulrich Drepper <drepper@redhat.com>
36654
36655 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
36656 here. Not...
36657 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
36658 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
36659
f8392f40
L
366602010-08-12 H.J. Lu <hongjiu.lu@intel.com>
36661
36662 * sysdeps/i386/elf/Makefile: New file.
36663
3162f12e
AS
366642010-08-14 Andreas Schwab <schwab@linux-m68k.org>
36665
36666 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
36667 from fanotify_init.
36668 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
36669 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36670
28c90b2c
UD
366712010-08-15 Ulrich Drepper <drepper@redhat.com>
36672
36673 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
36674 of strncasecmp_l.
1feccb6c 36675 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 36676
ca6bb004
UD
366772010-08-14 Ulrich Drepper <drepper@redhat.com>
36678
e9f82e0d
UD
36679 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36680 strncase_l-nonascii.
36681 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36682 Add strncase_l-ssse3.
36683 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
36684 * sysdeps/x86_64/strcmp.S: Likewise.
36685 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
36686 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
36687 * sysdeps/x86_64/strncase.S: New file.
36688 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
36689 * sysdeps/x86_64/strncase_l.S: New file.
36690 * string/Makefile (strop-tests): Add strncasecmp.
36691 * string/test-strncasecmp.c: New file.
36692
36693 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
36694 warning.
36695
ca6bb004
UD
36696 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
36697 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
36698
052fa7b3
AS
366992010-08-14 Andreas Schwab <schwab@linux-m68k.org>
36700
36701 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
36702
962dba78
UD
367032010-08-12 Ulrich Drepper <drepper@redhat.com>
36704
36705 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
36706 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
36707 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
36708
bebff237
AM
367092010-05-01 Alan Modra <amodra@gmail.com>
36710
36711 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
36712 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
36713 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
36714 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
36715 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
36716 tidying. Don't tail-call __sigjmp_save for static lib.
36717 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
36718 save location.
36719 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
36720 (CALL_MCOUNT): Add eh info, and nop after bl.
36721 (TAIL_CALL_SYSCALL_ERROR): New macro.
36722 (PSEUDO_RET): Use it.
36723 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
36724 Correct save location of integer regs and cr.
36725 (_dl_profile_resolve): Correct cr save location. Delete nops
36726 after bl when SHARED. Reduce cfi size a little by better
36727 placement of cfi directives.
36728 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
36729 make a stack frame. Instead use parm save area as a temp.
36730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
36731 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
36732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
36733 Don't make a stack frame for parent, use parm save area.
36734 Increase child stack frame to 112 bytes. Don't save unused reg,
36735 and adjust reg usage. Set up cfi on error recovery and
36736 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
36737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36738 (__makecontext): Add dummy nop after jump to exit.
36739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
36740 Use correct parm save area and cr save, reduce stack frame.
36741 Correct cfi for possible PSEUDO_RET frame setup.
36742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
36743 Branch to local label emitted by PSEUDO_RET rather than
36744 __syscall_error.
36745
02637374
AS
367462010-08-12 Andreas Schwab <schwab@redhat.com>
36747
36748 [BZ #11904]
36749 * locale/programs/locale.c (print_assignment): New function.
36750 (show_locale_vars): Use it.
36751
c3e2f19b
UD
367522010-08-11 Ulrich Drepper <drepper@redhat.com>
36753
3cdaa6ad
UD
36754 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
36755 field.
36756 (struct statfs64): Likewise.
36757 (_STATFS_F_FLAGS): Define.
36758 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
36759 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36760 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
36761 (ST_VALID): Define locally.
36762 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
36763 __statvfs_getflags, use the provided value.
36764 * sysdeps/unix/sysv/linux/kernel-features.h: Define
36765 __ASSUME_STATFS_F_FLAGS.
36766
754f7da3
UD
36767 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
36768
10b3bedc
UD
36769 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
36770 Add sys/fanotify.h.
36771 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
36772 fanotify_mask for GLIBC_2.13.
36773 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
36774 fanotify_init and fanotify_mark.
36775 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36776 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
36777
c08fb0d7
UD
36778 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
36779 Add prlimit.
36780 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
36781 prlimit64 for GLIBC_2.13.
36782 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
36783 prlimit64.
36784 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
36785 syscall.
36786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
36787 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36788 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
36789 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
36790 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
36791 add prlimit alias.
36792 * sysdeps/unix/sysv/linux/prlimit.c: New file.
36793
15bac72b
UD
36794 [BZ #11903]
36795 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
36796 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
36797
c3e2f19b
UD
36798 * nss/Makefile: Add rules to build and run tst-nss-test1.
36799 * shlib-versions: Add entry for libnss_test1.
36800 * nss/nss_test1.c: New file.
36801 * nss/tst-nss-test1.c: New file.
36802
36803 * nss/nsswitch.c (__nss_database_custom): Define new variable.
36804 (__nss_configure_lookup): Set appropriate entry in
36805 __nss_configure_lookup to true.
36806 * nss/nsswitch.h: Define enum with indeces of databases in
36807 databases and __nss_database_custom arrays. Declare
36808 __nss_database_custom.
36809 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
36810 to avoid using nscd when custom rules are installed.
36811 * nss/getXXbyYY_r.c: Likewise.
36812 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
36813
36814 * nss/nss_files/files-parse.c: Whitespace fixes.
36815
f15ce4d8
UD
368162010-08-09 Ulrich Drepper <drepper@redhat.com>
36817
36818 [BZ #11883]
36819 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
36820 * posix/fnmatch_loop.c: Likewise.
36821
d22e4cc9
AK
368222010-07-17 Andi Kleen <ak@linux.intel.com>
36823
36824 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
36825 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
36826 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
36827 * Versions.def [GLIBC_2.13]: Add.
36828
805bc17d
UD
368292010-08-06 Ulrich Drepper <drepper@redhat.com>
36830
36831 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36832 Also fail if tpwd after pwuid call is NULL.
36833
5a42321d
ST
368342010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
36835
36836 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
36837 when converting to ms.
36838
fd3ebeda
ST
368392010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
36840
36841 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
36842 EOPNOTSUPP errors with ENOTTY.
36843 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
36844 EOPNOTSUPP errors with ENOTTY.
36845
73507d3a
UD
368462010-07-31 Ulrich Drepper <drepper@redhat.com>
36847
36848 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36849 Add strcasecmp_l-ssse3.
36850 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
36851 strcasecmp.
36852 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
36853 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
36854 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
36855
fe36dd02
UD
368562010-07-30 Ulrich Drepper <drepper@redhat.com>
36857
66f6765a
UD
36858 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
36859
42e08a54
UD
36860 * string/Makefile (strop-tests): Add strcasecmp.
36861 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36862 strcasecmp_l-nonascii.
36863 (gen-as-const-headers): Add locale-defines.sym.
36864 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
36865 * sysdeps/x86_64/strcasecmp.S: New file.
36866 * sysdeps/x86_64/strcasecmp_l.S: New file.
36867 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
36868 * sysdeps/x86_64/locale-defines.sym: New file.
36869 * string/test-strcasecmp.c: New file.
36870
fe36dd02
UD
36871 * string/test-strcasestr.c: Test both ends of the range of characters.
36872 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
36873
48cbc0d6
RM
368742010-07-29 Roland McGrath <roland@redhat.com>
36875
76e6d6bc 36876 [BZ #11856]
48cbc0d6
RM
36877 * manual/locale.texi (Yes-or-No Questions): Fix example code.
36878
880113d9
UD
368792010-07-27 Ulrich Drepper <drepper@redhat.com>
36880
36881 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
36882 for ld.so.
36883
deb9cabb
AS
368842010-07-27 Andreas Schwab <schwab@redhat.com>
36885
36886 * manual/memory.texi (Malloc Tunable Parameters): Document
36887 M_PERTURB.
36888
1c7570ff
RM
368892010-07-26 Roland McGrath <roland@redhat.com>
36890
36891 [BZ #11840]
36892 * configure.in (-fgnu89-inline check): Set and substitute
36893 gnu89_inline, not libc_cv_gnu89_inline.
36894 * configure: Regenerated.
36895 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
36896
24fb0f88
UD
368972010-07-26 Ulrich Drepper <drepper@redhat.com>
36898
36899 * string/test-strnlen.c: New file.
36900 * string/Makefile (strop-tests): Add strnlen.
36901 * string/tester.c (test_strnlen): Add a few more test cases.
36902 * string/tst-strlen.c: Better error reporting.
36903
36904 * sysdeps/x86_64/strnlen.S: New file.
36905
8e96b93a
UD
369062010-07-24 Ulrich Drepper <drepper@redhat.com>
36907
36908 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
36909 lower-latency instructions.
36910
dbc676d4
UD
369112010-07-23 Ulrich Drepper <drepper@redhat.com>
36912
36913 * string/test-strcasestr.c: New file.
36914 * string/test-strstr.c: New file.
36915 * string/Makefile (strop-tests): Add strstr and strcasestr.
36916 * string/str-two-way.h: Don't undefine MAX.
36917 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
36918
f6a31e0e
AS
369192010-07-21 Andreas Schwab <schwab@redhat.com>
36920
36921 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36922 strcasestr-nonascii.
36923 (CFLAGS-strcasestr-nonascii.c): Define.
36924 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
36925 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
36926 Remove unused attribute.
36927
5dbc3b6c
RM
369282010-07-20 Roland McGrath <roland@redhat.com>
36929
36930 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
36931 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
36932 ld.so.cache was broken. With it, there is no way to disable dsocaps
36933 like LD_HWCAP_MASK can disable hwcaps.
36934
23d101d8
EPM
369352010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
36936
36937 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
36938
cc9f2e47
UD
369392010-07-16 Ulrich Drepper <drepper@redhat.com>
36940
36941 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
36942 call in strcasestr.
36943 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
36944 __strcasestr_sse42_nonascii.
36945 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
36946 strcasestr-nonascii.c.
36947 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
36948
77c1b069
LM
369492010-06-15 Luis Machado <luisgpm@br.ibm.com>
36950
36951 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
36952 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
36953 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
36954 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
36955
440566c3
UD
369562010-07-09 Ulrich Drepper <drepper@redhat.com>
36957
36958 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
36959 fcntl.
36960
5be9d05d
AS
369612010-07-06 Andreas Schwab <schwab@redhat.com>
36962
c30b7ee2 36963 [BZ #11577]
5be9d05d
AS
36964 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
36965 dl_signal_cerror.
36966
8a492a67
UD
369672010-07-06 Ulrich Drepper <drepper@redhat.com>
36968
36969 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
36970 _PC_PIPE_BUF using F_GETPIPE_SZ.
36971
713df3d5
RM
369722010-07-05 Roland McGrath <roland@redhat.com>
36973
36974 * manual/arith.texi (Rounding Functions): Fix rint description
36975 implicit in round description.
36976
702e8f14
UD
369772010-07-02 Ulrich Drepper <drepper@redhat.com>
36978
36979 * elf/Makefile: Fix linking for a few tests to make recent linker
36980 happy.
36981
52ed8be9
AS
369822010-06-30 Andreas Schwab <schwab@redhat.com>
36983
36984 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
36985 $(common-objpfx)libc_nonshared.a.
36986
f47c9a11
LM
369872010-06-21 Luis Machado <luisgpm@br.ibm.com>
36988
36989 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
36990 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
36991 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
36992 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
36993 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
36994 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
36995 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
36996 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
36997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
36998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
36999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
37000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
37002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
37004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
37005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
37006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
37007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
37009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
37011 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
37012 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
37013 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
37014 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
37015 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
37016 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
37017 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
37018 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
37019 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
37020 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
37021 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
37022 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
37023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
37024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
37025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
37026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
37027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
37028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
37029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
37030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
37031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
37032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
37033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
37034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
37035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
37036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
37037
6fb8cbcb
L
370382010-06-25 H.J. Lu <hongjiu.lu@intel.com>
37039
37040 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
37041 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
37042 * string/memmove.c (memmove): Renamed to ...
37043 (MEMMOVE): ...this. Default to memmove.
37044 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
37045 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
37046 (END_CHK): Define.
37047 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37048 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
37049 mempcpy-ssse3-back memmove-ssse3-back.
37050 * sysdeps/x86_64/multiarch/bcopy.S: New file .
37051 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
37052 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
37053 * sysdeps/x86_64/multiarch/memcpy.S: New file.
37054 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
37055 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
37056 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
37057 * sysdeps/x86_64/multiarch/memmove.c: New file.
37058 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
37059 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
37060 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
37061 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
37062 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
37063 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
37064 Define.
37065 (index_Fast_Copy_Backward): Define.
37066 (HAS_ARCH_FEATURE): Define.
37067 (HAS_FAST_REP_STRING): Define.
37068 (HAS_FAST_COPY_BACKWARD): Define.
37069
4e733bac 370702010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
37071
37072 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37073 Restore proper fallback handling.
37074
63c4ed22
UD
370752010-06-19 Ulrich Drepper <drepper@redhat.com>
37076
ac2b484c
UD
37077 [BZ #11701]
37078 * posix/group_member.c (__group_member): Correct checking loop.
37079
63c4ed22
UD
37080 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
37081 OOM in getpwuid_r correctly. Return error number when the caller
37082 should return, otherwise -1.
37083 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
37084 call returning > 0 value.
37085 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
37086
765ade4b
AS
370872010-06-07 Andreas Schwab <schwab@redhat.com>
37088
37089 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
37090 libc_nonshared.a from targets in modules-names.
37091
80da2e09
KS
370922010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
37093
37094 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
37095 requires it.
37096
158db122
LM
370972010-06-10 Luis Machado <luisgpm@br.ibm.com>
37098
37099 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
37100 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
37101 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
37102 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
37103
caa78cf8
AS
371042010-06-02 Andreas Schwab <schwab@redhat.com>
37105
37106 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
37107
b2ef2c01
UD
371082010-06-14 Ulrich Drepper <drepper@redhat.com>
37109
37110 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
37111 and F_GETPIPE_SZ.
37112 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37113 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37114 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37115 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37116 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37117 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
37118
fbd643b6
RM
371192010-06-14 Roland McGrath <roland@redhat.com>
37120
37121 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
37122
f32f2869
JJ
371232010-06-07 Jakub Jelinek <jakub@redhat.com>
37124
37125 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
37126 __REDIRECT followed by __THROW.
37127 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
37128 * posix/getopt.h (getopt): Likewise.
37129
2a50c078
EPM
371302010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37131
37132 * hurd/lookup-at.c (__file_name_lookup_at): Accept
37133 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
37134 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
37135 in AT_FLAGS.
37136 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
37137 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
37138
eb5ad2eb
LM
371392010-05-28 Luis Machado <luisgpm@br.ibm.com>
37140
37141 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
37142
3c88fe1e
L
371432010-05-26 H.J. Lu <hongjiu.lu@intel.com>
37144
37145 [BZ #11640]
37146 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37147 Properly check family and model.
37148
d2f73151
TY
371492010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
37150
37151 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
37152
ebd2e13d
LM
371532010-05-24 Luis Machado <luisgpm@br.ibm.com>
37154
37155 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
37156
b32b8b45
UD
371572010-05-21 Ulrich Drepper <drepper@redhat.com>
37158
37159 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
37160 symbol reference.
37161
9acbe24d
AS
371622010-05-19 Andreas Schwab <schwab@redhat.com>
37163
37164 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
37165 symbol reference.
37166
f0ccf6ea
AS
371672010-05-21 Andreas Schwab <schwab@redhat.com>
37168
3d04ff3a
AS
37169 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
37170 and internal_recvmmsg.
37171 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
37172 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
37173 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
37174 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
37175
f0ccf6ea
AS
37176 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
37177 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
37178 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
37179
5b08ac57
AS
371802010-05-20 Andreas Schwab <schwab@redhat.com>
37181
37182 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
37183
4828935d
LM
371842010-05-17 Luis Machado <luisgpm@br.ibm.com>
37185
37186 POWER7 optimizations.
37187 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
37188 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
37189
373d545e
UD
371902010-05-19 Ulrich Drepper <drepper@redhat.com>
37191
37192 * version.h: Update for 2.13 development version.
37193
21a2b1ae
AS
371942010-05-12 Andrew Stubbs <ams@codesourcery.com>
37195
37196 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
37197 exceptions. Return 0.
37198
3f7dcb2b
RM
371992010-05-07 Roland McGrath <roland@redhat.com>
37200
37201 * elf/ldconfig.c (main): Add a const.
37202
5f24d53a 372032010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 37204
a160f8d8
UD
37205 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
37206 (args_options): Add no-idn option.
37207 (ahosts_keys_int): Add idn_flags to ai_flags.
37208 (parse_option): Handle 'i' option to clear idn_flags.
37209
5f24d53a
UD
37210 * malloc/malloc.c (_int_free): Possible race in the most recently
37211 added check. Only act on the data if no current modification
37212 happened.
265bb1ce
UD
37213
37214See ChangeLog.17 for earlier changes.