]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
PowerPC: multiarch strncasecmp for PowerPC64
[thirdparty/glibc.git] / ChangeLog
CommitLineData
1c92d9a0
AZ
12013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
3 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
4 multiarch implementations.
5 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6 (__libc_ifunc_impl_list): Likewise.
7 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
8 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
9 strncasecmp for PPC64.
10 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
11 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12 multiarch strncasecmp_l for PPC64.
13
17de3ee3
AZ
142013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15
16 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
17 multiarch implementations.
18 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19 (__libc_ifunc_impl_list): Likewise.
20 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
21 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
22 multiarch strcasecmp for PPC64.
23 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
24 file.
25 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
26 multiarch strcasecmp_l for PPC64.
27
62982bf9
AZ
282013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29
30 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
31 implementations.
32 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33 (__libc_ifunc_impl_list): Likewise.
34 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
35 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
36 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
37 strnlen for PPC64.
38
a65f4904
AZ
392013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40
41 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
42 implementations.
43 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44 (__libc_ifunc_impl_list): Likewise.
45 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
46 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
47 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
48 strlen for PPC64.
49
1fd005ad
AZ
502013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51
52 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
53 implementations.
54 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55 (__libc_ifunc_impl_list): Likewise.
56 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
57 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
58 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
59 rawmemrchr for PPC64.
60
cd05ba91
AZ
612013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62
63 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
64 implementation.
65 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
66 (__libc_ifunc_impl_list): Likewise.
67 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
68 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
69 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
70 memrchr for PPC64.
71
870f8676
AZ
722013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
73
74 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
75 implementation.
76 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
77 (__libc_ifunc_impl_list): Likewise.
78 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
79 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
80 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
81 memchr for PPC64.
82
f00be62b
AZ
832013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
84
85 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
86 implementation.
87 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
88 (__libc_ifunc_impl_list): Likewise.
89 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
90 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
91 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
92 mempcpy for PPC64.
93
8a29a3d0
AZ
942013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
95
96 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
97 avoid cretion of __bzero symbol.
98 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
99 Likewise.
100 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
101 Likewise.
102 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
103 Likewise.
104 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
105 multiarch implementations.
106 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
107 (__libc_ifunc_impl_list): Likewise.
108 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
109 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
110 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
111 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
112 bzero for PPC32.
113 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
114 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
115 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
116 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
117 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
118 memset for PPC64.
119 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
120
07253fcf
AZ
1212013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
122
123 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
124 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
125 implementations.
126 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
127 (__libc_ifunc_impl_list): Likewise.
128 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
129 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
130 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
131 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
132 memcmp for PPC64.
133
b5beafbc
AZ
1342013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
135
136 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
137 multiarch for POWER/PPC64.
138 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
139 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
140 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
141 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
142 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
143 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
144 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
145 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
146 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
147 memcpy for PPC64.
148
5e6a4d4b
AZ
1492013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
150
151 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
152 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
153 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
154 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
155 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
156 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
157 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
158 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
159 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
160 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
161 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
162 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
163 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
164 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
165 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
173
ddfab6dc
KK
1742013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
175
176 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
177
19b5525e
SP
1782013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
179
180 * benchtests/Makefile (bench): Add exp2 and log2.
181 (LDLIBS-bench-exp2): Add -lm.
182 (LDLIBS-bench-log2): Likewise.
183 * benchtests/exp2-inputs: New inputs file.
184 * benchtests/log2-inputs: New inputs file.
185 * benchtests/log-inputs: Add new inputs.
186 * benchtests/tan-inputs: Likewise.
187
196f7f5d
SP
1882013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
189
7a74607f
SP
190 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
191 definition...
192 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
193 csloww1, csloww2): ... from here.
194
196f7f5d
SP
195 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
196 instead of structures.
197 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
198 (POLYNOMIAL): Likewise.
199 (TAYLOR_SLOW): Likewise.
200 (__sin): Likewise.
201 (__cos): Likewise.
202 (slow1): Likewise.
203 (slow2): Likewise.
204 (sloww): Likewise.
205 (sloww1); Likewise.
206 (sloww2): Likewise.
207 (bsloww1): Likewise.
208 (bsloww2): Likewise.
209 (cslow2): Likewise.
210 (csloww): Likewise.
211 (csloww1): Likewise.
212 (csloww2): Likewise.
213
0dfa665c
OB
2142013-12-10 Ondřej Bílka <neleai@seznam.cz>
215
216 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
217 (__malloc_assert, __libc_realloc, __libc_calloc,
218 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
219 memcpy and memset.
220 * malloc/hooks.c (realloc_check): Likewise.
221
5782a80f
OB
2222013-12-10 Ondřej Bílka <neleai@seznam.cz>
223
224 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
225 * malloc/arena.c: Remove PER_THREAD conditional.
226 [!PER_THREAD]: Remove code.
227 (ptmalloc_unlock_all2): Likewise.
228 (ptmalloc_init): Likewise.
229 (_int_new_arena): Likewise.
230 (arena_get2): Likewise.
231 * malloc/hooks.c (__malloc_get_state): Likewise.
232 (__malloc_set_state): Likewise.
233 * malloc/malloc.c: Likewise.
234 (struct malloc_state): Likewise.
235 (struct malloc_par): Likewise.
236 (__libc_realloc): Likewise.
237 (__libc_mallopt): Likewise.
238
aeb95445
AZ
2392013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
240
241 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
242
e8349efd
OB
2432013-12-09 Ondřej Bílka <neleai@seznam.cz>
244
245 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
246 macro to a function. Check for zero perturb_byte.
247 (_int_malloc, _int_free): Remove zero perturb_byte checks.
248
f3eeb3fc
OB
2492013-12-09 Ondřej Bílka <neleai@seznam.cz>
250
251 * malloc/malloc.c: (force_reg): Remove.
252 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
253 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
254 force_reg by atomic_forced_read.
255 * malloc/arena.c (ptmalloc_init): Likewise.
256 * malloc/hooks.c (top_check): Likewise.
257
be2f9009
AZ
2582013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
259
260 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
261
e7b914bd
MT
2622013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
263
264 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
265
9f0be4f8
JM
2662013-12-08 Joseph Myers <joseph@codesourcery.com>
267
268 * math/auto-libm-test-in: Add tests of lgamma.
269 * math/auto-libm-test-out: Regenerated.
270 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
271 (M_LOG_2_SQRT_PIl): Likewise.
272 (lgamma_test_data): Use AUTO_TESTS_f_f1.
273 * math/gen-auto-libm-tests.c (func_calc_method): Add value
274 mpfr_f_f1.
275 (func_calc_desc): Add mpfr_f_f1 union field.
276 (ARGS1): New macro.
277 (ARGS2): Likewise.
278 (ARGS3): Likewise.
279 (ARGS4): Likewise.
280 (RET1): Likewise.
281 (RET2): Likewise.
282 (CALC): Likewise.
283 (FUNC): Likewise.
284 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
285 (test_functions): Add lgamma.
286 (calc_generic_results): Handle mpfr_f_f1.
287 * sysdeps/i386/fpu/libm-test-ulps: Update.
288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
289
24eeafdb
AZ
2902013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
291
292 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
293 __mpn_add_n for PowerPC64/POWER7.
294 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
295 __mpn_sub_n for PowerPC64/POWER7.
296
4a2c0fd4
AZ
2972013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
298
299 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
300 __mpn_addmul_1 for PowerPC64.
301 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
302 __mpn_submul_1 for PowerPC64.
303 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
304 for PowerPC64.
305 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
306 for PowerPC64.
307
4b5b548c
FS
3082013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
309
310 [BZ #15089]
311 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
312
0a3ac0aa
AZ
3132013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
314
315 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
316
ccdc8438
AZ
3172013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
318
319 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
320 add multiarch folders.
321 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
322 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
323 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
324 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
325 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
326 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
327 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
328 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
329 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
330 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
331 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
338
2e973d99
AZ
3392013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
340
341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
342 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
344 New file.
345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
346 New file.
347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
348 multiarch __ieee754_hypot for PowerPC32.
349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
350 New file.
351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
352 New file.
353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
354 multiarch __ieee754_hypotf for PowerPC32.
355
2d9470b2
AZ
3562013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
357
358 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
359 long_double_symbol only if __logbl is defined.
360 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
361 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
362 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
363 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
364 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
365 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
366 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
367 path for implementation.
368 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
369 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
371 logb, and logbl multiarch implementations for PowerPC32.
372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
373 file.
374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
375 file.
376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
377 multiarch logb for PowerPC32.
378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
379 file.
380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
381 file.
382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
383 multiarch logbf for PowerPC32.
384 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
386 file.
387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
388 multiarch logbl implementation for PowerPC32.
389
5212ffce
AZ
3902013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
391
392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
393 and modff multiarch implementations.
394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
395 New file.
396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
397 New file.
398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
399 multiarch modf for PowerPC32.
400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
401 New file.
402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
403 New file.
404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
405 multiarch modff for PowerPC32.
406
79dccf31
AZ
4072013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
408
409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
410 and lrintf multiarch implementations.
411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
412 New file.
413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
414 New file.
415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
416 multiarch lrint for PowerPC32.
417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
418 file: multiarch lrintf for PowerPC32.
419
deb66480
AZ
4202013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
421
422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
423 and lroundf multiarch implementations.
424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
425 New file.
426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
427 New file.
428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
429 New file.
430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
431 multiarch lround for PowerPC32.
432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
433 file: multiarch lroundf for PowerPC32.
434
264b036b
AZ
4352013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
436
437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
438 copysign and copysignf multiarch implementations.
439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
440 New file.
441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
442 New file.
443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
444 file: multiarch copysign for PowerPC32.
445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
446 file: multiarch copysignf for PowerPC32.
447
d47db6c9
AZ
4482013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449
450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
451 and truncf multiarch implementations.
452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
453 New file.
454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
455 file.
456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
457 multiarch trunc for PowerPC32.
458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
459 New file.
460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
461 New file.
462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
463 multiarch truncf for PowerPC32.
464
ddb60b5a
AZ
4652013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
466
467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
468 and roundf multiarch implementations.
469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
470 New file.
471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
472 file.
473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
474 multiarch round for PowerPC32.
475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
476 New file.
477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
478 New file.
479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
480 multiarch roundf for PowerPC32.
481
bedcf49b
AZ
4822013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
483
484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
485 and floorf multiarch implementations.
486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
487 New file.
488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
489 file.
490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
491 multiarch floor for PowerPC32.
492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
493 New file.
494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
495 New file.
496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
497 multiarch floorf for PowerPC32.
498
35ae5b40
AZ
4992013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
500
501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
502 and ceilf multiarch implementations.
503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
504 New file.
505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
506 file.
507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
508 multiarch ceil for PowerPC32.
509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
510 New file.
511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
512 file.
513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
514 multiarch ceilf for PowerPC32.
515
ae1a4cd9
AZ
5162013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
517
518 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
519 is defined.
520 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
521 FINITEF is defined.
522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
523 and finitef multiarch implementations.
524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
525 New file.
526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
527 file.
528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
529 multiarch finite for PowerPC32.
530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
531 New file.
532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
533 file: multiarch finitef for PowerPC32.
534
64fffd65
AZ
5352013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
536
537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
538 and isinff multiarch implementations.
539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
540 file.
541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
542 file.
543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
544 multiarch isinf for PowerPC32.
545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
546 New file.
547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
548 multiarch isinff for PowerPC32.
549
8e4e7ba2
AZ
5502013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
551
552 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
553 alias when __isnan is defined.
554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
555 and isnanf multiarch implementations.
556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
557 file.
558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
559 file.
560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
561 file.
562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
563 file.
564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
565 multiarch isnan for PowerPC32.
566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
567 New file.
568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
569 New file.
570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
571 multiarch isnanf for PowerPC32.
572
ddba588e
AZ
5732013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
574
575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
576 and sqrtf multiarch implementations.
577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
578 file.
579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
580 file.
581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
582 multiarch sqrt for PowerPC32.
583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
584 file.
585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
586 file.
587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
588 multiarch sqrtf for PowerPC32.
589
0f96a2f0
AZ
5902013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
591
592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
593 and llroundf multiarch implementations.
594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
595 New file.
596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
597 New file.
598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
599 New file.
600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
601 file: multiarch llround for PowerPC32.
602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
603 file: multiarch llroundf for PowerPC32.
604
c9b5d79e
AZ
6052013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
606
607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
608 multiarch PowerPC32 fpu implementations.
609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
610 New file.
611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
612 New file.
613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
614 multiarch llrint for PowerPC32.
615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
616 New file.
617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
618 New file.
619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
620 file.
621
9cbb3aab
AZ
6222013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
623
624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
625
ea5a72f8
AZ
6262013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
627
628 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
629 file.
630 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
631 file.
632 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
633 file.
634 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
635 multiarch wordcopy for PPC32.
636 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
637 wordcopy objects.
638 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
639 (__libc_ifunc_impl_list): Likewise.
640 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
641 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
642 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
643 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
644 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
645 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
646
93be09e7
AZ
6472013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
648
649 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
650 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
651 file.
652 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
653 file.
654 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
655 file.
656 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
657 multiarch wcscpy for PPC32.
658 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
659 multiarch objects.
660 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
661 (__libc_ifunc_impl_list): Likewise.
662 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
663 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
664 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
665 sysdeps/powerpc/power6/wcscpy.c.
666
bb04e529
AZ
6672013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
668
669 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
670 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
671 file.
672 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
673 file.
674 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
675 file.
676 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
677 multiarch wcsrchr for PPC32.
678 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
679 multiarch objects.
680 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
681 (__libc_ifunc_impl_list): Likewise.
682 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
683 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
684 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
685 sysdeps/powerpc/power6/wcsrchr.c.
686
05b5cd1c
AZ
6872013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
688
689 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
690 file.
691 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
692 file.
693 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
694 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
695 multiarch wcschr for PPc32.
696 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
697 multiarch objects.
698 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
699 (__libc_ifunc_impl_list): Likewise.
700 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
701 * sysdeps/powerpc/power6/wcschr.c: ... to here.
702 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
703 sysdeps/powerpc/power6/wcschr.c.
704
ba964147
AZ
7052013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
706
707 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
708 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
709 file.
710 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
711 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
712 file: multiarch strchr for PPC32.
713 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
714 multiarch objects.
715 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
716 (__libc_ifunc_impl_list): Likewise.
717
31c81aaa
AZ
7182013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
719
720 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
721 name.
722 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
723 file.
724 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
725 file.
726 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
727 multiarch strchrnul for PPC32.
728 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
729 multiarch objects.
730 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
731 (__libc_ifunc_impl_list): Likewise.
732
0d0607d9
AZ
7332013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
734
735 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
736 file.
737 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
738 multiarch strncasecmp for PPC32.
739 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
740 file.
741 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
742 multiarch strncasecmp_l for PPC32.
743 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
744 strncasecmp multiarch objects.
745 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
746 (__libc_ifunc_impl_list): Likewise.
747
4dfd5c86
AZ
7482013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
749
750 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
751 file.
752 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
753 multiarch strncasecmp for PPC32.
754 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
755 New file.
756 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
757 multiarch strcasecmp_l for PPC32.
758 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
759 multiarch objects.
760 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
761 (__libc_ifunc_impl_list): Likewise.
762
a19e01a3
AZ
7632013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
764
765 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
766 file.
767 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
768 file.
769 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
770 multiarch strncmp for PPC32.
771 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
772 multiarch objects.
773 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
774 (__libc_ifunc_impl_list): Likewise.
775
ae9cf7a2
AZ
7762013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
777
778 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
779 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
780 file.
781 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
782 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
783 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
784 multiarch objects.
785 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
786 (__libc_ifunc_impl_list): Likewise.
787
3148bb7d
AZ
7882013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
789
790 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
791 file.
792 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
793 file.
794 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
795 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
796 multiarch objects.
797 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
798 (__libc_ifunc_impl_list): Likewise.
799
7af8b946
AZ
8002013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
801
802 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
803 file.
804 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
805 file.
806 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
807 multiarch rawmemchr for PPC32.
808 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
809 multiarch objects.
810 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
811 (__libc_ifunc_impl_list): Likewise.
812
03a6aa6a
AZ
8132013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
814
815 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
816 file.
817 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
818 file.
819 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
820 file: memrchr multiarch for PPC32.
821 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
822 multiarch objects.
823 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
824 (__libc_ifunc_impl_list): Likewise.
825
1c62e6d9
AZ
8262013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
827
828 * string/memchr.c (__memchr): Using macro to redefine symbol name.
829 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
830 file.
831 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
832 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
833 multiarch memchr for PPC32.
834 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
835 multiarch objects.
836 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
837 (__libc_ifunc_impl_list): Likewise.
838
87da8bdb
AZ
8392013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
840
841 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
842 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
843 file.
844 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
845 file.
846 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
847 file: multiarch mempcpy for PPC32.
848 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
849 multiarch objects.
850 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
851 (__libc_ifunc_impl_list): Likewise.
852
20ed4714
AZ
8532013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
854
855 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
856 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
857 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
858 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
859 multiarch bzero for PPC32.
860 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
861 file.
862 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
863 file.
864 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
865 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
866 file: multiarch memset for PPC32.
867 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
868 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
869 memset multiarch objects.
870 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
871 (__libc_ifunc_impl_list): Likewise.
872
ab3e3a46
AZ
8732013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
874
875 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
876 file.
877 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
878 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
879 memcmp for PPC32.
880 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
881 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
882 multiarch objects.
883 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
884 (__libc_ifunc_impl_list): Likewise.
885
930de6f0
AZ
8862013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
887
888 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
889 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
890 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
891 file.
892 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
893 file.
894 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
895 file.
896 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
897 multiarch memcpy for PPC32.
898 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
899 multiarch objects.
900 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
901 (__libc_ifunc_impl_list): Likewise.
902
4c628e00
AZ
9032013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
904
905 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
906 support multiarch for POWER/PPC32.
907 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
908 Likewise.
909 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
911 Implies file to make multiarch folder appers before the fpu and
912 default folder for power4 configuration.
913
f4479220
SP
9142013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
915
916 * scripts/bench.pl: Append volatile keyword to type.
917
8517800f
KK
9182013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
919
920 * sysdeps/sh/sotruss-lib.c: New file.
921 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
922
180138f1
AZ
9232013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
924
925 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
926
bbf37bdc
JM
9272013-12-05 Joseph Myers <joseph@codesourcery.com>
928
e47cc4e0
JM
929 [BZ #6810]
930 * math/w_tgamma.c: Include <errno.h>.
931 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
932 * math/w_tgammaf.c: Include <errno.h>.
933 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
934 * math/w_tgammal.c: Include <errno.h>.
935 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
936 * math/auto-libm-test-in: Do not allow missing errno on tgamma
937 underflow. Add more tgamma tests.
938 * math/auto-libm-test-out: Regenerated.
939 * sysdeps/i386/fpu/libm-test-ulps: Update.
940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
941
bbf37bdc
JM
942 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
943 sin, sinh, tan, tanh, tgamma, y0 and y1.
944 * math/auto-libm-test-out: Regenerated.
945 * math/libm-test.inc (TEST_COND_x86_64): New macro.
946 (TEST_COND_x86): Likewise.
947 (M_E2l): Remove macro.
948 (M_E3l): Likewise.
949 (M_2_SQRT_PIl): Likewise.
950 (M_SQRT_PIl): Likewise.
951 (M_1_DIV_El): Likewise.
952 (log_test_data): Use AUTO_TESTS_f_f.
953 (log10_test_data): Likewise.
954 (log1p_test_data): Likewise.
955 (log2_test_data): Likewise.
956 (sin_test_data): Likewise.
957 (sin_tonearest_test_data): Likewise.
958 (sin_towardzero_test_data): Likewise.
959 (sin_downward_test_data): Likewise.
960 (sin_upward_test_data): Likewise.
961 (sinh_test_data): Likewise.
962 (sinh_tonearest_test_data): Likewise.
963 (sinh_towardzero_test_data): Likewise.
964 (sinh_downward_test_data): Likewise.
965 (sinh_upward_test_data): Likewise.
966 (tan_test_data): Likewise.
967 (tan_tonearest_test_data): Likewise.
968 (tan_towardzero_test_data): Likewise.
969 (tan_downward_test_data): Likewise.
970 (tan_upward_test_data): Likewise.
971 (tanh_test_data): Likewise.
972 (tgamma_test_data): Likewise.
973 (y0_test_data): Likewise.
974 (y1_test_data): Likewise.
975 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
976 (special_real_inputs): Add pi/4.
977 * sysdeps/i386/fpu/libm-test-ulps: Update.
978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
979
eb5ad6b9
AZ
9802013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
981
982 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
983 "longjmp_target" static probes.
984 (__longjmp): Rename to __longjmp_symbol.
985 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
986 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
987 on which longjmp to generate.
988 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
989 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
990 probe.
991 (__sigsetjmp): Rename to __sigsetjmp_symbol.
992 (__sigjmp_save): Rename to __sigjmp_save_symbol.
993 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
994 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
995 and __sigjmp_save_symbol based on which sigsetjmp to generated.
996 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
998 __longjmp_symbol based on which __longjmp to generate.
999 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
1000 probe.
1001 (setjmp): Rename to setjmp_symbol.
1002 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1003 (_setjmp): Rename to _setjmp_symbol.
1004 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1005 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
1006 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
1007 which setjmp to generate.
1008 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
1009 "longjmp_target" static probes.
1010
d136c6dc
SP
10112013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1012
9298ecba
SP
1013 * benchtests/README: Add note about output arguments.
1014 * benchtests/bench-sincos.c: Remove file.
1015 * benchtests/sincos-inputs: New file.
1016 * scripts/bench.pl: Identify output arguments and define
1017 static variables for them.
1018
232983e9
SP
1019 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
1020
d136c6dc
SP
1021 [BZ #15941]
1022 * Makefile (INSTALL): Add install-plain.texi as the primary
1023 dependency.
1024 * manual/install-plain.texi: New file.
1025 * manual/install.texi: Include node directive only for
1026 non-plaintext output.
1027
699ff837
JM
10282013-12-04 Joseph Myers <joseph@codesourcery.com>
1029
ab07cea8
JM
1030 * stdlib/longlong.h: Update from GCC.
1031
699ff837
JM
1032 [BZ #6807]
1033 [BZ #15901]
1034 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
1035 * math/w_j0f.c (y0f): Likewise.
1036 * math/w_j0l.c (__y0l): Likewise.
1037 * math/w_j1.c (y1): Likewise.
1038 * math/w_j1f.c (y1f): Likewise.
1039 * math/w_j1l.c (__y1l): Likewise
1040 * math/w_jn.c (yn): Likewise.
1041 * math/w_jnf.c (ynf): Likewise.
1042 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
1043 Bessel function pole errors in _POSIX_ mode. Use NAN as return
1044 value for Bessel function domain errors outside _SVID_ mode.
1045 Adjust sign of return value for yn (negative integer, 0).
1046 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
1047 by zero in return for negative x and set sign appropriately for
1048 negative n.
1049 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
1050 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1051 * math/libm-test.inc (y0_test_data): Add more tests and adjust
1052 expectations in error cases.
1053 (y1_test_data): Likewise.
1054 (yn_test_data): Likewise.
1055 * sysdeps/i386/fpu/libm-test-ulps: Update.
1056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1057
5b118558
UW
10582013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1059
1060 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
1061 "64" to "64-v1". Add "64-v2".
1062 (abi-64-options): Rename to ...
1063 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
1064 (abi-64-condition): Rename to ...
1065 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
1066 (abi-64-ld-soname): Rename to ...
1067 (abi-64-v1-ld-soname): ... this.
1068 (abi-64-v2-options): Define.
1069 (abi-64-v2-condition): Likewise.
1070 (abi-64-v2-ld-soname): Likewise.
1071 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
1072 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
1073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
1074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
1075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
1076
61cd8fe4
UW
10772013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1078 Alan Modra <amodra@gmail.com>
1079
1080 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
1081 New versions for use with the ELFv2 ABI.
1082 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
1083 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
1084 declaration.
1085 (struct La_ppc64v2_retval): Likewise.
1086 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
1087 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
1088 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
1089 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
1090 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
1091 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
1092 Do not save or restore CR.
1093 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
1094 (_dl_profile_resolve): Do no save or restore CR. Support extended
1095 return values for ELFv2 ABI. Fix location of FPR return registers.
1096 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
1097 updated values for _CALL_ELF == 2.
1098 (La_regs, La_retval, int_retval): Likewise.
1099
8b8a692c
UW
11002013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1101
1102 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
1103 (FRAME_MIN_SIZE_PARM): Likewise.
1104 (FRAME_BACKCHAIN): Likewise.
1105 (FRAME_CR_SAVE): Likewise.
1106 (FRAME_LR_SAVE): Likewise.
1107 (FRAME_TOC_SAVE): Likewise.
1108 (FRAME_PARM_SAVE): Likewise.
1109 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1110 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1111 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1112 (call_mcount_parm_offset): New macro.
1113 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
1114 (PROF): Use symbolic stack frame offsets.
1115 (TAIL_CALL_SYSCALL_ERROR): Likewise.
1116 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
1117 Redefine in terms of FRAME_MIN_SIZE.
1118 (_dl_runtime_resolve): Use symbolic stack frame offsets.
1119 (_dl_profile_resolve): Likewise. Update comment.
1120 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
1121 symbols stack frame offsets.
1122 (__sigsetjmp): Likewise.
1123 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
1124 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
1125 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
1126 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
1127
1128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
1129 (FRAME_BACKCHAIN): Remove.
1130 (FRAME_CR_SAVE): Likewise.
1131 (FRAME_LR_SAVE): Likewise.
1132 (FRAME_COMPILER_DW): Likewise.
1133 (FRAME_LINKER_DW): Likewise.
1134 (FRAME_TOC_SAVE): Likewise.
1135 (FRAME_PARM_SAVE): Likewise.
1136 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1137 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1138 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
1140 (CHECK_SP): Use symbolic stack frame offsets.
1141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
1142 zone" instead of caller's parameter save area for temp storage.
1143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1144 Likewise. Also, use symbolic stack frame offsets.
1145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
1146 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
1147 our own stack frame instead of the caller's.
1148 (__socket): Use symbolic stack frame offsets.
1149
122b66de
UW
11502013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1151 Alan Modra <amodra@gmail.com>
1152
1153 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
1154 Define.
1155 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
1156 PPC64_LOCAL_ENTRY_OFFSET): Define.
1157 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
1158 New function.
1159 (elf_machine_fixup_plt): Call it.
1160 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
1161 reloc arguments.
1162 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
1163 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1164 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
1165 r2 before calling target.
1166
696caf1d
UW
11672013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1168 Alan Modra <amodra@gmail.com>
1169
1170 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
1171 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
1172 versions of macros to support ELFv2 ABI.
1173 (LOCALENTRY): New macro.
1174 (ENTRY, EALIGN): Use it.
1175 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
1176 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
1177 fall through into ENTRY entry point.
1178 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
1179 Only define if _CALL_ELF != 2.
1180
1181 (elf_machine_matches_host): Verify ABI version matches.
1182 (RTLD_START): Use LOCALENTRY.
1183 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
1184 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
1185 (PLT_ENTRY_WORDS): New macro.
1186 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
1187 (elf_machine_runtime_setup): Support ELFv2 ABI.
1188 (elf_machine_fixup_plt): Likewise.
1189 (elf_machine_plt_conflict): Likewise.
1190 (resolve_ifunc): Likewise.
1191 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1192 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1193 Likewise.
1194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
1195 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
1196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1197 (makecontext): Support ELFv2 ABI.
1198 * elf/elf.h (EF_PPC64_ABI): Define.
1199
d31beafa
UW
12002013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1201
1202 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
1203 New assembler macro.
1204 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
1205 [ASSEMBLER] (ENTRY): ... but instead here ...
1206 [ASSEMBLER] (EALIGN): ... and here.
1207 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
1208 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
1209 [!ASSEMBLER] (ENTRY_2): Use it.
1210 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
1211 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
1212 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1213 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
1214 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
1215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
1216 Use PPC64_LOAD_FUNCPTR.
1217
b525166b
UW
12182013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1219
1220 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
1221
7ec07d9a
AM
12222013-12-04 Alan Modra <amodra@gmail.com>
1223
1224 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
1225 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
1226 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
1227 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
1228
1229 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
1230 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
1231 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
1232 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
1233 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
1234 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
1235
5162e7dd
UW
12362013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1237
1238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1239 (__makecontext): Fix incorrect CFI when backtracing out of
1240 context created via makecontext.
1241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
1242 (__setcontext): Fix incorrect CFI during switch to new context.
1243 (__novec_setcontext): Likewise.
1244
19e3372b
OB
12452013-12-04 Ondřej Bílka <neleai@seznam.cz>
1246
1247 [BZ #4772]
1248 * time/strptime_l.c (__strptime_internal): Allow modifiers
1249 in strptime.
1250 * time/tst-strptime.c (day_tests): Add testcase.
1251
1252
ecaf142d
SP
12532013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1254
1255 * scripts/bench.pl: Skip over blank lines.
1256
fbf964ae
PE
12572013-12-04 Paul Eggert <eggert@cs.ucla.edu>
1258
1259 [BZ #926]
1260 * manual/time.texi (Calendar Time): Clarify what timezone functions
1261 use.
1262
fa60a674
AZ
12632013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1264
1265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1266
d674f0ef
OB
12672013-12-04 Ondřej Bílka <neleai@seznam.cz>
1268
1269 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
1270 implementation.
1271 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
1272 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
1273 * debug/memset_chk.c (__memset_chk): Likewise.
1274 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
1275 * debug/strncpy_chk.c: Likewise.
1276
17dea188
JM
12772013-12-03 Joseph Myers <joseph@codesourcery.com>
1278
749008ff
JM
1279 [BZ #15268]
1280 [BZ #15425]
1281 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
1282 (__ieee754_exp): For possibly underflowing results, check size of
1283 result and force underflow exception if required.
1284 * math/auto-libm-test-in: Add more tests of exp.
1285 * math/auto-libm-test-out: Regenerated.
1286 * sysdeps/i386/fpu/libm-test-ulps: Update.
1287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1288
17dea188
JM
1289 [BZ #16283]
1290 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
1291 * math/w_exp2f.c (__exp2f): Likewise.
1292 * math/w_exp2l.c (__exp2l): Likewise.
1293 * math/auto-libm-test-in: Do not allow missing errno on exp2
1294 underflow.
1295 * math/auto-libm-test-out: Regenerated.
1296
b20de2c3
OB
12972013-12-03 Ondřej Bílka <neleai@seznam.cz>
1298
1299 [BZ #16274]
1300 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
1301 handle filename validation.
1302 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
1303 (do_open): Delete.
1304
d8e2dbe3
JM
13052013-12-03 Joseph Myers <joseph@codesourcery.com>
1306
34e16df5
JM
1307 [BZ #6786]
1308 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
1309 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
1310 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
1311 <float.h>.
1312 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
1313 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
1314 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1315 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
1316 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1317 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
1318 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1319 * math/auto-libm-test-in: Don't allow missing errno from erfc.
1320 Add more erfc tests.
1321 * math/auto-libm-test-out: Regenerated.
1322 * sysdeps/i386/fpu/libm-test-ulps: Update.
1323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1324
d8e2dbe3
JM
1325 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
1326 exp2, expm1, j0 and j1.
1327 * math/auto-libm-test-out: Regenerated.
1328 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
1329 (erfc_test_data): Likewise.
1330 (exp_test_data): Likewise.
1331 (exp_tonearest_test_data): Likewise.
1332 (exp_towardzero_test_data): Likewise.
1333 (exp_downward_test_data): Likewise.
1334 (exp_upward_test_data): Likewise.
1335 (exp10_test_data): Likewise.
1336 (exp2_test_data): Likewise.
1337 (expm1_test_data): Likewise.
1338 (j0_test_data): Likewise.
1339 (j1_test_data): Likewise.
1340 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
1341 (input_flag_type): Add flag_xfail_rounding.
1342 (input_flags): Add xfail-rounding.
1343 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
1344 (output_for_one_input_case): Handle flag_xfail_rounding.
1345 * sysdeps/i386/fpu/libm-test-ulps: Update.
1346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1347
18d14251
AJ
13482013-12-03 Aurelien Jarno <aurelien@aurel32.net>
1349
3d2e6075 1350 [BZ #16289]
18d14251
AJ
1351 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
1352 division by 0.
1353
520d437b
SP
13542013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1355
1356 [BZ #16195]
1357 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1358 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
1359 (STAP_PROBE0): New macro.
1360 (STAP_PROBE1): Likewise.
1361 (STAP_PROBE2): Likewise.
1362 (STAP_PROBE3): Likewise.
1363 (STAP_PROBE4): Likewise.
1364
416e0145
OB
13652013-12-02 Ondřej Bílka <neleai@seznam.cz>
1366
1367 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
1368
9d17796a
SE
13692013-12-02 Steve Ellcey <sellcey@mips.com>
1370
1371 * benchtests/Makefile (bench): Add sqrt.
1372 (LDLIBS-bench-sqrt): New.
1373 * benchtests/sqrt-input: New.
1374
f524d6a8
PS
13752013-12-02 Pavel Simerda <psimerda@redhat.com>
1376
639a0ef8
PS
1377 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
1378 (GAIH_EAI): Likewise.
1379 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
1380 (gaih_inet): Likewise.
1381 (getaddrinfo): Don't use GAIH_EAI.
1382
f524d6a8
PS
1383 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
1384 (struct gaih): Remove definition.
1385
df3aedaf
SP
13862013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1387
1388 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
1389 Use HERRNOP directly.
1390
1ab19dec
AZ
13912013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1392
b42ad38d 1393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 1394
176b0c79
JM
13952013-11-30 Joseph Myers <joseph@codesourcery.com>
1396
1397 * math/gen-auto-libm-tests.c (test_functions): Add more
1398 single-argument functions.
1399 (special_fill_pi_2): New function.
1400 (special_fill_minus_pi_2): Likewise.
1401 (special_fill_pi_6): Likewise.
1402 (special_fill_minus_pi_6): Likewise.
1403 (special_fill_pi_3): Likewise.
1404 (special_fill_2pi_3): Likewise.
1405 (special_fill_e): Likewise.
1406 (special_fill_1_e): Likewise.
1407 (special_fill_e_minus_1): Likewise.
1408 (special_real_inputs): Add more special inputs.
1409 (output_for_one_input_case): Do not require ERANGE on underflow to
1410 zero if round-to-nearest result does not underflow to zero, unless
1411 exact results required.
1412 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
1413 atan, atanh, cbrt, cos and cosh.
1414 * math/auto-libm-test-out: Regenerated.
1415 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
1416 (acos_tonearest_test_data): Likewise.
1417 (acos_towardzero_test_data): Likewise.
1418 (acos_downward_test_data): Likewise.
1419 (acos_upward_test_data): Likewise.
1420 (acosh_test_data): Likewise.
1421 (asin_test_data): Likewise.
1422 (asin_tonearest_test_data): Likewise.
1423 (asin_towardzero_test_data): Likewise.
1424 (asin_upward_test_data): Likewise.
1425 (asinh_test_data): Likewise.
1426 (atan_test_data): Likewise.
1427 (atanh_test_data): Likewise.
1428 (cbrt_test_data): Likewise.
1429 (cos_test_data): Likewise.
1430 (cos_tonearest_test_data): Likewise.
1431 (cos_towardzero_test_data): Likewise.
1432 (cos_downward_test_data): Likewise.
1433 (cos_upward_test_data): Likewise.
1434 (cosh_test_data): Likewise.
1435 (cosh_tonearest_test_data): Likewise.
1436 (cosh_towardzero_test_data): Likewise.
1437 (cosh_downward_test_data): Likewise.
1438 (cosh_upward_test_data): Likewise.
1439 * sysdeps/i386/fpu/libm-test-ulps: Update.
1440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1441
ffb536d0
JM
14422013-11-29 Joseph Myers <joseph@codesourcery.com>
1443
2a77a467
JM
1444 [BZ #6787]
1445 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
1446 * math/w_exp10f.c (__exp10f): Likewise.
1447 * math/w_exp10l.c (__exp10l): Likewise.
1448 * math/libm-test.inc (exp10_test_data): Add more tests and expect
1449 errno settings in existing tests.
1450
ea3bc4e8
JM
1451 [BZ #14032]
1452 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
1453 precision control set to double precision.
1454 * sysdeps/i386/fpu/w_sqrt.c: New file.
1455 * math/auto-libm-test-in: Add more tests.
1456 * math/auto-libm-test-out: Update.
1457
0712c9d8
JM
1458 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
1459 (sqrt_test_tonearest): New function.
1460 (sqrt_towardzero_test_data): New variable.
1461 (sqrt_test_towardzero): New function.
1462 (sqrt_downward_test_data): New variable.
1463 (sqrt_test_downward): New function.
1464 (sqrt_upward_test_data): New variable.
1465 (sqrt_test_upward): New function.
1466 (main): Call the new functions.
1467
ffb536d0
JM
1468 * math/gen-auto-libm-tests.c: New file.
1469 * math/auto-libm-test-in: Likewise.
1470 * math/auto-libm-test-out: New generated file.
1471 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
1472 variables.
1473 (%beautify): Add generated representations of zero.
1474 (top level): Set $auto_input and call parse_auto_input.
1475 (beautify): Remove trailing "f" from hex float constants.
1476 (parse_args): Handle XFAIL_TEST.
1477 (convert_condition): New function.
1478 (or_value): Likewise.
1479 (or_cond_value): Likewise.
1480 (generate_testfile): Handle AUTO_TESTS_* lines.
1481 (parse_auto_input): New function.
1482 * math/libm-test.inc (XFAIL_TEST): New macro.
1483 (ERRNO_UNCHANGED): Update value.
1484 (ERRNO_EDOM): Likewise.
1485 (ERRNO_ERANGE): Likewise.
1486 (IGNORE_RESULT): Likewise.
1487 (TEST_COND_flt_32): New macro.
1488 (TEST_COND_dbl_64): Likewise.
1489 (TEST_COND_ldbl_96_intel): Likewise.
1490 (TEST_COND_ldbl_96_m68k): Likewise.
1491 (TEST_COND_ldbl_128): Likewise.
1492 (TEST_COND_ldbl_128ibm): Likewise.
1493 (TEST_COND_long32): Likewise.
1494 (TEST_COND_long64): Likewise.
1495 (TEST_COND_before_rounding): Likewise.
1496 (TEST_COND_after_rounding): Likewise.
1497 (enable_test): Handle XFAIL_TEST flag.
1498 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
1499 with finite results.
1500 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
1501 auto-libm-test-out.
1502
acd98a8e
AK
15032013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1504 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1505
1506 [BZ #16214]
1507 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
1508 __tls_get_addr_internal instead of __tls_get_offset in order to
1509 avoid GOT pointer dependency. Make rtld export
1510 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
1511 __tls_get_addr since we are a __tls_get_offset platform.
1512 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
1513 GOT pointer being set up before.
1514 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
1515
3c1c46a6
JM
15162013-11-28 Joseph Myers <joseph@codesourcery.com>
1517
7475aef5
JM
1518 * manual/math.texi (Errors in Math Functions): Document accuracy
1519 goals.
1520
8bca7cd8
JM
1521 [BZ #15004]
1522 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
1523 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
1524 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1525 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1526 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1527 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1528 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1529 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1530 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1531 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1532 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1533 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1534 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1535 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1536 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1537 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1538
91a1f3fe
JM
1539 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
1540 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
1541 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
1542 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
1543 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
1544 Likewise.
1545 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
1546 Likewise.
1547 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
1548 Likewise.
1549 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
1550 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
1551 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
1552 atomic-feupdateenv and flt-rounds.
1553 * sysdeps/powerpc/nofpu/Versions (libc): Add
1554 __atomic_feholdexcept, __atomic_feclearexcept,
1555 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
1556 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
1557 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
1558 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
1559 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
1560 here.
1561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1562 Update.
1563
c5df7609
JM
1564 * manual/arith.texi (FP Exceptions): Document that exceptions may
1565 not be raised when matherr is used.
1566 (Math Error Reporting): Document overflow in directed rounding
1567 modes. Document that errno may not be set when finite values are
1568 returned on overflow. Document intent to set errno on underflow
1569 only for underflow to zero.
1570
3c1c46a6
JM
1571 [BZ #16271]
1572 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
1573 round-to-nearest then adjust result for other rounding modes.
1574 * include/fenv.h (fegetround): Use libm_hidden_proto.
1575 * math/fegetround.c (fegetround): Use libm_hidden_def.
1576 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1577 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1578 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1579 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1580 Likewise.
1581 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
1582 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1583 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1584 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
1585
5a4c6d53
SP
15862013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1587
1588 [BZ #16077]
1589 * nss/Versions (libnss_files): Add
1590 _nss_files_gethostbyname3_r.
1591 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
1592 New function.
1593 (HOST_DB_LOOKUP): Remove macro.
1594 (_nss_files_gethostbyname_r): Implement function without the
1595 HOST_DB_LOOKUP macro.
1596 (_nss_files_gethostbyname2_r): Likewise.
1597
897b98ba
OB
15982013-11-28 Ondřej Bílka <neleai@seznam.cz>
1599
1600 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
1601
6f476861
UB
16022013-11-26 Uros Bizjak <ubizjak@gmail.com>
1603
1604 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
1605 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
1606 warning.
1607
bd12ab55
AZ
16082013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1609
1610 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
1611 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
1612 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1613 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1614 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
1615 __fe_nomask_env_priv and attribute_hidden.
1616 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
1617 (libc_feupdateenv_test_ppc): Likewise.
1618 (libc_feresetround_ppc): Likewise.
1619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1620 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
1621 compat_symbol macro.
1622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1623 (__fe_nomask_env): Likewise.
1624 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
1625
52bb6543
OB
16262013-11-26 Ondřej Bílka <neleai@seznam.cz>
1627
1628 * string/Makefile: Remove ifunc tests.
1629 * string/test-string.h: Define TEST_IFUNC.
1630 * string/test-bcopy-ifunc.c: Remove.
1631 * string/test-bzero-ifunc.c: Likewise.
1632 * string/test-memccpy-ifunc.c: Likewise.
1633 * string/test-memchr-ifunc.c: Likewise.
1634 * string/test-memcmp-ifunc.c: Likewise.
1635 * string/test-memcpy-ifunc.c: Likewise.
1636 * string/test-memmem-ifunc.c: Likewise.
1637 * string/test-memmove-ifunc.c: Likewise.
1638 * string/test-mempcpy-ifunc.c: Likewise.
1639 * string/test-memrchr-ifunc.c: Likewise.
1640 * string/test-memset-ifunc.c: Likewise.
1641 * string/test-rawmemchr-ifunc.c: Likewise.
1642 * string/test-stpcpy-ifunc.c: Likewise.
1643 * string/test-stpncpy-ifunc.c: Likewise.
1644 * string/test-strcasecmp-ifunc.c: Likewise.
1645 * string/test-strcasestr-ifunc.c: Likewise.
1646 * string/test-strcat-ifunc.c: Likewise.
1647 * string/test-strchr-ifunc.c: Likewise.
1648 * string/test-strchrnul-ifunc.c: Likewise.
1649 * string/test-strcmp-ifunc.c: Likewise.
1650 * string/test-strcpy-ifunc.c: Likewise.
1651 * string/test-strcspn-ifunc.c: Likewise.
1652 * string/test-strlen-ifunc.c: Likewise.
1653 * string/test-strncasecmp-ifunc.c: Likewise.
1654 * string/test-strncat-ifunc.c: Likewise.
1655 * string/test-strncmp-ifunc.c: Likewise.
1656 * string/test-strncpy-ifunc.c: Likewise.
1657 * string/test-strnlen-ifunc.c: Likewise.
1658 * string/test-strpbrk-ifunc.c: Likewise.
1659 * string/test-strrchr-ifunc.c: Likewise.
1660 * string/test-strspn-ifunc.c: Likewise.
1661 * string/test-strstr-ifunc.c: Likewise.
1662
ab260039 16632013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
1664
1665 * benchtests/Makefile: Remove ifunc tests.
1666 * benchtests/bench-string.h: Define TEST_IFUNC.
1667 * benchtests/bench-bcopy-ifunc.c: Remove.
1668 * benchtests/bench-bzero-ifunc.c: Likewise.
1669 * benchtests/bench-memccpy-ifunc.c: Likewise.
1670 * benchtests/bench-memchr-ifunc.c: Likewise.
1671 * benchtests/bench-memcmp-ifunc.c: Likewise.
1672 * benchtests/bench-memcpy-ifunc.c: Likewise.
1673 * benchtests/bench-memmem-ifunc.c: Likewise.
1674 * benchtests/bench-memmove-ifunc.c: Likewise.
1675 * benchtests/bench-mempcpy-ifunc.c: Likewise.
1676 * benchtests/bench-memrchr-ifunc.c: Likewise.
1677 * benchtests/bench-memset-ifunc.c: Likewise.
1678 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
1679 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
1680 * benchtests/bench-stpcpy-ifunc.c: Likewise.
1681 * benchtests/bench-stpncpy-ifunc.c: Likewise.
1682 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
1683 * benchtests/bench-strcasestr-ifunc.c: Likewise.
1684 * benchtests/bench-strcat-ifunc.c: Likewise.
1685 * benchtests/bench-strchr-ifunc.c: Likewise.
1686 * benchtests/bench-strchrnul-ifunc.c: Likewise.
1687 * benchtests/bench-strcmp-ifunc.c: Likewise.
1688 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
1689 * benchtests/bench-strcpy-ifunc.c: Likewise.
1690 * benchtests/bench-strcspn-ifunc.c: Likewise.
1691 * benchtests/bench-strlen-ifunc.c: Likewise.
1692 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
1693 * benchtests/bench-strncat-ifunc.c: Likewise.
1694 * benchtests/bench-strncmp-ifunc.c: Likewise.
1695 * benchtests/bench-strncpy-ifunc.c: Likewise.
1696 * benchtests/bench-strnlen-ifunc.c: Likewise.
1697 * benchtests/bench-strpbrk-ifunc.c: Likewise.
1698 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 1699 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
1700 * benchtests/bench-strspn-ifunc.c: Likewise.
1701 * benchtests/bench-strstr-ifunc.c: Likewise.
1702
17032013-11-26 Ondřej Bílka <neleai@seznam.cz>
1704
ab260039
OB
1705 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
1706
d1d9eaf4 17072013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 1708
d1d9eaf4
OB
1709 * resolv/netdb.h: Use __glibc_reserved instead __unused.
1710 * rt/aio.h: Likewise.
1711 * sysdeps/gnu/bits/utmp.h: Likewise.
1712 * sysdeps/gnu/bits/utmpx.h: Likewise.
1713 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1714 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
1715 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
1716 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
1717 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
1718 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
1719 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
1720 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
1721 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
1722 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
1723 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
1724 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
1725 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
1726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
1727 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1728 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
1729 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
1730 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
1731 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
1732 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
1733 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
1734 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
1735 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
1736 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
1737 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
1738 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1739 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
1740 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
1741 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
1742 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
1743 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
1744 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
1745 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
1746 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1747 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
1748 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
1749 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
1750 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
1751 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
1752 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
1753 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
1754 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1755
a7624ed9
CD
17562013-11-25 Carlos O'Donell <carlos@redhat.com>
1757
1758 [BZ #16245]
1759 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
1760 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
1761
63cfe52b
JM
17622013-11-25 Joseph Myers <joseph@codesourcery.com>
1763
1764 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
1765 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1766 Likewise.
1767
41e8926a
AZ
17682013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1769
1770 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
1771 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
1772 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
1773 (__fesetround): Remove define.
1774 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
1775 rounding and exceptions handling.
1776 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
1777 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
1778 (__fe_nomask_env): Likewise.
1779 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
1780 __fegetround instead of fegetround.
1781 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
1782 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
1783
6851bd4d
RM
17842013-11-21 Roland McGrath <roland@hack.frob.com>
1785
070906ff
RM
1786 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
1787 it's there.
1788
6851bd4d
RM
1789 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
1790
84ae135d
MI
17912013-11-21 Meador Inge <meadori@codesourcery.com>
1792
1793 [BZ #11157]
1794 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
1795 (encrypt_r): Likewise.
1796 * malloc/obstack.h (obstack_free): Likewise.
1797 * posix/unistd.h (encrypt): Likewise.
1798
daf75146
GM
17992013-11-21 Guy Martin <gmsoft@tuxicoman.be>
1800
1801 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
1802 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
1803 DL_CALL_DT_FINI() that call the functions directly.
1804 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
1805 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
1806 * elf/dl-fini.c: Likewise.
1807
10ad46bc
OB
18082013-11-20 Ondřej Bílka <neleai@seznam.cz>
1809
1810 * malloc/hooks.c (memalign_check): Add alignment rounding.
1811 * malloc/malloc.c (_mid_memalign): New function.
1812 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
1813 Implement by calling _mid_memalign.
1814 * manual/probes.texi (Memory Allocation Probes): Remove
1815 memory_valloc_retry and memory_pvalloc_retry.
1816
f3fd2628
SP
18172013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1818
4712799f
SP
1819 * locale/programs/locarchive.c (open_archive): Add const
1820 qualifier to ARCHIVEFNAME and copy default fname to
1821 DEFAULT_FNAME.
1822
0417b20f
SP
1823 [BZ #15601]
1824 * libio/tst-widetext.input: Rename Oriya to Odia.
1825 * locale/iso-639.def: Likewise.
1826
f3fd2628
SP
1827 * manual/probes.texi (Mathematical Function Probes): Add
1828 documentation for sin, cos, asin and acos probes.
1829 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
1830 (__sin32): Add slowasin probe.
1831 (__cos32): Add slowacos probe.
1832 (__mpsin): Add slowsin probe.
1833 (__mpcos): Add slowcos probe.
1834
73c1ce4f
JM
18352013-11-19 Joseph Myers <joseph@codesourcery.com>
1836
1837 [BZ #15483]
1838 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
1839 thread-local __sim_exceptions_thread and global
1840 __sim_exceptions_global.
1841 (__sim_disabled_exceptions): Change to thread-local
1842 __sim_disabled_exceptions_thread and global
1843 __sim_disabled_exceptions_global.
1844 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1845 and global __sim_round_mode_global.
1846 (__simulate_exceptions): Use thread-local floating-point state and
1847 set global state from it as needed.
1848 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
1849 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
1850 __sim_round_mode_thread.
1851 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
1852 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
1853 and global __sim_exceptions_global.
1854 (__sim_disabled_exceptions): Change to thread-local
1855 __sim_disabled_exceptions_thread and global
1856 __sim_disabled_exceptions_global.
1857 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1858 and global __sim_round_mode_global.
1859 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
1860 (SIM_SET_GLOBAL): Likewise.
1861 * sysdeps/powerpc/soft-fp/sfp-machine.h
1862 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
1863 __sim_round_mode_thread.
1864 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
1865 __sim_disabled_exceptions_thread.
1866 (__sim_exceptions): Change to __sim_exceptions_thread.
1867 (__sim_disabled_exceptions): Change to
1868 __sim_disabled_exceptions_thread.
1869 (__sim_round_mode): Change to __sim_round_mode_thread.
1870 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
1871 thread-local floating-point state and set global state from it as
1872 needed.
1873 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
1874 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
1875 (__sim_disabled_exceptions): Remove extern declaration.
1876 (feenableexcept): Use thread-local floating-point state and set
1877 global state from it as needed.
1878 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
1879 extern declaration.
1880 (__sim_disabled_exceptions): Likewise.
1881 (__sim_round_mode): Likewise.
1882 (__fegetenv): Use thread-local floating-point state.
1883 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
1884 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1885 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
1886 floating-point state and set global state from it as needed.
1887 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
1888 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1889 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
1890 Likewise.
1891 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1892 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
1893 Likewise.
1894 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
1895 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
1896 Use __sim_round_mode_thread.
1897 * math/test-fenv-tls.c: New file.
1898 * math/Makefile (tests): Add test-fenv-tls.
1899 ($(objpfx)test-fenv-tls): Depend on
1900 $(common-objpfx)nptl/libpthread.so.
1901
b5449b12
AS
19022013-11-19 Andreas Schwab <schwab@suse.de>
1903
1904 * locale/programs/locale.c (show_info): Decode wordarray elements.
1905 * locale/categories.def (LC_MONETARY): Add element for
1906 _NL_MONETARY_CRNCYSTR.
1907 * locale/C-monetary.c (conversion_rate): New variable.
1908 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
1909 element.
1910
e186536b
CM
19112013-11-18 Chris Metcalf <cmetcalf@tilera.com>
1912
1913 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
1914 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
1915
5c349950
PP
19162013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
1917
1918 * elf/Makefile (tst-auxv): New test.
1919 * elf/tst-auxv.c: New
1920 * elf/rtld.c (dl_main): Adjust AT_EXECFN
1921
699df45b
JM
19222013-11-18 Joseph Myers <joseph@codesourcery.com>
1923
1924 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
1925 (hidden_proto): Caller changed.
1926 (hidden_tls_proto): New macro.
1927 (libc_hidden_tls_proto): Likewise.
1928 (rtld_hidden_tls_proto): Likewise.
1929 (libm_hidden_tls_proto): Likewise.
1930 (libresolv_hidden_tls_proto): Likewise.
1931 (librt_hidden_tls_proto): Likewise.
1932 (libdl_hidden_tls_proto): Likewise.
1933 (libnss_files_hidden_tls_proto): Likewise.
1934 (libnsl_hidden_tls_proto): Likewise.
1935 (libnss_nisplus_hidden_tls_proto): Likewise.
1936 (libutil_hidden_tls_proto): Likewise.
1937
b7589107
OB
19382013-11-18 Ondřej Bílka <neleai@seznam.cz>
1939
1940 [BZ #10253]
1941 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
1942 (decompose_rpath): Defer expansion to fillin_rpath.
1943 (_dl_init_paths): Pass linkmap to fillin_rpath.
1944
250c23bd
RS
19452013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1946
1947 * benchtests/Makefile: Add strsep.
1948 * benchtests/bench-strsep.c: New file: strsep benchtest.
1949 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
1950
a7931fcf
AS
19512013-11-18 Andreas Schwab <schwab@suse.de>
1952
1953 * locale/programs/locale.c (show_info) [case byte]: Check for
1954 '\377' instead of '\177'.
1955 * locale/C-monetary.c (not_available): Always use "\377".
1956 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
1957 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
1958 detect unavailable sign_posn locale elements.
1959 * locale/localeconv.c (__localeconv): For grouping and
1960 mon_grouping handle "\177" and "\377" like no grouping.
1961 (INT_ELEM): New macro. Use it to set all numeric members.
1962 * locale/programs/ld-monetary.c (monetary_read)
1963 <tok_mon_grouping>: Normalize single -1 to the empty string.
1964 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
1965 Likewise.
1966
728dab0e
OB
19672013-11-07 Ondřej Bílka <neleai@seznam.cz>
1968
1969 [BZ #16055]
1970 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
1971 when we match (nil).
1972 * stdio-common/tst-sscanf.c (struct test): Add testcase.
1973
66294491
JM
19742013-11-16 Joseph Myers <joseph@codesourcery.com>
1975
ce665817
JM
1976 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
1977 (NO_TEST_INLINE): Update value.
1978 (ERRNO_UNCHANGED): Likewise.
1979 (ERRNO_EDOM): Likewise.
1980 (ERRNO_ERANGE): Likewise.
1981 (IGNORE_RESULT): Likewise.
1982 (check_float_internal): Check signs of NaN results if
1983 TEST_NAN_SIGN used.
1984 (check_complex): Pass TEST_NAN_SIGN flag through to second
1985 check_float_internal call.
1986 (copysign_test_data): Add tests with quiet NaNs as second
1987 argument. Use TEST_NAN_SIGN.
1988 (fabs_test_data): Add test of negative quiet NaN argument. Use
1989 TEST_NAN_SIGN.
1990 (signbit_test_data): Add tests of quiet NaN argument.
1991 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
1992
ee1466a9
JM
1993 * math/gen-libm-test.pl (show_exceptions): Take extra argument
1994 $ignore_result.
1995 (parse_args): Handle function results specified as IGNORE.
1996 * math/libm-test.inc (IGNORE_RESULT): New macro.
1997 (check_float_internal): Do not check numerical result if flag
1998 IGNORE_RESULT set.
1999 (check_complex): Pass through IGNORE_RESULT to second
2000 check_float_internal call.
2001 (check_int): Do not check numerical result if flag IGNORE_RESULT
2002 set.
2003 (check_long): Likewise.
2004 (check_bool): Likewise.
2005 (check_longlong): Likewise.
2006 (lrint_test_data): Add tests of infinite and NaN arguments.
2007 (lrint_tonearest_test_data): Likewise.
2008 (lrint_towardzero_test_data): Likewise.
2009 (lrint_downward_test_data): Likewise.
2010 (lrint_upward_test_data): Likewise.
2011 (llrint_test_data): Likewise.
2012 (llrint_tonearest_test_data): Likewise.
2013 (llrint_towardzero_test_data): Likewise.
2014 (llrint_downward_test_data): Likewise.
2015 (llrint_upward_test_data): Likewise.
2016 (lround_test_data): Likewise.
2017 (llround_test_data): Likewise.
2018
14407b7e
JM
2019 * math/libm-test.inc (NO_TEST_INLINE): New macro.
2020 (ERRNO_UNCHANGED): Update value.
2021 (ERRNO_EDOM): Likewise.
2022 (ERRNO_ERANGE): Likewise.
2023 (NO_TEST_INLINE_FLOAT): New macro.
2024 (NO_TEST_INLINE_DOUBLE): Likewise.
2025 (enable_test): New function.
2026 (RUN_TEST_f_f): Check enable_test before running test.
2027 (RUN_TEST_2_f): Likewise.
2028 (RUN_TEST_fff_f): Likewise.
2029 (RUN_TEST_c_f): Likewise.
2030 (RUN_TEST_f_f1): Likewise.
2031 (RUN_TEST_fF_f1): Likewise.
2032 (RUN_TEST_fI_f1): Likewise.
2033 (RUN_TEST_ffI_f1): Likewise.
2034 (RUN_TEST_c_c): Likewise.
2035 (RUN_TEST_cc_c): Likewise.
2036 (RUN_TEST_f_i): Likewise.
2037 (RUN_TEST_f_i_tg): Likewise.
2038 (RUN_TEST_ff_i_tg): Likewise.
2039 (RUN_TEST_f_b): Likewise.
2040 (RUN_TEST_f_b_tg): Likewise.
2041 (RUN_TEST_f_l): Likewise.
2042 (RUN_TEST_f_L): Likewise.
2043 (RUN_TEST_fFF_11): Likewise.
2044 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
2045 conditionals.
2046 (cosh_test_data): Likewise.
2047 (exp_test_data): Likewise.
2048 (expm1_test_data): Likewise.
2049 (hypot_test_data): Likewise.
2050 (pow_test_data): Likewise.
2051 (sinh_test_data): Likewise.
2052 (tanh_test_data): Likewise.
2053 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
2054 flags argument.
2055
ca07f197
JM
2056 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
2057 tests with quiet NaN input and output.
2058 (acosh_test_data): Likewise.
2059 (asin_test_data): Likewise.
2060 (asinh_test_data): Likewise.
2061 (atan_test_data): Likewise.
2062 (atanh_test_data): Likewise.
2063 (atan2_test_data): Likewise.
2064 (cbrt_test_data): Likewise.
2065 (cos_test_data): Likewise.
2066 (cosh_test_data): Likewise.
2067 (erf_test_data): Likewise.
2068 (erfc_test_data): Likewise.
2069 (exp_test_data): Likewise.
2070 (exp10_test_data): Likewise.
2071 (exp2_test_data): Likewise.
2072 (expm1_test_data): Likewise.
2073 (hypot_test_data): Likewise.
2074 (j0_test_data): Likewise.
2075 (j1_test_data): Likewise.
2076 (jn_test_data): Likewise.
2077 (lgamma_test_data): Likewise.
2078 (log_test_data): Likewise.
2079 (log10_test_data): Likewise.
2080 (log1p_test_data): Likewise.
2081 (log2_test_data): Likewise.
2082 (pow_test_data): Likewise.
2083 (scalb_test_data): Likewise.
2084 (sin_test_data): Likewise.
2085 (sincos_test_data): Likewise.
2086 (sinh_test_data): Likewise.
2087 (tan_test_data): Likewise.
2088 (tanh_test_data): Likewise.
2089 (tgamma_test_data): Likewise.
2090 (y0_test_data): Likewise.
2091 (y1_test_data): Likewise.
2092 (yn_test_data): Likewise.
2093
66294491
JM
2094 [BZ #16167]
2095 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
2096 argument being NaN and avoid computations with second argument in
2097 that case.
2098 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2099 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2100 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2101
1820b143
CL
21022013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
2103
2104 * locale/iso-639.def: Add Chitwani Tharu (the).
2105
714bd261
AS
21062013-11-14 Andreas Schwab <schwab@suse.de>
2107
2108 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
2109 word instead of empty string.
2110
7ab44563
AZ
21112013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2112
2113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2114 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
2115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2116 (__fe_nomask_env): Likewise.
2117
e8470ea2
SE
21182013-11-13 Steve Ellcey <sellcey@mips.com>
2119
2120 * benchtests/bench-timing.h: Include time.h.
2121
17c1d9f0
L
21222013-11-13 H.J. Lu <hongjiu.lu@intel.com>
2123
2124 [BZ #15997]
2125 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
2126 to 3.4.0 for x32.
2127 * sysdeps/unix/sysv/linux/configure: Regenerated.
2128
9310c284
JM
21292013-11-13 Joseph Myers <joseph@codesourcery.com>
2130
2131 [BZ #16151]
2132 * stdlib/strtod_l.c (round_and_return): Do not consider
2133 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
2134 exponent one less than half the least subnormal exponent.
2135 * stdlib/test-strtod-round-data: Add more tests.
2136 * stdlib/tst-strtod-round.c (tests): Regenerated.
2137
7a2ad8cf
AZ
21382013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2139
2140 [BZ #14143]
2141 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
2142 (__fe_mask_env): Likewise.
2143 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
2144 libm_hidden_proto and add function prototype.
2145 (__fe_mask_env): Add function prototype.
2146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2147 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
2148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2149 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
2150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2151 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
2152
50727aa7
MS
21532013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2154
b2f386c1 2155 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
2156 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
2157
a615be46
MS
21582013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2159
2160 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
2161 of htab_find_slot().
2162
7ddace62
DM
21632013-11-11 David S. Miller <davem@davemloft.net>
2164
2165 [BZ #16150]
2166 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
2167 symbol in the non-vis3 case in static builds.
2168 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
2169 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
2170 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
2171 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
2172
9182aa67
JK
21732013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2174
2175 [BZ #387]
2176 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
2177 it is empty.
2178
450a2e2d
AZ
21792013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2180
b2f386c1
SP
2181 * benchtests/Makefile: Add bench-strtod.
2182 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 2183
8ec3f656
AS
21842013-11-11 Andreas Schwab <schwab@suse.de>
2185
2186 [BZ #16153]
2187 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
2188 terminating NUL in key length.
2189
76a9b998
AZ
21902013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2191
2192 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2193 Add artificial ODP entry for vDSO symbol for PPC64.
2194 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
2195 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2196
e4368156
OB
21972013-11-07 Ondřej Bílka <neleai@seznam.cz>
2198
2199 [BZ #15374]
2200 * nss/getent.c (services_keys): Recognize services starting with digit.
2201
8d6bb57c
DM
22022013-11-06 David S. Miller <davem@davemloft.net>
2203
2204 [BZ #15985]
2205 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
2206 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
2207
e256c421
WN
22082013-11-06 Will Newton <will.newton@linaro.org>
2209
2210 * manual/memory.texi (Malloc Examples): Remove register
2211 keyword from examples.
2212
f6e12daa 22132013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 2214
f6e12daa 2215 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 2216
9d880655
AS
22172013-11-04 Joseph Myers <joseph@codesourcery.com>
2218
2219 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
2220 depending on [__GCC_IEC_559 > 0].
2221 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
2222 depending on [__GCC_IEC_559_COMPLEX > 0].
2223
ae129d3c
CL
22242013-11-03 Chris Leonard <cjl@sugarlabs.org>
2225
2226 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
2227 to iso-639.def.
2228
4a15c2a4 22292013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
2230
2231 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
2232
8b35e35d
OB
22332013-11-01 Ondřej Bílka <neleai@seznam.cz>
2234
2235 [BZ #16112]
2236 * malloc/malloc (malloc_info): Do not handle first bin as
2237 special case.
2238
1d70fd6c
CL
22392013-11-01 Chris Leonard <cjl@sugarlabs.org>
2240
2241 * locale/iso-639.def: Add Central Nahuatl (nhn).
2242
8c5c2600
BH
22432013-11-01 Bruno Haible <bruno@clisp.org>
2244
2245 [BZ #7003]
2246 * manual/math.texi (BSD Random): Specify range upper bound as
2247 in POSIX.
2248
da5579c2
CL
22492013-10-31 Chris Leonard <cjl@sugarlabs.org>
2250
2251 * locale/iso-639.def: Add Meadow Mari (mhr).
2252
5d30d853
OB
22532013-10-31 Ondřej Bílka <neleai@seznam.cz>
2254
2255 [BZ #14752], [BZ #15763]
2256 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
2257 Validate name.
2258 * rt/tst_shm.c: Add test for escaping directory.
2259
a4966c61
AS
22602013-10-31 Andreas Schwab <schwab@suse.de>
2261
8a43e768 2262 [BZ #15917]
a4966c61
AS
2263 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
2264 followed by 'x' as part of digit sequence.
2265 * stdio-common/tst-sscanf.c (double_tests2): New tests.
2266
28d708c4
MAP
22672013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2268
2269 [BZ #16037]
2270 * configure.ac: allow GNU Make 4.0 and greater.
2271 * configure: Regenerated.
2272
a56ee40b
WN
22732013-10-30 Will Newton <will.newton@linaro.org>
2274
2275 [BZ #16038]
2276 * malloc/hooks.c (memalign_check): Limit alignment to the
2277 maximum representable power of two.
2278 * malloc/malloc.c (__libc_memalign): Likewise.
2279 * malloc/tst-memalign.c (do_test): Add test for very
2280 large alignment values.
2281 * malloc/tst-posix_memalign.c (do_test): Likewise.
2282
c6e4925d
OB
22832013-10-30 Ondřej Bílka <neleai@seznam.cz>
2284
2285 [BZ #11087]
2286 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
2287 (munmap_chunk): Likewise.
2288 (mremap_chunk): Likewise.
2289
22902013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 2291
8a43e768 2292 [BZ #15799]
bbea82f7
OB
2293 * stdlib/div.c (div): Remove obsolete code.
2294 * stdlib/ldiv.c (ldiv): Likewise.
2295 * stdlib/lldiv.c (lldiv): Likewise.
2296
977f4b31
SP
22972013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2298
2299 [BZ #16071]
2300 * nss/nss_files/files-XXX.c (get_contents_ret): New
2301 enumerator.
2302 (get_contents): New function.
2303 (internal_getent): Use it. Expand size of LINEBUFLEN.
2304
cb8a6dbd
MF
23052013-10-30 Mike Frysinger <vapier@gentoo.org>
2306
2307 * configure.in: Moved to ...
2308 * configure.ac: ... here. Change reference to configure.in
2309 to configure.ac.
2310 * sysdeps/arm/preconfigure.ac: ... here.
2311 configure.in to configure.ac.
2312 * sysdeps/gnu/configure.in: Moved to ...
2313 * sysdeps/gnu/configure.ac: ... here.
2314 * sysdeps/i386/configure.in: Moved to ...
2315 * sysdeps/i386/configure.ac: ... here.
2316 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
2317 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
2318 * sysdeps/mach/configure.in: Moved to ...
2319 * sysdeps/mach/configure.ac: ... here.
2320 * sysdeps/mach/hurd/configure.in: Moved to ...
2321 * sysdeps/mach/hurd/configure.ac: ... here.
2322 * sysdeps/powerpc/configure.in: Moved to ...
2323 * sysdeps/powerpc/configure.ac: ... here.
2324 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
2325 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
2326 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
2327 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
2328 * sysdeps/s390/s390-32/configure.in: Moved to ...
2329 * sysdeps/s390/s390-32/configure.ac: ... here.
2330 * sysdeps/s390/s390-64/configure.in: Moved to ...
2331 * sysdeps/s390/s390-64/configure.ac: ... here.
2332 * sysdeps/sh/configure.in: Moved to ...
2333 * sysdeps/sh/configure.ac: ... here.
2334 * sysdeps/sparc/configure.in: Moved to ...
2335 * sysdeps/sparc/configure.ac: ... here.
2336 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
2337 * sysdeps/unix/sysv/linux/configure.ac: ... here.
2338 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
2339 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
2340 * sysdeps/x86_64/configure.in: Moved to ...
2341 * sysdeps/x86_64/configure.ac: ... here.
2342 * sysdeps/x86_64/preconfigure.in: Moved to ...
2343 * sysdeps/x86_64/preconfigure.ac: ... here.
2344 * aclocal.m4: Change reference to configure.in to configure.ac.
2345 * config.h.in: Likewise.
2346 * manual/install.texi: Likewise.
2347 * manual/maint.texi: Likewise.
2348 * Makefile: Likewise.
2349 * malloc/Makefile: Likewise.
2350 * nscd/Makefile: Likewise.
2351 * Makeconfig: Change reference to configure.in and
2352 preconfigure.in to configure.ac and preconfigure.ac
2353 respectively.
2354 * INSTALL: Regenerated.
2355 * configure: Likewise.
2356 * sysdeps/gnu/configure: Likewise.
2357 * sysdeps/i386/configure: Likewise.
2358 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
2359 * sysdeps/mach/configure: Likewise.
2360 * sysdeps/mach/hurd/configure: Likewise.
2361 * sysdeps/powerpc/configure: Likewise.
2362 * sysdeps/powerpc/powerpc32/configure: Likewise.
2363 * sysdeps/powerpc/powerpc64/configure: Likewise.
2364 * sysdeps/s390/s390-32/configure: Likewise.
2365 * sysdeps/s390/s390-64/configure: Likewise.
2366 * sysdeps/sh/configure: Likewise.
2367 * sysdeps/sparc/configure: Likewise.
2368 * sysdeps/unix/sysv/linux/configure: Likewise.
2369 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
2370 * sysdeps/x86_64/configure: Likewise.
2371 * sysdeps/x86_64/preconfigure: Likewise.
2372
36a4953a
AS
23732013-10-29 Andreas Schwab <schwab@suse.de>
2374
2375 * stdio-common/Makefile (tst-swscanf-ENV): Define.
2376
c79a1204
SP
23772013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2378
dfa1b402
SP
2379 * benchtests/pow-inputs: Add new inputs.
2380
54f73d9c
SP
2381 * benchtests/exp-inputs: Add new inputs.
2382
c79a1204
SP
2383 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
2384 conditional check for return value.
2385 (__cos32): Likewise.
2386
67beb545 23872013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
2388
2389 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
2390 to provide a boost for large inputs with word alignment.
2391 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
2392 implementation based on optimized PPC64 strcpy.
2393 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
2394 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
2395 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
2396 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
2397
151659f6
OB
23982013-10-25 Ondřej Bílka <neleai@seznam.cz>
2399
482a077e 2400 [BZ #2801]
151659f6
OB
2401 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
2402
10b0f26b
OB
24032013-10-25 Ondřej Bílka <neleai@seznam.cz>
2404
2405 [BZ #14876]
2406 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
2407 * time/tst-strptime.c (day_tests): Add testcase.
2408
ca42d35e
OB
24092013-10-25 Ondřej Bílka <neleai@seznam.cz>
2410
482a077e 2411 [BZ #14029]
ca42d35e
OB
2412 * manual/pattern.texi: Acknowledge that fnmatch can fail.
2413
52e6d801
FB
24142013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
2415
2416 [BZ #16074]
2417 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
2418 MAP_FAILED on error.
2419
7cbcdb36
SP
24202013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2421
2422 [BZ #16072]
2423 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
2424 heap for large requests.
2425
894f3f10
AM
24262013-10-25 Aurelien Jarno <aurelien@aurel32.net>
2427
2428 [BZ #9954]
2429 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
2430 result if the result has no associated interface.
2431 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
2432 interface for all 127.X.Y.Z addresses.
2433
b85545a6
CL
24342013-10-24 Chris Leonard <cjl@sugarlabs.org>
2435
2436 * locale/iso-639.def: Add Ligurian (lij)
2437
d1f23d46
OB
24382013-10-21 Ondřej Bílka <neleai@seznam.cz>
2439
2440 [BZ #15825]
2441 * sunrpc/rpc_main.c: Document rpcgen -5.
2442
4db5b08f
MS
24432013-10-19 Michael Stahl <mstahl@redhat.com>
2444
2445 * elf/rtld.c (do_preload): Print the reason why preloading failed.
2446
a471e96a
OB
24472013-10-19 Ondřej Bílka <neleai@seznam.cz>
2448
d1f23d46 2449 [BZ #10278]
a471e96a
OB
2450 * posix/glob.c: Match only directories when trailing slash is present.
2451 * posix/tst-gnuglob.c (my_opendir): Do not open files.
2452 (main): Add testcase.
2453
45c30c61
OB
24542013-10-19 Ondřej Bílka <neleai@seznam.cz>
2455
2456 [BZ #15670]
2457 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
2458
484c12fb
CD
24592013-10-18 Carlos O'Donell <carlos@redhat.com>
2460
3d7dc513
CD
2461 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
2462 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
2463 AUTH_DES and cindex for FIPS 140-2.
2464 (DES Encryption): Add cindex FIPS 46-3.
2465
484c12fb
CD
2466 * locale/locarchive.h (struct locarhandle): Add fname.
2467 * locale/programs/localedef.c (main): Pass ARGV[remaining]
2468 if an optional argument was specified to --list-archive,
2469 otherwise NULL.
2470 * locale/programs/locarchive.c (show_archive_content): Take new
2471 argument fname and pass it via ah.fname to open_archive.
2472 * locale/programs/localedef.h: Update decl.
2473 (open_archive): If AH->fname is non-null, open that file
2474 rather than the default file name, and don't ignore ENOENT.
2475 (create_archive): Set AH.fname to NULL.
2476 (delete_locales_from_archive): Likewise.
2477 (add_locales_to_archive): Likewise.
2478 * locale/programs/locfile.c (write_all_categories): Likewise.
2479
3c8325fb
JM
24802013-10-18 Joseph Myers <joseph@codesourcery.com>
2481 Aldy Hernandez <aldyh@redhat.com>
2482
2483 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
2484 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
2485 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
2486 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
2487 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
2488 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
2489 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
2490 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
2491 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
2492 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
2493 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
2494 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
2495 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
2496 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
2497 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
2498 Likewise.
2499 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
2500 Likewise.
2501 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
2502 Likewise.
2503 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
2504 Likewise.
2505 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
2506 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
2507 Likewise.
2508 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
2509 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
2510 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
2511 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
2512 Likewise.
2513 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
2514 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
2515 * sysdeps/powerpc/preconfigure: Likewise.
2516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
2517 Likewise.
2518 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
2519 Replace contents of file by #include of <fenv_libc.h>.
2520 * sysdeps/powerpc/soft-fp/sfp-machine.h
2521 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
2522 and <sys/prctl.h>.
2523 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
2524 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
2525 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
2526 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
2527 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
2528 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
2529 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
2530 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
2531 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
2532 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
2533 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
2534 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
2535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2536 Allow copysignl PLT reference to be missing.
2537
5abe0682
RS
25382013-10-18 Richard Sandiford <richard@codesourcery.com>
2539 Joseph Myers <joseph@codesourcery.com
2540
2541 [BZ #15948]
2542 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
2543 single character.
2544 (add_to_tablewc): Assert sequence of wide characters is nonempty.
2545
c7738d08
SP
25462013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2547
2548 * elf/tst-tls-dlinfo.c: Don't include tls.h.
2549 * elf/tst-tls1.c: Likewise.
2550 * elf/tst-tls10.h: Likewise.
2551 * elf/tst-tls14.c: Likewise.
2552 * elf/tst-tls2.c: Likewise.
2553 * elf/tst-tls3.c: Likewise.
2554 * elf/tst-tls4.c: Likewise.
2555 * elf/tst-tls5.c: Likewise.
2556 * elf/tst-tls6.c: Likewise.
2557 * elf/tst-tls7.c: Likewise.
2558 * elf/tst-tls8.c: Likewise.
2559 * elf/tst-tls9.c: Likewise.
2560 * elf/tst-tlsmod1.c: Likewise.
2561 * elf/tst-tlsmod13.c: Likewise.
2562 * elf/tst-tlsmod13a.c: Likewise.
2563 * elf/tst-tlsmod14a.c: Likewise.
2564 * elf/tst-tlsmod16a.c: Likewise.
2565 * elf/tst-tlsmod16b.c: Likewise.
2566 * elf/tst-tlsmod2.c: Likewise.
2567 * elf/tst-tlsmod3.c: Likewise.
2568 * elf/tst-tlsmod4.c: Likewise.
2569 * elf/tst-tlsmod5.c: Likewise.
2570 * elf/tst-tlsmod6.c: Likewise.
2571
0bfcf2c7
OB
25722013-10-18 Ondřej Bílka <neleai@seznam.cz>
2573
2574 [BZ #12486]
2575 * malloc/malloc.c: remove checks for statistics.
2576
264aad1e
OB
25772013-10-17 Ondřej Bílka <neleai@seznam.cz>
2578
2579 [BZ #15277]
2580 * inet/inet_net.c (inet_network): Detect additional invalid strings.
2581 * inet/tst-network.c: Add testcase.
2582
b957ced8
AS
25832013-10-17 Andreas Schwab <schwab@suse.de>
2584
2585 [BZ #15218]
2586 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
2587 to determine canonical name.
2588
c5d5d574
OB
25892013-10-17 Ondřej Bílka <neleai@seznam.cz>
2590
2591 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
2592 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
2593 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2594 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2595 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2596 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2597 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2598 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2599 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
2600 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2601 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2602 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2603 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2604 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2605 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2606 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2607 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2608 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2609 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2610 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2611 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2612 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2613 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2614 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
2615 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
2616 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2617 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2618 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
2619 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2620 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
2621 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2622 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2623 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2624 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2625 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2626 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2627 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2628 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2629 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2630 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2631 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2632 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2633 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2634 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2635 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2636 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2637 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2638 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2639 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2640 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2641 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2642 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2643 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2644 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2645 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2646 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2647 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2648 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2649
e5c2c2d0
JM
26502013-10-17 Joseph Myers <joseph@codesourcery.com>
2651
2652 [BZ #16041]
2653 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
2654 make result into a quiet NaN.
2655
51ca9e29
JM
26562013-10-16 Joseph Myers <joseph@codesourcery.com>
2657
2658 * soft-fp/adddf3.c: Fix horizontal whitespace.
2659 * soft-fp/addsf3.c: Likewise.
2660 * soft-fp/addtf3.c: Likewise.
2661 * soft-fp/divdf3.c: Likewise.
2662 * soft-fp/divsf3.c: Likewise.
2663 * soft-fp/divtf3.c: Likewise.
2664 * soft-fp/double.h: Likewise.
2665 * soft-fp/eqdf2.c: Likewise.
2666 * soft-fp/eqsf2.c: Likewise.
2667 * soft-fp/eqtf2.c: Likewise.
2668 * soft-fp/extenddftf2.c: Likewise.
2669 * soft-fp/extended.h: Likewise.
2670 * soft-fp/extendsfdf2.c: Likewise.
2671 * soft-fp/extendsftf2.c: Likewise.
2672 * soft-fp/extendxftf2.c: Likewise.
2673 * soft-fp/fixdfdi.c: Likewise.
2674 * soft-fp/fixdfsi.c: Likewise.
2675 * soft-fp/fixdfti.c: Likewise.
2676 * soft-fp/fixsfdi.c: Likewise.
2677 * soft-fp/fixsfsi.c: Likewise.
2678 * soft-fp/fixsfti.c: Likewise.
2679 * soft-fp/fixtfdi.c: Likewise.
2680 * soft-fp/fixtfsi.c: Likewise.
2681 * soft-fp/fixtfti.c: Likewise.
2682 * soft-fp/fixunsdfdi.c: Likewise.
2683 * soft-fp/fixunsdfsi.c: Likewise.
2684 * soft-fp/fixunsdfti.c: Likewise.
2685 * soft-fp/fixunssfdi.c: Likewise.
2686 * soft-fp/fixunssfsi.c: Likewise.
2687 * soft-fp/fixunssfti.c: Likewise.
2688 * soft-fp/fixunstfdi.c: Likewise.
2689 * soft-fp/fixunstfsi.c: Likewise.
2690 * soft-fp/fixunstfti.c: Likewise.
2691 * soft-fp/floatdidf.c: Likewise.
2692 * soft-fp/floatdisf.c: Likewise.
2693 * soft-fp/floatditf.c: Likewise.
2694 * soft-fp/floatsidf.c: Likewise.
2695 * soft-fp/floatsisf.c: Likewise.
2696 * soft-fp/floatsitf.c: Likewise.
2697 * soft-fp/floattidf.c: Likewise.
2698 * soft-fp/floattisf.c: Likewise.
2699 * soft-fp/floattitf.c: Likewise.
2700 * soft-fp/floatundidf.c: Likewise.
2701 * soft-fp/floatundisf.c: Likewise.
2702 * soft-fp/floatunditf.c: Likewise.
2703 * soft-fp/floatunsidf.c: Likewise.
2704 * soft-fp/floatunsisf.c: Likewise.
2705 * soft-fp/floatunsitf.c: Likewise.
2706 * soft-fp/floatuntidf.c: Likewise.
2707 * soft-fp/floatuntisf.c: Likewise.
2708 * soft-fp/floatuntitf.c: Likewise.
2709 * soft-fp/fmadf4.c: Likewise.
2710 * soft-fp/fmasf4.c: Likewise.
2711 * soft-fp/fmatf4.c: Likewise.
2712 * soft-fp/gedf2.c: Likewise.
2713 * soft-fp/gesf2.c: Likewise.
2714 * soft-fp/getf2.c: Likewise.
2715 * soft-fp/ledf2.c: Likewise.
2716 * soft-fp/lesf2.c: Likewise.
2717 * soft-fp/letf2.c: Likewise.
2718 * soft-fp/muldf3.c: Likewise.
2719 * soft-fp/mulsf3.c: Likewise.
2720 * soft-fp/multf3.c: Likewise.
2721 * soft-fp/negdf2.c: Likewise.
2722 * soft-fp/negsf2.c: Likewise.
2723 * soft-fp/negtf2.c: Likewise.
2724 * soft-fp/op-1.h: Likewise.
2725 * soft-fp/op-2.h: Likewise.
2726 * soft-fp/op-4.h: Likewise.
2727 * soft-fp/op-8.h: Likewise.
2728 * soft-fp/op-common.h: Likewise.
2729 * soft-fp/quad.h: Likewise.
2730 * soft-fp/single.h: Likewise.
2731 * soft-fp/soft-fp.h: Likewise.
2732 * soft-fp/sqrtdf2.c: Likewise.
2733 * soft-fp/sqrtsf2.c: Likewise.
2734 * soft-fp/sqrttf2.c: Likewise.
2735 * soft-fp/subdf3.c: Likewise.
2736 * soft-fp/subsf3.c: Likewise.
2737 * soft-fp/subtf3.c: Likewise.
2738 * soft-fp/truncdfsf2.c: Likewise.
2739 * soft-fp/trunctfdf2.c: Likewise.
2740 * soft-fp/trunctfsf2.c: Likewise.
2741 * soft-fp/trunctfxf2.c: Likewise.
2742 * soft-fp/unorddf2.c: Likewise.
2743 * soft-fp/unordsf2.c: Likewise.
2744 * soft-fp/unordtf2.c: Likewise.
2745
9ebb0332
JM
27462013-10-15 Joseph Myers <joseph@codesourcery.com>
2747
2748 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
2749 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
2750
4b1a6d8b
OB
27512013-10-15 Ondřej Bílka <neleai@seznam.cz>
2752
2753 * elf/dl-libc.c: Clear initfini list after freeing.
2754
1e145589
JM
27552013-10-14 Joseph Myers <joseph@codesourcery.com>
2756
2757 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
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/floatunsidf.c: Likewise.
2802 * soft-fp/floatunsisf.c: Likewise.
2803 * soft-fp/floatuntidf.c: Likewise.
2804 * soft-fp/floatuntisf.c: Likewise.
2805 * soft-fp/floatuntitf.c: Likewise.
2806 * soft-fp/fmadf4.c: Likewise.
2807 * soft-fp/fmasf4.c: Likewise.
2808 * soft-fp/fmatf4.c: Likewise.
2809 * soft-fp/gedf2.c: Likewise.
2810 * soft-fp/gesf2.c: Likewise.
2811 * soft-fp/getf2.c: Likewise.
2812 * soft-fp/ledf2.c: Likewise.
2813 * soft-fp/lesf2.c: Likewise.
2814 * soft-fp/letf2.c: Likewise.
2815 * soft-fp/muldf3.c: Likewise.
2816 * soft-fp/mulsf3.c: Likewise.
2817 * soft-fp/multf3.c: Likewise.
2818 * soft-fp/negdf2.c: Likewise.
2819 * soft-fp/negsf2.c: Likewise.
2820 * soft-fp/negtf2.c: Likewise.
2821 * soft-fp/op-1.h: Likewise.
2822 * soft-fp/op-2.h: Likewise.
2823 * soft-fp/op-4.h: Likewise.
2824 * soft-fp/op-8.h: Likewise.
2825 * soft-fp/op-common.h: Likewise.
2826 * soft-fp/quad.h: Likewise.
2827 * soft-fp/single.h: Likewise.
2828 * soft-fp/soft-fp.h: Likewise.
2829 * soft-fp/sqrtdf2.c: Likewise.
2830 * soft-fp/sqrtsf2.c: Likewise.
2831 * soft-fp/sqrttf2.c: Likewise.
2832 * soft-fp/subdf3.c: Likewise.
2833 * soft-fp/subsf3.c: Likewise.
2834 * soft-fp/subtf3.c: Likewise.
2835 * soft-fp/truncdfsf2.c: Likewise.
2836 * soft-fp/trunctfdf2.c: Likewise.
2837 * soft-fp/trunctfsf2.c: Likewise.
2838 * soft-fp/trunctfxf2.c: Likewise.
2839 * soft-fp/unorddf2.c: Likewise.
2840 * soft-fp/unordsf2.c: Likewise.
2841 * soft-fp/unordtf2.c: Likewise.
2842
17c48a60
OB
28432013-10-14 Ondřej Bílka <neleai@seznam.cz>
2844
2845 [BZ #15672]
2846 * misc/error.c (error_tail): Fix possible buffer overflow.
2847
cabba934
OB
28482013-10-14 Aurelien Jarno <aurelien@aurel32.net>
2849
2850 [BZ #13028]
2851 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
2852 address.
2853
94bf958a
PM
28542013-10-14 P. J. McDermott <pj@pehjota.net>
2855
2856 [BZ #832]
2857 * elf/ldd.bash.in (try_trace): New function. Delete previous code
2858 testing pipefail option.
2859
71b4dea7
JM
28602013-10-12 Joseph Myers <joseph@codesourcery.com>
2861
2862 * soft-fp/double.h: Indent preprocessor directives inside #if.
2863 * soft-fp/extended.h: Likewise.
2864 * soft-fp/op-2.h: Likewise.
2865 * soft-fp/op-4.h: Likewise.
2866 * soft-fp/op-common.h: Likewise.
2867 * soft-fp/quad.h: Likewise.
2868 * soft-fp/single.h: Likewise.
2869 * soft-fp/soft-fp.h: Likewise.
2870
55602758
YC
28712013-10-12 Yuri Chornoivan <yurchor@ukr.net>
2872
2873 * iconv/iconv_prog.c: Fix typos.
2874 * stdio-common/psiginfo-data.h: Likewise.
2875
9cd83302
RT
28762013-10-12 Reuben Thomas <rrt@sc3d.org>
2877
2878 [BZ #15764]
2879 * locale/setlocale.c: Fix typo.
2880
99fd9f47
JM
28812013-10-12 Joseph Myers <joseph@codesourcery.com>
2882
b7ea74f0
JM
2883 [BZ #16036]
2884 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
2885 signaling NaN arguments.
2886 * soft-fp/unordsf2.c (__unordsf2): Likewise.
2887 * soft-fp/unordtf2.c (__unordtf2): Likewise.
2888
8a509447
JM
2889 [BZ #14910]
2890 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
2891 unordered operands.
2892 * soft-fp/gesf2.c (__gesf2): Likewise.
2893 * soft-fp/getf2.c (__getf2): Likewise.
2894 * soft-fp/ledf2.c (__ledf2): Likewise.
2895 * soft-fp/lesf2.c (__lesf2): Likewise.
2896 * soft-fp/letf2.c (__letf2): Likewise.
2897
98998e9f
JM
2898 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
2899 * soft-fp/eqsf2.c (__eqsf2): Likewise.
2900 * soft-fp/eqtf2.c (__eqtf2): Likewise.
2901 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
2902 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
2903 * soft-fp/fixdfti.c (__fixdfti): Likewise.
2904 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
2905 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
2906 * soft-fp/fixsfti.c (__fixsfti): Likewise.
2907 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
2908 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
2909 * soft-fp/fixtfti.c (__fixtfti): Likewise.
2910 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
2911 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
2912 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
2913 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
2914 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
2915 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
2916 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
2917 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
2918 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
2919 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
2920 * soft-fp/floatdisf.c (__floatdisf): Likewise.
2921 * soft-fp/floatsisf.c (__floatsisf): Likewise.
2922 * soft-fp/floattidf.c (__floattidf): Likewise.
2923 * soft-fp/floattisf.c (__floattisf): Likewise.
2924 * soft-fp/floattitf.c (__floattitf): Likewise.
2925 * soft-fp/floatundidf.c (__floatundidf): Likewise.
2926 * soft-fp/floatundisf.c (__floatundisf): Likewise.
2927 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
2928 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
2929 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
2930 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
2931 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
2932 * soft-fp/gesf2.c (__gesf2): Likewise.
2933 * soft-fp/getf2.c (__getf2): Likewise.
2934 * soft-fp/ledf2.c (__ledf2): Likewise.
2935 * soft-fp/lesf2.c (__lesf2): Likewise.
2936 * soft-fp/letf2.c (__letf2): Likewise.
2937
8edc4a11
JM
2938 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
2939 Undefine and redefine.
2940 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
2941 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
2942 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
2943 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
2944 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2945 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
2946 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2947 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
2948 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2949 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
2950 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2951 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
2952 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2953 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
2954 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2955
8399acaf
JM
2956 [BZ #16032]
2957 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
2958 without decrementing exponent if mantissa >= that for the
2959 denominator, not >.
2960 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
2961 denominator, not >. Decrement exponent in < case instead of
2962 incrementing in >= case.
2963 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
2964 without decrementing exponent if mantissa >= that for the
2965 denominator, not >.
2966
99fd9f47
JM
2967 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
2968 computing saturated result for unsigned overflow.
2969
10e1cf6b
SP
29702013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2971 Jeff Law <law@redhat.com>
2972
2973 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
2974 (atan2Mp): Add systemtap probe marker.
2975 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
2976 (__ieee754_log): Add systemtap probe marker.
2977 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
2978 (atanMp): Add systemtap probe marker.
2979 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
2980 (tanMp): Add systemtap probe marker.
2981 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
2982 (__slowexp): Add systemtap probe marker.
2983 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
2984 (__slowpow): Add systemtap probe marker.
2985 * manual/probes.texi: Document probes.
2986
3d110c7c
EB
29872013-10-11 Eric Biggers <ebiggers3@gmail.com>
2988
2989 [BZ #15362]
2990 * libio/fileops.c (_IO_new_file_write): Return count of bytes
2991 written.
2992 (_IO_new_file_xsputn): Don't return EOF if nothing has been
2993 written.
2994 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
2995 written to buffer but not flushed.
2996 * libio/iofwrite_u.c: Likewise.
2997 * libio/iopadn.c: Return bytes returned even if EOF was
2998 encountered.
2999 * libio/iowpadn.c: Likewise.
3000 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
3001 if _IO_padn does not write the whole buffer.
3002 [!COMPILE_WPRINTF] (PAD): Likewise.
3003
75b4202a
DM
30042013-10-10 David S. Miller <davem@davemloft.net>
3005
3006 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
3007 directory block.
3008
6c6352e6
JM
30092013-10-10 Joseph Myers <joseph@codesourcery.com>
3010
33b853c3
JM
3011 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
3012 instead of FSF address.
3013 * soft-fp/fixdfti.c: Likewise.
3014 * soft-fp/fixsfti.c: Likewise.
3015 * soft-fp/fixtfti.c: Likewise.
3016 * soft-fp/fixunsdfti.c: Likewise.
3017 * soft-fp/fixunssfti.c: Likewise.
3018 * soft-fp/fixunstfti.c: Likewise.
3019 * soft-fp/floattidf.c: Likewise.
3020 * soft-fp/floattisf.c: Likewise.
3021 * soft-fp/floattitf.c: Likewise.
3022 * soft-fp/floatuntidf.c: Likewise.
3023 * soft-fp/floatuntisf.c: Likewise.
3024 * soft-fp/floatuntitf.c: Likewise.
3025 * soft-fp/trunctfxf2.c: Likewise.
3026
6c6352e6
JM
3027 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
3028 * soft-fp/fixdfti.c: Likewise.
3029 * soft-fp/fixsfti.c: Likewise.
3030 * soft-fp/fixtfti.c: Likewise.
3031 * soft-fp/fixunsdfti.c: Likewise.
3032 * soft-fp/fixunssfti.c: Likewise.
3033 * soft-fp/fixunstfti.c: Likewise.
3034 * soft-fp/floattidf.c: Likewise.
3035 * soft-fp/floattisf.c: Likewise.
3036 * soft-fp/floattitf.c: Likewise.
3037 * soft-fp/floatuntidf.c: Likewise.
3038 * soft-fp/floatuntisf.c: Likewise.
3039 * soft-fp/floatuntitf.c: Likewise.
3040 * soft-fp/trunctfxf2.c: Likewise.
3041
3bf78b71
DM
30422013-10-10 David S. Miller <davem@davemloft.net>
3043
3044 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3045
6f10289e
JM
30462013-10-10 Joseph Myers <joseph@codsourcery.com>
3047
bd878fc0
JM
3048 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3049 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
3050 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
3051 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
3052 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
3053 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
3054 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
3055
6f10289e
JM
3056 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
3057 for NaNs before doing comparisons on argument.
3058 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3059 Likewise.
3060
321e2684
WN
30612013-10-10 Will Newton <will.newton@linaro.org>
3062
3063 * malloc/hooks.c (memalign_check): Ensure the value of bytes
3064 passed to _int_memalign does not overflow.
3065
40fefba1
TR
30662013-10-10 Torvald Riegel <triegel@redhat.com>
3067
3068 * scripts/bench.pl: Add include-sources directive.
3069 * benchtests/README: Update documentation.
3070
2ae21ed2
JM
30712013-10-10 Joseph Myers <joseph@codesourcery.com>
3072
dcc2dd3f
JM
3073 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
3074 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
3075 instead of FP_INIT_ROUNDMODE.
3076 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
3077 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
3078
2ae21ed2
JM
3079 [BZ #16034]
3080 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
3081 copy class of input value.
3082 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
3083 not handle exceptions.
3084 * soft-fp/negsf2.c (__negsf2): Likewise.
3085 * soft-fp/negtf2.c (__negtf2): Likewise.
3086 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
3087
cb8f9562
JM
30882013-10-09 Joseph Myers <joseph@codesourcery.com>
3089
3090 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
3091 semicolon. From Linux kernel.
3092
5b60c59d
AB
30932013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
3094
3095 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
3096
b86835ca
YC
30972013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
3098
3099 [BZ #156]
3100 * manual/socket.texi: Added statement about buffer
3101 for gethostbyname2_r.
3102
e7044ea7
OB
31032013-10-08 Ondřej Bílka <neleai@seznam.cz>
3104
3105 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
3106 Use .p2align directive instead, throughout.
3107 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3108 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3109 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
3110 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3111 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3112 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
3113 * sysdeps/x86_64/strchr.S: Likewise.
3114 * sysdeps/x86_64/strrchr.S: Likewise.
3115
09544cbc
SP
31162013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3117
88576635
SP
3118 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
3119
e7b2d1dd
SP
3120 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
3121
09544cbc
SP
3122 * sysdeps/generic/math_private.h (__mpsin1): Remove
3123 declaration.
3124 (__mpcos1): Likewise.
3125 (__mpsin): New argument __range_reduce.
3126 (__mpcos): Likewise.
3127 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3128 (slow): Use __mpsin and __mpcos.
3129 (slow1): Likewise.
3130 (slow2): Likewise.
3131 (sloww): Likewise.
3132 (sloww1): Likewise.
3133 (sloww2): Likewise.
3134 (bsloww): Likewise.
3135 (bsloww1): Likewise.
3136 (bsloww2): Likewise.
3137 (cslow2): Likewise.
3138 (csloww): Likewise.
3139 (csloww1): Likewise.
3140 (csloww2): Likewise.
3141 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
3142 range_reduce. Merge in __mpsin1.
3143 (__mpcos): Likewise.
3144 (__mpsin1): Remove.
3145 (__mpcos1): Likewise.
3146
7602d070
JM
31472013-10-07 Joseph Myers <joseph@codesourcery.com>
3148
3149 * locale/loadlocale.c (_nl_intern_locale_data): Use
3150 LOCFILE_ALIGNED_P.
3151 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
3152 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
3153 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
3154 obstack data is appropriately aligned.
3155 (obstack_int32_grow_fast): Likewise.
3156 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
3157 * locale/programs/locfile.c (add_locale_uint32): Likewise.
3158 (add_locale_uint32_array): Likewise.
3159
a357259b
SP
31602013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3161
3162 * benchtests/Makefile: Remove ARGLIST and RET variables.
3163 ($(objpfx)bench-%.c): Pass only function name to the script.
3164 * benchtests/README: Update documentation.
3165 * benchtests/acos-inputs: Add new directives.
3166 * benchtests/acosh-inputs: Likewise.
3167 * benchtests/asin-inputs: Likewise.
3168 * benchtests/asinh-inputs: Likewise.
3169 * benchtests/atan-inputs: Likewise.
3170 * benchtests/atanh-inputs: Likewise.
3171 * benchtests/cos-inputs: Likewise.
3172 * benchtests/cosh-inputs: Likewise.
3173 * benchtests/exp-inputs: Likewise.
3174 * benchtests/log-inputs: Likewise.
3175 * benchtests/pow-inputs: Likewise.
3176 * benchtests/rint-inputs: Likewise.
3177 * benchtests/sin-inputs: Likewise.
3178 * benchtests/sinh-inputs: Likewise.
3179 * benchtests/tan-inputs: Likewise.
3180 * benchtests/tanh-inputs: Likewise.
3181 * scripts/bench.pl: Add support for new directives.
3182
9ec1b13d
AM
31832013-10-07 Alan Modra <amodra@gmail.com>
3184
3185 * README: Fix careless merge.
3186
8b7d57cd
AM
31872013-10-05 Alan Modra <amodra@gmail.com>
3188
3189 * NEWS: Mention powerpc64le support and bugs fixed.
3190 * README: Both big-endian and little-endian powerpc64 supported.
3191
7b7bab13
ST
31922013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3193
3194 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
3195 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
3196 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
3197 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
3198
d39baad1
RA
31992013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
3200
3201 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
3202 match prototype.
3203
cd78f7e7
JM
32042013-10-04 Joseph Myers <joseph@codesourcery.com>
3205
29d73d86
JM
3206 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
3207 Move -mhard-float appending from
3208 ports/sysdeps/powerpc/powerpc32/Makefile.
3209 [$(with-fp) = yes] (ASFLAGS): Likewise.
3210 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
3211 * sysdeps/powerpc/nofpu: Move directory from
3212 ports/sysdeps/powerpc/nofpu.
3213 * sysdeps/powerpc/soft-fp: Move directory from
3214 ports/sysdeps/powerpc/soft-fp.
3215 * sysdeps/powerpc/powerpc32/405: Move directory from
3216 ports/sysdeps/powerpc/powerpc32/405.
3217 * sysdeps/powerpc/powerpc32/440: Move directory from
3218 ports/sysdeps/powerpc/powerpc32/440.
3219 * sysdeps/powerpc/powerpc32/464: Move directory from
3220 ports/sysdeps/powerpc/powerpc32/464.
3221 * sysdeps/powerpc/powerpc32/476: Move directory from
3222 ports/sysdeps/powerpc/powerpc32/476.
3223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
3224 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
3225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
3226 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
3227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
3228 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
3229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
3230 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
3231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
3232 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
3233 * README: Update for powerpc-*-linux-gnu software floating point
3234 support in libc.
3235
e246b347
JM
3236 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
3237 case to powerpc/powerpc32*.
3238 * sysdeps/unix/sysv/linux/configure: Regenerated.
3239
89c2003e
JM
3240 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
3241 (_FPU_MASK_OM): Define as 0x04.
3242 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
3243 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
3244 0x00c10080.
3245 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
3246 0x0000003c.
3247 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
3248
cd78f7e7
JM
3249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3250 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3251 getcontext_e500.
3252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3253 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3254 setcontext_e500.
3255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
3256 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
3257 and setcontext_e500.
3258
c755294d
CL
32592013-10-04 Chris Leonard <cjl@sugarlabs,.org>
3260
3261 * locale/iso-3166.def: Update iso-1366.def and related occurrences
3262
e16d221c
SP
32632013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3264
3265 * manual/threads.texi (Default Thread Attributes): Fix typo.
3266
215c7d43
WN
32672013-10-04 Will Newton <will.newton@linaro.org>
3268
3269 * malloc/Makefile: Add tst-memalign.
3270 * malloc/tst-memalign.c: New file.
3271
27d0461b
WN
3272 * malloc/tst-posix_memalign.c: Add comments.
3273 (do_test): Add comments and call free on all potentially
3274 allocated pointers. Add space after cast.
3275
1bc92709
WN
3276 * malloc/tst-pvalloc.c: Add comments.
3277 (do_test): Add comments and call free on all potentially
3278 allocated pointers. Remove duplicate check for NULL pointer.
3279 Add space after cast.
3280
66a9be9d
WN
3281 * malloc/tst-valloc.c: Add comments.
3282 (do_test): Add comments and call free on all potentially
3283 allocated pointers. Remove duplicate check for NULL pointer.
3284 Add space after cast.
3285
4cb81307
AM
32862013-10-04 Alan Modra <amodra@gmail.com>
3287
3288 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3289 Use stdint types in rather than __attribute__((mode())).
3290 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3291
f8e3e9f3
AM
32922013-10-04 Alan Modra <amodra@gmail.com>
3293
3294 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3295 Correct handling of unaligned relocs for little-endian.
3296 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3297
8f9ebb08
AM
32982013-10-04 Alan Modra <amodra@gmail.com>
3299
3300 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
3301 * configure: Regenerate.
3302 * nptl/shlib-versions: Powerpc*le starts at 2.18.
3303 * shlib-versions: Likewise.
3304
0edf96c2
AM
33052013-10-04 Alan Modra <amodra@gmail.com>
3306
3307 * string/tester.c (test_memrchr): Increment reported test cycle.
3308
e0f7a380
AM
33092013-10-04 Alan Modra <amodra@gmail.com>
3310
3311 * string/test-memcpy.c (do_one_test): When reporting errors, print
3312 string address and don't overrun end of string.
3313
466b0393
AM
33142013-10-04 Alan Modra <amodra@gmail.com>
3315
3316 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
3317 insrdi. Make better use of reg selection to speed exit slightly.
3318 Schedule entry path a little better. Remove useless "are we done"
3319 checks on entry to main loop. Handle wrapping around zero address.
3320 Correct main loop count. Handle single left-over word from main
3321 loop inline rather than by using loop_small. Remove extra word
3322 case in loop_small caused by wrong loop count. Add little-endian
3323 support.
3324 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3325 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
3326 cache hint.
3327 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3328 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
3329 support. Avoid rlwimi.
3330 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
3331
3be87c77
AM
33322013-10-04 Alan Modra <amodra@gmail.com>
3333
3334 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 3335 insrdi. Formatting.
3be87c77
AM
3336 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
3337 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3338 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3339 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3340 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3341 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
3342
759cfef3
AM
33432013-10-04 Alan Modra <amodra@gmail.com>
3344
3345 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
3346 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3347 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3348 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
3349 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3350 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3351 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3352 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
3353 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
3354 use of regs. Use power7 mtocrf. Tidy function tails.
3355
fe6e95d7
AM
33562013-10-04 Alan Modra <amodra@gmail.com>
3357
3358 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
3359 Formatting. Consistently use rXXX register defines or rN defines.
3360 Use early exit labels that avoid restoring unused non-volatile regs.
3361 Make cr field use more consistent with rWORDn compares. Rename
3362 regs used as shift registers for unaligned loop, using rN defines
3363 for short lifetime/multiple use regs.
3364 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3365 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
3366 addi 1,1,64 to pop stack frame. Simplify return value code.
3367 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3368
664318c3
AM
33692013-10-04 Alan Modra <amodra@gmail.com>
3370
3371 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
3372 support. Correct typos, formatting. Optimize tail. Use insrdi
3373 rather than rlwimi.
3374 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
3375 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
3376 little-endian support. Correct typos.
3377 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
3378 rather than rlwimi.
3379 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
3380 in loop and entry code to keep "and." results.
3381 (strchr): Add little-endian support. Comment. Move cntlzd
3382 earlier in tail.
3383 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
3384
43b84013
AM
33852013-10-04 Alan Modra <amodra@gmail.com>
3386
3387 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
3388 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
3389 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
3390 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
3391
8a7413f9
AM
33922013-10-04 Alan Modra <amodra@gmail.com>
3393
3394 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
3395 (rTMP): Define as r11.
3396 (strcmp): Add little-endian support. Optimise tail.
3397 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
3398 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3399 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3400 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3401 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3402 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3403 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3404
33ee81de
AM
34052013-10-04 Alan Modra <amodra@gmail.com>
3406
3407 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
3408 little-endian support. Remove unnecessary "are we done" tests.
3409 Handle "s" wrapping around zero and extremely large "size".
3410 Correct main loop count. Handle single left-over word from main
3411 loop inline rather than by using small_loop. Correct comments.
3412 Delete "zero" tail, use "end_max" instead.
3413 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
3414
db9b4570
AM
34152013-10-04 Alan Modra <amodra@gmail.com>
3416
3417 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
3418 support. Don't branch over align.
3419 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
3420 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
3421 support. Rearrange tmp reg use to suit. Comment.
3422 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
3423
f7c399cf
AM
34242013-10-04 Alan Modra <amodra@gmail.com>
3425
3426 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
3427
0b2c2ace
AM
34282013-10-04 Alan Modra <amodra@gmail.com>
3429
3430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
3431 conditional form of branch and link when obtaining pc.
3432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3433
02f04a6c
AM
34342013-10-04 Alan Modra <amodra@gmail.com>
3435
3436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
3437 HIWORD/LOWORD.
3438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
3439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
3440
9b874b2f
AM
34412013-10-04 Alan Modra <amodra@gmail.com>
3442
3443 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
3444 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
3445 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3446 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
3447 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3448 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3449 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
3450 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3451 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3452 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
3453
be1e5d31
AB
34542013-10-04 Anton Blanchard <anton@au1.ibm.com>
3455 Alistair Popple <alistair@ozlabs.au.ibm.com>
3456 Alan Modra <amodra@gmail.com>
3457
3458 [BZ #15723]
3459 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
3460 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
3461 _dl_hwcap access for little-endian.
3462 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
3463 destroy vmx regs when saving unaligned.
3464 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
3465 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
3466 destroy vmx regs when saving unaligned.
3467
fef13a78
AM
34682013-10-04 Alan Modra <amodra@gmail.com>
3469
3470 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
3471 Don't use a union to pack hi/low value.
3472
76a66d51
AB
34732013-10-04 Anton Blanchard <anton@au1.ibm.com>
3474
3475 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
3476 for little-endian.
3477 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3478 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
3479 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3480 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3481 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3482
6a31fe7f
AM
34832013-10-04 Alan Modra <amodra@gmail.com>
3484
3485 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
3486 constants to usual value for .cst8 section, and remove redundant
3487 high address load.
3488 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
3489 constant for 0x1p52. Load little-endian words of double from
3490 correct stack offsets.
3491
7b88401f
AM
34922013-10-04 Alan Modra <amodra@gmail.com>
3493
3494 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
3495 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
3496 words of double from correct stack offsets.
3497 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3498 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
3499 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3500 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3501 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3502 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3503 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3504 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3505 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3506 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3507 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3508 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3509 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3510 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3511 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3512 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
3513 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3514
9c008155
AM
35152013-10-04 Alan Modra <amodra@gmail.com>
3516
3517 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
3518 64-bit int/double union.
3519 (_FPU_SETCW): Likewise.
3520 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
3521 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
3522
da13146d
AM
35232013-10-04 Alan Modra <amodra@gmail.com>
3524
3525 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
3526 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
3527
603e8410
AM
35282013-10-04 Alan Modra <amodra@gmail.com>
3529
3530 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
3531 use vector int constants.
3532 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
3533
4a28b3ca
AB
35342013-10-04 Anton Blanchard <anton@au1.ibm.com>
3535
3536 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
3537 array with long long.
3538 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
3539 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
3540 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
3541 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
3542 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
3543 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
3544 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
3545 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
3546 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
3547 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
3548 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
3549 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
3550 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
3551
2ca85d2b
AB
35522013-10-04 Anton Blanchard <anton@au1.ibm.com>
3553
3554 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
3555 (__signbit): Likewise. Correct for little-endian.
3556 (__signbitl): Call __signbit.
3557 (lrint): Correct for little-endian.
3558 (lrintf): Call lrint.
3559
62a728ae
AM
35602013-10-04 Alan Modra <amodra@gmail.com>
3561
3562 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
3563 union 32-bit int array member with 64-bit int array.
3564 (t515, tm256): Double rather than long double.
3565 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
3566
32c301df
AM
35672013-10-04 Alan Modra <amodra@gmail.com>
3568
3569 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
3570 Delete.
3571 (IEEE854_LONG_DOUBLE_BIAS): Delete.
3572 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
3573 version of math_ldbl.h.
3574
650ef4bd
AM
35752013-10-04 Alan Modra <amodra@gmail.com>
3576
3577 [BZ #15734], [BZ #15735]
3578 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
3579 all uses of ieee875 long double macros and unions. Simplify test
3580 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
3581 ldbl_extract_mantissa value for ix,iy exponents. Properly
3582 normalize after ldbl_extract_mantissa, and don't add hidden bit
3583 already handled. Don't treat low word of ieee854 mantissa like
3584 low word of IBM long double and mask off bit when testing for
3585 zero.
3586 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
3587 all uses of ieee875 long double macros and unions. Simplify tests
3588 for 0.0L and inf. Correct double adjustment of k. Delete dead code
3589 adjusting ha,hb. Simplify code setting kld. Delete two600 and
3590 two1022, instead use their values. Recognise that tests for large
3591 "a" and small "b" are mutually exclusive. Rename vars. Comment.
3592 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
3593 Rewrite all uses of ieee875 long double macros and unions. Simplify
3594 test for 0.0L and nan. Correct negation.
3595 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
3596 ieee875 long double macros and unions. Correct output for large
3597 magnitude x. Correct absolute value calculation.
3598 (__erfcl): Likewise.
3599 * math/libm-test.inc: Add tests for errors discovered in IBM long
3600 double versions of fmodl, remainderl, erfl and erfcl.
3601
765714ca
AM
36022013-10-04 Alan Modra <amodra@gmail.com>
3603
3604 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
3605 all uses of ieee854 long double macros and unions. Simplify tests
3606 for long doubles that are fully specified by the high double.
3607 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3608 Likewise.
3609 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
3610 Remove dead code too.
3611 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3612 (__ieee754_ynl): Likewise.
3613 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
3614 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
3615 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
3616 Remove dead code too.
3617 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
3618 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
3619 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
3620 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
3621 Simplify.
3622 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
3623 Simplify.
3624 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
3625 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
3626 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
3627 Comment on variable precision.
3628 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
3629 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3630 Likewise.
3631 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3632 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3633 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3634 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
3635 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
3636
4ebd120c
AM
36372013-10-04 Alan Modra <amodra@gmail.com>
3638
3639 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
3640 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
3641 all uses of ieee854 long double macros and unions.
3642 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
3643 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3644 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
3645 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
3646 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
3647 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3648 Likewise.
3649 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
3650 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3651 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
3652 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3653 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
3654 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
3655 Simplify sign and nan test too.
3656 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
3657 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
3658 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
3659 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
3660 Likewise.
3661 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3662 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
3663 Likewise.
3664 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3665 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
3666 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
3667 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
3668 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
3669 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
3670
1b6adf88
AM
36712013-10-04 Alan Modra <amodra@gmail.com>
3672
3673 * stdio-common/printf_size.c (__printf_size): Don't use
3674 union ieee854_long_double in fpnum union.
3675 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
3676 signbit macro to retrieve sign from long double.
3677 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
3678 retrieve sign from long double.
3679 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
3680 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
3681 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
3682 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3683 * math/test-misc.c (main): Don't use union ieee854_long_double.
3684
4cf69995
AM
36852013-10-04 Alan Modra <amodra@gmail.com>
3686
3687 [BZ #15680]
3688 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
3689 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
3690 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
3691 calculation. Remove unnecessary test for denormal exponent.
3692 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
3693 Correct handling of denormals. Avoid undefined shift behaviour.
3694 Correct normalisation of low mantissa when low double is denormal.
3695 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
3696 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
3697 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
3698 Correct normalisation of low mantissa. Test for overflow of high
3699 mantissa and normalise.
3700 (ldbl_nearbyint): Use more readable constant for two52.
3701 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
3702 (__mpn_construct_long_double): Fix test for overflow of high
3703 mantissa and correct normalisation. Avoid undefined shift.
3704
9605ca6c
AM
37052013-10-04 Alan Modra <amodra@gmail.com>
3706
3707 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3708 (union ibm_extended_long_double): Define as an array of ieee754_double.
3709 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
3710 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
3711 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
3712 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3713 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3714 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
3715 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3716 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3717 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3718 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
3719 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3720
975569d0
JM
37212013-10-03 Joseph Myers <joseph@codesourcery.com>
3722
d3d23756
JM
3723 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
3724 page size instead of calling getpagesize.
3725
975569d0
JM
3726 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
3727 (LOCFILE_ALIGN_MASK): Likewise.
3728 (LOCFILE_ALIGN_UP): Likewise.
3729 (LOCFILE_ALIGNED_P): Likewise.
3730 * locale/programs/ld-collate.c (collate_output): Use the new
3731 macros instead of __alignof__ (int32_t).
3732 * locale/weight.h (findidx): Likewise.
3733
b1fe1f2b
OB
37342013-10-03 Ondřej Bílka <neleai@seznam.cz>
3735
3736 [BZ #431]
3737 * manual/string.texi: Fix strncat and wcsncat.
3738
5f855e35
BM
37392013-10-03 Brooks Moses <bmoses@google.com>
3740
3741 [BZ #15915]
3742 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
3743 * Makerules: ...here, and adjust associated comments.
3744
3cef6009
WN
37452013-10-02 Will Newton <will.newton@linaro.org>
3746
3747 * malloc/Makefile: Add tst-pvalloc.
3748 * malloc/tst-pvalloc.c: New file.
3749
7815420b
WN
37502013-10-02 Will Newton <will.newton@linaro.org>
3751
3752 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
3753 improve test coverage.
3754
4868b204
WN
37552013-10-02 Will Newton <will.newton@linaro.org>
3756
3757 * malloc/Makefile: Add tst-posix_memalign.
3758 * malloc/tst-posix_memalign.c: New file.
3759
29c793b3
EB
37602013-10-01 Eric Blake <eblake@redhat.com>
3761
3762 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
3763 Use __THROWNL rather than __THROW on static functions.
3764
fd967522
PM
37652013-09-30 Petr Machata <pmachata@redhat.com>
3766
3767 * elf/elf.h (R_AARCH64_ABS16): New macro.
3768 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
3769 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
3770 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
3771 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
3772 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
3773 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
3774 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
3775 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
3776 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
3777 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
3778 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
3779 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
3780 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
3781 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
3782 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
3783 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
3784 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
3785 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
3786 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
3787 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
3788 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
3789 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
3790 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
3791 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
3792 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
3793 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
3794 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
3795 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
3796 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
3797 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
3798 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
3799 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
3800 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
3801 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
3802 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
3803 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
3804 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
3805 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
3806 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
3807 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
3808 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
3809 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
3810 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
3811 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
3812 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
3813 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
3814 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
3815 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
3816 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
3817 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
3818 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
3819 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
3820 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
3821 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
3822 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
3823 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
3824 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
3825 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
3826 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
3827 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
3828 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
3829 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
3830 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
3831 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
3832 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
3833 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
3834 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
3835 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
3836 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
3837 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
3838 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
3839 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
3840 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
3841 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
3842 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
3843 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
3844 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
3845 (R_AARCH64_TLSDESC_LDR): Likewise.
3846 (R_AARCH64_TLSDESC_ADD): Likewise.
3847 (R_AARCH64_TLSDESC_CALL): Likewise.
3848
b2179107
AS
38492013-09-30 Andreas Schwab <schwab@suse.de>
3850
3851 [BZ #15048]
3852 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
3853 the nss database lookup.
3854 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3855 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3856
47f28d0a
MF
38572013-09-28 Mike Frysinger <vapier@gentoo.org>
3858
3859 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
3860
38612013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
3862
3863 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
3864 ${Bash-specific parameter/pattern/string} parameter expansion.
3865 * sysdeps/unix/make-syscalls.sh: Likewise.
3866
f4518a17
KK
38672013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3868
3869 * sysdeps/sh/stackguard-macros.h: New file.
3870
dc1a95c7
OB
38712013-09-26 Ondřej Bílka <neleai@seznam.cz>
3872
3873 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
3874 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
3875 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
3876 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
3877 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3878 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
3879
5ebbff8f
AZ
38802013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3881
3882 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
3883 Fix thread ID register.
3884
4fd2cf9f
JM
38852013-09-25 Joseph Myers <joseph@codesourcery.com>
3886
3887 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
3888 [POSIX || UNIX98]: Require rather than permitting all symbols from
3889 <time.h>.
3890 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
3891 element of struct sched_param.
3892 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
3893 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
3894 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
3895 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
3896 constant.
3897
12c22bc4
OL
38982013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
3899
3900 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
3901 argument calculation.
3902
a03d8ea7
JM
39032013-09-24 Joseph Myers <joseph@codesourcery.com>
3904
3905 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
3906 Expect macro.
3907 [POSIX] (pthread_attr_t): Do not require type.
3908 [POSIX] (pthread_cond_t): Likewise.
3909 [POSIX] (pthread_condattr_t): Likewise.
3910 [POSIX] (pthread_key_t): Likewise.
3911 [POSIX] (pthread_mutex_t): Likewise.
3912 [POSIX] (pthread_mutexattr_t): Likewise.
3913 [POSIX] (pthread_once_t): Likewise.
3914 [POSIX] (pthread_t): Likewise.
3915 [POSIX-based standards] (pthread_atfork): Expect function.
3916
6055173a
JM
39172013-09-24 Joseph Myers <joseph@codesourcery.com>
3918 Richard Sandiford <richard@codesourcery.com>
3919
3920 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
3921 (swap_endianness_p): New extern variable.
3922 (set_big_endian): New inline function.
3923 (maybe_swap_uint32): Likewise.
3924 (maybe_swap_uint32_array): Likewise.
3925 (maybe_swap_uint32_obstack): Likewise.
3926 * locale/programs/locfile.c: Include <stdbool.h>.
3927 (swap_endianness_p): New variable.
3928 (add_locale_uint32): Call maybe_swap_uint32.
3929 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
3930 (write_locale_data): Call maybe_swap_uint32_array.
3931 * locale/programs/ld-collate.c (obstack_int32_grow): Call
3932 maybe_swap_uint32.
3933 (obstack_int32_grow_fast): Likewise.
3934 (output_weightwc): Call maybe_swap_uint32_obstack.
3935 (collate_output): Likewise.
3936 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
3937 (OPT_LITTLE_ENDIAN): Likewise.
3938 (options): Add --little-endian and --big-endian options.
3939 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
3940 * locale/programs/locarchive.c: Include "locfile.h".
3941 (GET): New macro.
3942 (SET): Likewise.
3943 (INC): Likewise.
3944 (create_archive): Use the new macros to access fields of
3945 structures directly mapped from or written to locale archives.
3946 (oldlocrecentcmp): Likewise.
3947 (enlarge_archive): Likewise.
3948 (insert_name): Likewise.
3949 (add_alias): Likewise.
3950 (add_locale): Likewise.
3951 (delete_locales_from_archive): Likewise.
3952 (show_archive_content): Likewise.
3953 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
3954 locale data.
3955
39bf0bb4
RM
39562013-09-24 Roland McGrath <roland@hack.frob.com>
3957
3958 * manual/freemanuals.texi: Updated from (newly) canonical copy at
3959 http://www.gnu.org/doc/freemanuals.texi.
3960 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
3961
f02eed10
WN
39622013-09-24 Will Newton <will.newton@linaro.org>
3963
3964 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
3965 macro.
3966
a3a6c312
JM
39672013-09-23 Joseph Myers <joseph@codesourcery.com>
3968
3969 * locale/hashval.h (compute_hashval): Interpret bytes of key as
3970 unsigned char.
3971
107375ac
MR
39722013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
3973
3974 * manual/threads.texi (POSIX Threads): Fix a typo.
3975
141f3a77
SP
39762013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3977
303e567a
SP
3978 [BZ #14547]
3979 * string/tst-strcoll-overflow.c: New test case.
3980 * string/Makefile (xtests): Add tst-strcoll-overflow.
3981 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
3982 cache if string sizes may cause integer overflow.
3983
141f3a77
SP
3984 [BZ #14547]
3985 * string/strcoll_l.c (coll_seq): New members rule, idx,
3986 save_idx and back_us.
3987 (get_next_seq_nocache): New function.
3988 (do_compare_nocache): New function.
3989 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
3990 when malloc fails.
3991
c61b4d41
CD
39922013-09-23 Carlos O'Donell <carlos@redhat.com>
3993
0b1f8e35
CD
3994 [BZ #15754]
3995 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
3996 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
3997 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
3998
c61b4d41
CD
3999 [BZ #15754]
4000 * elf/Makefile (tests): Add tst-ptrguard1.
4001 (tests-static): Add tst-ptrguard1-static.
4002 (tst-ptrguard1-ARGS): Define.
4003 (tst-ptrguard1-static-ARGS): Define.
4004 * elf/tst-ptrguard1.c: New file.
4005 * elf/tst-ptrguard1-static.c: New file.
4006 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
4007 * sysdeps/i386/stackguard-macros.h: Likewise.
4008 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4009 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4010 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4011 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4012 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4013 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4014
40152013-09-23 Hector Marco <hecmargi@upv.es>
4016 Ismael Ripoll <iripoll@disca.upv.es>
4017 Carlos O'Donell <carlos@redhat.com>
4018
4019 [BZ #15754]
4020 * sysdeps/generic/stackguard-macros.h: Define
4021 __pointer_chk_guard_local and POINTER_CHK_GUARD.
4022 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
4023 Define __pointer_chk_guard_local.
4024 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
4025 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
4026
f5f4e7b4
VV
40272013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
4028
4029 [BZ #15859]
4030 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
4031
5bb43a43
AS
40322013-09-20 Andreas Schwab <schwab@linux-m68k.org>
4033
4034 * include/string.h (__ffs): Declare as hidden.
4035 * string/ffs.c (__ffs): Define as hidden.
4036 * sysdeps/i386/ffs.c (__ffs): Likewise.
4037 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
4038 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
4039 * sysdeps/s390/ffs.c (__ffs): Likewise.
4040 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
4041
3ea5be54
AO
40422013-09-20 Alexandre Oliva <aoliva@redhat.com>
4043
ffb89e53
AO
4044 * NEWS: Mention malloc probes.
4045
322dea08
AO
4046 * malloc/arena.c (new_heap): New memory_heap_new probe.
4047 (grow_heap): New memory_heap_more probe.
4048 (shrink_heap): New memory_heap_less probe.
4049 (heap_trim): New memory_heap_free probe.
4050 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
4051 (systrim): New memory_sbrk_less probe.
4052 * manual/probes.texi: Document them.
4053
655673f3
AO
4054 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
4055 * manual/probes.texi: Document it.
4056
35fed6f1
AO
4057 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
4058 (__libc_realloc): Add memory_realloc_retry probe.
4059 (__libc_memalign): Add memory_memalign_retry probe.
4060 (__libc_valloc): Add memory_valloc_retry probe.
4061 (__libc_pvalloc): Add memory_pvalloc_retry probe.
4062 (__libc_calloc): Add memory_calloc_retry probe.
4063 * manual/probes.texi: Document them.
4064
6999d38c
AO
4065 * malloc/arena.c (get_free_list): Add probe
4066 memory_arena_reuse_free_list.
4067 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
4068 and memory_arena_reuse.
4069 (arena_get2) [!PER_THREAD]: Likewise.
4070 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
4071 memory_arena_reuse_realloc.
4072 * manual/probes.texi: Document them.
4073
0653427f
AO
4074 * malloc/malloc.c (__libc_free): Add
4075 memory_mallopt_free_dyn_thresholds probe.
4076 (__libc_mallopt): Add multiple memory_mallopt probes.
4077 * manual/probes.texi: Document them.
4078
3ea5be54
AO
4079 * malloc/malloc.c: Include stap-probe.h.
4080 (__libc_mallopt): Add memory_mallopt probe.
4081 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
4082 * manual/probes.texi: New.
4083 * manual/Makefile (chapters): Add probes.
4084 * manual/threads.texi: Set next node.
4085
e35696c3 40862013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 4087
e35696c3
CL
4088 [BZ #15963, #13985]
4089 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
4090 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
4091 Add `Chinese' to `nan' entry name.
4092
4aafb73c
SP
40932013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4094
4095 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
4096 (POLYNOMIAL): Likewise.
4097 (TAYLOR_SINCOS): Likewise.
4098 (TAYLOR_SLOW): Likewise.
4099 (__sin): Use TAYLOR_SINCOS.
4100 (__cos): Likewise.
4101 (slow): Use TAYLOR_SLOW.
4102 (sloww): Likewise.
4103 (bsloww): Likewise.
4104 (csloww): Likewise.
4105
d84f25c7
LD
41062013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4107
4108 * stdlib/strtod_l.c: Fix buffer overrun.
4109
5eea0404
SP
41102013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4111
7849ff93
SP
4112 * benchtests/Makefile (bench): Add sincos.
4113 * benchtests/bench-sincos.c: New file.
4114
cfa3c886
SP
4115 * math/libm-test.inc (cos_test_data): New test inputs.
4116 (sin_test_data): Likewise.
4117
b348e1e3
SP
4118 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
4119 macro.
4120 (__sin): Use it.
4121 (__cos): Likewise.
4122 (slow1): Likewise.
4123 (slow2): Likewise.
4124 (sloww1): Likewise.
4125 (sloww2): Likewise.
4126 (bsloww1): Likewise.
4127 (bsloww2): Likewise.
4128 (cslow2): Likewise.
4129 (csloww1): Likewise.
4130 (csloww2): Likewise.
4131
6cce25f8
SP
4132 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
4133 function.
4134 (__sin): Use it.
4135 (__cos): Likewise.
4136
5eea0404
SP
4137 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
4138 gotos.
4139 (__cos): Likewise.
4140
9c21573c
MR
41412013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
4142
4143 * config.h.in (HAVE_MIPS_NAN2008): New macro.
4144 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
4145 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
4146 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
4147 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
4148 * elf/cache.c (print_entry): Handle the new cache flags.
4149
24d22e65
JM
41502013-09-18 Joseph Myers <joseph@codesourcery.com>
4151 Aldy Hernandez <aldyh@redhat.com>
4152
4153 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
4154 Change condition to [_SOFT_FLOAT].
4155 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
4156 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
4157 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
4158 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
4159 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
4160 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
4161 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
4162 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
4163 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
4164 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
4165 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
4166 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
4167 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
4168 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
4169 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
4170 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
4171 declaration.
4172
d13ef066
JM
41732013-09-18 Joseph Myers <joseph@codesourcery.com>
4174
2e071de0
JM
4175 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
4176 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4177 (__longjmp): Use LOAD_GP to load saved GPRs.
4178 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
4179 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4180 (__sigsetjmp): Use SAVE_GP to save GPRs.
4181
d13ef066
JM
4182 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
4183 Do not append -msoft-float.
4184 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
4185
97a0650b
SP
41862013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4187
4188 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
4189
11ca09e9
JM
41902013-09-17 Joseph Myers <joseph@codesourcery.com>
4191
4192 [BZ #15966]
4193 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
4194 (_FPU_GETCW): Use initial "__" on variable and field names but not
4195 on macro parameter name.
4196 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
4197 parentheses around reference to macro parameter.
4198
08ffcf34
RS
41992013-09-13 Richard Sandiford <richard@codesourcery.com>
4200
4201 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
4202 prototype.
4203 (ctype_startup): Use uint32_t in cast and sizeof for
4204 ctype->charnames.
4205
ae7080d3
JL
42062013-09-11 Jia Liu <proljc@gmail.com>
4207
4208 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
4209 __daddr_t_defined.
4210 [__FreeBSD__]: Likewise.
4211
5905e7b3
OB
42122013-09-11 Ondřej Bílka <neleai@seznam.cz>
4213
4214 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4215 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
4216 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
4217 (strchr): Remove __strchr_sse42 ifunc selection.
4218 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
4219 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
4220
b987c776
WN
42212013-09-11 Will Newton <will.newton@linaro.org>
4222
4223 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
4224 parameter to RES. Remove hardcoded 1000 value.
4225 * benchtests/bench-skeleton.c (main): Pass RES parameter
4226 to TIMING_INIT and multiply result by 1000.
4227
ddf985af
AZ
42282013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4229
4230 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4231
ffdd3181
AS
42322013-09-11 Andreas Schwab <schwab@suse.de>
4233
4234 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
4235 if not defined.
4236 (O_TMPFILE) [__USE_GNU]: Define.
4237 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
4238 Define.
4239
b73ed247
WN
42402013-09-11 Will Newton <will.newton@linaro.org>
4241
4242 [BZ #15857]
4243 * malloc/malloc.c (__libc_memalign): Check the value of bytes
4244 does not overflow.
4245
55e17aad
WN
42462013-09-11 Will Newton <will.newton@linaro.org>
4247
4248 [BZ #15856]
4249 * malloc/malloc.c (__libc_valloc): Check the value of bytes
4250 does not overflow.
4251
1159a193
WN
42522013-09-11 Will Newton <will.newton@linaro.org>
4253
4254 [BZ #15855]
4255 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
4256 does not overflow.
4257
5905e7b3 42582013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
4259
4260 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
4261 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4262 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4263 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4264 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4265
cdfc721b
AM
42662013-09-10 Allan McRae <allan@archlinux.org>
4267
aa04af00
AM
4268 [BZ #15748]
4269 * manual/arith.texi (Parsing of Floats): Clarify
4270 cross-reference.
4271
cdfc721b
AM
4272 [BZ #15849]
4273 * manual/install.texi (Running make install): Mention
4274 --enable-pt-chown.
4275 * INSTALL: Regenerated.
4276
95e7cf29
MR
42772013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4278
4279 * csu/init-first.c (_init): Remove the !SHARED condition around
4280 FPU control word initialization.
4281 * elf/dl-support.c (_dl_fpu_control): New variable.
4282 (_dl_aux_init) <AT_FPUCW>: Initialize it.
4283 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
4284 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
4285 * math/test-fpucw-static.c: New file.
4286 * math/test-fpucw-ieee.c: New file.
4287 * math/test-fpucw-ieee-static.c: New file.
4288 * math/Makefile (tests): Add `test-fpucw-ieee' and
4289 `$(tests-static)'.
4290 (tests-static): New variable.
4291 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
4292 dependency to...
4293 [($(build-shared),yes)]
4294 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4295 ... this.
4296 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
4297 New dependency.
4298
83e43bf0
AM
42992013-09-09 Allan McRae <allan@archlinux.org>
4300
a9f5ce09
AM
4301 [BZ #15939]
4302 * manual/string.texi (Collation Functions): Fix typo in
4303 strcoll example.
4304 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
4305
34829bc2
AM
4306 [BZ #15893]
4307 * stdlib/isomac.c (get_null_defines): Fix memory leak.
4308
3932737d
AM
4309 [BZ #15892]
4310 * libio/memstream.c (open_memstream): Fix memory leak.
4311 * libio/wmemstream.c (open_wmemstream): Likewise.
4312
83e43bf0
AM
4313 [BZ #15895]
4314 * nscd/netgroupcache.c: Fix nesting of ifdefs.
4315
0c66b8e9
WN
43162013-09-09 Will Newton <will.newton@linaro.org>
4317
4318 * malloc/Makefile: Add tst-realloc to tests.
4319 * malloc/tst-realloc.c: New file.
4320
f6b00fd1
AM
43212013-09-09 Allan McRae <allan@archlinux.org>
4322
4323 [BZ #15844]
4324 * COPYING: Update from GNU website to fix FSF address.
4325 * COPYING.LIB: Likewise.
4326
eec55e16
DM
43272013-09-06 David S. Miller <davem@davemloft.net>
4328
4329 * po/zh_TW.po: Update Chinese (traditional) translation from
4330 translation project.
4331
1ecbb381
RS
43322013-09-06 Richard Sandiford <richard@codesourcery.com>
4333 Joseph Myers <joseph@codesourcery.com>
4334
4335 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
4336 "localeinfo.h".
4337 (obstack_chunk_alloc): New macro.
4338 (obstack_chunk_free): Likewise.
4339 (record_offset): New function.
4340 (init_locale_data): Likewise.
4341 (align_locale_data): Likewise.
4342 (add_locale_empty): Likewise.
4343 (add_locale_raw_data): Likewise.
4344 (add_locale_raw_obstack): Likewise.
4345 (add_locale_string): Likewise.
4346 (add_locale_wstring): Likewise.
4347 (add_locale_uint32): Likewise.
4348 (add_locale_uint32_array): Likewise.
4349 (add_locale_char): Likewise.
4350 (start_locale_structure): Likewise.
4351 (end_locale_structure): Likewise.
4352 (start_locale_prelude): Likewise.
4353 (end_locale_prelude): Likewise.
4354 (write_locale_data): Take locale_file structure rather than an
4355 iovec.
4356 * locale/programs/locfile.h: Include "obstack.h".
4357 (struct locale_file): Change to store locale file contents instead
4358 of header.
4359 (init_locale_data): New prototype.
4360 (align_locale_data): Likewise.
4361 (add_locale_empty): Likewise.
4362 (add_locale_raw_data): Likewise.
4363 (add_locale_raw_obstack): Likewise.
4364 (add_locale_string): Likewise.
4365 (add_locale_wstring): Likewise.
4366 (add_locale_uint32): Likewise.
4367 (add_locale_uint32_array): Likewise.
4368 (add_locale_char): Likewise.
4369 (start_locale_structure): Likewise.
4370 (end_locale_structure): Likewise.
4371 (start_locale_prelude): Likewise.
4372 (end_locale_prelude): Likewise.
4373 (write_locale_data): Update prototype.
4374 * locale/programs/3level.h (struct TABLE): Remove result field.
4375 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
4376 Use new locale_file interface.
4377 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
4378 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
4379 * locale/programs/ld-address.c (address_output): Use new
4380 locale_file interface.
4381 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
4382 NO_ADD_LOCALE.
4383 (collate_finish): Don't call collseq_table_finalize.
4384 (collate_output): Use new locale_file interface.
4385 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
4386 in file.
4387 (NO_FINALIZE): Change to NO_ADD_LOCALE.
4388 (TABLE): Move defines earlier in file.
4389 (ELEMENT): Likewise.
4390 (DEFAULT): Likewise.
4391 (wctrans_table_add): Move macro and inline function earlier in
4392 file.
4393 (struct wctype_table): Move type earlier in file.
4394 (add_locale_wctype_table): New static prototype.
4395 (struct locale_ctype_t): Use logical types instead of struct iovec
4396 pointers for members.
4397 (ctype_output): Use new locale_file interface.
4398 (wctype_table_finalize): Change to add_locale_wctype_table. Use
4399 new locale_file interface.
4400 (allocate_arrays): Update for use of new locale_file interface.
4401 * locale/programs/ld-identification.c (identification_output): Use
4402 new locale_file interface.
4403 * locale/programs/ld-measurement.c (measurement_output): Likewise.
4404 * locale/programs/ld-messages.c (messages_output): Likewise.
4405 * locale/programs/ld-monetary.c (monetary_output): Likewise.
4406 * locale/programs/ld-name.c (name_output): Likewise.
4407 * locale/programs/ld-numeric.c (numeric_output): Likewise.
4408 * locale/programs/ld-paper.c (paper_output): Likewise.
4409 * locale/programs/ld-telephone.c (telephone_output): Likewise.
4410 * locale/programs/ld-time.c (time_output): Likewise.
4411
e029e2e5
AZ
44122013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4413
4414 * benchtests/Makefile: Add memrchr benchmark.
4415 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
4416 benchmark as memrchr.
4417 * benchtests/bench-memrchr-ifunc.c: New file.
4418 * benchtests/bench-memrchr.c: New file.
4419
bbf6e8e4
WN
44202013-09-06 Will Newton <will.newton@linaro.org>
4421
4422 * benchtests/Makefile (string-bench): Add memcpy.
4423
6c82a2f8
CD
44242013-09-05 Carlos O'Donell <carlos@redhat.com>
4425 Cong Wang <amwang@redhat.com>
4426
4427 * sysdeps/unix/sysv/linux/bits/in.h
4428 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
4429 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
4430 before __USE_KERNEL_IPV6_DEFS uses.
4431 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
4432 IPPROTO_BEETPH.
4433 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
4434 sockaddr_in6, or ipv6_mreq.
4435
5430fc65
AZ
44362013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4437
4438 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
4439 memory access for final bytes in some large inputs.
4440 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
4441
4660856c
AZ
44422013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4443
4444 * string/test-memrchr.c: New file.
4445 * string/test-memrchr-ifunc.c: New file.
4446 * string/Makefile: Add new memrchr testcase.
4447
bb8ea713
MF
44482013-09-05 Mike Frysinger <vapier@gentoo.org>
4449
4450 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
4451 fanotify_init returns EPERM.
4452
b92a20b5
JM
44532013-09-04 Joseph Myers <joseph@codesourcery.com>
4454
4455 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
4456 errors.
4457 (top level): Treat second token from macro or constant entries for
4458 allowed headers as allowed.
4459 * include/complex.h: Condition internal declarations on
4460 [!_ISOMAC].
4461 * include/fenv.h: Condition include of <stdbool.h> and internal
4462 declarations on [!_ISOMAC].
7447ccd9
CL
4463
44642013-09-04 Chris Leonard <cjl@sugarlabs,.org>
4465
3e181dda 4466 [BZ #15923]
7447ccd9
CL
4467 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
4468
3f2e46a4
JM
44692013-09-04 Joseph Myers <joseph@codesourcery.com>
4470
4471 * configure.in (--enable-versioning): Remove configure option.
4472 (libc_cv_asm_symver_directive): Remove configure test.
4473 (libc_cv_ld_version_script_option): Likewise.
4474 (VERSIONING): Remove variable and AC_SUBST.
4475 (DO_VERSIONING): Remove AC_DEFINE.
4476 * configure: Regenerated.
4477 * config.h.in (DO_VERSIONING): Remove macro.
4478 * Makerules [$(versioning) = yes]: Change conditionals to
4479 [$(build-shared) = yes].
4480 * config.make.in (versioning): Remove variable.
4481 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
4482 [$(build-shared) = yes].
4483 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
4484 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
4485 * elf/Makefile [$(versioning) = yes]: Change conditionals to
4486 [$(build-shared) = yes].
4487 * extra-lib.mk [$(versioning) = yes]: Likewise.
4488 * hurd/Makefile [$(versioning) = yes]: Likewise.
4489 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
4490 [SHARED].
4491 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
4492 [SHARED].
4493 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4494 [SHARED && !NO_HIDDEN].
4495 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
4496 [SHARED].
4497 [SHARED && DO_VERSIONING]: Likewise..
4498 * libio/Makefile [$(versioning) = yes]: Change conditionals to
4499 [$(build-shared) = yes].
4500 * manual/install.texi (--disable-versioning): Remove
4501 documentation.
4502 * INSTALL: Regenerated.
4503 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
4504 to [SHARED].
4505 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
4506 [$(build-shared) = yes].
4507 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
4508 * sysdeps/i386/i686/multiarch/strstr-c.c
4509 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4510 [SHARED && !NO_HIDDEN].
4511 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
4512 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
4513 * sysdeps/powerpc/powerpc32/dl-machine.c
4514 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
4515 * sysdeps/powerpc/powerpc32/sysdep.h
4516 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
4517 to [SHARED && PIC && !NO_HIDDEN].
4518 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
4519 conditional to [SHARED].
4520
44558701
WN
45212013-09-04 Will Newton <will.newton@linaro.org>
4522
4523 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
4524 * benchtests/bench-string.h: Include bench-timing.h instead
4525 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
4526 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
4527 call to HP_TIMING_DIFF_INIT.
4528 * benchtests/bench-memccpy.c: Use bench-timing.h macros
4529 instead of hp-timing.h macros.
4530 * benchtests/bench-memchr.c: Likewise.
4531 * benchtests/bench-memcmp.c: Likewise.
4532 * benchtests/bench-memcpy.c: Likewise.
4533 * benchtests/bench-memmem.c: Likewise.
4534 * benchtests/bench-memmove.c: Likewise.
4535 * benchtests/bench-memset.c: Likewise.
4536 * benchtests/bench-rawmemchr.c: Likewise.
4537 * benchtests/bench-strcasecmp.c: Likewise.
4538 * benchtests/bench-strcasestr.c: Likewise.
4539 * benchtests/bench-strcat.c: Likewise.
4540 * benchtests/bench-strchr.c: Likewise.
4541 * benchtests/bench-strcmp.c: Likewise.
4542 * benchtests/bench-strcpy.c: Likewise.
4543 * benchtests/bench-strcpy_chk.c: Likewise.
4544 * benchtests/bench-strlen.c: Likewise.
4545 * benchtests/bench-strncasecmp.c: Likewise.
4546 * benchtests/bench-strncat.c: Likewise.
4547 * benchtests/bench-strncmp.c: Likewise.
4548 * benchtests/bench-strncpy.c: Likewise.
4549 * benchtests/bench-strnlen.c: Likewise.
4550 * benchtests/bench-strpbrk.c: Likewise.
4551 * benchtests/bench-strrchr.c: Likewise.
4552 * benchtests/bench-strspn.c: Likewise.
4553 * benchtests/bench-strstr.c: Likewise.
4554
cae16d66
WN
45552013-09-04 Will Newton <will.newton@linaro.org>
4556
4557 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
4558
ffa3cd7f
JM
45592013-09-03 Joseph Myers <joseph@codesourcery.com>
4560
4561 [BZ #15427]
4562 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
4563 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
4564 * math/libm-test.inc (lgamma_test_data): Add more tests.
4565 * sysdeps/i386/fpu/libm-test-ulps: Update.
4566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4567
8f02859f
OB
45682013-09-03 Ondřej Bílka <neleai@seznam.cz>
4569
4570 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
4571 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4572 Add ifunc.
4573 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4574 Add strcmp-sse2-unaligned
4575 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
4576
18d43716
MF
45772013-09-02 Mike Frysinger <vapier@gentoo.org>
4578
4579 * Versions.def (libc): Add GLIBC_2.19.
4580
ac444012
MF
45812013-09-02 Mike Frysinger <vapier@gentoo.org>
4582
4583 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
4584 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
4585
b7835e32
JM
45862013-09-02 Joseph Myers <joseph@codesourcery.com>
4587
4588 [BZ #14155]
4589 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
4590 intermediate calculations in recurrence.
4591 (__ieee754_ynf): Likewise.
4592 * math/libm-test.inc (jn_test_data): Do not allow spurious
4593 underflow exception. Add more tests.
4594 (yn_test_data): Add more tests.
4595 * sysdeps/i386/fpu/libm-test-ulps: Update.
4596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4597
8220f4f0
OB
45982013-09-02 Ondřej Bílka <neleai@seznam.cz>
4599
4600 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
4601
f24a6d08
OB
46022013-08-30 Ondřej Bílka <neleai@seznam.cz>
4603
4604 * csu/init-first.c: Fix then/than typos.
4605 * locale/programs/ld-collate.c: Likewise.
4606 * locale/programs/linereader.h: Likewise.
4607 * manual/charset.texi: Likewise.
4608 * manual/filesys.texi: Likewise.
4609 * manual/stdio.texi: Likewise.
4610 * manual/string.texi: Likewise.
4611 * stdlib/fmtmsg.c: Likewise.
4612 * sysdeps/i386/stpncpy.S: Likewise.
4613 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4614 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4615 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4616 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4617
382466e0
OB
46182013-08-30 Ondřej Bílka <neleai@seznam.cz>
4619
4620 * elf/dl-open.c: Fix typos.
4621 * iconvdata/gbbig5.c: Likewise.
4622 * iconvdata/iso-2022-jp.c: Likewise.
4623 * iconv/gconv_int.h: Likewise.
4624 * iconv/loop.c: Likewise.
4625 * nis/rpcsvc/nis.h: Likewise.
4626 * resolv/ns_name.c: Likewise.
4627 * stdio-common/vfscanf.c: Likewise.
4628 * streams/stropts.h: Likewise.
4629 * sunrpc/rpc_thread.c: Likewise.
4630 * sysdeps/i386/strpbrk.S: Likewise.
4631 * sysdeps/ieee754/k_standard.c: Likewise.
4632 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4633 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4634 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
4635 * sysdeps/mach/hurd/profil.c: Likewise.
4636 * sysdeps/s390/dl-procinfo.h: Likewise.
4637 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
4638 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4639 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
4640 * sysdeps/x86_64/dl-trampoline.S: Likewise.
4641 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4642
0186c6e9
OB
46432013-08-30 Ondřej Bílka <neleai@seznam.cz>
4644
4645 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
4646 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
4647
d4e16af1
OB
46482013-08-29 Ondřej Bílka <neleai@seznam.cz>
4649
4650 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
4651 aix specific files.
4652 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
4653 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
4654 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
4655 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
4656 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
4657 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
4658 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
4659 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
4660
88335980
TS
46612013-08-29 Thomas Schwinge <thomas@codesourcery.com>
4662 Roland McGrath <roland@hack.frob.com>
4663
4664 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
4665 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
4666
ed479b02
ST
46672013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
4668
4669 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
4670 __executable_start symbol instead of _start.
4671
f1cc4c86
TS
46722013-08-29 Thomas Schwinge <thomas@codesourcery.com>
4673
d821f07c
TS
4674 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
4675 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
4676 Move macros to...
4677 * sysdeps/gnu/ldsodefs.h: ... this new file.
4678
c54290cf
TS
4679 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
4680 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
4681 instead of ELFOSABI_LINUX.
4682
0007fc9b 4683 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
4684 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
4685 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
4686 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
4687 Likewise.
4688 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
4689 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
4690 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
4691 Likewise.
4692 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4693 (ibm_extended_long_double): Add ieee_nan member.
4694 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
4695 (do_test): New function.
4696
f1cc4c86
TS
4697 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
4698 TEST_TRUNC.
4699 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
4700 functions, renamed from truncdfsf_test, trunctfsf_test,
4701 trunctfdf_test.
4702 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
4703 functions.
4704 (do_test): Run all these.
4705
6f65e668
OB
47062013-08-29 Ondřej Bílka <neleai@seznam.cz>
4707
4708 * argp/argp-help.c: Fix typos.
4709 * argp/argp-parse.c: Likewise.
4710 * debug/backtracesyms.c: Likewise.
4711 * elf/elf.h: Likewise.
4712 * malloc/malloc.c: Likewise.
4713 * nis/nis_print.c: Likewise.
4714 * resolv/res_comp.c: Likewise.
4715 * stdlib/stdlib.h: Likewise.
4716 * sunrpc/clnt_tcp.c: Likewise.
4717 * sunrpc/clnt_udp.c: Likewise.
4718 * sunrpc/clnt_unix.c: Likewise.
4719 * sysdeps/unix/bsd/ptsname.c: Likewise.
4720 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4721 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
4722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
4723 Likewise.
4724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
4725 Likewise.
4726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4727 Likewise.
6f65e668
OB
4728 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4729
3a309239
SP
47302013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4731
4732 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
4733 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4734
3b813b29
MF
47352013-08-27 Mike Frysinger <vapier@gentoo.org>
4736
4737 [BZ #15897]
4738 * dlfcn/Makefile (tests): Add bug-dl-leaf.
4739 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
4740 ($(objpfx)bug-dl-leaf): New rule.
4741 ($(objpfx)bug-dl-leaf.so): Likewise.
4742 ($(objpfx)bug-dl-leaf.out): Likewise.
4743 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
4744 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
4745 * dlfcn/bug-dl-leaf.c: New test.
4746 * dlfcn/bug-dl-leaf-lib.c: Likewise.
4747 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
4748 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
4749 (dlclose): Likewise.
4750 (dlmopen): Likewise.
4751
8cc3269f
RM
47522013-08-27 Roland McGrath <roland@hack.frob.com>
4753
7f9d0034
RM
4754 * include/netdb.h [!_ISOMAC]:
4755 Don't include <tls.h>.
4756 (h_errno, __libc_h_errno): Move declaration and macros out of
4757 [_LIBC_REENTRANT].
4758
fb431262
RM
4759 * include/resolv.h [_RESOLV_H_]:
4760 Don't include <tls.h>.
4761 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
4762 * resolv/res_libc.c: Don't include <tls.h>.
4763 (_res): Use __attribute__ ((nocommon)) in place of
4764 __attribute__ ((section (".bss"))).
4765
bd81123a
RM
4766 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
4767 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
4768
c4e42566
RM
4769 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
4770
f890a59b
RM
4771 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
4772 only under [SIOCGIFCONF && SIOCGIFNETMASK].
4773
4774 * resolv/res_mkquery.c: Include <sys/time.h>.
4775
5d1f0a09
RM
4776 * inet/ifreq.c: Moved to ...
4777 * sysdeps/unix/ifreq.c: ... here.
4778 * inet/ifreq.c: New file, true stub version.
4779
6fcf28b3
RM
4780 * socket/sa_len.c: New file.
4781 * socket/Makefile (aux): Add it.
4782 * sysdeps/unix/sysv/linux/Makefile
4783 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
4784 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
4785 and #include <socket/sa_len.c>.
4786 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
4787 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
4788
e041fb8b
RM
4789 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
4790 * bits/socket.h: ... here.
4791
8cc3269f
RM
4792 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
4793 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
4794 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
4795
5d228a43
AS
47962013-08-27 Andreas Schwab <schwab@suse.de>
4797
45b8accc
AS
4798 [BZ #15736]
4799 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
4800 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
4801 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
4802 * string/test-strcasecmp.c (test_main): Run tests in several
4803 locales.
4804 * string/test-strncasecmp.c (test_main): Likewise.
4805
5d228a43
AS
4806 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
4807 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
4808 to __strcasecmp_nonascii and __strncasecmp_nonascii.
4809 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
4810 (__strncasecmp_ssse3) [PIC]: Likewise.
4811
59d112a4
RM
48122013-08-26 Roland McGrath <roland@hack.frob.com>
4813
53234cc3
RM
4814 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
4815
59d112a4
RM
4816 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
4817 instead of explicitly declaring xdecrypt.
4818 * nis/nss_nis/nis-publickey.c: Likewise.
4819
595aba70
SP
48202013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4821
4822 [BZ #15890]
4823 * nscd/aicache.c: Include res_hconf.h.
4824 (addhstaiX): Initialize res_hconf.
4825
ffabd393
AS
48262013-08-26 Andreas Schwab <schwab@suse.de>
4827
4828 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
4829 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
4830
e0a69f5c
SP
48312013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4832
4833 * nscd/aicache.c (addhstaiX): Fix indentation.
4834
8c12f01d
MF
48352013-08-25 Mike Frysinger <vapier@gentoo.org>
4836
4837 * configure.ac: Quote $build_pt_chown test.
4838 * configure: Regenerated.
4839
8fe89494
JM
48402013-08-23 Joseph Myers <joseph@codesourcery.com>
4841
4842 [BZ #15532]
4843 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
4844 * math/s_cexpf.c (__cexpf): Likewise.
4845 * math/s_cexpl.c (__cexpl): Likewise.
4846 * math/libm-test.inc (cexp_test_data): Correct expected return
4847 value for NaN + i0. Add another test.
4848
75b181d6
DM
48492013-08-22 David S. Miller <davem@davemloft.net>
4850
4851 * po/ca.po: Update Catalan translation from translation project.
936241e4 4852 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 4853
acd06bb1
JM
48542013-08-21 Joseph Myers <joseph@codesourcery.com>
4855
4856 [BZ #15797]
4857 * math/s_fdim.c (__fdim): Check for infinite arguments if result
4858 is infinite, not alongside NaN test.
4859 * math/s_fdimf.c (__fdimf): Likewise.
4860 * math/s_fdiml.c (__fdiml): Likewise.
4861 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
4862 errno is unchanged.
4863
c0c3f78a
OB
48642013-08-21 Ondřej Bílka <neleai@seznam.cz>
4865
4866 * argp/argp-help.c: Fix typos.
4867 * crypt/speeds.c: Likewise.
4868 * csu/check_fds.c: Likewise.
4869 * elf/dl-load.c: Likewise.
4870 * elf/dl-open.c: Likewise.
4871 * elf/reldep3.c: Likewise.
4872 * elf/reldep.c: Likewise.
4873 * elf/sprof.c: Likewise.
4874 * iconv/iconv_charmap.c: Likewise.
4875 * iconv/skeleton.c: Likewise.
4876 * iconv/strtab.c: Likewise.
4877 * io/lockf64.c: Likewise.
4878 * libio/libioP.h: Likewise.
4879 * resolv/gai_notify.c: Likewise.
4880 * resolv/ns_name.c: Likewise.
4881 * resolv/ns_samedomain.c: Likewise.
4882 * resolv/res_send.c: Likewise.
4883 * stdlib/random.c: Likewise.
4884 * sunrpc/rpc/xdr.h: Likewise.
4885 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
4886 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4887 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4888 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4889 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4890 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4891 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4892 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4893 * sysdeps/mach/hurd/check_fds.c: Likewise.
4894 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4895 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4896 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4897 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4898 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4899 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4900 * sysdeps/pthread/aio_notify.c: Likewise.
4901 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
4902 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
4903 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
4904 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4905 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4906
46ed1038
LD
49072013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4908
4909 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
4910 version if bit_Slow_SSE4_2 is set.
4911 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4912 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4913
d400dcac
AZ
49142013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4915
4916 [BZ #15867]
4917 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
4918 trampoline stack frame information.
4919 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
4920 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
4921 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
4922 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
4923 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
4924 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4925 (_libc_vdso_platform_setup): Initialize the signal trampolines.
4926 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
4927 sa_flags value.
4928 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
4929 interrupting a syscall and set with option SA_SIGINFO.
4930
42c8fdd8
JM
49312013-08-20 Joseph Myers <joseph@codesourcery.com>
4932
c980f2f4
JM
4933 [BZ #15531]
4934 * math/s_cproj.c (__cproj): Only return an infinity if one part of
4935 argument is infinite.
4936 * math/s_cprojf.c (__cprojf): Likewise.
4937 * math/s_cprojl.c (__cprojl): Likewise.
4938 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
4939 * math/libm-test.inc (cproj_test_data): Add more tests.
4940
0716c4fc
JM
4941 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
4942
42c8fdd8
JM
4943 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
4944 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
4945 size. Use __ffs to determine corresponding shift.
4946
b31469d0
JM
49472013-08-20 Joseph Myers <joseph@codesourcery.com>
4948 Roland McGrath <roland@hack.frob.com>
4949
4950 * Makefile (INSTALL): Remove trailing blank lines from output of
4951 makeinfo.
4952
4e39af6e
AK
49532013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4954
4955 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
4956 Align 32 bit compat elf_greg to 8 bytes.
4957
f315524e
AA
49582013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
4959
4960 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
4961
1326ba1a
SP
49622013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4963
4964 * string/strcoll_l.c (coll_seq): New structure.
4965 (get_next_seq_cached): New function.
4966 (get_next_seq): New function.
4967 (do_compare): New function.
4968 (STRCOLL): Use GNU style definition. Simplify implementation
4969 by using get_next_seq, get_next_seq_cached and do_compare.
4970
91ce4085
FW
49712013-08-16 Florian Weimer <fweimer@redhat.com>
4972
4973 [BZ #14699]
4974 CVE-2013-4237
4975 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
4976 member.
4977 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
4978 member.
4979 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
4980 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
4981 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
4982 conditional.
4983 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
4984 GETDENTS_64BIT_ALIGNED.
4985 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4986 * manual/filesys.texi (Reading/Closing Directory): Document
4987 ENAMETOOLONG return value of readdir_r. Recommend readdir more
4988 strongly.
4989 * manual/conf.texi (Limits for Files): Add portability note to
4990 NAME_MAX, PATH_MAX.
4991 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
4992
ca0a6bc4
AS
49932013-08-13 Andreas Schwab <schwab@suse.de>
4994
4995 [BZ #15749]
4996 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
4997 of fabs.
4998 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
4999 LDBL_MAX_EXP >= 16384]: Add tests for it.
5000
6c1fd795
DM
50012013-08-12 David S. Miller <davem@davemloft.net>
5002
5003 * version.h (RELEASE): Set to "development".
5004 (VERSION): Set to "2.18.90".
5005 * NEWS: Add 2.19 section.
5006
31ad488d
DM
50072013-08-03 David S. Miller <davem@davemloft.net>
5008
5009 * po/ko.po: Update Korean translation from translation project.
5010
db24e684
DM
50112013-08-01 David S. Miller <davem@davemloft.net>
5012
5013 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
5014 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
5015 Bilka.
5016
f723285b
DM
50172013-07-30 David S. Miller <davem@davemloft.net>
5018
5019 * po/fr.po: Update French translation from translation project.
5020
3cbc52db
DM
50212013-07-28 David S. Miller <davem@davemloft.net>
5022
30bbc0cc
DM
5023 * po/cs.po: Update Czech translation from translation project.
5024
3cbc52db
DM
5025 * po/sv.po: Update Swedish translation from translation project.
5026
d492e6d0
DM
50272013-07-27 David S. Miller <davem@davemloft.net>
5028
f1a7f492
DM
5029 * po/eo.po: Update Esperanto translation from translation project.
5030
90e62a4a
DM
5031 * po/vi.po: Update Vietnamese translation from translation project.
5032
d492e6d0
DM
5033 * po/de.po: Update German translation from translation project.
5034
d4baa62d
DM
50352013-07-26 David S. Miller <davem@davemloft.net>
5036
641aa7b4
DM
5037 * po/bg.po: Update Bulgarian translation from translation project.
5038
d4baa62d
DM
5039 * po/nl.po: Update Dutch translation from translation project.
5040 * po/pl.po: Update Polish translation from translation project.
5041 * po/ru.po: Update Russian translation from translation project.
5042
61a9dcb9
DM
50432013-07-24 David S. Miller <davem@davemloft.net>
5044
5045 * po/libc.pot: Update.
5046
7b1f8b58
AZ
50472013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5048
5049 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
5050 variable page size.
5051 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
5052 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
5053 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
5054
a8fc7a03
AK
50552013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5056
5057 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
5058
e4608715
CD
50592013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5060 Andreas Schwab <schwab@suse.de>
5061 Roland McGrath <roland@hack.frob.com>
5062 Joseph Myers <joseph@codesourcery.com>
5063 Carlos O'Donell <carlos@redhat.com>
5064
5065 [BZ #15755]
5066 * config.h.in: Define HAVE_PT_CHOWN.
5067 * config.make.in (build-pt-chown): New variable.
5068 * configure.in (--enable-pt_chown): New configure option.
5069 * configure: Regenerate.
5070 * login/Makefile: Include Makeconfig. Build pt_chown only if
5071 build-pt-chown is enabled.
5072 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
5073 pt_chown to fix pty ownership.
5074 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
5075 CLOSE_ALL_FDS.
5076 * manual/install.texi (Configuring and compiling): Mention
5077 --enable-pt_chown. Add @findex for grantpt.
5078 * INSTALL: Regenerate.
5079
da2d62df
DM
50802013-07-20 David S. Miller <davem@davemloft.net>
5081
5082 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
5083 difference between 32-bit and 64-bit.
5084
d7e06450
CD
50852013-07-15 Carlos O'Donell <carlos@redhat.com>
5086
5087 [BZ #15711]
5088 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
5089 Avoid system header dependency with -ffreestanding.
5090 ($(objpfx)bits/syscall%d): Likewise.
5091
f959cfd7
DM
50922013-07-13 David S. Miller <davem@davemloft.net>
5093
5094 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
5095 underflows from atanl/atan2l due to bug 15319.
5096 (casinh_test_data): Likewise.
5097
c61f8513
DM
50982013-07-07 David S. Miller <davem@davemloft.net>
5099
5100 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
5101
72c90ed0
JA
51022013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
5103
5104 * sysdeps/i386/fpu/libm-test-ulps: Update.
5105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5106
52dfbe13
SP
51072013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5108
5109 * configure.in (--enable-lock-elision): Fix message text.
5110 * INSTALL: Regenerate.
5111 * configure: Regenerate.
5112
3f169543
AZ
51132013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5114
5115 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5116
521c6785
AJ
51172013-07-03 Andreas Jaeger <aj@suse.de>
5118
5119 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
5120 define.
5121 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
5122 (ptrace_peeksiginfo_args): Add.
5123 (__ptrace_peeksiginfo_flags): Add.
5124 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5125 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5126 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5127
d2cc15cb
AM
51282013-07-03 Allan McRae <allan@archlinux.org>
5129
5130 * sysdeps/i386/fpu/libm-test-ulps: Update.
5131
3aaeeca7
DM
51322013-07-02 David S. Miller <davem@davemloft.net>
5133
5134 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5135
5314ed1a
MT
51362013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
5137
5138 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5139
67338156
JM
51402013-07-02 Joseph Myers <joseph@codesourcery.com>
5141
5142 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5144
1717da59
AK
51452013-07-02 Andi Kleen <ak@linux.intel.com>
5146
5147 * config.h.in (ENABLE_LOCK_ELISION): Add.
5148 * configure.in (--enable-lock-elision): Add option.
5149 * manual/install.texi: Document --enable lock elision.
5150 * configure: Regenerate
5151 * INSTALL: Regenerate.
5152
1c81621c
L
51532013-07-02 H.J. Lu <hongjiu.lu@intel.com>
5154
5155 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
5156 SSE4.2 strcasecmp for libc.a.
5157 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5158
77f01ab5
JM
51592013-07-02 Joseph Myers <joseph@codesourcery.com>
5160
5161 [BZ #13304]
5162 * soft-fp/op-common.h (_FP_FMA): New macro.
5163 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
5164 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
5165 (_FP_MUL_MEAT_1_imm): ... here.
5166 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
5167 (_FP_MUL_MEAT_1_wide): ... here.
5168 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
5169 (_FP_MUL_MEAT_1_hard): ... here.
5170 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
5171 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
5172 (_FP_MUL_MEAT_2_wide): ... here.
5173 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
5174 (_FP_MUL_MEAT_2_wide_3mul): ... here.
5175 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
5176 (_FP_MUL_MEAT_2_gmp): ... here.
5177 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
5178 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
5179 (_FP_MUL_MEAT_4_wide): ... here.
5180 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
5181 (_FP_MUL_MEAT_4_gmp): ... here.
5182 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
5183 (_FP_WFRACBITS_DW_S): Likewise.
5184 (_FP_WFRACXBITS_DW_S): Likewise.
5185 (_FP_HIGHBIT_DW_S): Likewise.
5186 (FP_FMA_S): Likewise.
5187 (_FP_FRAC_HIGH_DW_S): Likewise.
5188 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
5189 (_FP_WFRACBITS_DW_D): Likewise.
5190 (_FP_WFRACXBITS_DW_D): Likewise.
5191 (_FP_HIGHBIT_DW_D): Likewise.
5192 (FP_FMA_D): Likewise.
5193 (_FP_FRAC_HIGH_DW_D): Likewise.
5194 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
5195 (_FP_WFRACBITS_DW_E): Likewise.
5196 (_FP_WFRACXBITS_DW_E): Likewise.
5197 (_FP_HIGHBIT_DW_E): Likewise.
5198 (FP_FMA_E): Likewise.
5199 (_FP_FRAC_HIGH_DW_E): Likewise.
5200 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
5201 (_FP_WFRACBITS_DW_Q): Likewise.
5202 (_FP_WFRACXBITS_DW_Q): Likewise.
5203 (_FP_HIGHBIT_DW_Q): Likewise.
5204 (FP_FMA_Q): Likewise.
5205 (_FP_FRAC_HIGH_DW_Q): Likewise.
5206 * soft-fp/fmasf4.c: New file.
5207 * soft-fp/fmadf4.c: Likewise.
5208 * soft-fp/fmatf4.c: Likewise.
5209
6308fd9a
LD
52102013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5211
5212 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
5213 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
5214 Silvermont.
5215 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
5216 macro.
5217 (index_Slow_SSE4_2): Likewise.
5218 (index_Prefer_PMINUB_for_stringop): Likewise.
5219 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
5220 bit_Slow_SSE4_2 is set.
5221 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5222 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5223
89cd9569
RA
52242013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5225
5226 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
5227 rtld_global._dl_hwcap2.
5228 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
5229 POWER8.
5230 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
5231 POWER8 feature descriptions defined in _dl_hwcap2.
5232 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
5233 string handling for POWER8 feature bits.
5234 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
5235 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
5236 _dl_powerpc_cap_flags.
5237 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
5238 * sysdeps/powerpc/rtld-global-offsets.sym
5239 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
5240 _dl_hwcap2 in the rtld_global_ro structure.
5241
1ae8bfe0
RA
52422013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5243
5244 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
5245 hardware capabilities in support of AT_HWCAP2.
5246 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
5247 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
5248 GLRO(dl_hwcap2).
5249 (_dl_show_auxv): Add support for calling _dl_procinfo to display
5250 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
5251 explicitly the unknown a_type display mechanism is used.
5252 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
5253 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
5254 struct member.
5255 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
5256 to macro prototype for AT_HWCAP2 support.
5257 * sysdeps/i386/dl-procinfo.h: Likewise.
5258 * sysdeps/s390/dl-procinfo.h: Likewise.
5259 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
5260 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
5261 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
5262 return -1 for unknown a_type display fallback.
5263 * sysdeps/sparc/dl-procinfo.h: Likewise.
5264 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
5265 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
5266
8fbec010
JM
52672013-06-28 Joseph Myers <joseph@codesourcery.com>
5268
5269 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
5270 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
5271
0432680e
PY
52722013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
5273
5274 [BZ #12492]
5275 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
5276 mprotect making __stack_prot writable.
5277
ce61a2ad
NF
52782013-06-28 Nathan Froyd <froydnj@codesourcery.com>
5279 Joseph Myers <joseph@codesourcery.com>
5280
5281 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
5282 as being properly aligned.
5283
f91f1c0f
MR
52842013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
5285
3d0f5d0c
MR
5286 * dlfcn/modstatic5.c: New file.
5287 * dlfcn/tststatic5.c: New file.
5288 * dlfcn/Makefile (tests): Add tststatic5.
5289 (tests-static): Likewise.
5290 (modules-names): Add modstatic5.
5291 (tststatic5-ENV): New variable.
5292 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
5293
f91f1c0f
MR
5294 [BZ #15022]
5295 * elf/dl-support.c (_dl_main_map): New variable.
5296 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
5297 (_dl_nns, _dl_load_adds): Set to 1.
5298 (_dl_initial_searchlist): Refer to _dl_main_map.
5299 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
5300 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
5301 call to _dl_get_origin.
5302 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
5303 around call_map.
5304 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
5305 * dlfcn/modstatic3.c: New file.
5306 * dlfcn/tststatic3.c: New file.
5307 * dlfcn/tststatic4.c: New file.
5308 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
5309 (tests-static): Likewise.
5310 (modules-names): Add modstatic3.
5311 (tststatic3-ENV, tststatic4-ENV): New variables.
5312 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
5313 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
5314
cbe7d24b
JM
53152013-06-26 Joseph Myers <joseph@codesourcery.com>
5316
5317 * configure.in (CC): Require GCC version 4.4 or later.
5318 * configure: Regenerated.
5319 * manual/install.texi (Tools for Compilation): Update GCC version
5320 requirement.
5321 * INSTALL: Regenerated.
5322
11b8a0e1
LD
53232013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5324
5325 [BZ #15674]
bb5bb87c
L
5326 * string/test-memcmp.c (check2): New.
5327 (main): Call check2.
5328
11b8a0e1
LD
5329 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
5330
b0037103
MR
53312013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
5332
5333 [BZ #15022]
5334 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
5335 over to...
5336 (dl_open_worker) [!SHARED]: ... here.
5337
c18c701d
RA
53382013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5339
5340 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
5341
1d17fa5f
RH
53422013-06-25 Richard Henderson <rth@redhat.com>
5343
5344 * locale/programs/locarchive.c: Include <libc-internal.h>
5345
8fcb833a
JM
53462013-06-25 Joseph Myers <joseph@codesourcery.com>
5347
5348 * manual/texinfo.tex: Update to version 2013-06-21.17, with
5349 trailing whitespace removed.
5350
17db6e8d
MF
53512013-06-24 Mike Frysinger <vapier@gentoo.org>
5352
5353 [BZ #10283]
17db6e8d
MF
5354 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
5355 * locale/programs/locarchive.c: Include libc-mmap.h.
5356 (prepare_address_space): Take two new outputs (the mmap base and len).
5357 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
5358 values.
5359 (create_archive): Declare new mmap base and len values for
5360 prepare_address_space, and store the result in ah.
5361 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
5362 (enlarge_archive): If ah->mmap_base is not NULL, use that and
5363 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5364 Declare new mmap base and len values for
5365 prepare_address_space, and store the result in new_ah.
5366 (open_archive): Declare new mmap base and len values for
5367 prepare_address_space, and store the result in ah.
5368 (close_archive): If ah->mmap_base is not NULL, use that and
5369 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5370 * sysdeps/generic/libc-mmap.h: New file.
5371
d605071e
MF
53722013-06-24 Mike Frysinger <vapier@gentoo.org>
5373
5374 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
5375 (ALIGN_UP): Likewise.
5376 (PTR_ALIGN_DOWN): Likewise.
5377 (PTR_ALIGN_UP): Likewise.
5378
2f063a6e
RA
53792013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5380
5381 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
5382 entry mapped to PPC_PLATFORM_POWER8.
5383 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
5384 POWER8.
5385 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
5386 (_dl_string_platform): Add case for exporting platform position for
5387 POWER8.
5388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
5389 search path to sysdeps/powerpc/powerpc32/power8 directory.
5390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
5391 search path to sysdeps/powerpc/powerpc64/power8 directory.
5392 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
5393 power7 directories.
5394 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
5395 power7 directories.
5396
a31ee4b3
SP
53972013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5398
a74ca98f
SP
5399 * INSTALL: Regenerate.
5400
a31ee4b3
SP
5401 * nscd/connections.c (nscd_init): Fix comment.
5402
695c378f
JM
54032013-06-22 Joseph Myers <joseph@codesourcery.com>
5404
d8412221
JM
5405 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
5406
695c378f
JM
5407 [BZ #15667]
5408 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
5409 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
5410
d1d54715
MR
54112013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
5412
5413 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
5414 DL_DST_REQ_STATIC.
5415 (DL_DST_REQ_STATIC): Remove macro.
5416
8fdda7af
JM
54172013-06-21 Joseph Myers <joseph@codesourcery.com>
5418
5419 [BZ #7006]
5420 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
5421 with a shift of 0 bits.
5422
f3bc5e5a
MR
54232013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
5424
5425 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
5426 $(tststatic-ENV).
5427
be09e8c9
KK
54282013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5429
5430 [BZ #15655]
5431 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
5432
85c2e611
AZ
54332013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5434
5435 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
5436 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
5437 accepts -fno-tree-loop-distribute-patterns.
5438 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
5439 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
5440 recursive call.
5441 * string/memset.c (memset): Likewise.
5442 * string/test-memmove.c (simple_memmove): Disable loop transformation
5443 to library calls.
5444 * string/test-memset.c (simple_memset): Likewise.
5445 * benchtests/bench-memmove.c (simple_memmove): Likewise.
5446 * benchtests/bench-memset.c (simple_memset): Likewise.
5447 * configure: Regenerated.
5448
c91e0825
JM
54492013-06-20 Joseph Myers <joseph@codesourcery.com>
5450
b8c792af
JM
5451 * math/test-misc.c (main): Ignore fesetround failure when failures
5452 of subsequent rounding tests would be ignored.
5453
c91e0825
JM
5454 [BZ #15654]
5455 * math/fedisblxcpt.c (fedisableexcept): Return 0.
5456 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
5457 * math/fegetenv.c (__fegetenv): Return 0.
5458 * math/fegetexcept.c (fegetexcept): Return 0.
5459 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
5460 FE_TONEAREST.
5461 * math/feholdexcpt.c (feholdexcept): Return 0.
5462 * math/fesetenv.c (__fesetenv): Return 0.
5463 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
5464 argument FE_TONEAREST.
5465 * math/feupdateenv.c (__feupdateenv): Return 0.
5466 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
5467
bfcacbde
RM
54682013-06-18 Roland McGrath <roland@hack.frob.com>
5469
5470 * elf/rtld-Rules (rtld-compile-command.S): New variable.
5471 (rtld-compile-command.s, rtld-compile-command.c): New variables.
5472 ($(objpfx)rtld-%.os rules): Use them.
5473
e55a9b25
AZ
54742013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5475
5476 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
5477 fields.
5478
346d65b3
RM
54792013-06-17 Roland McGrath <roland@hack.frob.com>
5480
12086fb4
RM
5481 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
5482 length of target pattern, then descending length of dependency pattern.
5483 * configure.in (AWK): Require gawk 3.1.2 or newer.
5484 * manual/install.texi (Tools for Compilation): Say that we do.
5485 * configure: Regenerated.
5486
346d65b3
RM
5487 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
5488 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
5489 * scripts/sysd-rules.awk: ... this new script.
5490 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
5491 than a glob-style pattern.
5492
1a846317
JM
54932013-06-17 Joseph Myers <joseph@codesourcery.com>
5494
5495 * math/test-misc.c (main): Do not treat incorrectly rounded
5496 conversions as failure unless ROUNDING_TESTS passes.
5497
8fc75e6f
JM
54982013-06-15 Joseph Myers <joseph@codesourcery.com>
5499
3711a167
JM
5500 [BZ #15631]
5501 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
5502 restore exception state around main square root computation, then
5503 check for inexactness explicitly.
5504
8fc75e6f
JM
5505 * math/libm-test.inc (fma_test_data): Add another test.
5506
61dd6208
SP
55072013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5508
adf23d2c
SP
5509 * manual/threads.texi (Non-POSIX Extensions): New document
5510 node. Document pthread_getattr_default_np and
5511 pthread_setattr_default_np.
5512
61dd6208
SP
5513 * Versions.def (libpthread): Add GLIBC_2.18.
5514 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
5515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5516 Likewise.
5517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5518 Likewise.
5519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5520 Likewise.
5521 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5522 Likewise.
5523 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
5524 Likewise.
5525 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5526 Likewise.
5527 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5528 Likewise.
5529 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5530 Likewise.
5531 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5532 Likewise.
5533
d086fc7b
LD
55342013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5535
5536 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5537 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
5538
747ef469
SP
55392013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5540 H.J. Lu <hjl.tools@gmail.com>
5541
5542 [BZ #15627]
5543 * sysdeps/x86_64/rtld-memset.c: Remove file.
5544 * sysdeps/x86_64/rtld-memset.S: New file.
5545
1b2feed2
JM
55462013-06-14 Joseph Myers <joseph@codesourcery.com>
5547
5548 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
5549 (test_in_one_mode): Take arguments for whether the rounding mode
5550 is supported for each floating-point type.
5551 (do_test): Pass new arguments to test_in_one_mode using
5552 ROUNDING_TESTS.
5553
a58ad3f8
RM
55542013-06-13 Roland McGrath <roland@hack.frob.com>
5555
5556 * posix/tst-waitid.c (do_test): Distinguish different instances of
5557 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
5558 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
5559 before entering the kernel for waitpid.
5560
c204ab28
SP
55612013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5562
5563 * NEWS: Fix note on clock function precision. Text by Roland
5564 McGrath.
5565
f4a29fba
RM
55662013-06-13 Roland McGrath <roland@hack.frob.com>
5567
5568 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
5569 it into place only when and if the sanity check passes.
5570
1f24b9ad
JM
55712013-06-13 Joseph Myers <joseph@codesourcery.com>
5572
5573 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
5574 output for whether conversion result is exact. Take argument
5575 indicating whether type is IBM long double.
5576 (round_for_all): Change need_exact field to ibm_ld.
5577 * stdlib/tst-strtod-round.c (struct exactness): New type.
5578 (struct test): Change bool ld_ok field to struct exactness exact.
5579 (TEST): Update all definitions for change to field.
5580 (tests): Regenerate array contents.
5581 (test_in_one_mode): Take pointer to new field instead of old ld_ok
5582 field value. Check for IBM long double here.
5583 (do_test): Update calls to test_in_one_mode.
5584
58206c68
SP
55852013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5586
5587 [BZ #12515]
5588 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
5589 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
5590
2d6f4c5b 55912013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
5592
5593 [BZ #15605]
5594 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
5595 generated by the compiler on loop optimizations.
5596 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
5597 general definitions.
5598
94f2c076
JM
55992013-06-12 Joseph Myers <joseph@codesourcery.com>
5600
5601 * math/bug-nextafter.c: Include <math-tests.h>.
5602 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5603 the relevant type.
5604 * math/bug-nexttoward.c: Include <math-tests.h>.
5605 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5606 the relevant type.
5607 * math/test-misc.c: Include <math-tests.h>.
5608 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5609 the relevant type.
5610
e0e50a0a
AJ
56112013-06-12 Andreas Jaeger <aj@suse.de>
5612
5613 * po/ia.po: Update Interlingua translation from translation
5614 project.
5615
25061094
SP
56162013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5617
5618 * include/fenv.h: Include stdbool.h.
5619 (struct rm_ctx): New structure.
5620 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
5621 Define macro.
5622 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
5623 (SET_RESTORE_ROUNDF): Likewise.
5624 (SET_RESTORE_ROUNDL): Likewise.
5625 (SET_RESTORE_ROUND_NOEX): Likewise.
5626 (SET_RESTORE_ROUND_NOEXF): Likewise.
5627 (SET_RESTORE_ROUND_NOEXL): Likewise.
5628 (SET_RESTORE_ROUND_53BIT): Likewise.
5629 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
5630 (libc_feresetround_noexf_ctx): Likewise.
5631 (libc_feresetround_noexl_ctx): Likewise.
5632 (libc_feholdsetround_53bit_ctx): Likewise.
5633 (libc_feresetround_53bit_ctx): Likewise.
5634 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
5635 (libc_feholdexcept_setround_sse_ctx): New function.
5636 (libc_fesetenv_sse_ctx): Likewise.
5637 (libc_feupdateenv_sse_ctx): Likewise.
5638 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
5639 (libc_feholdexcept_setround_387_ctx): Likewise.
5640 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
5641 (libc_feholdsetround_387_prec_ctx): Likewise.
5642 (libc_feholdsetround_387_ctx): Likewise.
5643 (libc_feholdsetround_387_53bit_ctx): Likewise.
5644 (libc_feholdsetround_sse_ctx): Likewise.
5645 (libc_feresetround_sse_ctx): Likewise.
5646 (libc_feresetround_387_ctx): Likewise.
5647 (libc_feupdateenv_387_ctx): Likewise.
5648 (libc_feholdexcept_setroundf_ctx): Define macro.
5649 (libc_fesetenvf_ctx): Likewise.
5650 (libc_feupdateenvf_ctx): Likewise.
5651 (libc_feholdsetroundf_ctx): Likewise.
5652 (libc_feresetroundf_ctx): Likewise.
5653 (libc_feholdexcept_setround_ctx): Likewise.
5654 (libc_fesetenv_ctx): Likewise.
5655 (libc_feupdateenv_ctx): Likewise.
5656 (libc_feholdsetround_ctx): Likewise.
5657 (libc_feresetround_ctx): Likewise.
5658 (libc_feholdexcept_setroundl_ctx): Likewise.
5659 (libc_feupdateenvl_ctx): Likewise.
5660 (libc_feholdsetroundl_ctx): Likewise.
5661 (libc_feresetroundl_ctx): Likewise.
5662 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
5663 (libc_feresetround_53bit_ctx): Likewise.
5664
59b30555
SP
56652013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5666
5667 * locale/iso-639.def: Convert to UTF-8.
5668
f1d73d30
JM
56692013-06-11 Joseph Myers <joseph@codesourcery.com>
5670
5671 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
5672 (EXCEPTION_TESTS_double): Likewise.
5673 (EXCEPTION_TESTS_long_double): Likewise.
5674 (EXCEPTION_TESTS): Likewise.
5675 * math/libm-test.inc (test_exceptions): Only test exceptions if
5676 EXCEPTION_TESTS (FLOAT).
5677
94aca5e7
SP
56782013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5679
5680 * benchtests/Makefile (string-bench): Add strcpy_chk and
5681 stpcpy_chk.
5682 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
5683 * benchtests/bench-stpcpy_chk.c: New file.
5684 * benchtests/bench-strcpy_chk-ifunc.c: New file.
5685 * benchtests/bench-strcpy_chk.c: New file.
5686 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
5687 code.
5688 (do_test): Likewise.
5689
fac0c5f2
RA
56902013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5691
5692 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
5693 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
5694 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
5695 with tabs where appropriate.
5696 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
5697 dl-procinfo.h.
5698 [PPC_PLATFORM_PPC440]: Likewise.
5699 [PPC_PLATFORM_PPC464]: Likewise.
5700 [PPC_PLATFORM_PPC476]: Likewise.
5701 (_dl_string_platform): Add support for detecting ppc405, ppc440,
5702 ppc464, and ppc476 platform strings merging from ports/
5703 dl-procinfo.h.
5704
f22bc486
AS
57052013-06-11 Andreas Schwab <schwab@suse.de>
5706
5707 [BZ #14991]
5708 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
5709 (from_ucs4_idx): Regenerate.
5710 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
5711 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
5712 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
5713 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
5714 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
5715 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
5716 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
5717 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
5718 from FROM_LOOP and TO_LOOP specific macros.
5719 (BODY): Handle combining characters.
5720 * iconvdata/BIG5HKSCS.irreversible: Update.
5721 * iconvdata/BIG5HKSCS.precomposed: New file.
5722 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
5723 characters.
5724 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
5725
c1f75dc3
SP
57262013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5727
4eacded2
SP
5728 * include/sys/time.h: Fix indentation and add copyright header.
5729
fec799f8
SP
5730 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
5731 (do_test): Likewise.
5732 * string/test-memchr.c (do_one_test): Likewise.
5733 (do_test): Likewise.
5734 * string/test-memcmp.c (do_one_test): Likewise.
5735 (do_test): Likewise.
5736 * string/test-memcpy.c (do_one_test): Likewise.
5737 (do_test): Likewise.
5738 * string/test-memmem.c (do_one_test): Likewise.
5739 (do_test): Likewise.
5740 (do_random_tests): Likewise.
5741 * string/test-memmove.c (do_one_test): Likewise.
5742 (do_test): Likewise.
5743 * string/test-memset.c (do_one_test): Likewise.
5744 (do_test): Likewise.
5745 * string/test-rawmemchr.c (do_one_test): Likewise.
5746 (do_test): Likewise.
5747 * string/test-strcasecmp.c (do_one_test): Likewise.
5748 (do_test): Likewise.
5749 * string/test-strcasestr.c (do_one_test): Likewise.
5750 (do_test): Likewise.
5751 * string/test-strcat.c (do_one_test): Likewise.
5752 (do_test): Likewise.
5753 * string/test-strchr.c (do_one_test): Likewise.
5754 (do_test): Likewise.
5755 * string/test-strcmp.c (do_one_test): Likewise.
5756 (do_test): Likewise.
5757 * string/test-strcpy.c (do_one_test): Likewise.
5758 (do_test): Likewise.
5759 * string/test-string.h: Likewise.
5760 (test_init): Likewise.
5761 * string/test-strlen.c (do_one_test): Likewise.
5762 (do_test): Likewise.
5763 * string/test-strncasecmp.c (do_one_test): Likewise.
5764 (do_test): Likewise.
5765 * string/test-strncat.c (do_one_test): Likewise.
5766 (do_test): Likewise.
5767 * string/test-strncmp.c (do_one_test): Likewise.
5768 (do_test_limit): Likewise.
5769 (do_test): Likewise.
5770 * string/test-strncpy.c (do_one_test): Likewise.
5771 (do_test): Likewise.
5772 * string/test-strnlen.c (do_one_test): Likewise.
5773 (do_test): Likewise.
5774 * string/test-strpbrk.c (do_one_test): Likewise.
5775 (do_test): Likewise.
5776 * string/test-strrchr.c (do_one_test): Likewise.
5777 (do_test): Likewise.
5778 * string/test-strspn.c (do_one_test): Likewise.
5779 (do_test): Likewise.
5780 * string/test-strstr.c (do_one_test): Likewise.
5781 (do_test): Likewise.
5782
97020474
SP
5783 * benchtests/Makefile (string-bench): Add string benchmarks.
5784 * benchtests/bench-bcopy-ifunc.c: New file.
5785 * benchtests/bench-bcopy.c: New file.
5786 * benchtests/bench-bzero-ifunc.c: New file.
5787 * benchtests/bench-bzero.c: New file.
5788 * benchtests/bench-memccpy-ifunc.c: New file.
5789 * benchtests/bench-memccpy.c: New file.
5790 * benchtests/bench-memchr-ifunc.c: New file.
5791 * benchtests/bench-memchr.c: New file.
5792 * benchtests/bench-memcmp-ifunc.c: New file.
5793 * benchtests/bench-memcmp.c: New file.
5794 * benchtests/bench-memmem-ifunc.c: New file.
5795 * benchtests/bench-memmem.c: New file.
5796 * benchtests/bench-memmove-ifunc.c: New file.
5797 * benchtests/bench-memmove.c: New file.
5798 * benchtests/bench-mempcpy-ifunc.c: New file.
5799 * benchtests/bench-mempcpy.c: New file.
5800 * benchtests/bench-memset-ifunc.c: New file.
5801 * benchtests/bench-memset.c: New file.
5802 * benchtests/bench-rawmemchr-ifunc.c: New file.
5803 * benchtests/bench-rawmemchr.c: New file.
5804 * benchtests/bench-stpcpy-ifunc.c: New file.
5805 * benchtests/bench-stpcpy.c: New file.
5806 * benchtests/bench-stpncpy-ifunc.c: New file.
5807 * benchtests/bench-stpncpy.c: New file.
5808 * benchtests/bench-strcasecmp-ifunc.c: New file.
5809 * benchtests/bench-strcasecmp.c: New file.
5810 * benchtests/bench-strcasestr-ifunc.c: New file.
5811 * benchtests/bench-strcasestr.c: New file.
5812 * benchtests/bench-strcat-ifunc.c: New file.
5813 * benchtests/bench-strcat.c: New file.
5814 * benchtests/bench-strchr-ifunc.c: New file.
5815 * benchtests/bench-strchr.c: New file.
5816 * benchtests/bench-strchrnul-ifunc.c: New file.
5817 * benchtests/bench-strchrnul.c: New file.
5818 * benchtests/bench-strcmp-ifunc.c: New file.
5819 * benchtests/bench-strcmp.c: New file.
5820 * benchtests/bench-strcpy-ifunc.c: New file.
5821 * benchtests/bench-strcpy.c: New file.
5822 * benchtests/bench-strcspn-ifunc.c: New file.
5823 * benchtests/bench-strcspn.c: New file.
5824 * benchtests/bench-strlen-ifunc.c: New file.
5825 * benchtests/bench-strlen.c: New file.
5826 * benchtests/bench-strncasecmp-ifunc.c: New file.
5827 * benchtests/bench-strncasecmp.c: New file.
5828 * benchtests/bench-strncat-ifunc.c: New file.
5829 * benchtests/bench-strncat.c: New file.
5830 * benchtests/bench-strncmp-ifunc.c: New file.
5831 * benchtests/bench-strncmp.c: New file.
5832 * benchtests/bench-strncpy-ifunc.c: New file.
5833 * benchtests/bench-strncpy.c: New file.
5834 * benchtests/bench-strnlen-ifunc.c: New file.
5835 * benchtests/bench-strnlen.c: New file.
5836 * benchtests/bench-strpbrk-ifunc.c: New file.
5837 * benchtests/bench-strpbrk.c: New file.
5838 * benchtests/bench-strrchr-ifunc.c: New file.
5839 * benchtests/bench-strrchr.c: New file.
5840 * benchtests/bench-strspn-ifunc.c: New file.
5841 * benchtests/bench-strspn.c: New file.
5842 * benchtests/bench-strstr-ifunc.c: New file.
5843 * benchtests/bench-strstr.c: New file.
5844
c1f75dc3
SP
5845 * benchtests/Makefile: Disable parallel execution of targets.
5846 (string-bench): Add memcpy.
5847 (benchset): New variable to store a list of benchmark sets.
5848 (bench-func): Renamed from bench.
5849 (bench-set): New target.
5850 (bench): Depend on bench-func and bench-set.
5851 * benchtests/README: Add section on benchmark sets.
5852 * benchtests/bench-memcpy-ifunc.c: New file.
5853 * benchtests/bench-memcpy.c: New file.
5854 * benchtests/bench-string.h: New file.
5855
50fd745b
AS
58562013-06-11 Andreas Schwab <schwab@suse.de>
5857
5858 [BZ #15577]
5859 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
5860 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
5861 values in the triple.
5862 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
5863 terminator in the group key.
5864
3ee7e9fe
AJ
58652013-06-11 Andreas Jaeger <aj@suse.de>
5866
5867 * po/zh_TW.po: Update Chinese (traditional) translation from
5868 translation project.
5869
89fb6835
SP
58702013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5871
5872 * include/time.h (__clock_gettime): Add libc_hidden_proto.
5873 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
5874 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
5875 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5876 (clock_getcpuclockid): Likewise.
5877 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
5878 Add weak_alias and libc_hidden_def.
5879 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
5880 * rt/clock_gettime.c (clock_gettime): Rename to
5881 __clock_gettime. Add weak_alias and libc_hidden_def.
5882 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
5883 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
5884 __clock_nanosleep. Add weak_alias and libc_hidden_def.
5885 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
5886 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
5887 Likewise.
5888 * rt/clock_settime.c (clock_settime): Rename to
5889 __clock_settime. Add weak_alias and libc_hidden_def.
5890 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
5891
0efa6f8b
JM
58922013-06-10 Joseph Myers <joseph@codesourcery.com>
5893
b8c61b4b
JM
5894 * mach/err_boot.sub: Remove trailing whitespace.
5895 * mach/err_ipc.sub: Likewise.
5896 * mach/err_mach.sub: Likewise.
5897
0efa6f8b
JM
5898 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
5899 (ROUNDING_TESTS_double): Likewise.
5900 (ROUNDING_TESTS_long_double): Likewise.
5901 (ROUNDING_TESTS): Likewise.
5902 * math/libm-test.inc: Include <math-tests.h>.
5903 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
5904 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5905 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5906 (IF_ROUND_INIT_FE_UPWARD): Likewise.
5907
50b818bf
SP
59082013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5909
5910 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
5911 of assigning.
5912
60d2f8f3
JM
59132013-06-08 Joseph Myers <joseph@codesourcery.com>
5914
4902d2c3
JM
5915 * sysdeps/gnu/errlist.awk: Do not generate space at end of
5916 otherwise empty TRANS lines.
5917 * sysdeps/gnu/errlist.c: Regenerated.
5918
60d2f8f3
JM
5919 * catgets/gencat.c (error_print): Use (void) in function
5920 definition.
5921 * crypt/crypt_util.c (__init_des): Likewise.
5922 * crypt/speeds.c (Stop): Likewise.
5923 (main): Likewise.
5924 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
5925 * inet/ruserpass.c (token): Likewise.
5926 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
5927 * intl/localealias.c (extend_alias_table): Likewise.
5928 * intl/plural-exp.c (init_germanic_plural): Likewise.
5929 * libio/fcloseall.c (__fcloseall): Likewise.
5930 * libio/genops.c (_IO_flush_all): Likewise.
5931 (_IO_flush_all_linebuffered): Likewise.
5932 (_IO_cleanup): Likewise.
5933 (_IO_iter_begin): Likewise.
5934 (_IO_iter_end): Likewise.
5935 (_IO_list_lock): Likewise.
5936 (_IO_list_unlock): Likewise.
5937 (_IO_list_resetlock): Likewise.
5938 * libio/getchar.c (getchar): Likewise.
5939 * libio/getchar_u.c (getchar_unlocked): Likewise.
5940 * libio/getwchar.c (getwchar): Likewise.
5941 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
5942 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
5943 * login/getpt.c (__getpt): Likewise.
5944 * login/tst-utmp.c (main): Likewise.
5945 * malloc/hooks.c (__malloc_check_init): Likewise.
5946 * malloc/malloc.c (__malloc_stats): Likewise.
5947 * malloc/mtrace.c (tr_break): Likewise.
5948 (mtrace): Likewise.
5949 (muntrace): Likewise.
5950 * misc/fstab.c (endfsent): Likewise.
5951 * misc/getclktck.c (__getclktck): Likewise.
5952 * misc/getdtsz.c (__getdtablesize): Likewise.
5953 * misc/gethostid.c (gethostid): Likewise.
5954 * misc/getpagesize.c (__getpagesize): Likewise.
5955 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
5956 (__get_nprocs): Likewise.
5957 (__get_phys_pages): Likewise.
5958 (__get_avphys_pages): Likewise.
5959 * misc/getttyent.c (getttyent): Likewise.
5960 (setttyent): Likewise.
5961 (endttyent): Likewise.
5962 * misc/getusershell.c (getusershell): Likewise.
5963 (endusershell): Likewise.
5964 (setusershell): Likewise.
5965 (initshells): Likewise.
5966 * misc/hsearch.c (__hdestroy): Likewise.
5967 * misc/sync.c (sync): Likewise.
5968 * misc/syslog.c (closelog_internal): Likewise.
5969 (closelog): Likewise.
5970 * misc/ttyslot.c (ttyslot): Likewise.
5971 * misc/vhangup.c (vhangup): Likewise.
5972 * posix/fork.c (__fork): Likewise.
5973 * posix/getegid.c (__getegid): Likewise.
5974 * posix/geteuid.c (__geteuid): Likewise.
5975 * posix/getgid.c (__getgid): Likewise.
5976 * posix/getpid.c (__getpid): Likewise.
5977 * posix/getppid.c (__getppid): Likewise.
5978 * posix/getuid.c (__getuid): Likewise.
5979 * posix/pause.c (pause): Likewise.
5980 * posix/setpgrp.c (setpgrp): Likewise.
5981 * posix/setsid.c (__setsid): Likewise.
5982 * posix/test-vfork.c (noop): Likewise.
5983 * resolv/gethnamaddr.c (_endhtent): Likewise.
5984 (_gethtent): Likewise.
5985 (ht_endhostent): Likewise.
5986 (gethostent): Likewise.
5987 (dns_service): Likewise.
5988 * stdlib/drand48.c (drand48): Likewise.
5989 * stdlib/lrand48.c (lrand48): Likewise.
5990 * stdlib/mrand48.c (mrand48): Likewise.
5991 * stdlib/rand.c (rand): Likewise.
5992 * stdlib/random.c (__random): Likewise.
5993 * stdlib/setenv.c (clearenv): Likewise.
5994 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
5995 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
5996 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
5997 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
5998 (__get_nprocs): Likewise.
5999 (__get_phys_pages): Likewise.
6000 (__get_avphys_pages): Likewise.
6001 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
6002 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
6003 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
6004 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
6005 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
6006 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
6007 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
6008 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
6009 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
6010 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
6011 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
6012 * sysdeps/mach/hurd/sync.c (sync): Likewise.
6013 * sysdeps/posix/clock.c (clock): Likewise.
6014 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
6015 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
6016 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
6017 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
6018 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
6019 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6020 (__get_nprocs_conf): Likewise.
6021 (__get_phys_pages): Likewise.
6022 (__get_avphys_pages): Likewise.
6023 * time/clock.c (clock): Likewise.
6024 * time/tzset.c (__tzname_max): Likewise.
6025
2e09a79a
JM
60262013-06-07 Joseph Myers <joseph@codesourcery.com>
6027
6028 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
6029 (__bswap_32): Do not use "register".
6030 * crypt/crypt.c (_ufc_doit_r): Likewise.
6031 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6032 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6033 * gmon/gmon.c (__monstartup): Likewise.
6034 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
6035 * hurd/hurdmalloc.c (more_memory): Likewise.
6036 (malloc): Likewise.
6037 (free): Likewise.
6038 (realloc): Likewise.
6039 (malloc_fork_prepare): Likewise.
6040 (malloc_fork_parent): Likewise.
6041 (malloc_fork_child): Likewise.
6042 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
6043 (_svcauth_des): Likewise.
6044 * inet/inet_lnaof.c (inet_lnaof): Likewise.
6045 * inet/inet_net.c (inet_network): Likewise.
6046 * inet/inet_netof.c (inet_netof): Likewise.
6047 * inet/rcmd.c (__validuser2_sa): Likewise.
6048 * io/fts.c (fts_open): Likewise.
6049 (fts_load): Likewise.
6050 (fts_close): Likewise.
6051 (fts_read): Likewise.
6052 (fts_children): Likewise.
6053 (fts_build): Likewise.
6054 (fts_stat): Likewise.
6055 (fts_sort): Likewise.
6056 (fts_alloc): Likewise.
6057 (fts_lfree): Likewise.
6058 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
6059 (_IO_file_xsgetn): Likewise.
6060 (_IO_file_xsgetn_mmap): Likewise.
6061 * libio/iofopncook.c (_IO_cookie_read): Likewise.
6062 (_IO_cookie_write): Likewise.
6063 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
6064 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
6065 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
6066 * malloc/obstack.c (_obstack_begin): Likewise.
6067 (_obstack_begin_1): Likewise.
6068 (_obstack_newchunk): Likewise.
6069 (_obstack_allocated_p): Likewise.
6070 (obstack_free): Likewise.
6071 (_obstack_memory_used): Likewise.
6072 * misc/getttyent.c (getttynam): Likewise.
6073 (getttyent): Likewise.
6074 (skip): Likewise.
6075 (value): Likewise.
6076 * misc/getusershell.c (initshells): Likewise.
6077 * misc/syslog.c (__vsyslog_chk): Likewise.
6078 * misc/ttyslot.c (ttyslot): Likewise.
6079 * nis/nis_hash.c (__nis_hash): Likewise.
6080 * posix/fnmatch_loop.c (FCT): Likewise.
6081 * posix/getconf.c (print_all): Likewise.
6082 (main): Likewise.
6083 * posix/getopt.c (exchange): Likewise.
6084 * posix/glob.c (globfree): Likewise.
6085 (prefix_array): Likewise.
6086 (__glob_pattern_type): Likewise.
6087 * resolv/arpa/nameser.h (NS_GET16): Likewise.
6088 (NS_GET32): Likewise.
6089 (NS_PUT16): Likewise.
6090 (NS_PUT32): Likewise.
6091 * resolv/gethnamaddr.c (getanswer): Likewise.
6092 (gethostbyname2): Likewise.
6093 (gethostbyaddr): Likewise.
6094 (_gethtent): Likewise.
6095 (_gethtbyname2): Likewise.
6096 (_gethtbyaddr): Likewise.
6097 * resolv/ns_print.c (dst_s_get_int16): Likewise.
6098 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6099 * resolv/res_init.c (__res_vinit): Likewise.
6100 (net_mask): Likewise.
6101 * resolv/res_mkquery.c (outchar): Likewise.
6102 (PRINT): Likewise.
6103 * stdio-common/printf_fp.c (outchar): Likewise.
6104 (PRINT): Likewise.
6105 * stdio-common/printf_fphex.c (outchar): Likewise.
6106 (PRINT): Likewise.
6107 * stdio-common/printf_size.c (outchar): Likewise.
6108 (PRINT): Likewise.
6109 * stdio-common/test_rdwr.c (main): Likewise.
6110 * stdio-common/tfformat.c (matches): Likewise.
6111 * stdio-common/vfprintf.c (outchar): Likewise.
6112 (printf_unknown): Likewise.
6113 (buffered_vfprintf): Likewise.
6114 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6115 * stdio-common/xbug.c (AppendToBuffer): Likewise.
6116 (ReadFile): Likewise.
6117 * stdlib/qsort.c (SWAP): Likewise.
6118 (_quicksort): Likewise.
6119 * stdlib/setenv.c (__add_to_environ): Likewise.
6120 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6121 * stdlib/strtol_l.c (__strtol_l): Likewise.
6122 * stdlib/tst-strtod.c (main): Likewise.
6123 * stdlib/tst-strtol.c (main): Likewise.
6124 * stdlib/tst-strtoll.c (main): Likewise.
6125 * string/bits/string2.h (__strcmp_cc): Likewise.
6126 (__strcmp_cg): Likewise.
6127 (__strcspn_c1): Likewise.
6128 (__strcspn_c2): Likewise.
6129 (__strcspn_c3): Likewise.
6130 (__strspn_c1): Likewise.
6131 (__strspn_c2): Likewise.
6132 (__strspn_c3): Likewise.
6133 (__strsep_1c): Likewise.
6134 (__strsep_2c): Likewise.
6135 (__strsep_3c): Likewise.
6136 * string/memccpy.c (__memccpy): Likewise.
6137 * string/stpcpy.c (__stpcpy): Likewise.
6138 * string/strcmp.c (strcmp): Likewise.
6139 * string/strrchr.c (strrchr): Likewise.
6140 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
6141 Likewise.
6142 * sysdeps/mach/hurd/getcwd.c
6143 (_hurd_canonicalize_directory_name_internal): Likewise.
6144 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
6145 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
6146 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
6147 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
6148 Likewise, in both definitions.
6149 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
6150 definitions.
6151 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
6152 64] (__bswap_64): Likewise.
6153 * time/test_time.c (main): Likewise.
6154 * time/tzfile.c (__tzfile_read): Likewise.
6155 (__tzfile_compute): Likewise.
6156 * time/tzset.c (__tzset_parse_tz): Likewise.
6157 (tzset_internal): Likewise.
6158 (compute_change): Likewise.
6159 * wcsmbs/wcscat.c (__wcscat): Likewise.
6160 * wcsmbs/wcschr.c (wcschr): Likewise.
6161 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
6162 * wcsmbs/wcscspn.c (wcscspn): Likewise.
6163 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
6164 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
6165 * wcsmbs/wcsspn.c (wcsspn): Likewise.
6166 * wcsmbs/wcsstr.c (wcsstr): Likewise.
6167 * wcsmbs/wmemchr.c (wmemchr): Likewise.
6168 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6169 * wcsmbs/wmemset.c (wmemset): Likewise.
6170
9e54314b
JM
61712013-06-06 Joseph Myers <joseph@codesourcery.com>
6172
6173 * scripts/config.guess: Update to version 2013-05-16.
6174 * scripts/config.sub: Update to version 2013-04-24.
6175 * scripts/install-sh: Update to version 2011-11-20.07.
6176 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
6177 * scripts/move-if-change: Update to version 2012-01-06 07:23.
6178
350635a5
OB
61792013-06-06 Ondřej Bílka <neleai@seznam.cz>
6180
6181 * debug/fgetws_u_chk.c: Fix leading whitespaces.
6182 * elf/sln.c: Likewise.
6183 * hurd/hurd/ioctl.h: Likewise.
6184 * hurd/hurdmalloc.c: Likewise.
6185 * hurd/xattr.c: Likewise.
6186 * include/shlib-compat.h: Likewise.
6187 * inet/ruserpass.c: Likewise.
6188 * libio/iofgets_u.c: Likewise.
6189 * libio/iofgetws_u.c: Likewise.
6190 * locale/programs/ld-identification.c: Likewise.
6191 * locale/programs/ld-time.c: Likewise.
6192 * mach/msg-destroy.c: Likewise.
6193 * nss/nss_files/files-netgrp.c: Likewise.
6194 * resolv/res_data.c: Likewise.
6195 * soft-fp/op-1.h: Likewise.
6196 * soft-fp/op-2.h: Likewise.
6197 * soft-fp/op-4.h: Likewise.
6198 * soft-fp/op-common.h: Likewise.
6199 * stdio-common/printf_fphex.c: Likewise.
6200 * stdlib/strtod_l.c: Likewise.
6201 * sunrpc/rpc/clnt.h: Likewise.
6202 * sysdeps/generic/framestate.c: Likewise.
6203 * sysdeps/i386/bsd-_setjmp.S: Likewise.
6204 * sysdeps/i386/bsd-setjmp.S: Likewise.
6205 * sysdeps/i386/__longjmp.S: Likewise.
6206 * sysdeps/i386/setjmp.S: Likewise.
6207 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6208 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6209 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6210 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6211 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6212 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6213 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6214 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6215 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6216 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
6217 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6218 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6219 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6220 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6221 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6222 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6223 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6224 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
6225 * sysdeps/ieee754/support.c: Likewise.
6226 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6227 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
6228 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
6229 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
6230 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
6231 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
6232 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
6233 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
6234 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
6235 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
6236 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
6237 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
6238 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
6239 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
6240 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
6241 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
6242 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6244
44a988af
OB
62452013-06-05 Ondřej Bílka <neleai@seznam.cz>
6246
25506f09 6247 * posix/transbug.c: Remove executable mode.
44a988af 6248
9c84384c
JM
62492013-06-05 Joseph Myers <joseph@codesourcery.com>
6250
6251 * crypt/speeds.c: Remove trailing whitespace.
6252 * dlfcn/default.c: Likewise.
6253 * elf/ifuncdep2.c: Likewise.
6254 * elf/ifuncmain1.c: Likewise.
6255 * elf/ifuncmain1vis.c: Likewise.
6256 * elf/testobj.h: Likewise.
6257 * elf/tst-stackguard1.c: Likewise.
6258 * gmon/sys/gmon.h: Likewise.
6259 * hurd/hurdmsg.c: Likewise.
6260 * hurd/new-fd.c: Likewise.
6261 * hurd/ports-get.c: Likewise.
6262 * iconvdata/ibm1008_420.c: Likewise.
6263 * inet/tst-getni1.c: Likewise.
6264 * inet/tst-getni2.c: Likewise.
6265 * libio/ioungetc.c: Likewise.
6266 * libio/wfiledoalloc.c: Likewise.
6267 * manual/libm-err-tab.pl: Likewise.
6268 * math/w_dremf.c: Likewise.
6269 * misc/ftruncate.c: Likewise.
6270 * posix/bug-glob2.c: Likewise.
6271 * posix/tst-pcre.c: Likewise.
6272 * posix/wait4.c: Likewise.
6273 * resolv/README: Likewise.
6274 * resolv/res_debug.h: Likewise.
6275 * resolv/tst-inet_ntop.c: Likewise.
6276 * setjmp/bug269-setjmp.c: Likewise.
6277 * soft-fp/extended.h: Likewise.
6278 * soft-fp/op-1.h: Likewise.
6279 * soft-fp/op-2.h: Likewise.
6280 * soft-fp/op-4.h: Likewise.
6281 * soft-fp/op-8.h: Likewise.
6282 * soft-fp/testit.c: Likewise.
6283 * stdio-common/bug16.c: Likewise.
6284 * stdlib/random.c: Likewise.
6285 * sunrpc/rpcsvc/rquota.x: Likewise.
6286 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
6287 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6288 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6289 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6290 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6291 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6292 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6293 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6294 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6295 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6296 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6297 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6298 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6299 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6300 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6301 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6302 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6303 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6304 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6305 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6306 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6307 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6308 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6309 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6310 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6311 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6312 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6313 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6314 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6315 * sysdeps/ieee754/s_lib_version.c: Likewise.
6316 * sysdeps/mach/hurd/check_fds.c: Likewise.
6317 * sysdeps/mach/hurd/getsockname.c: Likewise.
6318 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
6319 * sysdeps/mach/hurd/recvfrom.c: Likewise.
6320 * sysdeps/powerpc/bits/link.h: Likewise.
6321 * sysdeps/powerpc/dl-procinfo.c: Likewise.
6322 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
6323 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
6324 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
6325 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6326 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6327 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
6328 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6329 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
6330 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6331 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
6332 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6333 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
6334 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6335 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6336 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6337 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6338 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6339 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6340 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6341 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6342 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
6343 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6344 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6345 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
6346 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6347 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6348 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6349 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6350 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6351 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6352 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6353 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6354 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6355 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
6356 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6357 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
6358 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6359 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
6360 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
6361 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
6362 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
6363 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
6364 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
6365 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6366 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
6367 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
6368 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6369 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
6370 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
6371 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6372 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6373 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6374 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6375 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
6376 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
6377 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
6378 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6379 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
6380 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
6381 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
6382 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
6383 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6384 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6385 * sysdeps/powerpc/sysdep.h: Likewise.
6386 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6387 * sysdeps/s390/s390-64/sub_n.S: Likewise.
6388 * sysdeps/sh/dl-trampoline.S: Likewise.
6389 * sysdeps/sh/memset.S: Likewise.
6390 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
6391 * sysdeps/sh/strlen.S: Likewise.
6392 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
6393 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
6394 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
6395 * sysdeps/sparc/sparc32/rem.S: Likewise.
6396 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
6397 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
6398 * sysdeps/sparc/sparc32/strchr.S: Likewise.
6399 * sysdeps/sparc/sparc32/udiv.S: Likewise.
6400 * sysdeps/sparc/sparc32/urem.S: Likewise.
6401 * sysdeps/sparc/sparc64/add_n.S: Likewise.
6402 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6403 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
6404 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
6405 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
6406 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
6407 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6408 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
6409 * sysdeps/unix/bsd/times.c: Likewise.
6410 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
6411 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
6412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6415 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6416 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6417 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
6418 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
6419 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
6420 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
6421 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6422 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6423 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6424 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6425 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
6426 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6427 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
6428 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
6429 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
6430 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
6431 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
6432 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6433 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
6434 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
6435 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6436 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
6437 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6438 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
6439 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
6440 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
6441 * sysdeps/x86_64/strcspn.S: Likewise.
6442
869378a5
RA
64432013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6444
6445 * locale/C-translit.h: Revert #include <stdint.h> because this is a
6446 generated file. Regenerate properly from gen-translit.pl.
6447 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
6448 locale/C-translit.h.
6449
840e2943
AS
64502013-06-05 Andreas Schwab <schwab@suse.de>
6451
6452 [BZ #15100]
6453 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
6454 week as 6 instead of -1.
6455 * time/tst-strptime.c (day_tests): Add test case.
6456
4c60cb0c
SP
64572013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6458
6459 * sysdeps/generic/math_private.h
6460 (libc_feholdexcept_setround_53bit): Replace with
6461 libc_feholdsetround_53bit.
6462 (libc_feupdateenv_53bit): Replace with
6463 libc_feresetround_53bit.
6464 (SET_RESTORE_ROUND_53BIT): Adjust.
6465
d180203e
SP
64662013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6467
96df079a
SP
6468 * string/test-strchrnul.c: Add copyright header.
6469
d180203e
SP
6470 * posix/tst-getaddrinfo4.c: Increase test timeout.
6471
8b0ccb2d
CD
64722013-06-03 Carlos O'Donell <carlos@redhat.com>
6473
6474 [BZ #15536]
6475 * math/libm-test.inc (MAX_EXP): Remove
6476 (MIN_EXP): Define.
6477 (ulp): Use MIN_EXP - MANT_DIG.
6478 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
6479
3b3c4d40
CD
64802013-05-31 Carlos O'Donell <carlos@redhat.com>
6481
6482 * po/be.po: Revert last change.
6483 * po/zh_CN.po: Likewise.
6484 * po/header.pot: Likewise.
6485
fab7ce3f
JM
64862013-05-31 Joseph Myers <joseph@codesourcery.com>
6487
6488 * Makefile ($(common-objpfx)linkobj/libc.so): Define
6489 link-libc-deps to empty as target-specific variable.
6490 * Makerules (link-libc-args): New variable.
6491 (libc-for-link): Likewise.
6492 (link-libc-deps): Likewise.
6493 (lib%.so): Depend on $(link-libc-deps). Link with
6494 $(link-libc-args).
6495 (build-module): Link with $(link-libc-args).
6496 (build-module-asneeded): Likewise.
6497 (build-module-helper-objlist): Filter out $(link-libc-deps) from
6498 list of objects.
6499 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
6500 target-specific variable.
6501 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
6502 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
6503 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
6504 libc.
6505 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
6506 libc and ld.so.
6507 ($(objpfx)libpcprofile.so): Likewise.
6508 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
6509 libc_nonshared.a.
6510 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
6511 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
6512 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
6513 $(link-libc-deps).
6514 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
6515 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
6516 * login/Makefile ($(objpfx)libutil.so): Likewise.
6517 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
6518 * math/Makefile ($(objpfx)libm.so): Likewise.
6519 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
6520 $(objpfx)libnsl.so): Define libc-for-link as target-specific
6521 variable instead of depending directly on libc.
6522 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
6523 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
6524 $(link-libc-deps).
6525 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
6526 libc.
6527 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
6528 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
6529 ($(objpfx)libanl.so): Likewise.
6530 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
6531 ld.so.
6532 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
6533 $(link-libc-deps).
6534 * sysdeps/i386/fpu/Makefile: Remove file.
6535 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
6536 ($(objpfx)libm.so): Remove dependency on ld.so.
6537
eca5920c
PF
65382013-05-30 Patsy Franklin <pfrankli@redhat.com>
6539
6540 [BZ # 15553]
6541 * nis/yp_xdr.c (XDRMAXNAME): Define.
6542 (XDRMAXRECORD): Define.
6543 (xdr_domainname): Use XDRMAXNAME.
6544 (xdr_mapname): Likewise.
6545 (xdr_peername): Likewise.
6546 (xdr_keydat): Use XDRMAXRECORD.
6547 (xdr_valdat): Likewise.
6548
65492013-05-30 Jeff Law <law@redhat.com>
96945714
JL
6550
6551 [BZ #14256]
6552 * manual/errno.texi (ESTALE): Update to account for more than
6553 just NFS file systems.
6554 * sysdeps/gnu/errlist.c: Regenerated.
6555
b9375348
SP
65562013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6557
6558 [BZ #15465]
6559 * elf/Makefile (tests): Add tst-null-argv.
6560 (modules-names): Add tst-null-argv-lib.
6561 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
6562 (tst-null-argv-ENV): Set environment for tst-null-argv.
6563 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
6564 (RTLD_PROGNAME): New macro.
6565 * elf/tst-null-argv.c: New test case.
6566 * elf/tst-null-argv-lib.c: Library for test case.
6567 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
6568 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6569 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
6570 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
6571 * elf/dl-init.c (call_init): Likewise.
6572 (_dl_init): Likewise.
6573 * elf/dl-load.c (print_search_path): Likewise.
6574 (_dl_map_object): Likewise.
6575 * elf/dl-lookup.c (do_lookup_x): Likewise.
6576 (add_dependency): Likewise.
6577 (_dl_lookup_symbol_x): Likewise.
6578 (_dl_debug_bindings): Likewise.
6579 * elf/dl-open.c (_dl_show_scope): Likewise.
6580 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6581 * elf/dl-version.c (match_symbol): Likewise.
6582 (_dl_check_map_versions): Likewise.
6583 * elf/rtld.c (dl_main): Likewise.
6584 (print_unresolved): Use RTLD_PROGNAME.
6585 (print_missing_version): Likewise.
6586 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
6587 (elf_machine_rela): Likewise.
6588 * sysdeps/powerpc/powerpc32/dl-machine.c
6589 (__process_machine_rela): Likewise.
6590 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6591 Likewise.
6592 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6593 Likewise.
6594 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
6595 Likewise.
6596 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6597 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
6598 Likewise.
6599 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
6600 Likewise.
6601 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6602
8a9f20c8
CD
66032013-05-28 Carlos O'Donell <carlos@redhat.com>
6604
6605 * po/be.po: Add descriptive title.
6606 * po/zh_CN.po: Likewise.
6607 * po/header.pot: Likewise.
6608
0e60d68e
MF
66092013-05-28 Mike Frysinger <vapier@gentoo.org>
6610
6611 * locale/programs/locarchive.c (create_archive): Inlucde fname in
6612 error message.
6613 (enlarge_archive): Likewise.
6614
56b672e9
BN
66152013-05-28 Ben North <ben@redfrontdoor.org>
6616
6617 * manual/arith.texi (frexp): It is the magnitude of the return
6618 value which lies in [0.5, 1), not the return value itself.
6619
5e056687
AZ
66202013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6621
6622 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6623
2b66ef5d
TS
66242013-05-26 Thomas Schwinge <thomas@codesourcery.com>
6625
528c2405
TS
6626 * stdio-common/bug26.c (main): Correct fscanf template.
6627
07b4c13d
TS
6628 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
6629 declare _dl_skip_args.
6630
ec9dd97c
TS
6631 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
6632 Don't declare.
6633
2b66ef5d
TS
6634 * manual/platform.texi: Add missing @end deftypefun.
6635
4f8dfe27
JM
66362013-05-24 Joseph Myers <joseph@codesourcery.com>
6637
0323d086
JM
6638 [BZ #15529]
6639 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
6640 bit of mantissa of 2^16382.
6641 * math/libm-test.inc (hypot_test_data): Add more tests.
6642
dd4259b9
JM
6643 * math/libm-test.inc: Add drem and pow10 to list of tested
6644 functions.
6645 (pow10_test): New function.
6646 (drem_test): Likewise.
6647 (drem_test_tonearest): Likewise.
6648 (drem_test_towardzero): Likewise.
6649 (drem_test_downward): Likewise.
6650 (drem_test_upward): Likewise.
6651 (main): Call the new functions.
6652
4f8dfe27
JM
6653 * math/libm-test.inc (finite_test_data): Remove.
6654 (finite_test): Run tests from isfinite_test_data.
6655 (gamma_test_data): Remove.
6656 (gamma_test): Run tests from lgamma_test_data.
6657 * sysdeps/i386/fpu/libm-test-ulps: Update.
6658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6659
d116b7c4
AZ
66602013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6661
6662 * manual/platform.texi: Add PowerPC PPR function set documentation.
6663 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
6664 implementation.
6665
e96e3767
CD
66662013-05-24 Carlos O'Donell <carlos@redhat.com>
6667
6668 * math/libm-test.inc (MAX_EXP): Define.
6669 (ULPDIFF): Define.
6670 (ulp): New function.
6671 (check_float_internal): Use ULPDIFF.
6672 (cpow_test): Disable failing test.
6673 (check_ulp): Test ulp() implemetnation.
6674 (main): Call check_ulp before starting tests.
6675
b679a606
JM
66762013-05-24 Joseph Myers <joseph@codesourcery.com>
6677
e8bdba36
JM
6678 * math/gen-libm-test.pl (generate_testfile): Do not handle
6679 START_DATA and END_DATA.
6680 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
6681 END_DATA.
6682 (acos_tonearest_test_data): Likewise.
6683 (acos_towardzero_test_data): Likewise.
6684 (acos_downward_test_data): Likewise.
6685 (acos_upward_test_data): Likewise.
6686 (acosh_test_data): Likewise.
6687 (asin_test_data): Likewise.
6688 (asin_tonearest_test_data): Likewise.
6689 (asin_towardzero_test_data): Likewise.
6690 (asin_downward_test_data): Likewise.
6691 (asin_upward_test_data): Likewise.
6692 (asinh_test_data): Likewise.
6693 (atan_test_data): Likewise.
6694 (atanh_test_data): Likewise.
6695 (atan2_test_data): Likewise.
6696 (cabs_test_data): Likewise.
6697 (cacos_test_data): Likewise.
6698 (cacosh_test_data): Likewise.
6699 (carg_test_data): Likewise.
6700 (casin_test_data): Likewise.
6701 (casinh_test_data): Likewise.
6702 (catan_test_data): Likewise.
6703 (catanh_test_data): Likewise.
6704 (cbrt_test_data): Likewise.
6705 (ccos_test_data): Likewise.
6706 (ccosh_test_data): Likewise.
6707 (ceil_test_data): Likewise.
6708 (cexp_test_data): Likewise.
6709 (cimag_test_data): Likewise.
6710 (clog_test_data): Likewise.
6711 (clog10_test_data): Likewise.
6712 (conj_test_data): Likewise.
6713 (copysign_test_data): Likewise.
6714 (cos_test_data): Likewise.
6715 (cos_tonearest_test_data): Likewise.
6716 (cos_towardzero_test_data): Likewise.
6717 (cos_downward_test_data): Likewise.
6718 (cos_upward_test_data): Likewise.
6719 (cosh_test_data): Likewise.
6720 (cosh_tonearest_test_data): Likewise.
6721 (cosh_towardzero_test_data): Likewise.
6722 (cosh_downward_test_data): Likewise.
6723 (cosh_upward_test_data): Likewise.
6724 (cpow_test_data): Likewise.
6725 (cproj_test_data): Likewise.
6726 (creal_test_data): Likewise.
6727 (csin_test_data): Likewise.
6728 (csinh_test_data): Likewise.
6729 (csqrt_test_data): Likewise.
6730 (ctan_test_data): Likewise.
6731 (ctan_tonearest_test_data): Likewise.
6732 (ctan_towardzero_test_data): Likewise.
6733 (ctan_downward_test_data): Likewise.
6734 (ctan_upward_test_data): Likewise.
6735 (ctanh_test_data): Likewise.
6736 (ctanh_tonearest_test_data): Likewise.
6737 (ctanh_towardzero_test_data): Likewise.
6738 (ctanh_downward_test_data): Likewise.
6739 (ctanh_upward_test_data): Likewise.
6740 (erf_test_data): Likewise.
6741 (erfc_test_data): Likewise.
6742 (exp_test_data): Likewise.
6743 (exp_tonearest_test_data): Likewise.
6744 (exp_towardzero_test_data): Likewise.
6745 (exp_downward_test_data): Likewise.
6746 (exp_upward_test_data): Likewise.
6747 (exp10_test_data): Likewise.
6748 (exp2_test_data): Likewise.
6749 (expm1_test_data): Likewise.
6750 (fabs_test_data): Likewise.
6751 (fdim_test_data): Likewise.
6752 (finite_test_data): Likewise.
6753 (floor_test_data): Likewise.
6754 (fma_test_data): Likewise.
6755 (fma_towardzero_test_data): Likewise.
6756 (fma_downward_test_data): Likewise.
6757 (fma_upward_test_data): Likewise.
6758 (fmax_test_data): Likewise.
6759 (fmin_test_data): Likewise.
6760 (fmod_test_data): Likewise.
6761 (fpclassify_test_data): Likewise.
6762 (frexp_test_data): Likewise.
6763 (gamma_test_data): Likewise.
6764 (hypot_test_data): Likewise.
6765 (ilogb_test_data): Likewise.
6766 (isfinite_test_data): Likewise.
6767 (isgreater_test_data): Likewise.
6768 (isgreaterequal_test_data): Likewise.
6769 (isinf_test_data): Likewise.
6770 (isless_test_data): Likewise.
6771 (islessequal_test_data): Likewise.
6772 (islessgreater_test_data): Likewise.
6773 (isnan_test_data): Likewise.
6774 (isnormal_test_data): Likewise.
6775 (issignaling_test_data): Likewise.
6776 (isunordered_test_data): Likewise.
6777 (j0_test_data): Likewise.
6778 (j1_test_data): Likewise.
6779 (jn_test_data): Likewise.
6780 (ldexp_test_data): Likewise.
6781 (lgamma_test_data): Likewise.
6782 (lrint_test_data): Likewise.
6783 (lrint_tonearest_test_data): Likewise.
6784 (lrint_towardzero_test_data): Likewise.
6785 (lrint_downward_test_data): Likewise.
6786 (lrint_upward_test_data): Likewise.
6787 (llrint_test_data): Likewise.
6788 (llrint_tonearest_test_data): Likewise.
6789 (llrint_towardzero_test_data): Likewise.
6790 (llrint_downward_test_data): Likewise.
6791 (llrint_upward_test_data): Likewise.
6792 (log_test_data): Likewise.
6793 (log10_test_data): Likewise.
6794 (log1p_test_data): Likewise.
6795 (log2_test_data): Likewise.
6796 (logb_test_data): Likewise.
6797 (logb_downward_test_data): Likewise.
6798 (lround_test_data): Likewise.
6799 (llround_test_data): Likewise.
6800 (modf_test_data): Likewise.
6801 (nearbyint_test_data): Likewise.
6802 (nextafter_test_data): Likewise.
6803 (nexttoward_test_data): Likewise.
6804 (pow_test_data): Likewise.
6805 (pow_tonearest_test_data): Likewise.
6806 (pow_towardzero_test_data): Likewise.
6807 (pow_downward_test_data): Likewise.
6808 (pow_upward_test_data): Likewise.
6809 (remainder_test_data): Likewise.
6810 (remainder_tonearest_test_data): Likewise.
6811 (remainder_towardzero_test_data): Likewise.
6812 (remainder_downward_test_data): Likewise.
6813 (remainder_upward_test_data): Likewise.
6814 (remquo_test_data): Likewise.
6815 (rint_test_data): Likewise.
6816 (rint_tonearest_test_data): Likewise.
6817 (rint_towardzero_test_data): Likewise.
6818 (rint_downward_test_data): Likewise.
6819 (rint_upward_test_data): Likewise.
6820 (round_test_data): Likewise.
6821 (scalb_test_data): Likewise.
6822 (scalbn_test_data): Likewise.
6823 (scalbln_test_data): Likewise.
6824 (signbit_test_data): Likewise.
6825 (sin_test_data): Likewise.
6826 (sin_tonearest_test_data): Likewise.
6827 (sin_towardzero_test_data): Likewise.
6828 (sin_downward_test_data): Likewise.
6829 (sin_upward_test_data): Likewise.
6830 (sincos_test_data): Likewise.
6831 (sinh_test_data): Likewise.
6832 (sinh_tonearest_test_data): Likewise.
6833 (sinh_towardzero_test_data): Likewise.
6834 (sinh_downward_test_data): Likewise.
6835 (sinh_upward_test_data): Likewise.
6836 (sqrt_test_data): Likewise.
6837 (tan_test_data): Likewise.
6838 (tan_tonearest_test_data): Likewise.
6839 (tan_towardzero_test_data): Likewise.
6840 (tan_downward_test_data): Likewise.
6841 (tan_upward_test_data): Likewise.
6842 (tanh_test_data): Likewise.
6843 (tgamma_test_data): Likewise.
6844 (trunc_test_data): Likewise.
6845 (y0_test_data): Likewise.
6846 (y1_test_data): Likewise.
6847 (yn_test_data): Likewise.
6848 (significand_test_data): Likewise.
6849
b679a606
JM
6850 * math/gen-libm-test.pl (@functions): Remove variable.
6851 (generate_testfile): Don't handle START and END lines.
6852 * math/libm-test.inc (START): New macro.
6853 (END): Likewise.
6854 (END_COMPLEX): Likewise.
6855 (acos_test): Use END macro without arguments.
6856 (acos_test_tonearest): Likewise.
6857 (acos_test_towardzero): Likewise.
6858 (acos_test_downward): Likewise.
6859 (acos_test_upward): Likewise.
6860 (acosh_test): Likewise.
6861 (asin_test): Likewise.
6862 (asin_test_tonearest): Likewise.
6863 (asin_test_towardzero): Likewise.
6864 (asin_test_downward): Likewise.
6865 (asin_test_upward): Likewise.
6866 (asinh_test): Likewise.
6867 (atan_test): Likewise.
6868 (atanh_test): Likewise.
6869 (atan2_test): Likewise.
6870 (cabs_test): Likewise.
6871 (cacos_test): Use END_COMPLEX macro without arguments.
6872 (cacosh_test): Likewise.
6873 (carg_test): Use END macro without arguments.
6874 (casin_test): Use END_COMPLEX macro without arguments.
6875 (casinh_test): Likewise.
6876 (catan_test): Likewise.
6877 (catanh_test): Likewise.
6878 (cbrt_test): Use END macro without arguments.
6879 (ccos_test): Use END_COMPLEX macro without arguments.
6880 (ccosh_test): Likewise.
6881 (ceil_test): Use END macro without arguments.
6882 (cexp_test): Use END_COMPLEX macro without arguments.
6883 (cimag_test): Use END macro without arguments.
6884 (clog_test): Use END_COMPLEX macro without arguments.
6885 (clog10_test): Likewise.
6886 (conj_test): Likewise.
6887 (copysign_test): Use END macro without arguments.
6888 (cos_test): Likewise.
6889 (cos_test_tonearest): Likewise.
6890 (cos_test_towardzero): Likewise.
6891 (cos_test_downward): Likewise.
6892 (cos_test_upward): Likewise.
6893 (cosh_test): Likewise.
6894 (cosh_test_tonearest): Likewise.
6895 (cosh_test_towardzero): Likewise.
6896 (cosh_test_downward): Likewise.
6897 (cosh_test_upward): Likewise.
6898 (cpow_test): Use END_COMPLEX macro without arguments.
6899 (cproj_test): Likewise.
6900 (creal_test): Use END macro without arguments.
6901 (csin_test): Use END_COMPLEX macro without arguments.
6902 (csinh_test): Likewise.
6903 (csqrt_test): Likewise.
6904 (ctan_test): Likewise.
6905 (ctan_test_tonearest): Likewise.
6906 (ctan_test_towardzero): Likewise.
6907 (ctan_test_downward): Likewise.
6908 (ctan_test_upward): Likewise.
6909 (ctanh_test): Likewise.
6910 (ctanh_test_tonearest): Likewise.
6911 (ctanh_test_towardzero): Likewise.
6912 (ctanh_test_downward): Likewise.
6913 (ctanh_test_upward): Likewise.
6914 (erf_test): Use END macro without arguments.
6915 (erfc_test): Likewise.
6916 (exp_test): Likewise.
6917 (exp_test_tonearest): Likewise.
6918 (exp_test_towardzero): Likewise.
6919 (exp_test_downward): Likewise.
6920 (exp_test_upward): Likewise.
6921 (exp10_test): Likewise.
6922 (exp2_test): Likewise.
6923 (expm1_test): Likewise.
6924 (fabs_test): Likewise.
6925 (fdim_test): Likewise.
6926 (finite_test): Likewise.
6927 (floor_test): Likewise.
6928 (fma_test): Likewise.
6929 (fma_test_towardzero): Likewise.
6930 (fma_test_downward): Likewise.
6931 (fma_test_upward): Likewise.
6932 (fmax_test): Likewise.
6933 (fmin_test): Likewise.
6934 (fmod_test): Likewise.
6935 (fpclassify_test): Likewise.
6936 (frexp_test): Likewise.
6937 (gamma_test): Likewise.
6938 (hypot_test): Likewise.
6939 (ilogb_test): Likewise.
6940 (isfinite_test): Likewise.
6941 (isgreater_test): Likewise.
6942 (isgreaterequal_test): Likewise.
6943 (isinf_test): Likewise.
6944 (isless_test): Likewise.
6945 (islessequal_test): Likewise.
6946 (islessgreater_test): Likewise.
6947 (isnan_test): Likewise.
6948 (isnormal_test): Likewise.
6949 (issignaling_test): Likewise.
6950 (isunordered_test): Likewise.
6951 (j0_test): Likewise.
6952 (j1_test): Likewise.
6953 (jn_test): Likewise.
6954 (ldexp_test): Likewise.
6955 (lgamma_test): Likewise.
6956 (lrint_test): Likewise.
6957 (lrint_test_tonearest): Likewise.
6958 (lrint_test_towardzero): Likewise.
6959 (lrint_test_downward): Likewise.
6960 (lrint_test_upward): Likewise.
6961 (llrint_test): Likewise.
6962 (llrint_test_tonearest): Likewise.
6963 (llrint_test_towardzero): Likewise.
6964 (llrint_test_downward): Likewise.
6965 (llrint_test_upward): Likewise.
6966 (log_test): Likewise.
6967 (log10_test): Likewise.
6968 (log1p_test): Likewise.
6969 (log2_test): Likewise.
6970 (logb_test): Likewise.
6971 (logb_test_downward): Likewise.
6972 (lround_test): Likewise.
6973 (llround_test): Likewise.
6974 (modf_test): Likewise.
6975 (nearbyint_test): Likewise.
6976 (nextafter_test): Likewise.
6977 (nexttoward_test): Likewise.
6978 (pow_test): Likewise.
6979 (pow_test_tonearest): Likewise.
6980 (pow_test_towardzero): Likewise.
6981 (pow_test_downward): Likewise.
6982 (pow_test_upward): Likewise.
6983 (remainder_test): Likewise.
6984 (remainder_test_tonearest): Likewise.
6985 (remainder_test_towardzero): Likewise.
6986 (remainder_test_downward): Likewise.
6987 (remainder_test_upward): Likewise.
6988 (remquo_test): Likewise.
6989 (rint_test): Likewise.
6990 (rint_test_tonearest): Likewise.
6991 (rint_test_towardzero): Likewise.
6992 (rint_test_downward): Likewise.
6993 (rint_test_upward): Likewise.
6994 (round_test): Likewise.
6995 (scalb_test): Likewise.
6996 (scalbn_test): Likewise.
6997 (scalbln_test): Likewise.
6998 (signbit_test): Likewise.
6999 (sin_test): Likewise.
7000 (sin_test_tonearest): Likewise.
7001 (sin_test_towardzero): Likewise.
7002 (sin_test_downward): Likewise.
7003 (sin_test_upward): Likewise.
7004 (sincos_test): Likewise.
7005 (sinh_test): Likewise.
7006 (sinh_test_tonearest): Likewise.
7007 (sinh_test_towardzero): Likewise.
7008 (sinh_test_downward): Likewise.
7009 (sinh_test_upward): Likewise.
7010 (sqrt_test): Likewise.
7011 (tan_test): Likewise.
7012 (tan_test_tonearest): Likewise.
7013 (tan_test_towardzero): Likewise.
7014 (tan_test_downward): Likewise.
7015 (tan_test_upward): Likewise.
7016 (tanh_test): Likewise.
7017 (tgamma_test): Likewise.
7018 (trunc_test): Likewise.
7019 (y0_test): Likewise.
7020 (y1_test): Likewise.
7021 (yn_test): Likewise.
7022 (significand_test): Likewise.
7023
bae143d2
OB
70242013-05-24 Ondřej Bílka <neleai@seznam.cz>
7025
7026 [BZ #15381]
7027 * libio/genops.c (_IO_no_init): Initialize wide struct info.
7028
9323d39b
EM
70292013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
7030
d4ea44a0 7031 [BZ #14894]
9323d39b
EM
7032 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
7033 __ppc_mdoio and __ppc_mdoom.
7034 * manual/platform.texi: Document new functions __ppc_yield,
7035 __ppc_mdoio and __ppc_mdoom.
7036
13e23af7
CD
70372013-05-22 Carlos O'Donell <carlos@redhat.com>
7038
7039 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
7040 (main): Mention "tls" pseudo-hwcap is legacy.
7041 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
7042
351fe550
JM
70432013-05-22 Joseph Myers <joseph@codesourcery.com>
7044
7045 * math/gen-libm-test.pl (parse_args): Output only string of
7046 arguments as text for test name, not full call or descriptions of
7047 tests for extra outputs.
7048 (generate_testfile): Do not pass function name to parse_args.
7049 Generate this_func variable from START.
7050 * math/libm-test.inc (struct test_f_f_data): Rename test_name
7051 field to arg_str.
7052 (struct test_ff_f_data): Likewise.
7053 (test_ff_f_data_nexttoward): Likewise.
7054 (struct test_fi_f_data): Likewise.
7055 (struct test_fl_f_data): Likewise.
7056 (struct test_if_f_data): Likewise.
7057 (struct test_fff_f_data): Likewise.
7058 (struct test_c_f_data): Likewise.
7059 (struct test_f_f1_data): Likewise. Remove field extra_name.
7060 (struct test_fF_f1_data): Likewise.
7061 (struct test_ffI_f1_data): Likewise.
7062 (struct test_c_c_data): Rename test_name field to arg_str.
7063 (struct test_cc_c_data): Likewise.
7064 (struct test_f_i_data): Likewise.
7065 (struct test_ff_i_data): Likewise.
7066 (struct test_f_l_data): Likewise.
7067 (struct test_f_L_data): Likewise.
7068 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
7069 and extra2_name.
7070 (COMMON_TEST_SETUP): New macro.
7071 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
7072 (COMMON_TEST_CLEANUP): Likewise.
7073 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
7074 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
7075 macros.
7076 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
7077 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
7078 macros.
7079 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
7080 (RUN_TEST_fff_f): Take argument string. Call new setup and
7081 cleanup macros.
7082 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
7083 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
7084 macros.
7085 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
7086 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
7087 macros.
7088 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7089 (RUN_TEST_fF_f1): Take argument string. Call new setup and
7090 cleanup macros.
7091 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7092 (RUN_TEST_fI_f1): Take argument string. Call new setup and
7093 cleanup macros.
7094 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7095 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
7096 cleanup macros.
7097 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7098 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
7099 macros.
7100 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
7101 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
7102 macros.
7103 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
7104 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
7105 macros.
7106 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
7107 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
7108 cleanup macros.
7109 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
7110 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
7111 cleanup macros.
7112 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
7113 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
7114 macros.
7115 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
7116 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
7117 cleanup macros.
7118 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
7119 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
7120 macros.
7121 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
7122 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
7123 macros.
7124 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
7125 (RUN_TEST_fFF_11): Take argument string. Call new setup and
7126 cleanup macros.
7127 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
7128
85118d4d
EBM
71292013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7130
7131 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
7132 to _sifields.sigfault.
7133 (si_addr_lsb): Define new macro.
7134 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7135 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7136 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
7137
7a44c18f
CD
71382013-05-03 Carlos O'Donell <carlos at redhat.com>
7139
7140 [BZ #15441]
7141 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
7142 returns -1.
7143 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
7144 null return -1.
7145 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
7146 loading the domain.
7147
b50a7181
JM
71482013-05-22 Joseph Myers <joseph@codesourcery.com>
7149
7150 * math/gen-libm-test.pl (parse_args): Do not include expected
7151 result in test name.
7152 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
7153 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7154 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7155 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7156 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7158
051063c8
SP
71592013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7160
3ce9e010
SP
7161 * benchtests/Makefile: Sort function entries.
7162
051063c8
SP
7163 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
7164 tanh, asinh, acosh, atanh.
7165 * benchtests/acos-inputs: New file.
7166 * benchtests/acosh-inputs: New file.
7167 * benchtests/asin-inputs: New file.
7168 * benchtests/asinh-inputs: New file.
7169 * benchtests/atanh-inputs: New file.
7170 * benchtests/cosh-inputs: New file.
7171 * benchtests/log-inputs: New file.
7172 * benchtests/sinh-inputs: New file.
7173 * benchtests/tanh-inputs: New file.
7174
47c22455
DL
71752013-05-21 Dmitry V. Levin <ldv@altlinux.org>
7176
7177 [BZ #15339]
7178 * posix/tst-getaddrinfo4.c: New test.
7179 * posix/Makefile (tests): Add it.
7180
3d04f5db
SP
71812013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7182
7183 [BZ #15339]
7184 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
7185 when no services were used.
7186 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
7187 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
7188
d5dd6189
AS
71892013-05-21 Andreas Schwab <schwab@suse.de>
7190
7191 [BZ #15014]
7192 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
7193 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
7194 successful.
7195 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
7196 redundant variable declarations and reallocation of buffer when
7197 parsing as IPv6 address. Always set NSS status when called from
7198 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
7199 buffer too small. Correct computation of needed size.
7200 * nss/Makefile (tests): Add test-digits-dots.
7201 * nss/test-digits-dots.c: New test.
7202
fef94eab
SP
72032013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7204
7205 * benchtests/Makefile: Remove instructions for adding
7206 benchmark tests.
7207 * benchtests/README: New file to explain how to execute and
7208 enhance the benchmark tests.
7209
e39adf43
AS
72102013-05-21 Andreas Schwab <schwab@suse.de>
7211
7212 [BZ #15493]
7213 * setjmp/Makefile (tests): Add tst-sigsetjmp.
7214 * setjmp/tst-sigsetjmp.c: New test.
7215
b2b671b6
OB
72162013-05-20 Ondřej Bílka <neleai@seznam.cz>
7217
7218 * sysdeps/x86_64/memset.S (memset): New implementation.
7219 (__bzero): Likewise.
7220 (__memset_tail): New function.
7221
2d48b41c
OB
72222013-05-20 Ondřej Bílka <neleai@seznam.cz>
7223
7224 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
7225 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
7226 __memcpy_sse2_unaligned ifunc selection.
7227 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7228 Add memcpy-sse2-unaligned.S.
7229 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7230 Add: __memcpy_sse2_unaligned.
7231
f16cc3eb
JM
72322013-05-19 Joseph Myers <joseph@codesourcery.com>
7233
3e694268
JM
7234 [BZ #15490]
7235 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7236 math_force_eval before restoring floating-point envrionment.
7237 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
7238 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
7239 Likewise.
7240 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
7241 <math_private.h>.
7242 (__nearbyintl): Use math_force_eval before restoring
7243 floating-point environment.
7244 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
7245
db62a907
JM
7246 * math/gen-libm-test.pl (special_functions): Remove.
7247 (parse_args): Don't handle TEST_extra. Handle functions with no
7248 return value.
7249 * math/libm-test.inc (struct test_sincos_data): Replace with
7250 struct test_fFF_11_data.
7251 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
7252 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
7253 (sincos_test_data): Change element type to struct
7254 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
7255 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
7256 RUN_TEST_LOOP_sincos.
7257 * math/README.libm-test: Don't mention special handling of
7258 individual functions.
7259 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
7260 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7261 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7262 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7263 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7265
f16cc3eb
JM
7266 * math/gen-libm-test.pl (get_variable): Remove function.
7267 (parse_args): Don't show pointer parameters to call in test
7268 names. Use "extra output N" in test names for extra outputs
7269 rather than naming variables.
7270
3779b5b6
JM
72712013-05-18 Joseph Myers <joseph@codesourcery.com>
7272
2ee094ff
JM
7273 [BZ #15488]
7274 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
7275 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
7276 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
7277 double tests.
7278 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
7279 disable.
7280 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
7281 check_long_double.
7282
3779b5b6
JM
7283 * math/gen-libm-test.pl (@tests): Remove variable.
7284 ($count): Likewise.
7285 (new_test): Remove function.
7286 (show_exceptions): New function.
7287 (special_functions): Use show_exceptions instead of new_test.
7288 (parse_args): Likewise.
7289 (generate_testfile): Pass only function name in generated call to
7290 print_max_error or print_complex_max_error.
7291 (get_ulps): Do not handle complex tests specially.
7292 (output_test): Rename to ...
7293 (get_all_ulps_for_test): ... this. Return a string rather than
7294 printing to a file. Require ulps to be present.
7295 (output_ulps): Generate arrays rather than #defines.
7296 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
7297 (struct ulp_data): New type.
7298 (BUILD_COMPLEX_ULP): Remove macro.
7299 (compare_ulp_data): New function.
7300 (find_ulps): Likewise.
7301 (find_test_ulps): Likewise.
7302 (find_function_ulps): Likewise.
7303 (find_complex_function_ulps): Likewise.
7304 (print_max_error): Determine allowed ulps using
7305 find_function_ulps.
7306 (print_complex_max_error): Determine allowed ulps using
7307 find_complex_function_ulps.
7308 (check_float_internal): Determine max ulps using find_test_ulps.
7309 (check_float): Do not take max_ulp parameter. Update call to
7310 check_float_internal.
7311 (check_complex): Likewise.
7312 (check_int): Do not take max_ulp parameter.
7313 (check_long): Likewise.
7314 (check_bool): Likewise.
7315 (check_longlong): Likewise.
7316 (struct test_f_f_data): Remove max_ulp field.
7317 (struct test_ff_f_data): Likewise.
7318 (struct test_ff_f_data_nexttoward): Likewise.
7319 (struct test_fi_f_data): Likewise.
7320 (struct test_fl_f_data): Likewise.
7321 (struct test_if_f_data): Likewise.
7322 (struct test_fff_f_data): Likewise.
7323 (struct test_c_f_data): Likewise.
7324 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
7325 (struct test_fF_f1_data): Likewise.
7326 (struct test_ffI_f1_data): Likewise.
7327 (struct test_c_c_data): Remove max_ulp field.
7328 (struct test_cc_c_data): Likewise.
7329 (struct test_f_i_data): Likewise.
7330 (struct test_ff_i_data): Likewise.
7331 (struct test_f_l_data): Likewise.
7332 (struct test_f_L_data): Likewise.
7333 (struct test_sincos_data): Likewise.
7334 (RUN_TEST_f_f): Do not handle ulps.
7335 (RUN_TEST_LOOP_f_f): Likewise.
7336 (RUN_TEST_2_f): Likewise.
7337 (RUN_TEST_LOOP_2_f): Likewise.
7338 (RUN_TEST_fff_f): Likewise.
7339 (RUN_TEST_LOOP_fff_f): Likewise.
7340 (RUN_TEST_c_f): Likewise.
7341 (RUN_TEST_LOOP_c_f): Likewise.
7342 (RUN_TEST_f_f1): Likewise.
7343 (RUN_TEST_LOOP_f_f1): Likewise.
7344 (RUN_TEST_fF_f1): Likewise.
7345 (RUN_TEST_LOOP_fF_f1): Likewise.
7346 (RUN_TEST_fI_f1): Likewise.
7347 (RUN_TEST_LOOP_fI_f1): Likewise.
7348 (RUN_TEST_ffI_f1): Likewise.
7349 (RUN_TEST_LOOP_ffI_f1): Likewise.
7350 (RUN_TEST_c_c): Likewise.
7351 (RUN_TEST_LOOP_c_c): Likewise.
7352 (RUN_TEST_cc_c): Likewise.
7353 (RUN_TEST_LOOP_cc_c): Likewise.
7354 (RUN_TEST_f_i): Likewise.
7355 (RUN_TEST_LOOP_f_i): Likewise.
7356 (RUN_TEST_f_i_tg): Likewise.
7357 (RUN_TEST_LOOP_f_i_tg): Likewise.
7358 (RUN_TEST_ff_i_tg): Likewise.
7359 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7360 (RUN_TEST_f_b): Likewise.
7361 (RUN_TEST_LOOP_f_b): Likewise.
7362 (RUN_TEST_f_b_tg): Likewise.
7363 (RUN_TEST_LOOP_f_b_tg): Likewise.
7364 (RUN_TEST_f_l): Likewise.
7365 (RUN_TEST_LOOP_f_l): Likewise.
7366 (RUN_TEST_f_L): Likewise.
7367 (RUN_TEST_LOOP_f_L): Likewise.
7368 (RUN_TEST_sincos): Likewise.
7369 (RUN_TEST_LOOP_sincos): Likewise.
7370
8269107f
JM
73712013-05-17 Joseph Myers <joseph@codesourcery.com>
7372
bb38759d
JM
7373 [BZ #15480]
7374 [BZ #15485]
7375 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
7376 main case of finite arguments, set rounding mode to FE_TONEAREST
7377 and discard exceptions.
7378 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
7379 exceptions.
7380 (remainder_tonearest_test_data): New variable.
7381 (remainder_test_tonearest): New function.
7382 (remainder_towardzero_test_data): New variable.
7383 (remainder_test_towardzero): New function.
7384 (remainder_downward_test_data): New variable.
7385 (remainder_test_downward): New function.
7386 (remainder_upward_test_data): New variable.
7387 (remainder_test_upward): New function.
7388 (main): Call the new test functions.
7389
a00bdcf0
JM
7390 * math/libm-test.inc (struct test_f_f1_data): Remove field
7391 extra_init.
7392 (struct test_fF_f1_data): Likewise.
7393 (struct test_ffI_f1_data): Likewise.
7394 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
7395 based on value of EXTRA_EXPECTED.
7396 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7397 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
7398 EXTRA_VAR based on value of EXTRA_EXPECTED.
7399 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7400 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
7401 EXTRA_VAR based on value of EXTRA_EXPECTED.
7402 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7403 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
7404 EXTRA_VAR based on value of EXTRA_EXPECTED.
7405 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7406 * math/gen-libm-test.pl (parse_args): Don't output initializers
7407 for extra output values.
7408
de407f79
JM
7409 * math/libm-test.inc (check_int): Expect result to be exactly
7410 equal to expected value and do not handle ulps.
7411 (check_long): Likewise.
7412 (check_longlong): Likewise.
7413
8269107f
JM
7414 * math/libm-test.inc (ceil_test_data): Test for "inexact"
7415 exceptions.
7416 (cimag_test_data): Likewise.
7417 (conj_test_data): Likewise.
7418 (copysign_test_data): Likewise.
7419 (cproj_test_data): Likewise.
7420 (creal_test_data): Likewise.
7421 (fabs_test_data): Likewise.
7422 (fdim_test_data): Likewise.
7423 (finite_test_data): Likewise.
7424 (floor_test_data): Likewise.
7425 (fmax_test_data): Likewise.
7426 (fmin_test_data): Likewise.
7427 (fmod_test_data): Likewise.
7428 (fpclassify_test_data): Likewise.
7429 (frexp_test_data): Likewise.
7430 (ilogb_test_data): Likewise.
7431 (isfinite_test_data): Likewise.
7432 (isgreater_test_data): Likewise.
7433 (isgreaterequal_test_data): Likewise.
7434 (isinf_test_data): Likewise.
7435 (isless_test_data): Likewise.
7436 (islessequal_test_data): Likewise.
7437 (islessgreater_test_data): Likewise.
7438 (isnan_test_data): Likewise.
7439 (isnormal_test_data): Likewise.
7440 (issignaling_test_data): Likewise.
7441 (isunordered_test_data): Likewise.
7442 (ldexp_test_data): Likewise.
7443 (lrint_test_data): Likewise.
7444 (lrint_test_data) [TEST_FLOAT]: Disable one test.
7445 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
7446 (lrint_tonearest_test_data): Test for "inexact" exceptions.
7447 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7448 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
7449 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7450 test input.
7451 (lrint_towardzero_test_data): Test for "inexact" exceptions.
7452 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7453 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
7454 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
7455 that test input.
7456 (lrint_downward_test_data): Test for "inexact" exceptions.
7457 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7458 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
7459 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7460 test input.
7461 (lrint_upward_test_data): Test for "inexact" exceptions.
7462 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
7463 test input.
7464 (llrint_test_data): Test for "inexact" exceptions.
7465 (llrint_test_data) [TEST_FLOAT]: Disable one test.
7466 (llrint_tonearest_test_data): Test for "inexact" exceptions.
7467 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7468 (llrint_towardzero_test_data): Test for "inexact" exceptions.
7469 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7470 (llrint_downward_test_data): Test for "inexact" exceptions.
7471 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7472 (llrint_upward_test_data): Test for "inexact" exceptions.
7473 (logb_test_data): Likewise.
7474 (logb_downward_test_data): Likewise.
7475 (nextafter_test_data): Likewise.
7476 (nexttoward_test_data): Likewise.
7477 (remainder_test_data): Likewise.
7478 (remquo_test_data): Likewise.
7479 (scalbn_test_data): Likewise.
7480 (scalbln_test_data): Likewise.
7481 (signbit_test_data): Likewise.
7482 (sqrt_test_data): Likewise.
7483 (significand_test_data): Likewise.
7484
48a18de1
SP
74852013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7486
7487 [BZ #15424]
7488 * benchtests/bench-modf.c (struct args): Mark arg0 as
7489 volatile.
7490 * scripts/bench.pl: Mark members of struct args as volatile.
7491
13d3b41a
AZ
74922013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7493
68191c1d 7494 [BZ # 15497]
13d3b41a
AZ
7495 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
7496 negative infinity on POWER6 or lower.
7497 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
7498
2848b105
MR
74992013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
7500
7501 [BZ #15442]
7502 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
7503 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
7504 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
7505 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
7506 (_FP_SETQNAN): New macro.
7507 (_FP_SETQNAN_SEMIRAW): Likewise.
7508 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
7509 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
7510 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
7511 (FP_EXTEND): Use _FP_FRAC_SNANP.
7512 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
7513 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
7514 into account.
7515 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7516 New macro.
7517 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7518 Likewise.
7519
323e5cb7
JM
75202013-05-16 Joseph Myers <joseph@codesourcery.com>
7521
c58b274f
JM
7522 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
7523 with DIVIDE_BY_ZERO_EXCEPTION.
7524 (gamma_test_data): Likewise.
7525 (lgamma_test_data): Likewise.
7526 (log_test_data): Likewise.
7527 (log10_test_data): Likewise.
7528 (log2_test_data): Likewise.
7529 (tgamma_test_data): Likewise.
7530
0ab34904
JM
7531 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
7532 (acos_test_tonearest): Likewise.
7533 (acos_test_towardzero): Likewise.
7534 (acos_test_downward): Likewise.
7535 (acos_test_upward): Likewise.
7536 (acosh_test): Likewise.
7537 (asin_test): Likewise.
7538 (asin_test_tonearest): Likewise.
7539 (asin_test_towardzero): Likewise.
7540 (asin_test_downward): Likewise.
7541 (asin_test_upward): Likewise.
7542 (asinh_test): Likewise.
7543 (atan_test): Likewise.
7544 (atanh_test): Likewise.
7545 (atan2_test): Likewise.
7546 (cabs_test): Likewise.
7547 (cacos_test): Likewise.
7548 (cacosh_test): Likewise.
7549 (casin_test): Likewise.
7550 (casinh_test): Likewise.
7551 (catan_test): Likewise.
7552 (catanh_test): Likewise.
7553 (cbrt_test): Likewise.
7554 (ccos_test): Likewise.
7555 (ccosh_test): Likewise.
7556 (cexp_test): Likewise.
7557 (clog_test): Likewise.
7558 (clog10_test): Likewise.
7559 (cos_test): Likewise.
7560 (cos_test_tonearest): Likewise.
7561 (cos_test_towardzero): Likewise.
7562 (cos_test_downward): Likewise.
7563 (cos_test_upward): Likewise.
7564 (cosh_test): Likewise.
7565 (cosh_test_tonearest): Likewise.
7566 (cosh_test_towardzero): Likewise.
7567 (cosh_test_downward): Likewise.
7568 (cosh_test_upward): Likewise.
7569 (cpow_test): Likewise.
7570 (csin_test): Likewise.
7571 (csinh_test): Likewise.
7572 (csqrt_test): Likewise.
7573 (ctan_test): Likewise.
7574 (ctan_test_tonearest): Likewise.
7575 (ctan_test_towardzero): Likewise.
7576 (ctan_test_downward): Likewise.
7577 (ctan_test_upward): Likewise.
7578 (ctanh_test): Likewise.
7579 (ctanh_test_tonearest): Likewise.
7580 (ctanh_test_towardzero): Likewise.
7581 (ctanh_test_downward): Likewise.
7582 (ctanh_test_upward): Likewise.
7583 (erf_test): Likewise.
7584 (erfc_test): Likewise.
7585 (exp_test): Likewise.
7586 (exp_test_tonearest): Likewise.
7587 (exp_test_towardzero): Likewise.
7588 (exp_test_downward): Likewise.
7589 (exp_test_upward): Likewise.
7590 (exp10_test): Likewise.
7591 (exp2_test): Likewise.
7592 (expm1_test): Likewise.
7593 (fmod_test): Likewise.
7594 (gamma_test): Likewise.
7595 (hypot_test): Likewise.
7596 (j0_test): Likewise.
7597 (j1_test): Likewise.
7598 (jn_test): Likewise.
7599 (lgamma_test): Likewise.
7600 (log_test): Likewise.
7601 (log10_test): Likewise.
7602 (log1p_test): Likewise.
7603 (log2_test): Likewise.
7604 (logb_test_downward): Likewise.
7605 (pow_test): Likewise.
7606 (pow_test_tonearest): Likewise.
7607 (pow_test_towardzero): Likewise.
7608 (pow_test_downward): Likewise.
7609 (pow_test_upward): Likewise.
7610 (remainder_test): Likewise.
7611 (remquo_test): Likewise.
7612 (sin_test): Likewise.
7613 (sin_test_tonearest): Likewise.
7614 (sin_test_towardzero): Likewise.
7615 (sin_test_downward): Likewise.
7616 (sin_test_upward): Likewise.
7617 (sincos_test): Likewise.
7618 (sinh_test): Likewise.
7619 (sinh_test_tonearest): Likewise.
7620 (sinh_test_towardzero): Likewise.
7621 (sinh_test_downward): Likewise.
7622 (sinh_test_upward): Likewise.
7623 (sqrt_test): Likewise.
7624 (tan_test): Likewise.
7625 (tan_test_tonearest): Likewise.
7626 (tan_test_towardzero): Likewise.
7627 (tan_test_downward): Likewise.
7628 (tan_test_upward): Likewise.
7629 (tanh_test): Likewise.
7630 (tgamma_test): Likewise.
7631 (y0_test): Likewise.
7632 (y1_test): Likewise.
7633 (yn_test): Likewise.
7634
323e5cb7
JM
7635 * math/gen-libm-test.pl (adjust_arg): Remove function.
7636 (special_function): Remove argument $in_func. Only handle
7637 generating output for tables of tests, not inside functions.
7638 (parse_args): Likewise.
7639 (generate_testfile): Remove variable $in_func. Update call to
7640 parse_args.
7641 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
7642 (MINUS_ZERO_INIT): Rename macro to minus_zero.
7643 (PLUS_INFTY_INIT): Rename macro to plus_infty.
7644 (MINUS_INFTY_INIT): Rename macro to minus_infty.
7645 (QNAN_VALUE_INIT): Rename macro to qnan_value.
7646 (MAX_VALUE_INIT): Rename macro to max_value.
7647 (MIN_VALUE_INIT): Rename macro to min_value.
7648 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
7649 (plus_zero): Remove variable.
7650 (minus_zero): Likewise.
7651 (plus_infty): Likewise.
7652 (minus_infty): Likewise.
7653 (qnan_value): Likewise.
7654 (max_value): Likewise.
7655 (min_value): Likewise.
7656 (min_subnorm_value): Likewise.
7657
e054f494
RA
76582013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7659
7660 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
7661 uint64_t or uint32_t usage.
7662 * crypt/sha256-block.c: Likewise.
7663 * crypt/sha256-crypt.c: Likewise.
7664 * crypt/sha256.c: Likewise.
7665 * crypt/sha512-block.c: Likewise.
7666 * crypt/sha512-crypt.c: Likewise.
7667 * crypt/sha512.c: Likewise.
7668 * debug/backtrace-tst.c: Likewise.
7669 * debug/pcprofiledump.c: Likewise.
7670 * elf/cache.c: Likewise.
7671 * elf/dl-cache.c: Likewise.
7672 * elf/dl-misc.c: Likewise.
7673 * elf/dl-profile.c: Likewise.
7674 * elf/dl-support.c: Likewise.
7675 * elf/ldconfig.c: Likewise.
7676 * elf/sprof.c: Likewise.
7677 * iconv/dummy-repertoire.c: Likewise.
7678 * iconv/iconv_charmap.c: Likewise.
7679 * iconv/skeleton.c: Likewise.
7680 * iconvdata/8bit-generic.c: Likewise.
7681 * iconvdata/cp737.h: Likewise.
7682 * iconvdata/cp775.h: Likewise.
7683 * iconvdata/ibm1008.h: Likewise.
7684 * iconvdata/ibm1025.h: Likewise.
7685 * iconvdata/ibm1046.h: Likewise.
7686 * iconvdata/ibm1097.h: Likewise.
7687 * iconvdata/ibm1112.h: Likewise.
7688 * iconvdata/ibm1122.h: Likewise.
7689 * iconvdata/ibm1123.h: Likewise.
7690 * iconvdata/ibm1124.h: Likewise.
7691 * iconvdata/ibm1129.h: Likewise.
7692 * iconvdata/ibm1130.h: Likewise.
7693 * iconvdata/ibm1132.h: Likewise.
7694 * iconvdata/ibm1133.h: Likewise.
7695 * iconvdata/ibm1137.h: Likewise.
7696 * iconvdata/ibm1140.h: Likewise.
7697 * iconvdata/ibm1141.h: Likewise.
7698 * iconvdata/ibm1142.h: Likewise.
7699 * iconvdata/ibm1143.h: Likewise.
7700 * iconvdata/ibm1144.h: Likewise.
7701 * iconvdata/ibm1145.h: Likewise.
7702 * iconvdata/ibm1146.h: Likewise.
7703 * iconvdata/ibm1147.h: Likewise.
7704 * iconvdata/ibm1148.h: Likewise.
7705 * iconvdata/ibm1149.h: Likewise.
7706 * iconvdata/ibm1153.h: Likewise.
7707 * iconvdata/ibm1154.h: Likewise.
7708 * iconvdata/ibm1155.h: Likewise.
7709 * iconvdata/ibm1156.h: Likewise.
7710 * iconvdata/ibm1157.h: Likewise.
7711 * iconvdata/ibm1158.h: Likewise.
7712 * iconvdata/ibm1160.h: Likewise.
7713 * iconvdata/ibm1161.h: Likewise.
7714 * iconvdata/ibm1162.h: Likewise.
7715 * iconvdata/ibm1163.h: Likewise.
7716 * iconvdata/ibm1164.h: Likewise.
7717 * iconvdata/ibm1166.h: Likewise.
7718 * iconvdata/ibm1167.h: Likewise.
7719 * iconvdata/ibm12712.h: Likewise.
7720 * iconvdata/ibm1390.h: Likewise.
7721 * iconvdata/ibm1399.h: Likewise.
7722 * iconvdata/ibm16804.h: Likewise.
7723 * iconvdata/ibm4517.h: Likewise.
7724 * iconvdata/ibm4899.h: Likewise.
7725 * iconvdata/ibm4909.h: Likewise.
7726 * iconvdata/ibm4971.h: Likewise.
7727 * iconvdata/ibm5347.h: Likewise.
7728 * iconvdata/ibm803.h: Likewise.
7729 * iconvdata/ibm856.h: Likewise.
7730 * iconvdata/ibm901.h: Likewise.
7731 * iconvdata/ibm902.h: Likewise.
7732 * iconvdata/ibm9030.h: Likewise.
7733 * iconvdata/ibm9066.h: Likewise.
7734 * iconvdata/ibm921.h: Likewise.
7735 * iconvdata/ibm922.h: Likewise.
7736 * iconvdata/ibm9448.h: Likewise.
7737 * iconvdata/isiri-3342.h: Likewise.
7738 * iconvdata/jis0201.h: Likewise.
7739 * include/link.h: Likewise.
7740 * include/netdb.h: Likewise.
7741 * inet/check_native.c: Likewise.
7742 * inet/check_pf.c: Likewise.
7743 * inet/getipv4sourcefilter.c: Likewise.
7744 * inet/getnameinfo.c: Likewise.
7745 * inet/getsourcefilter.c: Likewise.
7746 * inet/htonl.c: Likewise.
7747 * inet/setipv4sourcefilter.c: Likewise.
7748 * inet/setsourcefilter.c: Likewise.
7749 * inet/test-inet6_opt.c: Likewise.
7750 * inet/tst-network.c: Likewise.
7751 * locale/C-collate.c: Likewise.
7752 * locale/C-ctype.c: Likewise.
7753 * locale/C-time.c: Likewise.
7754 * locale/C-translit.h: Likewise.
7755 * locale/loadarchive.c: Likewise.
7756 * locale/programs/3level.h: Likewise.
7757 * locale/programs/charmap.c: Likewise.
7758 * locale/programs/charmap.h: Likewise.
7759 * locale/programs/ld-address.c: Likewise.
7760 * locale/programs/ld-collate.c: Likewise.
7761 * locale/programs/ld-ctype.c: Likewise.
7762 * locale/programs/ld-identification.c: Likewise.
7763 * locale/programs/ld-measurement.c: Likewise.
7764 * locale/programs/ld-messages.c: Likewise.
7765 * locale/programs/ld-monetary.c: Likewise.
7766 * locale/programs/ld-name.c: Likewise.
7767 * locale/programs/ld-numeric.c: Likewise.
7768 * locale/programs/ld-paper.c: Likewise.
7769 * locale/programs/ld-telephone.c: Likewise.
7770 * locale/programs/ld-time.c: Likewise.
7771 * locale/programs/linereader.c: Likewise.
7772 * locale/programs/locale.c: Likewise.
7773 * locale/programs/locarchive.c: Likewise.
7774 * locale/programs/locfile.h: Likewise.
7775 * locale/programs/repertoire.c: Likewise.
7776 * locale/programs/simple-hash.c: Likewise.
7777 * locale/programs/simple-hash.h: Likewise.
7778 * malloc/memusage.c: Likewise.
7779 * malloc/memusagestat.c: Likewise.
7780 * nis/nis_defaults.c: Likewise.
7781 * nis/nis_hash.c: Likewise.
7782 * nis/nis_print.c: Likewise.
7783 * nis/nis_xdr.c: Likewise.
7784 * nscd/connections.c: Likewise.
7785 * nscd/hstcache.c: Likewise.
7786 * nscd/nscd_gethst_r.c: Likewise.
7787 * nscd/nscd_getserv_r.c: Likewise.
7788 * nscd/nscd_helper.c: Likewise.
7789 * nscd/servicescache.c: Likewise.
7790 * nss/makedb.c: Likewise.
7791 * nss/nss_db/db-XXX.c: Likewise.
7792 * nss/nss_db/db-initgroups.c: Likewise.
7793 * nss/nss_db/db-netgrp.c: Likewise.
7794 * nss/nss_files/files-network.c: Likewise.
7795 * nss/nss_files/files-parse.c: Likewise.
7796 * posix/bug-regex5.c: Likewise.
7797 * posix/fnmatch_loop.c: Likewise.
7798 * posix/regcomp.c: Likewise.
7799 * posix/regexec.c: Likewise.
7800 * posix/tst-rfc3484-2.c: Likewise.
7801 * posix/tst-rfc3484-3.c: Likewise.
7802 * posix/tst-rfc3484.c: Likewise.
7803 * resolv/nss_dns/dns-canon.c: Likewise.
7804 * resolv/nss_dns/dns-network.c: Likewise.
7805 * resolv/res_init.c: Likewise.
7806 * resolv/res_mkquery.c: Likewise.
7807 * resolv/tst-aton.c: Likewise.
7808 * stdlib/cxa_atexit.c: Likewise.
7809 * stdlib/cxa_finalize.c: Likewise.
7810 * stdlib/gen-fpioconst.c: Likewise.
7811 * stdlib/strtol_l.c: Likewise.
7812 * string/tst-endian.c: Likewise.
7813 * sunrpc/auth_des.c: Likewise.
7814 * sunrpc/clnt_udp.c: Likewise.
7815 * sunrpc/rtime.c: Likewise.
7816 * sunrpc/svcauth_des.c: Likewise.
7817 * sunrpc/xdr.c: Likewise.
7818 * sunrpc/xdr_intXX_t.c: Likewise.
7819 * sunrpc/xdr_rec.c: Likewise.
7820 * sysdeps/generic/ldconfig.h: Likewise.
7821 * sysdeps/generic/ldsodefs.h: Likewise.
7822 * sysdeps/generic/memusage.h: Likewise.
7823 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7824 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
7825 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
7826 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7827 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7828 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7829 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7830 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7831 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7832 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7833 * sysdeps/posix/getaddrinfo.c: Likewise.
7834 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7835 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7836 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7837 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7838 * sysdeps/powerpc/test-gettimebase.c: Likewise.
7839 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7840 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
7841 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
7842 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7843 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
7844 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7845 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7846 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
7847 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
7848 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
7849 * sysdeps/x86_64/dl-tls.h: Likewise.
7850 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
7851 * time/alt_digit.c: Likewise.
7852 * time/era.c: Likewise.
7853 * wcsmbs/tst-c16c32-1.c: Likewise.
7854
8c75f674
JM
78552013-05-16 Joseph Myers <joseph@codesourcery.com>
7856
7857 * math/libm-test.inc (struct test_sincos_data): New type.
7858 (RUN_TEST_LOOP_sincos): New macro.
7859 (sincos_test_data): New variable.
7860 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
7861
e6e49e59
RH
78622013-05-16 Richard Henderson <rth@redhat.com>
7863
7864 * math/atest-exp2.c (LIMB64): New macro.
7865 (CONSTSZ): New macro.
7866 (mp_exp1, mp_exp_m1, mp_log2): New variables.
7867 (hexdig): Move ...
7868 (print_mpn_fp): ... to function scope.
7869 (read_mpn_hex): Remove.
7870 (get_log2): Remove.
7871 (exp2_mpn): Use mp_log2.
7872 (main): Use mp_exp1.
7873
15c7c18d
JM
78742013-05-16 Joseph Myers <joseph@codesourcery.com>
7875
105a07df
JM
7876 * math/libm-test.inc: Remove comment about not testing "inexact"
7877 exceptions.
7878 (INEXACT_EXCEPTION): New macro.
7879 (NO_INEXACT_EXCEPTION): Likewise.
7880 (INVALID_EXCEPTION_OK): Update value.
7881 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7882 (OVERFLOW_EXCEPTION_OK): Likewise.
7883 (UNDERFLOW_EXCEPTION_OK): Likewise.
7884 (IGNORE_ZERO_INF_SIGN): Likewise.
7885 (ERRNO_UNCHANGED): Likewise.
7886 (ERRNO_EDOM): Likewise.
7887 (ERRNO_ERANGE): Likewise.
7888 (test_exceptions): Handle testing "inexact" exceptions.
7889 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
7890 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
7891 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
7892 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
7893 INEXACT_EXCEPTION.
7894 (rint_towardzero_test_data): Likewise.
7895 (rint_downward_test_data): Likewise.
7896 (rint_upward_test_data): Likewise.
7897
e9eee333
JM
7898 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
7899 with OVERFLOW_EXCEPTION.
7900 (exp10_test_data): Likewise.
7901 (exp2_test_data): Likewise.
7902 (expm1_test_data): Likewise.
7903 (lgamma_test_data): Likewise.
7904 (pow_test_data): Likewise.
7905 (tgamma_test_data): Likewise.
7906 (yn_test_data): Remove duplicate test of overflow.
7907
1c38ff73
JM
7908 * math/libm-test.inc (struct test_cc_c_data): New type.
7909 (RUN_TEST_LOOP_cc_c): New macro.
7910 (cpow_test_data): New variable.
7911 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
7912
15c7c18d
JM
7913 * math/libm-test.inc (struct test_f_L_data): New type.
7914 (RUN_TEST_LOOP_f_L): New macro.
7915 (llrint_test_data): New variable.
7916 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
7917 (llrint_tonearest_test_data): New variable.
7918 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
7919 (llrint_towardzero_test_data): New variable.
7920 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
7921 (llrint_downward_test_data): New variable.
7922 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
7923 (llrint_upward_test_data): New variable.
7924 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
7925 (llround_test_data): New variable.
7926 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
7927
f137ff13
PC
79282013-05-13 Peter Collingbourne <pcc@google.com>
7929
7930 * math/atest-exp2.c (get_log2): Remove const attribute.
7931
3608cb24
JM
79322013-05-15 Joseph Myers <joseph@codesourcery.com>
7933
7934 * math/libm-test.inc (struct test_f_l_data): New type.
7935 (RUN_TEST_LOOP_f_l): New macro.
7936 (lrint_test_data): New variable.
7937 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
7938 (lrint_tonearest_test_data): New variable.
7939 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
7940 (lrint_towardzero_test_data): New variable.
7941 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
7942 (lrint_downward_test_data): New variable.
7943 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
7944 (lrint_upward_test_data): New variable.
7945 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
7946 (lround_test_data): New variable.
7947 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
7948
39b1f617
PC
79492013-05-15 Peter Collingbourne <pcc@google.com>
7950
1deff3dc
PC
7951 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
7952 (EXTRACT_WORDS64) Use where appropriate.
7953 (INSERT_WORDS64) Likewise.
7954
791f3ba0
PC
7955 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
7956 constraints with x constraints.
7957 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
7958
39b1f617
PC
7959 * malloc/obstack.c (_obstack_compat): Add initializer.
7960
12fba011
EM
79612013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
7962
7963 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
7964 si_trapno and add si_addr_lsb to _sifields.sigfault.
7965 (si_trapno): Remove macro.
7966 (si_addr_lsb): Define new macro.
7967 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7968
d369f531
JM
79692013-05-15 Joseph Myers <joseph@codesourcery.com>
7970
b861c6c4
JM
7971 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
7972 instead of TEST_f_l.
7973 (llrint_test_tonearest): Likewise.
7974 (llrint_test_towardzero): Likewise.
7975 (llrint_test_downward): Likewise.
7976 (llrint_test_upward): Likewise.
7977 (llround_test): Likewise.
7978
7abeee12
JM
7979 * math/libm-test.inc (struct test_f_i_data): Add comment.
7980 (RUN_TEST_LOOP_f_b): New macro.
7981 (RUN_TEST_LOOP_f_b_tg): Likewise.
7982 (finite_test_data): New variable.
7983 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
7984 (isfinite_test_data): New variable.
7985 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7986 (isinf_test_data): New variable.
7987 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7988 (isnan_test_data): New variable.
7989 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7990 (isnormal_test_data): New variable.
7991 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7992 (issignaling_test_data): New variable.
7993 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7994 (signbit_test_data): New variable.
7995 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7996
cbe8c4d3
JM
7997 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
7998 with INVALID_EXCEPTION.
7999 (acosh_test_data): Likewise.
8000 (asin_test_data): Likewise.
8001 (atanh_test_data): Likewise.
8002 (fmod_test_data): Likewise.
8003 (log_test_data): Likewise.
8004 (log10_test_data): Likewise.
8005 (log2_test_data): Likewise.
8006 (pow_test_data): Likewise.
8007 (sqrt_test_data): Likewise.
8008 (y0_test_data): Likewise.
8009 (y1_test_data): Likewise.
8010 (yn_test_data): Likewise.
8011
5575c0e5
JM
8012 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
8013 function contents.
8014
d369f531
JM
8015 * math/libm-test.inc (struct test_ff_i_data): New type.
8016 (RUN_TEST_LOOP_ff_i_tg): New macro.
8017 (isgreater_test_data): New variable.
8018 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8019 (isgreaterequal_test_data): New variable.
8020 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8021 (isless_test_data): New variable.
8022 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8023 (islessequal_test_data): New variable.
8024 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8025 (islessgreater_test_data): New variable.
8026 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8027 (isunordered_test_data): New variable.
8028 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8029
781fd748
DM
80302013-05-14 David S. Miller <davem@davemloft.net>
8031
8032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8033
87aa21df
JM
80342013-05-14 Joseph Myers <joseph@codesourcery.com>
8035
5e908270
JM
8036 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
8037
f71172e5
JM
8038 * math/libm-test.inc (struct test_fF_f1_data): Change type of
8039 extra_test to int.
8040 (struct test_f_i_data): Change type of max_ulp to int.
8041
8cfa635a
JM
8042 * math/libm-test.inc (test_ffI_f1_data): New type.
8043 (RUN_TEST_LOOP_ffI_f1): New macro.
8044 (remquo_test_data): New variable.
8045 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
8046
2bcb36b2
JM
8047 * setjmp/tst-setjmp-fp.c: New file.
8048 * setjmp/Makefile (tests): Add tst-setjmp-fp.
8049 (link-libm): New variable.
8050 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
8051
acbd839a
JM
8052 * math/libm-test.inc (struct test_f_i_data): New type.
8053 (RUN_TEST_LOOP_f_i): New macro.
8054 (RUN_TEST_LOOP_f_i_tg): Likewise.
8055 (fpclassify_test_data): New variable.
8056 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
8057 (ilogb_test_data): New variable.
8058 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
8059
e414d745
JM
8060 * math/libm-test.inc (scalbln_test): Correct function name in END
8061 call.
8062
d9c2a0fd
JM
8063 * math/libm-test.inc (struct test_f_f1_data): Add comment.
8064 (RUN_TEST_LOOP_fI_f1): New macro.
8065 (frexp_test_data): New variable.
8066 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
8067
9dc9095d
JM
8068 * math/libm-test.inc (struct test_fF_f1_data): New type.
8069 (RUN_TEST_LOOP_fF_f1): New macro.
8070 (modf_test_data): New variable.
8071 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
8072
87aa21df
JM
8073 * math/libm-test.inc (struct test_f_f1_data): New type.
8074 (RUN_TEST_LOOP_f_f1): New macro.
8075 (gamma_test_data): New variable.
8076 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8077 (lgamma_test_data): New variable.
8078 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8079
141af660
CD
80802013-05-13 Carlos O'Donell <carlos@redhat.com>
8081
8082 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
8083 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
8084 (main): Comment "tls" pseudo-hwcap.
8085
6d33265c
JM
80862013-05-13 Joseph Myers <joseph@codesourcery.com>
8087
68fc074c
JM
8088 * math/libm-test.inc (struct test_fl_f_data): New type.
8089 (RUN_TEST_LOOP_fl_f): New variable.
8090 (scalbln_test_data): New variable.
8091 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
8092
243216e1
JM
8093 * math/libm-test.inc (struct test_fi_f_data): New type.
8094 (RUN_TEST_LOOP_fi_f): New macro.
8095 (ldexp_test_data): New variable.
8096 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
8097 (scalbn_test_data): New variable.
8098 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
8099
6a1992e2
JM
8100 * math/libm-test.inc (struct test_c_f_data): New type.
8101 (RUN_TEST_LOOP_c_f): New macro.
8102 (cabs_test_data): New variable.
8103 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
8104 (carg_test_data): New variable.
8105 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
8106 (cimag_test_data): New variable.
8107 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
8108 (creal_test_data): New variable.
8109 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
8110
0e400df5
JM
8111 * math/libm-test.inc (struct test_if_f_data): New type.
8112 (RUN_TEST_LOOP_if_f): New macro.
8113 (jn_test_data): New variable.
8114 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
8115 (yn_test_data): New variable.
8116 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
8117
6d33265c
JM
8118 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
8119
f98ece5f
AZ
81202013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8121
8122 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
8123 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
8124
0f7d347b
SP
81252013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8126
43fe811b
SP
8127 * benchtests/Makefile (CPPFLAGS-nonlib): Add
8128 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
8129 (bench-deps): Add bench-timing.h.
8130 * benchtests-bench-skeleton.c: Include bench-timing.h.
8131 (main): Use TIMING_* macros instead of clock_gettime.
8132 * benchtests/bench-timing.h: New file.
8133
0f7d347b
SP
8134 [BZ #14582]
8135 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
8136 Renamed from _LIB_VERSION.
8137 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
8138
601a3a5f
JM
81392013-05-12 Joseph Myers <joseph@codesourcery.com>
8140
4f184d30
JM
8141 * math/libm-test.inc (struct test_fff_f_data): New type.
8142 (RUN_TEST_LOOP_fff_f): New macro.
8143 (fma_test_data): New variable.
8144 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
8145 (fma_towardzero_test_data): New variable.
8146 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
8147 (fma_downward_test_data): New variable.
8148 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
8149 (fma_upward_test_data): New variable.
8150 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
8151
08198877
JM
8152 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
8153 (struct test_c_c_data): New type.
8154 (RUN_TEST_LOOP_c_c): New macro.
8155 (cacos_test_data): New variable.
8156 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
8157 (cacosh_test_data): New variable.
8158 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
8159 (casin_test_data): New variable.
8160 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
8161 (casinh_test_data): New variable.
8162 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
8163 (catan_test_data): New variable.
8164 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
8165 (catanh_test_data): New variable.
8166 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
8167 (ccos_test_data): New variable.
8168 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
8169 (ccosh_test_data): New variable.
8170 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
8171 (cexp_test_data): New variable.
8172 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
8173 (clog_test_data): New variable.
8174 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
8175 (clog10_test_data): New variable.
8176 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
8177 (conj_test_data): New variable.
8178 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
8179 (cproj_test_data): New variable.
8180 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
8181 (csin_test_data): New variable.
8182 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
8183 (csinh_test_data): New variable.
8184 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
8185 (csqrt_test_data): New variable.
8186 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
8187 (ctan_test_data): New variable.
8188 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
8189 (ctan_tonearest_test_data): New variable.
8190 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8191 (ctan_towardzero_test_data): New variable.
8192 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8193 (ctan_downward_test_data): New variable.
8194 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8195 (ctan_upward_test_data): New variable.
8196 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8197 (ctanh_test_data): New variable.
8198 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
8199 (ctanh_tonearest_test_data): New variable.
8200 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8201 (ctanh_towardzero_test_data): New variable.
8202 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8203 (ctanh_downward_test_data): New variable.
8204 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8205 (ctanh_upward_test_data): New variable.
8206 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8207 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
8208 of BUILD_COMPLEX.
8209
601a3a5f
JM
8210 * math/libm-test.inc (struct test_ff_f_data): New type.
8211 (struct test_ff_f_data_nexttoward): Likewise.
8212 (RUN_TEST_LOOP_2_f): New macro.
8213 (RUN_TEST_LOOP_ff_f): Likewise.
8214 (atan2_test_data): New variable.
8215 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
8216 (copysign_test_data): New variable.
8217 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
8218 (fdim_test_data): New variable.
8219 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
8220 (fmax_test_data): New variable.
8221 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
8222 (fmin_test_data): New variable.
8223 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
8224 (fmod_test_data): New variable.
8225 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
8226 (hypot_test_data): New variable.
8227 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
8228 (nextafter_test_data): New variable.
8229 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
8230 (nexttoward_test_data): New variable.
8231 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
8232 (pow_test_data): New variable.
8233 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
8234 (pow_tonearest_test_data): New variable.
8235 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
8236 (pow_towardzero_test_data): New variable.
8237 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
8238 (pow_downward_test_data): New variable.
8239 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
8240 (pow_upward_test_data): New variable.
8241 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
8242 (remainder_test_data): New variable.
8243 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
8244 (scalb_test_data): New variable.
8245 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
8246 * sysdeps/i386/fpu/libm-test-ulps: Update.
8247
74c57478
JM
82482013-05-11 Joseph Myers <joseph@codesourcery.com>
8249
8329e4da
JM
8250 * math/libm-test.inc (fma_test): Use max_value instead of local
8251 variable fltmax.
8252 (nextafter_test): Likewise.
8253
74c57478
JM
8254 * math/libm-test.inc (acos_towardzero_test_data): New variable.
8255 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8256 (acos_downward_test_data): New variable.
8257 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8258 (acos_upward_test_data): New variable.
8259 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8260 (acosh_test_data): New variable.
8261 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
8262 (asin_test_data): New variable.
8263 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
8264 (asin_tonearest_test_data): New variable.
8265 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8266 (asin_towardzero_test_data): New variable.
8267 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8268 (asin_downward_test_data): New variable.
8269 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8270 (asin_upward_test_data): New variable.
8271 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8272 (asinh_test_data): New variable.
8273 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
8274 (atan_test_data): New variable.
8275 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
8276 (atanh_test_data): New variable.
8277 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
8278 (cbrt_test_data): New variable.
8279 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
8280 (ceil_test_data): New variable.
8281 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
8282 (cos_test_data): New variable.
8283 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
8284 (cos_tonearest_test_data): New variable.
8285 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8286 (cos_towardzero_test_data): New variable.
8287 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8288 (cos_downward_test_data): New variable.
8289 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8290 (cos_upward_test_data): New variable.
8291 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8292 (cosh_test_data): New variable.
8293 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
8294 (cosh_tonearest_test_data): New variable.
8295 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8296 (cosh_towardzero_test_data): New variable.
8297 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8298 (cosh_downward_test_data): New variable.
8299 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8300 (cosh_upward_test_data): New variable.
8301 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8302 (erf_test_data): New variable.
8303 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
8304 (erfc_test_data): New variable.
8305 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
8306 (exp_test_data): New variable.
8307 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
8308 (exp_tonearest_test_data): New variable.
8309 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8310 (exp_towardzero_test_data): New variable.
8311 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8312 (exp_downward_test_data): New variable.
8313 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8314 (exp_upward_test_data): New variable.
8315 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8316 (exp10_test_data): New variable.
8317 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
8318 (exp2_test_data): New variable.
8319 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
8320 (expm1_test_data): New variable.
8321 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
8322 (fabs_test_data): New variable.
8323 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
8324 (floor_test_data): New variable.
8325 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
8326 (j0_test_data): New variable.
8327 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
8328 (j1_test_data): New variable.
8329 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
8330 (log_test_data): New variable.
8331 (log_test): Run tests with RUN_TEST_LOOP_f_f.
8332 (log10_test_data): New variable.
8333 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
8334 (log1p_test_data): New variable.
8335 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
8336 (log2_test_data): New variable.
8337 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
8338 (logb_test_data): New variable.
8339 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
8340 (logb_downward_test_data): New variable.
8341 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8342 (nearbyint_test_data): New variable.
8343 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
8344 (rint_test_data): New variable.
8345 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
8346 (rint_tonearest_test_data): New variable.
8347 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8348 (rint_towardzero_test_data): New variable.
8349 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8350 (rint_downward_test_data): New variable.
8351 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8352 (rint_upward_test_data): New variable.
8353 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8354 (round_test_data): New variable.
8355 (round_test): Run tests with RUN_TEST_LOOP_f_f.
8356 (sin_test_data): New variable.
8357 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
8358 (sin_tonearest_test_data): New variable.
8359 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8360 (sin_towardzero_test_data): New variable.
8361 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8362 (sin_downward_test_data): New variable.
8363 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8364 (sin_upward_test_data): New variable.
8365 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8366 (sinh_test_data): New variable.
8367 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
8368 (sinh_tonearest_test_data): New variable.
8369 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8370 (sinh_towardzero_test_data): New variable.
8371 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8372 (sinh_downward_test_data): New variable.
8373 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8374 (sinh_upward_test_data): New variable.
8375 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8376 (sqrt_test_data): New variable.
8377 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
8378 (tan_test_data): New variable.
8379 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
8380 (tan_tonearest_test_data): New variable.
8381 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8382 (tan_towardzero_test_data): New variable.
8383 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8384 (tan_downward_test_data): New variable.
8385 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8386 (tan_upward_test_data): New variable.
8387 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8388 (tanh_test_data): New variable.
8389 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
8390 (tgamma_test_data): New variable.
8391 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
8392 (trunc_test_data): New variable.
8393 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
8394 (y0_test_data): New variable.
8395 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
8396 (y1_test_data): New variable.
8397 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
8398 (significand_test_data): New variable.
8399 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
8400
7187d844
CG
84012013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
8402
8403 [BZ #12387]
8404 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
8405
f63fae73
PT
84062013-05-10 Pino Toscano <toscano.pino@tiscali.it>
8407
8408 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
8409
8a67a4b3
AJ
84102013-05-10 Andreas Jaeger <aj@suse.de>
8411
8412 [BZ #15448]
8413 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
8414 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
8415
51df539d
JM
84162013-05-10 Joseph Myers <joseph@codesourcery.com>
8417
8418 * math/gen-libm-test.pl (adjust_arg): New function.
8419 (special_functions): Handle generating output in both functions
8420 and arrays.
8421 (parse_args): Likewise.
8422 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
8423 $in_func argument to parse_args.
8424 * math/libm-test.inc (struct test_f_f_data): New type.
8425 (IF_ROUND_INIT_): New macro.
8426 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
8427 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8428 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8429 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8430 (ROUND_RESTORE_): Likewise.
8431 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
8432 (ROUND_RESTORE_FE_TONEAREST): Likewise.
8433 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
8434 (ROUND_RESTORE_FE_UPWARD): Likewise.
8435 (RUN_TEST_LOOP_f_f): New macro.
8436 (acos_test_data): New variable.
8437 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
8438 (acos_tonearest_test_data): New variable.
8439 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8440
5c637fe5
SP
84412013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8442
8443 * benchtests/bench-skeleton.c (startup): Fix coding style.
8444
ab2b9461
JM
84452013-05-10 Joseph Myers <joseph@codesourcery.com>
8446
8447 [BZ #6809]
8448 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
8449 negative infinity argument.
8450 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
8451 negative infinity argument.
8452 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
8453 negative infinity argument.
8454 * math/libm-test.inc (tgamma_test): Expect errno to be set for
8455 domain errors.
8456
4c0fe6fe
FW
84572013-05-10 Florian Weimer <fweimer@redhat.com>
8458
8459 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
8460 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
8461 * iconv/iconv_prog.c (main): Likewise.
8462 * locale/programs/charmap-dir.c (charmap_readdir)
8463 (fopen_uncompressed): Likewise.
8464 * locale/programs/locfile.c (siblings_uncached)
8465 (write_locale_data): Use lstat64 instead of lstat.
8466 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
8467 stat.
8468
a3375d29
AJ
84692013-05-10 Andreas Jaeger <aj@suse.de>
8470
8471 [BZ #15395]
8472 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
8473 localization.
8474 Include <locale.h>.
8475
36129722
CD
84762013-05-09 Carlos O'Donell <carlos@redhat.com>
8477
8478 * elf/dl-close.c (_dl_close_worker): Add comments.
8479
faa7f811
JM
84802013-05-09 Joseph Myers <joseph@codesourcery.com>
8481
ed41ffef
JM
8482 [BZ #15359]
8483 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
8484 high part of pi/2.
8485 (__ieee754_rem_pio2l): Update comments.
8486
d0213cd0
JM
8487 [BZ #15429]
8488 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
8489 high part of pi/2.
8490 (__ieee754_rem_pio2l): Update comments.
8491
0d3e777a
JM
8492 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
8493 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
8494
24f56066
JM
8495 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
8496 M_PI_4l.
8497
faa7f811
JM
8498 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
8499 (M_PI_34_LOG10El): Likewise.
8500 (M_PI2_LOG10El): Likewise.
8501 (M_PI4_LOG10El): Likewise.
8502 (M_PI_LOG10El): Likewise.
8503
e9a5e0fd
AZ
85042013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8505
8506 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8507
d8cd06db
JM
85082013-05-08 Joseph Myers <joseph@codesourcery.com>
8509
a0d9f9d7
JM
8510 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
8511 (MINUS_ZERO_INIT): Likewise.
8512 (PLUS_INFTY_INIT): Likewise.
8513 (MINUS_INFTY_INIT): Likewise.
8514 (QNAN_VALUE_INIT): Likewise.
8515 (MAX_VALUE_INIT): Likewise.
8516 (MIN_VALUE_INIT): Likewise.
8517 (MIN_SUBNORM_VALUE_INIT): Likewise.
8518 (plus_zero): Initialize with PLUS_ZERO_INIT.
8519 (minus_zero): Initialize with MINUS_ZERO_INIT.
8520 (plus_infty): Initialize with PLUS_INFTY_INIT.
8521 (minus_infty): Initialize with MINUS_INFTY_INIT.
8522 (qnan_value): Initialize with QNAN_VALUE_INIT.
8523 (max_value): Initialize with MAX_VALUE_INIT.
8524 (min_value): Initialize with MIN_VALUE_INIT.
8525 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
8526
ae08db3b
JM
8527 * math/libm-test.inc (RUN_TEST_if_f): New macro.
8528 (jn_test): Use TEST_if_f instead of TEST_ff_f.
8529 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
8530 (yn_test): Use TEST_if_f instead of TEST_ff_f.
8531
f44bf14a
JM
8532 * math/libm-test.inc (RUN_TEST_f_f): New macro.
8533 (RUN_TEST_2_f): Likewise.
8534 (RUN_TEST_ff_f): Likewise.
8535 (RUN_TEST_fi_f): Likewise.
8536 (RUN_TEST_fl_f): Likewise.
8537 (RUN_TEST_fff_f): Likewise.
8538 (RUN_TEST_c_f): Likewise.
8539 (RUN_TEST_f_f1): Likewise.
8540 (RUN_TEST_fF_f1): Likewise.
8541 (RUN_TEST_fI_f1): Likewise.
8542 (RUN_TEST_ffI_f1): Likewise.
8543 (RUN_TEST_c_c): Likewise.
8544 (RUN_TEST_cc_c): Likewise.
8545 (RUN_TEST_f_i): Likewise.
8546 (RUN_TEST_f_i_tg): Likewise.
8547 (RUN_TEST_ff_i_tg): Likewise.
8548 (RUN_TEST_f_b): Likewise.
8549 (RUN_TEST_f_b_tg): Likewise.
8550 (RUN_TEST_f_l): Likewise.
8551 (RUN_TEST_f_L): Likewise.
8552 (RUN_TEST_sincos): Likewise.
8553 * math/gen-libm-test.pl (new_test): Take new argument to indicate
8554 whether to show exceptions. Do not include ");\n" in return
8555 value.
8556 (special_functions): Output call to RUN_TEST_sincos instead of
8557 check_float calls. Update calls to new_test.
8558 (parse_args): Output call to single RUN_TEST_* macro instead of
8559 check_* calls and other assignments. Update calls to new_test.
8560
d8cd06db
JM
8561 [BZ #2546]
8562 [BZ #2560]
8563 [BZ #5159]
8564 [BZ #15426]
8565 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
8566 input to result for tgamma overflow.
8567 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
8568 (gamma_coeff): New variable.
8569 (NCOEFF): New macro.
8570 (gamma_positive): New function.
8571 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
8572 underflow here. Use gamma_positive instead of exp (lgamma) for
8573 other arguments.
8574 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
8575 (gamma_coeff): New variable.
8576 (NCOEFF): New macro.
8577 (gammaf_positive): New function.
8578 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
8579 underflow here. Use gamma_positive instead of exp (lgamma) for
8580 other arguments.
8581 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
8582 (gamma_coeff): New variable.
8583 (NCOEFF): New macro.
8584 (gammal_positive): New function.
8585 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
8586 underflow here. Use gamma_positive instead of exp (lgamma) for
8587 other arguments.
8588 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
8589 (gamma_coeff): New variable.
8590 (NCOEFF): New macro.
8591 (gammal_positive): New function.
8592 (__ieee754_gammal_r): Handle positive infinity, overflow and
8593 underflow here. Handle NaN the same as positive infinity. Remove
8594 check x < 0xffffffff for negative integers. Use gamma_positive
8595 instead of exp (lgamma) for other arguments.
8596 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
8597 (gamma_coeff): New variable.
8598 (NCOEFF): New macro.
8599 (gammal_positive): New function.
8600 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
8601 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
8602 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8603 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
8604 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
8605 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
8606 * sysdeps/generic/math_private.h (__gamma_productf): New
8607 prototype.
8608 (__gamma_product): Likewise.
8609 (__gamma_productl): Likewise.
8610 * math/Makefile (libm-calls): Add gamma_product.
8611 * math/libm-test.inc (tgamma_test): Add more tests.
8612 * sysdeps/i386/fpu/libm-test-ulps: Update.
8613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8614
bb7cf681
OB
86152013-05-08 Ondřej Bílka <neleai@seznam.cz>
8616
8617 * benchtests/bench-skeleton.c (main): Preheat CPU.
8618
ba853947
AJ
86192013-05-07 Aurelien Jarno <aurelien@aurel32.net>
8620
8621 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
8622
8347c74c
RM
86232013-05-07 Roland McGrath <roland@hack.frob.com>
8624
8625 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
8626 and _dl_skip_args_internal.
8627
e8dd4791
CD
86282013-05-07 Carlos O'Donell <carlos@redhat.com>
8629
8630 * manual/message.texi (Message Translation): Talk about users.
8631 Message to key mapping impacts design.
8632
c7405830
RM
86332013-05-06 Roland McGrath <roland@hack.frob.com>
8634
a9173057
RM
8635 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
8636
976e2f03
RM
8637 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
8638
9723ffc5
RM
8639 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
8640 * sysdeps/wordsize-64/glob64.c: ... here.
8641
962e6658
RM
8642 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
8643 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
8644 New macros.
8645
ee586a6d
RM
8646 * debug/getlogin_r_chk.c: Moved to ...
8647 * login/getlogin_r_chk.c: ... here.
8648 * debug/Makefile (routines): Move getlogin_r_chk to ...
8649 * login/Makefile (routines): ... here.
8650 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
8651 * login/Versions (libc: GLIBC_2.4): ... here.
8652
355f9165
RM
8653 * io/poll.c (__poll): Renamed from poll.
8654 Add libc_hidden_def.
8655 (poll): Define as weak alias.
8656
bd9ffde6
RM
8657 * debug/ptsname_r_chk.c: Moved to ...
8658 * login/ptsname_r_chk.c: ... here.
8659 * debug/Makefile (routines): Move ptsname_r_chk to ...
8660 * login/Makefile (routines): ... here.
8661 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
8662 * login/Versions (libc: GLIBC_2.4): ... here.
8663
8fb16a04
RM
8664 * posix/getlogin.c: Moved to ...
8665 * login/getlogin.c: ... here.
8666 * posix/getlogin_r.c: Moved to ...
8667 * login/getlogin_r.c: ... here.
8668 * posix/getlogin_r.c: Moved to ...
8669 * login/getlogin_r.c: ... here.
8670 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
8671 * login/Makefile (routines): ... here.
8672 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
8673 * login/Versions (libc: GLIBC_2.0): ... here.
8674
b99b892f
RM
8675 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
8676 (setrlimit): Define as weak alias.
8677
c7405830
RM
8678 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
8679 Call __ names for open, ftruncate, and close.
8680 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
8681 (truncate): Define as weak alias.
8682
5bf96de5
JM
86832013-05-06 Joseph Myers <joseph@codesourcery.com>
8684
9ea3513c
JM
8685 * math/gen-libm-test.pl (parse_args): Initialize x before each
8686 test of frexp, modf and remquo.
8687
5bf96de5
JM
8688 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
8689 test signgam value.
8690
16e616a7
AZ
86912013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8692
8693 [BZ #15418]
8694 [BZ #15419]
8695 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
8696 internal tests.
8697 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8698
d5e82754
RM
86992013-05-06 Roland McGrath <roland@hack.frob.com>
8700
8701 * elf/dl-writev.h: New file.
8702 * elf/dl-misc.c: Include it.
8703 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
8704 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
8705
a7548d41
JM
87062013-05-04 Joseph Myers <joseph@codesourcery.com>
8707
b7dab1e4
JM
8708 * math/libm-test.inc (noXFails): Remove variable.
8709 (noXPasses): Likewise.
8710 (BUILD_COMPLEX_INT): Remove macro.
8711 (print_screen): Remove xfail argument.
8712 (print_screen_max_error): Likewise.
8713 (update_stats): Likewise.
8714 (print_max_error): Likewise. Update calls to other affected
8715 functions.
8716 (print_complex_max_error): Likewise.
8717 (test_single_exception): Update calls to print_screen.
8718 (test_single_errno): Likewise.
8719 (check_float_internal): Remove xfail argument. Update calls to
8720 other affected functions.
8721 (check_float): Likewise.
8722 (check_complex): Likewise.
8723 (check_int): Likewise.
8724 (check_long): Likewise.
8725 (check_bool): Likewise.
8726 (check_longlong): Likewise.
8727 (main): Don't print noXFails and noXPasses.
8728 * math/gen-libm-test.pl (top level): Don't mention expected
8729 failure handling in comment.
8730 (new_test): Don't handle expected failures.
8731 (parse_args): Don't mention expected failure handling in comment.
8732 (generate_testfile): Don't handle expected failures.
8733 (parse_ulps): Likewise.
8734 (print_ulps_file): Likewise.
8735 (get_failure): Remove function.
8736 (output_test): Don't handle expected failures.
8737 * make/README.libm-test: Don't mention expected failure handling.
8738
a7548d41
JM
8739 * math/libm-test.inc (plus_zero): Make const. Add initializer.
8740 (minus_zero): Likewise.
8741 (plus_infty): Likewise.
8742 (minus_infty): Likewise.
8743 (qnan_value): Likewise.
8744 (max_value): Likewise.
8745 (min_value): Likewise.
8746 (min_subnorm_value): Likewise.
8747 (initialize): Do not initialize those variables dynamically.
8748
60bfd54c
RM
87492013-05-03 Roland McGrath <roland@hack.frob.com>
8750
cc0e6ed8
RM
8751 * io/open.c (__open_2): Moved to ...
8752 * io/open_2.c: ... this new file.
8753 * io/open64.c (__open64_2): Moved to ...
8754 * io/open64_2.c: ... this new file.
8755 * io/openat.c (__openat_2): Moved to ...
8756 * io/openat_2.c: ... this new file.
8757 * io/openat64.c (__openat64_2): Moved to ...
8758 * io/openat64_2.c: ... this new file.
8759 * io/Makefile (routines): Add them.
8760 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
8761 * sysdeps/unix/sysv/linux/open_2.c: File removed.
8762 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
8763 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
8764 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
8765 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
8766 (__openat64): Add hidden_ver.
8767 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
8768 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
8769
60bfd54c
RM
8770 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
8771 Separately conditionalize setting of GLRO(dl_sysinfo) so
8772 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
8773 as well, but the actual setting is only under [NEED_DL_SYSINFO].
8774
83e7640f
AZ
87752013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8776
8777 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
8778 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
8779 definition.
8780 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
8781 * sysdeps/unix/sysv/linux/powerpc/init-first.c
8782 (_libc_vdso_platform_setup): Add __vdso_time initialization.
8783 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
8784 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
8785
d5dc2af3
JM
87862013-05-03 Joseph Myers <joseph@codesourcery.com>
8787
c31a5b1e
JM
8788 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
8789 test signgam value.
8790
d5dc2af3
JM
8791 * math/libm-test.inc (hypot_test): Do not use
8792 IGNORE_ZERO_INF_SIGN.
8793
164fd39d
AJ
87942013-05-03 Andreas Jaeger <aj@suse.de>
8795
8796 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
8797 Linux 3.9.
8798 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
8799 (PF_MAX): Adjust for VSOCK change.
8800
8237f48c
AZ
88012013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8802
8803 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8804
9df02941
CD
88052013-05-02 Carlos O'Donell <carlos@redhat.com>
8806
8807 [BZ #15264]
8808 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
8809 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
8810 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
8811
d422395e
DM
88122013-05-02 David S. Miller <davem@davemloft.net>
8813
8814 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8815
a07c5731
OB
88162013-05-01 Ondřej Bílka <neleai@seznam.cz>
8817
8818 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
8819
1324e37f
RM
88202013-05-01 Roland McGrath <roland@hack.frob.com>
8821
8822 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
8823
0695940b
RS
88242013-05-01 Richard Smith <richard@metafoo.co.uk>
8825
bb5f27ad 8826 [BZ #14952]
0695940b
RS
8827 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
8828 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8829 Use __attribute__ ((__gnu_inline__)).
8830 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8831 Don't use __attribute__ ((__gnu_inline__)).
8832
10de07f5
JM
88332013-05-01 Joseph Myers <joseph@codesourcery.com>
8834
8835 [BZ #15423]
8836 * math/s_catan.c (__catan): Handle small real or imaginary part of
8837 input specially to avoid spurious underflow.
8838 * math/s_catanf.c (__catanf): Likewise.
8839 * math/s_catanh.c (__catanh): Likewise.
8840 * math/s_catanhf.c (__catanhf): Likewise.
8841 * math/s_catanhl.c (__catanhl): Likewise.
8842 * math/s_catanl.c (__catanl): Likewise.
8843 * math/libm-test.inc (catan_test): Add more tests.
8844 (catanh_test): Likewise.
8845 * sysdeps/i386/fpu/libm-test-ulps: Update.
8846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8847
cb4d5414
AZ
88482013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8849
8850 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8851
caf84319
JM
88522013-04-30 Joseph Myers <joseph@codesourcery.com>
8853
8854 [BZ #15416]
8855 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
8856 accurately for denominator in atan2.
8857 * math/s_catanf.c (__catanf): Likewise.
8858 * math/s_catanh.c (__catanh): Likewise.
8859 * math/s_catanhf.c (__catanhf): Likewise.
8860 * math/s_catanhl.c (__catanhl): Likewise.
8861 * math/s_catanl.c (__catanl): Likewise.
8862 * math/libm-test.inc (catan_test): Add more tests.
8863 (catanh_test): Likewise.
8864 * sysdeps/i386/fpu/libm-test-ulps: Update.
8865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8866
d569c6ee
SP
88672013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8868
6dbe713d
SP
8869 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
8870
f0ee064b
SP
8871 * benchtests/Makefile (bench): Remove slow benchmarks.
8872 * benchtests/atan-inputs: Add slow benchmark inputs.
8873 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
8874 (BENCH_FUNC): Accept variant offset.
8875 (VARIANT): Define.
8876 * benchtests/bench-skeleton.c (main): Run benchmark for each
8877 variant.
8878 * benchtests/cos-inputs: Add slow benchmark inputs.
8879 * benchtests/exp-inputs: Likewise.
8880 * benchtests/pow-inputs: Likewise.
8881 * benchtests/sin-inputs: Likewise.
8882 * benchtests/slowatan-inputs: Remove.
8883 * benchtests/slowatan.c: Remove.
8884 * benchtests/slowcos-inputs: Remove.
8885 * benchtests/slowcos.c: Remove.
8886 * benchtests/slowexp-inputs: Remove.
8887 * benchtests/slowexp.c: Remove.
8888 * benchtests/slowpow-inputs: Remove.
8889 * benchtests/slowpow.c: Remove.
8890 * benchtests/slowsin-inputs: Remove.
8891 * benchtests/slowsin.c: Remove.
8892 * benchtests/slowtan-inputs: Remove.
8893 * benchtests/slowtan.c: Remove.
8894 * benchtests/tan-inputs: Add slow benchmark inputs.
8895 * scripts/bench.pl: Parse comments and directives.
8896
d569c6ee
SP
8897 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
8898 in CPPFLAGS.
8899 ($(objpfx)bench-%.c): Remove *-ITER.
8900 * benchtests/bench-modf.c: Remove definition of ITER.
8901 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
8902 (main): Loop for DURATION seconds instead of fixed number of
8903 iterations.
8904 * scripts/bench.pl: Don't expect iterations in parameters.
8905
a6a242fe
RM
89062013-04-29 Roland McGrath <roland@hack.frob.com>
8907
8908 * io/fchdir.c (__fchdir): Renamed from fchdir.
8909 (fchdir): Define as weak alias.
8910
f2da7793
JM
89112013-04-29 Joseph Myers <joseph@codesourcery.com>
8912
8913 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
8914 (ERRNO_EDOM): Likewise.
8915 (ERRNO_ERANGE): Likewise.
8916 (noErrnoTests): New variable.
8917 (init_max_error): Set errno to 0.
8918 (test_single_errno): New function.
8919 (test_errno): Likewise.
8920 (check_float_internal): Call test_errno. Set errno to 0.
8921 (check_complex): Refer to errno tests in comment.
8922 (check_int): Call test_errno. Set errno to 0.
8923 (check_long): Likewise.
8924 (check_bool): Likewise.
8925 (check_longlong): Likewise.
8926 (cos_test): Use ERRNO_* flags for errno tests instead of
8927 check_int.
8928 (expm1_test): Likewise.
8929 (fmod_test): Likewise.
8930 (ilogb_test): Likewise.
8931 (lgamma_test): Likewise.
8932 (pow_test): Likewise.
8933 (remainder_test): Likewise.
8934 (sin_test): Likewise.
8935 (tan_test): Likewise.
8936 (yn_test): Likewise.
8937 (initialize): Set errno to 0.
8938 (main): Print number of errno tests.
8939 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
8940
b1a36ceb
AJ
89412013-04-29 Andreas Jaeger <aj@suse.de>
8942
c3ed8088
AJ
8943 [BZ #15084]
8944 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
8945 and RES_USEVC.
8946
f1a24198
AJ
8947 [BZ #15085]
8948 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
8949 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
8950 unimplemented.
8951
9ce3b2cb
AJ
8952 [BZ #15380]
8953 * stdlib/random.c (__initstate): Return NULL if
8954 __initstate fails.
8955
f1a24198 8956 [BZ #15086]
b1a36ceb
AJ
8957 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
8958 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
8959 RES_SNGLKUPREOP.
8960
7e7b6f36
AZ
89612013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8962
8963 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8964
4d14f449
JM
89652013-04-29 Joseph Myers <joseph@codesourcery.com>
8966
8967 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
8968 of individual tests.
8969 (casin_test): Likewise.
8970 (casinh_test): Likewise.
8971
5b4217d7
JM
89722013-04-27 Joseph Myers <joseph@codesourcery.com>
8973
8974 [BZ #15409]
8975 * math/s_catan.c (__catan): Handle arguments with large real or
8976 imaginary part separately without squaring.
8977 * math/s_catanf.c (__catanf): Likewise.
8978 * math/s_catanh.c (__catanh): Likewise.
8979 * math/s_catanhf.c (__catanhf): Likewise.
8980 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8981 and redefine.
8982 (__catanhl): Handle arguments with large real or imaginary part
8983 separately without squaring.
8984 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8985 and redefine.
8986 (__catanl): Handle arguments with large real or imaginary part
8987 separately without squaring.
8988 * math/libm-test.inc (catan_test): Add more tests.
8989 (catanh_test): Likewise.
8990 * sysdeps/i386/fpu/libm-test-ulps: Update.
8991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8992
4220c3ef
AJ
89932013-04-27 Andreas Jaeger <aj@suse.de>
8994
8995 [BZ #15007]
8996 * stdlib/stdlib.h: Update guards for qecvt.
8997 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
8998 <stdlib.h>.
8999
4721b2d1
AM
90002013-04-27 Allan McRae <allan@archlinux.org>
9001
9002 * sysdeps/i386/fpu/libm-test-ulps: Update.
9003
f0302940
JM
90042013-04-26 Joseph Myers <joseph@codesourcery.com>
9005
9457fd95
JM
9006 [BZ #15406]
9007 * math/s_catan.c: Include <float.h>.
9008 (__catan): Ensure underflow exception occurs for underflowed
9009 result.
9010 * math/s_catanf.c: Include <float.h>.
9011 (__catanf): Ensure underflow exception occurs for underflowed
9012 result.
9013 * math/s_catanh.c: Include <float.h>.
9014 (__catanh): Ensure underflow exception occurs for underflowed
9015 result.
9016 * math/s_catanhf.c: Include <float.h>.
9017 (__catanhf): Ensure underflow exception occurs for underflowed
9018 result.
9019 * math/s_catanhl.c: Include <float.h>.
9020 (__catanhl): Ensure underflow exception occurs for underflowed
9021 result.
9022 * math/s_catanl.c: Include <float.h>.
9023 (__catanl): Ensure underflow exception occurs for underflowed
9024 result.
9025 * math/libm-test.inc (catan_test): Add more tests.
9026 (catanh_test): Likewise.
9027
f0302940
JM
9028 [BZ #15405]
9029 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
9030 underflowed result.
9031 * math/s_ccoshf.c (__ccoshf): Likewise.
9032 * math/s_ccoshl.c (__ccoshl): Likewise.
9033 * math/s_csin.c (__csin): Likewise.
9034 * math/s_csinf.c (__csinf): Likewise.
9035 * math/s_csinh.c (__csinh): Likewise.
9036 * math/s_csinhf.c (__csinhf): Likewise.
9037 * math/s_csinhl.c (__csinhl): Likewise.
9038 * math/s_csinl.c (__csinl): Likewise.
9039 * math/libm-test.inc (ccos_test): Add more tests.
9040 (ccosh_test): Likewise.
9041 (csin_test): Likewise.
9042 (csinh_test): Likewise.
9043
aa630f59
AZ
90442013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9045
9046 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
9047 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
9048 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
9049 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
9050 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
9051 powerpc/power5+/fpu folders.
9052 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
9053
9054
1b835983
MT
90552013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
9056
9057 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9058
73709b26
JM
90592013-04-25 Joseph Myers <joseph@codesourcery.com>
9060
9061 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
9062 additions to variable.
9063 [$(config-machine) = x86_64] (modules-names): Likewise.
9064 ($(objpfx)tst-audit3): Remove dependency.
9065 ($(objpfx)tst-audit3.out): Likewise.
9066 ($(objpfx)tst-audit4): Likewise.
9067 ($(objpfx)tst-audit4.out): Likewise.
9068 ($(objpfx)tst-audit5): Likewise.
9069 ($(objpfx)tst-audit5.out): Likewise.
9070 ($(objpfx)tst-audit6): Likewise.
9071 ($(objpfx)tst-audit6.out): Likewise.
9072 ($(objpfx)tst-audit7): Likewise.
9073 ($(objpfx)tst-audit7.out): Likewise.
9074 (tst-audit3-ENV): Remove variable.
9075 (tst-audit4-ENV): Likewise.
9076 (tst-audit5-ENV): Likewise.
9077 (tst-audit6-ENV): Likewise.
9078 (tst-audit7-ENV): Likewise.
9079 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
9080 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
9081 addition to variable.
9082 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
9083 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
9084 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
9085 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
9086 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
9087 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
9088 tst-audit3, tst-audit4 and tst-audit5.
9089 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
9090 tst-audit6 and tst-audit7.
9091 [$(subdir) = elf] (modules-names): Add audit modules for those
9092 tests.
9093 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
9094 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
9095 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
9096 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
9097 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
9098 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
9099 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
9100 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
9101 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
9102 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
9103 [$(subdir) = elf] (tst-audit3-ENV): New variable.
9104 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
9105 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
9106 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
9107 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
9108 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
9109 Likewise.
9110 [$(subdir) = elf && $(config-cflags-avx) = yes]
9111 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
9112 [$(subdir) = elf && $(config-cflags-avx) = yes]
9113 (CFLAGS-tst-auditmod4a.c): Likewise.
9114 [$(subdir) = elf && $(config-cflags-avx) = yes]
9115 (CFLAGS-tst-auditmod4b.c): Likewise.
9116 [$(subdir) = elf && $(config-cflags-avx) = yes]
9117 (CFLAGS-tst-auditmod6b.c): Likewise.
9118 [$(subdir) = elf && $(config-cflags-avx) = yes]
9119 (CFLAGS-tst-auditmod6c.c): Likewise.
9120 [$(subdir) = elf && $(config-cflags-avx) = yes]
9121 (CFLAGS-tst-auditmod7b.c): Likewise.
9122 * elf/tst-audit3.c: Move to ...
9123 * sysdeps/x86_64/tst-audit3.c: ... here.
9124 * elf/tst-audit4.c: Move to ...
9125 * sysdeps/x86_64/tst-audit4.c: ... here.
9126 * elf/tst-audit5.c: Move to ...
9127 * sysdeps/x86_64/tst-audit5.c: ... here.
9128 * elf/tst-audit6.c: Move to ...
9129 * sysdeps/x86_64/tst-audit6.c: ... here.
9130 * elf/tst-audit7.c: Move to ...
9131 * sysdeps/x86_64/tst-audit7.c: ... here.
9132 * elf/tst-auditmod3a.c: Move to ...
9133 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
9134 * elf/tst-auditmod3b.c: Move to ...
9135 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
9136 * elf/tst-auditmod4a.c: Move to ...
9137 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
9138 * elf/tst-auditmod4b.c: Move to ...
9139 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
9140 * elf/tst-auditmod5a.c: Move to ...
9141 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
9142 * elf/tst-auditmod5b.c: Move to ...
9143 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
9144 * elf/tst-auditmod6a.c: Move to ...
9145 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
9146 * elf/tst-auditmod6b.c: Move to ...
9147 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
9148 * elf/tst-auditmod6c.c: Move to ...
9149 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
9150 * elf/tst-auditmod7a.c: Move to ...
9151 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
9152 * elf/tst-auditmod7b.c: Move to ...
9153 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
9154
1ef74943
PP
91552013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
9156
9157 [BZ #15366]
9158 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
9159 define unconditionally.
9160 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
9161 define unconditionally.
9162 (INT8_C, INT16_C, etc.): Likewise.
9163
93fd48c5
MR
91642013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
9165
ae9552cf
MR
9166 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
9167 __ehdr_start with hidden visibility.
9168
93fd48c5
MR
9169 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
9170
418601aa
CD
91712013-04-24 Carlos O'Donell <carlos@redhat.com>
9172
9173 * math/libm-test.inc (cos_test): Use accurate hex constants.
9174 (sincost_test): Likewise.
9175
2f38fbfe
JM
91762013-04-24 Joseph Myers <joseph@codesourcery.com>
9177
5e221800
JM
9178 * math/libm-test.inc (catan_test): Add more tests.
9179 (catanh_test): Likewise.
9180
77f143fd
JM
9181 * math/s_catanf.c (__catanf): Use suffixed floating-point
9182 constants.
9183 * math/s_catanhf.c (__catanhf): Likewise.
9184 * math/s_catanhl.c (__catanhl): Likewise.
9185 * math/s_catanl.c (__catanl): Likewise.
9186
2f38fbfe
JM
9187 [BZ #15394]
9188 * math/s_catan.c (__catan): Calculate imaginary part of result
9189 with log1p not log unless computing log of number close to 0.
9190 * math/s_catanf.c (__catanf): Likewise.
9191 * math/s_catanl.c (__catanl): Likewise.
9192 * math/s_catanh.c (__catanh): Calculate real part of result with
9193 log1p not log unless computing log of number close to 0.
9194 * math/s_catanhf.c (__catanhf): Likewise.
9195 * math/s_catanhl.c (__catanhl): Likewise.
9196 * math/libm-test.inc (catan_test): Add more tests.
9197 (catanh_test): Likewise.
9198 * sysdeps/i386/fpu/libm-test-ulps: Update.
9199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9200
45d69176
SP
92012013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9202
9203 * benchtests/Makefile: Mention files in which fast and slow
9204 paths of math functions are implemented.
9205
87f51853
RM
92062013-04-23 Roland McGrath <roland@hack.frob.com>
9207
9208 * sysdeps/posix/timespec_get.c: New file.
9209
3c026539
AZ
92102013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9211
9212 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
9213 POWER.
9214 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
9215 for POWER.
9216 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
9217 powerpc/power5/fpu folders.
9218 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
9219 * benchtests/Makefile: Add modf testcase.
9220 * benchtests/bench-modf.c: New file: Benchmark test for mo
9221
ff491d14
SP
92222013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9223
9224 [BZ #14888]
9225 * time/Makefile (tests): Add tst-strptime-whitespace.
9226 * time/strptime_l.c (get_number): Use ISSPACE.
9227 (__strptime_internal): Likewise.
9228 * time/tst-strptime-whitespace.c: New test case.
9229
7ed3f4e8
AS
92302013-04-23 Andreas Schwab <schwab@linux-m68k.org>
9231
9232 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
9233 member.
9234 (_nss_files_init): Set it here.
9235
5c95f7b6
HC
92362013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
9237
9238 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
9239 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
9240 unsigned.
9241
d34c9158
JBG
92422013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
9243
9244 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
9245
2169712d
SP
92462013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9247
9248 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
9249 size just once.
9250
29c5de99
DM
92512013-04-21 David S. Miller <davem@davemloft.net>
9252
9253 * po/ru.po: Update Russion translation from translation project.
9254
ccdad15d
AC
92552013-04-17 Adam Conrad <adconrad@0c3.net>
9256
9257 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
9258 and setfsgid.
9259
0f122b8d
CD
92602013-04-17 Carlos O'Donell <carlos@redhat.com>
9261
5c5b07da 9262 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 9263 * configure: Regenerate.
5c5b07da 9264 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
9265 Add example to error message.
9266 * sysdeps/i386/configure: Regenerate.
9267
037714dd
SP
92682013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9269
9270 * benchtests/Makefile (bench): Add cos, tan, slowcos and
9271 slowtan.
9272 * benchtests/cos-inputs: New file.
9273 * benchtests/slowcos-inputs: New file.
9274 * benchtests/slowcos.c: New file.
9275 * benchtests/slowtan-inputs: New file.
9276 * benchtests/slowtan.c: New file.
9277 * benchtests/tan-inputs: New file.
9278
e913141d
RM
92792013-04-16 Roland McGrath <roland@hack.frob.com>
9280
9281 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
9282 considered kosher.
9283
a2964074
SP
92842013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9285
4856bcd2
SP
9286 * benchtests/Makefile: Include cppflags-iterator.mk to add
9287 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
9288
a2964074
SP
9289 * Makefile.in (bench-clean): New target.
9290 * benchtests/Makefile (bench-clean): Likewise.
9291
9fbf9aca
DH
92922013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
9293
9294 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
9295
207d1e2a
TS
92962013-04-15 Thomas Schwinge <thomas@codesourcery.com>
9297
9298 * stdio-common/tstdiomisc.c: Fix coding-style violation.
9299
306dfba9
AS
93002013-04-15 Andreas Schwab <schwab@suse.de>
9301
9302 * nscd/grpcache.c (cache_addgr): Properly check for short write.
9303 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9304 * nscd/pwdcache.c (cache_addpw): Likewise.
9305 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
9306 more than recsize.
9307
206a6699
SP
93082013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9309
9310 * benchtests/Makefile (bench): Write all output to
9311 bench-out.tmp together.
9312
0582f6b3
AS
93132013-04-15 Andreas Schwab <schwab@suse.de>
9314
9315 * nscd/nscd.c (main): Don't fork again after closing files.
9316
acb4325f
SP
93172013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9318
5cb26d0a
SP
9319 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
9320
acb4325f
SP
9321 * benchtests/Rules (bench-deps): Collect dependencies into a
9322 single variable. Add Makefile to dependencies.
9323 ($(objpfx)bench-%.c): Depend on bench-deps.
9324
47792506
RM
93252013-04-12 Roland McGrath <roland@hack.frob.com>
9326 Xavier Roche <roche+kml2@exalead.com>
9327
9328 [BZ #15361]
9329 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
9330 just that it's a file descriptor.
9331 * manual/llio.texi (Synchronizing AIO Operations): Update description
9332 for EBADF error from aio_fsync.
9333
8fc1bee5
SP
93342013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9335
9336 * Rules (bench): Move target definition...
9337 * benchtests/Makefile: ... here.
9338
aba5e333
CD
93392013-04-11 Carlos O'Donell <carlos@redhat.com>
9340
9341 * math/libm-test.inc (cos_test): Fix PI/2 test.
9342 (sincos_test): Likewise.
9343 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9344 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9345
273cdee8
AS
93462013-04-11 Andreas Schwab <schwab@suse.de>
9347
6ecec3b6
AS
9348 [BZ #13988]
9349 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
9350 accept exponent character only when digits were seen.
9351 * stdio-common/Makefile (tests): Add bug26.
9352 * stdio-common/bug26.c: New file.
9353
273cdee8
AS
9354 [BZ #14293]
9355 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
9356 non-freeable.
9357
8da491f5
SP
93582013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9359
01dc6df9
SP
9360 * Makeconfig (rtld-prefix): Define built linker prefix.
9361 * Rules (run-bench): Use it.
9362 * math/Makefile (run-regen-ulps): Likewise.
9363
8da491f5
SP
9364 * Rules (bench): Remove eval.
9365
abe7f530
SP
93662013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9367 Roland McGrath <roland@hack.frob.com>
9368 Ondrej Bilka <neleai@seznam.cz>
9369
9370 [BZ #15346]
9371 * time/getdate.c: Include ctype.h and alloca.h.
9372 (__getdate_r): Trim leading and trailing spaces of input.
9373 * time/tst-getdate.c (tests): Add tests with leading and
9374 trailing spaces.
9375
61c23e62
RM
93762013-04-08 Roland McGrath <roland@hack.frob.com>
9377
9378 [BZ #14280]
9379 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
9380 when computing value.
9381
7208a313
CD
93822013-04-06 Carlos O'Donell <carlos@redhat.com>
9383
085b2d41
CD
9384 * math/README.libm-test (How can I generate "libm-test-ulps"?):
9385 Use testrun.sh to run libm tests.
9386
7208a313
CD
9387 [BZ #15309]
9388 * elf/dl-open.c (dl_open_worker): memset all of seen array.
9389
872c0acd
MM
93902013-04-06 Marko Myllynen <myllynen@redhat.com>
9391
9392 [BZ #15264]
9393 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
9394
26510bdd
CD
93952013-04-06 Carlos O'Donell <carlos@redhat.com>
9396
9397 * Makefile.in (regen-ulps): New target.
9398 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
9399 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
9400 [ifneq (no,$(PERL)] (regen-ulps): New target.
9401 [ifeq (no,$(PERL)] (regen-ulps): New target.
9402 * math/libm-test.inc (ulps_file_name): Define.
9403 (output_dir): New variable.
9404 (options): Add "output-dir" option.
9405 (parse_opt): Handle 'o' case.
9406 (main): If output_dir is non-NULL use it as a prefix
9407 otherwise use "".
9408 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
9409
a01f19c8
CD
94102013-04-06 Carlos O'Donell <carlos@redhat.com>
9411
9412 [BZ #10060, #10062]
9413 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
9414 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
9415 fail configure if __sync_val_compare_and_swap is not inlined.
9416 * sysdeps/i386/configure: Regenerate.
9417 * configure.in: Build for i686 when configured for i386.
9418 * configure: Regenerate.
9419 * README: Remove i386 reference.
9420
b7a329a5
CD
94212013-04-06 Carlos O'Donell <carlos@redhat.com>
9422
9423 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
9424 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9425
bf0f50df
TS
94262013-04-05 Thomas Schwinge <thomas@codesourcery.com>
9427
ee091edf
TS
9428 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
9429 (lmsnanval): New variables.
9430 (F): Add conversion tests.
9431 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
9432 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
9433
a8b792d6
TS
9434 * stdio-common/tstdiomisc.c (F): Properly collect individual
9435 tests' results.
9436
a1cbf437
TS
9437 [BZ #14686, #15336]
9438 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
9439 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
9440 Instead, use input NaN values or generate a qNaN by arithmetic
9441 operation. Also fix bugs to comply with the standard.
9442 * math/libm-test.inc (remainder_test): Add more tests.
9443
8b43a0c9
TS
9444 [BZ #15335, #15342]
9445 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
9446 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
9447 input NaN values or generate a qNaN by arithmetic operation.
9448
d91da4ce
TS
9449 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
9450 unreachable code.
9451
bf0f50df
TS
9452 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
9453 definitions.
9454
05e166c8
JM
94552013-04-03 Joseph Myers <joseph@codesourcery.com>
9456
9457 [BZ #14478]
9458 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
9459 underflowed result.
9460 * math/s_cexpf.c (__cexpf): Likewise.
9461 * math/s_cexpl.c (__cexpl): Likewise.
9462 * math/libm-test.inc (cexp_test): Add more tests.
9463
1cef1b19
AS
94642013-04-03 Andreas Schwab <schwab@suse.de>
9465
9466 [BZ #15330]
9467 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
9468 order arrays from heap if bigger than alloca cutoff.
9469
74d87055
TS
94702013-04-03 Thomas Schwinge <thomas@codesourcery.com>
9471
9472 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
9473 (SNAN_TESTS_double): Refer to GCC PR56831.
9474 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
9475 GCC PR56828.
9476
d755bba4
SP
94772013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9478
90d5d5bb
SP
9479 * Rules (bench): Move bench.out after the run is complete.
9480
73e0cd5d
SP
9481 * Rules (bench): Echo currently running benchmark.
9482
64aabd4b
SP
9483 * benchtests/Makefile (bench): Add atan and slowatan.
9484 * benchtests/atan-inputs: New file.
9485 * benchtests/slowatan-inputs: New file.
9486 * benchtests/slowatan.c: New file.
9487
c871eccd
SP
9488 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
9489 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
9490 its value.
9491
d755bba4
SP
9492 [BZ #15305]
9493 * sysdeps/unix/sysv/linux/kernel-features.h
9494 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
9495 __ASSUME_XFS_RESTRICTED_CHOWN.
9496 * sysdeps/unix/sysv/linux/pathconf.c
9497 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9498 Save and restore errno.
9499
52ce4860
JM
95002013-04-02 Joseph Myers <joseph@codesourcery.com>
9501
9502 [BZ #15327]
9503 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
9504 arguments using __kernel_casinh.
9505 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
9506 arguments using __kernel_casinhf.
9507 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
9508 arguments using __kernel_casinhl.
9509 * math/libm-test.inc (cacosh_test): Add more tests.
9510 * sysdeps/i386/fpu/libm-test-ulps: Update.
9511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9512
81f311c2
SP
95132013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9514
e7906a47
SP
9515 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
9516 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
9517
92e3664b
SP
9518 * bench/Makefile (bench): Add sin and slowsin.
9519 * benchtests/sin-inputs: New file.
9520 * benchtests/slowsin-inputs: New file.
9521 * benchtests/slowsin.c: New file.
9522
81f311c2
SP
9523 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
9524 (bench): Add slowexp and slowpow.
9525 (exp-ITER): Increase iterations.
9526 (pow-ITER): Likewise.
9527 * benchtests/exp-inputs: Change input.
9528 * benchtests/pow-inputs: Likewise.
9529 * benchtests/slowexp-inputs: New file.
9530 * benchtests/slowexp.c: New file.
9531 * benchtests/slowpow-inputs: New file.
9532 * benchtests/slowpow.c: New file.
9533
ab0f1aa9
AZ
95342013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9535
9536 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
9537 instructions.
9538 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9539 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
9540 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9541 * benchtests/Makefile: Add rint benchtest.
9542 * benchtests/rint-inputs: Input for rint benchtest.
9543
57267616
TS
95442013-04-02 Thomas Schwinge <thomas@codesourcery.com>
9545
9546 * Versions.def (libm): Add GLIBC_2.18.
9547 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
9548 hidden libm prototypes.
9549 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
9550 * math/Makefile (libm-calls): Add s_issignaling.
9551 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
9552 __issignalingf, __issignalingl. Adjust all libm.abilist files.
9553 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
9554 declaration.
9555 * math/math.h [__USE_GNU] (issignaling): New macro.
9556 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
9557 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
9558 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
9559 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
9560 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
9561 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
9562 * manual/arith.texi (issignaling): New section.
9563 * manual/libm-err-tab.pl (@all_functions): Update comment.
9564 * math/gen-libm-test.pl (parse_args): Apply special handling for
9565 issignaling.
9566 * math/libm-test.inc (print_float, issignaling_test): New
9567 functions.
9568 (check_float_internal): Add issignaling checks.
9569 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
9570 default definition.
9571 * sysdeps/powerpc/math-tests.h: New file.
9572 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
9573 tests.
9574 * math/test-snan.c (TEST_FUNC): Likewise.
9575
6142896d
DM
95762013-03-30 David S. Miller <davem@davemloft.net>
9577
9578 * po/de.po: Update from translation team.
9579
ccc8cadf
JM
95802013-03-30 Joseph Myers <joseph@codesourcery.com>
9581
9582 [BZ #10357]
9583 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9584 imaginary part less than 1.0 and real part less than 0.5
9585 specially.
9586 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9587 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9588 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
9589 (cacos_test): Add more tests.
9590 (casin_test): Likewise.
9591 (casinh_test): Likewise.
9592 * sysdeps/i386/fpu/libm-test-ulps: Update.
9593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9594
0f6a8d4b
SP
95952013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9596
0d1029de
SP
9597 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
9598 ONE with its value.
9599
c2d94018
SP
9600 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
9601 (__pow_mp): Replace ONE and MONE with their values.
9602 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9603 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
9604 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9605 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
9606 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9607 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9608
27ec37f1
SP
9609 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
9610
a64d7e0e
SP
9611 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
9612 (__pow_mp): Replace ZERO and MZERO with their values.
9613 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9614 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9615 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9616 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9617 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9618 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
9619 (__sqr): Likewise.
9620
d26dd3eb
SP
9621 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
9622
0f6a8d4b
SP
9623 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
9624
e57b0c61
RM
96252013-03-28 Roland McGrath <roland@hack.frob.com>
9626
9627 * include/stdlib.h [!SHARED] (__call_tls_dtors):
9628 Declare with __attribute__ ((weak)).
9629 * stdlib/exit.c (__libc_atexit) [!SHARED]:
9630 Call __call_tls_dtors only if it's not NULL.
9631
356b3480
RM
96322013-03-28 Roland McGrath <roland@hack.frob.com>
9633
288f7d79
RM
9634 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
9635 didn't do it already, then set _dl_phdr and _dl_phnum based on the
9636 magic __ehdr_start linker symbol if it's defined.
9637 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
9638 them up here if it was already done.
9639
dc0a0263
RM
9640 * elf/dl-support.c (_dl_phdr): Make pointer to const.
9641 (_dl_aux_init): Use const in cast when setting it.
9642 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
9643 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
9644 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
9645
3d3436ae
RM
9646 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
9647 Declare them here.
9648 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
9649 * csu/libc-tls.c: Nor here.
9650 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
9651
356b3480
RM
9652 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
9653 (__libc_message): Never call vsyslog.
9654
b0f1246a
AM
96552013-03-28 Alan Modra <amodra@gmail.com>
9656
9657 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
9658 Define as empty.
9659 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
9660 Likewise.
9661
fbbe2b9a
AZ
96622013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9663
9664 [BZ #15214]
9665 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
9666 underflow.
9667 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9668
1728ab37
SP
96692013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9670
7a86be6e
SP
9671 [BZ #15304]
9672 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9673 Don't add gid passed as argument.
9674
1728ab37
SP
9675 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
9676
3a7182a1
JM
96772013-03-27 Joseph Myers <joseph@codesourcery.com>
9678
9679 [BZ #15307]
9680 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9681 imaginary part between 1.0 and 1.5 and real part less than 0.5
9682 specially.
9683 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9684 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9685 * math/libm-test.inc (cacos_test): Add more tests.
9686 (casin_test): Likewise.
9687 (casinh_test): Likewise.
9688 * sysdeps/i386/fpu/libm-test-ulps: Update.
9689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9690
6f2e90e7
SP
96912013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9692
5739f705
SP
9693 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
9694 constants.
9695 (norm): Likewise.
9696 (denorm): Likewise.
9697 (__dbl_mp): Likewise.
9698 (add_magnitudes): Likewise.
9699 (sub_magnitudes): Likewise.
9700 (__add): Likewise.
9701 (__sub): Likewise.
9702 (__mul): Likewise.
9703 (__sqr): Likewise.
9704 (__inv): Likewise.
9705 (__dvd): Likewise.
9706
e375e83d
SP
9707 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
9708 commented code.
9709 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
9710 (__dubcos): Likewise.
9711 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
9712 (__ieee754_acos): Likewise.
9713 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9714 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
9715 (__exp1): Likewise.
9716 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9717 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9718 (log1): Likewise.
9719 (my_log2): Likewise.
9720 (checkint): Likewise.
9721 * sysdeps/ieee754/dbl-64/e_remainder.c
9722 (__ieee754_remainder): Likewise.
9723 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9724 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
9725 (bsloww): Likewise.
9726 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9727
6f2e90e7
SP
9728 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9729 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
9730 MANTISSA_STORE_T to store computations on mantissa. Use
9731 macros for rounding and division.
9732 (denorm): Likewise.
9733 (__dbl_mp): Likewise.
9734 (add_magnitudes): Likewise.
9735 (sub_magnitudes): Likewise.
9736 (__mul): Likewise.
9737 (__sqr): Likewise.
9738 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
9739 powers of two in terms of TWOPOW macro.
9740 (mp_no): Make type of mantissa as MANTISSA_T.
9741 [!RADIXI]: Define RADIXI.
9742 [!TWO52]: Define TWO52.
9743 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9744
fce14d4e
AZ
97452013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9746
9747 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
9748 llroundl symbol when building for PPC32.
9749
9ad027fb
MW
97502013-03-24 Mark H Weaver <mhw@netris.org>
9751
9752 * manual/arith.texi (Normalization Functions): Fix prototypes for
9753 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
9754
e42a38dd
AZ
97552013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9756
9757 [BZ #13889]
9758 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
9759 high value to check if expl overflow.
9760 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
9761 to check for underflow and overflow.
9762 * math/libm-test.inc: Add exp test.
9763
2e0fb521
DL
97642013-03-21 Dmitry V. Levin <ldv@altlinux.org>
9765
9766 [BZ #11120]
9767 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
9768 with NOT_IN_libc.
9769
b5784d95
AZ
97702013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9771
9772 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
9773 symbol.
9774
5aa4a1a1
TS
97752013-03-21 Thomas Schwinge <thomas@codesourcery.com>
9776
bdef0be7
TS
9777 * math/gen-libm-test.pl (parse_args, special_functions): Properly
9778 wrap blocks consisting of several statements.
9779
5aa4a1a1
TS
9780 * sysdeps/generic/math-tests.h: New file.
9781 * sysdeps/i386/fpu/math-tests.h: Likewise.
9782 * math/test-snan.c: Include it.
9783 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
9784
98c48fe5
JM
97852013-03-21 Joseph Myers <joseph@codesourcery.com>
9786
9787 [BZ #15285]
9788 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
9789 (__ieee754_j0l): Do not improve calculations using cos of twice
9790 input for inputs above LDBL_MAX / 2.0L.
9791 (__ieee754_y0l): Likewise.
9792 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
9793 (__ieee754_j1l): Do not improve calculations using cos of twice
9794 input for inputs above LDBL_MAX / 2.0L.
9795 (__ieee754_y1l): Likewise.
9796 * math/libm-test.inc (j0_test): Add another test.
9797 (j1_test): Likewise.
9798 (y0_test): Likewise.
9799 (y1_test): Likewise.
9800 * sysdeps/i386/fpu/libm-test-ulps: Update.
9801
3775a8bc
SP
98022013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9803
9804 * Rules ($(objpfx)bench-%.c): Include code from a C source
9805 file.
9806
0a1b2ae6
JM
98072013-03-21 Joseph Myers <joseph@codesourcery.com>
9808
9809 [BZ #15287]
9810 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9811 imaginary part 1.0 and real part less than 0.5 specially.
9812 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9813 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9814 * math/libm-test.inc (cacos_test): Add more tests.
9815 (casin_test): Likewise.
9816 (casinh_test): Likewise.
9817 * sysdeps/i386/fpu/libm-test-ulps: Update.
9818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9819
b33d4ce4
SP
98202013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9821
9822 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
9823 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
9824
bef0b507
JM
98252013-03-20 Joseph Myers <joseph@codesourcery.com>
9826
9827 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
9828 * config.make.in (config-cflags-sse4): Remove variable.
9829 (config-cflags-avx): Likewise.
9830 (config-cflags-sse2avx): Likewise.
9831 (config-cflags-novzeroupper): Likewise.
9832 (config-asflags-i686): Likewise.
9833 (have-mfma4): Likewise.
9834 (have-as-vis3): Likewise.
9835 (MIG): Likewise.
9836 * configure.in (MIG): Do not AC_SUBST.
9837 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
9838 (libc_cv_cc_sse4): Do not AC_SUBST.
9839 (libc_cv_cc_avx): Likewise.
9840 (libc_cv_cc_sse2avx): Likewise.
9841 (libc_cv_cc_novzeroupper): Likewise.
9842 (libc_cv_cc_fma4): Likewise.
9843 (libc_cv_as_i686): Likewise.
9844 (libc_cv_sparc_as_vis3): Likewise.
9845 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
9846 LIBC_CONFIG_VAR.
9847 (config-asflags-i686): Likewise.
9848 (config-cflags-avx): Likewise.
9849 (config-cflags-sse2avx): Likewise.
9850 (have-mfma4): Likewise.
9851 (config-cflags-novzeroupper): Likewise.
9852 * sysdeps/mach/configure.in (MIG): Likewise.
9853 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
9854 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
9855 LIBC_CONFIG_VAR.
9856 (config-cflags-avx): Likewise.
9857 (config-cflags-sse2avx): Likewise.
9858 (have-mfma4): Likewise.
9859 (config-cflags-novzeroupper): Likewise.
9860 * configure: Regenerated.
9861 * sysdeps/i386/configure: Likewise.
9862 * sysdeps/mach/configure: Likewise.
9863 * sysdeps/sparc/configure: Likewise.
9864 * sysdeps/x86_64/configure: Likewise.
9865
912cc4b3
RM
98662013-03-20 Roland McGrath <roland@hack.frob.com>
9867
9868 [BZ #14812]
9869 * locale/programs/localedef.c (options): Put N_ translation marker
9870 on argument names, not just descriptions.
9871
04eed2b0
MS
98722013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9873
9874 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
9875
a065ceff
OB
98762013-03-20 Ondřej Bílka <neleai@seznam.cz>
9877
9bb2a810 9878 [BZ #14176]
a065ceff
OB
9879 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
9880
a600e5ce
RM
98812013-03-19 Roland McGrath <roland@hack.frob.com>
9882
9883 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
9884 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
9885 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
9886 [!BEFORE_ABORT] (before_abort): New function.
9887 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
9888 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
9889 (writev_for_fatal): New function.
9890 (WRITEV_FOR_FATAL): New macro; call that.
9891 (backtrace_and_maps): New function.
9892 (BEFORE_ABORT): New macro; call that.
9893 (struct str_list): Type removed.
9894 (__libc_message, __libc_fatal): Functions removed.
9895 Include <sysdeps/posix/libc_fatal.c> instead.
9896
6b18bea6
JM
98972013-03-19 Joseph Myers <joseph@codesourcery.com>
9898
9899 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
9900 constants.
9901 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
9902 double constants.
9903
aaa8cb4b
AS
99042013-03-19 Andreas Schwab <schwab@suse.de>
9905
44673770
AS
9906 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
9907 * sysdeps/gnu/configure: Regenerate.
9908
aaa8cb4b
AS
9909 * configure.in: Substitute libc_cv_rtlddir.
9910 * configure: Regenerate.
9911 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
9912 * Makeconfig (rtlddir, inst_rtlddir): New variables.
9913 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
9914 * elf/Makefile (install-others, CFLAGS-interp.c)
9915 (ldso_install, common-ldd-rewrite): Likewise.
9916 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
9917 $(inst_slibdir)/$(rtld-installed-name).
9918 * scripts/rellns-sh: Add -p option.
9919 * Makerules (make-shlib-link): Use rellns-sh to get relative name
9920 for source.
9921
d3cfc668
SP
99222013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9923
9924 * manual/nptl.texi: Renamed to ...
9925 * manual/threads.texi: ... this.
9926 * manual/Makefile (chapters): Update.
9927
0e2b9cdd
RM
99282013-03-18 Roland McGrath <roland@hack.frob.com>
9929
9930 [BZ #14812]
9931 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
9932 on argument names, not just descriptions.
0e2b9cdd
RM
9933 * malloc/memusagestat.c (options): Likewise.
9934 * nss/getent.c (options): Likewise.
63270c24
RM
9935
99362013-03-18 Benno Schulenberg <bensberg@justemail.net>
9937
9938 [BZ #14812]
9939 * iconv/iconv_prog.c (options): Put N_ translation marker
9940 on argument names, not just descriptions.
9941 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 9942
b2e1393c
OB
99432013-03-18 Ondrej Bilka <neleai@seznam.cz>
9944
9945 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
9946 implementation which is faster on all x86_64 architectures.
9947 Tested on AMD, Intel Nehalem, SNB, IVB.
9948 * sysdeps/x86_64/strnlen.S: Likewise.
9949
9950 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9951 Remove all multiarch strlen and strnlen versions.
9952 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9953 Remove strlen and strnlen related parts.
9954
9955 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
9956 Inline strlen part.
9957 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9958
9959 * sysdeps/x86_64/multiarch/strlen.S: Remove.
9960 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
9961 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
9962 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
9963 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
9964 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
9965
ec4ff04d
CD
99662013-03-17 Carlos O'Donell <carlos@redhat.com>
9967
9968 * manual/memory.texi (Malloc Tunable Parameters):
9969 Sort parameters alphabetically. Add comments for missing entries.
9970
cd18e90a
DM
99712013-03-17 David S. Miller <davem@davemloft.net>
9972
9973 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9974
2a185d32
JM
99752013-03-16 Joseph Myers <joseph@codesourcery.com>
9976
d2f9799e
JM
9977 [BZ #15283]
9978 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
9979 for arguments at most half maximum finite value.
9980 * math/libm-test.inc (j0_test): Add more tests.
9981 (j1_test): Likewise.
9982 (y0_test): Likewise.
9983 (y1_test): Likewise.
9984 * sysdeps/i386/fpu/libm-test-ulps: Update.
9985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9986
2a185d32
JM
9987 [BZ #14155]
9988 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
9989 1 / x and functions P and Q for arguments above 0x1p256L.
9990 (__ieee754_y0l): Likewise.
9991 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
9992 (__ieee754_y1l): Likewise.
9993 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
9994 (j1_test): Likewise.
9995 (y0_test): Likewise.
9996 (y1_test): Likewise.
9997
6cbec759
TS
99982013-03-16 Thomas Schwinge <thomas@codesourcery.com>
9999
10000 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
10001 variable.
10002
bc16e260
RM
100032013-03-15 Roland McGrath <roland@hack.frob.com>
10004
aefc9b8c
RM
10005 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
10006 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
10007 zero since it's initialized to EXEC_PAGESIZE.
10008
bc16e260
RM
10009 * sysdeps/unix/sysv/linux/ldsodefs.h
10010 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
10011 * sysdeps/generic/ldsodefs.h: ... here.
10012
a57da955
TS
100132013-03-15 Thomas Schwinge <thomas@codesourcery.com>
10014
af00a34d
TS
10015 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
10016
495ded2c
TS
10017 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
10018 math/test-snan.c.
10019 * math/test-snan.c: Renamed from
10020 sysdeps/powerpc/fpu/test-powerpc-snan.c.
10021 * math/Makefile (tests): Add test-snan.
10022 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
10023 test-powerpc-snan.
10024
777b0332
TS
10025 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
10026 SUFFIX. Initialize qNaN_var with __builtin_nan family of
10027 functions.
10028 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
10029 __builtin_nan family of functions.
10030 * math/libm-test.inc (initialize): Initialize qnan_value with
10031 __builtin_nan family of functions.
10032 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
10033 Remove variables.
10034 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
10035 Remove functions.
10036 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
10037 storage class. Initialize qNaN_var and sNaN_var with
10038 __builtin_nan and __builtin_nans families of functions,
10039 respectively.
10040
64d063b8
TS
10041 * math/libm-test.inc (acosh_test): Also test with qNaN input.
10042 (sqrt_test): Remove duplicate test with qNaN input.
10043 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
10044 (round_test, signbit_test, significand_test): Note missing +/-Inf
10045 as well as qNaN tests.
10046
67e971f1
TS
10047 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
10048 qNaN_var. Fix a few strings, too.
10049 * math/libm-test.inc (nan_value): Rename to qnan_value.
10050 * math/gen-libm-test.pl (%beautify): Adjust to that.
10051 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
10052 * math/test-misc.c (main): Likewise.
10053 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
10054 to __qnan_bytes, and __qnan_union, respectively.
10055 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
10056 Likewise.
10057 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
10058 and lqnanval, respectively.
10059 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
10060 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
10061 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
10062 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
10063
64487e12
TS
10064 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
10065 * math/test-misc.c (main) [__x86_64__]: Enable test for long
10066 doubles.
10067
e015e27b
TS
10068 * math/test-misc.c (main): Fix copy'n'pastos.
10069 * misc/tst-efgcvt.c (special): Likewise.
10070
a57da955
TS
10071 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
10072 Remove declarations.
10073
1e380345
SP
100742013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10075
10076 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
10077 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
10078 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
10079 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
10080
ef26eece
AZ
100812013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10082
10083 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
10084 macro to return vdso values correctly in IFUNC implementations.
10085 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10086 Optimization by using IFUNC.
10087
8cfdb7e0
SP
100882013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10089 Richard Henderson <rth@redhat.com>
10090 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10091
10092 * Makefile.in (bench): New target.
10093 * NEWS: Mention the benchmark framework.
10094 * Rules (bench): Likewise.
10095 (binaries-bench): Generate binaries for functions to
10096 benchmark.
10097 * benchtests/Makefile: New makefile for benchmark tests.
10098 * benchtests/bench-skeleton.c: New skeleton file for benchmark
10099 programs.
10100 * benchtests/exp-inputs: New input file for EXP function.
10101 * benchtests/pow-inputs: New input file for POW function.
10102 * scripts/bench.pl: New script to generate source files for
10103 benchmark programs.
10104
bcda9880
SP
101052013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10106
d22ca8cd
SP
10107 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10108 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
10109 computations on mantissa. Use macros for rounding and
10110 division.
10111 (denorm): Likewise.
10112 (__dbl_mp): Likewise.
10113 (add_magnitudes): Likewise.
10114 (sub_magnitudes): Likewise.
10115 (__mul): Likewise.
10116 (__sqr): Likewise.
10117 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10118 powers of two in terms of TWOPOW macro.
10119 (mp_no): Make type of mantissa as MANTISSA_T.
10120 [!RADIXI]: Define RADIXI.
10121 [!TWO52]: Define TWO52.
10122 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10123
bcda9880
SP
10124 * manual/nptl.texi (cindex): Modify threads to pthreads.
10125
06d5adfb
JM
101262013-03-15 Joseph Myers <joseph@codesourcery.com>
10127
10128 * sysdeps/x86_64/preconfigure: Regenerated.
10129
41c7328e
JM
101302013-03-14 Joseph Myers <joseph@codesourcery.com>
10131
10132 [BZ #14155]
10133 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
10134 0x1p28 and above.
10135 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
10136 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
10137 0x1p28 and above.
10138 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
10139 * math/libm-test.inc (j0_test): Do not allow one spurious
10140 underflow exception.
10141 (y1_test): Likewise.
10142
e25cfa60
SP
101432013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10144
0409959c
SP
10145 * manual/Makefile (chapters): Add nptl.
10146 * manual/debug.texi (Debugging Support): Add link to Threads
10147 chapter.
10148 * manual/nptl.texi: New file.
10149
e25cfa60
SP
10150 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
10151
58a1335e
PB
101522013-03-14 Petr Baudis <pasky@ucw.cz>
10153
10154 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
10155 for non-NULL pointer before the memory validity test. Pointed
10156 out by Holger Brunck <holger.brunck@keymile.com>.
10157
9dc7c64f
AS
101582013-03-13 Andreas Schwab <schwab@suse.de>
10159
10160 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
10161 instead of .os.
10162
54206aa6
JM
101632013-03-13 Joseph Myers <joseph@codesourcery.com>
10164
10165 * timezone/zic.c: Update from tzcode 2013b.
10166
e98cdb38
CD
101672013-03-12 Carlos O'Donell <carlos@redhat.com>
10168
10169 * manual/install.texi (Configuring and compiling):
10170 Mention i686 and i586.
10171 * INSTALL: Regenerate.
10172
9967e003
RM
101732013-03-12 Roland McGrath <roland@hack.frob.com>
10174
10175 * sysdeps/init_array/elf-init.c: New file.
10176 * csu/elf-init.c
10177 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
10178 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
10179
10180 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
10181 __gmon_start__ as global, but as static with a .preinit_array pointer.
10182 * sysdeps/init_array/gmon-start.c: New file. Use that.
10183 * sysdeps/init_array/crti.S: New file, empty except for comments.
10184 * sysdeps/init_array/crtn.S: Likewise.
10185
e6b5a293 101862013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
10187
10188 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
10189 definining bcopy.
80f844c9
OB
10190 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10191 Remove Prefer_SSE_for_memop.
10192 * sysdeps/x86_64/multiarch/init-arch.h: Remove
10193 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
10194 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
10195 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10196 memset-x86-64.
80f844c9 10197 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 10198 Remove bzero, memset ifunc support.
80f844c9
OB
10199 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
10200 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
10201 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10202 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10203
fb6b0fcb
AS
102042013-03-11 Andreas Schwab <schwab@suse.de>
10205
10206 [BZ #15234]
10207 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
10208 by SHLIB_COMPAT.
10209 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
10210 (GLIBC_2.16): Remove pthread_atfork.
10211
3e6bd4b1
PP
102122013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
10213
10214 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
10215 (ptestcases.h): Likewise.
10216
222d7f00
RM
102172013-03-08 Roland McGrath <roland@hack.frob.com>
10218
10219 * Makeconfig ($(common-objpfx)config.status): Depend on
10220 sysdeps/*/preconfigure{,.in} too.
10221
1ba4f030
JM
102222013-03-08 Joseph Myers <joseph@codesourcery.com>
10223
a222d91a
JM
10224 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
10225 (__free_hook): Use void * instead of __malloc_ptr_t.
10226 (__malloc_hook): Likewise.
10227 (__realloc_hook): Likewise.
10228 (__memalign_hook): Likewise.
10229 (__after_morecore_hook): Likewise.
10230 * malloc/arena.c (save_malloc_hook): Likewise.
10231 (save_free_hook): Likewise.
10232 * malloc/hooks.c (malloc_hook_ini): Likewise.
10233 (realloc_hook_ini): Likewise.
10234 (memalign_hook_ini): Likewise.
10235 * malloc/malloc.c (malloc_hook_ini): Likewise.
10236 (realloc_hook_ini): Likewise.
10237 (memalign_hook_ini): Likewise.
10238 (__free_hook): Likewise.
10239 (__malloc_hook): Likewise.
10240 (__realloc_hook): Likewise.
10241 (__memalign_hook): Likewise.
10242 (__libc_malloc): Likewise.
10243 (__libc_free): Likewise.
10244 (__libc_realloc): Likewise.
10245 (__libc_memalign): Likewise.
10246 (__libc_valloc): Likewise.
10247 (__libc_pvalloc): Likewise.
10248 (__libc_calloc): Likewise.
10249 (__posix_memalign): Likewise.
10250 * malloc/morecore.c (__sbrk): Likewise.
10251 (__default_morecore): Likewise.
10252
5cc45e10
JM
10253 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
10254
dd54b864
JM
10255 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
10256 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
10257 __malloc_ptrdiff_t.
10258
1ba4f030
JM
10259 * malloc/malloc.h (__malloc_size_t): Remove macro.
10260 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
10261 __malloc_size_t.
10262 (old_memalign_hook): Likewise.
10263 (old_realloc_hook): Likewise.
10264 (struct hdr): Likewise.
10265 (flood): Likewise.
10266 (mallochook): Likewise.
10267 (memalignhook): Likewise.
10268 (reallochook): Likewise.
10269 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
10270 (tr_old_realloc_hook): Likewise.
10271 (tr_old_memalign_hook): Likewise.
10272 (tr_mallochook): Likewise.
10273 (tr_reallochook): Likewise.
10274 (tr_memalignhook): Likewise.
10275
edf66e57
AZ
102762013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10277
10278 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
10279 default_ldbl_pack and using as default implementation.
10280 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
10281 implementation.
10282 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
10283 redundant definition.
10284 (ldbl_insert_mantissa): Likewise.
10285 (ldbl_canonicalize): Likewise.
10286 (ldbl_nearbyint): Likewise.
10287 (ldbl_pack): Rename to ldbl_pack_ppc.
10288 (ldbl_unpack): Rename to ldbl_unpack_ppc.
10289 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
10290 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
10291
6d9145d8
SP
102922013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10293
10294 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
10295 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
10296 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
10297 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
10298 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
10299 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
10300 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
10301 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
10302
4dd4e157
AJ
103032013-03-07 Andreas Jaeger <aj@suse.de>
10304
10305 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10306 bits/mman-linux.h.
10307
adbb8027
SP
103082013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10309
ce544b5b
SP
10310 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
10311 Include mpa.h and declare __MPEXP.
10312 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
10313 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10314 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10315 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
10316 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10317 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10318 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
10319
4cc149fd
SP
10320 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
10321 (__slowpow): Use long double EXPL and LOGL functions to
10322 compute POW.
10323 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10324 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10325 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
10326 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10327 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10328 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
10329
e6ebd4a7
SP
10330 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
10331 intermediate variable to calculate exponent.
10332 (__sqr): Likewise.
10333 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10334 Likewise.
10335 (__sqr): Likewise.
10336
82a9811d
SP
10337 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
10338 [!NO__SQR]: Define __sqr.
10339 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
10340 and NO__SQR. Remove all code except __mul and __sqr. Include
10341 sysdeps/ieee754/dbl-64/mpa.c.
10342 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10343
adbb8027
SP
10344 [BZ #12723]
10345 * posix/Makefile (tests): Add tst-pathconf.
10346 * posix/tst-pathconf.c: New test case.
10347 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
10348 _PC_PIPE_BUF.
10349 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
10350
39120df9
PF
103512013-03-06 Patsy Franklin <pfrankli@redhat.com>
10352
10353 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
10354
67525cb8
AJ
103552013-03-06 Andreas Jaeger <aj@suse.de>
10356
664a9ce4
AJ
10357 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
10358 definition via __MAP_ANONYMOUS.
10359
8e39047d
AJ
10360 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
10361 it's not part of Linux headers.
10362
67525cb8
AJ
10363 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
10364 (MAP_HUGE_MASK): Define.
10365
10366 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10367 Define.
10368 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10369 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10370 Define.
10371 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10372 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10373 Define.
10374 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10375 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
10376 Define.
10377 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10378
10379 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
10380 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
10381 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
10382 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
10383 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
10384 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
10385
10386 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10387 Handle f2fs.
10388
10389 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10390 Handle f2fs and efivarfs.
10391
10392 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
10393 f2fs.
10394
10395 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
10396 (EFIVARFS_MAGIC): Add.
10397 (F2FS_LINK_MAX): Add.
10398
e1b42695
PP
103992013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10400
10401 * stdio-common/vfprintf.c: Replace __builtin_expect with
10402 __glibc_unlikely.
10403
2d67d91a
JM
104042013-03-06 Joseph Myers <joseph@codesourcery.com>
10405
10406 [BZ #13550]
10407 * sysdeps/generic/bp-sym.h: Remove file.
10408 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
10409 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
10410 <bp-sym.h> and <bp-asm.h>.
10411 (__longjmp): Don't use BP_SYM.
10412 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
10413 and <bp-asm.h>.
10414 (memcpy): Don't use BP_SYM.
10415 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
10416 <bp-sym.h> and <bp-asm.h>.
10417 (memcpy): Don't use BP_SYM.
10418 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
10419 <bp-asm.h>.
10420 (memcpy): Don't use BP_SYM.
10421 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
10422 <bp-asm.h>.
10423 (memset): Don't use BP_SYM.
10424 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10425 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10426 (__bzero): Don't use BP_SYM.
10427 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10428 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10429 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
10430 <bp-sym.h> and <bp-asm.h>.
10431 (memcmp): Don't use BP_SYM. Remove comment about bounded
10432 pointers.
10433 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
10434 <bp-sym.h> and <bp-asm.h>.
10435 (memcpy): Don't use BP_SYM.
10436 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
10437 <bp-sym.h> and <bp-asm.h>.
10438 (memset): Don't use BP_SYM.
10439 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10440 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10441 (__bzero): Don't use BP_SYM.
10442 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10443 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10444 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
10445 <bp-sym.h> and <bp-asm.h>.
10446 (strncmp): Don't use BP_SYM. Remove comment about bounded
10447 pointers.
10448 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
10449 <bp-sym.h> and <bp-asm.h>.
10450 (memcpy): Don't use BP_SYM.
10451 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
10452 <bp-sym.h> and <bp-asm.h>.
10453 (memset): Don't use BP_SYM.
10454 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10455 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10456 (__bzero): Don't use BP_SYM.
10457 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10458 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10459 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
10460 <bp-sym.h> and <bp-asm.h>.
10461 (__memchr): Don't use BP_SYM.
10462 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
10463 <bp-sym.h> and <bp-asm.h>.
10464 (memcmp): Don't use BP_SYM. Remove comment about bounded
10465 pointers.
10466 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
10467 <bp-sym.h> and <bp-asm.h>.
10468 (memcpy): Don't use BP_SYM.
10469 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
10470 <bp-sym.h> and <bp-asm.h>.
10471 (__mempcpy): Don't use BP_SYM.
10472 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
10473 <bp-sym.h> and <bp-asm.h>.
10474 (__memrchr): Don't use BP_SYM.
10475 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
10476 <bp-sym.h> and <bp-asm.h>.
10477 (memset): Don't use BP_SYM.
10478 (__bzero): Likewise.
10479 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
10480 <bp-sym.h> and <bp-asm.h>.
10481 (__rawmemchr): Don't use BP_SYM.
10482 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
10483 <bp-sym.h> and <bp-asm.h>.
10484 (__STRCMP): Don't use BP_SYM.
10485 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
10486 <bp-sym.h> and <bp-asm.h>.
10487 (strchr): Don't use BP_SYM.
10488 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
10489 <bp-sym.h> and <bp-asm.h>.
10490 (__strchrnul): Don't use BP_SYM.
10491 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
10492 <bp-sym.h> and <bp-asm.h>.
10493 (strlen): Don't use BP_SYM.
10494 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
10495 <bp-sym.h> and <bp-asm.h>.
10496 (strncmp): Don't use BP_SYM. Remove comment about bounded
10497 pointers.
10498 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
10499 <bp-sym.h> and <bp-asm.h>.
10500 (__strnlen): Don't use BP_SYM.
10501 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
10502 <bp-sym.h> and <bp-asm.h>.
10503 (__GI__setjmp): Don't use BP_SYM.
10504 (_setjmp): Likewise.
10505 (__sigsetjmp): Likewise.
10506 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
10507 (L(start_addresses)): Don't use BP_SYM.
10508 (_start): Likewise.
10509 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
10510 <bp-asm.h>.
10511 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
10512 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
10513 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10514 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10515 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
10516 <bp-asm.h>.
10517 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
10518 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
10519 about bounded pointers.
10520 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10521 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10522 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
10523 <bp-asm.h>.
10524 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
10525 about bounded pointers. Remove GKM FIXME comments.
10526 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10527 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
10528 <bp-asm.h>.
10529 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
10530 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
10531 Remove GKM FIXME comments.
10532 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10533 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10534 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
10535 <bp-asm.h>.
10536 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
10537 about bounded pointers. Remove GKM FIXME comment.
10538 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
10539 and <bp-asm.h>.
10540 (strncmp): Don't use BP_SYM. Remove comment about bounded
10541 pointers.
10542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
10543 <bp-sym.h> and <bp-asm.h>.
10544 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
10546 <bp-sym.h> and <bp-asm.h>.
10547 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
10548 comment.
10549
cdcf361f
PP
105502013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10551
10552 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
10553 call free(NULL).
10554
3c4a2b15
DM
105552013-03-05 David S. Miller <davem@davemloft.net>
10556
10557 * po/es.po: Update from translation team.
10558
cdcf361f 105592013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
10560
10561 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
10562 <bits/mman-linux.h>.
10563 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10564 is fine.
10565 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
10566 <bits/mman-linux.h> to end of file.
10567 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10568 is fine.
10569 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
10570 <bits/mman-linux.h> to end of file.
10571 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10572 is fine.
10573 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
10574 <bits/mman-linux.h> to end of file.
10575
10576 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
10577 (MCL_CURRENT, MCL_FUTURE): Define here.
10578
5f67c04f
AK
105792013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10580
8a4473cc 10581 [BZ #15232]
5f67c04f
AK
10582 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
10583 attribute_hidden.
10584 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10585
c3e94a95
AK
105862013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10587
10588 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
10589 fourth parameter needed for rt_sigprocmask syscall.
10590 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
10591 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
10592 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
10593 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
10594 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
10595 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
10596
cfb6382a
JM
105972013-03-04 Joseph Myers <joseph@codesourcery.com>
10598
10599 [BZ #13550]
10600 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
10601 comment about bounded pointers.
10602 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
10603 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
10604
539d8e01
AJ
106052013-03-04 Andreas Jaeger <aj@suse.de>
10606
10607 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
10608 common definitions.
10609
10610 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
10611 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
10612 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
10613 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10614 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
10615 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10616
2e167a70 106172013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
10618
10619 [BZ #15055]
10620 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
10621 __ieee754_sqrl instead of __sqrl.
10622
68508633
JM
106232013-03-01 Joseph Myers <joseph@codesourcery.com>
10624
10625 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
10626 * sysdeps/powerpc/fpu_control.h: ... here.
10627 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
10628 * sysdeps/powerpc/bits/fenvinline.h: ... here.
10629 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
10630 * sysdeps/powerpc/bits/mathinline.h: ... here.
10631
7775448e
RM
106322013-03-01 Roland McGrath <roland@hack.frob.com>
10633
10634 * elf/dl-hwcaps.c (_dl_important_hwcaps):
10635 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
10636 to just [NEED_DL_SYSINFO_DSO].
10637 * elf/dl-support.c: Likewise.
10638 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10639 * elf/rtld.c (dl_main): Likewise.
10640 * elf/setup-vdso.h (setup_vdso): Likewise.
10641 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
10642 * sysdeps/unix/sysv/linux/dl-sysdep.c
10643 (_dl_discover_osversion): Likewise.
10644
4e9b5995
CD
106452013-03-01 Carlos O'Donell <carlos@redhat.com>
10646
10647 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
10648 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10649
e23872c8
SP
106502013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
10651
e5c74c63
SP
10652 * NEWS: Mention libm performance improvements and non-x86 PI
10653 futex support.
10654
e23872c8
SP
10655 * csu/libc-start.c (__pthread_initialize_minimal): Change
10656 function arguments.
10657 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10658
b5510883
JM
106592013-02-28 Joseph Myers <joseph@codesourcery.com>
10660
10661 [BZ #13550]
10662 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
10663 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
10664 <bp-sym.h> and <bp-asm.h>.
10665 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10666 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
10667 and <bp-asm.h>.
10668 (memcpy): Don't use BP_SYM.
10669 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
10670 <bp-asm.h>.
10671 (__mpn_add_n): Don't use BP_SYM.
10672 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
10673 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
10674 and <bp-asm.h>.
10675 (__mpn_addmul_1): Don't use BP_SYM.
10676 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10677 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
10678 <bp-sym.h>.
10679 (_setjmp): Don't use BP_SYM.
10680 (__novmx_setjmp): Likewise.
10681 (__GI__setjmp): Likewise.
10682 (__vmx_setjmp): Likewise.
10683 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
10684 <bp-sym.h>.
10685 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
10686 (__bzero): Don't use BP_SYM.
10687 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10688 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10689 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
10690 <bp-sym.h> and <bp-asm.h>.
10691 (memcpy): Don't use BP_SYM.
10692 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
10693 <bp-sym.h> and <bp-asm.h>.
10694 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10695 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
10696 <bp-sym.h> and <bp-asm.h>.
10697 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10698 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
10699 <bp-asm.h>.
10700 (__mpn_lshift): Don't use BP_SYM.
10701 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10702 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
10703 <bp-asm.h>.
10704 (memset): Don't use BP_SYM.
10705 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10706 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10707 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
10708 <bp-asm.h>.
10709 (__mpn_mul_1): Don't use BP_SYM.
10710 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10711 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
10712 <bp-sym.h> and <bp-asm.h>.
10713 (memcmp): Don't use BP_SYM.
10714 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
10715 <bp-sym.h> and <bp-asm.h>.
10716 (memcpy): Don't use BP_SYM.
10717 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
10718 <bp-sym.h> and <bp-asm.h>.
10719 (memset): Don't use BP_SYM.
10720 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
10721 <bp-sym.h> and <bp-asm.h>.
10722 (strncmp): Don't use BP_SYM.
10723 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
10724 <bp-sym.h> and <bp-asm.h>.
10725 (memcpy): Don't use BP_SYM.
10726 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
10727 <bp-sym.h> and <bp-asm.h>.
10728 (memset): Don't use BP_SYM.
10729 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
10730 <bp-sym.h> and <bp-asm.h>.
10731 (__memchr): Don't use BP_SYM.
10732 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
10733 <bp-sym.h> and <bp-asm.h>.
10734 (memcmp): Don't use BP_SYM.
10735 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
10736 <bp-sym.h> and <bp-asm.h>.
10737 (memcpy): Don't use BP_SYM.
10738 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
10739 <bp-sym.h> and <bp-asm.h>.
10740 (__mempcpy): Don't use BP_SYM.
10741 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
10742 <bp-sym.h> and <bp-asm.h>.
10743 (__memrchr): Don't use BP_SYM.
10744 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
10745 <bp-sym.h> and <bp-asm.h>.
10746 (memset): Don't use BP_SYM.
10747 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
10748 <bp-sym.h> and <bp-asm.h>.
10749 (__rawmemchr): Don't use BP_SYM.
10750 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
10751 <bp-sym.h> and <bp-asm.h>.
10752 (__STRCMP): Don't use BP_SYM.
10753 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
10754 <bp-sym.h> and <bp-asm.h>.
10755 (strchr): Don't use BP_SYM.
10756 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
10757 <bp-sym.h> and <bp-asm.h>.
10758 (__strchrnul): Don't use BP_SYM.
10759 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
10760 <bp-sym.h> and <bp-asm.h>.
10761 (strlen): Don't use BP_SYM.
10762 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
10763 <bp-sym.h> and <bp-asm.h>.
10764 (strncmp): Don't use BP_SYM.
10765 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
10766 <bp-sym.h> and <bp-asm.h>.
10767 (__strnlen): Don't use BP_SYM.
10768 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
10769 <bp-asm.h>.
10770 (__mpn_rshift): Don't use BP_SYM.
10771 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10772 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
10773 <bp-sym.h> and <bp-asm.h>.
10774 (__sigsetjmp): Don't use BP_SYM.
10775 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
10776 (L(start_addresses)): Don't use BP_SYM.
10777 (_start): Likewise.
10778 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
10779 <bp-asm.h>.
10780 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
10781 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10782 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10783 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
10784 <bp-asm.h>.
10785 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
10786 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10787 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10788 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
10789 <bp-asm.h>.
10790 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
10791 comments.
10792 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10793 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
10794 <bp-asm.h>.
10795 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
10796 FIXME comments.
10797 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10798 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10799 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
10800 <bp-asm.h>.
10801 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
10802 comment.
10803 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
10804 and <bp-asm.h>.
10805 (strncmp): Don't use BP_SYM,
10806 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
10807 <bp-asm.h>.
10808 (__mpn_sub_n): Don't use BP_SYM.
10809 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10810 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
10811 and <bp-asm.h>.
10812 (__mpn_submul_1): Don't use BP_SYM.
10813 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
10815 <bp-sym.h> and <bp-asm.h>.
10816 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
10818 <bp-sym.h> and <bp-asm.h>.
10819 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
10820 comment.
10821
8d19fe64
SP
108222013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10823
10824 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
10825 Use ZK to minimize writes to Z.
10826 (sub_magnitudes): Simplify code a bit.
10827 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
10828 Use ZK to minimize writes to Z.
10829 (sub_magnitudes): Simplify code a bit.
10830
85bd816a
RM
108312013-02-27 Roland McGrath <roland@hack.frob.com>
10832
10833 * csu/gmon-start.c: Add special exception to license text.
10834
b5977bf2
RH
108352013-02-27 Richard Henderson <rth@redhat.com>
10836
10837 * scripts/config.guess: Update from config.git.
10838 * scripts/config.sub: Likewise.
10839
11d6e2f2
SP
108402013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10841
09c14ed2
SP
10842 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
10843
a688864e
SP
10844 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
10845
6295157a
SP
10846 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
10847
b8de2202
SP
10848 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
10849
11d6e2f2
SP
10850 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
10851
7e80ddb8
RM
108522013-02-26 Roland McGrath <roland@hack.frob.com>
10853
10854 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
10855 [$(build-shared = yes].
7e80ddb8 10856
7da6d9ed
SP
108572013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10858
45f05884
SP
10859 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
10860 (__mul): Reduce iterations for calculating mantissa.
10861
2236d359
SP
10862 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
10863 MPTWO.
10864 (__mpranred): Likewise.
10865
7da6d9ed
SP
10866 [BZ #15160]
10867 * malloc/memusagestat.c (main): Draw graphs for heap and stack
10868 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
10869
b7688c42
PE
108702013-02-26 Paul Eggert <eggert@cs.ucla.edu>
10871
10872 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
10873 Define __attribute__.
10874
53a5c423
SP
108752013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10876
10877 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
10878 unused.
10879 * posix/regex_internal.h (__attribute): Remove.
10880 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
10881 (re_string_context_at): Likewise.
10882 (bitset_not): Use __attribute__ and mark function as possibly
10883 unused.
10884 (bitset_merge): Likewise.
10885 (bitset_mask): Likewise.
10886 (re_string_char_size_at): Likewise.
10887 (re_string_wchar_at): Likewise.
10888 (re_string_elem_size_at): Likewise.
10889
60f5a8b5
SP
108902013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10891
2a983a2e
SP
10892 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
10893 code.
10894 (cc32): Likewise.
10895
e69804d1
SP
10896 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
10897 (__acr): Likewise.
10898 (__cpy): Likewise.
10899 (norm): Likewise.
10900 (denorm): Likewise.
10901 (__dbl_mp): Likewise.
10902 (add_magnitudes): Likewise.
10903 (sub_magnitudes): Likewise.
10904 (__mul): Likewise.
10905 (__inv): Likewise.
10906
2f22a1e8
SP
10907 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
10908 style.
10909
8930ddc7
SP
10910 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
10911 style.
10912
dc60cb11
SP
10913 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
10914 code.
10915
60f5a8b5
SP
10916 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
10917 up changes with default code.
10918 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
10919 Likewise.
10920
b4d1fd33
AM
109212013-02-24 Allan McRae <allan@archlinux.org>
10922
faf6f8bc
AM
10923 * manual/socket.texi (The Internet Namespace): Order menu items
10924 to match that in the file.
10925
b4d1fd33
AM
10926 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
10927 node listing of the info page menu.
10928
2366713d
JM
109292013-02-21 Joseph Myers <joseph@codesourcery.com>
10930
10931 [BZ #13550]
10932 * sysdeps/i386/bp-asm.h: Remove file.
10933 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
10934 (PARMS): Do not use macros from bp-asm.h.
10935 (S1): Likewise.
10936 (S2): Likewise.
10937 (SIZE): Likewise.
10938 (__mpn_add_n): Do not use BP_SYM
10939 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
10940 "bp-asm.h".
10941 (PARMS): Do not use macros from bp-asm.h.
10942 (S1): Likewise.
10943 (SIZE): Likewise.
10944 (__mpn_addmul_1): Do not use BP_SYM
10945 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
10946 "bp-asm.h".
10947 (PARMS): Do not use macros from bp-asm.h.
10948 (SIGMSK): Likewise.
10949 (_setjmp): Likewise. Do not use BP_SYM.
10950 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
10951 "bp-asm.h".
10952 (PARMS): Do not use macros from bp-asm.h.
10953 (SIGMSK): Likewise.
10954 (setjmp): Likewise. Do not use BP_SYM.
10955 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
10956 "bp-asm.h".
10957 (PARMS): Do not use macros from bp-asm.h.
10958 (__frexp): Do not use BP_SYM.
10959 (frexp): Likewise.
10960 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
10961 "bp-asm.h".
10962 (PARMS): Do not use macros from bp-asm.h.
10963 (__frexpf): Do not use BP_SYM.
10964 (frexpf): Likewise.
10965 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
10966 "bp-asm.h".
10967 (PARMS): Do not use macros from bp-asm.h.
10968 (__frexpl): Do not use BP_SYM.
10969 (frexpl): Likewise.
10970 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
10971 "bp-asm.h".
10972 (PARMS): Do not use macros from bp-asm.h.
10973 (__remquo): Do not use BP_SYM.
10974 (remquo): Likewise.
10975 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
10976 "bp-asm.h".
10977 (PARMS): Do not use macros from bp-asm.h.
10978 (__remquof): Do not use BP_SYM.
10979 (remquof): Likewise.
10980 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
10981 "bp-asm.h".
10982 (PARMS): Do not use macros from bp-asm.h.
10983 (__remquol): Do not use BP_SYM.
10984 (remquol): Likewise.
10985 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
10986 "bp-asm.h".
10987 (PARMS): Do not use macros from bp-asm.h.
10988 (DEST): Likewise.
10989 (SRC): Likewise.
10990 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
10991 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
10992 "bp-asm.h".
10993 (PARMS): Do not use macros from bp-asm.h.
10994 (strlen): Do not use BP_SYM.
10995 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
10996 "bp-asm.h".
10997 (PARMS): Do not use macros from bp-asm.h.
10998 (S1): Likewise.
10999 (S2): Likewise.
11000 (SIZE): Likewise.
11001 (__mpn_add_n): Do not use BP_SYM.
11002 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
11003 "bp-asm.h".
11004 (PARMS): Do not use macros from bp-asm.h.
11005 (S1): Likewise.
11006 (SIZE): Likewise.
11007 (__mpn_addmul_1): Do not use BP_SYM.
11008 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
11009 weak_alias.
11010 (bzero): Likewise.
11011 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
11012 "bp-asm.h".
11013 (PARMS): Do not use macros from bp-asm.h.
11014 (S): Likewise.
11015 (SIZE): Likewise.
11016 (__mpn_lshift): Do not use BP_SYM.
11017 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
11018 "bp-asm.h".
11019 (PARMS): Do not use macros from bp-asm.h.
11020 (DEST): Likewise.
11021 (SRC): Likewise.
11022 (LEN): Likewise.
11023 (memcpy): Likewise. Do not use BP_SYM.
11024 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
11025 libc_hidden_def and weak_alias.
11026 (mempcpy): Do not use BP_SYM in weak_alias.
11027 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
11028 "bp-asm.h".
11029 (PARMS): Do not use macros from bp-asm.h.
11030 (DEST): Likewise.
11031 (LEN): Likewise.
11032 [!BZERO_P] (CHR): Likewise.
11033 (memset): Likewise. Do not use BP_SYM.
11034 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
11035 "bp-asm.h".
11036 (PARMS): Do not use macros from bp-asm.h.
11037 (S1): Likewise.
11038 (SIZE): Likewise.
11039 (__mpn_mul_1): Do not use BP_SYM.
11040 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
11041 "bp-asm.h".
11042 (PARMS): Do not use macros from bp-asm.h.
11043 (S): Likewise.
11044 (SIZE): Likewise.
11045 (__mpn_rshift): Do not use BP_SYM.
11046 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
11047 "bp-asm.h".
11048 (PARMS): Do not use macros from bp-asm.h.
11049 (STR): Likewise.
11050 (CHR): Likewise.
11051 (strchr): Likewise. Do not use BP_SYM.
11052 (index): Do not use BP_SYM in weak_alias.
11053 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
11054 "bp-asm.h".
11055 (PARMS): Do not use macros from bp-asm.h.
11056 (DEST): Likewise.
11057 (SRC): Likewise.
11058 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
11059 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
11060 "bp-asm.h".
11061 (PARMS): Do not use macros from bp-asm.h.
11062 (strlen): Do not use BP_SYM.
11063 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
11064 "bp-asm.h".
11065 (PARMS): Do not use macros from bp-asm.h.
11066 (S1): Likewise.
11067 (S2): Likewise.
11068 (SIZE): Likewise.
11069 (__mpn_sub_n): Do not use BP_SYM.
11070 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
11071 "bp-asm.h".
11072 (PARMS): Do not use macros from bp-asm.h.
11073 (S1): Likewise.
11074 (SIZE): Likewise.
11075 (__mpn_submul_1): Do not use BP_SYM.
11076 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
11077 "bp-asm.h".
11078 (PARMS): Do not use macros from bp-asm.h.
11079 (S1): Likewise.
11080 (S2): Likewise.
11081 (SIZE): Likewise.
11082 (__mpn_add_n): Do not use BP_SYM.
11083 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
11084 weak_alias.
11085 (bzero): Likewise.
11086 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
11087 "bp-asm.h".
11088 (PARMS): Do not use macros from bp-asm.h.
11089 (BLK2): Likewise.
11090 (LEN): Likewise.
11091 (memcmp): Do not use BP_SYM.
11092 (bcmp): Do not use BP_SYM in weak_alias.
11093 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
11094 "bp-asm.h".
11095 (PARMS): Do not use macros from bp-asm.h.
11096 (DEST): Likewise.
11097 (SRC): Likewise.
11098 (LEN): Likewise.
11099 (memcpy): Likewise. Do not use BP_SYM.
11100 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
11101 "bp-asm.h".
11102 (PARMS): Do not use macros from bp-asm.h.
11103 (DEST): Likewise.
11104 (SRC): Likewise.
11105 (LEN): Likewise.
11106 (memmove): Likewise. Do not use BP_SYM.
11107 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
11108 "bp-asm.h".
11109 (PARMS): Do not use macros from bp-asm.h.
11110 (DEST): Likewise.
11111 (SRC): Likewise.
11112 (LEN): Likewise.
11113 (__mempcpy): Likewise. Do not use BP_SYM.
11114 (mempcpy): Do not use BP_SYM in weak_alias.
11115 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
11116 "bp-asm.h".
11117 (PARMS): Do not use macros from bp-asm.h.
11118 (DEST): Likewise.
11119 (LEN): Likewise.
11120 [!BZERO_P] (CHR): Likewise.
11121 (memset): Likewise. Do not use BP_SYM.
11122 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
11123 "bp-asm.h".
11124 (PARMS): Do not use macros from bp-asm.h.
11125 (STR2): Likewise.
11126 (strcmp): Do not use BP_SYM.
11127 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
11128 "bp-asm.h".
11129 (PARMS): Do not use macros from bp-asm.h.
11130 (STR): Likewise.
11131 (DELIM): Likewise.
11132 [USE_AS_STRTOK_R] (SAVE): Likewise.
11133 (FUNCTION): Likewise. Do not use BP_SYM.
11134 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
11135 aliases.
11136 (strtok_r): Likewise.
11137 (__GI___strtok_r): Likewise.
11138 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11139 (PARMS): Do not use macros from bp-asm.h.
11140 (S): Likewise.
11141 (SIZE): Likewise.
11142 (__mpn_lshift): Do not use BP_SYM.
11143 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11144 (PARMS): Do not use macros from bp-asm.h.
11145 (STR): Likewise.
11146 (CHR): Likewise.
11147 (__memchr): Do not use BP_SYM.
11148 (memchr): Do not use BP_SYM in weak_alias.
11149 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11150 (PARMS): Do not use macros from bp-asm.h.
11151 (BLK2): Likewise.
11152 (LEN): Likewise.
11153 (memcmp): Do not use BP_SYM.
11154 (bcmp): Do not use BP_SYM in weak_alias.
11155 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
11156 (PARMS): Do not use macros from bp-asm.h.
11157 (S1): Likewise.
11158 (SIZE): Likewise.
11159 (__mpn_mul_1): Do not use BP_SYM.
11160 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
11161 "bp-asm.h".
11162 (PARMS): Do not use macros from bp-asm.h.
11163 (STR): Likewise.
11164 (CHR): Likewise.
11165 (__rawmemchr): Do not use BP_SYM.
11166 (rawmemchr): Do not use BP_SYM in weak_alias.
11167 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11168 (PARMS): Do not use macros from bp-asm.h.
11169 (S): Likewise.
11170 (SIZE): Likewise.
11171 (__mpn_rshift): Do not use BP_SYM.
11172 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11173 (PARMS): Do not use macros from bp-asm.h.
11174 (SIGMSK): Likewise.
11175 (__sigsetjmp): Likewise. Do not use BP_SYM.
11176 * sysdeps/i386/start.S: Do not include "bp-sym.h".
11177 (_start): Do not use BP_SYM.
11178 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
11179 (PARMS): Do not use macros from bp-asm.h.
11180 (DEST): Likewise.
11181 (SRC): Likewise.
11182 (__stpcpy): Likewise. Do not use BP_SYM.
11183 (stpcpy): Do not use BP_SYM in weak_alias.
11184 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
11185 "bp-asm.h".
11186 (PARMS): Do not use macros from bp-asm.h.
11187 (DEST): Likewise.
11188 (SRC): Likewise.
11189 (LEN): Likewise.
11190 (__stpncpy): Likewise. Do not use BP_SYM.
11191 (stpncpy): Do not use BP_SYM in weak_alias.
11192 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11193 (PARMS): Do not use macros from bp-asm.h.
11194 (STR): Likewise.
11195 (CHR): Likewise.
11196 (strchr): Likewise. Do not use BP_SYM.
11197 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
11198 "bp-asm.h".
11199 (PARMS): Do not use macros from bp-asm.h.
11200 (STR): Likewise.
11201 (CHR): Likewise.
11202 (__strchrnul): Likewise. Do not use BP_SYM.
11203 (strchrnul): Do not use BP_SYM in weak_alias.
11204 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
11205 "bp-asm.h".
11206 (PARMS): Do not use macros from bp-asm.h.
11207 (STOP): Likewise.
11208 (strcspn): Do not use BP_SYM.
11209 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
11210 "bp-asm.h".
11211 (PARMS): Do not use macros from bp-asm.h.
11212 (STR): Likewise.
11213 (STOP): Likewise.
11214 (strpbrk): Likewise. Do not use BP_SYM.
11215 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
11216 "bp-asm.h".
11217 (PARMS): Do not use macros from bp-asm.h.
11218 (STR): Likewise.
11219 (CHR): Likewise.
11220 (strrchr): Likewise. Do not use BP_SYM.
11221 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
11222 (PARMS): Do not use macros from bp-asm.h.
11223 (SKIP): Likewise.
11224 (strspn): Do not use BP_SYM.
11225 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
11226 (PARMS): Do not use macros from bp-asm.h.
11227 (STR): Likewise.
11228 (DELIM): Likewise.
11229 (SAVE): Likewise.
11230 (FUNCTION): Likewise. Do not use BP_SYM.
11231 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
11232 aliases.
11233 (strtok_r): Likewise.
11234 (__GI___strtok_r): Likewise.
11235 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11236 (PARMS): Do not use macros from bp-asm.h.
11237 (S1): Likewise.
11238 (S2): Likewise.
11239 (SIZE): Likewise.
11240 (__mpn_sub_n): Do not use BP_SYM.
11241 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
11242 "bp-asm.h".
11243 (PARMS): Do not use macros from bp-asm.h.
11244 (S1): Likewise.
11245 (SIZE): Likewise.
11246 (__mpn_submul_1): Do not use BP_SYM.
11247 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
11248 <bp-sym.h>.
11249 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
11250 and <bp-asm.h>.
11251 (PARMS): Do not use macros from bp-asm.h.
11252 (FLAGS): Likewise.
11253 (PTID): Likewise.
11254 (TLS): Likewise.
11255 (CTID): Likewise.
11256 (__clone): Do not use BP_SYM.
11257 (clone): Do not use BP_SYM in weak_alias.
11258 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
11259 and <bp-asm.h>.
11260 (PARMS): Do not use macros from bp-asm.h.
11261 (LEN): Likewise.
11262 (__mmap64): Do not use BP_SYM.
11263 (mmap64): Do not use BP_SYM in weak_alias.
11264 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11265 <bp-sym.h> and <bp-asm.h>.
11266 (PARMS): Do not use macros from bp-asm.h.
11267 (__posix_fadvise64_l64): Do not use BP_SYM.
11268 * sysdeps/unix/sysv/linux/i386/semtimedop.S
11269 (PARMS): Do not use macros from bp-asm.h.
11270 (NSOPS): Likewise.
11271 (semtimedop): Do not use BP_SYM.
11272 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
11273 and <bp-asm.h>.
11274
582a3cff
AM
112752013-02-21 Allan McRae <allan@archlinux.org>
11276
11277 * manual/message.texi (Charset conversion in gettext):
11278 Move @end statement to beginning of line.
11279
bab8a695
SP
112802013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11281
80945231
SP
11282 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
11283 static.
11284 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11285 Likewise.
11286
bab8a695
SP
11287 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
11288 (denorm): Likewise.
11289 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
11290 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
11291
e21d7aa7
AK
112922013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11293
11294 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
11295 tail-call to the resolved function if pltexit isn't needed.
11296
4c7a4263
SP
112972013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11298
11299 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
11300 or Y being zero as being unlikely.
11301 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11302 Likewise.
11303
41f49342
CD
113042013-02-20 Carlos O'Donell <carlos@redhat.com>
11305
11306 * manual/nss.texi (System Databases and Name Service Switch):
11307 Remove frobnicate @pxref.
11308
50022a93
TS
113092013-02-20 Thomas Schwinge <thomas@codesourcery.com>
11310
11311 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11312 __attribute__ ((unused)) to __attribute__ ((__unused__)).
11313
08cbd996
PM
113142013-02-20 Petr Machata <pmachata@redhat.com>
11315
11316 * elf/elf.h (R_ARM_TARGET1): New macro.
11317 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
11318 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
11319 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
11320 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
11321 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
11322 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
11323 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
11324 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
11325 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
11326 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
11327 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
11328 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
11329 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
11330 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
11331 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
11332 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
11333 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
11334 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
11335 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
11336 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
11337 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
11338 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
11339 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
11340 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
11341 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
11342 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
11343 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
11344 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
11345 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
11346 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
11347 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
11348 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
11349 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
11350 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
11351 (R_ARM_THM_GOT_BREL12): Likewise.
11352 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
11353 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
11354 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
11355 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
11356 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
11357 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
11358 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
11359 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
11360 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
11361
c7b275d6
TS
113622013-02-20 Thomas Schwinge <thomas@codesourcery.com>
11363
11364 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11365 __attribute_used__ to __attribute__ ((unused)).
11366
20cd7fb3
SP
113672013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11368
11369 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
11370 powerpc mpa.c.
11371 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
11372 comment formatting.
11373 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
11374
92945b52
JM
113752013-02-19 Joseph Myers <joseph@codesourcery.com>
11376
11377 [BZ #13550]
11378 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
11379 Remove macro.
11380 (ENTER): Remove both macro definitions.
11381 (LEAVE): Likewise.
11382 (CHECK_BOUNDS_LOW): Likewise.
11383 (CHECK_BOUNDS_HIGH): Likewise.
11384 (CHECK_BOUNDS_BOTH): Likewise.
11385 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
11386 (RETURN_BOUNDED_POINTER): Likewise.
11387 (RETURN_NULL_BOUNDED_POINTER): Likewise.
11388 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
11389 (POP_ERRNO_LOCATION_RETURN): Likewise.
11390 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
11391 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11392 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
11393 macros.
11394 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11395 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
11396 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
11397 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
11398 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
11399 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
11400 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
11401 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
11402 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
11403 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
11404 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
11405 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
11406 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11407 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
11408 removed macros.
11409 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11410 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
11411 macros.
11412 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11413 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
11414 * sysdeps/i386/i586/memset.S (memset): Likewise.
11415 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
11416 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11417 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
11418 macros.
11419 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11420 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
11421 Change uses of L(2) to L(out).
11422 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
11423 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
11424 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
11425 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11426 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
11427 removed macros.
11428 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11429 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
11430 macros.
11431 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11432 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
11433 (RETURN): Do not use macro LEAVE.
11434 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
11435 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
11436 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
11437 * sysdeps/i386/i686/memset.S (memset): Likewise.
11438 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
11439 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
11440 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11441 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
11442 Likewise.
11443 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11444 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
11445 L(1_2) and L(1_3) into L(1).
11446 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11447 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
11448 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11449 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
11450 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11451 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
11452 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
11453 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11454 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
11455 macros.
11456 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
11457 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11458 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
11459 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
11460 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
11461 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11462 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
11463 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
11464 * sysdeps/i386/strcspn.S (strcspn): Likewise.
11465 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
11466 * sysdeps/i386/strrchr.S (strrchr): Likewise.
11467 * sysdeps/i386/strspn.S (strspn): Likewise.
11468 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
11469 conditional code.
11470 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11471 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
11472 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11473 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
11474 L(1_3) into L(1_1).
11475 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
11476 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11477 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
11478 macros.
11479 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11480
2389741a
JJ
114812013-02-19 Jakub Jelinek <jakub@redhat.com>
11482
11483 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
11484 macro.
11485
2016b3cd
SP
114862013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11487
e4f22324
SP
11488 * math/atest-exp.c (exp_mpn): Remove ROUND.
11489 * math/atest-exp2.c (exp_mpn): Likewise.
11490 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
11491
2016b3cd
SP
11492 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
11493 * stdlib/tst-tls-atexit-lib.c: Likewise.
11494 * stdlib/tst-tls-atexit.c: Likewise.
11495
4be9b544
MF
114962013-02-18 Mike Frysinger <vapier@gentoo.org>
11497
11498 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
11499 and __attribute_alloc_size__.
11500
2f62b9ee
MF
115012013-02-18 Mike Frysinger <vapier@gentoo.org>
11502
11503 * include/programs/xmalloc.h: Change __attribute_alloc_size to
11504 __attribute_alloc_size__.
11505 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
11506 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
11507
6ff444c4
MF
115082013-02-18 Mike Frysinger <vapier@gentoo.org>
11509
11510 * include/programs/xmalloc.h: New file.
11511 * catgets/gencat.c: Include it.
11512 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
11513 * elf/pldd.c: Likewise.
11514 * iconv/iconv_charmap.c: Likewise.
11515 * iconv/iconvconfig.c: Likewise.
11516 * iconv/strtab.c: Likewise.
11517 * locale/programs/locale.c: Likewise.
11518 * locale/programs/localedef.h: Likewise.
11519 * locale/programs/simple-hash.c: Likewise.
11520 * nscd/nscd.h: Likewise.
11521 * nss/makedb.c: Likewise.
11522 * sysdeps/generic/ldconfig.h: Likewise.
11523
be179c8a
SP
115242013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11525
ba384f6e
SP
11526 * Versions.def: Add GLIBC_2.18.
11527 * include/link.h (struct link_map): New member l_tls_dtor_count.
11528 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
11529 (__call_tls_dtors): Likewise.
11530 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
11531 __cxa_thread_atexit_impl.
11532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11533 Likewise.
11534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11535 Likewise.
11536 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11537 Likewise.
11538 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11539 Likewise.
11540 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11541 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
11542 Likewise.
11543 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
11544 Likewise.
11545 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11546 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11547 Likewise.
11548 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
11549 (tests): Add test case tst-tls-atexit.
11550 (modules-names): Add shared library for tst-tls-atexit.
85891aca 11551 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
11552 (GLIBC_PRIVATE): Add __call_tls_dtors.
11553 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
11554 for libstdc++.
11555 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
11556 * stdlib/tst-tls-atexit.c: New test case.
11557 * stdlib/tst-tls-atexit-lib.c: New test case.
11558
ffaa74cf 11559 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 11560
be179c8a
SP
11561 * elf/Versions (ld): Add _dl_find_dso_for_object.
11562 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
11563 * elf/dl-open.c (_dl_find_dso_for_object): New function.
11564 (dl_open_worker): Use _dl_find_dso_for_object.
11565 * elf/dl-sym.c (do_sym): Likewise.
11566 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
11567
f78b5caa
AK
115682013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11569
11570 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
11571 Syntactic changes only.
11572 (_dl_runtime_profile): Do a tail-call to the resolved function.
11573
29691210
JM
115742013-02-17 Joseph Myers <joseph@codesourcery.com>
11575
11576 [BZ #13550]
11577 * sysdeps/x86_64/bp-asm.h: Remove file.
11578 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
11579 <bp-sym.h> and <bp-asm.h>.
11580 (__clone): Do not use BP_SYM.
11581 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
11582 <bp-sym.h> and <bp-asm.h>.
11583 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11584 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
11585 "bp-asm.h".
11586 (_setjmp): Do not use BP_SYM.
11587 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
11588 "bp-asm.h".
11589 (setjmp): Do not use BP_SYM.
11590 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
11591 libc_hidden_def.
11592 (mempcpy): Do not use BP_SYM in weak_alias.
11593 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
11594 "bp-asm.h".
11595 (strchr): Do not use BP_SYM.
11596 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
11597 "bp-asm.h".
11598 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
11599 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
11600 (_start): Do not use BP_SYM.
11601 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
11602 "bp-asm.h".
11603 (strcat): Do not use BP_SYM.
11604 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
11605 "bp-asm.h".
11606 (STRCMP): Do not use BP_SYM.
11607 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
11608 "bp-asm.h".
11609 (STRCPY): Do not use BP_SYM.
11610 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
11611 "bp-asm.h".
11612 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
11613 "bp-asm.h".
11614 (FUNCTION): Do not use BP_SYM.
11615 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
11616 weak_alias.
11617 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
11618
f238fd19
AJ
116192013-02-17 Andreas Jaeger <aj@suse.de>
11620
11621 * time/Versions: Sort entries.
11622 * string/Versions: Likewise.
11623 * resolv/Versions: Likewise.
11624 * posix/Versions: Likewise.
11625 * iconv/Versions: Likewise.
11626 * elf/Versions: Likewise.
11627 * wcsmbs/Versions: Likewise.
11628
bd07f23c 116292013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 11630
22af19f9
SP
11631 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
11632 loop termination condition.
11633
4709fe76
SP
11634 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
11635 variable to calculate EZ.
11636 (__sqr): Likewise.
2d0e0f29
SP
11637
11638 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
11639 the lower precision input.
11640
daaa7713
JM
116412013-02-15 Joseph Myers <joseph@codesourcery.com>
11642
11643 [BZ #13550]
11644 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
11645 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
11646 (run-via-rtld-prefix): Do not handle %-bp tests.
11647 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
11648 (all-object-suffixes): Remove .ob.
11649 (bppfx): Remove variable.
11650 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
11651 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
11652 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
11653 [$(build-bounded) = yes] (libtype.ob): Likewise.
11654 * Makerules (elide-routines.ob): Remove variable.
11655 (do-tests-clean): Do not handle *-bp.out.
11656 (common-mostlyclean): Do not handle *-bp and *-bp.out.
11657 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
11658 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
11659 (tests): Do not include $(tests-bp.out).
11660 (xtests): Do not include $(xtests-bp.out).
11661 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
11662 [$(build-bounded) = yes] ($(addprefix
11663 $(objpfx),$(binaries-bounded))): Remove rule.
11664 ($(objpfx)%-bp.out): Remove rule.
11665 * config.make.in (build-bounded): Remove variable.
11666 * crypt/Makefile [$(build-bounded) = yes]
11667 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
11668 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
11669 append to variable.
11670 [$(build-bounded) = yes] (install-lib): Likewise.
11671 [$(build-bounded) = yes] (generated): Likewise.
11672 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
11673 Remove rule.
11674 * intl/Makefile [$(build-bounded) = yes]
11675 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
11676 * math/Makefile [$(build-bounded) = yes]
11677 ($(tests:%=$(objpfx)%-bp): Likewise.
11678 * misc/Makefile [$(build-bounded) = yes]
11679 ($(objpfx)tst-tsearch-bp): Likewise.
11680 * nptl/Makeconfig (bounded-thread-library): Remove variable.
11681 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
11682 Remove dependency.
11683 * string/Makefile (o-objects.ob): Remove variable.
11684 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
11685 (CFLAGS-.ob): Remove variable.
11686 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
11687 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
11688 both definitions of variable.
11689 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
11690 (ASFLAGS-.ob): Remove variable.
11691
e97ed6dd
JM
116922013-02-14 Joseph Myers <joseph@codesourcery.com>
11693
2bdd4ca6
JM
11694 [BZ #13550]
11695 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
11696 Remove __BOUNDED_POINTERS__ from condition.
11697 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
11698 * string/bits/string2.h [!__NO_STRING_INLINES &&
11699 !__BOUNDED_POINTERS__]: Likewise.
11700 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
11701 Likewise.
11702 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
11703 Remove conditional code.
11704 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
11705 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
11706 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
11707 condition.
11708
e97ed6dd
JM
11709 [BZ #13550]
11710 * csu/libc-start.c: Do not include <bp-sym.h>.
11711 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
11712 * elf/dl-open.c: Do not include <bp-sym.h>.
11713 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
11714 * math/fegetenv.c: Do not include <bp-sym.h>.
11715 (fegetenv): Do not use BP_SYM in versioned symbols.
11716 * nptl/sysdeps/pthread/bits/libc-lockP.h
11717 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
11718 <bp-sym.h>.
11719 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11720 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
11721 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11722 (__pthread_mutex_destroy): Likewise.
11723 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11724 (__pthread_mutex_lock): Likewise.
11725 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11726 (__pthread_mutex_trylock): Likewise.
11727 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11728 (__pthread_mutex_unlock): Likewise.
11729 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11730 (__pthread_mutexattr_init): Likewise.
11731 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11732 (__pthread_mutexattr_destroy): Likewise.
11733 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11734 (__pthread_mutexattr_settype): Likewise.
11735 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11736 (__pthread_rwlock_init): Likewise.
11737 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11738 (__pthread_rwlock_destroy): Likewise.
11739 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11740 (__pthread_rwlock_rdlock): Likewise.
11741 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11742 (__pthread_rwlock_tryrdlock): Likewise.
11743 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11744 (__pthread_rwlock_wrlock): Likewise.
11745 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11746 (__pthread_rwlock_trywrlock): Likewise.
11747 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11748 (__pthread_rwlock_unlock): Likewise.
11749 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11750 (__pthread_key_create): Likewise.
11751 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11752 (__pthread_setspecific): Likewise.
11753 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11754 (__pthread_getspecific): Likewise.
11755 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
11756 Likewise.
11757 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11758 (_pthread_cleanup_push_defer): Likewise.
11759 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11760 (_pthread_cleanup_pop_restore): Likewise.
11761 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11762 (pthread_setcancelstate): Likewise.
11763 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
11764 <bp-sym.h>.
11765 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
11766 (memchr): Do not use BP_SYM in weak_alias.
11767 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
11768 (fegetenv): Do not use BP_SYM in versioned symbols.
11769 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
11770 (fesetenv): Do not use BP_SYM in versioned symbols.
11771 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11772 (feupdateenv): Do not use BP_SYM in versioned symbols.
11773 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11774 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11775 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
11776 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
11777 (open64): Do not use BP_SYM in weak_alias.
11778 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
11779 (fegetenv): Do not use BP_SYM in versioned symbols.
11780 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
11781 (fesetenv): Do not use BP_SYM in versioned symbols.
11782 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11783 (feupdateenv): Do not use BP_SYM in versioned symbols.
11784 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
11785 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
11786 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
11787 (feraiseexcept): Do not use BP_SYM in versioned symbols.
11788 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11789 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11790 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
11791 <bp-sym.h>.
11792 (__libc_start_main): Do not use BP_SYM.
11793
d6752ccd
SP
117942013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11795
cb57ce60
SP
11796 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
11797 redundant return line.
11798 (norm): Likewise.
11799 (denorm): Likewise.
11800 (dbl_mp): Likewise.
11801 (sub_magnitudes): Likewise.
11802 (__add): Likewise.
11803 (__sub): Likewise.
11804 (__mul): Likewise.
11805 (__inv): Likewise.
11806 (__dvd): Likewise.
11807 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
11808 (norm): Likewise.
11809 (denorm): Likewise.
11810 (dbl_mp): Likewise.
11811 (sub_magnitudes): Likewise.
11812 (__add): Likewise.
11813 (__sub): Likewise.
11814 (__mul): Likewise.
11815 (__inv): Likewise.
11816 (__dvd): Likewise.
11817
f414520d
SP
11818 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
11819 instead of __mul.
11820 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11821 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
11822 (cc32): Likewise.
11823
d6752ccd
SP
11824 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
11825 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
11826 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
11827 of __mul for squares.
11828 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
11829 function
11830 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
11831 Likewise.
11832 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
11833 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11834
70d9946a
JM
118352013-02-13 Joseph Myers <joseph@codesourcery.com>
11836
11837 [BZ #13550]
11838 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
11839 code.
11840 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
11841 prototype or function definition. Rename ubp_* variables and
11842 parameters. Remove argv definitions conditional on
11843 [__BOUNDED_POINTERS__].
11844 * debug/backtrace.c (__backtrace): Do not use __unbounded.
11845 * elf/dl-runtime.c (_dl_fixup): Likewise.
11846 * include/set-hooks.h (RUN_HOOK): Likewise.
11847 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
11848 definition.
11849 * string/strcpy.c (strcpy): Do not use __unbounded.
11850 * sysdeps/generic/frame.h (struct layout): Likewise.
11851 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
11852 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
11853 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
11854 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
11855 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
11856 (__backtrace): Likewise.
11857 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
11858 use __ptrvalue.
11859 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
11860 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11861 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11862 Likewise.
11863 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
11864 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
11865 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11866 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11867 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
11868 Do not use __unbounded.
11869 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
11870 Rename __unboundedrlimits parameter to rlimits in prototype.
11871 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
11872 Do not use __unbounded.
11873 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
11874 not use __ptrvalue.
11875 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11876 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
11877 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11878 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
11879 __ptrvalue or __unbounded.
11880 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
11881 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
11882 use __unbounded.
11883 (__new_msgctl): Do not use __ptrvalue.
11884 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
11885 __unbounded.
11886 (__libc_msgrcv): Do not use __ptrvalue.
11887 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
11888 startup_info): Do not use __unbounded.
11889 (__libc_start_main): Likewise. Rename ubp_* variables and
11890 parameters. Remove argv definitions conditional on
11891 [__BOUNDED_POINTERS__].
11892 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
11893 __ptrvalue.
11894 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
11895 use __unbounded.
11896 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
11897 or __ptrvalue.
11898 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
11899 use __unbounded.
11900 (__new_shmctl): Do not use __ptrvalue.
11901 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
11902 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
11903 Likewise.
11904 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
11905 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
11906 (__libc_sigaction): Likewise.
11907 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
11908 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
11909 Likewise.
11910 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11911
cc7834d6
OB
119122013-02-13 Ondřej Bílka <neleai@seznam.cz>
11913
ffb1ec7b 11914 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
11915
11916 * string/mempcpy.c: Implement by calling memcpy.
11917
bdf02814
SP
119182013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11919
c2af38aa
SP
11920 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
11921
4e92d59e
SP
11922 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
11923 evaluation.
11924
909279a5
SP
11925 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
11926 values in the mantissa.
11927
bdf02814
SP
11928 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
11929 minimize writes to Z.
11930 (sub_magnitudes): Simplify code a bit.
11931
cd525923
RM
119322013-02-12 Roland McGrath <roland@hack.frob.com>
11933
11934 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
11935 from the message. The linker prefixes all warnings with that already.
11936
7e2f0d2d
AS
119372013-02-12 Andreas Schwab <schwab@suse.de>
11938
a445af0b
AS
11939 [BZ #15078]
11940 * posix/regexec.c (extend_buffers): Add parameter min_len.
11941 (check_matching): Pass minimum needed length.
11942 (clean_state_log_if_needed): Likewise.
11943 (get_subexp): Likewise.
11944 * posix/Makefile (tests): Add bug-regex34.
11945 (bug-regex34-ENV): Define.
11946 * posix/bug-regex34.c: New file.
11947
7e2f0d2d
AS
11948 [BZ #11561]
11949 * posix/regcomp.c (parse_bracket_exp): When looking up collating
11950 elements compare against the byte sequence of it, not its name.
11951 * posix/Makefile (tests): Add bug-regex35.
11952 (bug-regex35-ENV): Define.
11953 * posix/bug-regex35.c: New file.
11954
a175b684
TV
119552013-02-11 Tom de Vries <tom@codesourcery.com>
11956
11957 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
11958 comment.
11959 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
11960 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
11961 (CHECK_EOL): Add undef.
11962
310998fe 119632013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
11964
11965 * bits/stdlib-bsearch.h: New file.
11966 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 11967 * stdlib/stdlib.h: Likewise.
41eda41d 11968
8ded91fb
RM
119692013-02-11 Roland McGrath <roland@hack.frob.com>
11970
11971 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
11972 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
11973 declaration.
11974 * manual/search.texi (Array Search Function): Add missing const in
11975 lfind prototype.
11976 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
11977 declaration to use rlim_t.
11978 (Basic Scheduling Functions): Remove erroneous const from
11979 sched_getparam prototype. Remove erroneous * from
11980 sched_get_priority_max and sched_get_priority_min prototypes.
11981 (Resource Usage): Fix summary @comment on vtimes to refer to
11982 sys/vtimes.h rather than vtimes.h.
11983 Add missing *s in vtimes prototype.
11984 (Limits on Resources): Fix ulimit prototype to return long int.
11985 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
11986 prototypes to use long int rather than double.
11987 (BSD Random): Fix initstate and setstate to use char *, not void *.
11988 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
11989 prototype to make second argument 'struct aiocb64 *const[]'.
11990 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
11991 (Status of AIO Operations): Remove erroneous const in aio_return and
11992 aio_return64 prototypes.
11993 (Synchronizing I/O): Fix sync prototype to return void.
11994 * manual/startup.texi (Suboptions): Remove an erroneous const in
11995 getsubopt prototype.
11996 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
11997 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
11998 use size_t rather than int.
11999 (Scanning All Users): Likewise for getpwent_r.
12000 (Setting Groups): Add missing const to setgroups prototype.
12001 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
12002 * manual/socket.texi (Host Names): Fix gethostbyaddr and
12003 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
12004 'const void *' rather than 'const char *'.
12005 (Host Address Functions): Likewise for inet_ntop.
12006 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
12007 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
12008 ssize_t for return value.
12009 (Sending Data): Likewise for send, sendto, sendmsg.
12010 (Socket Option Functions): Add a missing const in setsockopt prototype.
12011 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
12012 use wchar_t for the argument.
12013 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
12014 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
12015 take no arguments.
12016 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
12017 double/float/long double for second argument.
12018 Fix return types of significand, significandf, significandl.
12019 * manual/filesys.texi (Setting Permissions): Use mode_t for second
12020 argument in fchmod prototype.
12021 (File Owner): Use uid_t and gid_t in fchown prototype.
12022 (File Times): Add const to utimes, futimes, and lutimes prototypes.
12023 (Making Special Files): Use mode_t and dev_t in mknod prototype.
12024 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
12025 use 'const struct dirent **' as argument types to CMP function pointer
12026 argument.
12027 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
12028 (File Times): Fix summary magic @comment for struct utimbuf and utime
12029 to refer to utime.h, not time.h.
12030 * manual/string.texi (Argz Functions): Add missing const in
12031 argz_extract and argz_next prototypes.
12032 (Finding Tokens in a String): Likewise for basename.
12033 (String/Array Comparison): Fix typo in wcscasecmp prototype.
12034 (Copying and Concatenation): Fix typo in wmemmove prototype.
12035 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
12036 (Signal Stack): Remove erroneous const in sigstack prototype.
12037 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
12038 prototype.
12039 (Simple Calendar Time): Likewise for stime.
12040 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
12041 prototype.
12042 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
12043 say sys/sysctl.h instead.
12044 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
12045 and vsyslog prototypes.
12046
fe77fe6d
TV
120472013-02-11 Tom de Vries <tom@codesourcery.com>
12048
12049 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
12050 Remove.
12051
3a09b620
RM
120522013-02-11 Roland McGrath <roland@hack.frob.com>
12053
12054 * misc/sys/mman.h: Fix typo in mremap comment.
12055
550a0b89
RM
120562013-02-08 Roland McGrath <roland@hack.frob.com>
12057
12058 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
12059 the '\0' terminator.
12060
a2da1673
JM
120612013-02-08 Joseph Myers <joseph@codesourcery.com>
12062
12063 [BZ #13550]
12064 * debug/segfault.c: Don't include <bp-checks.h>.
12065 * sysdeps/generic/bp-checks.h: Remove file.
12066 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
12067 (__GETDENTS): Don't use CHECK_N.
12068 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
12069 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12070 (__getgroups): Don't use CHECK_N.
12071 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
12072 (setgroups): Don't use CHECK_N.
12073 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
12074 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
12075 (__libc_msgrcv): Don't use CHECK_N.
12076 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
12077 (__libc_msgsnd): Don't use CHECK_N.
12078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
12079 <bp-checks.h>.
12080 (__libc_pread): Don't use CHECK_N.
12081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
12082 include <bp-checks.h>.
12083 (__libc_pread64): Don't use CHECK_N.
12084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
12085 include <bp-checks.h>.
12086 (__libc_pwrite): Don't use CHECK_N.
12087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
12088 include <bp-checks.h>.
12089 (__libc_pwrite64): Don't use CHECK_N.
12090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
12091 <bp-checks.h>.
12092 (__libc_pread): Don't use CHECK_N.
12093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
12094 include <bp-checks.h>.
12095 (__libc_pread64): Don't use CHECK_N.
12096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
12097 include <bp-checks.h>.
12098 (__libc_pwrite): Don't use CHECK_N.
12099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
12100 include <bp-checks.h>.
12101 (__libc_pwrite64): Don't use CHECK_N.
12102 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
12103 (do_pread): Don't use CHECK_N.
12104 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
12105 (do_pread64): Don't use CHECK_N.
12106 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
12107 (do_pwrite): Don't use CHECK_N.
12108 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
12109 (do_pwrite64): Don't use CHECK_N.
12110 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
12111 (__libc_readv): Don't use CHECK_N.
12112 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
12113 (semop): Don't use CHECK_N.
12114 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
12115 <bp-checks.h>.
12116 (semtimedop): Don't use CHECK_N.
12117 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
12118 (__libc_pread): Don't use CHECK_N.
12119 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
12120 <bp-checks.h>.
12121 (__libc_pread64): Don't use CHECK_N.
12122 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
12123 <bp-checks.h>.
12124 (__libc_pwrite): Don't use CHECK_N.
12125 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
12126 <bp-checks.h>.
12127 (__libc_pwrite64): Don't use CHECK_N.
12128 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
12129 <bp-checks.h>.
12130 (__libc_msgrcv): Don't use CHECK_N.
12131 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
12132 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
12133 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
12134 (__libc_writev): Don't use CHECK_N.
12135
b84660a8
RM
121362013-02-08 Roland McGrath <roland@hack.frob.com>
12137
7f3e75f8
RM
12138 * string/strcpy.c: Removed unused variable.
12139
b84660a8
RM
12140 * Makeconfig (+sysdep-includes): Define with := rather than =.
12141 Use an existing include/ subdir of each sysdeps dir before it.
12142
471514d3
CD
121432013-02-08 Carlos O'Donell <carlos@redhat.com>
12144
12145 * nscd/connection.c (register_traced_file): Comment function.
12146 [HAVE_INOTIFY] (union __inev): Define.
12147 [HAVE_INOTIFY] (inotify_check_files): New function.
12148 [HAVE_INOTIFY] (clear_db_cache): Likewise.
12149 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
12150 clear_db_cache.
12151 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
12152
b2d3c3be
CD
121532013-02-08 Carlos O'Donell <carlos@redhat.com>
12154
12155 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
12156 loaded if not already and that a failure is permanent.
12157
b39949d2
CD
121582013-02-08 Carlos O'Donell <carlos@redhat.com>
12159
ddacd1db 12160 [BZ #15006]
b39949d2
CD
12161 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
12162 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
12163
b2c9eff4
JM
121642013-02-08 Joseph Myers <joseph@codesourcery.com>
12165
f3aae3f3
JM
12166 [BZ #13550]
12167 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
12168 (CHECK_1_NULL_OK): Likewise.
12169 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
12170 (__fxstat): Do not use CHECK_1.
12171 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
12172 <bp-checks.h>.
12173 (___fxstat64): Do not use CHECK_1.
12174 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
12175 <bp-checks.h>.
12176 (__fxstatat): Do not use CHECK_1.
12177 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
12178 <bp-checks.h>.
12179 (__fxstatat64): Do not use CHECK_1.
12180 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
12181 <bp-checks.h>.
12182 (__fxstat): Do not use CHECK_1.
12183 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
12184 <bp-checks.h>.
12185 (__fxstatat): Do not use CHECK_1.
12186 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12187 <bp-checks.h>.
12188 (__getresgid): Do not use CHECK_1.
12189 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12190 <bp-checks.h>.
12191 (__getresuid): Do not use CHECK_1.
12192 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
12193 <bp-checks.h>.
12194 (__lxstat): Do not use CHECK_1.
12195 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12196 <bp-checks.h>.
12197 (__old_msgctl): Do not use CHECK_1.
12198 (__new_msgctl): Likewise.
12199 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
12200 <bp-checks.h>.
12201 (__new_setrlimit): Do not use CHECK_1.
12202 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12203 <bp-checks.h>.
12204 (__old_shmctl): Do not use CHECK_1.
12205 (__new_shmctl): Likewise.
12206 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
12207 <bp-checks.h>.
12208 (__xstat): Do not use CHECK_1.
12209 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
12210 (__lxstat): Do not use CHECK_1.
12211 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
12212 <bp-checks.h>.
12213 (___lxstat64): Do not use CHECK_1.
12214 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
12215 (__old_msgctl): Do not use CHECK_1.
12216 (__new_msgctl): Likewise.
12217 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
12218 <bp-checks.h>.
12219 (__gettimeofday): Do not use CHECK_1.
12220 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
12221 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
12222 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
12223 <bp-checks.h>.
12224 (__gettimeofday): Do not use CHECK_1.
12225 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
12226 (__old_shmctl): Do not use CHECK_1_NULL_OK.
12227 (__new_shmctl): Do not use CHECK_1.
12228 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
12229 <bp-checks.h>.
12230 (do_sigtimedwait): Do not use CHECK_1.
12231 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
12232 <bp-checks.h>.
12233 (do_sigwaitinfo): Do not use CHECK_1.
12234 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
12235 <bp-checks.h>.
12236 (msgctl): Do not use CHECK_1.
12237 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
12238 <bp-checks.h>.
12239 (shmctl): Do not use CHECK_1.
12240 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
12241 (ustat): Do not use CHECK_1.
12242 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
12243 <bp-checks.h>.
12244 (__fxstat): Do not use CHECK_1.
12245 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
12246 <bp-checks.h>.
12247 (__fxstatat): Do not use CHECK_1.
12248 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
12249 <bp-checks.h>.
12250 (__lxstat): Do not use CHECK_1.
12251 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
12252 <bp-checks.h>.
12253 (__xstat): Do not use CHECK_1.
12254 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
12255 (__xstat): Do not use CHECK_1.
12256 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
12257 (___xstat64): Do not use CHECK_1.
12258
b2c9eff4
JM
12259 [BZ #13550]
12260 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
12261 definitions.
12262 (CHECK_BOUNDS_HIGH): Likewise.
12263 * string/strcpy.c: Do not include <bp-checks.h>.
12264 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
12265
f1d70dad
RM
122662013-02-07 Roland McGrath <roland@hack.frob.com>
12267
12268 * nscd/nscd-client.h (__nscd_drop_map_ref):
12269 Add __attribute__ ((unused)).
12270 * nis/nss-nisplus.h (niserr2nss): Likewise.
12271
12272 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
12273 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
12274
12275 * csu/libc-tls.c (init_static_tls, init_slotinfo):
12276 Remove inline keyword.
12277 * include/rounding-mode.h (round_away): Likewise.
12278 * libio/wfileops.c (adjust_wide_data): Likewise.
12279 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
12280 (__m128i_strloadu_tolower): Likewise.
12281 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
12282 (__m128i_strloadu_tolower): Likewise.
12283 * time/mktime.c (ydhms_diff): Likewise.
12284 * locale/elem-hash.h (elem_hash): Likewise.
12285 * locale/setlocale.c (setdata): Likewise.
12286 * posix/regex_internal.h (re_string_char_size_at): Likewise.
12287 (re_string_wchar_at): Likewise.
12288 (bitset_not, bitset_merge, bitset_mask): Likewise.
12289 [!(__GNUC__ > 3)] (inline): Remove macro.
12290 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
12291 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
12292 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
12293 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
12294 * string/memcmp.c (memcmp_bytes): Likewise.
12295 * locale/programs/locarchive.c (compute_hashval): Likewise.
12296 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
12297 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
12298 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
12299 * nss/getent.c (print_rpc, print_protocols): Likewise.
12300 (print_passwd, print_group, print_aliases): Likewise.
12301 * nis/nss-nisplus.h (niserr2nss): Likewise.
12302 * nscd/connections.c (restart_p): Likewise.
12303 Change return type to bool.
12304
eab55bfb
RM
123052013-02-05 Roland McGrath <roland@hack.frob.com>
12306
7bd642f5
RM
12307 * Makeconfig (all-Depend-files): Add existing
12308 $(sorted-subdirs:=/Depend) files.
12309 (all-subdirs): Remove nss.
12310 * sysdeps/unix/inet/Subdirs: Add it here instead.
12311 * hesiod/Depend: New file.
12312
573c29b2
RM
12313 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
12314 instead of calling alloca.
12315
b2e25af0
RM
12316 * io/lseek.c (__lseek): Rename to __libc_lseek.
12317 Define __lseek as an alias.
12318
eab55bfb
RM
12319 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
12320
9a0d1941
CD
123212013-02-04 Carlos O'Donell <carlos@redhat.com>
12322
12323 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
12324 else clause and remove check for non-standard endianness.
12325
b83bbec4
DM
123262013-02-04 David S. Miller <davem@davemloft.net>
12327
12328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12329
6277fdab
JM
123302013-02-04 Joseph Myers <joseph@codesourcery.com>
12331
12332 [BZ #13550]
12333 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
12334 (__ubp_memchr): Remove prototype.
12335 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
12336 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12337 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
12338 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12339 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
12340 Remove alias.
12341 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
12342 (__ubp_memchr): Likewise.
12343 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
12344 (__ubp_memchr): Likewise.
12345 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
12346 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
12347 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
12348 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
12349 CHECK_STRING.
12350 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12351 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
12352 (__getcwd): Do not use CHECK_STRING.
12353 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12354 <bp-checks.h>.
12355 (__real_chown): Do not use CHECK_STRING.
12356 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
12357 <bp-checks.h>.
12358 (fchownat): Do not use CHECK_STRING.
12359 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
12360 CHECK_STRING.
12361 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12362 <bp-checks.h>.
12363 (__lchown): Do not use CHECK_STRING.
12364 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12365 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12366 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12367 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12369 include <bp-checks.h>.
12370 (truncate64): Do not use CHECK_STRING.
12371 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12372 <bp-checks.h>.
12373 (__real_chown): Do not use CHECK_STRING.
12374 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12375 <bp-checks.h>.
12376 (__lchown): Do not use CHECK_STRING.
12377 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12378 <bp-checks.h>.
12379 (__chown): Do not use CHECK_STRING.
12380 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
12381 <bp-checks.h>.
12382 (truncate64): Do not use CHECK_STRING.
12383 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
12384 Likewise.
12385 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
12386 (__xmknod): Do not use CHECK_STRING.
12387 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
12388 <bp-checks.h>.
12389 (__xmknodat): Do not use CHECK_STRING.
12390 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12391 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
12392
903ae060
AS
123932013-02-04 Andreas Schwab <schwab@suse.de>
12394
12395 [BZ #14142]
12396 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
12397 * include/netdb.h: Likewise for h_errno.
12398 * elf/tst-stackguard1.c: Include <tls.h>.
12399
542f9466
JK
124002013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12401
12402 * elf/link.h (struct link_map): Extend the l_addr comment.
12403 * include/link.h (struct link_map): Likewise.
12404
e782a927
JM
124052013-02-01 Joseph Myers <joseph@codesourcery.com>
12406
12407 [BZ #13550]
12408 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
12409 (BOUNDED_1): Remove macro.
12410 * debug/backtrace.c: Don't include <bp-checks.h>.
12411 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
12412 (__backtrace): Likewise.
12413 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
12414 <bp-checks.h>.
12415 (__backtrace): Don't use BOUNDED_1.
12416 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
12417 <bp-checks.h>.
12418 (__backtrace): Don't use BOUNDED_1.
12419 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
12420 (__backtrace): Don't use BOUNDED_1.
12421 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
12422 (shmat): Don't use BOUNDED_N.
12423
8cf28c5e
JM
124242013-01-31 Joseph Myers <joseph@codesourcery.com>
12425
3a7ac8a0
JM
12426 [BZ #13550]
12427 * sysdeps/generic/bp-start.h: Remove file.
12428 * csu/libc-start.c: Don't include <bp-start.h>.
12429 (LIBC_START_MAIN): Set up __environ directly instead of using
12430 INIT_ARGV_and_ENVIRON.
12431 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
12432 <bp-start.h>.
12433
f3499f95
JM
12434 [BZ #13550]
12435 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
12436 definitions.
12437 (CHECK_FCNTL): Likewise.
12438 (CHECK_N_PAGES): Likewise.
12439
32a45bea
JM
12440 [BZ #13550]
12441 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
12442 definitions.
12443 (CHECK_SIGSET_NULL_OK): Likewise.
12444 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
12445 <bp-checks.h>.
12446 (sigpending): Don't use CHECK_SIGSET.
12447 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
12448 <bp-checks.h>.
12449 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12450 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
12451 <bp-checks.h>.
12452 (do_sigsuspend): Don't use CHECK_SIGSET.
12453 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
12454 use CHECK_SIGSET.
12455 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
12456 (do_sigwait): Don't use CHECK_SIGSET.
12457 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
12458 use CHECK_SIGSET.
12459 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
12460 include <bp-checks.h>.
12461 (sigpending): Don't use CHECK_SIGSET.
12462 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
12463 include <bp-checks.h>.
12464 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12465 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
12466 <bp-checks.h>.
12467 (sigpending): Don't use CHECK_SIGSET.
12468 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
12469 <bp-checks.h>.
12470 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12471
2e8a5c8c
JM
12472 [BZ #13550]
12473 * sysdeps/generic/bp-semctl.h: Remove file.
12474 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
12475 <bp-checks.h> and <bp-semctl.h>.
12476 (__old_semctl): Don't use CHECK_SEMCTL.
12477 (__new_semctl): Likewise.
12478 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
12479 and <bp-semctl.h>.
12480 (__old_semctl): Don't use CHECK_SEMCTL.
12481 (__new_semctl): Likewise.
12482 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
12483 <bp-checks.h> and <bp-semctl.h>.
12484 (__old_semctl): Don't use CHECK_SEMCTL.
12485 (__new_semctl): Likewise.
12486 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
12487 <bp-checks.h> and <bp-semctl.h>.
12488 (semctl): Don't use CHECK_SEMCTL.
12489
c2d54929
JM
12490 [BZ #13550]
12491 * Makerules (elide-bp-thunks): Remove variable.
12492 (elide-routines.oS): Don't use $(elide-bp-thunks).
12493 (elide-routines.os): Likewise.
12494 (elide-routines.o): Likewise.
12495 (elide-routines.op): Likewise.
12496 (elide-routines.og): Likewise.
12497 (objects): Don't use $(bp-thunks).
12498 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
12499 include.
12500 (common-generated): Do not add s-proto-bp.d.
12501 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
12502 (int): Likewise.
12503 (typ): Likewise.
12504 Do not generate makefile rules for bounded-pointer thunks.
12505 * sysdeps/generic/bp-thunks.h: Remove file.
12506 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
12507 * sysdeps/unix/s-proto-bp.S: Likewise.
12508
8cf28c5e
JM
12509 [BZ #15062]
12510 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
12511 parts of result separately when argument is not close to line from
12512 -i to i and one part of argument is small.
12513 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12514 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12515 * math/libm-test.inc (cacos_test): Add more tests.
12516 (casin_test): Likewise.
12517 (casinh_test): Likewise.
12518 * sysdeps/i386/fpu/libm-test-ulps: Update.
12519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12520
c4e33b8d
DM
125212013-01-31 David S. Miller <davem@davemloft.net>
12522
12523 * po/de.po: Update from translation team.
12524
3b60b421
MK
125252013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
12526
12527 * time/tzfile.c: Include stdint.h for SIZE_MAX.
12528
bb931195
TS
125292013-01-25 Thomas Schwinge <thomas@codesourcery.com>
12530
b5a5da23
TS
12531 * configure.in (_AC_PROG_CC_C89): New definition.
12532 * configure: Regenerate.
12533
bb931195
TS
12534 * configure.in (AC_PROG_CPP): New definition.
12535 * configure: Regenerate.
12536
8c53a12c
JM
125372013-01-23 Joseph Myers <joseph@codesourcery.com>
12538
12539 * debug/tst-backtrace.h: New file.
12540 * debug/tst-backtrace2.c: Include tst-backtrace.h.
12541 (ret): Remove variable.
12542 (x): Likewise.
12543 (FAIL): Remove macro.
12544 (NO_INLINE): Likewise.
12545 (fn1): Use match function instead of strstr.
12546 * debug/tst-backtrace3.c: Include tst-backtrace.h.
12547 (ret): Remove variable.
12548 (x): Likewise.
12549 (FAIL): Remove macro.
12550 (NO_INLINE): Likewise.
12551 (fn): Use match function instead of strstr.
12552 * debug/tst-backtrace4.c: Include tst-backtrace.h.
12553 (ret): Remove variable.
12554 (x): Likewise.
12555 (FAIL): Remove macro.
12556 (NO_INLINE): Likewise.
12557 (handle_signal): Use match function instead of strstr.
12558 * debug/tst-backtrace5.c: Include tst-backtrace.h.
12559 (ret): Remove variable.
12560 (x): Likewise.
12561 (FAIL): Remove macro.
12562 (NO_INLINE): Likewise.
12563 (handle_signal): Use match function instead of strstr.
12564
4858fa2a
RM
125652013-01-23 Roland McGrath <roland@hack.frob.com>
12566
12567 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
12568
bae8e7f5
DM
125692013-01-23 David S. Miller <davem@davemloft.net>
12570
12571 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
12572 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
12573 argument of CAS if possible.
12574 * sysdeps/sparc/sparc64/bits/atomic.h
12575 (__arch_compare_and_exchange_val_32_acq): Likewise.
12576 (__arch_compare_and_exchange_val_64_acq): Likewise.
12577
9cbbc4ae
PT
125782013-01-23 Pino Toscano <toscano.pino@tiscali.it>
12579
12580 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
12581 * sysdeps/posix/ulimit.c: ... this.
92a601b8 12582 Include <limits.h>.
67b3f58c 12583 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 12584
5655a0b5
AC
125852013-01-23 Adam Conrad <adconrad@0c3.net>
12586
12587 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
12588 (LDFLAGS-tst-array5): Likewise.
12589
052aff95
JM
125902013-01-23 Joseph Myers <joseph@codesourcery.com>
12591
12592 [BZ #15036]
12593 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
12594 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
12595 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
12596 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
12597
7c1e01aa
DM
125982013-01-21 David S. Miller <davem@davemloft.net>
12599
12600 * sysdeps/sparc/backtrace.c: New file.
12601 * sysdeps/sparc/sparc32/backtrace.h: New file.
12602 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
12603 * sysdeps/sparc/sparc64/backtrace.h: New file.
12604 * sysdeps/sparc/sparc64/backtrace.c: Delete.
12605 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
12606 -funwind-tables.
12607
ab087e0a
AS
126082013-01-21 Andreas Schwab <schwab@suse.de>
12609
12610 [BZ #15020]
12611 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
12612 closed its stdout.
12613
ed689c2f
AS
126142013-01-20 Andreas Schwab <schwab@linux-m68k.org>
12615
12616 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
12617 "mpa2.h".
12618 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12619
31d470ac
JM
126202013-01-18 Joseph Myers <joseph@codesourcery.com>
12621 Mark Mitchell <mark@codesourcery.com>
12622 Tom de Vries <tom@codesourcery.com>
12623 Paul Pluzhnikov <ppluzhnikov@google.com>
12624
12625 * debug/tst-backtrace2.c: New file.
12626 * debug/tst-backtrace3.c: Likewise.
12627 * debug/tst-backtrace4.c: Likewise.
12628 * debug/tst-backtrace5.c: Likewise.
12629 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
12630 (CFLAGS-tst-backtrace3.c): Likewise.
12631 (CFLAGS-tst-backtrace4.c): Likewise.
12632 (CFLAGS-tst-backtrace5.c): Likewise.
12633 (LDFLAGS-tst-backtrace2): Likewise.
12634 (LDFLAGS-tst-backtrace3): Likewise.
12635 (LDFLAGS-tst-backtrace4): Likewise.
12636 (LDFLAGS-tst-backtrace5): Likewise.
12637 (tests): Add new tests tst-backtrace2, tst-backtrace3,
12638 tst-backtrace4 and tst-backtrace5.
12639
90567f30 126402013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
12641 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12642
12643 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
12644 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
12645 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
12646 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
12647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12648 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
12649 "+r" and remove output regs list as redundant. Add explicit inline
12650 asm to specify register of return val to work around compiler codegen
12651 bug. Remove (int) cast on return value. Add return type parameter to
12652 use in macro so that this macro does not truncate return value for
12653 64-bit values.
12654 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
12655 pass to INTERNAL_VSYSCALL_NCS.
12656 (INLINE_VSYSCALL): Add 'long int' as return type to
12657 INTERNAL_VSYSCALL_NCS macro invocation.
12658 (INTERNAL_VSYSCALL): Add 'long int' as return type to
12659 INTERNAL_VSYSCALL_NCS macro invocation.
12660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12661
d3b9ea61
SP
126622013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12663
0b57daeb
SP
12664 [BZ #14496]
12665 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
12666 Fix application of SIMD FP exception mask.
12667
caa99d06
SP
12668 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
12669 mp_no from a power of two.
12670 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
12671 __mpexp_twomm1. Use __pow_mp.
12672
d3b9ea61
SP
12673 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
12674 multiplication.
12675
1dbaee3c
DM
126762013-01-17 David S. Miller <davem@davemloft.net>
12677
12678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12679
728d7b43
JM
126802013-01-17 Joseph Myers <joseph@codesourcery.com>
12681
12682 [BZ #15023]
12683 * include/complex.h: Condition contents on [!_COMPLEX_H].
12684 (__kernel_casinhf): New prototype.
12685 (__kernel_casinh): Likewise.
12686 (__kernel_casinhl): Likewise.
12687 * math/Makefile (libm_calls): Add k_casinh.
12688 * math/k_casinh.c: New file.
12689 * math/k_casinhf.c: Likewise.
12690 * math/k_casinhl.c: Likewise.
12691 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
12692 finite nonzero arguments.
12693 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
12694 finite nonzero arguments.
12695 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
12696 finite nonzero arguments.
12697 * math/s_casinh.c: Do not include <float.h>.
12698 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
12699 * math/s_casinhf.c: Do not include <float.h>.
12700 (__casinhf): Move code for finite nonzero arguments to
12701 k_casinhf.c.
12702 * math/s_casinhl.c: Do not include <float.h>.
12703 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
12704 redefine.
12705 (__casinhl): Move code for finite nonzero arguments to
12706 k_casinhl.c.
12707 * math/libm-test.inc (cacos_test): Add more tests.
12708 * sysdeps/i386/fpu/libm-test-ulps: Update.
12709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12710
2a26ef3a
PT
127112013-01-17 Pino Toscano <toscano.pino@tiscali.it>
12712
12713 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
12714 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
12715 [!HAVE_MREMAP]: Remove [defined linux] case.
12716 * malloc/arena.c: Do not include <malloc-sysdep.h>.
12717
a897655d
SP
127182013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12719
12720 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
12721
881ebe89 127222013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
12723
12724 * elf/elf.h (R_386_SIZE32): New relocation.
12725 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
12726 R_386_SIZE32.
12727 (elf_machine_rela): Likewise.
12728 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12729 R_X86_64_SIZE64 and R_X86_64_SIZE32.
12730
59981e9b
JM
127312013-01-17 Joseph Myers <joseph@codesourcery.com>
12732
12733 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
12734 (FP_FAST_FMA): Do not define.
12735 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
12736 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
12737 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
12738 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
12739 !_SOFT_FLOAT]: Likewise.
12740 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
12741 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
12742 value.
12743 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
12744 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
12745 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
12746 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
12747 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
12748 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
12749 file.
12750
cfa8054f
AS
127512013-01-16 Andreas Schwab <schwab@suse.de>
12752
12753 [BZ #14327]
12754 * include/stdlib.h (__mktemp): Add declaration.
12755 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
12756 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
12757
dd930cc5
SP
127582013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12759
881ebe89
SP
12760 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
12761 definitions.
12762 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12763 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
12764 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
12765 definitions here.
12766 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
12767 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
12768 definitions.
12769 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
12770 and ONE.
12771 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
12772 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
12773 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
12774 definitions.
12775 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
12776 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
12777 definitions.
12778 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 12779
dd930cc5
SP
12780 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
12781
c19a9f89
DM
127822013-01-15 David S. Miller <davem@davemloft.net>
12783
1aa61767
DM
12784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12785 trunc{,f} to libm-sysdep_routes.
12786 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
12788 file.
12789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
12790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
12791 file.
12792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
12793 file.
12794 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
12795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
12796 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
12797 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
12798 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
12799 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
12800 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
12801 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
12802
c42d5e98
DM
12803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12804 nearbyint{,f} to libm-sysdep_routes.
12805 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
12807 New file.
12808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
12809 file.
12810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
12811 New file.
12812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
12813 file.
12814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
12815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
12816 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
12817 file.
12818 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
12819 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
12820 file.
12821 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
12822 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
12823 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
12824
c19a9f89
DM
12825 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12826 libc_feholdexcept and libc_fesetenv.
12827
357679d2
MF
128282013-01-15 Mike Frysinger <vapier@gentoo.org>
12829
12830 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
12831
65a82e3d
DM
128322013-01-14 David S. Miller <davem@davemloft.net>
12833
8b954ab9
DM
12834 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
12835 (SPARC_ASM_VIS2_IFUNC): Likewise.
12836 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
12837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
12838 use of 'siam' instruction.
12839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
12840 Likewise.
12841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
12842 Likewise.
12843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
12844 Likewise.
12845 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
12846 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
12847 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
12848 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
12849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
12850 file.
12851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
12852 file.
12853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
12854 file.
12855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
12856 file.
12857 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
12858 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
12859 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
12860 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
12861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
12862 new VIS2 routines.
12863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12866 Likewise.
12867 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12868 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12869 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12870 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
12872 routines to libm-sysdep_routines.
12873 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12874
65a82e3d
DM
12875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12876 fdim/fdimf to libm-sysdep_routines.
12877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
12878 file.
12879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
12880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
12881 file.
12882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
12883 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
12884 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
12885 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
12886 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
12887 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
12888 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
12889
e34ab705
SP
128902013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12891
2a91b573
SP
12892 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
12893 to optimize copies.
12894
1066a534
SP
12895 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
12896 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12897 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12898
e34ab705
SP
12899 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
12900 local variable MPTWO.
12901 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12902 Likewise.
12903
aba5e596
MF
129042013-01-13 Mike Frysinger <vapier@gentoo.org>
12905
12906 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
12907 GLOB_NOESCAPE.
12908
e557e9e5
MF
129092013-01-13 Mike Frysinger <vapier@gentoo.org>
12910
12911 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
12912
0428cec9
MF
129132013-01-13 Mike Frysinger <vapier@gentoo.org>
12914
12915 * manual/pattern.texi (glob_t): Document gl_flags.
12916 (glob64_t): Likewise.
12917
8794a964
DM
129182013-01-11 David S. Miller <davem@davemloft.net>
12919
66438c3f
RM
12920 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
12921 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
12922 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
12923 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
12924 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
12925 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
12926 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
12927 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
12928 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
12929 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
12930 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
12931 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
12932 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
12933
4ae4244d
DM
12934 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12935 sparc V9 rather than using V8 code.
12936 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12937 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12938
8794a964
DM
12939 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12940 Move to...
12941 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
12942 Here.
12943
6270516e
RM
129442013-01-11 Roland McGrath <roland@hack.frob.com>
12945
12946 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
12947 not in the main loop.
12948 * configure: Regenerated.
12949
6a57d931
JM
129502013-01-11 Joseph Myers <joseph@codesourcery.com>
12951
12952 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
12953 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
12954 to just #else.
12955 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
12956 [!__GLIBC_HAVE_LONG_LONG] case.
12957 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
12958 condition to just #else.
12959 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
12960 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
12961 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
12962 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
12963 unconditional.
12964 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
12965 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
12966 #elif condition to just #else.
12967 * sysdeps/unix/sysv/linux/sys/sysmacros.h
12968 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
12969 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
12970 #elif condition to just #else.
12971
0e8529e9
SE
129722013-01-11 Steve Ellcey <sellcey@mips.com>
12973
12974 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
12975 (EF_MIPS_ARCH_64): Fix value.
12976 (EF_MIPS_ARCH_32R2): New.
12977 (EF_MIPS_ARCH_64R2): New.
12978
740b3dbe
L
129792013-01-11 H.J. Lu <hongjiu.lu@intel.com>
12980
12981 * Makeconfig (+link-pie-before-libc): New.
12982 (+link-pie-after-libc): Likewise.
12983 (+link-pie-tests): Likewise.
12984 (+link-pie): Rewritten.
12985 (link-before-libc): Remove $(config-LDFLAGS).
12986 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
12987 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
12988 (config-LDFLAGS): Renamed to ...
12989 (rtld-LDFLAGS): This.
12990 (rtld-tests-LDFLAGS): New macro.
12991 (link-libc-rpath-link): Likewise.
12992 (link-libc-tests-rpath-link): Likewise.
12993 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
12994 (link-libc): Prepand $(link-libc-rpath-link).
12995 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
12996 (test-program-prefix): New macro.
12997 (test-via-rtld-prefix): Likewise.
12998 (test-program-cmd): Likewise.
12999 (host-test-program-cmd): Likewise.
13000 * Makefile ($(common-objpfx)testrun.sh): Replace
13001 $(run-program-prefix) with $(test-program-prefix).
13002 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
13003 $(rtld-LDFLAGS).
13004 ($(common-objpfx)shlib.lds): Likewise.
13005 (build-module-helper): Likewise.
13006 ($(common-objpfx)format.lds): Likewise.
13007 * Rules (binaries-pie-tests): New.
13008 (binaries-pie-notests): Likewise.
13009 (binaries-pie): Rewritten.
13010 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
13011 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
13012 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
13013 (make-test-out): Replace $(host-built-program-cmd) with
13014 $(host-test-program-cmd).
13015 * config.make.in (build-hardcoded-path-in-tests): New variable.
13016 * configure.in (--enable-hardcoded-path-in-tests): New configure
13017 option.
13018 (hardcoded_path_in_tests): New AC_SUBST.
13019 * configure: Regenerated.
13020 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
13021 $(built-program-cmd) with $(test-program-cmd).
13022 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
13023 (test_program_cmd): This.
13024 * elf/Makefile ($(objpfx)order.out): Run test with
13025 $(test-program-prefix).
13026 ($(objpfx)order2.out): Likewise.
13027 ($(objpfx)tst-initorder.out): Likewise.
13028 ($(objpfx)tst-initorder2.out): Likewise.
13029 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
13030 $(test-program-cmd).
13031 ($(objpfx)tst-array1-static.out): Likewise.
13032 ($(objpfx)tst-array2.out): Likewise.
13033 ($(objpfx)tst-array3.out): Likewise.
13034 ($(objpfx)tst-array4.out): Likewise.
13035 ($(objpfx)tst-array5.out): Likewise.
13036 ($(objpfx)tst-array5-static.out): Likewise.
13037 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
13038 $(test-program-cmd).
13039 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
13040 $(run-program-prefix) with $(test-program-prefix).
13041 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
13042 (test_program_prefix): This.
13043 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
13044 $(run-program-prefix) with $(test-program-prefix).
13045 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
13046 (test_program_prefix): This.
13047 * iconvdata/tst-tables.sh: Likewise.
13048 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
13049 $(run-program-prefix) with $(test-program-prefix).
13050 ($(objpfx)tst-translit.out): Likewise.
13051 ($(objpfx)tst-gettext2.out): Likewise.
13052 ($(objpfx)tst-gettext4.out): Likewise.
13053 ($(objpfx)tst-gettext6.out): Likewise.
13054 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
13055 (test_program_prefix): This.
13056 * intl/tst-gettext2.sh: Likewise.
13057 * intl/tst-gettext4.sh Likewise.
13058 * intl/tst-gettext6.sh: Likewise.
13059 * intl/tst-translit.sh: Likewise.
13060 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
13061 with $(test-program-cmd).
13062 * libio/Makefile ($(objpfx)test-freopen.out): Replace
13063 $(run-program-prefix) with $(test-program-prefix).
13064 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
13065 (test_program_prefix): This.
13066 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
13067 $(run-program-prefix) with $(test-program-prefix).
13068 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
13069 (test_program_prefix): This.
13070 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
13071 * posix/Makefile ($(objpfx)globtest.out): Replace
13072 $(run-via-rtld-prefix) and $(test-wrapper) with
13073 $(test-program-prefix) and $(test-via-rtld-prefix).
13074 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
13075 $(test-program-prefix).
13076 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
13077 $(host-test-program-cmd).
13078 (tst-spawn-ARGS): Likewise.
13079 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
13080 $(test-program-prefix).
13081 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
13082 (test_via_rtld_prefix): This.
13083 (test_wrapper): Renamed to ...
13084 (test_program_prefix): This.
13085 (run_program_prefix): Replaced by test_program_prefix.
13086 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
13087 (test_program_prefix): This.
13088 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
13089 with $(host-test-program-cmd).
13090 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
13091 $(run-program-prefix) with $(test-program-prefix).
13092 ($(objpfx)tst-printf.out): Likewise.
13093 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
13094 $(test-program-cmd).
13095 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
13096 (test_program_prefix): This.
13097 * stdio-common/tst-unbputc.sh: Likewise.
13098 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
13099 $(run-program-prefix) with $(test-program-prefix).
13100 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
13101 (test_program_prefix): This.
13102 * string/Makefile ($(objpfx)tst-svc.out): Replace
13103 $(built-program-cmd) with $(test-program-cmd).
13104
c6fe55cf
AJ
131052013-01-11 Andreas Jaeger <aj@suse.de>
13106
13107 [BZ #15003]
13108 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
13109 value. Sync with Linux 3.7.
13110
9e6919c8
DM
131112013-01-10 David S. Miller <davem@davemloft.net>
13112
13113 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
13114 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13115 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13116
1c9f1a02
RM
131172013-01-10 Roland McGrath <roland@hack.frob.com>
13118
13119 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
13120 never set.
13121 * configure: Regenerated.
13122
b9de2dde
DM
131232013-01-10 David S. Miller <davem@davemloft.net>
13124
13125 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13126 sparc V9 rather than using V8 code.
13127 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13128 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13129
e7f68ef4
RM
131302013-01-10 Roland McGrath <roland@hack.frob.com>
13131
13132 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
13133 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
13134 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
13135 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
13136 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
13137 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
13138 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
13139 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
13140 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
13141 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
13142 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
13143 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
13144 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
13145 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
13146 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
13147 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
13148 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
13149 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
13150 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
13151 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
13152 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
13153 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
13154 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
13155 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
13156 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
13157 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
13158 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
13159
5a47cc9c
DM
131602013-01-10 David S. Miller <davem@davemloft.net>
13161
13162 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13163
4cf8f209
L
131642013-01-10 H.J. Lu <hongjiu.lu@intel.com>
13165
13166 * posix/Makefile (tests-static): New variable.
13167 (tests): Add $(tests-static).
13168 (tst-exec-static-ARGS): New variable.
13169 (tst-spawn-static-ARGS): Likewise.
13170 * posix/tst-exec-static.c: New file.
13171 * posix/tst-spawn-static.c: Likewise.
13172 * posix/tst-exec.c: Support run directly.
13173 * posix/tst-spawn.c: Likewise.
13174
fed0faa1
JM
131752013-01-10 Joseph Myers <joseph@codesourcery.com>
13176
828beb13
JM
13177 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
13178 long.
13179 * math/bits/mathcalls.h (llrint): Likewise.
13180 (llround): Likewise.
13181 * stdlib/stdlib.h (struct drand48_data): Likewise.
13182 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
13183 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
13184 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
13185 Likewise.
13186 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
13187 Likewise.
13188 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
13189 (elf_greg_t): Likewise.
13190 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
13191 (__jmp_buf): Likewise.
13192 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
13193 definitions.
13194 (llrint): Likewise, for all definitions.
13195 (llrintl): Likewise.
13196
fed0faa1
JM
13197 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
13198 Remove [__GNUC__] condition.
13199 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
13200 condition to just [__USE_ISOC99].
13201 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
13202
1a20cb20
L
132032013-01-10 H.J. Lu <hongjiu.lu@intel.com>
13204
13205 [BZ #14200]
13206 * sysdeps/unix/sysv/linux/x86/bits/environments.h
13207 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
13208 defined.
13209 (_POSIX_V6_ILP32_OFF32): Likewise.
13210 (_XBS5_ILP32_OFF32): Likewise.
13211 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
13212 (__ILP32_OFFBIG_LDFLAGS): Likewise.
13213
751b85f7
SP
132142013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13215
7490eb81
SP
13216 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
13217
751b85f7
SP
13218 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
13219 doubles __mpexp_twomm1. Adjust usage.
13220 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
13221 Remove.
13222
988197f0
AS
132232013-01-10 Andreas Schwab <schwab@suse.de>
13224
13225 [BZ #14964]
13226 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
13227 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
13228
e83d7298
DM
132292013-01-09 David S. Miller <davem@davemloft.net>
13230
034ed64b 13231 [BZ #15003]
e83d7298
DM
13232 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
13233 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
13234 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
13235 TCP_FASTOPEN): Define.
13236 (tcp_repair_opt): New structure.
13237 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
13238 enum values.
13239 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
13240 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
13241 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
13242 (tcp_cookie_transactions): New structure.
13243
d5e0b9bd
AB
132442013-01-09 Anton Blanchard <anton@samba.org>
13245
13246 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
13247 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
13248 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
13249 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
13250
0c07e3ea
JM
132512013-01-09 Joseph Myers <joseph@codesourcery.com>
13252
13253 * include/features.h (__USE_ANSI): Remove.
13254
232f7002
RM
132552013-01-09 Roland McGrath <roland@hack.frob.com>
13256
ad98e30c
RM
13257 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
13258
232f7002
RM
13259 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
13260
950c99ca
SP
132612013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
13262
b5792741
SP
13263 * sysdeps/s390/fpu/libm-test-ulps: Update.
13264
47cf2278
SP
13265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13266
950c99ca
SP
13267 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
13268 (__acr): Likewise.
13269 (__cpy): Likewise.
13270 (norm): Likewise.
13271 (denorm): Likewise.
13272 (__mp_dbl): Likewise.
13273 (__dbl_mp): Likewise.
13274 (add_magnitudes): Likewise.
13275 (sub_magnitudes): Likewise.
13276 (__add): Likewise.
13277 (__sub): Likewise.
13278 (__mul): Likewise.
13279 (__inv): Likewise.
13280 (__dvd): Likewise.
13281 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
13282 (__acr): Likewise.
13283 (__cpy): Likewise.
13284 (norm): Likewise.
13285 (denorm): Likewise.
13286 (__mp_dbl): Likewise.
13287 (__dbl_mp): Likewise.
13288 (add_magnitudes): Likewise.
13289 (sub_magnitudes): Likewise.
13290 (__add): Likewise.
13291 (__sub): Likewise.
13292 (__mul): Likewise.
13293 (__inv): Likewise.
13294 (__dvd): Likewise.
13295 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
13296 (__acr): Likewise.
13297 (__cpy): Likewise.
13298 (norm): Likewise.
13299 (denorm): Likewise.
13300 (__mp_dbl): Likewise.
13301 (__dbl_mp): Likewise.
13302 (add_magnitudes): Likewise.
13303 (sub_magnitudes): Likewise.
13304 (__add): Likewise.
13305 (__sub): Likewise.
13306 (__mul): Likewise.
13307 (__inv): Likewise.
13308 (__dvd): Likewise.
13309
eede9df9
JM
133102013-01-08 Joseph Myers <joseph@codesourcery.com>
13311
13312 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
13313 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
13314 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
13315 2 && __USE_EXTERN_INLINES]: Likewise.
13316
c40ea3d9
AJ
133172013-01-08 Andreas Jaeger <aj@suse.de>
13318
13319 [BZ# 14985]
13320 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
13321 Remove.
13322 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13323 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13324
2ccdea26
AB
133252013-01-07 Anton Blanchard <anton@samba.org>
13326
13327 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
13328 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13329 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
13330 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13331 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13332 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13333 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
13334 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13335 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13336 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13337 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13338 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13339 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13340 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13341 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13342 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13343 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13344 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13345 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13346 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13347 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13348 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
13349 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13350 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13351 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
13352 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13353 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13354 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13355 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
13356 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13357 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13358 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13359 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13360 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13361 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13362 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13363 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13364 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13365 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
13366 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13367 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
13368 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13369 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13370
a9708fed
JM
133712013-01-07 Joseph Myers <joseph@codesourcery.com>
13372
375607b9
JM
13373 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
13374 (__MALLOC_PMT): Likewise.
13375 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
13376 [__GNUC__], only on [_LIBC].
13377 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13378 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
13379 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13380 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
13381 forward declaration.
13382 (realloc_hook_ini): Likewise.
13383 (memalign_hook_ini): Likewise.
13384 (__libc_memalign): Do not use __MALLOC_PMT in variable
13385 declaration.
13386 (__libc_valloc): Likewise.
13387 (__libc_pvalloc): Likewise.
13388 (__libc_calloc): Likewise.
13389 (__posix_memalign): Likewise.
13390
a9708fed
JM
13391 [BZ #14996]
13392 * math/s_casinh.c: Include <float.h>.
13393 (__casinh): Do not do computation with squaring and square root
13394 for large arguments.
13395 * math/s_casinhf.c: Include <float.h>.
13396 (__casinhf): Do not do computation with squaring and square root
13397 for large arguments.
13398 * math/s_casinhl.c: Include <float.h>.
13399 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
13400 (__casinhl): Do not do computation with squaring and square root
13401 for large arguments.
13402 * math/libm-test.inc (casin_test): Add more tests.
13403 (casinh_test): Likewise.
13404 * sysdeps/i386/fpu/libm-test-ulps: Update.
13405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13406
afec409a
L
134072013-01-04 H.J. Lu <hongjiu.lu@intel.com>
13408
13409 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
13410 (__x86_64_raw_data_cache_size): Likewise.
13411 (__x86_64_data_cache_size_half): Likewise.
13412 (__x86_64_raw_data_cache_size_half): Likewise.
13413 (__x86_64_shared_cache_size): Likewise.
13414 (__x86_64_raw_shared_cache_size): Likewise.
13415 (__x86_64_shared_cache_size_half): Likewise.
13416 (__x86_64_raw_shared_cache_size_half): Likewise.
13417 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
13418 to ...
13419 (__x86_data_cache_size): This.
13420 (__x86_64_raw_data_cache_size): Renamed to ...
13421 (__x86_raw_data_cache_size): This.
13422 (__x86_64_data_cache_size_half): Renamed to ...
13423 (__x86_data_cache_size_half): This.
13424 (__x86_64_raw_data_cache_size_half): Renamed to ...
13425 (__x86_raw_data_cache_size_half): This.
13426 (__x86_64_shared_cache_size): Renamed to ...
13427 (__x86_shared_cache_size): This.
13428 (__x86_64_raw_shared_cache_size): Renamed to ...
13429 (__x86_raw_shared_cache_size): This.
13430 (__x86_64_shared_cache_size_half): Renamed to ...
13431 (__x86_shared_cache_size_half): This.
13432 (__x86_64_raw_shared_cache_size_half): Renamed to ...
13433 (__x86_raw_shared_cache_size_half): This.
13434 * sysdeps/x86_64/memcpy.S: Updated.
13435 * sysdeps/x86_64/memset.S: Likewise.
13436 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13437 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13438 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13439
0b3986d0
DM
134402013-01-04 David S. Miller <davem@davemloft.net>
13441
13442 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13443
e47686e9
AS
134442013-01-04 Andreas Schwab <schwab@linux-m68k.org>
13445
d643bac1
AS
13446 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
13447 1 to avoid redefinition warning.
13448 (__USE_GNU): Don't define.
13449 (init_signaling_nan): Protoize.
13450
e47686e9
AS
13451 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13452
b18decba
SP
134532013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13454
fffb407f
SP
13455 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
13456 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
13457 (__cpymn): Likewise.
13458 (norm): Remove commented code.
13459 (denorm): Likewise.
13460 (__mp_dbl): Likewise.
13461 (__inv): Likewise.
13462 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
13463 (__cpymn): Likewise.
13464 (norm): Remove commented code.
13465 (denorm): Likewise.
13466 (__mp_dbl): Likewise.
13467 (__inv): Likewise.
13468
b18decba
SP
13469 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
13470 mp_no value for 1.0 and 2.0.
13471 (norm): Use RADIXI instead of radixi.d.
13472 (denorm): Likewise.
13473 (__mul): Use 0.0 instead of zero.d.
13474 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
13475 mp_no value for 1.0 and 2.0.
13476 (norm): Use RADIXI instead of radixi.d.
13477 (denorm): Likewise.
13478 (__mul): Use 0.0 instead of zero.d.
13479
cdc1c96f
JM
134802013-01-04 Joseph Myers <joseph@codesourcery.com>
13481
13482 [BZ #14994]
13483 * math/s_casinh.c (__casinh): Reduce finite argument to first
13484 quadrant then set signs of results at the end.
13485 * math/s_casinhf.c (__casinhf): Likewise.
13486 * math/s_casinhl.c (__casinhl): Likewise.
13487 * math/libm-test.inc (casin_test): Add more tests.
13488 (casinh_test): Likewise.
13489 * sysdeps/i386/fpu/libm-test-ulps: Update.
13490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13491
302913e1
SP
134922013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13493
6420d207
SP
13494 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
13495
a9e48ab4
SP
13496 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
13497
b7837264
SP
13498 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
13499 declarations.
13500 (denorm): Likewise.
13501 (__mp_dbl): Likewise.
13502 (__inv): Likewise.
13503
f8af25d2
SP
13504 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
13505 and adjust the header comment.
13506
302913e1
SP
13507 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
13508 variable name from declaration.
13509
5d7dd1ca
L
135102013-01-03 H.J. Lu <hongjiu.lu@intel.com>
13511
13512 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13513 Initialize COMMON_CPUID_INDEX_7 element.
13514 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
13515 (CPUID_RTM): Likewise.
13516 (HAS_RTM): Likewise.
13517 (COMMON_CPUID_INDEX_7): New enum.
13518
2f5f40f4
AS
135192013-01-03 Andreas Schwab <schwab@linux-m68k.org>
13520
13521 [BZ #14981]
13522 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
13523 size is zero, record memory as freed.
13524
4056f4a0
AJ
135252013-01-03 Andreas Jaeger <aj@suse.de>
13526
13527 * po/ia.po: Add new Interlingua translation.
13528
ab15736f 135292012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
13530
13531 * locale/programs/localedef.c: Fix description of '--posix' flag.
13532
568035b7
JM
135332013-01-02 Joseph Myers <joseph@codesourcery.com>
13534
e6898b8d
JM
13535 * NEWS: Update dates in second copyright notice.
13536 * README: Update copyright dates in example.
13537 * manual/libc.texinfo: Update copyright dates.
13538 * scripts/test-installation.pl: Update copyright date in --version
13539 output.
13540
0e2f9562
JM
13541 * hurd/ctty-input.c: Fix copyright notice formatting.
13542 * hurd/ctty-output.c: Likewise.
13543 * hurd/dtable.c: Likewise.
13544 * hurd/hurd-raise.c: Likewise.
13545 * hurd/hurdprio.c: Likewise.
13546 * hurd/msgportdemux.c: Likewise.
13547 * misc/sys/file.h: Likewise.
13548 * misc/sys/ioctl.h: Likewise.
13549 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13550 * sysdeps/mach/hurd/chdir.c: Likewise.
13551 * sysdeps/mach/hurd/fchdir.c: Likewise.
13552 * sysdeps/mach/hurd/rename.c: Likewise.
13553 * sysdeps/mach/hurd/rmdir.c: Likewise.
13554 * sysdeps/mach/hurd/seekdir.c: Likewise.
13555 * sysdeps/mach/hurd/setsid.c: Likewise.
13556 * sysdeps/posix/wait3.c: Likewise.
13557
568035b7
JM
13558 * All files with FSF copyright notices: Update copyright dates
13559 using scripts/update-copyrights.
13560 * intl/plural.c: Regenerated.
13561 * locale/programs/charmap-kw.h: Likewise.
13562 * locale/programs/locfile-kw.h: Likewise.
13563
da08f647
SP
135642013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13565
0f5477af
SP
13566 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
13567 four values.
13568
44e0d4c2
SP
13569 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
13570 calculation loop and add branch prediction.
13571
4d55b4e5
SP
13572 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
13573 check access beyond bounds of m1np.
13574
da08f647
SP
13575 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13576 MPTWO.
13577 (__inv): Remove local variable MPTWO to use the global
13578 constant.
13579 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
13580 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13581 variable MPTWO.
13582 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
13583 MP3HALFS static const.
13584
8e051029
DM
135852013-01-01 David S. Miller <davem@davemloft.net>
13586
13587 * po/ca.po: Update from translation team.
13588
f4cf5f2d
JM
135892013-01-01 Joseph Myers <joseph@codesourcery.com>
13590
13591 * scripts/update-copyrights: New file.
13592 * Makeconfig: Reformat copyright notice.
13593 * ctype/ctype.h: Likewise.
13594 * debug/swprintf_chk.c: Likewise.
13595 * elf/dl-cache.c: Likewise.
13596 * elf/dl-debug.c: Likewise.
13597 * elf/dl-object.c: Likewise.
13598 * grp/initgroups.c: Likewise.
13599 * hurd/Makefile: Likewise.
13600 * hurd/hurd/signal.h: Likewise.
13601 * hurd/hurdfault.c: Likewise.
13602 * hurd/hurdioctl.c: Likewise.
13603 * hurd/hurdlookup.c: Likewise.
13604 * hurd/intr-msg.c: Likewise.
13605 * iconv/gconv_open.c: Likewise.
13606 * libio/swprintf.c: Likewise.
13607 * locale/lc-ctype.c: Likewise.
13608 * locale/nl_langinfo.c: Likewise.
13609 * mach/Machrules: Likewise.
13610 * mach/Makefile: Likewise.
13611 * malloc/obstack.h: Likewise.
13612 * manual/Makefile: Likewise.
13613 * manual/tsort.awk: Likewise.
13614 * misc/bits/stab.def: Likewise.
13615 * nis/nis_print_group_entry.c: Likewise.
13616 * nis/nis_table.c: Likewise.
13617 * nis/nss_compat/compat-pwd.c: Likewise.
13618 * nis/nss_compat/compat-spwd.c: Likewise.
13619 * po/Makefile: Likewise.
13620 * posix/fnmatch.c: Likewise.
13621 * posix/regex.h: Likewise.
13622 * resolv/Makefile: Likewise.
13623 * resolv/nss_dns/dns-network.c: Likewise.
13624 * resolv/res_hconf.c: Likewise.
13625 * scripts/gen-sorted.awk: Likewise.
13626 * soft-fp/soft-fp.h: Likewise.
13627 * stdio-common/printf.h: Likewise.
13628 * stdlib/monetary.h: Likewise.
13629 * stdlib/random.c: Likewise.
13630 * stdlib/random_r.c: Likewise.
13631 * sysdeps/generic/Makefile: Likewise.
13632 * sysdeps/gnu/Makefile: Likewise.
13633 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13634 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13635 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13636 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13637 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13638 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13639 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13640 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13641 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13642 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13643 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13644 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13645 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13646 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13647 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
13648 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13649 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13650 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13651 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13652 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13653 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13654 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13655 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13656 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13657 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
13658 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13659 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13660 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
13661 * sysdeps/mach/hurd/errnos.awk: Likewise.
13662 * sysdeps/mach/hurd/fork.c: Likewise.
13663 * sysdeps/mach/hurd/getcwd.c: Likewise.
13664 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
13665 * sysdeps/mach/hurd/mmap.c: Likewise.
13666 * sysdeps/mach/hurd/utimes.c: Likewise.
13667 * sysdeps/mach/hurd/xmknod.c: Likewise.
13668 * sysdeps/posix/profil.c: Likewise.
13669 * sysdeps/posix/readdir_r.c: Likewise.
13670 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13671 * sysdeps/powerpc/bits/setjmp.h: Likewise.
13672 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
13673 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13674 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13675 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13676 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13677 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13678 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13679 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13680 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13681 * sysdeps/pthread/lio_listio.c: Likewise.
13682 * sysdeps/sparc/dl-procinfo.h: Likewise.
13683 * sysdeps/unix/i386/sysdep.S: Likewise.
13684 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
13685 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
13686 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
13687 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
13688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13689 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
13690 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
13691 * sysdeps/unix/sysv/linux/speed.c: Likewise.
13692 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
13693 * sysdeps/wordsize-32/divdi3.c: Likewise.
13694 * time/sys/time.h: Likewise.
13695 * wcsmbs/Makefile: Likewise.
13696
0549fbba
DM
136972013-01-01 David S. Miller <davem@davemloft.net>
13698
a141f1a7
DM
13699 * po/fr.po: Update from translation team.
13700
0549fbba
DM
13701 * catgets/gencat.c: Update copyright year.
13702 * csu/version.c: Likewise.
13703 * debug/catchsegv.sh: Likewise.
13704 * debug/pcprofiledump.c: Likewise.
13705 * debug/xtrace.sh: Likewise.
13706 * elf/ldconfig.c: Likewise.
13707 * elf/ldd.bash.in: Likewise.
13708 * elf/pldd.c: Likewise.
13709 * elf/sotruss.ksh: Likewise.
13710 * elf/sprof.c: Likewise.
13711 * iconv/iconv_prog.c: Likewise.
13712 * iconv/iconvconfig.c: Likewise.
13713 * locale/programs/locale.c: Likewise.
13714 * locale/programs/localedef.c: Likewise.
13715 * login/programs/pt_chown.c: Likewise.
13716 * malloc/memusage.sh: Likewise.
13717 * malloc/memusagestat.c: Likewise.
13718 * malloc/mtrace.pl: Likewise.
13719 * nscd/nscd.c: Likewise.
13720 * nss/getent.c: Likewise.
13721 * nss/makedb.c: Likewise.
13722 * posix/getconf.c: Likewise.
13723
18ea052c
SP
137242012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13725
13726 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
13727 numbers.
13728
9c89fca6
MF
137292012-12-30 Mike Frysinger <vapier@gentoo.org>
13730
13731 * math/bits/mathcalls.h (modf): Use __nonnull.
13732
085ec079
SP
137332012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13734
13735 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
13736 (split): Use macro CN instead of the bare value.
13737 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
13738 could be used.
13739 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
13740 instead of the bare value.
13741 (power1): Likewise.
13742
6d9f97e1
SP
137432012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13744
d63f73be
SP
13745 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
13746 __ATAN_TWOM.
13747 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13748
6d9f97e1
SP
13749 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
13750 their values.
13751 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13752 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13753 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
13754 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13755
4c4febf5
AJ
137562012-12-28 Andreas Jaeger <aj@suse.de>
13757
af5843ef
AJ
13758 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
13759 values are from Linux 3.7.
13760
4c4febf5
AJ
13761 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
13762 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
13763
99136f82
SP
137642012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13765
2f216c3c 13766 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
13767 TRUE case.
13768
99136f82
SP
13769 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
13770 (norm): Likewise.
13771 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
13772 variables with preprocessor constants.
13773 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13774 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13775 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13776
7fffbdff
BH
137772012-12-27 Bruno Haible <bruno@clisp.org>
13778
13779 [BZ #14317]
13780 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
13781 only if needed.
13782
b76eb5f0
SP
137832012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13784
31a7fe5c
SP
13785 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
13786 and use variable directly.
13787 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
13788
b76eb5f0
SP
13789 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13790 MPONE.
13791 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
13792 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13793 variable MPONE.
13794 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
13795 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13796 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
13797 include directive. Remove local variable MPONE.
13798 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
13799 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
13800 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13801
2c8bfe7d
DM
138022012-12-25 David S. Miller <davem@davemloft.net>
13803
13804 * version.h (RELEASE): Set to "development".
13805 (VERSION): Set to "2.17.90".
13806 * NEWS: Add 2.18 section.
13807
147d03b0
DM
138082012-12-21 David S. Miller <davem@davemloft.net>
13809
13810 * po/hr.po: Update from translation team.
13811
a8ebb2b9
AK
138122012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13813
13814 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
13815
95b4f1b6
SE
138162012-12-19 Steve Ellcey <sellcey@mips.com>
13817
b2d94007 13818 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 13819
cedb2a90
MS
138202012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13821
13822 * manual/contrib.texi (Contributors): Spelling correction.
13823
bbf527d6
DM
138242012-12-15 David S. Miller <davem@davemloft.net>
13825
13826 * po/ru.po: Update from translation team.
13827
bc38c906
DM
138282012-12-13 David S. Miller <davem@davemloft.net>
13829
85429b1a
DM
13830 * NEWS: Mention IFUNC testsuite enhancements.
13831
d283e353
DM
13832 * po/pl.po: Update from translation team.
13833 * po/bg.po: Likewise.
13834
bc38c906
DM
13835 * manual/contrib.texi (Contributors): Update entries for Hongjiu
13836 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
13837
a181b0d7
DM
138382012-12-11 David S. Miller <davem@davemloft.net>
13839
4641d57e
DM
13840 * po/sv.po: Update from translation team.
13841
f7bc6495
DM
13842 * po/vi.po: Update from translation team.
13843
6fc9048f
DM
13844 * po/cs.po: Update from translation team.
13845
a181b0d7
DM
13846 * po/de.po: Update from translation team.
13847 * po/eo.po: Likewise.
13848 * po/nl.po: Likewise.
13849
f70bfe80
SP
138502012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13851
3c8b4190
SP
13852 [BZ #14246]
13853 * manual/argp.texi (Argp Helper Functions): Move node to follow
13854 Argp Parsing State.
13855
f70bfe80
SP
13856 [BZ #14872]
13857 * manual/conf.texi (Limits on File System Capacity): Mention if
13858 terminating null is included in the max size.
13859
188f0adf
AJ
138602012-12-10 Andreas Jaeger <aj@suse.de>
13861
13862 * po/cs.po: Update from translation team.
13863
56e7d3ad
SP
138642012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13865
13866 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
13867 void pointer and cast to uintptr_t.
13868 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
13869 path.
13870 * sysdeps/s390/s390-64/memcpy.S: Likewise.
13871 * sysdeps/s390/s390-64/memset.S: Likewise.
13872
76f2d2ea 138732012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
13874
13875 [BZ #14833]
13876 * menual/message.texi (Message Translation): Fix typos.
13877 (Helper programs for gettext): Likewise.
13878
67cbf9a2
AS
138792012-12-07 Andreas Schwab <schwab@linux-m68k.org>
13880
13881 [BZ #14898]
13882 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
13883 Change to -1.
13884
682d0e9a
DM
138852012-12-07 David S. Miller <davem@davemloft.net>
13886
13887 * po/libc.pot: Update.
13888
573cd484
RH
138892012-12-07 Richard Henderson <rth@redhat.com>
13890
7e9da188 13891 [BZ #10114]
573cd484
RH
13892 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
13893 normal/normal case to before the switch.
13894 (_FP_DIV): Likewise.
13895
e933a943
MF
138962012-12-06 Carlos O'Donell <carlos@systemhalted.org>
13897 Mike Frysinger <vapier@gentoo.org>
13898
13899 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
13900 check for __NR_fadvise64_64.
13901
82123268
CM
139022012-12-06 Chris Metcalf <cmetcalf@tilera.com>
13903
13904 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
13905 0, not just to plain "0" as a statement.
13906 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
13907 with cw.
13908
d9814526
JM
139092012-12-06 Joseph Myers <joseph@codesourcery.com>
13910
13911 * NEWS: Use sourceware.org in Bugzilla URL.
13912
7728c574
SP
139132012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13914
f16946dd
SP
13915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13916 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13917
5704bbcb
SP
13918 * stdio-common/tst-put-error.c (do_test): Add newline to the
13919 padded test to ensure flush.
13920
17aa0516
JL
139212012-12-05 Jeff Law <law@redhat.com>
13922
13923 * sunrpc/etc.rpc (fedfs_admin): Add entry.
13924
363313b5
JM
139252012-12-05 Joseph Myers <joseph@codesourcery.com>
13926
effbd42a
JM
13927 * README: Don't refer to ports add-on as distributed separately.
13928 Mention AArch64 in list of systems supported in the ports add-on.
13929
87600365
JM
13930 * LICENSES: Add more non-FSF copyright and license notices.
13931
a0d7066a
JM
13932 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
13933 ((unused)).
13934
66ca5a5b
JM
13935 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
13936
363313b5
JM
13937 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
13938 10000 as width of padded output.
13939
b37984ad
JM
139402012-12-04 Joseph Myers <joseph@codesourcery.com>
13941
9003570a
JM
13942 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
13943
b37984ad
JM
13944 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
13945 variable LX with __attribute__ ((unused)).
13946 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13947 Likewise.
13948 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13949 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13950 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
13951 with __attribute__ ((unused)).
13952
c8df52ec
DM
139532012-12-04 David S. Miller <davem@abraco.davemloft.net>
13954
13955 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
13956
b3b099af
JM
139572012-12-04 Joseph Myers <joseph@codesourcery.com>
13958
c33aa6e3
JM
13959 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
13960 (CFLAGS-nldbl-acos.c): New variable.
13961 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
13962 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
13963 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
13964 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
13965 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
13966 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
13967 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
13968 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
13969 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
13970 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
13971 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
13972 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
13973 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
13974 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
13975 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
13976 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
13977 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
13978 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
13979 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
13980 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
13981 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
13982 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
13983 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
13984 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
13985 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
13986 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
13987 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
13988 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
13989 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
13990 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
13991 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
13992 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
13993 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
13994 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
13995 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
13996 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
13997 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
13998 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
13999 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
14000 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
14001 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
14002 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
14003 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
14004 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
14005 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
14006 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
14007 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
14008 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
14009 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
14010 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
14011 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
14012 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
14013 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
14014 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
14015 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
14016 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
14017 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
14018 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
14019 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
14020 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
14021 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
14022 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
14023 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
14024 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
14025 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
14026 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
14027 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
14028 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
14029 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
14030 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
14031 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
14032 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
14033 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
14034 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
14035 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
14036 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
14037 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
14038 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
14039 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
14040 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
14041 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
14042 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
14043 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
14044 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
14045 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
14046 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
14047 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
14048 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
14049 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
14050 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
14051 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
14052 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
14053 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
14054 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
14055 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
14056 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
14057 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
14058
20f0018d
JM
14059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14060 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14061
b3b099af
JM
14062 [BZ #14914]
14063 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
14064 whole low double instead of just low 47 bits when splitting values
14065 into two parts.
14066
029264d1
AM
140672012-12-03 Allan McRae <allan@archlinux.org>
14068
14069 * manual/stdio.texi (Predefined Printf Handlers): Remove
14070 @hsep and @vsep usage.
14071
c9d6789e
MF
140722012-12-03 Mike Frysinger <vapier@gentoo.org>
14073
14074 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
14075 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
14076
4b7634a5
JL
140772012-12-03 Jeff Law <law@redhat.com>
14078
14079 * time/sys/time.h (settimeofday): Do not mark TV argument
14080 as __nonnull.
14081
eb6cbd24
MF
140822012-12-01 Mike Frysinger <vapier@gentoo.org>
14083
14084 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
14085 when currently writing and seek to current position when not.
14086 * libio/Makefile (tests): Remove bug-fclose1.
14087 * libio/bug-fclose1.c: Delete.
14088
f638872a
JM
140892012-12-01 Joseph Myers <joseph@codesourcery.com>
14090
14091 * manual/arith.texi (feenableexcept): Fix typo.
14092 (fedisableexcept): Likewise.
14093
48085d14
RM
140942012-11-30 Roland McGrath <roland@hack.frob.com>
14095
14096 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
14097 second, differently-typed declaration, rather than a cast.
14098
1a538b9f
SP
140992012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14100
14101 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
14102 * include/rpc/svc.h: ... here.
14103
d07f2ff1 141042012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
14105
14106 [BZ #13013]
14107 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
14108 depending n and resplen2 to catch cases where answer
14109 equals answerp2.
14110
c93ec1f0
CD
141112012-11-29 Carlos O'Donell <carlos@systemhalted.org>
14112
14113 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
14114 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
14115
37db69de
MF
141162012-11-29 Mike Frysinger <vapier@gentoo.org>
14117
14118 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
14119
e10c4e4f
RM
141202012-11-29 Roland McGrath <roland@hack.frob.com>
14121
14122 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
14123
2af1b328
JL
141242012-11-28 Jeff Law <law@redhat.com>
14125
14126 [BZ #13761]
14127 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
14128 dataset_temporary. Track alloca usage into alloca_used.
14129 If dataset is large allocate and release it via malloc/free.
14130
111db5b1
FW
141312012-06-04 Florian Weimer <fweimer@redhat.com>
14132
f06cc227 14133 [BZ #14197]
111db5b1
FW
14134 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
14135
dd694abd
DM
141362012-11-28 David S. Miller <davem@davemloft.net>
14137
14138 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14139
9984dd01
JM
141402012-11-28 Joseph Myers <joseph@codesourcery.com>
14141
14142 [BZ #14803]
14143 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
14144 of pi/2 rounded to nearest to 64 bits.
14145 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
14146 nearest to 64 bits.
14147 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
14148 bits.
14149
14bc93a9
JL
141502012-11-28 Jeff Law <law@redhat.com>
14151 Martin Osvald <mosvald@redhat.com>
14152
14153 [BZ #14889]
14154 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
14155 * sunrpc/svc.c: Include time.h.
14156 (__svc_accept_failed): New function.
14157 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
14158 any reason other than EINTR, call __svc_accept_failed.
14159 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
14160 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
14161
e3c6aa3a
AS
141622012-11-28 Andreas Schwab <schwab@suse.de>
14163
14164 * scripts/abilist.awk: Also handle indirect functions in .opd
14165 section.
14166
1bead169
JM
141672012-11-28 Joseph Myers <joseph@codesourcery.com>
14168
14169 [BZ #13881]
14170 * sysdeps/x86/fpu/powl_helper.c: New file.
14171 * sysdeps/x86/fpu/Makefile: Likewise.
14172 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
14173 (p3): New object.
14174 (__ieee754_powl): Use __powl_helper for finite arguments except
14175 integer exponents below 8.
14176 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
14177 (p3): New object.
14178 (__ieee754_powl): Use __powl_helper for finite arguments except
14179 integer exponents below 8.
14180 * math/libm-test.inc (pow_test): Add more tests and enable some
14181 previously disabled tests.
14182 * sysdeps/i386/fpu/libm-test-ulps: Update.
14183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14184
0817d63d
SP
141852012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14186 Carlos O'Donell <carlos_odonell@mentor.com>
14187
14188 * nss/makedb.c (is_prime): Assert that input is odd and greater
14189 than 4. Note that fact in a comment too.
14190 (next_prime): Add 4 to input.
14191
de2fd463
SP
141922012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14193
14194 [BZ #11741]
14195 * libio/Makefile (tests): Add test case tst-fwrite-error.
14196 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
14197 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
14198 * libio/tst-fwrite-error.c: New test case.
14199
c515fb51
L
142002012-11-26 H.J. Lu <hongjiu.lu@intel.com>
14201
14202 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
14203 before casting to void *.
14204 * include/libc-internal.h (__pointer_type): New macro.
14205 (__integer_if_pointer_type_sub): Likewise.
14206 (__integer_if_pointer_type): Likewise.
14207 (cast_to_integer): Likewise.
14208 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
14209 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
14210 before casting to atomic64_t.
14211 (atomic_exchange_acq): Likewise.
14212 (__arch_exchange_and_add_body): Likewise.
14213 (__arch_add_body): Likewise.
14214 (atomic_add_negative): Likewise.
14215 (atomic_add_zero): Likewise.
14216
4cf77aa9
JM
142172012-11-26 Joseph Myers <joseph@codesourcery.com>
14218
14219 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
14220 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
14221 (add_fdes): Likewise.
14222 (linear_search_fdes): Likewise.
14223 (binary_search_unencoded_fdes): Likewise.
14224
d260b3b4
AS
142252012-11-26 Andreas Schwab <schwab@linux-m68k.org>
14226
14227 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
14228
67060746
AC
142292012-11-24 Adam Conrad <adconrad@0c3.net>
14230
14231 * configure.in: Autodetect C++ header directories.
14232 * configure: Regenerated.
14233
800938a1
MF
142342012-11-23 Mike Frysinger <vapier@gentoo.org>
14235
14236 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
14237
4e6e34e6
AS
142382012-11-23 Andreas Schwab <schwab@linux-m68k.org>
14239
14240 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14241
7c7feb47
JM
142422012-11-22 Joseph Myers <joseph@codesourcery.com>
14243
7184dcdf
JM
14244 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
14245 LDBL_MANT_DIG == 106]: Disable some tests.
14246 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14247 Likewise.
14248 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14249 Likewise.
14250
0a42601f
JM
14251 [BZ #14871]
14252 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
14253 input for small inputs. Return +/- pi/2 for large inputs.
14254 * math/libm-test.inc (atan_test): Add more tests.
14255
79c9b9fe
JM
14256 * sysdeps/generic/unwind-dw2-fde-glibc.c
14257 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
14258 __attribute__ ((unused)).
14259
c60d3bf2
JM
14260 [BZ #14645]
14261 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
14262 x * y if x and y are nonzero and z is zero.
14263
ef1e0867
JM
14264 [BZ #14811]
14265 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
14266 nonzero exponents with absolute value below 0x1p-117 to +/-
14267 0x1p-117.
14268
1468ded3
JM
14269 [BZ #14869]
14270 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
14271 up arguments below 2**-450, not just those below 2**-500.
14272 * math/libm-test.inc (hypot_test): Add another test.
14273
8e27e3cc
JM
14274 [BZ #14868]
14275 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14276 Return a+b for ratio over 2**120, not 2**60.
14277 * math/libm-test.inc (hypot_test): Add another test.
14278
c9c0279b
JM
14279 * math/libm-test.inc (clog_test): Use
14280 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
14281 (clog10_test): Likewise.
14282
7c7feb47
JM
14283 [BZ #6778]
14284 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
14285
fff1530e
AS
142862012-11-22 Andreas Schwab <schwab@suse.de>
14287
14288 * sysdeps/i386/fpu/libm-test-ulps: Update.
14289
94558d30
PT
142902012-11-22 Pino Toscano <toscano.pino@tiscali.it>
14291
14292 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
14293 printf output with newline.
14294
7e1be741
L
142952012-11-21 H.J. Lu <hongjiu.lu@intel.com>
14296
6bfea974
L
14297 [BZ #14865]
14298 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
14299 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
14300 -z nodlopen, -z initfirst and -z execstack support.
14301 * configure: Regenerated.
14302
7e1be741
L
14303 * elf/elf.h (DF_1_NODIRECT): New macro.
14304 (DF_1_IGNMULDEF): Likewise.
14305 (DF_1_NOKSYMS): Likewise.
14306 (DF_1_NOHDR): Likewise.
14307 (DF_1_EDITED): Likewise.
14308 (DF_1_NORELOC): Likewise.
14309 (DF_1_SYMINTPOSE): Likewise.
14310 (DF_1_GLOBAUDIT): Likewise.
14311 (DF_1_SINGLETON): Likewise.
14312 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
14313 DT_1_SUPPORTED_MASK bits.
14314 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
14315
105ce2ce
CD
143162012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
14317
14318 * sysdeps/unix/make-syscalls.sh: Document prefixes.
14319
123be9de
TS
143202012-11-20 Thomas Schwinge <thomas@codesourcery.com>
14321
d072f3f7
TS
14322 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
14323 macro.
14324
123be9de
TS
14325 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
14326 (sendmmsg): Move declarations...
14327 * socket/sys/socket.h: ... here.
14328 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
14329 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
14330 include it from...
14331 * socket/recvmmsg.c: ... this new file.
14332 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
14333 (sendmmsg): Rename to __sendmmsg, create weak alias and make
14334 definition of __sendmmsg hidden.
14335 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
14336 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
14337 Move ENOSYS stub into and include it from...
14338 * socket/sendmmsg.c: ... this new file.
14339 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
14340 (sysdep_routines): Move recvmmsg and sendmmsg...
14341 * socket/Makefile (routines): ... here.
14342 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
14343 (GLIBC_PRIVATE): Add __sendmmsg.
14344 * include/sys/socket.h (__sendmmsg): Add declarations.
14345 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
14346 sendmmsg.
14347
cf9a5d18
JM
143482012-11-20 Joseph Myers <joseph@codesourcery.com>
14349
14350 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
14351 variable I1 with __attribute__ ((unused)).
14352 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14353
ecd4caf9
JM
143542012-11-19 Joseph Myers <joseph@codesourcery.com>
14355
be14d48f
JM
14356 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
14357 DUMMY variables with __attribute__ ((unused)).
14358
ecd4caf9
JM
14359 * bits/byteswap.h: Include <bits/types.h>.
14360 (__bswap_64): Use __uint64_t instead of unsigned long long int.
14361
986cab95
PT
143622012-11-19 Pino Toscano <toscano.pino@tiscali.it>
14363
14364 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
14365 string_t. Do not manually set errno.
14366 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
14367 length with __strnlen. Make sure to both set errno and return it on
14368 failure.
14369
6d33cc9d
DM
143702012-11-19 David S. Miller <davem@davemloft.net>
14371
14372 With help from Joseph Myers.
14373 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
14374 very large arguments properly.
14375 * math/libm-test.inc (atan_test): New tests.
14376 (atan2_test): New tests.
14377 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14378 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14379
ee663277
JM
143802012-11-19 Joseph Myers <joseph@codesourcery.com>
14381
877f2d8e
JM
14382 [BZ #14856]
14383 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
14384 Define to 3.
14385
116fc08a
JM
14386 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
14387 [POSIX] (EADDRNOTAVAIL): Likewise.
14388 [POSIX] (EAFNOSUPPORT): Likewise.
14389 [POSIX] (EALREADY): Likewise.
14390 [POSIX] (ECONNABORTED): Likewise.
14391 [POSIX] (ECONNREFUSED): Likewise.
14392 [POSIX] (ECONNRESET): Likewise.
14393 [POSIX] (EDESTADDRREQ): Likewise.
14394 [POSIX] (EDQUOT): Likewise.
14395 [POSIX] (EHOSTUNREACH): Likewise.
14396 [POSIX] (EIDRM): Likewise.
14397 [POSIX] (EISCONN): Likewise.
14398 [POSIX] (ELOOP): Likewise.
14399 [POSIX] (EMULTIHOP): Likewise.
14400 [POSIX] (ENETDOWN): Likewise.
14401 [POSIX] (ENETUNREACH): Likewise.
14402 [POSIX] (ENOBUFS): Likewise.
14403 [POSIX] (ENODATA): Likewise.
14404 [POSIX] (ENOLINK): Likewise.
14405 [POSIX] (ENOMSG): Likewise.
14406 [POSIX] (ENOPROTOOPT): Likewise.
14407 [POSIX] (ENOSR): Likewise.
14408 [POSIX] (ENOSTR): Likewise.
14409 [POSIX] (ENOTCONN): Likewise.
14410 [POSIX] (ENOTSOCK): Likewise.
14411 [POSIX] (EOPNOTSUPP): Likewise.
14412 [POSIX] (EOVERFLOW): Likewise.
14413 [POSIX] (EPROTO): Likewise.
14414 [POSIX] (EPROTONOSUPPORT): Likewise.
14415 [POSIX] (EPROTOTYPE): Likewise.
14416 [POSIX] (ESTALE): Likewise.
14417 [POSIX] (ETIME): Likewise.
14418 [POSIX] (ETXTBSY): Likewise.
14419 [POSIX] (EWOULDBLOCK): Likewise.
14420 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
14421 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
14422 [POSIX] (SEEK_CUR): Likewise.
14423 [POSIX] (SEEK_END): Likewise.
14424 [POSIX || UNIX98] (mode_t): Do not require.
14425 [POSIX] (off_t): Likewise.
14426 [POSIX] (pid_t): Likewise.
14427 [POSIX] (sys/stat.h): Do not allow header.
14428 [POSIX] (unistd.h): Likewise.
14429 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
14430 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
14431 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
14432 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
14433 require.
14434 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
14435 sigevent): Specify elements.
14436 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
14437 entry.
14438 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
14439 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
14440
a483863f
JM
14441 * conform/data/cpio.h-data [POSIX]: Disable whole file.
14442 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
14443 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
14444 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
14445 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
14446 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
14447 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
14448 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
14449 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
14450 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
14451 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
14452 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
14453 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
14454 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
14455 Likewise.
14456 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
14457 Likewise.
14458 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
14459 Likewise.
14460 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
14461 Likewise.
14462 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
14463 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
14464 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
14465 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
14466 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
14467 Specify lower bound on value.
14468 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
14469 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
14470 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
14471 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
14472 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
14473 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
14474 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
14475 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
14476 value.
14477 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
14478 as optional.
14479 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
14480 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
14481 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
14482 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
14483 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
14484 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
14485 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
14486 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
14487 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
14488 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
14489 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
14490 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
14491 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
14492 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
14493 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
14494 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
14495 entry.
14496 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
14497 optional.
14498 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
14499 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
14500 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
14501 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
14502 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
14503 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
14504 Likewise.
14505 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
14506 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
14507 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
14508 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
14509 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
14510 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
14511 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
14512 as optional.
14513 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
14514 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
14515 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
14516 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
14517 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
14518 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
14519 specify as optional.
14520 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
14521 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
14522 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
14523 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
14524 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
14525 [XPG3] (NL_LANGMAX): Likewise.
14526 [POSIX || XPG3] (NL_MSGMAX): Likewise.
14527 [POSIX || XPG3] (NL_NMAX): Likewise.
14528 [POSIX || XPG3] (NL_SETMAX): Likewise.
14529 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
14530 [XPG3] (NZERO): Likewise.
14531 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
14532 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
14533 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
14534 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
14535 (REG_ERANGE): Expect.
14536 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
14537 optional-constant.
14538 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
14539 Use (void) in prototype.
14540 [POSIX] (*_t): Allow.
14541 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
14542 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
14543 (WRDE_BADVAL): Expect.
14544
5ba924e3
JM
14545 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
14546 expect.
14547 [XPG3 || XPG4] (O_RSYNC): Likewise.
14548 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
14549 Likewise.
14550 [XPG3 || XPG4] (pthread_sigmask): Likewise.
14551 [XPG3 || XPG4] (sigqueue): Likewise.
14552 [XPG3 || XPG4] (sigtimedwait): Likewise.
14553 [XPG3 || XPG4] (sigwaitinfo): Likewise.
14554 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
14555 [XPG3 || XPG4] (vsnprintf): Likewise.
14556 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
14557 Likewise.
14558 [XPG3 || XPG4] (blksize_t): Likewise.
14559 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
14560 Likewise.
14561 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
14562 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
14563 [XPG3 || XPG4] (struct itimerspec): Likewise.
14564 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
14565 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
14566 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
14567 [XPG3 || XPG4] (clockid_t): Likewise.
14568 [XPG3 || XPG4] (timer_t): Likewise.
14569 [XPG3 || XPG4] (clock_getres): Likewise.
14570 [XPG3 || XPG4] (clock_gettime): Likewise.
14571 [XPG3 || XPG4] (clock_settime): Likewise.
14572 [XPG3 || XPG4] (nanosleep): Likewise.
14573 [XPG3 || XPG4] (timer_create): Likewise.
14574 [XPG3 || XPG4] (timer_delete): Likewise.
14575 [XPG3 || XPG4] (timer_gettime): Likewise.
14576 [XPG3 || XPG4] (timer_getoverrun): Likewise.
14577 [XPG3 || XPG4] (timer_settime): Likewise.
14578 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
14579 [XPG3 || XPG4] (getlogin_r): Likewise.
14580 [XPG3 || XPG4] (pread): Likewise.
14581 [XPG3 || XPG4] (pthread_atfork): Likewise.
14582 [XPG3 || XPG4] (pwrite): Likewise.
14583
ee663277
JM
14584 [BZ #14835]
14585 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
14586 <bits/siginfo.h>.
14587
942caa16
PT
145882012-11-19 Pino Toscano <toscano.pino@tiscali.it>
14589
e19af380
PT
14590 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
14591 finalizing MALLSTREAM.
14592
942caa16
PT
14593 * sysdeps/mach/hurd/syncfs.c: New file.
14594
cfde9b46
SP
145952012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14596
14597 [BZ #14719]
14598 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
14599 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
14600 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
14601 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
14602 (_nss_dns_gethostbyname4_r): Likewise.
14603 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
14604 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
14605
f6da27e5
PH
146062012-11-19 Peng Haitao <penght@cn.fujitsu.com>
14607
14608 [BZ #13763]
14609 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
14610
6665d4a2
SM
146112012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
14612
1f51ee92
SM
14613 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
14614 * elf/cache.c (print_entry): Print ",AArch64" for
14615 FLAG_AARCH64_LIB64
14616
6665d4a2
SM
14617 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
14618 * elf/cache.c (print_entry): Print ",hard-float" for
14619 FLAG_ARM_LIBHF.
14620
05b227bd
DM
146212012-11-18 David S. Miller <davem@davemloft.net>
14622
14623 With help from Joseph Myers.
14624 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
14625 cutoff to 2**-13.
14626 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
14627 cutoff to 2**-25.
14628 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
14629 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
14630 small.
14631 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
14632 * math/libm-test.inc (y0_test): New tests.
14633 (y1_test): New tests.
14634 * sysdeps/i386/fpu/libm-test-ulps: Update.
14635 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14636 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14637
786b0b67
AS
146382012-11-18 Andreas Schwab <schwab@linux-m68k.org>
14639
14640 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
14641 64-bit targets.
14642 * configure: Regenerated.
14643
8e18b86d
DM
146442012-11-17 David S. Miller <davem@davemloft.net>
14645
14646 [BZ #14811]
14647 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
14648 nonzero exponents with absolute value below 0x1p-128 to +/-
14649 0x1p-128.
14650
531f1ae0
JM
146512012-11-17 Joseph Myers <joseph@codesourcery.com>
14652
12df29e2
JM
14653 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
14654
150dc1a0
JM
14655 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
14656
531f1ae0
JM
14657 * posix/getconf-speclist.c: New file.
14658 * posix/posix-envs.def: Likewise.
14659 * posix/confstr.c (START_ENV_GROUP): New macro.
14660 (END_ENV_GROUP): Likewise.
14661 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14662 (KNOWN_PRESENT_ENV_STRING): Likewise.
14663 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14664 (UNKNOWN_ENVIRONMENT): Likewise.
14665 (confstr): Include posix-envs.def instead of handling
14666 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
14667 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
14668 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
14669 (END_ENV_GROUP): Likewise.
14670 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14671 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14672 (UNKNOWN_ENVIRONMENT): Likewise.
14673 (__sysconf): Include posix-envs.def instead of handling associated
14674 cases directly here.
14675 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
14676 preprocessing getconf-speclist.c rather than running getconf or
14677 generating empty file.
14678
a93f9cbc
PT
146792012-11-16 Pino Toscano <toscano.pino@tiscali.it>
14680
14681 * scripts/check-local-headers.sh: Ignore 'mach' headers.
14682
d64d9f87
AL
146832012-11-16 Andrej Lajovic <natrij@gmail.com>
14684
14685 [BZ #14672]
14686 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
14687
447885eb
DM
146882012-11-16 David S. Miller <davem@davemloft.net>
14689
14690 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
14691 smaller than LDBL_EPSILON/2.0L, just return xm1.
14692
bcbf9830
L
146932012-11-16 H.J. Lu <hongjiu.lu@intel.com>
14694
14695 * elf/tst-array1.c (init): Set constructor priority to 1000.
14696 (fini): Set destructor priority to 1000.
14697 * elf/tst-array2dep.c: Likewise.
14698
2b766585
SP
146992012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14700
14701 [BZ #11741]
14702 * libio/fileops.c (_IO_new_file_write): Correctly return error.
14703 (_IO_new_file_xsputn): Also return EOF if none of the input
14704 data was written when overflow failed.
14705 * libio/iopadn.c (_IO_padn): Likewise.
14706 * libio/iowpadn.c (_IO_wpadn): Likewise.
14707 * stdio-common/tst-put-error.c: Add copyright notice.
14708 (do_test): Add case for printing padded string.
14709 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
14710 _IO_padn returned error.
14711 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
14712 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
14713 return EOF.
14714
b1848fde
SP
147152012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14716
14717 * libio/libioP.h: Add comment note that the references to C++
14718 bits are now obsolete.
14719
2fd89785
MS
147202012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14721
14722 * math/libm-test.inc (check_complex): Use asprintf.
14723
e3ea5409
JM
147242012-11-14 Joseph Myers <joseph@codesourcery.com>
14725
14726 * debug/pcprofiledump.c (print_version): Update copyright year.
14727 * malloc/memusagestat.c (print_version): Likewise.
14728
2e64d265
L
147292012-11-14 H.J. Lu <hongjiu.lu@intel.com>
14730
14731 [BZ #14831]
14732 * elf/Makefile (tests): Add tst-audit8.
14733 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
14734 ($(objpfx)tst-audit8.out): New target.
14735 (tst-audit8-ENV): New variable.
14736 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
14737 audit if l_reloc_result is NULL.
14738 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
14739 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
14740 * elf/tst-audit8.c: New file.
14741
c485e4d2
MS
147422012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14743
14744 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
14745 * misc/Makefile (CFLAGS-select.c): Define.
14746 * posix/Makefile (CFLAGS-pause.c): Define.
14747
3a0d900a
DM
147482012-11-13 David S. Miller <davem@davemloft.net>
14749
14750 * crypt/Makefile: Move test targets after toplevel Rules
14751 inclusion. Grab any necessary sysdep routines when linking.
14752 * crypt/md5.c (md5_process_block): Remove define, we will always
14753 name it __md5_process_block.
14754 (md5_finish_ctx): Update md5_process_block call.
14755 (md5_stream): Likewise.
14756 (md5_process_bytes): Likewise.
14757 (md5_process_block): Rename to __md5_process_block and move to ...
14758 * crypt/md5-block.c: ... here.
14759 * crypt/sha256.c (sha256_process_block): Move to ...
14760 * crypt/sha256-block.c: ... here.
14761 * crypt/sha512.c (sha512_process_block): Move to ...
14762 * crypt/sha512-block.c: ... here.
14763 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
14764 path.
14765 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
14766 * sysdeps/sparc/sparc64/multiarch/Makefile
14767 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
14768 crypt subdir.
14769 (localedef-aux): Add md5 crypto assembler when in locale subdir.
14770 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
14771 multiarch changes.
14772 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
14773 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
14774 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
14775 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
14776 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
14777 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
14778 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
14779 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
14780 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
14781 file.
14782 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
14783 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
14784 file.
14785 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
14786
8ca89318
JM
147872012-11-13 Joseph Myers <joseph@codesourcery.com>
14788
e27d476a
JM
14789 * timezone/tzselect.ksh: Update from tzcode git revision
14790 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
14791 * timezone/zdump.c: Likewise.
14792 * timezone/zic.c: Likewise.
14793 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
14794 in TZVERSION setting, not $(PKGVERSION).
14795 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
14796 REPORT_BUGS_TO settings.
14797
8ca89318
JM
14798 [BZ #14838]
14799 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
14800 macro.
14801
47594329
MS
148022012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14803
14804 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
14805 detection to immediately after _FP_ROUND().
14806 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
14807 bits are 0.
14808
640ac3f1
DM
148092012-11-11 David S. Miller <davem@davemloft.net>
14810
14811 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
14812 inttypes.h
14813 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
14814 __close rather than their public counterparts.
14815
3d2577bb
JM
148162012-11-10 Joseph Myers <joseph@codesourcery.com>
14817
14818 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
14819 file.
14820 [UNIX98] (sem_timedwait): Do not expect.
14821 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
14822 [XPG4 || UNIX98] (sockatmark): Do not expect.
14823 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
14824 (clock_getcpuclockid): Do not expect.
14825 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
14826 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
14827 Do not expect.
14828 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
14829 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
14830 [UNIX98] (vwscanf): Likewise.
14831 [UNIX98] (vswscanf): Likewise.
14832
fb1ae1ee
JM
148332012-11-09 Joseph Myers <joseph@codesourcery.com>
14834
9ec6f8bd
JM
14835 * timezone/version.h: Remove file.
14836 * timezone/README: Do not refer to version.h.
14837 * timezone/Makefile ($(objpfx)zic.o): New dependency on
14838 $(objpfx)version.h.
14839 ($(objpfx)zdump.o): Likewise.
c3f81911 14840 ($(objpfx)version.h): New target.
9ec6f8bd 14841
0aa8f8a1
JM
14842 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
14843 2012i.
14844 * timezone/README: Don't mention modification to tzselect.ksh.
14845 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
14846 work on unmodified tzselect.ksh. Substitute version numbers in
14847 tzselect.ksh.
14848
4e87147f
JM
14849 * Makefile (format-me): Remove.
14850 (INSTALL): Adjust indentation. Use commands directly instead of
14851 using $(format-me).
14852
8b748aed
JM
14853 * aclocal.m4 (ACX_PKGVERSION): New macro.
14854 (ACX_BUGURL): Likewise.
14855 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
14856 (PKGVERSION): New AC_DEFINE_UNQUOTED.
14857 (REPORT_BUGS_TO): Likewise.
14858 * configure: Regenerated.
14859 * config.h.in (PKGVERSION): New macro.
14860 (REPORT_BUGS_TO): Likewise.
14861 * config.make.in (PKGVERSION): New variable.
14862 (PKGVERSION_TEXI): Likewise.
14863 (REPORT_BUGS_TO): Likewise.
14864 (REPORT_BUGS_TEXI): Likewise.
14865 * Makefile (format-me): Use -I$(common-objpfx)manual.
14866 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
14867 ($(common-objpfx)manual/%): New target.
14868 (manual/%): Remove target.
14869 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
14870 (print_version): Use PKGVERSION.
14871 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
14872 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
14873 and REPORT_BUGS_TO.
14874 ($(objpfx)xtrace): Likewise.
14875 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
14876 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
14877 (print_version): Use PKGVERSION.
14878 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
14879 (do_version): Use PKGVERSION.
14880 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
14881 REPORT_BUGS_TO.
14882 (common-ldd-rewrite): Likewise.
14883 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
14884 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
14885 (print_version): Use PKGVERSION.
14886 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
14887 * elf/pldd.c (argp_program_bug_address): Remove variable.
14888 (more_help): New function.
14889 (argp): Use more_help.
14890 (print_version): Use PKGVERSION.
14891 * elf/sln.c (main): Use PKGVERSION.
14892 (usage): Use REPORT_BUGS_TO.
14893 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
14894 (top level): Use PKGVERSION.
14895 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
14896 (print_version): Use PKGVERSION.
14897 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
14898 (print_version): Use PKGVERSION.
14899 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
14900 (print_version): Use PKGVERSION.
14901 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
14902 (print_version): Use PKGVERSION.
14903 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
14904 (print_version): Use PKGVERSION.
14905 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
14906 (print_version): Use PKGVERSION.
14907 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
14908 and BUGURL.
14909 ($(objpfx)memusage): Likewise.
14910 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
14911 (do_version): Use PKGVERSION.
14912 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
14913 (print_version): Use PKGVERSION.
14914 * malloc/mtrace.pl ($PACKAGE): Remove variable.
14915 ($PKGVERSION): New variable.
14916 ($REPORT_BUGS_TO): Likewise.
14917 (usage): Use $REPORT_BUGS_TO.
14918 (top level): Use $PKGVERSION.
14919 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
14920 ($(objpfx)pkgvers.texi): New rule.
14921 ($(objpfx)stamp-pkgvers): Likewise.
14922 * manual/install.texi: Include pkgvers.texi.
14923 (--with-pkgversion): Document new configure option.
14924 (--with-bugurl): Likewise.
14925 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
14926 than necessarily for this particular distribution. Use
14927 REPORT_BUGS_TO for where to report bugs.
14928 * INSTALL: Regenerated.
14929 * manual/libc.texinfo: Include pkgvers.texi.
14930 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
14931 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
14932 (print_version): Use PKGVERSION.
14933 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
14934 (print_version): Use PKGVERSION.
14935 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
14936 (print_version): Use PKGVERSION.
14937 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
14938 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
14939 macro.
14940 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
14941 (print_version): Use PKGVERSION.
14942 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
14943 (print_version): Use PKGVERSION.
14944 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
14945 and PKGVERSION.
14946
92e4b6a9
JM
14947 * timezone/checktab.awk: Update from tzcode 2012i.
14948 * timezone/ialloc.c: Likewise.
14949 * timezone/private.h: Likewise.
14950 * timezone/scheck.c: Likewise.
14951 * timezone/tzfile.h: Likewise.
14952 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
14953 (TZVERSION): Hardcode tzcode version number.
14954 * timezone/zdump.c: Update from tzcode 2012i.
14955 * timezone/zic.c: Likewise.
14956 * timezone/version.h: New file.
14957 * timezone/README: Describe version.h. Update upstream location.
14958
9bde902c
JM
14959 [BZ #14824]
14960 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
14961 (mktemp): Enable declaration.
14962 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
14963 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
14964 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
14965 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
14966 Likewise.
14967 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
14968 Likewise.
14969 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
14970 Likewise.
14971 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
14972 Likewise.
14973 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
14974 Likewise.
14975 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
14976 Likewise.
14977
fb1ae1ee
JM
14978 [BZ #14821]
14979 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
14980 offset in buffer as u_int32_t not u_long. Consistently use memcpy
14981 for copies of such integer values.
14982 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14983 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14984
2c1adbcb
AJ
149852012-11-09 Andreas Jaeger <aj@suse.de>
14986
14987 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
14988 definitions and declarations that are provided by
14989 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14990
d0f8457e
AK
149912012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14992
3a235abb 14993 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
14994 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
14995 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
14996 definition.
14997
57241e26
MS
149982012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14999
15000 * elf/elf.h: Update comment before AArch64 relocations.
15001
60e8270d
DM
150022012-11-07 David S. Miller <davem@davemloft.net>
15003
15004 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
15005 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15006 (__start_context): Declare.
15007 (__makecontext_ret): Delete.
15008 (__makecontext): Hook up __start_context instead of
15009 __makecontext_ret.
15010 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
15011 (sysdep_routines): Add __start_context when in stdlib.
15012
0fbb0fbc
JM
150132012-11-07 Joseph Myers <joseph@codesourcery.com>
15014
15015 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
15016 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
15017 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
15018 hardcoded "nm".
15019 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
15020 (READELF): New variable. Use it instead of hardcoded "readelf".
15021
eb48db7e
L
150222012-11-07 H.J. Lu <hongjiu.lu@intel.com>
15023
15024 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
15025 * sysdeps/x86/Makefile: Here.
15026 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
15027 * sysdeps/x86/tst-xmmymm.sh: This.
15028
05bcf62a
JM
150292012-11-07 Joseph Myers <joseph@codesourcery.com>
15030
c4b6cf53
JM
15031 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
15032 expectations.
15033 [UNIX98] (pthread_barrier_t): Do not expect.
15034 [UNIX98] (pthread_barrierattr_t): Likewise.
15035 [UNIX98] (pthread_spinlock_t): Likewise.
15036 [UNIX98] (pthread_barrier_destroy): Likewise.
15037 [UNIX98] (pthread_barrier_init): Likewise.
15038 [UNIX98] (pthread_barrier_wait): Likewise.
15039 [UNIX98] (pthread_barrierattr_destroy): Likewise.
15040 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
15041 [UNIX98] (pthread_barrierattr_init): Likewise.
15042 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
15043 [UNIX98] (pthread_getcpuclockid): Likewise.
15044 [UNIX98] (pthread_mutex_timedlock): Likewise.
15045 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
15046 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
15047 [UNIX98] (pthread_sigmask): Likewise.
15048 [UNIX98] (pthread_spin_destroy): Likewise.
15049 [UNIX98] (pthread_spin_init): Likewise.
15050 [UNIX98] (pthread_spin_lock): Likewise.
15051 [UNIX98] (pthread_spin_trylock): Likewise.
15052 [UNIX98] (pthread_spin_unlock): Likewise.
15053 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
15054 Do not expect.
15055 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
15056 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
15057 [XPG3 || XPG4] (pthread_cond_t): Likewise.
15058 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
15059 [XPG3 || XPG4] (pthread_key_t): Likewise.
15060 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
15061 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
15062 [XPG3 || XPG4] (pthread_once_t): Likewise.
15063 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
15064 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
15065 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
15066 [XPG3 || XPG4] (pthread_t): Likewise.
15067
cbe6e120
JM
15068 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
15069 not expect.
15070 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
15071
1b126443
JM
15072 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
15073 Change function return type to int.
15074
b961a573
JM
15075 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
15076 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
15077 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
15078 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
15079 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
15080 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
15081 [!POSIX] (posix_madvise): Likewise.
15082 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
15083 && !UNIX98].
15084 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
15085 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
15086 (mode_t): Likewise.
15087 (posix_mem_offset): Likewise.
15088 (posix_typed_mem_get_info): Likewise.
15089 (posix_typed_mem_open): Likewise.
15090
9e188909
JM
15091 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
15092 Change condition to [XOPEN2K8].
15093
05bcf62a
JM
15094 * conform/conformtest.pl: Preprocess allow-header data with -x c
15095 instead of from stdin.
15096 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
15097 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
15098 [C99-based standards] (cerfc): Likewise.
15099 [C99-based standards] (cexp2): Likewise.
15100 [C99-based standards] (cexpm1): Likewise.
15101 [C99-based standards] (clog10): Likewise.
15102 [C99-based standards] (clog1p): Likewise.
15103 [C99-based standards] (clog2): Likewise.
15104 [C99-based standards] (clgamma): Likewise.
15105 [C99-based standards] (ctgamma): Likewise.
15106 [C99-based standards] (cerff): Likewise.
15107 [C99-based standards] (cerfcf): Likewise.
15108 [C99-based standards] (cexp2f): Likewise.
15109 [C99-based standards] (cexpm1f): Likewise.
15110 [C99-based standards] (clog10f): Likewise.
15111 [C99-based standards] (clog1pf): Likewise.
15112 [C99-based standards] (clog2f): Likewise.
15113 [C99-based standards] (clgammaf): Likewise.
15114 [C99-based standards] (ctgammaf): Likewise.
15115 [C99-based standards] (cerfl): Likewise.
15116 [C99-based standards] (cerfcl): Likewise.
15117 [C99-based standards] (cexp2l): Likewise.
15118 [C99-based standards] (cexpm1l): Likewise.
15119 [C99-based standards] (clog10l): Likewise.
15120 [C99-based standards] (clog1pl): Likewise.
15121 [C99-based standards] (clog2l): Likewise.
15122 [C99-based standards] (clgammal): Likewise.
15123 [C99-based standards] (ctgammal): Likewise.
15124 * conform/data/inttypes.h-data [C99-based standards]: Include
15125 stdint.h-data. Remove all expectations for stdint.h contents.
15126 [C99-based standards] (PRI*): Do not allow.
15127 [C99-based standards] (SCN*): Likewise.
15128 [C99-based standards] (*_t): Likewise.
15129 [C99-based-standards] (PRId8): Expect macro.
15130 [C99-based-standards] (PRIi8): Likewise.
15131 [C99-based-standards] (PRIo8): Likewise.
15132 [C99-based-standards] (PRIu8): Likewise.
15133 [C99-based-standards] (PRIx8): Likewise.
15134 [C99-based-standards] (PRIX8): Likewise.
15135 [C99-based-standards] (SCNd8): Likewise.
15136 [C99-based-standards] (SCNi8): Likewise.
15137 [C99-based-standards] (SCNo8): Likewise.
15138 [C99-based-standards] (SCNu8): Likewise.
15139 [C99-based-standards] (SCNx8): Likewise.
15140 [C99-based-standards] (PRIdLEAST8): Likewise.
15141 [C99-based-standards] (PRIiLEAST8): Likewise.
15142 [C99-based-standards] (PRIoLEAST8): Likewise.
15143 [C99-based-standards] (PRIuLEAST8): Likewise.
15144 [C99-based-standards] (PRIxLEAST8): Likewise.
15145 [C99-based-standards] (PRIXLEAST8): Likewise.
15146 [C99-based-standards] (SCNdLEAST8): Likewise.
15147 [C99-based-standards] (SCNiLEAST8): Likewise.
15148 [C99-based-standards] (SCNoLEAST8): Likewise.
15149 [C99-based-standards] (SCNuLEAST8): Likewise.
15150 [C99-based-standards] (SCNxLEAST8): Likewise.
15151 [C99-based-standards] (PRIdFAST8): Likewise.
15152 [C99-based-standards] (PRIiFAST8): Likewise.
15153 [C99-based-standards] (PRIoFAST8): Likewise.
15154 [C99-based-standards] (PRIuFAST8): Likewise.
15155 [C99-based-standards] (PRIxFAST8): Likewise.
15156 [C99-based-standards] (PRIXFAST8): Likewise.
15157 [C99-based-standards] (SCNdFAST8): Likewise.
15158 [C99-based-standards] (SCNiFAST8): Likewise.
15159 [C99-based-standards] (SCNoFAST8): Likewise.
15160 [C99-based-standards] (SCNuFAST8): Likewise.
15161 [C99-based-standards] (SCNxFAST8): Likewise.
15162 [C99-based-standards] (PRId16): Likewise.
15163 [C99-based-standards] (PRIi16): Likewise.
15164 [C99-based-standards] (PRIo16): Likewise.
15165 [C99-based-standards] (PRIu16): Likewise.
15166 [C99-based-standards] (PRIx16): Likewise.
15167 [C99-based-standards] (PRIX16): Likewise.
15168 [C99-based-standards] (SCNd16): Likewise.
15169 [C99-based-standards] (SCNi16): Likewise.
15170 [C99-based-standards] (SCNo16): Likewise.
15171 [C99-based-standards] (SCNu16): Likewise.
15172 [C99-based-standards] (SCNx16): Likewise.
15173 [C99-based-standards] (PRIdLEAST16): Likewise.
15174 [C99-based-standards] (PRIiLEAST16): Likewise.
15175 [C99-based-standards] (PRIoLEAST16): Likewise.
15176 [C99-based-standards] (PRIuLEAST16): Likewise.
15177 [C99-based-standards] (PRIxLEAST16): Likewise.
15178 [C99-based-standards] (PRIXLEAST16): Likewise.
15179 [C99-based-standards] (SCNdLEAST16): Likewise.
15180 [C99-based-standards] (SCNiLEAST16): Likewise.
15181 [C99-based-standards] (SCNoLEAST16): Likewise.
15182 [C99-based-standards] (SCNuLEAST16): Likewise.
15183 [C99-based-standards] (SCNxLEAST16): Likewise.
15184 [C99-based-standards] (PRIdFAST16): Likewise.
15185 [C99-based-standards] (PRIiFAST16): Likewise.
15186 [C99-based-standards] (PRIoFAST16): Likewise.
15187 [C99-based-standards] (PRIuFAST16): Likewise.
15188 [C99-based-standards] (PRIxFAST16): Likewise.
15189 [C99-based-standards] (PRIXFAST16): Likewise.
15190 [C99-based-standards] (SCNdFAST16): Likewise.
15191 [C99-based-standards] (SCNiFAST16): Likewise.
15192 [C99-based-standards] (SCNoFAST16): Likewise.
15193 [C99-based-standards] (SCNuFAST16): Likewise.
15194 [C99-based-standards] (SCNxFAST16): Likewise.
15195 [C99-based-standards] (PRId32): Likewise.
15196 [C99-based-standards] (PRIi32): Likewise.
15197 [C99-based-standards] (PRIo32): Likewise.
15198 [C99-based-standards] (PRIu32): Likewise.
15199 [C99-based-standards] (PRIx32): Likewise.
15200 [C99-based-standards] (PRIX32): Likewise.
15201 [C99-based-standards] (SCNd32): Likewise.
15202 [C99-based-standards] (SCNi32): Likewise.
15203 [C99-based-standards] (SCNo32): Likewise.
15204 [C99-based-standards] (SCNu32): Likewise.
15205 [C99-based-standards] (SCNx32): Likewise.
15206 [C99-based-standards] (PRIdLEAST32): Likewise.
15207 [C99-based-standards] (PRIiLEAST32): Likewise.
15208 [C99-based-standards] (PRIoLEAST32): Likewise.
15209 [C99-based-standards] (PRIuLEAST32): Likewise.
15210 [C99-based-standards] (PRIxLEAST32): Likewise.
15211 [C99-based-standards] (PRIXLEAST32): Likewise.
15212 [C99-based-standards] (SCNdLEAST32): Likewise.
15213 [C99-based-standards] (SCNiLEAST32): Likewise.
15214 [C99-based-standards] (SCNoLEAST32): Likewise.
15215 [C99-based-standards] (SCNuLEAST32): Likewise.
15216 [C99-based-standards] (SCNxLEAST32): Likewise.
15217 [C99-based-standards] (PRIdFAST32): Likewise.
15218 [C99-based-standards] (PRIiFAST32): Likewise.
15219 [C99-based-standards] (PRIoFAST32): Likewise.
15220 [C99-based-standards] (PRIuFAST32): Likewise.
15221 [C99-based-standards] (PRIxFAST32): Likewise.
15222 [C99-based-standards] (PRIXFAST32): Likewise.
15223 [C99-based-standards] (SCNdFAST32): Likewise.
15224 [C99-based-standards] (SCNiFAST32): Likewise.
15225 [C99-based-standards] (SCNoFAST32): Likewise.
15226 [C99-based-standards] (SCNuFAST32): Likewise.
15227 [C99-based-standards] (SCNxFAST32): Likewise.
15228 [C99-based-standards] (PRId64): Likewise.
15229 [C99-based-standards] (PRIi64): Likewise.
15230 [C99-based-standards] (PRIo64): Likewise.
15231 [C99-based-standards] (PRIu64): Likewise.
15232 [C99-based-standards] (PRIx64): Likewise.
15233 [C99-based-standards] (PRIX64): Likewise.
15234 [C99-based-standards] (SCNd64): Likewise.
15235 [C99-based-standards] (SCNi64): Likewise.
15236 [C99-based-standards] (SCNo64): Likewise.
15237 [C99-based-standards] (SCNu64): Likewise.
15238 [C99-based-standards] (SCNx64): Likewise.
15239 [C99-based-standards] (PRIdLEAST64): Likewise.
15240 [C99-based-standards] (PRIiLEAST64): Likewise.
15241 [C99-based-standards] (PRIoLEAST64): Likewise.
15242 [C99-based-standards] (PRIuLEAST64): Likewise.
15243 [C99-based-standards] (PRIxLEAST64): Likewise.
15244 [C99-based-standards] (PRIXLEAST64): Likewise.
15245 [C99-based-standards] (SCNdLEAST64): Likewise.
15246 [C99-based-standards] (SCNiLEAST64): Likewise.
15247 [C99-based-standards] (SCNoLEAST64): Likewise.
15248 [C99-based-standards] (SCNuLEAST64): Likewise.
15249 [C99-based-standards] (SCNxLEAST64): Likewise.
15250 [C99-based-standards] (PRIdFAST64): Likewise.
15251 [C99-based-standards] (PRIiFAST64): Likewise.
15252 [C99-based-standards] (PRIoFAST64): Likewise.
15253 [C99-based-standards] (PRIuFAST64): Likewise.
15254 [C99-based-standards] (PRIxFAST64): Likewise.
15255 [C99-based-standards] (PRIXFAST64): Likewise.
15256 [C99-based-standards] (SCNdFAST64): Likewise.
15257 [C99-based-standards] (SCNiFAST64): Likewise.
15258 [C99-based-standards] (SCNoFAST64): Likewise.
15259 [C99-based-standards] (SCNuFAST64): Likewise.
15260 [C99-based-standards] (SCNxFAST64): Likewise.
15261 [C99-based-standards] (PRIdMAX): Likewise.
15262 [C99-based-standards] (PRIiMAX): Likewise.
15263 [C99-based-standards] (PRIoMAX): Likewise.
15264 [C99-based-standards] (PRIuMAX): Likewise.
15265 [C99-based-standards] (PRIxMAX): Likewise.
15266 [C99-based-standards] (PRIXMAX): Likewise.
15267 [C99-based-standards] (SCNdMAX): Likewise.
15268 [C99-based-standards] (SCNiMAX): Likewise.
15269 [C99-based-standards] (SCNoMAX): Likewise.
15270 [C99-based-standards] (SCNuMAX): Likewise.
15271 [C99-based-standards] (SCNxMAX): Likewise.
15272 [C99-based-standards] (PRIdPTR): Likewise.
15273 [C99-based-standards] (PRIiPTR): Likewise.
15274 [C99-based-standards] (PRIoPTR): Likewise.
15275 [C99-based-standards] (PRIuPTR): Likewise.
15276 [C99-based-standards] (PRIxPTR): Likewise.
15277 [C99-based-standards] (PRIXPTR): Likewise.
15278 [C99-based-standards] (SCNdPTR): Likewise.
15279 [C99-based-standards] (SCNiPTR): Likewise.
15280 [C99-based-standards] (SCNoPTR): Likewise.
15281 [C99-based-standards] (SCNuPTR): Likewise.
15282 [C99-based-standards] (SCNxPTR): Likewise.
15283 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
15284 allow.
15285 * conform/data/stdint.h-data: Update comments to clarify
15286 requirements.
15287 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
15288 type.
15289 [C99-based standards] (INT8_MAX): Likewise.
15290 [C99-based standards] (INT16_MIN): Likewise.
15291 [C99-based standards] (INT16_MAX): Likewise.
15292 [C99-based standards] (INT32_MIN): Likewise.
15293 [C99-based standards] (INT32_MAX): Likewise.
15294 [C99-based standards] (INT64_MIN): Likewise.
15295 [C99-based standards] (INT64_MAX): Likewise.
15296 [C99-based standards] (UINT8_MAX): Likewise.
15297 [C99-based standards] (UINT16_MAX): Likewise.
15298 [C99-based standards] (UINT32_MAX): Likewise.
15299 [C99-based standards] (UINT64_MAX): Likewise.
15300 [C99-based standards] (INT_LEAST8_MIN): Likewise.
15301 [C99-based standards] (INT_LEAST8_MAX): Likewise.
15302 [C99-based standards] (INT_LEAST16_MIN): Likewise.
15303 [C99-based standards] (INT_LEAST16_MAX): Likewise.
15304 [C99-based standards] (INT_LEAST32_MIN): Likewise.
15305 [C99-based standards] (INT_LEAST32_MAX): Likewise.
15306 [C99-based standards] (INT_LEAST64_MIN): Likewise.
15307 [C99-based standards] (INT_LEAST64_MAX): Likewise.
15308 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
15309 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
15310 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
15311 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
15312 [C99-based standards] (INT_FAST8_MIN): Likewise.
15313 [C99-based standards] (INT_FAST8_MAX): Likewise.
15314 [C99-based standards] (INT_FAST16_MIN): Likewise.
15315 [C99-based standards] (INT_FAST16_MAX): Likewise.
15316 [C99-based standards] (INT_FAST32_MIN): Likewise.
15317 [C99-based standards] (INT_FAST32_MAX): Likewise.
15318 [C99-based standards] (INT_FAST64_MIN): Likewise.
15319 [C99-based standards] (INT_FAST64_MAX): Likewise.
15320 [C99-based standards] (UINT_FAST8_MAX): Likewise.
15321 [C99-based standards] (UINT_FAST16_MAX): Likewise.
15322 [C99-based standards] (UINT_FAST32_MAX): Likewise.
15323 [C99-based standards] (UINT_FAST64_MAX): Likewise.
15324 [C99-based standards] (INTPTR_MIN): Likewise.
15325 [C99-based standards] (INTPTR_MAX): Likewise.
15326 [C99-based standards] (UINTPTR_MAX): Likewise.
15327 [C99-based standards] (INTMAX_MIN): Likewise.
15328 [C99-based standards] (INTMAX_MAX): Likewise.
15329 [C99-based standards] (UINTMAX_MAX): Likewise.
15330 [C99-based standards] (PTRDIFF_MIN): Likewise.
15331 [C99-based standards] (PTRDIFF_MAX): Likewise.
15332 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
15333 [C99-based standards] (SIZE_MAX): Likewise.
15334 [C99-based standards] (WCHAR_MAX): Likewise.
15335 [C99-based standards] (WINT_MAX): Likewise.
15336 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
15337 constraint on value.
15338 [C99-based standards] (WCHAR_MIN): Likewise.
15339 [C99-based standards] (WINT_MIN): Likewise.
15340 [C99-based standards] (*_t): Allow.
15341 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
15342 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
15343 Include math.h-data and complex.h-data. Remove all expectations
15344 of math.h and complex.h contents.
15345 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
15346 at end of line.
15347 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
15348 (struct tm): Expect tag.
15349 [C99-based-standards] (wcstof): Expect function.
15350 [C99-based-standards] (wcstold): Likewise.
15351 [C99-based-standards] (wcstoll): Likewise.
15352 [C99-based-standards] (wcstoull): Likewise.
15353 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
15354 macro-int-constant. Specify type.
15355 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
15356 constraint on value.
15357 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15358 Specify type.
15359 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
15360 Specify value.
15361 [ISO C standards]: Do not allow headers.
15362 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
15363 wcs[abcdefghijklmnopqrstuvwxyz]*.
15364 [ISO C standards] (*_t): Do not allow.
15365 * conform/data/wctype.h-data [C99-based standards] (iswblank):
15366 Expect function.
15367 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
15368 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15369 Specify type.
15370 [ISO C standards]: Do not allow headers.
15371 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
15372 is[abcdefghijklmnopqrstuvwxyz]*.
15373 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
15374 to[abcdefghijklmnopqrstuvwxyz]*.
15375 [ISO C standards] (*_t): Do not allow.
15376 * conform/data/stdalign.h-data: New file.
15377 * conform/data/stdbool.h-data: Likewise.
15378 * conform/data/stdnoreturn.h-data: Likewise.
15379
7514feb8
RM
153802012-11-07 Roland McGrath <roland@hack.frob.com>
15381
15382 [BZ #14815]
15383 * manual/filesys.texi (Directory Entries): Typo fix.
15384 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
15385
19b2ecfc
MS
153862012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15387
15388 * elf/elf.h (EM_AARCH64): New macro.
15389 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
15390 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
15391 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
15392 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
15393 (R_AARCH64_TLSDESC): Likewise.
15394 (NT_ARM_TLS): Likewise.
15395 (NT_ARM_HW_BREAK): Likewise.
15396 (NT_ARM_HW_WATCH): Likewise.
15397
60e235ee
JM
153982012-11-07 Joseph Myers <joseph@codesourcery.com>
15399
15400 [BZ #14811]
15401 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
15402 (__ieee754_powl): Saturate nonzero exponents with absolute value
15403 below 0x1p-79 to +/- 0x1p-79.
15404 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
15405 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
15406 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
15407 nonzero exponents with absolute value below 0x1p-32 to +/-
15408 0x1p-32.
15409 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
15410 (__ieee754_powl): Saturate nonzero exponents with absolute value
15411 below 0x1p-79 to +/- 0x1p-79.
15412 * math/libm-test.inc (pow_test): Add more tests.
15413
0ab234b7
AK
154142012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15415
15416 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
15417 _dl_s390_cap_flags with kernel. Increase string length.
15418 (_dl_s390_platforms): Add z196 and zEC12.
15419
45832f74
JM
154202012-11-07 Joseph Myers <joseph@codesourcery.com>
15421
15422 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
15423 Change XOPEN21K to XOPEN2K.
15424
19218757
MK
154252012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
15426
15427 * string/memmove.c: Use memcpy when possible.
15428
c5f45721
AJ
154292012-11-06 Andreas Jaeger <aj@suse.de>
15430
15431 * po/eo.po: Update from translation team.
15432
82477c28
JM
154332012-11-06 Joseph Myers <joseph@codesourcery.com>
15434
15435 [BZ #14793]
15436 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
15437 exponent and small x and y exponents, scale x or y up. Increase
15438 by 2 the exponent used in scaling up.
15439 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15440 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15441 * math/libm-test.inc (fma_test): Add more tests.
15442 (fma_test_towardzero): Likewise.
15443 (fma_test_downward): Likewise.
15444 (fma_test_upward): Likewise.
15445
99252c8c
JM
154462012-11-05 Joseph Myers <joseph@codesourcery.com>
15447
acfa885f
JM
15448 [BZ #14805]
15449 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
15450 fenv_t *.
15451
99252c8c
JM
15452 [BZ #14801]
15453 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
15454 namespace for names of struct fields.
15455 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
15456 fenv_t fields.
15457 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
15458 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
15459
d6d98dea
ST
154602012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15461
15462 [BZ #3665]
15463 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
15464
e10bb107
TS
154652012-11-04 Thomas Schwinge <thomas@codesourcery.com>
15466
15467 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
15468 PTR_DEMANGLE.
15469
15470 [BZ #5246]
15471 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
15472 PTR_DEMANGLE.
15473
a0c2940d
JM
154742012-11-04 Joseph Myers <joseph@codesourcery.com>
15475
15476 [BZ #14797]
15477 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
15478 definitely overflow as x * y not x * y + z.
15479 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15480 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15481 * math/libm-test.inc (fma_test): Add more tests.
15482 (fma_test_towardzero): Likewise.
15483 (fma_test_downward): Likewise.
15484 (fma_test_upward): Likewise.
15485
b830319d
TS
154862012-11-04 Thomas Schwinge <thomas@codesourcery.com>
15487
15488 [BZ #157]
15489
15490 * include/stub-tag.h: Remove file.
15491 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
15492 '#include' of it.
15493 * manual/maint.texi (Porting): Don't reference it.
15494 * Makerules ($(objpfx)stubs): Likewise.
15495 * dirent/closedir.c: Don't include <stub-tag.h>.
15496 * dirent/dirfd.c: Likewise.
15497 * dirent/fdopendir.c: Likewise.
15498 * dirent/getdents.c: Likewise.
15499 * dirent/getdents64.c: Likewise.
15500 * dirent/opendir.c: Likewise.
15501 * dirent/readdir.c: Likewise.
15502 * dirent/readdir64.c: Likewise.
15503 * dirent/readdir64_r.c: Likewise.
15504 * dirent/readdir_r.c: Likewise.
15505 * dirent/rewinddir.c: Likewise.
15506 * dirent/seekdir.c: Likewise.
15507 * dirent/telldir.c: Likewise.
15508 * gmon/profil.c: Likewise.
15509 * grp/setgroups.c: Likewise.
15510 * inet/if_index.c: Likewise.
15511 * io/access.c: Likewise.
15512 * io/chdir.c: Likewise.
15513 * io/chmod.c: Likewise.
15514 * io/chown.c: Likewise.
15515 * io/close.c: Likewise.
15516 * io/dup.c: Likewise.
15517 * io/dup2.c: Likewise.
15518 * io/dup3.c: Likewise.
15519 * io/euidaccess.c: Likewise.
15520 * io/faccessat.c: Likewise.
15521 * io/fchdir.c: Likewise.
15522 * io/fchmod.c: Likewise.
15523 * io/fchmodat.c: Likewise.
15524 * io/fchown.c: Likewise.
15525 * io/fchownat.c: Likewise.
15526 * io/fcntl.c: Likewise.
15527 * io/flock.c: Likewise.
15528 * io/fstatfs.c: Likewise.
15529 * io/fstatfs64.c: Likewise.
15530 * io/fstatvfs.c: Likewise.
15531 * io/fstatvfs64.c: Likewise.
15532 * io/futimens.c: Likewise.
15533 * io/fxstat.c: Likewise.
15534 * io/fxstat64.c: Likewise.
15535 * io/fxstatat.c: Likewise.
15536 * io/fxstatat64.c: Likewise.
15537 * io/getcwd.c: Likewise.
15538 * io/isatty.c: Likewise.
15539 * io/lchmod.c: Likewise.
15540 * io/lchown.c: Likewise.
15541 * io/link.c: Likewise.
15542 * io/linkat.c: Likewise.
15543 * io/lseek.c: Likewise.
15544 * io/lseek64.c: Likewise.
15545 * io/lxstat64.c: Likewise.
15546 * io/mkdir.c: Likewise.
15547 * io/mkdirat.c: Likewise.
15548 * io/mkfifo.c: Likewise.
15549 * io/mkfifoat.c: Likewise.
15550 * io/open.c: Likewise.
15551 * io/open64.c: Likewise.
15552 * io/openat.c: Likewise.
15553 * io/openat64.c: Likewise.
15554 * io/pipe.c: Likewise.
15555 * io/pipe2.c: Likewise.
15556 * io/poll.c: Likewise.
15557 * io/posix_fadvise.c: Likewise.
15558 * io/posix_fadvise64.c: Likewise.
15559 * io/posix_fallocate.c: Likewise.
15560 * io/posix_fallocate64.c: Likewise.
15561 * io/read.c: Likewise.
15562 * io/readlink.c: Likewise.
15563 * io/readlinkat.c: Likewise.
15564 * io/rmdir.c: Likewise.
15565 * io/sendfile.c: Likewise.
15566 * io/sendfile64.c: Likewise.
15567 * io/statfs.c: Likewise.
15568 * io/statfs64.c: Likewise.
15569 * io/statvfs.c: Likewise.
15570 * io/statvfs64.c: Likewise.
15571 * io/symlink.c: Likewise.
15572 * io/symlinkat.c: Likewise.
15573 * io/ttyname.c: Likewise.
15574 * io/ttyname_r.c: Likewise.
15575 * io/umask.c: Likewise.
15576 * io/unlink.c: Likewise.
15577 * io/unlinkat.c: Likewise.
15578 * io/utime.c: Likewise.
15579 * io/utimensat.c: Likewise.
15580 * io/write.c: Likewise.
15581 * io/xmknod.c: Likewise.
15582 * io/xmknodat.c: Likewise.
15583 * io/xstat.c: Likewise.
15584 * io/xstat64.c: Likewise.
15585 * login/getpt.c: Likewise.
15586 * login/grantpt.c: Likewise.
15587 * login/unlockpt.c: Likewise.
15588 * math/e_acoshl.c: Likewise.
15589 * math/e_acosl.c: Likewise.
15590 * math/e_asinl.c: Likewise.
15591 * math/e_atan2l.c: Likewise.
15592 * math/e_atanhl.c: Likewise.
15593 * math/e_coshl.c: Likewise.
15594 * math/e_expl.c: Likewise.
15595 * math/e_fmodl.c: Likewise.
15596 * math/e_gammal_r.c: Likewise.
15597 * math/e_hypotl.c: Likewise.
15598 * math/e_j0l.c: Likewise.
15599 * math/e_j1l.c: Likewise.
15600 * math/e_jnl.c: Likewise.
15601 * math/e_lgammal_r.c: Likewise.
15602 * math/e_log10l.c: Likewise.
15603 * math/e_log2l.c: Likewise.
15604 * math/e_logl.c: Likewise.
15605 * math/e_powl.c: Likewise.
15606 * math/e_rem_pio2l.c: Likewise.
15607 * math/e_sinhl.c: Likewise.
15608 * math/e_sqrtl.c: Likewise.
15609 * math/fclrexcpt.c: Likewise.
15610 * math/fedisblxcpt.c: Likewise.
15611 * math/feenablxcpt.c: Likewise.
15612 * math/fegetenv.c: Likewise.
15613 * math/fegetexcept.c: Likewise.
15614 * math/fegetround.c: Likewise.
15615 * math/feholdexcpt.c: Likewise.
15616 * math/fesetenv.c: Likewise.
15617 * math/fesetround.c: Likewise.
15618 * math/feupdateenv.c: Likewise.
15619 * math/fgetexcptflg.c: Likewise.
15620 * math/fraiseexcpt.c: Likewise.
15621 * math/fsetexcptflg.c: Likewise.
15622 * math/ftestexcept.c: Likewise.
15623 * math/k_cosl.c: Likewise.
15624 * math/k_rem_pio2l.c: Likewise.
15625 * math/k_sinl.c: Likewise.
15626 * math/k_tanl.c: Likewise.
15627 * math/s_asinhl.c: Likewise.
15628 * math/s_atanl.c: Likewise.
15629 * math/s_cbrtl.c: Likewise.
15630 * math/s_erfl.c: Likewise.
15631 * math/s_expm1l.c: Likewise.
15632 * math/s_log1pl.c: Likewise.
15633 * math/s_tanhl.c: Likewise.
15634 * misc/acct.c: Likewise.
15635 * misc/brk.c: Likewise.
15636 * misc/chflags.c: Likewise.
15637 * misc/chroot.c: Likewise.
15638 * misc/fchflags.c: Likewise.
15639 * misc/fgetxattr.c: Likewise.
15640 * misc/flistxattr.c: Likewise.
15641 * misc/fremovexattr.c: Likewise.
15642 * misc/fsetxattr.c: Likewise.
15643 * misc/fsync.c: Likewise.
15644 * misc/ftruncate.c: Likewise.
15645 * misc/futimes.c: Likewise.
15646 * misc/futimesat.c: Likewise.
15647 * misc/getdomain.c: Likewise.
15648 * misc/getdtsz.c: Likewise.
15649 * misc/gethostid.c: Likewise.
15650 * misc/gethostname.c: Likewise.
15651 * misc/getloadavg.c: Likewise.
15652 * misc/getpagesize.c: Likewise.
15653 * misc/getsysstats.c: Likewise.
15654 * misc/getxattr.c: Likewise.
15655 * misc/gtty.c: Likewise.
15656 * misc/ioctl.c: Likewise.
15657 * misc/lgetxattr.c: Likewise.
15658 * misc/listxattr.c: Likewise.
15659 * misc/llistxattr.c: Likewise.
15660 * misc/lremovexattr.c: Likewise.
15661 * misc/lsetxattr.c: Likewise.
15662 * misc/lutimes.c: Likewise.
15663 * misc/madvise.c: Likewise.
15664 * misc/mincore.c: Likewise.
15665 * misc/mlock.c: Likewise.
15666 * misc/mlockall.c: Likewise.
15667 * misc/mmap.c: Likewise.
15668 * misc/mprotect.c: Likewise.
15669 * misc/msync.c: Likewise.
15670 * misc/munlock.c: Likewise.
15671 * misc/munlockall.c: Likewise.
15672 * misc/munmap.c: Likewise.
15673 * misc/preadv.c: Likewise.
15674 * misc/preadv64.c: Likewise.
15675 * misc/ptrace.c: Likewise.
15676 * misc/pwritev.c: Likewise.
15677 * misc/pwritev64.c: Likewise.
15678 * misc/readv.c: Likewise.
15679 * misc/reboot.c: Likewise.
15680 * misc/remap_file_pages.c: Likewise.
15681 * misc/removexattr.c: Likewise.
15682 * misc/revoke.c: Likewise.
15683 * misc/select.c: Likewise.
15684 * misc/setdomain.c: Likewise.
15685 * misc/setegid.c: Likewise.
15686 * misc/seteuid.c: Likewise.
15687 * misc/sethostid.c: Likewise.
15688 * misc/sethostname.c: Likewise.
15689 * misc/setregid.c: Likewise.
15690 * misc/setreuid.c: Likewise.
15691 * misc/setxattr.c: Likewise.
15692 * misc/sstk.c: Likewise.
15693 * misc/stty.c: Likewise.
15694 * misc/swapoff.c: Likewise.
15695 * misc/swapon.c: Likewise.
15696 * misc/sync.c: Likewise.
15697 * misc/syncfs.c: Likewise.
15698 * misc/syscall.c: Likewise.
15699 * misc/truncate.c: Likewise.
15700 * misc/ualarm.c: Likewise.
15701 * misc/usleep.c: Likewise.
15702 * misc/ustat.c: Likewise.
15703 * misc/utimes.c: Likewise.
15704 * misc/vhangup.c: Likewise.
15705 * misc/writev.c: Likewise.
15706 * posix/_exit.c: Likewise.
15707 * posix/alarm.c: Likewise.
15708 * posix/execve.c: Likewise.
15709 * posix/fexecve.c: Likewise.
15710 * posix/fork.c: Likewise.
15711 * posix/fpathconf.c: Likewise.
15712 * posix/getaddrinfo.c: Likewise.
15713 * posix/getegid.c: Likewise.
15714 * posix/geteuid.c: Likewise.
15715 * posix/getgid.c: Likewise.
15716 * posix/getgroups.c: Likewise.
15717 * posix/getlogin.c: Likewise.
15718 * posix/getlogin_r.c: Likewise.
15719 * posix/getpgid.c: Likewise.
15720 * posix/getpid.c: Likewise.
15721 * posix/getppid.c: Likewise.
15722 * posix/getresgid.c: Likewise.
15723 * posix/getresuid.c: Likewise.
15724 * posix/getsid.c: Likewise.
15725 * posix/getuid.c: Likewise.
15726 * posix/glob64.c: Likewise.
15727 * posix/nanosleep.c: Likewise.
15728 * posix/pathconf.c: Likewise.
15729 * posix/pause.c: Likewise.
15730 * posix/posix_madvise.c: Likewise.
15731 * posix/pread.c: Likewise.
15732 * posix/pread64.c: Likewise.
15733 * posix/pwrite.c: Likewise.
15734 * posix/pwrite64.c: Likewise.
15735 * posix/sched_getaffinity.c: Likewise.
15736 * posix/sched_getp.c: Likewise.
15737 * posix/sched_gets.c: Likewise.
15738 * posix/sched_primax.c: Likewise.
15739 * posix/sched_primin.c: Likewise.
15740 * posix/sched_rr_gi.c: Likewise.
15741 * posix/sched_setaffinity.c: Likewise.
15742 * posix/sched_setp.c: Likewise.
15743 * posix/sched_sets.c: Likewise.
15744 * posix/sched_yield.c: Likewise.
15745 * posix/setgid.c: Likewise.
15746 * posix/setlogin.c: Likewise.
15747 * posix/setpgid.c: Likewise.
15748 * posix/setresgid.c: Likewise.
15749 * posix/setresuid.c: Likewise.
15750 * posix/setsid.c: Likewise.
15751 * posix/setuid.c: Likewise.
15752 * posix/sleep.c: Likewise.
15753 * posix/spawni.c: Likewise.
15754 * posix/sysconf.c: Likewise.
15755 * posix/times.c: Likewise.
15756 * posix/wait.c: Likewise.
15757 * posix/wait3.c: Likewise.
15758 * posix/wait4.c: Likewise.
15759 * posix/waitpid.c: Likewise.
15760 * resolv/gai_sigqueue.c: Likewise.
15761 * resource/getpriority.c: Likewise.
15762 * resource/getrlimit.c: Likewise.
15763 * resource/getrusage.c: Likewise.
15764 * resource/nice.c: Likewise.
15765 * resource/setpriority.c: Likewise.
15766 * resource/setrlimit.c: Likewise.
15767 * resource/ulimit.c: Likewise.
15768 * rt/aio_cancel.c: Likewise.
15769 * rt/aio_fsync.c: Likewise.
15770 * rt/aio_read.c: Likewise.
15771 * rt/aio_sigqueue.c: Likewise.
15772 * rt/aio_suspend.c: Likewise.
15773 * rt/aio_write.c: Likewise.
15774 * rt/clock_getres.c: Likewise.
15775 * rt/clock_gettime.c: Likewise.
15776 * rt/clock_nanosleep.c: Likewise.
15777 * rt/clock_settime.c: Likewise.
15778 * rt/lio_listio.c: Likewise.
15779 * rt/mq_close.c: Likewise.
15780 * rt/mq_getattr.c: Likewise.
15781 * rt/mq_notify.c: Likewise.
15782 * rt/mq_open.c: Likewise.
15783 * rt/mq_receive.c: Likewise.
15784 * rt/mq_send.c: Likewise.
15785 * rt/mq_setattr.c: Likewise.
15786 * rt/mq_timedreceive.c: Likewise.
15787 * rt/mq_timedsend.c: Likewise.
15788 * rt/mq_unlink.c: Likewise.
15789 * rt/shm_open.c: Likewise.
15790 * rt/shm_unlink.c: Likewise.
15791 * rt/timer_create.c: Likewise.
15792 * rt/timer_delete.c: Likewise.
15793 * rt/timer_getoverr.c: Likewise.
15794 * rt/timer_gettime.c: Likewise.
15795 * rt/timer_settime.c: Likewise.
15796 * setjmp/__longjmp.c: Likewise.
15797 * setjmp/setjmp.c: Likewise.
15798 * signal/kill.c: Likewise.
15799 * signal/killpg.c: Likewise.
15800 * signal/raise.c: Likewise.
15801 * signal/sigaction.c: Likewise.
15802 * signal/sigaltstack.c: Likewise.
15803 * signal/sigblock.c: Likewise.
15804 * signal/sigignore.c: Likewise.
15805 * signal/sigintr.c: Likewise.
15806 * signal/signal.c: Likewise.
15807 * signal/sigpause.c: Likewise.
15808 * signal/sigpending.c: Likewise.
15809 * signal/sigqueue.c: Likewise.
15810 * signal/sigreturn.c: Likewise.
15811 * signal/sigset.c: Likewise.
15812 * signal/sigsetmask.c: Likewise.
15813 * signal/sigstack.c: Likewise.
15814 * signal/sigsuspend.c: Likewise.
15815 * signal/sigtimedwait.c: Likewise.
15816 * signal/sigvec.c: Likewise.
15817 * signal/sigwait.c: Likewise.
15818 * signal/sigwaitinfo.c: Likewise.
15819 * signal/sysv_signal.c: Likewise.
15820 * socket/accept.c: Likewise.
15821 * socket/accept4.c: Likewise.
15822 * socket/bind.c: Likewise.
15823 * socket/connect.c: Likewise.
15824 * socket/getpeername.c: Likewise.
15825 * socket/getsockname.c: Likewise.
15826 * socket/getsockopt.c: Likewise.
15827 * socket/isfdtype.c: Likewise.
15828 * socket/listen.c: Likewise.
15829 * socket/recv.c: Likewise.
15830 * socket/recvfrom.c: Likewise.
15831 * socket/recvmsg.c: Likewise.
15832 * socket/send.c: Likewise.
15833 * socket/sendmsg.c: Likewise.
15834 * socket/sendto.c: Likewise.
15835 * socket/setsockopt.c: Likewise.
15836 * socket/shutdown.c: Likewise.
15837 * socket/sockatmark.c: Likewise.
15838 * socket/socket.c: Likewise.
15839 * socket/socketpair.c: Likewise.
15840 * stdio-common/ctermid.c: Likewise.
15841 * stdio-common/cuserid.c: Likewise.
15842 * stdio-common/remove.c: Likewise.
15843 * stdio-common/rename.c: Likewise.
15844 * stdio-common/renameat.c: Likewise.
15845 * stdio-common/tempname.c: Likewise.
15846 * stdlib/getcontext.c: Likewise.
15847 * stdlib/makecontext.c: Likewise.
15848 * stdlib/setcontext.c: Likewise.
15849 * stdlib/swapcontext.c: Likewise.
15850 * stdlib/system.c: Likewise.
15851 * streams/fattach.c: Likewise.
15852 * streams/fdetach.c: Likewise.
15853 * streams/getmsg.c: Likewise.
15854 * streams/getpmsg.c: Likewise.
15855 * streams/putmsg.c: Likewise.
15856 * streams/putpmsg.c: Likewise.
15857 * sysdeps/unix/bsd/getpt.c: Likewise.
15858 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
15859 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
15860 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15862 Likewise.
15863 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
15864 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15865 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
15866 * sysvipc/msgctl.c: Likewise.
15867 * sysvipc/msgget.c: Likewise.
15868 * sysvipc/msgrcv.c: Likewise.
15869 * sysvipc/msgsnd.c: Likewise.
15870 * sysvipc/semctl.c: Likewise.
15871 * sysvipc/semget.c: Likewise.
15872 * sysvipc/semop.c: Likewise.
15873 * sysvipc/semtimedop.c: Likewise.
15874 * sysvipc/shmat.c: Likewise.
15875 * sysvipc/shmctl.c: Likewise.
15876 * sysvipc/shmdt.c: Likewise.
15877 * sysvipc/shmget.c: Likewise.
15878 * termios/tcdrain.c: Likewise.
15879 * termios/tcflow.c: Likewise.
15880 * termios/tcflush.c: Likewise.
15881 * termios/tcgetattr.c: Likewise.
15882 * termios/tcgetpgrp.c: Likewise.
15883 * termios/tcsendbrk.c: Likewise.
15884 * termios/tcsetattr.c: Likewise.
15885 * termios/tcsetpgrp.c: Likewise.
15886 * time/adjtime.c: Likewise.
15887 * time/clock.c: Likewise.
15888 * time/getitimer.c: Likewise.
15889 * time/gettimeofday.c: Likewise.
15890 * time/setitimer.c: Likewise.
15891 * time/settimeofday.c: Likewise.
15892 * time/stime.c: Likewise.
15893 * time/time.c: Likewise.
15894
158952012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 15896
a20492cf
PT
15897 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
15898 /usr/old/bin.
15899
72e182e3
PT
15900 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
15901 instead of spaces.
15902 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
15903
fbeafede
JM
159042012-11-03 Joseph Myers <joseph@codesourcery.com>
15905
5b5b04d6
JM
15906 [BZ #14796]
15907 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
15908 FE_TONEAREST before applying Dekker multiplication and Knuth
15909 addition. Clear inexact exceptions and check for exact zero
15910 results afterwards.
15911 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15912 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15913 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15914 * math/libm-test.inc (fma_test): Add more tests.
15915 (fma_test_towardzero): Likewise.
15916 (fma_test_downward): Likewise.
15917 (fma_test_upward): Likewise.
15918 * sysdeps/generic/math_private.h (default_libc_fesetround): New
15919 function.
15920 (libc_fesetround): New macro.
15921 (libc_fesetroundf): Likewise.
15922 (libc_fesetroundl): Likewise.
15923 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
15924 function.
15925 (libc_fesetround_387): Likewise.
15926 (libc_fesetroundf): New macro.
15927 (libc_fesetround): Likewise.
15928 (libc_fesetroundl): Likewise.
15929 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
15930 function.
15931 (libc_fesetroundf): New macro.
15932 (libc_fesetround): Likewise.
15933 (libc_fesetroundl): Likewise.
15934 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
15935 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
15936 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
15937 libm_hidden_ver.
15938 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
15939 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
15940 libm_hidden_def.
15941 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
15942 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
15943 libm_hidden_ver.
15944 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
15945 libm_hidden_def.
15946
fbeafede
JM
15947 [BZ #3439]
15948 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
15949 integer constant usable in #if and use that to give value to enum
15950 constant.
15951 (FE_DIVBYZERO): Likewise.
15952 (FE_UNDERFLOW): Likewise.
15953 (FE_OVERFLOW): Likewise.
15954 (FE_INVALID): Likewise.
15955 (FE_INVALID_SNAN): Likewise.
15956 (FE_INVALID_ISI): Likewise.
15957 (FE_INVALID_IDI): Likewise.
15958 (FE_INVALID_ZDZ): Likewise.
15959 (FE_INVALID_IMZ): Likewise.
15960 (FE_INVALID_COMPARE): Likewise.
15961 (FE_INVALID_SOFTWARE): Likewise.
15962 (FE_INVALID_SQRT): Likewise.
15963 (FE_INVALID_INTEGER_CONVERSION): Likewise.
15964 (FE_TONEAREST): Likewise.
15965 (FE_TOWARDZERO): Likewise.
15966 (FE_UPWARD): Likewise.
15967 (FE_DOWNWARD): Likewise.
15968 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
15969 (FE_DIVBYZERO): Likewise.
15970 (FE_OVERFLOW): Likewise.
15971 (FE_UNDERFLOW): Likewise.
15972 (FE_INEXACT): Likewise.
15973 (FE_TONEAREST): Likewise.
15974 (FE_DOWNWARD): Likewise.
15975 (FE_UPWARD): Likewise.
15976 (FE_TOWARDZERO): Likewise.
15977 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
15978 (FE_UNDERFLOW): Likewise.
15979 (FE_OVERFLOW): Likewise.
15980 (FE_DIVBYZERO): Likewise.
15981 (FE_INVALID): Likewise.
15982 (FE_TONEAREST): Likewise.
15983 (FE_TOWARDZERO): Likewise.
15984 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
15985 (FE_OVERFLOW): Likewise.
15986 (FE_UNDERFLOW): Likewise.
15987 (FE_DIVBYZERO): Likewise.
15988 (FE_INEXACT): Likewise.
15989 (FE_TONEAREST): Likewise.
15990 (FE_TOWARDZERO): Likewise.
15991 (FE_UPWARD): Likewise.
15992 (FE_DOWNWARD): Likewise.
15993 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
15994 (FE_DIVBYZERO): Likewise.
15995 (FE_OVERFLOW): Likewise.
15996 (FE_UNDERFLOW): Likewise.
15997 (FE_INEXACT): Likewise.
15998 (FE_TONEAREST): Likewise.
15999 (FE_DOWNWARD): Likewise.
16000 (FE_UPWARD): Likewise.
16001 (FE_TOWARDZERO): Likewise.
16002
105ca950
CM
160032012-11-02 Chris Metcalf <cmetcalf@tilera.com>
16004
16005 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
16006
a542b389
AS
160072012-11-03 Andreas Schwab <schwab@linux-m68k.org>
16008
16009 * scripts/cross-test-ssh.sh (command): Use newlines to separate
16010 commands. Quote $PWD.
16011 (blacklist_exports): Don't use remove_newlines. Replace "declare
16012 -x" by "export".
16013 (remove_newlines): Remove.
16014
f62c8abc
L
160152012-11-02 H.J. Lu <hongjiu.lu@intel.com>
16016
16017 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
16018 * stdlib/stdlib.h (atof): Moved to ...
16019 * include/bits/stdlib-float.h: Here. New file.
16020 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
16021 * stdlib/bits/stdlib-float.h: New file.
16022 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
16023 -mno-sse -mno-mmx.
16024 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
16025 <xmmintrin.h>.
16026
0155d5b2
JM
160272012-11-02 Joseph Myers <joseph@codesourcery.com>
16028
a68d0680
JM
16029 * conform/conformtest.pl (@headers): Add fenv.h.
16030 * conform/data/fenv.h-data: New file.
16031 * include/fenv.h [_ISOMAC]: Disable all contents of file except
16032 include of <math/fenv.h>.
16033
caf7f573
JM
16034 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
16035 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
16036 && !UNIX98]. Enables tests for XOPEN2K8.
16037 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
16038 POSIX2008]: Likewise.
16039
6c073ad6
JM
16040 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
16041 (struct rusage): Do not expect type or its members.
16042
0155d5b2
JM
16043 [BZ #3439]
16044 * math/math.h (FP_NAN): Define macro to integer constant usable in
16045 #if and use that to give value to enum constant.
16046 (FP_INFINITE): Likewise.
16047 (FP_ZERO): Likewise.
16048 (FP_SUBNORMAL): Likewise.
16049 (FP_NORMAL): Likewise.
16050
b5dcacb4
AS
160512012-11-02 Andreas Schwab <schwab@linux-m68k.org>
16052
16053 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
16054 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
16055 arguments.
16056
f7934be8
RM
160572012-11-02 Roland McGrath <roland@hack.frob.com>
16058
16059 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
16060 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
16061 autoconf-time if not.
16062 * configure.in: Remove AC_PREREQ.
16063
d7d08bde
TMQMF
160642012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16065
16066 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
16067 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
16068 of the internal implementation.
16069
dcdae19a
JM
160702012-11-02 Joseph Myers <joseph@codesourcery.com>
16071
16072 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
16073 except include of <misc/sys/syslog.h>.
16074
d6cffd3e
AS
160752012-11-01 Andreas Schwab <schwab@linux-m68k.org>
16076
16077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
16078 function returns with a NULL context exit with zero.
16079
b3563932
TMQMF
160802012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16081
16082 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
16083
b288a93d
L
160842012-11-01 H.J. Lu <hongjiu.lu@intel.com>
16085
16086 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
16087 (run_program_cmd): This.
16088 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
16089 (tst_langinfo): New variable. Use it.
16090
a2421a68
SAS
160912012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
16092
16093 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
16094 floating point opcodes.
16095
6f796e1b
TS
160962012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16097
7402596b
TS
16098 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
16099 variable.
16100
d0d4f868
TS
16101 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
16102
6f796e1b
TS
16103 * sysdeps/mach/hurd/powerpc: Remove directory.
16104 * sysdeps/mach/powerpc: Likewise.
16105
4da224a2
AS
161062012-11-01 Andreas Schwab <schwab@linux-m68k.org>
16107
16108 * scripts/check-local-headers.sh: Ignore c++ headers.
16109
341dd673
TS
161102012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16111
16112 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
16113 __libc_cleanup_region_start argument.
16114
473611b2
JM
161152012-11-01 Joseph Myers <joseph@codesourcery.com>
16116
16117 [BZ #14784]
16118 [BZ #14785]
16119 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
16120 x * y using scaling, not as x * y + z.
16121 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16122 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16123 * math/libm-test.inc (fma_test): Add more tests.
16124 (fma_test_towardzero): Likewise.
16125 (fma_test_downward): Likewise.
16126 (fma_test_upward): Likewise.
16127
4078da3d
TS
161282012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16129
16130 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
16131
903252aa
JM
161322012-10-31 Joseph Myers <joseph@codesourcery.com>
16133
16134 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
16135 New variable.
16136
cbc818d0
TS
161372012-10-31 Thomas Schwinge <thomas@codesourcery.com>
16138
16139 * rt/tst-shm.c (worker): Correct checking for mmap failure.
16140
5a03cb1e
AS
161412012-10-31 Andreas Schwab <schwab@linux-m68k.org>
16142
16143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16144 Fix sort order.
16145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16146 Likewise.
16147
90aff2ff
TMQMF
161482012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16149
16150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16151 Fix the order of the list for glibc 2.17.
16152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16153 Likewise.
16154
1818fcb7
AS
161552012-10-31 Andreas Schwab <schwab@linux-m68k.org>
16156
16157 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16158
ef82f4da
JM
161592012-10-31 Joseph Myers <joseph@codesourcery.com>
16160
16a0e2ec
JM
16161 [BZ #14610]
16162 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
16163 for low part of x being zero before using __atanl (y).
16164 * math/libm-test.inc (atan2_test): Add another test.
16165
0eb69512
JM
16166 * manual/install.texi (Configuring and compiling): Document
16167 general use of test-wrapper and test-wrapper-env.
16168 * INSTALL: Regenerated.
16169
ef82f4da
JM
16170 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
16171 (__fma): Do not extract and scale down low bits on after-rounding
16172 systems when result rounded to normal precision would have normal
16173 exponent.
16174 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
16175 (__fmal): Do not extract and scale down low bits on after-rounding
16176 systems when result rounded to normal precision would have normal
16177 exponent.
16178 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
16179 (__fmal): Do not extract and scale down low bits on after-rounding
16180 systems when result rounded to normal precision would have normal
16181 exponent.
16182 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
16183 macro.
16184 (fma_test): Add more tests.
16185 (fma_test_towardzero): Likewise.
16186 (fma_test_downward): Likewise.
16187 (fma_test_upward): Likewise.
16188
954ef0d9
L
161892012-10-30 H.J. Lu <hongjiu.lu@intel.com>
16190
16191 * sysdeps/i386/tininess.h: Renamed to ...
16192 * sysdeps/x86/tininess.h: This.
16193 * sysdeps/x86_64/tininess.h: Removed.
16194
df61ffb2
JM
161952012-10-30 Joseph Myers <joseph@codesourcery.com>
16196
16197 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
16198 input. Use $(build-program-cmd).
16199 ($(objpfx)tst-array1-static.out): Likewise.
16200 ($(objpfx)tst-array2.out): Likewise.
16201 ($(objpfx)tst-array3.out): Likewise.
16202 ($(objpfx)tst-array4.out): Likewise.
16203 ($(objpfx)tst-array5.out): Likewise.
16204 ($(objpfx)tst-array5-static.out): Likewise.
16205
01767843
CM
162062012-10-30 Chris Metcalf <cmetcalf@tilera.com>
16207
47cc1490
CM
16208 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
16209 if defined.
16210
01767843
CM
16211 * nss/nsswitch.h (nss_interface_function): Provide new
16212 macro for use with NSS functions.
16213 * grp/initgroups.c: Use new macro.
16214 * nss/getXXbyYY.c: Likewise.
16215 * nss/getXXbyYY_r.c: Likewise.
16216 * nss/getXXent.c: Likewise.
16217 * nss/getXXent_r.c: Likewise.
16218 * sysdeps/posix/getaddrinfo.c: Likewise.
16219
8321aa97
AJ
162202012-10-30 Andreas Jaeger <aj@suse.de>
16221
16222 * po/ru.po: Update Russion translation from translation project.
16223
2a27fd6d
JM
162242012-10-30 Joseph Myers <joseph@codesourcery.com>
16225
8627a232
JM
16226 [BZ #14152]
16227 [BZ #14783]
16228 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
16229 result and shift together with sticky bit instead of replicating
16230 round-to-nearest rounding.
16231 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16232 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16233 * math/libm-test.inc (fma_test): Add more tests. Do not permit
16234 missing underflow exceptions.
16235 (fma_test_towardzero): Add more tests.
16236 (fma_test_downward): Likewise.
16237 (fma_test_upward): Likewise.
16238
2a27fd6d
JM
16239 [BZ #14047]
16240 * sysdeps/generic/tininess.h: New file.
16241 * sysdeps/i386/tininess.h: Likewise.
16242 * sysdeps/sh/tininess.h: Likewise.
16243 * sysdeps/x86_64/tininess.h: Likewise.
16244 * stdlib/tst-strtod-underflow.c: Likewise.
16245 * stdlib/tst-tininess.c: Likewise.
16246 * stdlib/strtod_l.c: Include <tininess.h>.
16247 (round_and_return): Do not set errno for exact underflow cases.
16248 Force an underflow exception when setting errno for underflow.
16249 Determine underflow based on rounding to normal precision if
16250 TININESS_AFTER_ROUNDING.
16251 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
16252 ERANGE for exact underflow cases.
16253 * stdlib/Makefile (tests): Add tst-tininess and
16254 tst-strtod-underflow.
16255 ($(objpfx)tst-tininess): Use $(link-libm).
16256 ($(objpfx)tst-strtod-underflow): Likewise.
16257
e7170363
AJ
162582012-10-30 Andreas Jaeger <aj@suse.de>
16259
e5088dc6
AJ
16260 [BZ#14767]
16261 * elf/Makefile (tests): Remove conditional for have-initfini-array
16262 since this is now always required and the variable does not exist
16263 anymore.
16264 (tests-static): Likewise.
16265 (modules-names): Likewise.
16266
e7170363 16267 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
16268
16269 * elf/tst-array1.c (fini_array): Make writeable so that it can be
16270 merged with constructor/destructor.
16271 (init_array): Likewise.
16272 * elf/tst-array2dep.c (fini_array): Likewise.
16273 (init_array): Likewise.
16274
60457d8a
MF
162752012-10-29 Mike Frysinger <vapier@gentoo.org>
16276
16277 * manual/message.texi: Delete @cartouche tags.
16278
8bece752
PT
162792012-10-29 Pino Toscano <toscano.pino@tiscali.it>
16280
94ce799f
PT
16281 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
16282 EOPNOTSUPP.
16283 * sysdeps/mach/hurd/fsync.c: Likewise.
16284
8bece752
PT
16285 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
16286 [_POSIX_REALTIME_SIGNALS]: Change condition to
16287 [_POSIX_REALTIME_SIGNALS > 0].
16288
86ebe6b1
AJ
162892012-10-27 Andreas Jaeger <aj@suse.de>
16290
16291 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
16292 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
16293 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
16294 [__WORDSIZE != 64]: Likewise.
16295
54399c08
L
162962012-10-26 H.J. Lu <hongjiu.lu@intel.com>
16297
16298 * iconvdata/tst-table.sh: Remove ${SHELL}.
16299 * iconvdata/tst-tables.sh: Likewise.
16300
e2211bed
DM
163012012-10-25 David S. Miller <davem@davemloft.net>
16302
16303 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16304 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
16305 of strtoull.
16306
f303f97c
DM
16307 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
16308 ifunc-impl-list.c
16309 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16310 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
16311 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
16312 file.
16313
1e9d84cd
RM
163142012-10-25 Roland McGrath <roland@hack.frob.com>
16315
16316 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16317 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
16318 __getdirentries.
16319
df381762
JM
163202012-10-25 Joseph Myers <joseph@codesourcery.com>
16321 Jim Blandy <jimb@codesourcery.com>
16322
16323 * scripts/cross-test-ssh.sh: New file.
16324 * manual/install.texi (Configuring and compiling): Document use of
16325 cross-test-ssh.sh.
16326 * INSTALL: Regenerated.
16327
bff64913
PT
163282012-10-25 Pino Toscano <toscano.pino@tiscali.it>
16329
16330 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
16331 EOPNOTSUPP.
16332
25fe8932
JM
163332012-10-25 Joseph Myers <joseph@codesourcery.com>
16334
16335 * Makeconfig (run-program-prefix): Fix comment.
16336
cc1290d0
JM
163372012-10-24 Joseph Myers <joseph@codesourcery.com>
16338 Jim Blandy <jimb@codesourcery.com>
16339
16340 * Makeconfig (test-wrapper): New variable,
16341 (test-wrapper-env): Likewise.
16342 [$(cross-compiling) = yes && $(test-wrapper) != ""]
16343 (run-built-tests): Define to yes.
16344 (run-program-prefix): Use $(test-wrapper).
16345 (built-program-cmd): Likewise.
16346 * Rules (make-test-out): Use $(test-wrapper-env) and
16347 $(host-built-program-cmd).
16348 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
16349 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
16350 tst-pathopt.sh.
16351 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
16352 $(test-wrapper-env) to tst-rtld-load-self.sh.
16353 ($(objpfx)order2.out): Use $(test-wrapper).
16354 ($(objpfx)tst-initorder.out): Likewise.
16355 ($(objpfx)tst-initorder2.out): Likewise.
16356 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
16357 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
16358 (test_wrapper_env): New variable. Use it to run ld.so.
16359 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
16360 Use it to run ld.so.
16361 (test_wrapper_env): Likewise.
16362 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
16363 $(test-wrapper) to run-iconv-test.sh.
16364 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
16365 (ICONV): Use $test_wrapper.
16366 * posix/Makefile ($(objpfx)globtest.out): Pass
16367 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
16368 globtest.sh, not $(run-program-prefix).
16369 * posix/globtest.sh (run_via_rtld_prefix): New variable.
16370 (test_wrapper): Likewise.
16371 (test_wrapper_env): Likewise. Use it to run globtest with HOME
16372 set together with run_via_rtld_prefix.
16373 (run_program_prefix): Define in terms of test_wrapper and
16374 run_via_rtld_prefix.
16375
6e6249d0
RM
163762012-10-24 Roland McGrath <roland@hack.frob.com>
16377
16378 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
16379 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
16380 Targets removed.
16381
16382 [BZ #14743]
16383 * include/time.h: Remove librt_hidden_proto (clock_gettime).
16384 Declare __clock_getres, __clock_gettime, __clock_settime,
16385 __clock_nanosleep, and __clock_getcpuclockid.
16386 * rt/clock_gettime.c: Define __clock_gettime as an alias.
16387 Remove librt_hidden_def (clock_gettime).
16388 * sysdeps/unix/clock_gettime.c: Likewise.
16389 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
16390 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16391 * rt/clock_getres.c: Define __clock_getres as an alias.
16392 * sysdeps/posix/clock_getres.c: Likewise.
16393 * rt/clock_settime.c: Define __clock_settime as an alias.
16394 * sysdeps/unix/clock_settime.c: Likewise.
16395 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
16396 * sysdeps/unix/clock_nanosleep.c: Likewise.
16397 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16398 * rt/clock-compat.c: New file.
16399 * rt/Makefile (librt-routines): Add clock-compat and move
16400 $(clock-routines) to ...
16401 (routines): ... here, new variable.
16402 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
16403 Don't add get_clockfreq here.
16404 * rt/Versions (libc: GLIBC_2.17): New version set.
16405 Add clock_* symbols here.
16406 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
16407 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
16408 (GLIBC_2.17): Add clock_* symbols.
16409 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16410 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16411 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16413 Likewise.
16414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16415 Likewise.
16416 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16417 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16418 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16420 * NEWS: Mention the move.
16421
16422 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16423 Use __open, __read, __close rather than their public counterparts.
16424 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16425 (__get_clockfreq_via_cpuinfo): Likewise.
16426 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
16427 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
16428
16429 * config.h.in (HAVE_IFUNC): New #undef.
16430 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
16431 was successful.
16432 * configure: Regenerated.
16433
0cae3f4b
MF
164342012-10-24 Mike Frysinger <vapier@gentoo.org>
16435
16436 * configure.in: Move READELF check to start of file.
16437 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
16438 libc_cv_asm_gnu_indirect_function in the process.
16439 * configure: Regenerated.
16440
8175a253
MF
164412012-10-24 Mike Frysinger <vapier@gentoo.org>
16442
16443 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
16444 send the output to /dev/null.
16445 (libc_cv_cc_with_libunwind): Likewise.
16446 (libc_cv_as_noexecstack): Likewise.
16447 * configure: Regenerate.
16448
0708a7d1
JM
164492012-10-24 Joseph Myers <joseph@codesourcery.com>
16450
10b40d85
JM
16451 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
16452
0708a7d1
JM
16453 * posix/globtest.sh (TMPDIR): Do not set.
16454 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
16455 (testout): Likewise.
16456
9fddec1a
AJ
164572012-10-24 Andreas Jaeger <aj@suse.de>
16458
3a8db22f
AJ
16459 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
16460 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
16461 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
16462 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
16463 posix_fadvise64, posix_fallocate64.
16464
9fddec1a
AJ
16465 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
16466 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
16467 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
16468 Likewise.
16469 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
16470 Likewise.
16471 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
16472
16473 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
16474 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
16475 <bits/fcntl-linux.h>.
16476 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
16477
16478 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
16479 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
16480 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
16481 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
16482 [__WORDSIZE != 64]: Likewise.
16483
ebfd1bbd
JM
164842012-10-23 Joseph Myers <joseph@codesourcery.com>
16485
03ac099f
JM
16486 * Makeconfig (run-built-tests): New variable.
16487 * Rules [$(cross-compiling) = yes]: Change condition to
16488 [$(run-built-tests) = no].
16489 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
16490 to [$(run-built-tests) = yes].
16491 * elf/Makefile [$(cross-compiling) = no]: Likewise
16492 * grp/Makefile [$(cross-compiling) = no]: Likewise.
16493 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
16494 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
16495 * intl/Makefile [$(cross-compiling) = no]: Likewise.
16496 * io/Makefile [$(cross-compiling) = no]: Likewise.
16497 * libio/Makefile [$(cross-compiling) = no]: Likewise.
16498 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
16499 * misc/Makefile [$(cross-compiling) = no]: Likewise.
16500 * posix/Makefile [$(cross-compiling) = no]: Likewise.
16501 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
16502 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
16503 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
16504 * string/Makefile [$(cross-compiling) = no]: Likewise.
16505
ebfd1bbd
JM
16506 * posix/Makefile ($(objpfx)globtest.out): Pass
16507 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
16508 $(rtld-installed-name).
16509 * posix/globtest.sh (elf_objpfx): Remove variable.
16510 (rtld_installed_name): Likewise.
16511 (library_path): Likewise.
16512 (run_program_prefix): New variable. Use for running globtest
16513 binary.
16514
166bca24
JB
165152012-10-23 Jim Blandy <jimb@codesourcery.com>
16516 Joseph Myers <joseph@codesourcery.com>
16517
16518 * Makeconfig (host-built-program-cmd): New variable.
16519 * elf/Makefile (tst-stackguard1-ARGS): Use
16520 $(host-built-program-cmd).
16521 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
16522 (tst-spawn-ARGS): Likewise.
16523 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
16524
88866099
JM
165252012-10-23 Joseph Myers <joseph@codesourcery.com>
16526 Jim Blandy <jimb@codesourcery.com>
16527
16528 * Makeconfig (run-via-rtld-prefix): New variable.
16529 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
16530 (built-program-cmd): Likewise.
16531
b4b4c296
AJ
165322012-10-22 Andreas Jaeger <aj@suse.de>
16533
16534 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
16535 __O_RSYNC if it exists, otherwise to O_SYNC.
16536
6fb54a22
JB
165372012-10-22 Jim Blandy <jimb@codesourcery.com>
16538 Joseph Myers <joseph@codesourcery.com>
16539
16540 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
16541 /dev/null.
16542 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
16543 from /dev/null
16544 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
16545 /dev/null.
16546
481b90b9
AJ
165472012-10-22 Andreas Jaeger <aj@suse.de>
16548
2a0e2669
AJ
16549 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
16550 Define always.
16551 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
16552
76e38f9a
AJ
16553 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16554 bits/fcntl-linux.h.
16555
7cd37b43
AJ
16556 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
16557 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
16558
481b90b9
AJ
16559 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
16560 to __O_LARGEFILE.
16561 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
16562 to __O_LARGEFILE.
16563
aba75984
JB
165642012-10-21 Jim Blandy <jimb@codesourcery.com>
16565 Joseph Myers <joseph@codesourcery.com>
16566
16567 * config.make.in (NM): New variable.
16568
88d4247f
AJ
165692012-10-21 Andreas Jaeger <aj@suse.de>
16570
16571 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
16572 definitions and declarations that are provided by
16573 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16574
f2eed205
L
165752012-10-20 H.J. Lu <hongjiu.lu@intel.com>
16576
16577 [BZ #14683]
16578 * elf/Makefile (tests-static): Add tst-leaks1-static.
16579 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
16580 ($(objpfx)tst-leaks1-static): New rule.
16581 ($(objpfx)tst-leaks1-static-mem): Likewise.
16582 (tst-leaks1-static-ENV): New macro.
16583 * elf/dl-open.c (dl_open_worker): Check the main application
16584 only if SHARED is defined.
16585 * elf/tst-leaks1-static.c: New file.
16586
335e6931
AJ
165872012-10-20 Andreas Jaeger <aj@suse.de>
16588
16589 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
16590 generic values for Linux.
16591 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
16592 and declarations that are provided by <bits/fcntl-linux.h> and
16593 include <bits/fcntl-linux.h>.
16594 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16595 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16596
ac5c94d3
RM
165972012-10-20 Roland McGrath <roland@hack.frob.com>
16598
16599 * io/fcntl.h: Move include of <bits/types.h> to the top and
16600 include it unconditionally.
16601
de54b33a
L
166022012-10-20 H.J. Lu <hongjiu.lu@intel.com>
16603
228cfb01
L
16604 * wcsmbs/Makefile (tests-ifunc): New variable.
16605 (tests): Add $(tests-ifunc).
16606 * wcsmbs/test-wcschr-ifunc.c: New file.
16607 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
16608 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
16609 * wcsmbs/test-wcslen-ifunc.c: Likewise.
16610 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
16611 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
16612
69f07e5f
L
16613 * string/Makefile (tests-ifunc): New variable.
16614 (tests): Add $(tests-ifunc).
16615 * string/test-memccpy.c (TEST_NAME): New macro.
16616 * string/test-memchr.c (TEST_NAME): Likewise.
16617 * string/test-memcmp.c (TEST_NAME): Likewise.
16618 * string/test-memcpy.c (TEST_NAME): Likewise.
16619 * string/test-memmem.c (TEST_NAME): Likewise.
16620 * string/test-memmove.c (TEST_NAME): Likewise.
16621 * string/test-memset.c (TEST_NAME): Likewise.
16622 * string/test-rawmemchr.c (TEST_NAME): Likewise.
16623 * string/test-stpcpy.c (TEST_NAME): Likewise.
16624 * string/test-stpncpy.c (TEST_NAME): Likewise.
16625 * string/test-strcasecmp.c (TEST_NAME): Likewise.
16626 * string/test-strcasestr.c (TEST_NAME): Likewise.
16627 * string/test-strcat.c (TEST_NAME): Likewise.
16628 * string/test-strchr.c (TEST_NAME): Likewise.
16629 * string/test-strcmp.c(TEST_NAME): Likewise.
16630 * string/test-strcpy.c (TEST_NAME): Likewise.
16631 * string/test-strcspn.c (TEST_NAME): Likewise.
16632 * string/test-strlen.c (TEST_NAME): Likewise.
16633 * string/test-strncasecmp.c (TEST_NAME): Likewise.
16634 * string/test-strncmp.c (TEST_NAME): Likewise.
16635 * string/test-strncpy.c (TEST_NAME): Likewise.
16636 * string/test-strnlen.c (TEST_NAME): Likewise.
16637 * string/test-strpbrk.c (TEST_NAME): Likewise.
16638 * string/test-strrchr.c (TEST_NAME): Likewise.
16639 * string/test-strspn.c (TEST_NAME): Likewise.
16640 * string/test-strstr.c (TEST_NAME): Likewise.
16641 * string/test-bcopy-ifunc.c: New file.
16642 * string/test-bzero-ifunc.c: Likewise.
16643 * string/test-memccpy-ifunc.c: Likewise.
16644 * string/test-memchr-ifunc.c: Likewise.
16645 * string/test-memcmp-ifunc.c: Likewise.
16646 * string/test-memcpy-ifunc.c: Likewise.
16647 * string/test-memmem-ifunc.c: Likewise.
16648 * string/test-memmove-ifunc.c: Likewise.
16649 * string/test-mempcpy-ifunc.c: Likewise.
16650 * string/test-memset-ifunc.c: Likewise.
16651 * string/test-rawmemchr-ifunc.c: Likewise.
16652 * string/test-stpcpy-ifunc.c: Likewise.
16653 * string/test-stpncpy-ifunc.c: Likewise.
16654 * string/test-strcasecmp-ifunc.c: Likewise.
16655 * string/test-strcasestr-ifunc.c: Likewise.
16656 * string/test-strcat-ifunc.c: Likewise.
16657 * string/test-strchr-ifunc.c: Likewise.
16658 * string/test-strchrnul-ifunc.c: Likewise.
16659 * string/test-strcmp-ifunc.c: Likewise.
16660 * string/test-strcpy-ifunc.c: Likewise.
16661 * string/test-strcspn-ifunc.c: Likewise.
16662 * string/test-strlen-ifunc.c: Likewise.
16663 * string/test-strncasecmp-ifunc.c: Likewise.
16664 * string/test-strncat-ifunc.c: Likewise.
16665 * string/test-strncmp-ifunc.c: Likewise.
16666 * string/test-strncpy-ifunc.c: Likewise.
16667 * string/test-strnlen-ifunc.c: Likewise.
16668 * string/test-strpbrk-ifunc.c: Likewise.
16669 * string/test-strrchr-ifunc.c: Likewise.
16670 * string/test-strspn-ifunc.c: Likewise.
16671 * string/test-strstr-ifunc.c: Likewise.
16672
de54b33a
L
16673 * debug/Makefile (tests-ifunc): New variable.
16674 (tests): Add $(tests-ifunc).
16675 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
16676 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
16677 * debug/test-stpcpy_chk-ifunc.c: New file.
16678 * debug/test-strcpy_chk-ifunc.c: Likewise.
16679
88481c16
SP
166802012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16681
16682 [BZ #13601]
16683 * elf/dl-load.c (open_verify): Retry read if the entire ELF
16684 header is not read in.
16685
135948bd
JM
166862012-10-19 Joseph Myers <joseph@codesourcery.com>
16687
89f1c388
JM
16688 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
16689 script to $(SHELL) as $<. Pass $(common-objpfx) to script
16690 directly. Pass built executable to script as
16691 $(built-program-cmd).
16692 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
16693 $testprogram without using LD_LIBRARY_PATH and $ldso.
16694
e40a0d21
JM
16695 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
16696 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
16697 $(rtld-installed-name).
16698 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
16699 (rtld_installed_name): Likewise.
16700 (library_path): Likewise.
16701 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
16702 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
16703 $(run-program-prefix) to tst-tables.sh.
16704 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
16705 it to run tst-table-from and tst-table-to.
16706 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
16707 Pass it to tst-table.sh.
16708 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
16709 $(run-program-prefix) to tst-gettext.sh.
16710 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
16711 tst-translit.sh.
16712 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
16713 tst-gettext2.sh.
16714 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
16715 to run tst-gettext.
16716 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
16717 to run tst-gettext2.
16718 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
16719 to run tst-translit.
16720 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
16721 $(run-program-prefix) to tst-mtrace.sh.
16722 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
16723 to run tst-mtrace.
16724 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
16725 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
16726 $(rtld-installed-name).
16727 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
16728 (rtld_installed_name): Likewise.
16729 (run_program_prefix): New variable. Use it to run wordexp-test.
16730
728e272a
JM
16731 * Makeconfig (ARCH): Remove all definitions.
16732 (machine): Likewise.
16733 [ARCH]: Remove conditional code.
16734 [!objdir]: Give error.
16735 [!objdir] (objpfx): Remove.
16736 [!objdir] (common-objpfx): Likewise.
16737 [!objdir] (common-objdir): Likewise.
16738 * configure.in (config_makefile): Remove. Hardcode Makefile in
16739 AC_CONFIG_FILES call.
16740 * configure: Regenerated.
16741
d528cdcf
JM
16742 [BZ #13888]
16743 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
16744 or TMPDIR.
16745 (testout): Likewise.
16746
135948bd
JM
16747 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
16748 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
16749 $(rtld-installed-name).
16750 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
16751 (rtld_installed_name): Likwise.
16752 (runit): Remove function.
16753 (run_getconf): New variable, Use it for running getconf binary.
16754
38c78296
L
167552012-10-18 H.J. Lu <hongjiu.lu@intel.com>
16756
16757 [BZ #14716]
16758 * string/test-memmem.c (check_result): New function.
16759 (do_one_test): Use it.
16760 (check1): New function.
16761 (test_main): Use it.
16762
d077f65f
MT
167632012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
16764
16765 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
16766
ced52c71
JM
167672012-10-18 Joseph Myers <joseph@codesourcery.com>
16768
16769 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
16770 (_G_LSEEK64): Likewise.
16771 (_G_MMAP64): Likewise.
16772 (_G_FSTAT64): Likewise.
16773 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
16774 (_G_LSEEK64): Likewise.
16775 (_G_MMAP64): Likewise.
16776 (_G_FSTAT64): Likewise.
16777 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
16778 unconditional. Call __mmap64 directly.
16779 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
16780 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
16781 __lseek64 directly.
16782 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
16783 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
16784 __mmap64 directly.
16785 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
16786 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
16787 __lseek64 directly.
16788 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
16789 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
16790 __lseek64 directly.
16791 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
16792 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
16793 __lseek64 directly.
16794 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
16795 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
16796 __fxstat64 directly.
16797 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
16798 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
16799 unconditional.
16800 (freopen64) [!_G_OPEN64]: Remove conditional code.
16801 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
16802 unconditional.
16803 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
16804 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
16805 unconditional.
16806 (ftello64) [!_G_LSEEK64]: Remove conditional code.
16807 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
16808 unconditional.
16809 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16810 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
16811 unconditional.
16812 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
16813 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
16814 unconditional.
16815 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16816 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
16817 unconditional.
16818 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16819 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
16820 unconditional.
16821 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16822
b741de23
SP
168232012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16824
16825 [BZ #12140]
16826 * manual/memory.texi (Malloc Tunable Parameters): Add note
16827 about free list pointers overwriting some perturb bytes.
16828 Wording suggested by Roland McGrath.
16829
f9b9d9c9
JM
168302012-10-17 Joseph Myers <joseph@codesourcery.com>
16831
16832 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
16833 (lgamma_test): Likewise.
16834 (tgamma_test): Likewise.
16835
172a631a
FW
168362012-10-16 Florian Weimer <fweimer@redhat.com>
16837
16838 [BZ #14700]
16839 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
16840 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
16841
e9f37252
MK
168422012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
16843
16844 * NEWS: Mention BZ #14716.
16845 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
16846 when removing AVAILABLE1_USES_J macro.
16847
d394eb74
L
168482012-10-12 H.J. Lu <hongjiu.lu@intel.com>
16849
16850 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
16851 (__bswap_64): __uint64_t for unsigned 64-bit int.
16852
ca38dc17
AS
168532012-10-12 Andreas Schwab <schwab@linux-m68k.org>
16854
16855 * include/string.h (memmem): Declare libc hidden alias.
16856 * string/memmem.c (memmem): Define libc hidden alias.
16857 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
16858 __read, __close instead of open, read, close.
16859
9a387d1f
L
168602012-10-11 H.J. Lu <hongjiu.lu@intel.com>
16861
ac49ecaf
L
16862 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
16863 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
16864 global and hidden.
16865 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
16866 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
16867 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
16868 Likewise.
16869 (__rawmemchr_sse2): Likewise.
16870 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
16871 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
16872 (__strchr_sse2): Likewise.
16873 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
16874 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
16875 (__strcasecmp_sse2): Likewise.
16876 (__strncasecmp_sse2): Likewise.
16877 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
16878 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
16879 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
16880 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
16881 (__strrchr_sse2): Likewise.
16882 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
16883 ifunc-impl-list.c.
16884 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16885 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16886 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16887 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16888 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16889 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16890 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16891 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16892 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
16893 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
16894 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
16895 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
16896 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
16897 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16898 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16899 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16900 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16901 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16902 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
16903 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
16904 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
16905 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
16906 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
16907 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16908 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
16909 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16910 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16911 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16912 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16913 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16914
b090e8ea
L
16915 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
16916 global and hidden.
16917 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
16918 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
16919 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
16920 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
16921 Likewise.
16922 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
16923 Likewise.
16924 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
16925 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
16926 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
16927 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
16928 ifunc-impl-list.c.
16929 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16930 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16931 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16932 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16933 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16934 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16935 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16936 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16937 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16938 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16939 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16940 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16941 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16942 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
16943 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
16944 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16945 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
16946 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
16947 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16948 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16949 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16950 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16951 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16952 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16953 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16954 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
16955 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
16956 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
16957 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
16958 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16959 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
16960 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16961 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16962 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
16963 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16964 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16965 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16966 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16967 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16968 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16969 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
16970
11dd4af6
L
16971 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
16972 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
16973 * include/ifunc-impl-list.h: New file.
16974 * misc/ifunc-impl-list.c: Likewise.
16975 * misc/Makefile (routines): Add ifunc-impl-list.
16976 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
16977 * string/test-string.h: Include <ifunc-impl-list.h>.
16978 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
16979 impl_array): New variables.
16980 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
16981 are defined.
16982 (test_init): Call __libc_ifunc_impl_list to initialize
16983 func_list if TEST_IFUNC and TEST_NAME are defined.
16984
9a387d1f
L
16985 * string/Makefile (strop-tests): Add bcopy and bzero.
16986 * string/test-bcopy.c: New file.
16987 * string/test-bzero.c: Likewise.
16988 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
16989 defined.
16990 * string/test-memset.c: Support bzero test if TEST_BZERO is
16991 defined.
16992 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
16993 __libc_memmove.
16994 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
16995 __libc_memset.
16996 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
16997 of memset.
16998
472371b9
JM
169992012-10-10 Joseph Myers <joseph@codesourcery.com>
17000
1e4a9536
JM
17001 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
17002 * configure: Regenerated.
17003
d173d12e
JM
17004 * Makeconfig (+link-static-before-libc): Don't include
17005 $(link-static-libc).
17006
472371b9
JM
17007 * libio/libio.h (_IO_pos_t): Remove.
17008
89a3ad0b
AO
170092012-10-10 Alexandre Oliva <aoliva@redhat.com>
17010
17011 * NEWS: Add note about FIPS mode. Wording suggested by Roland
17012 McGrath.
17013
e7451425
AO
170142012-10-10 Alexandre Oliva <aoliva@redhat.com>
17015
17016 * crypt/crypt-entry.c: Include fips-private.h.
17017 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
17018 * crypt/md5c-test.c (main): Tolerate disabled MD5.
17019 * sysdeps/unix/sysv/linux/fips-private.h: New file.
17020 * sysdeps/generic/fips-private.h: New file, dummy fallback.
17021
4ba74a35
AO
170222012-10-10 Alexandre Oliva <aoliva@redhat.com>
17023
17024 * crypt/crypt-private.h: Include stdbool.h.
17025 (_ufc_setup_salt_r): Return bool.
17026 * crypt/crypt-entry.c: Include errno.h.
17027 (__crypt_r): Return NULL with EINVAL for bad salt.
17028 * crypt/crypt_util.c (bad_for_salt): New.
17029 (_ufc_setup_salt_r): Check that salt is long enough and within
17030 the specified alphabet.
17031 * crypt/badsalttest.c: New file.
17032 * crypt/Makefile (tests): Add it.
17033 ($(objpfx)badsalttest): New.
17034
f96f1242
MK
170352012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
17036
17037 * NEWS: Add entry for BZ #14602.
17038
0e8e0c1c
JM
170392012-10-09 Joseph Myers <joseph@codesourcery.com>
17040
17041 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
17042 type-generic.
17043 * math/libm-test.inc: Update comment listing what functions and
17044 macros are tested.
17045 (isgreater_test): New function.
17046 (isgreaterequal_test): Likewise.
17047 (isless_test): Likewise.
17048 (islessequal_test): Likewise.
17049 (islessgreater_test): Likewise.
17050 (isunordered_test): Likewise.
17051 (main): Call the new functions.
17052
273edc5e
RM
170532012-10-09 Roland McGrath <roland@hack.frob.com>
17054
b8493de0
RM
17055 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
17056 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
17057 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
17058 * sysdeps/i386/configure: Regenerated.
17059 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
17060 * sysdeps/mach/configure: Regenerated.
17061 * sysdeps/mach/hurd/configure: Regenerated.
17062 * sysdeps/powerpc/configure: Regenerated.
17063 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17064 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17065 * sysdeps/s390/s390-32/configure: Regenerated.
17066 * sysdeps/s390/s390-64/configure: Regenerated.
17067 * sysdeps/sh/configure: Regenerated.
17068 * sysdeps/sparc/configure: Regenerated.
17069 * sysdeps/unix/sysv/linux/configure: Regenerated.
17070 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
17071 * sysdeps/x86_64/configure: Regenerated.
17072
273edc5e
RM
17073 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
17074 defined. Don't check if MAP is NULL.
17075
c8450f70
JM
170762012-10-09 Joseph Myers <joseph@codesourcery.com>
17077
17078 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
17079 (_G_stat64): Likewise.
17080 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
17081 (_G_stat64): Likewise.
17082 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
17083 instead of struct _G_stat64.
17084 * libio/fileops.c (mmap_remap_check): Likewise.
17085 (decide_maybe_mmap): Likewise.
17086 (_IO_new_file_seekoff): Likewise.
17087 (_IO_file_stat): Likewise.
17088 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
17089 _G_off64_t.
17090 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
17091 instead of struct _G_stat64.
17092 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17093
57e605ba
MK
170942012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
17095
17096 [BZ #14602]
17097 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17098 Replace with ...
17099 (CHECK_EOL): New macro.
17100 (two_way_short_needle): Check beginning of haystack for EOL. Use
17101 CHECK_EOL.
17102 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17103 Replace with CHECK_EOL.
17104 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17105 Replace with CHECK_EOL.
17106
ef1bb361
JM
171072012-10-08 Joseph Myers <joseph@codesourcery.com>
17108
17109 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
17110 type-generic.
17111 * math/libm-test.inc: Update comment listing what functions and
17112 macros are tested.
17113 (finite_test): New function.
17114 (isinf_test): Likewise.
17115 (isnan_test): Likewise.
17116 (fpclassify_test): Test subnormal input.
17117 (isfinite_test): Likewise.
17118 (isnormal_test): Likewise.
17119 (main): Call the new functions.
17120
55f11534
JN
171212012-10-08 Jonathan Nieder <jrnieder@gmail.com>
17122
17123 [BZ #14660]
17124 * Makerules (%.dynsym): Force C locale when running
17125 $(OBJDUMP) --dynamic-syms.
17126
1ab29350
AS
171272012-10-08 Andreas Schwab <schwab@linux-m68k.org>
17128
17129 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
17130 <stdint.h>.
17131
f1ecb7ef
DM
171322012-10-06 David S. Miller <davem@davemloft.net>
17133
17134 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
17135 upper 32-bits of the length value in %o2 since we use branch-on-register
17136 tests which consider the entire 64-bit register.
17137
5d41d91a
L
171382012-10-06 H.J. Lu <hongjiu.lu@intel.com>
17139
17140 * string/test-strstr.c (check2): Add a test for page boundary.
17141
3baddb72
DM
171422012-10-05 David S. Miller <davem@davemloft.net>
17143
17144 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
17145 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
17146 file.
17147 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17148 sysdep_routines.
17149 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17150 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
17151 and bzero when HWCAP_SPARC_CRYPTO is present.
17152
9cee5585
L
171532012-10-05 H.J. Lu <hongjiu.lu@intel.com>
17154
d7e0dab9
L
17155 [BZ #14602]
17156 * string/test-strstr.c (check2): New function.
17157 (test_main): Call check2.
17158
03759f47
L
17159 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
17160 and bug-strchr1.
17161 * string/bug-strcasestr1.c (do_test): Moved to ...
17162 * string/test-strcasestr.c (check1): Here. New function.
17163 (do_one_test): Break out result checking code into ...
17164 (check_result): This. New function.
17165 (do_one_test): Call check_result.
17166 (test_main): Call check1.
17167 * string/bug-strchr1.c (do_test): Moved to ...
17168 * string/test-strchr.c (check1): Here. New function.
17169 (do_one_test): Break out result checking code into ...
17170 (check_result): This. New function.
17171 (do_one_test): Call check_result.
17172 (test_main): Call check1.
17173 * string/bug-strstr1.c (main): Moved to ...
046f153e 17174 * string/test-strstr.c (check1): Here. New function.
03759f47
L
17175 (do_one_test): Break out result checking code into ...
17176 (check_result): This. New function.
17177 (do_one_test): Call check_result.
17178 (test_main): Call check1.
17179 * string/bug-strcasestr1.c: Removed.
17180 * string/bug-strchr1.c: Likewise.
17181 * string/bug-strstr1.c: Likewise.
17182
53cea63e
L
17183 * elf/Makefile (dl-routines): Add hwcaps.
17184 * elf/dl-support.c (_dl_important_hwcaps): Removed.
17185 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
17186 (_dl_important_hwcaps): Moved to ...
17187 * elf/dl-hwcaps.c: Here. New file.
17188 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
17189
9cee5585 17190 [BZ #14557]
bb859b06
L
17191 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
17192 if IS_IN_rtld isn't defined.
17193
9cee5585
L
17194 * elf/dl-support.c (_dl_sysinfo_map): New.
17195 Include "get-dynamic-info.h" and "setup-vdso.h".
17196 (_dl_non_dynamic_init): Call setup_vdso.
17197 * elf/dynamic-link.h: Don't include <assert.h>.
17198 (elf_get_dynamic_info): Moved to ...
17199 * elf/get-dynamic-info.h: Here. New file.
17200 * elf/dynamic-link.h: Include "get-dynamic-info.h".
17201 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
17202 * elf/setup-vdso.h: Here. New file.
17203 * elf/rtld.c: Include "setup-vdso.h".
17204 (dl_main): Call setup_vdso.
17205
23c31b76
JM
172062012-10-05 Joseph Myers <joseph@codesourcery.com>
17207
28234b07
JM
17208 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
17209 creal in comment listing functions tested. List finite, isinf,
17210 isnan, isless, islessequal, isgreater, isgreaterequal,
17211 islessgreater, isunordered, lgamma_r and pow10 as functions and
17212 macros not tested. Mention which functions not tested are aliases
17213 for other functions. Fix typo. Note that signs of NaNs are not
17214 tested.
17215
23c31b76
JM
17216 * scripts/config.guess: Update from config.git.
17217 * scripts/config.sub: Likewise.
17218
9043e228
RM
172192012-10-04 Roland McGrath <roland@hack.frob.com>
17220
17221 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
17222 * misc/madvise.c (madvise): Renamed to __madvise.
17223 Make madvise a weak alias.
17224 * include/sys/mman.h: Declare __madvise.
17225 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
17226 * sysdeps/unix/syscalls.list
17227 (madvise): Make __madvise the strong name, and madvise a weak alias.
17228 * sysdeps/unix/sysv/linux/syscalls.list
17229 (madvise, mmap): Remove redundant entries.
17230 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
17231 * malloc/malloc.c (mtrim): Likewise.
17232 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
17233
f57f8055
RM
172342012-10-03 Roland McGrath <roland@hack.frob.com>
17235
17236 * sysdeps/mach/hurd/dl-cache.c: File removed.
17237 * config.h.in (USE_LDCONFIG): New #undef.
17238 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
17239 * configure: Regenerated.
17240 * elf/Makefile (dl-routines): Add dl-cache only under
17241 [$(use-ldconfig) = yes].
17242 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
17243 cache on [USE_LDCONFIG].
17244 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
17245 [USE_LDCONFIG].
17246 * elf/rtld.c (dl_main): Likewise.
17247
5bb0c10a
PT
172482012-10-03 Pino Toscano <toscano.pino@tiscali.it>
17249
17250 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
17251 _SC_LEVEL4_CACHE_LINESIZE.
17252
010188c6
RM
172532012-10-03 Roland McGrath <roland@hack.frob.com>
17254
17255 * sysdeps/unix/bsd/confstr.h: File removed.
17256
b6c5ec07
AO
172572012-10-02 Alexandre Oliva <aoliva@redhat.com>
17258
17259 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
17260 sys/sdt-config.h.
17261
408223d4
RM
172622012-10-02 Roland McGrath <roland@hack.frob.com>
17263
17264 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
17265 Make 'mapoff' field ElfW(Off) rather than off_t.
17266
bb9510dc
DL
172672012-10-02 Dmitry V. Levin <ldv@altlinux.org>
17268
fc997c6e
DL
17269 * nscd/Makefile: Remove nscd-cflags and all its users.
17270 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
17271 (CFLAGS-nonlib): Add compiler flags for nscd modules.
17272
bb9510dc
DL
17273 [BZ #10631]
17274 * malloc.c (malloc_printerr): Clarify error message.
17275
05699367
L
172762012-10-02 H.J. Lu <hongjiu.lu@intel.com>
17277
17278 [BZ #14648]
17279 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17280 Set bit_FMA_Usable if FMA is supported.
17281 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
17282 macro.
17283 (bit_FMA4_Usable): Updated.
17284 (index_FMA_Usable): New macro.
17285 (CPUID_FMA): Likewise
17286 (HAS_FMA): Defined with bit_FMA_Usable.
17287
51367701
RM
172882012-10-01 Roland McGrath <roland@hack.frob.com>
17289
17290 * bits/types.h (__swblk_t): Type removed.
17291 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
17292 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
17293 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17294 (__SWBLK_T_TYPE): Likewise.
17295 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17296 (__SWBLK_T_TYPE): Likewise.
17297 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17298 (__SWBLK_T_TYPE): Likewise.
17299 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17300 (__SWBLK_T_TYPE): Likewise.
17301
4d57bf63 173022012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 17303 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
17304
17305 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
17306 (xdr_mapname): Use YPMAXMAP as maxsize.
17307 (xdr_peername): Use YPMAXPEER as maxsize.
17308 (xdr_keydat): Use YPAXRECORD as maxsize.
17309 (xdr_valdat): Use YPMAXRECORD as maxsize.
17310
93c65d43
RM
173112012-10-01 Roland McGrath <roland@hack.frob.com>
17312
497a03d6
RM
17313 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
17314
93c65d43
RM
17315 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
17316 * csu/init-first.c: ... here.
17317 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
17318 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
17319 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
17320 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17321 * sysdeps/i386/init-first.c: File removed.
17322 * sysdeps/sh/init-first.c: File removed.
17323
bec749fd
JM
173242012-10-01 Joseph Myers <joseph@codesourcery.com>
17325
17326 [BZ #14645]
17327 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
17328 if x * y might underflow to zero and z is zero.
17329 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17330 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17331 * math/libm-test.inc (min_subnorm_value): New variable.
17332 (fma_test): Add more tests.
17333 (fma_test_towardzero): Likewise.
17334 (fma_test_downward): Likewise
17335 (fma_test_upward): Likewise.
17336 (initialize): Set min_subnorm_value.
17337
8ec5b013
JM
173382012-09-29 Joseph Myers <joseph@codesourcery.com>
17339
17340 [BZ #14638]
17341 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
17342 0 + 0.
17343 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
17344 mode for addition resulting in exact zero.
17345 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
17346 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
17347 exact 0 + 0.
17348 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17349 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17350 * math/libm-test.inc (fma_test): Add more tests.
17351 (fma_test_towardzero): New function.
17352 (fma_test_downward): Likewise.
17353 (fma_test_upward): Likewise.
17354 (main): Call the new functions.
17355
b1fa802e
DM
173562012-09-28 David S. Miller <davem@davemloft.net>
17357
17358 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
17359
d3b9fd9e
RM
173602012-09-28 Roland McGrath <roland@hack.frob.com>
17361
ea4d37b3
RM
17362 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
17363 instead of SIGALRM.
17364
ac51c949
RM
17365 * sysdeps/gnu/_G_config.h: Moved to ...
17366 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
17367 * sysdeps/mach/hurd/_G_config.h: Moved to ...
17368 * sysdeps/generic/_G_config.h: ... here.
17369
28c195f7
RM
17370 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
17371
848917f9
RM
17372 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
17373
6bacf05b
RM
17374 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
17375 Conditionalize target on [libnss_test1.so-version].
17376
91363dbb
RM
17377 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
17378
cc87f7d8
RM
17379 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
17380 (elfobjdir): Move out of conditionals.
17381
b1c608fe
RM
17382 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
17383 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
17384 (__nss_lookup_function): Conditionalize label remove_from_tree on
17385 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 17386
1d9a6d96
DM
173872012-09-28 David S. Miller <davem@davemloft.net>
17388
17389 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
17390 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
17391 file.
17392 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17393 sysdep_routines.
17394 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17395 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
17396 when HWCAP_SPARC_CRYPTO is present.
17397
72581615
PT
173982012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17399
17400 * io/tst-mknodat.c: Create a FIFO instead of a socket.
17401
715a900c
JL
174022012-09-28 Andreas Schwab <schwab@linux-m68k.org>
17403
17404 [BZ #6530]
17405 * stdio-common/vfprintf.c (process_string_arg): Revert
17406 2000-07-22 change.
17407
174082011-09-28 Jonathan Nieder <jrnieder@gmail.com>
17409
17410 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
17411 for testcase.
17412 * stdio-common/tst-sprintf.c: Include <locale.h>
17413 (main): Test sprintf's handling of incomplete multibyte
17414 characters.
17415
9bac1d86
L
174162012-09-28 H.J. Lu <hongjiu.lu@intel.com>
17417
17418 * elf/dl-runtime.c (VERSYMIDX): Removed.
17419 * elf/dl-version.c (VERSYMIDX): Likewise.
17420 * elf/do-rel.h (VERSYMIDX): Likewise.
17421 (VALIDX): Likewise.
17422 * elf/dynamic-link.h (VERSYMIDX): Likewise.
17423 * elf/rtld.c (VALIDX): Likewise.
17424 (ADDRIDX): Likewise.
9bac1d86
L
17425 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
17426 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
17427 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
17428 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
17429 (VALIDX): Likewise.
17430 (ADDRIDX): Likewise.
9bac1d86 17431
b31606c0
PT
174322012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17433
17434 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
17435
11541177
JL
174362012-09-28 Dmitry V. Levin <ldv@altlinux.org>
17437
17438 [BZ #11438]
17439 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
17440 to global scope.
17441 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
17442 addresses are in the same scope as 192.0.2/24.
17443 * posix/gai.conf: Document new scope table defaults.
17444
adb26fae
SP
174452012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17446
17447 [BZ #5298]
17448 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
17449 for ftell. Compute offsets from write pointers instead.
17450 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17451
4573c6b0
SP
174522012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17453
17454 [BZ #14543]
17455 * libio/Makefile (tests): New test case tst-fseek.
17456 * libio/tst-fseek.c: New test case to verify that fseek/ftell
17457 combination works in wide mode.
17458 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
17459 state when the external buffer state changes.
17460
aa9bbfe6
DM
174612012-09-27 David S. Miller <davem@davemloft.net>
17462
17463 [BZ #14376]
17464 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
17465 pass reloc->r_addend in as the 'high' argument to
17466 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
17467
784421e7
DM
17468 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17469
c39bc8b8
PT
174702012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17471
17472 * rt/tst-aio2.c: Include <pthread.h>.
17473 * rt/tst-aio3.c: Likewise.
17474
1ccc2399
SE
174752012-09-27 Steve Ellcey <sellcey@mips.com>
17476
17477 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
17478
31ed4153
L
174792012-09-27 H.J. Lu <hongjiu.lu@intel.com>
17480
25f5f885
L
17481 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
17482 contents on [SHARED].
31ed4153 17483
b7bfe116
MP
174842012-09-26 Marek Polacek <polacek@redhat.com>
17485
17486 [BZ #14530]
17487 [BZ #13741]
17488 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
17489 for C++ and GCC <4.3 as well as for non GCC compilers.
17490
43c4edba
MT
174912012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
17492
17493 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17494
6a1bf82f
RM
174952012-09-25 Roland McGrath <roland@hack.frob.com>
17496
17497 * Makefile.in (all, install): Declare with .PHONY.
17498 Reported by Michael Hope <michael.hope@linaro.org>.
17499
8ad11b9a
TMQMF
175002012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17501
17502 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
17503 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
17504 system header.
17505 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
17506 Likewise.
17507 (sydep_routines): Add the new and the internal functions.
17508 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
17509 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
17510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
17511 (GLIBC_2.17): Add the new function.
17512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17513 (GLIBC_2.17): Likewise.
17514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
17515 (GLIBC_2.17): Likewise.
17516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
17517 (GLIBC_2.17): Likewise.
17518 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
17519
7e2fca8d
AM
175202012-09-25 Alan Modra <amodra@gmail.com>
17521
17522 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
17523 Add release barrier before setting once_control to say
17524 initialisation is done. Add hints on lwarx. Use macro in
17525 place of isync.
17526 (clear_once_control): Add release barrier.
17527
b87c4b24
JM
175282012-09-25 Joseph Myers <joseph@codesourcery.com>
17529
d032e0d2
JM
17530 [BZ #13629]
17531 * math/s_clog.c (__clog): Handle more values close to |z| = 1
17532 specially.
17533 * math/s_clog10.c (__clog10): Likewise.
17534 * math/s_clog10f.c (__clog10f): Likewise.
17535 * math/s_clog10l.c (__clog10l): Likewise.
17536 * math/s_clogf.c (__clogf): Likewise.
17537 * math/s_clogl.c (__clogl): Likewise.
17538 * math/Makefile (libm-calls): Add x2y2m1.
17539 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
17540 (__x2y2m1): Likewise.
17541 (__x2y2m1l): Likewise.
17542 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
17543 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
17544 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17545 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17546 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
17547 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
17548 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
17549 * sysdeps/i386/fpu/libm-test-ulps: Update.
17550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17551
b87c4b24
JM
17552 [BZ #14621]
17553 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
17554 int as type of variable DEPTH.
17555 (glob): Use size_t instead of int as type of variables NEWCOUNT
17556 and OLD_PATHC.
17557
6d3bf199
LD
175582012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17559
22bf5c17
LD
17560 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17561 Add s_sincosf-sse2.
17562 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
17563 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
17564 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
17565 macros for using routine as __sincosf_ia32.
17566 Use macro for function declaration and weak_alias.
17567 * sysdeps/i386/fpu/libm-test-ulps: Update.
17568
17569 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
17570 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17571
17572 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
17573 subnormal argument.
17574 * math/s_cexpf.c (__cexpf): Likewise.
17575 * math/s_csinf.c (__csinf): Likewise.
17576 * math/s_csinhf.c (__csinhf): Likewise.
17577 * math/s_ctanf.c (__ctanf): Likewise.
17578 * math/s_ctanhf.c (__ctanhf): Likewise.
17579 * math/s_ccosh.c (__ccoshf): Likewise.
17580 * math/s_cexp.c (__cexpl): Likewise.
17581 * math/s_csin.c (__csin): Likewise.
17582 * math/s_csinh.c (__csinh): Likewise.
17583 * math/s_ctan.c (__ctan): Likewise.
17584 * math/s_ctanh.c (ctanh): Likewise.
17585 * math/s_ccoshl.c (__ccoshl): Likewise.
17586 * math/s_cexpl.c (__cexpl): Likewise.
17587 * math/s_csinl.c (__csinl): Likewise.
17588 * math/s_csinhl.c (__csinhl): Likewise.
17589 * math/s_ctanl.c (__ctanl): Likewise.
17590 * math/s_ctanhl.c (__ctanhl): Likewise.
17591
203e5603
JM
175922012-09-25 Joseph Myers <joseph@codesourcery.com>
17593
17594 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
17595 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
17596 (_IO_off_t): Define to __off_t, not _G_off_t.
17597 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
17598 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
17599 (_IO_wint_t): Define to wint_t, not _G_wint_t.
17600 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
17601 type of __dummy and __dummy2 fields.
17602 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
17603 (_G_ssize_t): Likewise.
17604 (_G_off_t): Likewise.
17605 (_G_pid_t): Likewise.
17606 (_G_uid_t): Likewise.
17607 (_G_wchar_t): Likewise.
17608 (_G_wint_t): Likewise.
17609 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
17610 (_G_ssize_t): Likewise.
17611 (_G_off_t): Likewise.
17612 (_G_pid_t): Likewise.
17613 (_G_uid_t): Likewise.
17614 (_G_wchar_t): Likewise.
17615 (_G_wint_t): Likewise.
17616 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
17617 (_G_ssize_t): Likewise.
17618 (_G_off_t): Likewise.
17619 (_G_pid_t): Likewise.
17620 (_G_uid_t): Likewise.
17621 (_G_wchar_t): Likewise.
17622 (_G_wint_t): Likewise.
17623
9fab36eb
SP
176242012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17625
17626 * malloc/arena.c: Include malloc-sysdep.h.
17627 (shrink_heap): Use check_may_shrink_heap to decide if madvise
17628 is sufficient to shrink the heap or an unmap is needed.
17629 * sysdeps/generic/malloc-sysdep.h: New file. Define
17630 new function check_may_shrink_heap.
17631 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
17632 new function check_may_shrink_heap.
17633
2b4f00d1
SP
176342012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17635
17636 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
17637 comments.
17638
9a9028b1
DL
176392012-09-24 Dmitry V. Levin <ldv@altlinux.org>
17640
57c69bef
DL
17641 * catgets/test-gencat.sh: Add "set -e".
17642 * elf/tst-pathopt.sh: Likewise.
17643 * grp/tst_fgetgrent.sh: Likewise.
17644 * iconvdata/run-iconv-test.sh: Likewise.
17645 * intl/tst-gettext.sh: Likewise.
17646 * intl/tst-gettext2.sh: Likewise.
17647 * intl/tst-gettext4.sh: Likewise.
17648 * intl/tst-gettext6.sh: Likewise.
17649 * intl/tst-translit.sh: Likewise.
17650 * io/ftwtest-sh: Likewise.
17651 * libio/test-freopen.sh: Likewise.
17652 * malloc/tst-mtrace.sh: Likewise.
17653 * posix/globtest.sh: Likewise.
17654 * posix/tst-getconf.sh: Likewise.
17655 * posix/wordexp-tst.sh: Likewise.
17656 * stdio-common/tst-printf.sh: Likewise.
17657 * stdio-common/tst-unbputc.sh: Likewise.
17658 * stdlib/tst-fmtmsg.sh: Likewise.
17659 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17660 * catgets/Makefile: Do not specify -e option when running
17661 testsuite shell scripts.
17662 * elf/Makefile: Likewise.
17663 * grp/Makefile: Likewise.
17664 * iconvdata/Makefile: Likewise.
17665 * intl/Makefile: Likewise.
17666 * io/Makefile: Likewise.
17667 * libio/Makefile: Likewise.
17668 * malloc/Makefile: Likewise.
17669 * posix/Makefile: Likewise.
17670 * stdio-common/Makefile: Likewise.
17671 * stdlib/Makefile: Likewise.
17672 * sysdeps/x86_64/Makefile: Likewise.
17673
9a9028b1
DL
17674 * io/ftwtest-sh: Add copyright header.
17675 * posix/globtest.sh: Likewise.
17676 * posix/tst-getconf.sh: Likewise.
17677 * posix/wordexp-tst.sh: Likewise.
17678 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17679
ced6f16e
L
176802012-09-24 H.J. Lu <hongjiu.lu@intel.com>
17681
94b32c39
L
17682 [BZ #13679]
17683 * Makeconfig (+link): Defined as $(+link-static) if
17684 $(build-shared) isn't yes.
17685 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
17686 isn't yes.
17687 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
17688
189e935b
L
17689 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
17690
ced6f16e
L
17691 [BZ #14562]
17692 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
17693 new chunk size with MALLOC_ALIGN_MASK.
17694
a9f8e53a
JM
176952012-09-24 Joseph Myers <joseph@codesourcery.com>
17696
17697 [BZ #5044]
17698 * stdio-common/printf_fphex.c: Include <stdbool.h> and
17699 <rounding-mode.h>.
17700 (__printf_fphex): Determine rounding using get_rounding_mode and
17701 round_away.
17702 * stdio-common/tst-printf-round.c (struct hex_test): New
17703 structure.
17704 (hex_tests): New variable.
17705 (test_hex_in_one_mode): New function.
17706 (do_test): Also run tests for hex float output.
17707
43153109
JM
177082012-09-21 Joseph Myers <joseph@codesourcery.com>
17709
17710 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17711 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17712 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
17713 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17714 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17715 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
17716 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17717 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17718
8a26625d
JM
177192012-09-20 Joseph Myers <joseph@codesourcery.com>
17720
17721 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
17722 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
17723 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
17724 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
17725
f3fd569c
DL
177262012-09-19 Dmitry V. Levin <ldv@altlinux.org>
17727
17728 [BZ #14579]
17729 * elf/rtld.c (dl_main): Limit the check for self loading to normal
17730 mode only.
17731 * elf/tst-rtld-load-self.sh: New test.
17732 * elf/Makefile: Run it.
17733
63bbedd4
JM
177342012-09-18 Joseph Myers <joseph@codesourcery.com>
17735
17736 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
17737 (tst-writev-ENV): Remove.
17738 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
17739
626f8b6a
CM
177402012-09-17 Chris Metcalf <cmetcalf@tilera.com>
17741
17742 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
17743
b7aaa4d6
JM
177442012-09-17 Joseph Myers <joseph@codesourcery.com>
17745
17746 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
17747 unconditional.
17748 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
17749 Likewise.
17750 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
17751 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
17752 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
17753 Likewise.
17754
65513990
L
177552012-09-14 H.J. Lu <hongjiu.lu@intel.com>
17756
17757 [BZ #14587]
17758 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
17759 * config.make.in (have-cpp-asm-debuginfo): Removed.
17760 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
17761 * configure: Regenerated.
17762
784761be
JM
177632012-09-14 Joseph Myers <joseph@codesourcery.com>
17764
17765 [BZ #5044]
17766 * stdio-common/printf_fp.c: Include <stdbool.h> and
17767 <rounding-mode.h>.
17768 (___printf_fp): Determine rounding using get_rounding_mode and
17769 round_away.
17770 * stdio-common/tst-printf-round.c: New file.
17771 * stdio-common/Makefile (tests): Add tst-printf-round.
17772 (link-libm): New variable.
17773 ($(objpfx)tst-printf-round): Depend in $(link-libm).
17774
9503345f
L
177752012-09-13 H.J. Lu <hongjiu.lu@intel.com>
17776
17777 [BZ #14576]
17778 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
17779 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
17780 Likewise.
17781 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
17782 Likewise.
17783
ad35fc00
JM
177842012-09-13 Joseph Myers <joseph@codesourcery.com>
17785
17786 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
17787 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17788 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17789 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17790
6c9b0f68
JM
177912012-09-12 Joseph Myers <joseph@codesourcery.com>
17792
17793 [BZ #14518]
17794 * include/rounding-mode.h: New file.
17795 * sysdeps/generic/get-rounding-mode.h: Likewise.
17796 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
17797 * stdlib/strtod_l.c: Include <rounding-mode.h>.
17798 (MAX_VALUE): New macro.
17799 (MIN_VALUE): Likewise.
17800 (overflow_value): New function.
17801 (underflow_value): Likewise.
17802 (round_and_return): Use overflow_value and underflow_value to
17803 determine return values in overflow and underflow cases. Use
17804 round_away to determine rounding depending on rounding mode.
17805 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
17806 determine return values in overflow and underflow cases.
17807 * stdlib/tst-strtod-round.c: Include <fenv.h>.
17808 (struct test_results): New structure.
17809 (struct test): Use struct test_results to store expected results
17810 for all rounding modes.
17811 (TEST): Include expected results for all rounding modes.
17812 (test_in_one_mode): New function.
17813 (do_test): Use test_in_one_mode to compute and check results.
17814 Check results for all rounding modes.
17815 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
17816 $(link-libm).
17817
19fcedd5
AM
178182012-12-09 Allan McRae <allan@archlinux.org>
17819
1e9d84cd 17820 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 17821
8bbfd2f1
JM
178222012-09-11 Joseph Myers <joseph@codesourcery.com>
17823
17824 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
17825 (_G_int32_t): Likewise.
17826 (_G_uint16_t): Likewise.
17827 (_G_uint32_t): Likewise.
17828 (_G_HAVE_BOOL): Likewise.
17829 (_G_HAVE_ATEXIT): Likewise.
17830 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17831 (_G_HAVE_IO_FILE_OPEN): Likewise.
17832 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
17833 (_G_int32_t): Likewise.
17834 (_G_uint16_t): Likewise.
17835 (_G_uint32_t): Likewise.
17836 (_G_HAVE_BOOL): Likewise.
17837 (_G_HAVE_ATEXIT): Likewise.
17838 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17839 (_G_HAVE_IO_FILE_OPEN): Likewise.
17840 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
17841 (_G_int32_t): Likewise.
17842 (_G_uint16_t): Likewise.
17843 (_G_uint32_t): Likewise.
17844 (_G_HAVE_BOOL): Likewise.
17845 (_G_HAVE_ATEXIT): Likewise.
17846 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17847 (_G_HAVE_IO_FILE_OPEN): Likewise.
17848
b1dc5912
L
178492012-09-11 H.J. Lu <hongjiu.lu@intel.com>
17850
17851 * csu/libc-tls.c: Update copyright years.
17852
0e886ef9
JM
178532012-09-10 Joseph Myers <joseph@codesourcery.com>
17854
28361c5e
JM
17855 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
17856 [!_G_USING_THUNKS]: Remove conditional code.
17857 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
17858 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
17859
0e886ef9
JM
17860 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
17861 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
17862 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17863 (_G_VTABLE_LABEL_PREFIX): Likewise.
17864 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17865 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17866 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17867 (_G_VTABLE_LABEL_PREFIX): Likewise.
17868 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17869 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17870 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17871 (_G_VTABLE_LABEL_PREFIX): Likewise.
17872 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17873
bcba7aa2
L
178742012-09-10 H.J. Lu <hongjiu.lu@intel.com>
17875
17876 * libio/Makefile: Include ../Makeconfig before tests.
17877 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
17878 only if $(build-shared) is yes.
17879
06585ee8
L
17880 * iconv/gconv_db.c: Update copyright years.
17881
80ccd52c
LD
178822012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17883
17884 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
17885 unwind info if defined PIC. Fix special cases description.
17886 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
17887
17888 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
17889 DP_HI_MASK entry.
17890 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
17891
691bc9c1
L
178922012-09-07 H.J. Lu <hongjiu.lu@intel.com>
17893
3d9b46b3
L
17894 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
17895
de2139a9
L
17896 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
17897 is NULL.
17898
5ca78dd0
L
17899 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
17900 (LDLIBS-tst-chk4): This.
17901 (LDFLAGS-tst-chk5): Renamed to ...
17902 (LDLIBS-tst-chk5): This.
17903 (LDFLAGS-tst-chk6): Renamed to ...
17904 (LDLIBS-tst-chk6): This.
17905 (LDFLAGS-tst-lfschk4): Renamed to ...
17906 (LDLIBS-tst-lfschk4): This.
17907 (LDFLAGS-tst-lfschk5): Renamed to ...
17908 (LDLIBS-tst-lfschk5): This.
17909 (LDFLAGS-tst-lfschk6): Renamed to ...
17910 (LDLIBS-tst-lfschk6): This.
17911
691bc9c1
L
17912 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
17913 on $(common-objpfx)soversions.mk.
17914
65cafb1c
JM
179152012-09-07 Joseph Myers <joseph@codesourcery.com>
17916
17917 [BZ #10014]
17918 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
17919 example host name.
17920
c78ab094
SP
179212012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17922
17923 * malloc/arena.c (arena_get_retry): New function that gets
17924 another arena for the caller to try its request on.
17925 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
17926 current arena cannot fulfill the request.
17927 (__libc_memalign): Likewise.
17928 (__libc_memalign): Likewise.
17929 (__libc_pvalloc): Likewise.
17930 (__libc_calloc): Likewise.
17931
01f49f59
JT
179322012-09-05 John Tobey <john.tobey@gmail.com>
17933
17934 [BZ #13542]
17935 * manual/arith.texi (Operations on Complex): Fix description
17936 of carg branch cut.
17937
4c23fed5
JM
179382012-09-06 Joseph Myers <joseph@codesourcery.com>
17939
1d3c8572
JM
17940 [BZ #10014]
17941 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
17942 host name.
17943
4c23fed5
JM
17944 [BZ #10038]
17945 * manual/memory.texi (Memory): Make order of menu items match
17946 order of sections.
17947
04570aaa
L
179482012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17949
17950 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
17951 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
17952 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
17953
b80af2f4
L
179542012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17955
17956 * csu/libc-tls.c (static_dtv): Renamed to ...
17957 (_dl_static_dtv): This. Make it global.
17958 (_dl_initial_dtv): Removed.
17959 (__libc_setup_tls): Updated.
17960 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
17961 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
17962 DL_INITIAL_DTV.
17963
2abe9f15
PM
179642012-09-06 Petr Machata <pmachata@redhat.com>
17965
17966 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
17967 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
17968 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
17969 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
17970
0948c3af
L
179712012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17972
17973 [BZ #14545]
17974 * csu/libc-tls.c (_dl_initial_dtv): New variable.
17975 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
17976 freeing dtv[-1].
17977
a5055ad1
L
179782012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17979
17980 [BZ #14544]
17981 * Makeconfig (link-static-before-libc): Replace $(+prector)
17982 with $(+prectorT).
17983 (link-static-after-libc): Replace $(+postctor) with
17984 $(+postctorT).
17985 (link-bounded): Replace $(+prector)/$(+postctor) with
17986 $(+prectorT)/$(+postctorT).
17987 (+prectorT): New macro.
17988 (+postctorT): Likewise.
17989
ed8c2ecd
JM
179902012-09-06 Joseph Myers <joseph@codesourcery.com>
17991
17992 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
17993 (round_str): Handle values above the maximum for IBM long double
17994 as inexact.
17995 * stdlib/tst-strtod-round.c (tests): Regenerated.
17996
14c996c8
AK
179972012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17998
17999 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
18000 assembler flag.
18001 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
18002 zarch_nohighgprs around the zarch optimized routines.
18003 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
18004 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
18005 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
18006 for zarch.
18007
430d6ce6
DM
180082012-09-05 David S. Miller <davem@davemloft.net>
18009
18010 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18011
ff04dda4
DM
18012 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
18013 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
18014 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
18015 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18016 entries.
18017
24d4e01b
AO
180182012-09-05 Alexandre Oliva <aoliva@redhat.com>
18019
18020 * malloc/arena.c: Fold copyright years.
18021 * malloc/mcheck.c, malloc/memusage.c: Likewise.
18022
61d58174
AO
180232012-09-05 Alexandre Oliva <aoliva@redhat.com>
18024
18025 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
18026
20196a5e
AO
180272012-09-05 Alexandre Oliva <aoliva@redhat.com>
18028
18029 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
18030
5c447383
AO
180312012-09-05 Alexandre Oliva <aoliva@redhat.com>
18032
18033 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
18034 change internal state upon failure.
18035
fad64255
AO
180362012-09-05 Alexandre Oliva <aoliva@redhat.com>
18037
18038 * malloc/mcheck.c (mcheck_check_all): Fix typo.
18039 * malloc/memusage.c (mmap): Likewise.
18040 (mmap64, mremap): Likewise. Adjust name in comment.
18041
1ffb8c90
SP
180422012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18043
18044 * libio/fileops.c: Fix typos in comments.
18045 * libio/oldfileops.c: Likewise.
18046 * libio/wfileops.c: Likewise.
18047
6ef9cc37
SP
180482012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18049
18050 [BZ #1349]
18051 * malloc/Makefile (tests): Add tst-malloc-usable test case.
18052 (tst-malloc-usable-ENV): Set environment for test case.
18053 * malloc/hooks.c (malloc_check_get_size): New function to get
18054 requested size.
18055 * malloc/malloc.c (musable): Use malloc_check_get_size.
18056 * malloc/tst-malloc-usable.c: New test case.
18057
4d038ae3
AS
180582012-09-05 Andreas Schwab <schwab@linux-m68k.org>
18059
18060 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
18061
c4e85184
AM
180622012-09-05 Allan McRae <allan@archlinux.org>
18063
b9dafc56 18064 [BZ #13966]
c4e85184
AM
18065 * configure.in (CXX_SYSINCLUDES): Use compiler output to
18066 determine header location.
18067 * configure: Regenerated.
18068
e1343020
AS
180692012-09-05 Andreas Schwab <schwab@linux-m68k.org>
18070
18071 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
18072 float format.
18073 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
18074 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
18075 format.
e1343020
AS
18076 (test): Regenerate.
18077
0a9f1987
DM
180782012-09-04 David S. Miller <davem@davemloft.net>
18079
18080 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
18081 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
18082 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
18083
29237804
FW
180842012-09-04 Florian Weimer <fweimer@redhat.com>
18085
18086 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
18087 failures.
18088
edb3cb88
FW
18089 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
18090
60160d83
JM
180912012-09-04 Joseph Myers <joseph@codesourcery.com>
18092
18093 [BZ #9914]
18094 * libio/iogetdelim.c: Include <limits.h>.
18095 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
18096 + len + 1 would overflow.
18097
bcd6c8dc
AJ
180982012-09-03 Andreas Jaeger <aj@suse.de>
18099
18100 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18101 * sysdeps/i386/fpu/libm-test-ulps: Update.
18102
4ffffbd2
LD
181032012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18104
18105 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18106 Add s_sinf-sse2, s_conf-sse2.
18107
18108 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
18109 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
18110 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
18111 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
18112
18113 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
18114 for using routine as __sinf_ia32.
18115 Use macro for function declaration and weak_alias.
18116 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
18117 for using routine as __cosf_ia32.
18118 Use macro for function declaration and weak_alias.
18119
18120 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
18121 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
18122
18123 * sysdeps/x86_64/fpu/s_sinf.S: New file.
18124 * sysdeps/x86_64/fpu/s_cosf.S: New file.
18125 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18126
18127 * math/libm-test.inc (cos_test): Add more test cases.
18128 (sin_test): Likewise.
18129 (sincos_test): Likewise.
18130
511fa286
AK
181312012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18132
18133 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
18134 (IFUNC_RESOLVE): Make pointers to the specialized implementations
18135 hidden.
18136 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18137
5f30cfec
L
181382012-09-02 H.J. Lu <hongjiu.lu@intel.com>
18139
18140 [BZ #14538]
18141 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
18142 first element of the GOT.
18143 (elf_machine_load_address): Return the difference between
18144 the runtime address of _DYNAMIC and elf_machine_dynamic ().
18145
0786794f
AM
181462012-09-01 Allan McRae <allan@archlinux.org>
18147
5f30cfec
L
18148 [BZ #13412]
18149 * configure.in (AWK): Require gawk version 3.0 or later.
18150 * configure: Regenerated.
0786794f 18151
26889eac
JM
181522012-09-01 Joseph Myers <joseph@codesourcery.com>
18153
18154 * sysdeps/unix/sysv/linux/kernel-features.h
18155 (__ASSUME_POSIX_CPU_TIMERS): Remove.
18156 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18157 [__NR_clock_getres]: Make code unconditional.
18158 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
18159 (clock_getcpuclockid): Remove code left unreachable by removal of
18160 conditionals.
18161 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
18162 code unconditional.
18163 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18164 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18165 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
18166 Make code unconditional.
18167 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18168 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18169 * sysdeps/unix/sysv/linux/clock_settime.c
18170 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
18171 conditional code.
18172 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
18173 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18174
d22e28b0
L
181752012-08-29 H.J. Lu <hongjiu.lu@intel.com>
18176
18177 [BZ #14476]
18178 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
18179 scripts/test-installation.pl.
18180
18181 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
18182 and $ld_so_version if it is set.
18183
050af9c4
SP
181842012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18185
18186 [BZ #14516]
18187 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
18188 failure if reading from procfs failed.
18189 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
18190
ad845c0b
JM
181912012-08-27 Joseph Myers <joseph@codesourcery.com>
18192
18193 * sysdeps/unix/sysv/linux/kernel-features.h
18194 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
18195 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18196 Remove conditional code.
18197 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18198 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
18199 Remove conditional code.
18200 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18201 * sysdeps/unix/sysv/linux/i386/fxstat.c
18202 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18203 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18204 * sysdeps/unix/sysv/linux/i386/fxstatat.c
18205 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18206 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18207 * sysdeps/unix/sysv/linux/i386/lxstat.c
18208 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18209 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18210 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
18211 Remove conditional code.
18212 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18213 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18214 Remove conditional code.
18215 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18216 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
18217 <kernel-features.h>.
18218 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
18219 Remove.
18220 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
18221 Remove conditional code.
18222 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18223 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
18224 Remove conditional.
18225
5dbf56af
MF
182262012-08-27 Mike Frysinger <vapier@gentoo.org>
18227
18228 [BZ #5400]
18229 * NEWS: Add fixed bug number.
18230
d6e70f43
JM
182312012-08-27 Joseph Myers <joseph@codesourcery.com>
18232
7efb4737
JM
18233 [BZ #14519]
18234 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
18235 underflowing exponent in case of negative sign.
18236 * stdlib/tst-strtod-round-data: Add more tests.
18237 * stdlib/tst-strtod-round.c (tests): Regenerated.
18238
af92131a
JM
18239 [BZ #3479]
18240 * stdlib/strtod_l.c (NDIG): Remove.
18241 (HEXNDIG): Likewise.
18242 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
18243 smallest representable value.
18244 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
18245 lie within an exact representation of 1/2 ulp of the result.
18246 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
18247 unconditionally.
18248 (TENS_P9_IDX): Define unconditionally.
18249 (TENS_P9_SIZE): Likewise.
18250 (TENS_P10_IDX): Likewise.
18251 (TENS_P10_SIZE): Likewise.
18252 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
18253 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
18254 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
18255 entries for 10^2^13 and 10^2^14.
18256 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
18257 (TENS_P13_IDX): Define.
18258 (TENS_P13_SIZE): Likewise.
18259 (TENS_P14_IDX): Likewise.
18260 (TENS_P14_SIZE): Likewise.
18261 (_fpioconst_pow10): Change array size to
18262 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
18263 unconditional.
18264 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
18265 1024]: Add entries for 10^2^13 and 10^2^14.
18266 [LAST_POW10 > _LAST_POW10]: Remove #error.
18267 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
18268 (_fpioconst_pow10): Change array size to
18269 FPIOCONST_POW10_ARRAY_SIZE.
18270 * stdlib/gen-fpioconst.c: New file.
18271 * stdlib/gen-tst-strtod-round.c: Likewise.
18272 * stdlib/tst-strtod-round-data: Likewise.
18273 * stdlib/tst-strtod-round.c: Likewise.
18274 * stdlib/Makefile (tests): Add tst-strtod-round.
18275
d6e70f43
JM
18276 [BZ #14459]
18277 * stdlib/strtod_l.c: Include <stdint.h>.
18278 (NDEBUG): Do not define.
18279 (round_and_return): Change EXPONENT parameter to type intmax_t.
18280 Rearrange calculations to avoid internal overflow possibilities.
18281 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
18282 Rearrange calculations to avoid internal overflow possibilities.
18283 Assert that number fits inside MPNSIZE limbs.
18284 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
18285 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
18286 calculations and add assertions to avoid internal overflow
18287 possibilities. Add casts to avoid signed/unsigned operations.
18288 * stdlib/tst-strtod-overflow.c: New file.
18289 * stdlib/Makefile (tests): Add tst-strtod-overflow.
18290
1f529f7d
MP
182912012-08-25 Marek Polacek <polacek@redhat.com>
18292
18293 * time/time.h: Fix some typos in comments.
18294
59a629f1
RM
182952012-08-23 Roland McGrath <roland@hack.frob.com>
18296
18297 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
18298 * posix/tst-rfc3484-2.c: Likewise.
18299 * posix/tst-rfc3484-3.c: Likewise.
18300
d3bafbc9
SM
183012012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
18302
18303 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
18304 (EF_ARM_ABI_FLOAT_HARD): Likewise.
18305
4efcc022
JM
183062012-08-23 Joseph Myers <joseph@codesourcery.com>
18307
18308 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
18309 #include of fxstatat64.c.
18310
3cc3ef96
RM
183112012-08-22 Roland McGrath <roland@hack.frob.com>
18312
f04e2132
RM
18313 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
18314 * shadow/getspent_r.c: Likewise.
18315 * shadow/getspnam.c: Likewise.
18316 * shadow/getspnam_r.c: Likewise.
18317 * gshadow/getsgent.c: Likewise.
18318 * gshadow/getsgent_r.c: Likewise.
18319 * gshadow/getsgnam.c: Likewise.
18320 * gshadow/getsgnam_r.c: Likewise.
18321 * inet/getnetbyad.c: Likewise.
18322 * inet/getnetbyad_r.c: Likewise.
18323 * inet/getnetbynm.c: Likewise.
18324 * inet/getnetbynm_r.c: Likewise.
18325 * inet/getnetent.c: Likewise.
18326 * inet/getnetent_r.c: Likewise.
18327 * inet/getproto.c: Likewise.
18328 * inet/getproto_r.c: Likewise.
18329 * inet/getprtent.c: Likewise.
18330 * inet/getprtent_r.c: Likewise.
18331 * inet/getprtname.c: Likewise.
18332 * inet/getprtname_r.c: Likewise.
18333 * inet/getrpcbyname.c: Likewise.
18334 * inet/getrpcbyname_r.c: Likewise.
18335 * inet/getrpcbynumber.c: Likewise.
18336 * inet/getrpcbynumber_r.c: Likewise.
18337 * inet/getrpcent.c: Likewise.
18338 * inet/getrpcent_r.c: Likewise.
18339 * inet/getaliasent.c: Likewise.
18340 * inet/getaliasent_r.c: Likewise.
18341 * inet/getaliasname.c: Likewise.
18342 * inet/getaliasname_r.c: Likewise.
18343 * nscd/getgrgid_r.c: Likewise.
18344 * nscd/getgrnam_r.c: Likewise.
18345 * nscd/gethstbyad_r.c: Likewise.
18346 * nscd/gethstbynm3_r.c: Likewise.
18347 * nscd/getpwnam_r.c: Likewise.
18348 * nscd/getpwuid_r.c: Likewise.
18349 * nscd/getsrvbynm_r.c: Likewise.
18350 * nscd/getsrvbypt_r.c: Likewise.
18351 * nscd/gai.c: Likewise.
18352
c53d909c
RM
18353 * configure.in (build_nscd): New substituted variable, set
18354 by --disable-build-nscd and defaults to $use_nscd.
18355 * configure: Regenerated.
18356 * config.make.in (build-nscd): New substituted variable.
18357 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
18358 Change conditional to require [$(build-nscd) = yes] as well.
18359 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
18360
3cc3ef96
RM
18361 [BZ# 13696]
18362 * configure.in (use_nscd): New substituted variable, set by
18363 --disable-nscd. If enabled, define USE_NSCD.
18364 * configure: Regenerated.
18365 * config.h.in: Add USE_NSCD.
18366 * config.make.in (use-nscd): New substituted variable.
18367 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18368 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
18369 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
18370 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
18371 (CFLAGS-getgrnam_r.c): Likewise.
18372 (CFLAGS-initgroups.c): Likewise.
18373 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
18374 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
18375 Variables removed.
18376 * inet/getnetgrent_r.c
18377 (nscd_setnetgrent): New function, broken out of ...
18378 (setnetgrent): ... here. Call it.
18379 (innetgr): Conditionalize nscd bits on [USE_NSCD].
18380 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
18381 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
18382 * nscd/Makefile (routines, aux): Move definitions after include of
18383 Makeconfig. Conditionalize on [$(use-nscd) != no].
18384 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
18385 Conditionalize on [USE_NSCD].
18386 (is_nscd, nscd_init_cb): Likewise.
18387 (nss_load_library): Conditionalize init callback on [USE_NSCD].
18388 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
18389 * nss/nss_db/db-init.c: Likewise.
18390 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
18391 [USE_NSCD].
18392 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
18393 (make_request): Use it.
18394 (cache_valid_p): New function.
18395 (__check_pf): Use it.
18396 * NEWS: Add item for --disable-nscd.
18397
07e51550
DL
183982012-08-22 Dmitry V. Levin <ldv@altlinux.org>
18399
18400 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
18401 to support sed >= 4.2.1-20-ga9bf076.
18402 * configure: Regenerated.
18403
35a5b08b
RM
184042012-08-22 Roland McGrath <roland@hack.frob.com>
18405
18406 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
18407 Conditionalize whole body on [IREL].
18408
8479f23a
JL
184092012-08-22 Jeff Law <law@redhat.com>
18410
18411 [BZ #14505]
18412 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
18413 if the family is PF_UNSPEC.
18414
48da0b21
MF
184152012-08-22 Mike Frysinger <vapier@gentoo.org>
18416
18417 * Makerules (lib-version): Rename from V.
18418 (install-lib-nosubdir): Change V to lib-version.
18419
15d0da8c
WS
184202012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
18421
18422 [BZ #14252]
18423 * powerpc32/power6/wcschr.c: New file.
18424 * powerpc32/power6/wcscpy.c: New file.
18425 * powerpc32/power6/wcsrchr.c: New file.
18426 * powerpc64/power6/wcschr.c: New file.
18427 * powerpc64/power6/wcscpy.c: New file.
18428 * powerpc64/power6/wcsrchr.c: New file.
18429
bcca0895
MK
184302012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
18431
18432 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
18433 (two_way_short_needle): Use it.
5a4aaa33
RM
18434 * string/strstr.c (AVAILABLE1_USES_J): Define.
18435 * string/strcasestr.c: Likewise.
99677e57
MK
18436
18437 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
18438 array references.
18439 * string/strcasestr.c (TOLOWER): Make side-effect safe.
18440
400726de
MK
18441 [BZ #11607]
18442 * NEWS: Add an entry.
18443 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
18444 define their defaults.
18445 (two_way_short_needle): Detect end-of-string on-the-fly.
18446 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
18447 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
18448 * string/bug-strcasestr1.c: New test.
18449 * string/Makefile: Run it.
18450
20a71f2c
MK
184512012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
18452
18453 [BZ #11607]
18454 * string/str-two-way.h (two_way_short_needle): Optimize matching of
18455 the first character.
18456
21ad0558
RM
184572012-08-21 Roland McGrath <roland@hack.frob.com>
18458
18459 * csu/elf-init.c (__libc_csu_irel): Function removed.
18460 * csu/libc-start.c (apply_irel): New function.
18461 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
18462
0e1d9911
JM
184632012-08-21 Joseph Myers <joseph@codesourcery.com>
18464
18465 * sysdeps/unix/sysv/linux/kernel-features.h
18466 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
18467 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18468 <kernel-features.h>.
18469 [__NR_fadvise64_64]: Make code unconditional.
18470 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
18471 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18472 !__NR_fadvise64_64)]: Likewise.
18473 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18474 !__NR_fadvise64_64))]: Likewise.
18475 [__NR_fadvise64]: Make code unconditional.
18476 [!__NR_fadvise64]: Remove conditional code.
18477 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
18478 <kernel-features.h>.
18479 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18480 unconditional.
18481 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18482 conditional code.
18483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
18484 not include <kernel-features.h>.
18485 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18486 unconditional.
18487 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18488 conditional code.
18489 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
18490 include <kernel-features.h>.
18491 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18492 unconditional.
18493 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18494 conditional code.
18495
14a50c9d
WS
184962012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
18497
18498 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
18499 slight instruction rearrangements per scrollpipe analysis.
18500 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18501
c0f4faf0
RM
185022012-08-20 Roland McGrath <roland@hack.frob.com>
18503
696da859
RM
18504 * manual/syslog.texi (syslog; vsyslog, closelog):
18505 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
18506 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
18507
c0f4faf0
RM
18508 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
18509 DSOCAPS to match condition on defining it.
18510
348363b2
JM
185112012-08-20 Joseph Myers <joseph@codesourcery.com>
18512
a35cbf28
JM
18513 * sysdeps/unix/sysv/linux/kernel-features.h
18514 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
18515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
18516 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18517 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
18519 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18520 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
18522 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18523 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18524
445f7ecd
JM
18525 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
18526 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
18527
348363b2
JM
18528 * sysdeps/unix/sysv/linux/kernel-features.h
18529 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
18530 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
18531 unconditional.
18532 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18533 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
18534 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18535 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18536 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
18537 Make code unconditional.
18538 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18539 (__mmap64) [!__NR_mmap2]: Likewise.
18540 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
18541 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18542 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18543 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
18544 [__NR_mmap2]: Make code unconditional.
18545 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18546 (__mmap64) [!__NR_mmap2]: Likewise.
18547
bc5bc0e5
AK
185482012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18549
18550 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
18551
88d506de
AJ
185522012-08-18 Andreas Jaeger <aj@suse.de>
18553
18554 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
18555
493387d2
MF
185562012-08-18 Mike Frysinger <vapier@gentoo.org>
18557
18558 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
18559 * include/unistd.h (__have_sock_cloexec): Likewise.
18560 (__have_pipe2): Likewise.
18561 (__have_dup3): Likewise.
18562
a277af22
MF
185632012-08-18 Mike Frysinger <vapier@gentoo.org>
18564
18565 [BZ #9685]
18566 * include/unistd.h (__have_pipe2): Change define into an extern int.
18567 (__have_dup3): Likewise.
18568 * socket/have_sock_cloexec.c: Include fcntl.h.
18569 (__have_pipe2): New variable.
18570 (__have_dup3): Likewise.
18571
fdab8fd3
MF
185722012-08-17 Mike Frysinger <vapier@gentoo.org>
18573
18574 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
18575
31035e80
MP
185762012-08-17 Marek Polacek <polacek@redhat.com>
18577
18578 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
18579 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
18580
3bd9e993
RM
185812012-08-17 Roland McGrath <roland@hack.frob.com>
18582
c91c505f
RM
18583 * configure.in: Add AC_SUBST for sysheaders.
18584 * configure: Regenerated.
18585 * config.make.in (sysheaders): New substituted variable.
18586
7c6f9d53
RM
18587 * sysdeps/unix/mkfifo.c: Moved ...
18588 * sysdeps/posix/mkfifo.c: ... here.
18589 * sysdeps/unix/mkfifoat.c: Moved ...
18590 * sysdeps/posix/mkfifoat.c: ... here.
18591
18592 * sysdeps/unix/utime.c: Moved ...
18593 * sysdeps/posix/utime.c: ... here.
18594
18595 * sysdeps/unix/time.c: Moved ...
18596 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
18597 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
18598 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
18599
18600 * sysdeps/unix/nice.c: Moved ...
18601 * sysdeps/posix/nice.c: ... here.
18602
18603 * sysdeps/unix/alarm.c: Moved ...
18604 * sysdeps/posix/alarm.c: ... here.
18605
3bd9e993
RM
18606 * intl/Makefile ($(codeset_mo)): Depend on the input file.
18607
d1f09384
JL
186082012-08-17 Jeff Law <law@redhat.com>
18609
18610 * intl/Makefile (codeset_mo): New variable.
18611 ($(codeset_mo)): New target.
18612 (tst-codeset.out): Depend on that. Remove explicit rule.
18613 (tst-gettext3.out, tst-gettext5.out): Likewise.
18614 (LOCPATH-ENV, tst-codeset-ENV): New variables.
18615 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
18616 * intl/tst-codeset.sh: Remove.
18617 * intl/tst-gettext3.sh: Likewise.
18618 * intl/tst-gettext5.sh: Likewise.
18619
2ae1ae5c
RM
186202012-08-17 Roland McGrath <roland@hack.frob.com>
18621
c31fdb83
RM
18622 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
18623 * sysdeps/unix/syscalls.list: ... here.
18624
a0844057
RM
18625 * sysdeps/posix/getaddrinfo.c
18626 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
18627 (gaiconf_init, gaiconf_reload): Use them.
18628 [!_STATBUF_ST_NSEC]
18629 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
18630 Define using time_t rather than struct timespec.
18631
750c1f2a
RM
18632 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
18633 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
18634 Macros removed.
18635 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
18636 [!NO_THREADS].
18637 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
18638 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
18639 Likewise.
18640
2ae1ae5c
RM
18641 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
18642 __libc_cleanup_push argument.
18643
e66a42f5
RM
18644 * bits/param.h: New file.
18645 * misc/sys/param.h: New file.
18646 * include/sys/param.h: New file.
18647 * misc/Makefile (headers): Add bits/param.h.
18648 * sysdeps/generic/sys/param.h: File removed.
18649 * sysdeps/unix/sysv/linux/bits/param.h: New file.
18650 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
18651 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 18652 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 18653
b7c08a66
RM
18654 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
18655 last change.
18656
b2e1c562
RM
18657 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
18658 [_IO_MTSAFE_IO].
18659 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
18660 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
18661 New macros.
18662
c75ccd4c
RM
18663 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
18664 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
18665 rather than -D_IO_MTSAFE_IO conditionally.
18666 * stdio-common/Makefile (CPPFLAGS): Likewise.
18667 * wcsmbs/Makefile (CPPFLAGS): Likewise.
18668 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
18669 Use $(libio-mtsafe).
18670 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
18671 of -D_IO_MTSAFE_IO.
18672 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
18673 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
18674 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
18675 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
18676 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
18677 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
18678 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
18679 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
18680 (CFLAGS-fread_u_chk.c): Likewise.
18681 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
18682 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
18683 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
18684 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
18685 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
18686 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
18687 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
18688 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
18689 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
18690
18691 * libio/Makefile: Test [$(libc-reentrant) = yes]
18692 instead of [$(filter %REENTRANT, $(defines)) nonempty].
18693
18694 * Makeconfig
18695 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
18696 * sysdeps/pthread/configure: File removed.
18697 * sysdeps/pthread/Makeconfig: New file.
18698 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
18699 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
18700
d9195db8
GB
187012012-08-16 Gary Benson <gbenson@redhat.com>
18702
18703 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
18704 unmapping the first object in a namespace.
18705
86466cd9
RM
187062012-08-16 Roland McGrath <roland@hack.frob.com>
18707
18708 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
18709 (__internal_setnetgrent): ... this. Add internal_function to
18710 definition. Add libc_hidden_def.
18711 (setnetgrent): Update caller.
18712 (internal_endnetgrent): Renamed to ...
18713 (__internal_endnetgrent): ... this. Add internal_function to
18714 definition. Add libc_hidden_def.
18715 (endnetgrent): Update caller.
18716 (internal_getnetgrent_r): Renamed to ...
18717 (__internal_getnetgrent_r): ... this. Add internal_function to
18718 definition. Add libc_hidden_def.
18719 (__getnetgrent_r): Update caller.
18720 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
18721
c3c8283c
JM
187222012-08-16 Joseph Myers <joseph@codesourcery.com>
18723
18724 * stdlib/longlong.h: Update from GCC.
18725
db1ee0a8
RM
187262012-08-16 Roland McGrath <roland@hack.frob.com>
18727
18728 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
18729 on _QL, which is set by umul_ppmm but never used.
18730 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
18731 variables, which are set by GMP macros but never used.
18732 * stdio-common/_itowa.c (_itowa): Likewise.
18733 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
18734 * stdlib/mod_1.c (mpn_mod_1): Likewise.
18735
30f69637
CD
187362012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
18737
18738 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
18739 struct La_sh_regs is not constant.
18740 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
18741 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
18742 and struct La_sparc64_regs are not constant.
18743
93a78ac4
JM
187442012-08-16 Joseph Myers <joseph@codesourcery.com>
18745
18746 * sysdeps/unix/sysv/linux/kernel-features.h
18747 (__ASSUME_POSIX_TIMERS): Remove.
18748 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18749 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18750 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
18751 Make code unconditional.
18752 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18753 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
18754 Make code unconditional.
18755 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18756 * sysdeps/unix/sysv/linux/clock_nanosleep.c
18757 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
18758 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18759 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
18760 Make code unconditional.
18761 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18762 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
18763 (__libc_missing_posix_timers): Remove.
18764
dd924cd7
RM
187652012-08-15 Roland McGrath <roland@hack.frob.com>
18766
4b4f2771
RM
18767 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
18768 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
18769
601c888b
RM
18770 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
18771
176790a7
RM
18772 * elf/dl-sym.c: Include <stdlib.h>.
18773
329bc018
RM
18774 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
18775 constants, which avoids warnings in 32-bit builds.
18776
e04e272d
RM
18777 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
18778 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
18779
952bf94a
RM
18780 * misc/lseek.c: File moved to ...
18781 * io/lseek.c: ... here.
18782
7c99b50a
RM
18783 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
18784
dd924cd7
RM
18785 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
18786 shifting LEN more than 31 bits at once.
18787
b3f479a8
LD
187882012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18789
18790 [BZ #14195]
8c4ae0d4
RM
18791 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
18792 segmentation fault for a case of two empty input strings.
b3f479a8
LD
18793 * string/test-strncasecmp.c (check1): Renamed to...
18794 (bz12205): ...this.
18795 (bz14195): Add new testcase for two empty input strings and N > 0.
18796 (test_main): Call new testcase, adapt for renamed function.
18797
9c55864e
AJ
187982012-08-15 Andreas Jaeger <aj@suse.de>
18799
18800 [BZ #14090]
18801 * crypt/md5test2.c: New test, based on test supplied by Serge
18802 Belyshev <belyshev@depni.sinp.msu.ru>.
18803 * crypt/Makefile (xtests): Add md5test-giant..
18804 * crypt/Makefile ($(objpfx)md5test-giant): Add.
18805
02dcb6c5
PE
188062012-08-15 Paul Eggert <eggert@cs.ucla.edu>
18807
18808 [BZ #14090]
18809 * crypt/md5.c (md5_process_block): Don't assume the buffer
18810 length is less than 2**32.
18811 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
18812 length is less than 2**64.
18813
a3f95dcc
RM
188142012-08-15 Roland McGrath <roland@hack.frob.com>
18815
be75d758
RM
18816 * string/str-two-way.h: Include <sys/param.h>.
18817 (MAX): Macro removed.
18818
7312ca90
RM
18819 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
18820 Move #define and #undef of memmove to just before and after
18821 including <string.h>.
18822
9a0a5486
RM
18823 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
18824 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
18825 and after including <string.h>. Move declarations of
18826 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
18827 to before #include "string/memmove.c".
18828
67cc348d
RM
18829 * include/dirent.h: Declare __getdirentries.
18830
a3f95dcc
RM
18831 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
18832 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
18833
ca98e171
MF
188342012-08-14 Mike Frysinger <vapier@gentoo.org>
18835
18836 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
18837 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
18838 * sysdeps/i386/configure: Regenerated.
18839 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
18840 STABS_CURRENT_FILE, and STABS_FUN.
18841 (END): Remove call to STABS_FUN_END.
18842 (STABS_CURRENT_FILE1): Delete.
18843 (STABS_CURRENT_FILE): Likewise.
18844 (STABS_FUN): Likewise.
18845 (STABS_FUN_END): Likewise.
18846 (STABS_FUN2): Likewise.
18847 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
18848 * sysdeps/x86_64/configure: Regenerated.
18849
5908bf46
RM
188502012-08-14 Roland McGrath <roland@hack.frob.com>
18851
18852 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 18853 * elf/dl-lookup.c: Likewise.
5908bf46 18854
f2c05b9e
JM
188552012-08-14 Joseph Myers <joseph@codesourcery.com>
18856
18857 * sysdeps/unix/sysv/linux/kernel-features.h
18858 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
18859 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
18860 unconditionally.
18861 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
18862 unconditionally.
18863 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
18864 condition on __ASSUME_CLONE_THREAD_FLAGS.
18865
e11f5155
AJ
188662012-08-14 Andreas Jaeger <aj@suse.de>
18867
18868 * sysdeps/i386/fpu/libm-test-ulps: Update.
18869
51a9ba86
MK
188702012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
18871
2fdd4f78
AJ
18872 * include/atomic.h (atomic_exchange_and_add): Split into ...
18873 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
18874 New atomic macros.
51a9ba86 18875
ba6cba9e
MT
188762012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
18877
18878 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18879
42443a47
JL
188802012-08-13 Jeff Law <law@redhat.com>
18881
18882 * manual/stdio.texi (snprintf): Clarify handling of the trailing
18883 null byte in the output string.
18884
121dce05
JM
188852012-08-10 Joseph Myers <joseph@codesourcery.com>
18886
18887 * sysdeps/unix/sysv/linux/kernel-features.h
18888 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
18889 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
18890 (__ASSUME_ARG_MAX_STACK_BASED): Define.
18891 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18892 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
18893 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
18894 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
18895
bf51f568
JL
188962012-08-09 Jeff Law <law@redhat.com>
18897
18898 [BZ #13939]
18899 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
18900 When avoid_arena is set, don't retry in the that arena. Pick the
18901 next one, whatever it might be.
18902 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
18903 (arena_lock): Pass in new parameter to arena_get2.
18904 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
18905 arena_get2.
18906 (__libc_malloc): Unify retrying after main arena failure with
18907 __libc_memalign version.
18908 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
18909
f85fa270
L
189102012-08-09 H.J. Lu <hongjiu.lu@intel.com>
18911
18912 [BZ #14166]
18913 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
18914 to __redirect_strstr.
18915 (__strstr_sse42): Use typeof __redirect_strstr.
18916 (__strstr_ia32): Likewise.
18917 (__libc_strstr): New prototype.
18918 (strstr): Renamed to ...
18919 (__libc_strstr): This.
18920 (strstr): New strong alias of __libc_strstr.
18921 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18922 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
18923 __redirect_time.
18924 Include <time.h>.
18925 (__libc_time): New prototype.
18926 (time_ifunc): Replace time with __libc_time.
18927 (time): New strong alias and hidden definition of __libc_time.
18928 (__GI_time): Remove strong alias.
18929 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
18930 Include <stddef.h>.
18931 (memmove): Redefined to __redirect_memmove.
18932 (__memmove_sse2): Use typeof __redirect_memmove.
18933 (__memmove_ssse3): Likewise.
18934 (__memmove_ssse3_back): Likewise.
18935 (__libc_memmove): New prototype.
18936 (memmove): Renamed to ...
18937 (__libc_memmove): This.
18938 (memmove): New strong alias of __libc_memmove.
18939
33b4a91e
MS
189402012-08-08 Mark Salter <msalter@redhat.com>
18941
18942 * elf/elf.h
18943 (R_MN10300_TLS_GD): Define.
18944 (R_MN10300_TLS_LD): Likewise.
18945 (R_MN10300_TLS_LDO): Likewise.
18946 (R_MN10300_TLS_GOTIE): Likewise.
18947 (R_MN10300_TLS_IE): Likewise.
18948 (R_MN10300_TLS_LE): Likewise.
18949 (R_MN10300_TLS_DTPMOD): Likewise.
18950 (R_MN10300_TLS_DTPOFF): Likewise.
18951 (R_MN10300_TLS_TPOFF): Likewise.
18952 (R_MN10300_SYM_DIFF): Likewise.
18953 (R_MN10300_ALIGN): Likewise.
18954 (R_MN10300_NUM): Update.
18955
b36137f1
JM
189562012-08-08 Joseph Myers <joseph@codesourcery.com>
18957
18958 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
18959 Remove.
18960
cdd915fd
RM
189612012-08-08 Roland McGrath <roland@hack.frob.com>
18962
a2433aac
RM
18963 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
18964
cdd915fd
RM
18965 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
18966 sysdeps/unix -> sysdeps/posix move.
18967 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18968
bf9b740a
AM
189692012-08-07 Allan McRae <allan@archlinux.org>
18970
18971 [BZ #14303]
18972 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
18973 (SUNOS_CPP): Likewise.
18974 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
18975 not found.
18976 (open_input): Call CPP using execvp.
18977
93df14ee
JM
189782012-08-07 Joseph Myers <joseph@codesourcery.com>
18979
18980 * sysdeps/unix/sysv/linux/kernel-features.h
18981 (__ASSUME_PROT_GROWSUPDOWN): Remove.
18982 (__ASSUME_NO_CLONE_DETACHED): Likewise.
18983 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18984 (__ASSUME_WAITID_SYSCALL): Likewise.
18985 * sysdeps/unix/sysv/linux/dl-execstack.c
18986 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
18987 code unconditional.
18988 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
18989 conditional code.
18990 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
18991 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
18992 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
18993 code.
18994 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
18995 unconditional.
18996 [__ASSUME_WAITID_SYSCALL]: Likewise.
18997 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
18998
d34689de
RM
189992012-08-07 Roland McGrath <roland@hack.frob.com>
19000
a281decc
RM
19001 * sysdeps/unix/closedir.c: Renamed to ...
19002 * sysdeps/posix/closedir.c: ... here.
19003 * sysdeps/unix/dirfd.c: Renamed to ...
19004 * sysdeps/posix/dirfd.c: ... here.
19005 * sysdeps/unix/dirstream.h: Renamed to ...
19006 * sysdeps/posix/dirstream.h: ... here.
19007 * sysdeps/unix/fdopendir.c: Renamed to ...
19008 * sysdeps/posix/fdopendir.c: ... here.
19009 * sysdeps/unix/opendir.c: Renamed to ...
19010 * sysdeps/posix/opendir.c: ... here.
19011 * sysdeps/unix/readdir.c: Renamed to ...
19012 * sysdeps/posix/readdir.c: ... here.
19013 * sysdeps/unix/readdir_r.c: Renamed to ...
19014 * sysdeps/posix/readdir_r.c: ... here.
19015 * sysdeps/unix/rewinddir.c: Renamed to ...
19016 * sysdeps/posix/rewinddir.c: ... here.
19017 * sysdeps/unix/seekdir.c: Renamed to ...
19018 * sysdeps/posix/seekdir.c: ... here.
19019 * sysdeps/unix/telldir.c: Renamed to ...
19020 * sysdeps/posix/telldir.c: ... here.
19021 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
19022 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
19023 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
19024 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
19025
22895b47
RM
19026 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
19027 * bits/fcntl.h: ... here.
19028
707a53b6
RM
19029 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
19030 not 0.
19031 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
19032 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
19033 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
19034 (struct flock): Move l_start, l_len to the beginning.
19035 Use __pid_t for l_pid.
19036 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
19037 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
19038 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
19039 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
19040 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
19041 [__USE_LARGEFILE64] (struct flock64): New type.
19042 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
19043
f0bd3e25
RM
19044 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
19045 * bits/dirent.h: ... here.
19046
d34689de
RM
19047 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
19048 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
19049
6dad2c06
JM
190502012-08-07 Joseph Myers <joseph@codesourcery.com>
19051
19052 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19053 Change from 2.6.0 to 2.6.16.
19054 * sysdeps/unix/sysv/linux/configure: Regenerated.
19055 * sysdeps/unix/sysv/linux/kernel-features.h
19056 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
19057 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
19058 version.
19059 (__ASSUME_UTIMES): Likewise.
19060 (__ASSUME_CLONE_STOPPED): Remove.
19061 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
19062 architectures, not kernel version.
19063 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
19064 (__ASSUME_NO_CLONE_DETACHED): Likewise.
19065 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19066 (__ASSUME_WAITID_SYSCALL): Likewise.
19067 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
19068 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
19069 * README: State 2.6.16 as minimum Linux kernel version. Do not
19070 refer to older versions.
19071
03af9520
RM
190722012-08-06 Roland McGrath <roland@hack.frob.com>
19073
8e49df1d
RM
19074 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
19075 Define alphasort64 as an alias.
19076 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
19077 Define versionsort64 as an alias.
19078 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
19079 Define scandir64 as an alias.
19080 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
19081 Define scandirat64 as an alias.
19082 * dirent/alphasort64.c (alphasort64):
19083 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
19084 * dirent/versionsort64.c: Likewise.
19085 * dirent/scandir64.c: Likewise.
19086 * dirent/scandirat64.c: Likewise.
19087 * sysdeps/wordsize-64/alphasort.c: File removed.
19088 * sysdeps/wordsize-64/alphasort64.c: File removed.
19089 * sysdeps/wordsize-64/scandir.c: File removed.
19090 * sysdeps/wordsize-64/scandir64.c: File removed.
19091 * sysdeps/wordsize-64/scandirat.c: File removed.
19092 * sysdeps/wordsize-64/scandirat64.c: File removed.
19093 * sysdeps/wordsize-64/versionsort.c: File removed.
19094 * sysdeps/wordsize-64/versionsort64.c: File removed.
19095 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
19096 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
19097 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
19098 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
19099 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
19100 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
19101 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
19102 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
19103
19104 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
19105 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19106 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
19107 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19108 [defined __arch64__ || defined __sparcv9]
19109 (__INO_T_MATCHES_INO64_T): New macro.
19110 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19111 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
19112 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
19113 * sysdeps/unix/sysv/linux/bits/dirent.h
19114 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
19115 (_DIRENT_MATCHES_DIRENT64): New macro.
19116
03af9520
RM
19117 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
19118 Define lockf64 as an alias.
19119 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
19120 Define fseeko64 as an alias.
19121 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
19122 Define ftello64 as an alias.
19123 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
19124 Define _IO_fgetpos64 and fgetpos64 as aliases.
19125 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
19126 Define _IO_fsetpos64 and fsetpos64 as aliases.
19127 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
19128 Conditionalize body on this.
19129 * libio/fseeko64.c: Likewise.
19130 * libio/ftello64.c: Likewise.
19131 * libio/iofgetpos64.c: Likewise.
19132 * libio/iofsetpos64.c: Likewise.
19133 * sysdeps/wordsize-64/lockf.c: File removed.
19134 * sysdeps/wordsize-64/lockf64.c: File removed.
19135 * sysdeps/wordsize-64/fseeko.c: File removed.
19136 * sysdeps/wordsize-64/fseeko64.c: File removed.
19137 * sysdeps/wordsize-64/ftello.c: File removed.
19138 * sysdeps/wordsize-64/ftello64.c: File removed.
19139 * sysdeps/wordsize-64/iofgetpos.c: File removed.
19140 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
19141 * sysdeps/wordsize-64/iofsetpos.c: File removed.
19142 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
19143 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
19144 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
19145 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
19146 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
19147 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
19148 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
19149 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
19150 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
19151 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
19152 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
19153
19154 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19155 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19156 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
19157 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19158 [defined __arch64__ || defined __sparcv9]
19159 (__OFF_T_MATCHES_OFF64_T): New macro.
19160 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19161 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19162 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19163 (__OFF_T_MATCHES_OFF64_T): New macro.
19164
c5757acd
L
191652012-08-06 H.J. Lu <hongjiu.lu@intel.com>
19166
19167 * stdlib/secure-getenv.c (__secure_getenv): Replace
19168 GLIBC_2_16 with GLIBC_2_17.
19169
3a31811e
L
191702012-08-06 H.J. Lu <hongjiu.lu@intel.com>
19171
19172 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
19173 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19174
faa2bccb
DM
191752012-08-03 David S. Miller <davem@davemloft.net>
19176
19177 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19178
85fe1997
JM
191792012-08-03 Joseph Myers <joseph@codesourcery.com>
19180
19181 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
19182 Remove.
19183 (__ASSUME_CORRECT_SI_PID): Likewise.
19184 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
19185 (__ASSUME_TMPFS_NAME): Likewise.
19186 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
19187 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
19188 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
19189 (HAVE_AUX_SECURE): Make definition unconditional.
19190 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
19191 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
19192
4f75b7a0
RM
191932012-08-03 Roland McGrath <roland@hack.frob.com>
19194
19195 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
19196 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
19197 * sysdeps/mach/hurd/eloop-threshold.h: New file.
19198 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19199 __eloop_threshold instead of SYMLOOP_MAX.
19200
19201 * sysdeps/generic/eloop-threshold.h: New file.
19202 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
19203 of MAXSYMLINKS.
19204 * elf/chroot_canon.c (chroot_canon): Likewise.
19205
7aab07e4
JM
192062012-08-03 Joseph Myers <joseph@codesourcery.com>
19207
19208 [BZ #13717]
19209 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19210 Change to 2.6.0 everywhere.
19211 * sysdeps/unix/sysv/linux/configure: Regenerated.
19212 * sysdeps/unix/sysv/linux/kernel-features.h
19213 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
19214 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
19215 kernel versions.
19216 (__ASSUME_POSIX_TIMERS): Define unconditionally.
19217 (__ASSUME_FUTEX_REQUEUE): Remove.
19218 (__ASSUME_STATFS64): Define unconditionally.
19219 (__ASSUME_AT_SECURE): Likewise.
19220 (__ASSUME_CORRECT_SI_PID): Likewise.
19221 (__ASSUME_TGKILL): Define without depending on kernel version for
19222 i386.
19223 (__ASSUME_UTIMES): Likewise.
19224 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
19225 kernel version.
19226 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
19227 (__ASSUME_TMPFS_NAME): Likewise.
19228 * README: Update reference to Linux kernel versions.
19229
b67e9372
MP
192302012-08-02 Marek Polacek <polacek@redhat.com>
19231
1f529f7d 19232 [BZ# 14150]
b67e9372
MP
19233 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
19234 libc_cv_asm_type_prefix with %.
19235 * configure: Regenerated.
d2441631
RM
19236 * include/libc-symbols.h: Remove comment about
19237 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
19238 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
19239 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
19240 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
19241 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
19242 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19243 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
19244 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
19245 * elf/tst-unique2mod1.c: Likewise.
19246 * elf/tst-unique1mod2.c: Likewise.
19247 * elf/tst-unique1mod1.c: Likewise.
19248 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
19249 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
19250 Replace ASM_TYPE_DIRECTIVE with .type.
19251 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19252 * sysdeps/i386/sysdep.h: Likewise.
19253 * sysdeps/x86_64/sysdep.h: Likewise.
19254 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
19255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19256 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 19257 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
19258 * sysdeps/powerpc/powerpc32/sysdep.h:
19259 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
19260 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19261 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19262 * sysdeps/i386/fpu/e_powf.S: Likewise.
19263 * sysdeps/i386/fpu/e_expl.S: Likewise.
19264 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19265 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19266 * sysdeps/i386/fpu/e_pow.S: Likewise.
19267 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19268 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19269 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19270 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19271 * sysdeps/i386/fpu/e_log2.S: Likewise.
19272 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19273 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19274 * sysdeps/i386/fpu/e_powl.S: Likewise.
19275 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19276 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19277 * sysdeps/i386/fpu/e_logl.S: Likewise.
19278 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19279 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19280 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19281 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19282 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19283 * sysdeps/i386/fpu/e_log.S: Likewise.
19284 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19285 * sysdeps/i386/fpu/e_logf.S: Likewise.
19286 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19287 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19288 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19289 * sysdeps/i386/fpu/e_log10.S: Likewise.
19290 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19291 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19292 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19293 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19294 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19295 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
19296 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19297 * sysdeps/i386/i686/strtok.S: Likewise.
19298 * sysdeps/i386/i386-mcount.S: Likewise.
19299 * sysdeps/i386/strtok.S: Likewise.
19300 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
19301 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19302 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19303 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19304 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19305 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19306 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19307 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19308 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19309 * sysdeps/x86_64/_mcount.S: Likewise.
19310 * sysdeps/x86_64/strtok.S: Likewise.
19311 * sysdeps/sh/_mcount.S: Likewise.
19312
2747bf9a
RM
193132012-08-01 Roland McGrath <roland@hack.frob.com>
19314
19315 * libio/iofopen.c: Include <fcntl.h>.
19316 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
19317 (_IO_fopen64, fopen64): Define as aliases.
19318 * libio/iofopen64.c: Include <fcntl.h>.
19319 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
19320 Conditionalize body on this.
19321 * sysdeps/wordsize-64/iofopen.c: File removed.
19322 * sysdeps/wordsize-64/iofopen64.c: File removed.
19323
3fb791b8
MP
193242012-08-01 Marek Polacek <polacek@redhat.com>
19325
19326 * libc/Makeconfig: Use elf in place of binfmt-subdir.
19327 Use dlfcn directly instead of a variable.
19328 (binfmt-subdir): Do not define.
19329 (dlfcn): Likewise.
19330
a9f1039f
JM
193312012-08-01 Joseph Myers <joseph@codesourcery.com>
19332
23bddc06
JM
19333 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
19334 Remove all definitions.
19335 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
19336 <kernel-features.h>.
19337 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19338 (miss_F_GETOWN_EX): Remove all definitions.
19339 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
19340 macro definition.
19341 [!__ASSUME_FCNTL64]: Remove conditional code.
19342 [__ASSUME_FCNTL64]: Make code unconditional.
19343 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
19344 <kernel-features.h>.
19345 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19346 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
19347 (lockf64) [__NR_fcntl64]: Make code unconditional.
19348 (lockf64) [__ASSUME_FCNTL64]: Likewise.
19349
a9f1039f
JM
19350 * sysdeps/unix/sysv/linux/kernel-features.h
19351 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
19352 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
19353 Make code unconditional.
19354 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19355 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
19357 [__NR_vfork]: Make code unconditional.
19358 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19359 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
19361 [__NR_vfork]: Make code unconditional.
19362 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19363 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19364
09c0ee5f
RM
193652012-08-01 Roland McGrath <roland@hack.frob.com>
19366
48aec5b9
RM
19367 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
19368 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
19369
cd97c966
RM
19370 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19371 Define mkstemp64 as an alias.
3f55550c
RM
19372 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19373 Define mkstemps64 as an alias.
cd97c966
RM
19374 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19375 Define mkostemp64 as an alias.
b8625cfc
RM
19376 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19377 Define mkostemps64 as an alias.
cd97c966
RM
19378 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
19379 Conditionalize body on this.
19380 * misc/mkostemp64.c: Likewise.
b8625cfc 19381 * misc/mkostemps64.c: Likewise.
3f55550c 19382 * misc/mkstemps64.c: Likewise.
cd97c966
RM
19383 * sysdeps/wordsize-64/mkstemp64.c: File removed.
19384 * sysdeps/wordsize-64/mkostemp64.c: File removed.
19385 * sysdeps/wordsize-64/mkostemp.c: File removed.
19386 * sysdeps/wordsize-64/mkstemp.c: File removed.
19387 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
19388 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
19389 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
19390 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
19391
09c0ee5f
RM
19392 [BZ #14138]
19393 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
19394 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
19395 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
19396 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
19397
19398 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
19399 compat_symbol macros from <shlib-compat.h> rather than the underlying
19400 default_symbol_version and symbol_version macros, so that DEFAULT
19401 lines in shlib-versions are respected.
19402 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
19403
7e66ee51
FW
194042012-08-01 Florian Weimer <fweimer@redhat.com>
19405
19406 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
19407 Declare with warn_unused_result.
19408 (setgid, setregid, setegid, setresgid): Likewise.
19409 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
19410 Likewise.
19411 * WUR-REPORT: Remove set*id functions.
19412
d2a54255
PT
194132012-07-31 Pino Toscano <toscano.pino@tiscali.it>
19414
19415 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
19416
7ecdb005
RM
194172012-07-31 Roland McGrath <roland@hack.frob.com>
19418
b4180a5e 19419 [BZ #10191]
789bd351
RM
19420 * include/sys/socket.h (__libc_accept, __libc_accept4):
19421 Add attribute_hidden.
19422 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
19423
40ce302d
RM
19424 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
19425 use of PTR_MANGLE.
19426 * inet/getnetgrent_r.c (setup): Likewise.
19427
7ecdb005
RM
19428 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
19429
e2eabb2c
DM
194302012-07-31 David S. Miller <davem@davemloft.net>
19431
19432 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19433
d0419dbf
JM
194342012-07-31 Joseph Myers <joseph@codesourcery.com>
19435
19436 [BZ #13629]
19437 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
19438 value between 1.0 and 2.0 and smaller part has absolute value less
19439 than 1.0.
19440 * math/s_clog10.c (__clog10): Likewise.
19441 * math/s_clog10f.c (__clog10f): Likewise.
19442 * math/s_clog10l.c (__clog10l): Likewise.
19443 * math/s_clogf.c (__clogf): Likewise.
19444 * math/s_clogl.c (__clogl): Likewise.
19445 * math/libm-test.inc (clog_test): Add more tests.
19446 (clog10_test): Likewise.
19447 * sysdeps/i386/fpu/libm-test-ulps: Update.
19448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19449
2bc13872
FW
194502012-07-31 Florian Weimer <fweimer@redhat.com>
19451
19452 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
19453 Exit with zero in case no suitable GID is found, and write a
19454 message to standard error.
19455
bea9b193
RM
194562012-07-30 Roland McGrath <roland@hack.frob.com>
19457
19458 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
19459 rather than to 1.
19460 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
19461 (MAXPATHLEN): Removed.
19462 (NOGROUP, NODEV): New macros.
19463 (setbit, clrbit, isset, isclr): New macros.
19464 (howmany, roundup, powerof2): New macros.
19465 (DEV_BSIZE): New macro.
19466
19467 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
19468 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
19469
19470 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
19471 definition on [!__NO_LONG_DOUBLE_MATH].
19472
19473 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
19474 PTR_MANGLE and PTR_DEMANGLE.
19475
19476 * socket/accept4.c (accept4): Rename to __libc_accept4.
19477 Define accept4 as a weak alias.
19478
19479 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
19480 on [_DIRENT_HAVE_D_TYPE].
19481 * io/ftw.c (ftw_dir): Likewise.
19482
19483 * io/xmknod.c (__xmknod): Don't check PATH for being null.
19484
19485 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
19486
19487 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
19488 Use the BSD numbers rather than the arbitrary ones we had.
19489 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
19490 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
19491 (SIGXCPU, SIGXFSZ): New macros.
19492 (_NSIG): Now 32.
19493
19494 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
19495 initializer on [_LIBC_REENTRANT].
19496
19497 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
19498 definitions inside [_POSIX_MAPPED_FILES].
19499
19500 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
19501
19502 * dirent/opendir.c: Include <fcntl.h>.
19503
19504 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
19505 (__libc_getspecific): Likewise.
19506 (__libc_key_create): Likewise.
19507
19508 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
19509 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
19510 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
19511 (tmpfile64): Define as alias.
19512 * sysdeps/wordsize-64/tmpfile.c: File removed.
19513 * sysdeps/wordsize-64/tmpfile64.c: File removed.
19514 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
19515 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
19516
19517 * stdio-common/vfscanf.c: Include <stdbool.h>.
19518 * nss/makedb.c: Likewise.
19519 * stdio-common/_i18n_number.h: Likewise.
19520 * argp/argp-help.c: Likewise.
19521 * posix/wordexp.c: Likewise.
19522 * sysdeps/posix/spawni.c: Likewise.
19523 * nss/nss_files/files-initgroups.c: Likewise.
19524 * stdio-common/reg-modifier.c: Include <stdlib.h>.
19525 * nss/nss_files/files-initgroups.c: Likewise.
19526 * nss/nss_db/db-netgrp.c: Likewise.
19527 * nss/nss_db/db-initgroups.c: Likewise.
19528 * io/fchmodat.c: Include <sys/stat.h>.
19529
19530 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
19531 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
19532
19533 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
19534 [HAVE_MMAP].
19535
19536 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
19537 Add multiple inclusion protection.
19538
e5abc686
DM
195392012-07-27 David S. Miller <davem@davemloft.net>
19540
19541 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19542
815e6fa3
GB
195432012-07-27 Gary Benson <gbenson@redhat.com>
19544
19545 [BZ #14298]
19546 * elf/rtld.c: Include <stap-probe.h>.
19547 (dl_main): Added static probes "init_start" and "init_complete".
19548 * elf/dl-load.c: Include <stap-probe.h>.
19549 (lose): Take new parameter "nsid".
19550 Added static probe "map_failed".
19551 (_dl_map_object_from_fd): Pass namespace id to lose.
19552 Added static probe "map_start".
19553 (open_verify): Pass namespace id to lose.
19554 * elf/dl-open.c: Include <stap-probe.h>.
19555 (dl_open_worker) Added static probes "map_complete", "reloc_start"
19556 and "reloc_complete".
19557 * elf/dl-close.c: Include <stap-probe.h>.
19558 (_dl_close_worker): Added static probes "unmap_start" and
19559 "unmap_complete".
19560 * elf/rtld-debugger-interface.txt: New file documenting the above.
19561
9f98c16c
RM
195622012-07-26 Roland McGrath <roland@hack.frob.com>
19563
19564 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
19565 rather than a string variable.
19566 * sunrpc/rpc_main.c (h_output): Likewise.
19567 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
19568
f3c22df3
PT
195692012-07-26 Pino Toscano <toscano.pino@tiscali.it>
19570
19571 * inet/check_native.c: New file.
19572
3129cfc6
JM
195732012-07-26 Joseph Myers <joseph@codesourcery.com>
19574
da865e95
JM
19575 [BZ #13629]
19576 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
19577 if larger part has absolute value 1.0.
19578 * math/s_clog10.c (__clog10): Likewise.
19579 * math/s_clog10f.c (__clog10f): Likewise.
19580 * math/s_clog10l.c (__clog10l): Likewise.
19581 * math/s_clogf.c (__clogf): Likewise.
19582 * math/s_clogl.c (__clogl): Likewise.
19583 * math/libm-test.inc (clog_test): Add more tests.
19584 (clog10_test): Likewise.
19585 * sysdeps/i386/fpu/libm-test-ulps: Update.
19586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19587
3129cfc6
JM
19588 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
19589 (pltexit): Likewise.
19590 (La_regs): Likewise.
19591 (La_retval): Likewise.
19592 (int_retval): Likewise.
19593 Update #error for removed macros to refer only to definitions in
19594 tst-audit.h.
19595 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
19596 macro.
19597 (pltexit): Likewise.
19598 (La_regs): Likewise.
19599 (La_retval): Likewise.
19600 (int_retval): Likewise.
19601 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
19602 macro.
19603 (pltexit): Likewise.
19604 (La_regs): Likewise.
19605 (La_retval): Likewise.
19606 (int_retval): Likewise.
19607 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
19608 macro.
19609 (pltexit): Likewise.
19610 (La_regs): Likewise.
19611 (La_retval): Likewise.
19612 (int_retval): Likewise.
19613 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
19614 macro.
19615 (pltexit): Likewise.
19616 (La_regs): Likewise.
19617 (La_retval): Likewise.
19618 (int_retval): Likewise.
19619 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
19620 macro.
19621 (pltexit): Likewise.
19622 (La_regs): Likewise.
19623 (La_retval): Likewise.
19624 (int_retval): Likewise.
19625 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
19626 macro.
19627 (pltexit): Likewise.
19628 (La_regs): Likewise.
19629 (La_retval): Likewise.
19630 (int_retval): Likewise.
19631 * sysdeps/generic/tst-audit.h: Update comment to refer only to
19632 macro definitions in tst-audit.h.
19633 * sysdeps/i386/tst-audit.h: New file.
19634 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
19635 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
19636 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
19637 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
19638 * sysdeps/sh/tst-audit.h: Likewise.
19639 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
19640 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
19641 * sysdeps/x86_64/tst-audit.h: Likewise.
19642
bfc07087
AJ
196432012-07-26 Andreas Jaeger <aj@suse.de>
19644
b1b2aaf8
AJ
19645 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
19646 ptrace.
19647
19648 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
19649 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
19650 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
19651 PTRACE_O_MASK.
19652 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
19653 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
19654 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
19655
bfc07087
AJ
19656 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
19657 value.
19658
19659 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
19660 _sigsys.
19661 (si_call_addr, si_syscall, si_arch): Define new macro.
19662 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
19663 _sigsys.
19664 (si_call_addr, si_syscall, si_arch): Define new marcro.
19665 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
19666 _sigsys.
19667 (si_call_addr, si_syscall, si_arch): Define new macro.
19668 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
19669 _sigsys.
19670 (si_call_addr, si_syscall, si_arch): Define new macro.
19671
89b4b02f
JM
196722012-07-25 Joseph Myers <joseph@codesourcery.com>
19673
19674 [BZ #13717]
19675 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19676 Change to 2.4.21 where previously 2.4.1.
19677 * sysdeps/unix/sysv/linux/configure: Regenerated.
19678 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
19679 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
19680 Linux kernel version.
19681 (__ASSUME_STD_AUXV): Remove.
19682 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
19683 kernel version.
19684 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
19685 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
19686 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
19687 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
19688 (__ASSUME_NETLINK_SUPPORT): Likewise.
19689 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
19690 (__no_netlink_support): Remove conditional definition.
19691 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
19692 Remove.
19693 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19694 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
19695 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
19696 (if_nameindex_ioctl): Remove.
19697 (if_nameindex_netlink): Do not handle __no_netlink_support.
19698 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19699 code.
19700 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
19701 Remove conditional code.
19702 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19703 code.
19704 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
19705 unconditional.
19706 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19707 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
19708 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
19709 Remove.
19710 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
19711 [!__ASSUME_STD_AUXV]: Remove conditional code.
19712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
19713 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
19714 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
19715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
19716 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
19717 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19718 code.
19719 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19721 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
19722 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19723 conditional code.
19724 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19726 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19727 code.
19728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19729 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19730 conditional code.
19731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
19732 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19733 code unconditional.
19734 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19735 conditional code.
19736 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19737 unconditional.
19738 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19739 conditional code.
19740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19741 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19742 unconditional.
19743 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19744 conditional code.
19745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
19746 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19747 code unconditional.
19748 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19749 conditional code.
19750 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19751 unconditional.
19752 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19753 conditional code.
19754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
19755 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19756 code unconditional.
19757 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19758 conditional code.
19759 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19760 unconditional.
19761 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19762 conditional code.
19763
842a39cd
AS
197642012-07-25 Andreas Schwab <schwab@linux-m68k.org>
19765
19766 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
19767 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
19768 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
19769 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
19770 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
19771 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
19772 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
19773 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
19774 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
19775 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
19776 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
19777 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
19778 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
19779 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
19780 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
19781 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
19782 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
19783 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
19784 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
19785 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
19786 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
19787 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
19788 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19789
84b3fd84
FW
197902012-07-25 Florian Weimer <fweimer@redhat.com>
19791
19792 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
19793 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
19794 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
19795 Introduce __libc_secure_getenv.
0c7936d5
FW
19796 * stdlib/Versions (2.17): Add secure_getenv
19797 (GLIBC_PRIVATE): Add __libc_secure_getenv.
19798 * stdlib/secure-getenv.c: Rename __secure_getenv to
19799 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
19800 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
19801 * stdlib/tst-secure-getenv.c: New.
19802 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
19803 * manual/startup.texi (Environment Access): Document
19804 secure_getenv.
84b3fd84
FW
19805 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
19806 __libc_secure_getenv.
19807 * inet/ruserpass.c (ruserpass): Likewise.
19808 * malloc/mtrace.c (mtrace): Likewise.
19809 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 19810 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
19811 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
19812 * sysdeps/posix/tempname.c: Likewise. Evaluate
19813 HAVE_SECURE_GETENV.
19814 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 19815 __secure_getenv to __libc_secure_getenv.
84b3fd84 19816 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
19817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19818 Likewise.
19819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19820 Likewise.
19821 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19822 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19823 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19824 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19825 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19826 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19827 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 19828
56e49b71
JM
198292012-07-25 Joseph Myers <joseph@codesourcery.com>
19830
19831 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
19832 (struct La_i86_retval): Likewise.
19833 (struct La_x86_64_regs): Likewise.
19834 (struct La_x86_64_retval): Likewise.
19835 (struct La_x32_regs): Likewise.
19836 (struct La_x32_retval): Likewise.
19837 (struct La_ppc32_regs): Likewise.
19838 (struct La_ppc32_retval): Likewise.
19839 (struct La_ppc64_regs): Likewise.
19840 (struct La_ppc64_retval): Likewise.
19841 (struct La_sh_regs): Likewise.
19842 (struct La_sh_retval): Likewise.
19843 (struct La_s390_32_regs): Likewise.
19844 (struct La_s390_32_retval): Likewise.
19845 (struct La_s390_64_regs): Likewise.
19846 (struct La_s390_64_retval): Likewise.
19847 (struct La_sparc32_regs): Likewise.
19848 (struct La_sparc32_retval): Likewise.
19849 (struct La_sparc64_regs): Likewise.
19850 (struct La_sparc64_retval): Likewise.
19851 (struct audit_ifaces): Remove architecture-specific pltenter and
19852 pltexit members.
19853 * sysdeps/i386/ldsodefs.h: New file.
19854 * sysdeps/powerpc/ldsodefs.h: Likewise.
19855 * sysdeps/s390/ldsodefs.h: Likewise.
19856 * sysdeps/sh/ldsodefs.h: Likewise.
19857 * sysdeps/sparc/ldsodefs.h: Likewise.
19858 * sysdeps/x86_64/ldsodefs.h: Likewise.
19859
354691b7
MP
198602012-07-25 Marek Polacek <polacek@redhat.com>
19861
19862 [BZ #6808]
19863 * math/libm-test.inc (yn_test): Add another test.
19864 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
19865 to ERANGE when the result is +-Inf.
19866 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19867 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
19868 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
19869 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
19870
bf9e2071
JM
198712012-07-24 Joseph Myers <joseph@codesourcery.com>
19872
19873 * conform/data/time.h-data (NULL): Use macro-constant. Require
19874 equal to 0.
19875 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
19876 clock_t.
19877 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
19878
57633811
TS
198792012-07-23 Thomas Schwinge <thomas@codesourcery.com>
19880
19881 * configure.in <sysdeps resolving>: Correct printing
19882 Implies_before.
19883 * configure: Regenerate.
19884
c23c33b0
TS
198852012-07-22 Thomas Schwinge <thomas@codesourcery.com>
19886
19887 * math/w_ilogb.c: Include <limits.h>.
19888 * math/w_ilogbl.c: Likewise.
19889
b5982523
JM
198902012-07-20 Joseph Myers <joseph@codesourcery.com>
19891
19892 * manual/lang.texi (__va_copy): Document primarily as ISO C99
19893 va_copy. Document allowing for unavailable va_copy only as
19894 pre-C99 compatibility.
19895 * manual/string.texi (Copying and Concatenation): Use va_copy
19896 instead of __va_copy in concat example.
19897
ac4ea442
PT
198982012-07-20 Pino Toscano <toscano.pino@tiscali.it>
19899
19900 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
19901 (__sendto): Use create_address_port. Initialize APORT and deallocate
19902 it if not null.
19903
f98eafbd
PT
19904 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
19905 with O_NOLINK passed to __file_name_lookup.
19906
898c7aab
PT
19907 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
19908 with O_NOLINK passed to __file_name_lookup.
19909
0ced335a
PT
19910 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
19911 negative N or less than NGIDS.
19912
b3404dbd
PT
19913 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
19914 type to string_t. Set ERANGE as errno and return it if NAME is not big
19915 enough. Use memcpy instead of strncpy.
19916
0f48659e
JM
199172012-07-20 Joseph Myers <joseph@codesourcery.com>
19918
19919 * elf/Makefile (check-data): Remove.
19920 (localplt.data): New vpath directive.
19921 ($(objpfx)check-localplt.out): Use localplt.data from vpath
19922 instead of $(check-data).
19923 * scripts/data/localplt-generic.data: Move to ...
19924 * sysdeps/generic/localplt.data: ... here.
19925 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
19926 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
19927 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
19928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
19929 ... here.
19930 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
19931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
19932 ... here.
19933 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
19934 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
19935 ... here.
19936 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
19937 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
19938 ... here.
19939 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
19940 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
19941 ... here.
19942 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
19943 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
19944 ... here.
19945
d37cbdaa
AZ
199462012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19947
19948 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
19949 PPC32 and PPC64 files.
19950 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
19951 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
19952
46f85fc2
AK
199532012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19954
19955 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
19956 __makecontext_ret to ...
19957 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
19958 ... here and call exit if uc_link is NULL. New file.
19959 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
19960 __makecontext_ret.S.
19961 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
19962 __makecontext_ret to ...
19963 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
19964 ... here and call exit if uc_link is NULL. New file.
19965 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
19966 __makecontext_ret.S.
19967
08f43f9b
AK
199682012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19969
19970 * elf/elf.h (R_390_IRELATIVE): New definition.
19971 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
19972 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
19973 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
19974 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19975 (elf_machine_lazy_rel): Likewise.
19976 * sysdeps/s390/dl-irel.h: New file.
19977 * sysdeps/s390/s390-64/memcpy.S: New asm code.
19978 * sysdeps/s390/s390-64/memset.S: New asm code.
19979 * sysdeps/s390/s390-64/memcmp.S: New asm code.
19980 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
19981 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
19982 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
19983 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
19984 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
19985 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
19986 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
19987 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
19988 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
19989 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
19990 * sysdeps/s390/s390-32/memcpy.S: New asm code.
19991 * sysdeps/s390/s390-32/memset.S: New asm code.
19992 * sysdeps/s390/s390-32/memcmp.S: New asm code.
19993
3b05db33
MP
199942012-07-17 Marek Polacek <polacek@redhat.com>
19995
19996 [BZ #14349]
19997 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
19998 * sysdeps/s390/s390-64/configure.in: Likewise.
19999 * sysdeps/sparc/configure.in: Likewise.
20000 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
20001 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
20002 * sysdeps/i386/configure.in: Likewise.
20003 * sysdeps/x86_64/configure.in: Likewise.
20004 * sysdeps/sh/configure.in: Likewise.
20005 * sysdeps/s390/s390-32/configure: Regenerated.
20006 * sysdeps/s390/s390-64/configure: Likewise.
20007 * sysdeps/x86_64/configure: Likewise.
20008 * sysdeps/sh/configure: Likewise.
20009 * sysdeps/powerpc/powerpc64/configure: Likewise.
20010 * sysdeps/powerpc/powerpc32/configure: Likewise.
20011 * sysdeps/sparc/configure: Likwise.
20012 * sysdeps/i386/configure: Likewise.
20013
a66877c6
MP
20014 * elf/dl-open.c: Comment fixes.
20015
cfc82fd8
JM
200162012-07-17 Joseph Myers <joseph@codesourcery.com>
20017
bd29910a
JM
20018 * Makefile [CXX] (check-data): Remove.
20019 [CXX] (c++-types.data): New vpath directive.
20020 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
20021 vpath. Do not allow for C++ type data being missing.
20022 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
20023 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
20024 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
20025 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
20026 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
20027 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
20028 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
20029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
20030 ... here.
20031 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
20032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
20033 ... here.
20034 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
20035 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
20036 ... here.
20037 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
20038 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
20039 ... here.
20040 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
20041 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
20042 ... here.
20043 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
20044 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
20045 ... here.
20046 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
20047 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
20048 ... here.
20049 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
20050 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
20051
cfc82fd8
JM
20052 * elf/tls-macros.h (TLS_LE): Move architecture-specific
20053 definitions to architecture-specific files.
20054 (TLS_IE): Likewise.
20055 (TLS_LD): Likewise.
20056 (TLS_GD): Likewise.
20057 * sysdeps/i386/tls-macros.h: New file.
20058 * sysdeps/powerpc/tls-macros.h: Likewise.
20059 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
20060 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
20061 * sysdeps/sh/tls-macros.h: Likewise.
20062 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
20063 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
20064 * sysdeps/x86_64/tls-macros.h: Likewise.
20065
f7db3170
TS
200662012-07-17 Thomas Schwinge <thomas@codesourcery.com>
20067
07cbfc23
TS
20068 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
20069 zero value for regular exit case.
20070
f7db3170
TS
20071 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20072 (__start_context): Preserve zero value for regular exit case.
20073
dc97c227
TS
200742012-07-17 Thomas Schwinge <thomas@codesourcery.com>
20075 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20076
20077 * manual/setjmp.texi (setcontext): Clarify normal process
20078 termination when uc_link is the null pointer.
20079 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
20080 exit call.
20081
d0cd7d02
AS
200822012-07-16 Andreas Schwab <schwab@linux-m68k.org>
20083
20084 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
20085 preprocessor. Test for each exception mask separately.
20086
dd318934
AJ
200872012-07-16 Andreas Jaeger <aj@suse.de>
20088
20089 * po/ru.po: Update from translation team.
20090
8048311a
JM
200912012-07-15 Joseph Myers <joseph@codesourcery.com>
20092
20093 * conform/data/string.h-data (NULL): Use macro-constant. Require
20094 equal to 0.
20095 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20096 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20097 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
20098 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
20099 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20100
b637d46e
AJ
201012012-07-13 Andreas Jaeger <aj@suse.de>
20102
20103 * po/fr.po: Update from translation team.
20104
541428fe
MP
201052012-07-12 Marek Polacek <polacek@redhat.com>
20106
20107 [BZ #14173]
20108 * math/libm-test.inc (yn_test): Add test for BZ #14173.
20109 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
20110 loop condition.
20111
ec332e94
JM
201122012-07-12 Joseph Myers <joseph@codesourcery.com>
20113
20114 [BZ #13717]
20115 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20116 Change to 2.4.1 where previously 2.4.0.
20117 * sysdeps/unix/sysv/linux/configure: Regenerated.
20118 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
20119 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
20120 version.
20121 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
20122 (__ASSUME_AT_CLKTCK): Remove.
20123 (__ASSUME_AT_PAGESIZE): Likewise.
20124 (__ASSUME_AT_XID): Likewise.
20125 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
20126 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
20127 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
20128 unconditionally.
20129 (HAVE_AUX_PAGESIZE): Likewise.
20130 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
20131 [__ASSUME_AT_CLKTCK]: Make code unconditional.
20132 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
20133
7b6e99be
JB
201342012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
20135
20136 [BZ #14307]
20137 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
20138 the temporary buffer used to invoke __gethostbyname2_r,
20139 __gethostbyaddr_r and gethostbyname4_r to make room for struct
20140 host_data / struct gaih_addrtuple.
20141 * resolv/nss_dns/dns-host.c (global scope): Move definition of
20142 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
20143 header file nss/nsswitch.h.
20144 * nss/nsswitch.h (global scope): Add definition of implementation
20145 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
20146 resolv/nss_dns/dns-host.c).
20147
608404eb
AJ
201482012-07-11 Andreas Jaeger <aj@suse.de>
20149
20150 * po/fr.po: Update from translation team.
20151
71220aca
AJ
20152 * po/sv.po: Update from translation team
20153 * po/fr.po: Another update from translation team.
20154
28cfe843
AZ
201552012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20156
20157 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
20158 for subnormals or multiply small sinh result by itself.
20159 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20160 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20161
6b90f981
DM
201622012-07-11 David S. Miller <davem@davemloft.net>
20163
20164 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20165
c6825772
AS
201662012-07-10 Andreas Schwab <schwab@linux-m68k.org>
20167
20168 [BZ #14347]
20169 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
20170 (INTERNAL_MARK): Shift it here.
20171
7b8e0d49
MP
201722012-07-10 Marek Polacek <polacek@redhat.com>
20173
20174 [BZ #14151]
20175 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
20176 libc_cv_asm_global_directive with .globl.
20177 * configure: Regenerated.
20178 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
20179 with .globl.
20180 * sysdeps/i386/configure: Regenerated.
20181 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
20182 with .globl.
20183 * sysdeps/x86_64/configure: Regenerated.
20184 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
20185 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
20186 * elf/tst-unique2mod2.c: Likewise.
20187 * elf/tst-unique2mod1.c: Likewise.
20188 * elf/tst-unique1mod2.c: Likewise.
20189 * elf/tst-unique1mod1.c: Likewise.
20190 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20191 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20192 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20193 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20194 * sysdeps/mach/sysdep.h: Likewise.
20195 * sysdeps/i386/sysdep.h: Likewise.
20196 * sysdeps/i386/i386-mcount.S: Likewise.
20197 * sysdeps/x86_64/_mcount.S: Likewise.
20198 * sysdeps/x86_64/sysdep.h: Likewise.
20199 * sysdeps/sh/_mcount.S: Likewise.
20200 * sysdeps/sh/sysdep.h: Likewise.
20201 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
20202 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
20203 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
20204 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20205 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
20206 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
20207 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
20208 * locale/localeinfo.h: Likewise.
20209 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
20210 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
20211
6c55cda3
RM
202122012-07-09 Roland McGrath <roland@hack.frob.com>
20213
20214 [BZ #14336]
20215 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
20216 system".
20217 * manual/message.texi (The Uniforum approach): Likewise.
20218 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
20219 (glibc iconv Implementation): Likewise.
20220
638a572e
JM
202212012-07-09 Joseph Myers <joseph@codesourcery.com>
20222
20223 [BZ #14337]
20224 * math/s_clog.c (__clog): Avoid scaling a value down where that
20225 could result in underflow.
20226 * math/s_clog10.c (__clog10): Likewise.
20227 * math/s_clog10f.c (__clog10f): Likewise.
20228 * math/s_clog10l.c (__clog10l): Likewise.
20229 * math/s_clogf.c (__clogf): Likewise.
20230 * math/s_clogl.c (__clogl): Likewise.
20231 * math/libm-test.inc (clog_test): Add more tests.
20232 (clog10_test): Likewise.
20233 * sysdeps/i386/fpu/libm-test-ulps: Update.
20234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20235
261f4859
AS
202362012-07-06 Andreas Schwab <schwab@linux-m68k.org>
20237
0abaf3e4
AS
20238 [BZ #14283]
20239 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
20240 by 7 not 8 to examine high bit of fractional part.
20241
261f4859
AS
20242 [BZ #14042]
20243 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
20244 for call to __mcount_internal.
20245 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
20246 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
20247 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
20248
f17ac40d
JM
202492012-07-06 Joseph Myers <joseph@codesourcery.com>
20250
9ad63c23
JM
20251 [BZ #14154]
20252 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
20253 approximation for values within 0x1p-13f of an odd multiple of
20254 pi/4.
20255 * math/libm-test.inc (tan_test): Do not allow spurious underflow
20256 exception. Add more tests.
20257 * sysdeps/i386/fpu/libm-test-ulps: Update.
20258
f17ac40d
JM
20259 [BZ #6778]
20260 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
20261 inputs and return -1 for them. Do not check for +Inf in case not
20262 reachable for +Inf.
20263 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20264 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
20265 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20266 and return -1 for them. Do not check for +Inf in case not
20267 reachable for +Inf.
20268 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
20269 define.
20270 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20271 and return -1 for them. Do not check for +Inf in case not
20272 reachable for +Inf.
20273 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
20274 spurious underflow.
20275 * sysdeps/i386/fpu/libm-test-ulps: Update.
20276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20277
fb21f89b
MF
202782012-07-06 Mike Frysinger <vapier@gentoo.org>
20279
20280 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
20281
cdfe2c5e
JM
202822012-07-05 Joseph Myers <joseph@codesourcery.com>
20283
20284 [BZ #14157]
20285 [BZ #14331]
20286 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
20287 could result in spurious underflow. Scale down values above
20288 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
20289 * math/s_csqrtf.c (__csqrtf): Likewise.
20290 * math/s_csqrtl.c (__csqrtl): Likewise.
20291 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
20292 spurious underflow.
20293 * sysdeps/i386/fpu/libm-test-ulps: Update.
20294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20295
70d35b67
AS
202962012-07-04 Andreas Schwab <schwab@linux-m68k.org>
20297
704bc459
AS
20298 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
20299 xopen-msg.sed.
20300 * catgets/xopen-msg.awk: New file.
20301 * catgets/xopen-msg.sed: Removed.
20302
70d35b67
AS
20303 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
20304 po2text.sed.
20305 * intl/po2test.awk: New file.
20306 * intl/po2test.sed: Removed.
20307
ca61cf32
JM
203082012-07-04 Joseph Myers <joseph@codesourcery.com>
20309
20310 [BZ #14328]
20311 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
20312 or multiply small sinh result by itself.
20313 * math/s_ctanf.c (__ctanf): Likewise.
20314 * math/s_ctanh.c (__ctanh): Likewise.
20315 * math/s_ctanhf.c (__ctanhf): Likewise.
20316 * math/s_ctanhl.c (__ctanhl): Likewise.
20317 * math/s_ctanl.c (__ctanl): Likewise.
20318 * math/libm-test.inc (ctan_test_tonearest): New function.
20319 (ctan_test_towardzero): Likewise.
20320 (ctan_test_downward): Likewise.
20321 (ctan_test_upward): Likewise.
20322 (ctanh_test_tonearest): Likewise.
20323 (ctanh_test_towardzero): Likewise.
20324 (ctanh_test_downward): Likewise.
20325 (ctanh_test_upward): Likewise.
20326 (main): Call these new functions.
20327 * sysdeps/i386/fpu/libm-test-ulps: Update.
20328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20329
ca48a46a
MF
203302012-07-03 Mike Frysinger <vapier@gentoo.org>
20331
20332 * .gitignore: Delete /ports entry.
20333
9d63d37d
AJ
203342012-07-03 Andreas Jaeger <aj@suse.de>
20335
20336 * po/bg.po: Update from translation team.
20337 * po/cs.po: Likewise.
20338 * po/de.po: Likewise.
20339 * po/hr.po: Likewise.
20340 * po/nl.pl: Likewise.
20341 * po/pl.po: Likewise.
20342 * po/vi.po: Likewise.
20343
370ca3d2
JM
203442012-07-03 Joseph Myers <joseph@codesourcery.com>
20345
95f5a9a8
JM
20346 * Makeconfig [!+link] (+link-before-libc): New variable.
20347 [!+link] (+link-after-libc): Likewise.
20348 [!+link] (+link-tests): Likewise.
20349 [!+link] (+link): Define in terms of $(+link-before-libc) and
20350 $(+link-after-libc).
20351 [!+link-static] (+link-static-before-libc): New variable.
20352 [!+link-static] (+link-static-after-libc): Likewise.
20353 [!+link-static] (+link-static-tests): Likewise.
20354 [!+link-static] (+link-static): Define in terms of
20355 $(+link-static-before-libc) and $(+link-static-after-libc).
20356 [build-shared] (link-libc-before-gnulib): New variable.
20357 [build-shared] (link-libc-tests): Likewise.
20358 [build-shared] (link-libc): Define in terms of
20359 $(link-libc-before-gnulib).
20360 [!build-shared] (link-libc-tests): New variable.
20361 (link-libc-static-tests): New variable.
20362 [!gnulib] (gnulib-arch): New variable.
20363 [!gnulib] (gnulib-tests): Likewise.
20364 [!gnulib] (static-gnulib-arch): Likewise.
20365 [!gnulib] (static-gnulib-tests): Likewise.
20366 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
20367 Define with "=" instead of ":=".
20368 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
20369 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
20370 * Rules (binaries-all-notests): New variable.
20371 (binaries-all-tests): Likewise.
20372 (binaries-static-notests): Likewise.
20373 (binaries-static-tests): Likewise.
20374 (binaries-all): Define using $(binaries-all-notests) and
20375 $(binaries-all-tests).
20376 (binaries-static): Define using $(binaries-static-notests) and
20377 $(binaries-static-tests).
20378 (binaries-shared-tests): New variable.
20379 (binaries-shared-notests): Likewise.
20380 (binaries-shared): Remove variable.
20381 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
20382 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
20383 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
20384 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
20385 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
20386 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
20387 * elf/Makefile (sln-modules): New variable.
20388 (extra-objs): Add $(sln-modules:=.o).
20389 (ldconfig-modules): Add static-stubs.
20390 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
20391 * elf/static-stubs.c: New file.
20392
7a845b2c
JM
20393 [BZ #14283]
20394 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
20395 by 7 not 8 to examine high bit of fractional part. Use volatile
20396 variables when splitting into final array of floats if
20397 __FLT_EVAL_METHOD__ != 0.
20398 * math/libm-test.inc (cos_test): Add another test.
20399 (sin_test): Likewise.
20400 * sysdeps/i386/fpu/libm-test-ulps: Update.
20401
e2283f38
JM
20402 [BZ #14273]
20403 * math/libm-test.inc (cosh_test): Add more tests.
20404
370ca3d2
JM
20405 * version.h (RELEASE): Set to "development".
20406 (VERSION): Set to "2.16.90".
20407
ee9247c3
CD
204082012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
20409
20410 * NEWS: Update copyright. Remove last-updated date.
20411 Mention math library bug fixes and timezone data changes.
20412 * README: Mention GNU/Hurd, x32, and HPPA support status.
20413
4648c381
TS
204142012-06-28 Thomas Schwinge <thomas@codesourcery.com>
20415
20416 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
20417
aac78a43
AJ
204182012-06-27 Andreas Jaeger <aj@suse.de>
20419
20420 * manual/contrib.texi (Contributors): Add Samuel Thibault.
20421
ed3dbfad
AJ
204222012-06-25 Andreas Jaeger <aj@suse.de>
20423
20424 * sysdeps/s390/fpu/libm-test-ulps: Update.
20425
4d0ee855
AS
204262012-06-23 Andreas Schwab <schwab@linux-m68k.org>
20427 Thomas Schwinge <thomas@codesourcery.com>
20428
20429 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
20430 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
20431 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
20432 fanotify_mark.
20433
af1bce34
TS
204342012-06-23 Thomas Schwinge <thomas@codesourcery.com>
20435
a9fa33ba
TS
20436 * sysdeps/mach/start.c: Remove file.
20437 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
20438 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
20439 * sysdeps/sh/init-first.c: Likewise.
20440
58f902b8
TS
20441 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
20442 registers for frame unwinding purposes, add CFI directives.
20443 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20444 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
20445 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
20446 Likewise.
20447
1518f58b
TS
20448 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
20449 __fortify_fail returning.
20450 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20451
db9b5059
TS
20452 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
20453 sysdeps/sh/____longjmp_chk.S.
20454 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
20455 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
20456 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
20457 (gen-as-const-headers): Append sigaltstack-offsets.sym.
20458
967705fe
TS
20459 * sysdeps/sh/abort-instr.h: New file.
20460 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
20461 process in case exit returns.
20462
a9def8c4
TS
20463 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
20464 initialize the GOT register before use.
20465
2a649725
TS
20466 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
20467 calculation of ARGC > 4.
20468
af1bce34
TS
20469 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
20470 meaningful names to some local labels.
20471
d230f50a
KK
204722012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20473 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20474
20475 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
20476 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
20477 (__arch_compare_and_exchange_val_16_acq): Likewise.
20478 (__arch_compare_and_exchange_val_32_acq): Likewise.
20479 (atomic_exchange_and_add): Fix gUSA sequence.
20480 (atomic_add): Likewise.
20481 (atomic_add_negative): Likewise.
20482 (atomic_add_zero): Likewise.
20483 (atomic_bit_test_set): Likewise.
20484
0479b305
AS
204852012-06-22 Andreas Schwab <schwab@redhat.com>
20486
20487 [BZ #13579]
20488 * include/link.h (struct link_map): Add l_free_initfini.
20489 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
20490 l_initfini.
20491 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
20492 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
20493 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
20494 set.
20495
0e3933b9
CD
204962012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
20497
20498 * configure.in: Use AC_LANG_SOURCE.
20499 * configure: Regenerate.
20500
4248b1b1
RM
205012012-06-22 Roland McGrath <roland@hack.frob.com>
20502
20503 * configure.in (libc_cv_localstatedir): New substituted variable.
20504 * configure: Regenerated.
20505 * config.make.in (localstatedir): New variable, substituted from
20506 libc_cv_localstatedir.
20507 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
20508 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
20509 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
20510 * sysdeps/gnu/configure: Regenerated.
20511
006dd861
JL
205122012-06-21 Jeff Law <law@redhat.com>
20513
20514 [BZ #14277]
20515 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
20516 free. Simplify list management for _LIBC case.
20517
79662d42
JM
205182012-06-21 Joseph Myers <joseph@codesourcery.com>
20519
b7abb4bf
JM
20520 [BZ #14273]
20521 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
20522 Clear sign bit of 64-bit integer value before comparing against
20523 overflow value.
20524
79662d42
JM
20525 * sysdeps/mach/configure: Regenerated.
20526
1f150908
L
205272012-06-21 H.J. Lu <hongjiu.lu@intel.com>
20528
20529 [BZ #14278]
20530 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
20531
28363bbf
JL
205322012-06-21 Jeff Law <law@redhat.com>
20533
20534 [BZ #13882]
20535 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
20536 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 20537 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
20538 * elf/dl-open.c (dl_open_worker): Likewise.
20539
09615db4
CD
205402012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
20541
20542 * scripts/list-sources.sh: Scan PORTS for translations.
20543 * po/libc.pot: Regenerated.
20544
2174c6dd
AJ
205452012-06-21 Andreas Jaeger <aj@suse.de>
20546
20547 [BZ #12194]
20548 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
20549 warning.
20550 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
20551 * bits/byteswap-16.h (__bswap_16): Likewise.
20552 * bits/byteswap.h (__bswap_constant_16): Likewise.
20553
3ee947b1
L
205542012-06-18 H.J. Lu <hongjiu.lu@intel.com>
20555
20556 [BZ #14117]
a2f34833
L
20557 * sysdeps/i386/fpu_control.h: Removed.
20558 * sysdeps/x86_64/fpu_control.h: Moved to ...
20559 * sysdeps/x86/fpu_control.h: Here.
20560
3ee947b1
L
20561 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
20562 (_FPU_SETCW): Likewise.
20563
ed1825f8
L
205642012-06-15 H.J. Lu <hongjiu.lu@intel.com>
20565
25f1282a
L
20566 [BZ #14117]
20567 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
20568 * sysdeps/x86/fpu/bits/mathinline.h: This.
20569 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
20570
ed1825f8
L
20571 [BZ #14050]
20572 [BZ #14117]
20573 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
20574 functions if __x86_64__ is defined.
20575
36d54b74
CLT
205762012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
20577
20578 * string/endian.h: Add !__ASSEMBLER__ condition for including
20579 conversion interfaces.
20580
10285c21
JM
205812012-06-15 Joseph Myers <joseph@codesourcery.com>
20582
20583 [BZ #14241]
20584 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
20585 of ABS(x) in calculating zero to negative powers other than odd
20586 integers.
20587 * math/libm-test.inc (pow_test): Add more tests.
20588
06c5abbd
AJ
205892012-06-15 Andreas Jaeger <aj@suse.de>
20590
20591 * manual/contrib.texi (Contributors): Update entry of Liubov
20592 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
20593 Machado Filho.
20594
a3aeac40
CH
205952012-06-15 Cyril Hrubis <metan@ucw.cz>
20596
20597 * string/string.h: Add __wur to GNU version of strerror_r.
20598
49bdf4c1
L
205992012-06-14 H.J. Lu <hongjiu.lu@intel.com>
20600
20601 [BZ #14229]
20602 * string/Makefile (tests): Add tst-strtok_r.
20603 * string/tst-strtok_r.c: New file.
20604 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
20605 RAX_LP/RDX_LP on SAVE_PTR.
20606
834f9b8d
RM
206072012-06-14 Roland McGrath <roland@hack.frob.com>
20608
20609 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
20610
75fa1921
JM
206112012-06-14 Joseph Myers <joseph@codesourcery.com>
20612
20613 * libm_test.inc (csqrt_test): Allow more spurious underflow
20614 exceptions.
20615 (j0_test): Likewise.
20616 (j1_test): Likewise.
20617 (y0_test): Likewise.
20618 (y1_test): Likewise.
20619
771766df
CD
206202012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
20621
20622 * po/Makefile (libc.pot): Use UTF-8 charset.
20623
ceb9e56b
PP
206242012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
20625
20626 [BZ #14210]
20627 Suppress sign-conversion warning from FD_SET.
20628 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
20629 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
20630 not unsigned long int.
20631 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
20632
ddb28975
L
206332012-06-12 H.J. Lu <hongjiu.lu@intel.com>
20634
20635 [BZ #14050]
20636 [BZ #14117]
20637 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
20638 __extern_always_inline instead of __extern_inline.
20639 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
20640 (__signbit): Likewise.
20641 (__signbitl): Support C++ namespace.
20642 (lrintf): New inline function.
20643 (lrint): Likewise.
20644 (llrintf): Likewise.
20645 (llrint): Likewise.
20646 (fmaxf): Likewise.
20647 (fmax): Likewise.
20648 (fminf): Likewise.
20649 (fmin): Likewise.
20650 (rint): Likewise.
20651 (rintf): Likewise.
20652 (ceil): Likewise.
20653 (ceilf): Likewise.
20654 (floor): Likewise.
20655 (floorf): Likewise.
20656 (nearbyint): Likewise.
20657 (nearbyintf): Likewise.
20658
d7b4fb26
TS
206592012-06-12 Thomas Schwinge <thomas@codesourcery.com>
20660
20661 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
20662 non-default versions.
20663
eb55f5c2
RM
206642012-06-11 Roland McGrath <roland@hack.frob.com>
20665
20666 [BZ #14218]
20667 * manual/argp.texi (Argp): Reword argp_parse description slightly.
20668
366af02c
TS
206692012-06-09 Thomas Schwinge <thomas@codesourcery.com>
20670
99ff6e5c
TS
20671 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
20672 (FE_UPWARD, FE_DOWNWARD): Don't define.
20673 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
20674 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20675
366af02c
TS
20676 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
20677 reading it.
20678 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
20679 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20680
793ea851
KK
206812012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20682
20683 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20684 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
20685 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
20686 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
20687
a728a38f
L
206882012-06-06 H.J. Lu <hongjiu.lu@intel.com>
20689
20690 [BZ #14117]
c08010c7
L
20691 * sysdeps/i386/fpu/bits/fenv.h: Removed.
20692 * sysdeps/i386/fpu/Implies: New file.
20693 * sysdeps/x86_64/fpu/Implies: Likewise.
20694 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
20695 * sysdeps/x86/fpu/bits/fenv.h: This.
20696
a728a38f
L
20697 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
20698 __SSE_MATH__.
20699
6e230d11
SP
207002012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20701
20702 [BZ #14134]
20703 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
20704 character 0xffff that matches the last element of the
20705 conversion table.
20706
1b671feb
AZ
207072012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20708
20709 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
20710 fmodl commit.
20711
6043738b
AZ
207122012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20713
20714 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
20715 values higher than 25.6283.
20716
34ae0b32
AZ
207172012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20718
20719 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
20720 subnormal exponent extraction and add some __builtin_expect.
20721 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
20722 Fix for subnormal mantissa calculation.
20723
1214ec8f
MF
207242012-06-04 Mike Frysinger <vapier@gentoo.org>
20725
20726 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
20727 cpu2 is -1 and errno is not ENOSYS.
20728
f3d1f93c
L
207292012-06-04 H.J. Lu <hongjiu.lu@intel.com>
20730
20731 [BZ #14117]
0e4a3cd7
L
20732 * sysdeps/i386/i486/bits/string.h: Renamed to ...
20733 * sysdeps/x86/bits/string.h: This.
20734 * sysdeps/x86_64/bits/string.h: Removed.
20735
6704c645
L
20736 * sysdeps/i386/i486/bits/string.h: Define inline functions only
20737 if not compiling for x86-64, but compiling for >= i486.
20738
48495318
L
20739 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
20740 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
20741
14adcbfc
L
20742 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
20743 New macro from Linux kernel 3.4.0.
20744 (FP_XSTATE_MAGIC2): Likewise.
20745 (FP_XSTATE_MAGIC2_SIZE): Likewise.
20746 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
20747 (struct _fpx_sw_bytes): New struct.
20748 (struct _xsave_hdr): Likewise.
20749 (struct _ymmh_state): Likewise.
20750 (struct _xstate): Likewise.
20751
68e408ab
L
20752 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
20753 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
20754 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
20755 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
20756 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
20757 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
20758
f3d1f93c
L
20759 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
20760 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
20761 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
20762 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
20763 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
20764 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
20765
d9dc34cd
TMQMF
207662012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20767
20768 [BZ #13743]
20769 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
20770 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
20771 (sysdep_headers): Include sys/platform/ppc.h.
20772 * sysdeps/powerpc/test-gettimebase.c: Test for
20773 __ppc_get_timebase() to catch future ISA opcode/insn changes.
20774 * manual/Makefile (appendices): Include platform.texi.
20775 * manual/contrib.texi (Contributors): Update @node pointers.
20776 * manual/maint.texi (Maintenance): Likewise.
20777 (Platform): New node.
20778 * manual/platform.texi: New file. Document the new features.
20779
4af3879c
SP
207802012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20781 Jakub Jelinek <jakub@redhat.com>
20782
20783 [BZ #14188]
20784 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
20785 where __builtin_expect is unavailable.
20786
2fd6ff13
DM
207872012-06-03 David S. Miller <davem@davemloft.net>
20788
20789 * stdlib/longlong.h: Updated from GCC.
20790
173f7220
AS
207912012-06-02 Andreas Schwab <schwab@linux-m68k.org>
20792
20793 [BZ #14042]
20794 * sysdeps/powerpc/powerpc32/mcount.c: New file.
20795 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
20796 __mcount_internal.
20797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20798 (GLIBC_2.16): Likewise.
20799
f34a1c6f
L
208002012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20801
20802 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
20803
88a4576f
JM
208042012-06-01 Joseph Myers <joseph@codesourcery.com>
20805
ea32bcdd
JM
20806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
20807 (default-abi): New variable.
20808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
20809 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
20810 variable.
20811 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
20812 Likewise.
20813 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
20814 Likewise.
20815 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
20816 Likewise.
20817
88a4576f
JM
20818 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
20819 definition. Document in comment.
20820
402fe938
DM
208212012-06-01 David S. Miller <davem@davemloft.net>
20822
20823 * stdlib/longlong.h: Updated from GCC.
20824
3553723f
L
208252012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20826
20827 [BZ #14117]
3bd872c4
L
20828 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
20829 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
20830 sys/debugreg.h sys/io.h here.
20831 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
20832 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
20833 sys/io.h.
20834 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
20835 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
20836 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
20837 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
20838 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
20839 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
20840
3553723f
L
20841 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
20842 Define only if __x86_64__ is defined.
20843
4842e4fe
JM
208442012-06-01 Joseph Myers <joseph@codesourcery.com>
20845
c5bfe3d5
JM
20846 [BZ #14048]
20847 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
20848 Use int64_t for variable i.
20849 * math/libm-test.inc (fmod_test): Add more tests.
20850
4842e4fe
JM
20851 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
20852 z computation is not scheduled after fetestexcept.
20853 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
20854 Use math_force_eval instead of asm to ensure calculation scheduled
20855 before exception test.
20856 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
20857 Ensure a1 + u.d computation is not scheduled after fetestexcept.
20858
efb73488
AJ
208592012-06-01 Aurelien Jarno <aurelien@aurel32.net>
20860
20861 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
20862 computation is not scheduled after fetestexcept.
20863
29bcce7c
L
208642012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20865
20866 [BZ #14117]
20867 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
20868 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
20869
73a68f94
AZ
208702012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20871
20872 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
20873 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
20874
67b6df78
L
208752012-05-31 H.J. Lu <hongjiu.lu@intel.com>
20876
edf2933a 20877 [BZ #14117]
ebc64a18
L
20878 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
20879 <bits/wordsize.h>.
20880 (__WCHAR_MIN): Support __WORDSIZE == 64.
20881 (__WCHAR_MAX): Likewise.
20882
edf2933a
L
20883 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
20884 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
20885
57c6cf40
L
20886 [BZ #14183]
20887 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
20888 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
20889
67b6df78 20890 [BZ #14117]
8eb6281e
L
20891 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
20892 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
20893
aac639f4
L
20894 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
20895 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
20896
67b6df78
L
20897 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
20898 Defined to 1 if __x86_64__ isn't defined.
20899 (_STAT_VER_LINUX_OLD): New.
20900 (st_atime): Remove duplicate.
20901 (st_mtime): Likewise.
20902 (st_ctime): Likewise.
20903
1c2cfe81
DM
209042012-05-31 David S. Miller <davem@davemloft.net>
20905
20906 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
20907 entries.
20908
5be8418c
AS
209092012-06-01 Andreas Schwab <schwab@linux-m68k.org>
20910
e7725326
AS
20911 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
20912 gen-libm-test.pl.
20913
5be8418c
AS
20914 [BZ #14132]
20915 * elf/dl-reloc.c: Include <_itoa.h>.
20916 (_dl_reloc_bad_type): Remove use of INTUSE.
20917 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
20918 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
20919 * stdio-common/psiginfo.c (psiginfo): Likewise.
20920 * stdio-common/psignal.c (psignal): Likewise.
20921 * string/strsignal.c (strsignal): Likewise.
20922 * include/signal.h (_sys_siglist): Declare hidden proto.
20923 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
20924 INTVARDEF with libc_hidden_data_def.
20925 * stdio-common/itoa-udigits.c: Likewise.
20926 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
20927 (_itoa_lower_digits_internal): Remove declaration.
20928 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
20929 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
20930 (_sys_sigabbrev_internal): Remove aliases.
20931 (_sys_siglist): Define hidden alias.
20932
507352f1
MT
209332012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
20934
20935 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20936 bits/sysctl.h.
20937
42bbb1c3
L
209382012-05-31 H.J. Lu <hongjiu.lu@intel.com>
20939
20940 [BZ #14117]
6bd784b6
L
20941 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
20942 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
20943
8bca20f0
L
20944 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
20945 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
20946 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
20947 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
20948 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
20949 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
20950
f9e890a9
L
20951 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
20952 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
20953 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
20954
471101a1
L
20955 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
20956 with __addr.
20957 (insw): Likewise.
20958 (insl): Likewise.
20959 (outsb): Likewise.
20960 (outsw): Likewise.
20961 (outsl): Likewise.
20962
6451c862
L
20963 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
20964 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
20965 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
20966
a254b8c9
L
20967 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
20968 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
20969 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
20970 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
20971 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
20972 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
20973
b8dfdd92
L
20974 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
20975 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
20976
578cd270
L
20977 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
20978 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
20979
de662f5f
L
20980 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
20981 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
20982 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
20983
25653439
L
20984 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
20985 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
20986 to ...
20987 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
20988
6bad24a0
L
20989 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
20990 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
20991 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
20992
42bbb1c3
L
20993 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
20994 for x86-64.
20995 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
20996
2d10d547
JM
209972012-05-31 Joseph Myers <joseph@codesourcery.com>
20998
20999 * math/math.h (M_El): Use two more decimal places.
21000 (M_LOG2El): Likewise.
21001 (M_LOG10El): Likewise.
21002 (M_LN2l): Likewise.
21003 (M_LN10l): Likewise.
21004 (M_PIl): Likewise.
21005 (M_PI_2l): Likewise.
21006 (M_PI_4l): Likewise.
21007 (M_1_PIl): Likewise.
21008 (M_2_PIl): Likewise.
21009 (M_2_SQRTPIl): Likewise.
21010 (M_SQRT2l): Likewise.
21011 (M_SQRT1_2l): Likewise.
21012
f230c29b
DM
210132012-05-31 David S. Miller <davem@davemloft.net>
21014
21015 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
21016 values between float registers.
21017 * sysdeps/sparc/sparc64/memset.S: Likewise.
21018 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21019
fed806c3
MF
210202012-05-31 Mike Frysinger <vapier@gentoo.org>
21021
21022 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
21023 -D_FORTIFY_SOURCE=1.
21024 (CPPFLAGS-tst-longjmp_chk.c): Define.
21025 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
21026 (CPPFLAGS-tst-longjmp_chk2.c): Define.
21027 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
21028 CFLAGS-tst-wchar-h.c.
21029
30917259
MP
210302012-05-31 Marek Polacek <polacek@redhat.com>
21031
21032 [BZ #14132]
21033 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
21034 __endmntent_internal): Remove declaration.
21035 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
21036 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
21037 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
21038
1c58d5dc
DM
210392012-05-30 David S. Miller <davem@davemloft.net>
21040
21041 * sysdeps/sparc/sparc32/soft-fp/q_util.c
21042 (___Q_simulate_exceptions): Use real FP ops rather than writing
21043 into the %fsr.
21044 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
21045 Likewise.
21046
7dc00e0d
L
210472012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21048
21049 [BZ #14117]
0bd53985
L
21050 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
21051 * sysdeps/x86/bits/xtitypes.h: This.
21052
3a257e66
L
21053 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
21054 * sysdeps/x86/bits/wordsize.h: This.
21055
62f62904
L
21056 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
21057 * sysdeps/x86/bits/huge_vall.h: This.
21058
404fe9d9
L
21059 * sysdeps/i386/bits/select.h: Removed.
21060 * sysdeps/x86_64/bits/select.h: Renamed to ...
21061 * sysdeps/x86/bits/select.h: This.
21062
d48d0446
L
21063 * sysdeps/i386/bits/setjmp.h: Removed.
21064 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
21065 * sysdeps/x86/bits/setjmp.h: This.
21066
7dc00e0d
L
21067 * sysdeps/i386/bits/mathdef.h: Removed.
21068 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
21069 * sysdeps/x86/bits/mathdef.h: This.
21070
03277f8f
AS
210712012-05-30 Andreas Schwab <schwab@linux-m68k.org>
21072
21073 [BZ #14132]
21074 * include/sys/socket.h (__connect_internal)
21075 (__libc_sa_len_internal): Remove declaration.
21076 (__connect, __libc_sa_len): Declare hidden_proto.
21077 (SA_LEN): Remove use of INTUSE.
21078 * socket/connect.c: Add libc_hidden_def.
21079 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
21080 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
21081 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
21082 alias.
21083 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
21084 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
21085 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
21086 of adding _internal alias.
21087
13764867
L
210882012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21089
21090 [BZ #14117]
6bd97696
L
21091 * sysdeps/i386/bits/link.h: Removed.
21092 * sysdeps/i386/bits/linkmap.h: Likewise.
21093 * sysdeps/x86_64/bits/link.h: Renamed to ...
21094 * sysdeps/x86/bits/link.h: This.
21095 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
21096 * sysdeps/x86/bits/linkmap.h: This.
21097
f726f0bb
L
21098 * sysdeps/i386/bits/endian.h: Removed.
21099 * sysdeps/x86_64/bits/endian.h: Renamed to ...
21100 * sysdeps/x86/bits/endian.h: This.
21101
13764867
L
21102 * sysdeps/i386/bits/byteswap.h: Removed.
21103 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21104 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
21105 * sysdeps/x86/bits/byteswap.h: This.
21106 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
21107 * sysdeps/x86/bits/byteswap-16.h: This.
21108 * sysdeps/i386/Implies: Add x86.
21109 * sysdeps/x86_64/Implies: Likewise.
21110
ae251b0b
DM
211112012-05-30 David S. Miller <davem@davemloft.net>
21112
21113 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
21114 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
21115 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
21116 (FP_TRAPPING_EXCEPTIONS): Define.
21117 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
21118 (FP_TRAPPING_EXCEPTIONS): Define.
21119 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
21120 subnormals only when inexact has been signalled or underflow
21121 exceptions are enabled.
21122 (_FP_PACK_CANONICAL): Likewise.
21123
d5c90867
L
211242012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21125
21126 [BZ #14183]
21127 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
21128 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
21129
63f1549e
RH
211302012-05-30 Richard Henderson <rth@twiddle.net>
21131
8d8f2279
RH
21132 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
21133 with #ifndef NOT_IN_libc.
21134
63f1549e
RH
21135 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
21136 marked to avoid plt entry.
21137
0ab0291b
L
211382012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21139
21140 [BZ #14112]
21141 * Makeconfig (default-abi): New macro.
21142 (abi-includes): Likewise.
21143 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
21144 $(abi-$(default-abi)-lib-soname) for soname if defined.
21145 ($(common-objpfx)gnu/lib-names.stmp): Generate from
21146 abi-variants.
21147 * Makefile (installed-stubs): Likewise.
21148 * include/stubs-biarch.h: Removed.
21149 * scripts/lib-names.awk: Only handle one library at a time.
21150 * scripts/soversions.awk: Remove WORDSIZE support.
21151 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
21152 entries.
21153 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
21154 Removed.
21155 (syscall-list-default-condition): Likewise.
21156 (syscall-list-default-condition): Likewise.
21157 (syscall-list-includes): Likewise.
21158 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
21159 syscall-list-* with abi-*. Handle undefined abi-variants.
21160 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
21161 * sysdeps/unix/sysv/linux/i386/Implies: New file.
21162 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
21163 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
21164 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
21165 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
21166 Removed.
21167 (syscall-list-32-options): Likewise.
21168 (syscall-list-32-condition): Likewise.
21169 (syscall-list-64-options): Likewise.
21170 (syscall-list-64-condition): Likewise.
21171 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
21172 macro.
21173 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
21174 Renamed to ...
21175 (abi-*): This.
21176 (abi-64-ld-soname): New macro.
21177 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
21178 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
21179 Renamed to ...
21180 (abi-*): This.
21181 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
21182 * sysdeps/x86_64/x32/shlib-versions: Likewise.
21183
4da0431d
JM
211842012-05-30 Joseph Myers <joseph@codesourcery.com>
21185
3a85279c
JM
21186 * sysdeps/unix/sysv/linux/kernel-features.h
21187 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
21188 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
21189 include <kernel-features.h>.
21190 [!__NR_ftruncate64]: Remove conditional code.
21191 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21192 [__NR_ftruncate64]: Make code unconditional.
21193 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21194 * sysdeps/unix/sysv/linux/truncate64.c: Do not
21195 include <kernel-features.h>.
21196 [!__NR_ftruncate64]: Remove conditional code.
21197 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21198 [__NR_ftruncate64]: Make code unconditional.
21199 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
21201 include <kernel-features.h>.
21202 [!__NR_ftruncate64]: Remove conditional code.
21203 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21204 [__NR_ftruncate64]: Make code unconditional.
21205 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21207 include <kernel-features.h>.
21208 [!__NR_ftruncate64]: Remove conditional code.
21209 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21210 [__NR_ftruncate64]: Make code unconditional.
21211 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21212
4da0431d
JM
21213 * configure.in (libc_cv_fpie): Weaken to a compile test using
21214 LIBC_TRY_CC_OPTION.
21215 * configure: Regenerated.
21216
11ef492c
AK
212172012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21218
21219 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
21220 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
21221 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
21222 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21223 Refreshed.
21224 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
21225 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
21226 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
21227 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
21228 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
21229 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21230 Refreshed.
21231
d66ef399
DM
212322012-05-27 David S. Miller <davem@davemloft.net>
21233
21234 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
21235 (___Q_zero): New.
21236 (__Q_simulate_exceptions): Return void. Change to simulate
21237 exceptions by writing into the %fsr.
21238 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
21239 (__Qp_handle_exceptions): Likewise.
21240 (numbers): Delete.
21241 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
21242 __Qp_handle_exceptions.
21243 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
21244 __Qp_handle_exceptions.
21245 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21246 as unused and give dummy FP_RND_NEAREST initializer.
21247 (FP_INHIBIT_RESULTS): Define.
21248 (___Q_simulate_exceptions): Update declaration.
21249 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
21250 formatting.
21251 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21252 as unused and give dummy FP_RND_NEAREST initializer.
21253 (__Qp_handle_exceptions): Update declaration.
21254 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
21255 formatting.
21256
04fb54b5
TS
212572012-05-27 Thomas Schwinge <thomas@codesourcery.com>
21258
21259 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
21260 the temporary FPU control word.
21261 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21262 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
21263 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
21264 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21265 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21266 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
21267 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
21268 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21269 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21270 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
21271 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21272
3f99608f
KK
212732012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21274
21275 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
21276 fields.
21277
65a4de4e
CLT
212782012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
21279
21280 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
21281 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
21282 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
21283 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
21284 Likewise.
21285 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
21286 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
21287 Likewise.
21288
15749d40
UD
212892012-05-27 Ulrich Drepper <drepper@gmail.com>
21290
21291 * po/h.po: Update from translation team.
21292
25dbcb27
AS
212932012-05-26 Andreas Schwab <schwab@linux-m68k.org>
21294
3d3f8e55
AS
21295 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
21296
25dbcb27
AS
21297 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
21298 handling of denormals.
21299 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21300 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21301 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21302 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21303 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21304 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
21305 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
21306 Likewise.
21307
7ad47a80 213082012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
21309
21310 [BZ #14152]
21311 * math/libm-test.inc (fma_test): Don't always expect underflow
21312 exception.
21313
9c6ea9fa
SP
213142012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21315
21316 [BZ #12416]
21317 * elf/tst-execstack.c: Include stackinfo.h.
21318 (do_test): Adjust test case to ensure that pthread_getattr_np
21319 behaviour remains the same after marking stack executable.
21320
a8239222
JM
213212012-05-25 Joseph Myers <joseph@codesourcery.com>
21322
21323 * sysdeps/unix/sysv/linux/kernel-features.h
21324 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
21325 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
21326 kernel-features.h.
21327 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21328 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21329 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
21330 kernel-features.h.
21331 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21332 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21333
918b5606
L
213342012-05-25 H.J. Lu <hongjiu.lu@intel.com>
21335
21336 * configure.in: Define the default includes to being none.
21337 * configure: Regenerated.
21338
3a097cc7
RM
213392012-05-25 Roland McGrath <roland@hack.frob.com>
21340
8422c9a5
RM
21341 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
21342 * sysdeps/x86_64/setjmp.S: Likewise.
21343 * sysdeps/i386/bsd-setjmp.S: Likewise.
21344 * sysdeps/i386/bsd-_setjmp.S: Likewise.
21345 * sysdeps/i386/setjmp.S: Likewise.
21346 * sysdeps/i386/__longjmp.S: Likewise.
21347 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21348 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
21349
3a097cc7
RM
21350 * include/stap-probe.h: New file.
21351 * configure.in: Handle --enable-systemtap.
21352 * configure: Regenerated.
21353 * config.h.in (USE_STAP_PROBE): New #undef.
21354 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
21355 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
21356 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21357
21708942
JM
213582012-05-25 Joseph Myers <joseph@codesourcery.com>
21359
21360 [BZ #13717]
21361 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21362 to 2.4.0 where earlier.
21363 * sysdeps/unix/sysv/linux/configure: Regenerated.
21364 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21365 <kernel-features.h>.
21366 [__ASSUME_32BITUIDS]: Make code unconditional.
21367 [!__ASSUME_32BITUIDS]: Remove conditional code.
21368 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
21369 <kernel-features.h>.
21370 [__ASSUME_32BITUIDS]: Make code unconditional.
21371 [!__ASSUME_32BITUIDS]: Remove conditional code.
21372 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
21373 [__ASSUME_32BITUIDS]: Make code unconditional.
21374 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
21375 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
21376 <kernel-features.h>.
21377 [__ASSUME_32BITUIDS]: Make code unconditional.
21378 [!__ASSUME_32BITUIDS]: Remove conditional code.
21379 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
21380 <kernel-features.h>.
21381 [__ASSUME_32BITUIDS]: Make code unconditional.
21382 [!__ASSUME_32BITUIDS]: Remove conditional code.
21383 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
21384 <kernel-features.h>.
21385 [__ASSUME_32BITUIDS]: Make code unconditional.
21386 [!__ASSUME_32BITUIDS]: Remove conditional code.
21387 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
21388 <kernel-features.h>.
21389 [__ASSUME_32BITUIDS]: Make code unconditional.
21390 [!__ASSUME_32BITUIDS]: Remove conditional code.
21391 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21392 <kernel-features.h>.
21393 [__ASSUME_32BITUIDS]: Make code unconditional.
21394 [!__ASSUME_32BITUIDS]: Remove conditional code.
21395 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21396 <kernel-features.h>.
21397 [__ASSUME_32BITUIDS]: Make code unconditional.
21398 [!__ASSUME_32BITUIDS]: Remove conditional code.
21399 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
21400 <kernel-features.h>.
21401 [__ASSUME_32BITUIDS]: Make code unconditional.
21402 [!__ASSUME_32BITUIDS]: Remove conditional code.
21403 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21404 <kernel-features.h>.
21405 [__ASSUME_32BITUIDS]: Make code unconditional.
21406 [!__ASSUME_32BITUIDS]: Remove conditional code.
21407 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21408 <kernel-features.h>.
21409 [__ASSUME_32BITUIDS]: Make code unconditional.
21410 [!__ASSUME_32BITUIDS]: Remove conditional code.
21411 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
21412 <kernel-features.h>.
21413 [__ASSUME_32BITUIDS]: Make code unconditional.
21414 [!__ASSUME_32BITUIDS]: Remove conditional code.
21415 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
21416 <kernel-features.h>.
21417 [__NR_setresgid] (__setresgid): Do not declare.
21418 [__ASSUME_32BITUIDS]: Make code unconditional.
21419 [!__ASSUME_32BITUIDS]: Remove conditional code.
21420 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
21421 <kernel-features.h>.
21422 [__NR_setresuid] (__setresuid): Do not declare.
21423 [__ASSUME_32BITUIDS]: Make code unconditional.
21424 [!__ASSUME_32BITUIDS]: Remove conditional code.
21425 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
21426 <kernel-features.h>.
21427 [__ASSUME_32BITUIDS]: Make code unconditional.
21428 [!__ASSUME_32BITUIDS]: Remove conditional code.
21429 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
21430 <kernel-features.h>.
21431 [__ASSUME_32BITUIDS]: Make code unconditional.
21432 [!__ASSUME_32BITUIDS]: Remove conditional code.
21433 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
21434 <kernel-features.h>.
21435 [__ASSUME_32BITUIDS]: Make code unconditional.
21436 [!__ASSUME_32BITUIDS]: Remove conditional code.
21437 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
21438 <kernel-features.h>.
21439 [__ASSUME_32BITUIDS]: Make code unconditional.
21440 [!__ASSUME_32BITUIDS]: Remove conditional code.
21441 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
21442 <kernel-features.h>.
21443 [__ASSUME_32BITUIDS]: Make code unconditional.
21444 [!__ASSUME_32BITUIDS]: Remove conditional code.
21445 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
21446 <kernel-features.h>.
21447 [__ASSUME_32BITUIDS]: Make code unconditional.
21448 [!__ASSUME_32BITUIDS]: Remove conditional code.
21449 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
21450 <kernel-features.h>.
21451 [__ASSUME_32BITUIDS]: Make code unconditional.
21452 [!__ASSUME_32BITUIDS]: Remove conditional code.
21453 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
21454 <kernel-features.h>.
21455 [__ASSUME_32BITUIDS]: Make code unconditional.
21456 [!__ASSUME_32BITUIDS]: Remove conditional code.
21457 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
21458 <kernel-features.h>.
21459 [__ASSUME_32BITUIDS]: Make code unconditional.
21460 [!__ASSUME_32BITUIDS]: Remove conditional code.
21461 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21462 <kernel-features.h>.
21463 [__ASSUME_32BITUIDS]: Make code unconditional.
21464 [!__ASSUME_32BITUIDS]: Remove conditional code.
21465 * sysdeps/unix/sysv/linux/kernel-features.h
21466 (__ASSUME_SETRESUID_SYSCALL): Remove.
21467 (__ASSUME_SETRESGID_SYSCALL): Likewise.
21468 (__ASSUME_32BITUIDS): Likewise.
21469 (__ASSUME_LDT_WORKS): Likewise.
21470 (__ASSUME_O_DIRECTORY): Likewise.
21471 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
21472 architecture but not kernel version.
21473 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
21474 (__ASSUME_MMAP2_SYSCALL): Likewise.
21475 (__ASSUME_STAT64_SYSCALL): Likewise.
21476 (__ASSUME_IPC64): Likewise.
21477 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
21478 <kernel-features.h>.
21479 [__ASSUME_32BITUIDS]: Make code unconditional.
21480 [!__ASSUME_32BITUIDS]: Remove conditional code.
21481 * sysdeps/unix/sysv/linux/opendir.c: Do not include
21482 <kernel-features.h>.
21483 [__ASSUME_O_DIRECTORY]: Make code unconditional.
21484 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
21485 132096]: Remove conditional code.
21486 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
21487 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21488 <kernel-features.h>.
21489 [__ASSUME_32BITUIDS]: Make code unconditional.
21490 [!__ASSUME_32BITUIDS]: Remove conditional code.
21491 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21492 <kernel-features.h>.
21493 [__ASSUME_32BITUIDS]: Make code unconditional.
21494 [!__ASSUME_32BITUIDS]: Remove conditional code.
21495 * sysdeps/unix/sysv/linux/setegid.c: Do not include
21496 <kernel-features.h>.
21497 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
21498 unconditional.
21499 (__setresgid): Do not declare.
21500 [__ASSUME_32BITUIDS]: Make code unconditional.
21501 [!__ASSUME_32BITUIDS]: Remove conditional code.
21502 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
21503 <kernel-features.h>.
21504 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
21505 unconditional.
21506 (__setresuid): Do not declare.
21507 [__ASSUME_32BITUIDS]: Make code unconditional.
21508 [!__ASSUME_32BITUIDS]: Remove conditional code.
21509 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21510 <kernel-features.h>.
21511 [__ASSUME_32BITUIDS]: Make code unconditional.
21512 [!__ASSUME_32BITUIDS]: Remove conditional code.
21513 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
21514 <kernel-features.h>.
21515 [__ASSUME_32BITUIDS]: Make code unconditional.
21516 [!__ASSUME_32BITUIDS]: Remove conditional code.
21517
a386f1cc
RH
215182012-05-25 Richard Henderson <rth@twiddle.net>
21519
21520 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
21521 dl_hwcap to ifunc resolver.
21522 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
21523 elf_ifunc_invoke.
21524 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
21525 dl_hwcap to ifunc resolver.
21526 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
21527
b6550497
JM
215282012-05-24 Joseph Myers <joseph@codesourcery.com>
21529
21530 [BZ #14153]
21531 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
21532 for |x| <= 2**-26, not 2**-57.
21533 * math/libm-test.inc (acos_test): Do not allow spurious underflow
21534 exception.
21535
b0bc23a1
JL
215362012-05-24 Jeff Law <law@redhat.com>
21537
21538 * stdio-common/Makefile (tests): Add bug25.
21539 * stdio-common/bug25.c: New test.
21540
347c92e9
L
215412012-05-24 H.J. Lu <hongjiu.lu@intel.com>
21542
21543 [BZ #13576]
21544 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
21545 multiple of MALLOC_ALIGNMENT in size.
21546 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
21547
6bcc8b3f
JM
215482012-05-24 Joseph Myers <joseph@codesourcery.com>
21549
21550 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
21551 Require >= 256.
21552 (FILENAME_MAX): Use macro-int-constant.
21553 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
21554 (_IOFBF): Use macro-int-constant.
21555 (_IOLBF): Likewise.
21556 (_IONBF): Likewise.
21557 (SEEK_CUR): Likewise.
21558 (SEEK_END): Likewise.
21559 (SEEK_SET): Likewise.
21560 (TMP_MAX): Likewise.
21561 (EOF): Use macro-int-constant. Require < 0.
21562 (NULL): Use macro-constant. Require == 0.
21563 (stdin): Require type to be FILE *.
21564 (stdout): Likewise.
21565 (stderr): Likewise.
21566 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
21567 macro-int-constant.
21568 (EXIT_SUCCESS): Likewise.
21569 (NULL): Use macro-constant. Require == 0.
21570 (RAND_MAX): Use macro-int-constant.
21571 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
21572 [C99-based standards] (strtof): Require function.
21573 [C99-based standards] (strtold): Likewise.
21574 [C99-based standards] (strtoll): Likewise.
21575 [C99-based standards] (strtoull): Likewise.
21576 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21577 [ISO || ISO99 || ISO11] (limits.h): Likewise.
21578 [ISO || ISO99 || ISO11] (math.h): Likewise.
21579 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
21580 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21581 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21582
d18ea0c5
AS
215832012-05-24 Andreas Schwab <schwab@linux-m68k.org>
21584
21585 [BZ #14132]
56d25bb8
AS
21586 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
21587 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
21588 * intl/dgettext.c (DCGETTEXT): Likewise.
21589 * intl/gettext.c (DCGETTEXT): Likewise.
21590 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
21591 * posix/regex_internal.h (gettext): Likewise.
21592 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
21593 Remove declaration.
21594 * include/argz.h (__argz_count_internal)
21595 (__argz_stringify_internal): Remove declaration.
21596 (__argz_count, __argz_stringify): Declare hidden proto.
21597 * intl/dcgettext.c: Remove use of INTDEF.
21598 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
21599 * string/argz-stringify.c: Likewise.
21600 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21601 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21602 Declare hidden proto.
d18ea0c5
AS
21603 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21604 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21605 Declare hidden proto.
21606 * include/stdio.h (__asprintf_internal): Don't declare.
21607 (__asprintf): Don't define as macro. Declare hidden proto.
21608 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
21609 (__fsetlocking): Declare hidden proto.
21610 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
21611 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
21612 hidden proto.
21613 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
21614 (_IO_setlinebuf): Remove use of INTUSE.
21615 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
21616 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
21617 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
21618 Remove declaration.
21619 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
21620 (_IO_do_flush): Remove use of INTUSE.
21621 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
21622 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
21623 (_IO_adjust_column, _IO_least_wmarker)
21624 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
21625 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
21626 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
21627 (_IO_default_doallocate, _IO_wdefault_doallocate)
21628 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
21629 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
21630 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
21631 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
21632 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
21633 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
21634 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
21635 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
21636 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
21637 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
21638 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
21639 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
21640 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
21641 proto.
21642 (_IO_flush_all_internal, _IO_adjust_column_internal)
21643 (_IO_default_uflow_internal, _IO_default_finish_internal)
21644 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
21645 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
21646 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
21647 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
21648 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
21649 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
21650 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
21651 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
21652 (_IO_file_close_internal, _IO_file_close_it_internal)
21653 (_IO_file_underflow_internal, _IO_file_overflow_internal)
21654 (_IO_file_init_internal, _IO_file_attach_internal)
21655 (_IO_file_fopen_internal, _IO_file_read_internal)
21656 (_IO_file_sync_internal, _IO_file_seek_internal)
21657 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
21658 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
21659 (_IO_str_underflow_internal, _IO_str_overflow_internal)
21660 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
21661 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
21662 (_IO_list_all_internal, _IO_link_in_internal)
21663 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
21664 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
21665 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
21666 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
21667 (_IO_do_write_internal, _IO_padn_internal)
21668 (_IO_getline_info_internal, _IO_getline_internal)
21669 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
21670 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
21671 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
21672 (_IO_vfscanf_internal, _IO_vfprintf_internal)
21673 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
21674 (_IO_init_internal, _IO_un_link_internal): Don't declare.
21675 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
21676 with libc_hidden_ver, remove use of INTUSE.
21677 * libio/genops.c: Likewise.
21678 * libio/freopen.c: Likewise.
21679 * libio/freopen64.c: Likewise.
21680 * libio/iofclose.c: Likewise.
21681 * libio/iofdopen.c: Likewise.
21682 * libio/iofflush.c: Likewise.
21683 * libio/iofflush_u.c: Likewise.
21684 * libio/iofgets.c: Likewise.
21685 * libio/iofgets_u.c: Likewise.
21686 * libio/iofopen.c: Likewise.
21687 * libio/iofopncook.c: Likewise.
21688 * libio/iofread.c: Likewise.
21689 * libio/iofread_u.c: Likewise.
21690 * libio/ioftell.c: Likewise.
21691 * libio/iofwrite.c: Likewise.
21692 * libio/iogetline.c: Likewise.
21693 * libio/iogets.c: Likewise.
21694 * libio/iogetwline.c: Likewise.
21695 * libio/iopadn.c: Likewise.
21696 * libio/iopopen.c: Likewise.
21697 * libio/ioseekoff.c: Likewise.
21698 * libio/ioseekpos.c: Likewise.
21699 * libio/iosetbuffer.c: Likewise.
21700 * libio/iosetvbuf.c: Likewise.
21701 * libio/ioungetc.c: Likewise.
21702 * libio/ioungetwc.c: Likewise.
21703 * libio/iovdprintf.c: Likewise.
21704 * libio/iovsprintf.c: Likewise.
21705 * libio/iovsscanf.c: Likewise.
21706 * libio/memstream.c: Likewise.
21707 * libio/obprintf.c: Likewise.
21708 * libio/oldfileops.c: Likewise.
21709 * libio/oldiofclose.c: Likewise.
21710 * libio/oldiofdopen.c: Likewise.
21711 * libio/oldiofopen.c: Likewise.
21712 * libio/oldiopopen.c: Likewise.
21713 * libio/oldstdfiles.c: Likewise.
21714 * libio/putc.c: Likewise.
21715 * libio/setbuf.c: Likewise.
21716 * libio/setlinebuf.c: Likewise.
21717 * libio/stdfiles.c: Likewise.
21718 * libio/strops.c: Likewise.
21719 * libio/vasprintf.c: Likewise.
21720 * libio/vscanf.c: Likewise.
21721 * libio/vsnprintf.c: Likewise.
21722 * libio/vswprintf.c: Likewise.
21723 * libio/wfiledoalloc.c: Likewise.
21724 * libio/wfileops.c: Likewise.
21725 * libio/wgenops.c: Likewise.
21726 * libio/wmemstream.c: Likewise.
21727 * libio/wstrops.c: Likewise.
21728 * libio/__fpurge.c: Likewise.
21729 * libio/__fsetlocking.c: Likewise.
21730 * assert/assert.c: Likewise.
21731 * debug/fgets_chk.c: Likewise.
21732 * debug/fgets_u_chk.c: Likewise.
21733 * debug/fread_chk.c: Likewise.
21734 * debug/fread_u_chk.c: Likewise.
21735 * debug/gets_chk.c: Likewise.
21736 * debug/obprintf_chk.c: Likewise.
21737 * debug/vasprintf_chk.c: Likewise.
21738 * debug/vdprintf_chk.c: Likewise.
21739 * debug/vsnprintf_chk.c: Likewise.
21740 * debug/vsprintf_chk.c: Likewise.
21741 * malloc/mtrace.c: Likewise.
21742 * misc/error.c: Likewise.
21743 * misc/syslog.c: Likewise.
21744 * stdio-common/asprintf.c: Likewise.
21745 * stdio-common/fxprintf.c: Likewise.
21746 * stdio-common/getw.c: Likewise.
21747 * stdio-common/isoc99_fscanf.c: Likewise.
21748 * stdio-common/isoc99_scanf.c: Likewise.
21749 * stdio-common/isoc99_vfscanf.c: Likewise.
21750 * stdio-common/isoc99_vscanf.c: Likewise.
21751 * stdio-common/isoc99_vsscanf.c: Likewise.
21752 * stdio-common/printf-prs.c: Likewise.
21753 * stdio-common/printf_fp.c: Likewise.
21754 * stdio-common/printf_fphex.c: Likewise.
21755 * stdio-common/printf_size.c: Likewise.
21756 * stdio-common/putw.c: Likewise.
21757 * stdio-common/scanf.c: Likewise.
21758 * stdio-common/sprintf.c: Likewise.
21759 * stdio-common/tmpfile.c: Likewise.
21760 * stdio-common/vfprintf.c: Likewise.
21761 * stdio-common/vfscanf.c: Likewise.
21762 * stdlib/strfmon_l.c: Likewise.
21763 * sunrpc/openchild.c: Likewise.
21764 * sunrpc/xdr_stdio.c: Likewise.
21765 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
21766 * sysdeps/mach/hurd/tmpfile.c: Likewise.
21767
d6c33fda
RM
217682012-05-24 Roland McGrath <roland@hack.frob.com>
21769
c1487492
RM
21770 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21771
21772 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
21773 in the third column, to generate for the shared library an IFUNC
21774 that uses _dl_vdso_vsym.
21775 * Makerules (COMPILE.c, compile-stdin.c): New variables.
21776 * Makeconfig (object-suffixes-noshared): New variable.
21777
21778 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
21779 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
21780 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
21781 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
21782
d6c33fda
RM
21783 [BZ #14132]
21784 * include/sys/time.h (__gettimeofday): Remove macro.
21785 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
21786 * time/gettimeofday.c (__gettimeofday): Remove #undef.
21787 Remove INTDEF.
21788 (__gettimeofday): Add libc_hidden_def.
21789 (gettimeofday): Add libc_hidden_weak.
21790 * sysdeps/mach/gettimeofday.c: Likewise.
21791 * sysdeps/posix/gettimeofday.c: Likewise.
21792 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
21793 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
21794 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
21795 (__gettimeofday_internal): Remove strong_alias.
21796 (__gettimeofday): Add libc_hidden_def.
21797 (gettimeofday): Add libc_hidden_weak.
21798 * sysdeps/unix/syscalls.list (gettimeofday):
21799 Remove __gettimeofday_internal alias.
21800
b5a2bbe6
L
218012012-05-24 Daniel Jacobowitz <drow@false.org>
21802 H.J. Lu <hongjiu.lu@intel.com>
21803
21804 [BZ #12495]
21805 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
21806 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
21807 (largebin_index_32_big): New.
21808 (largebin_index): Use it for 16-byte alignment.
21809 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
21810 correction with front_misalign.
21811
cfba4fda
L
218122012-05-24 H.J. Lu <hongjiu.lu@intel.com>
21813
7f907421
L
21814 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
21815 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
21816 Likewise.
21817 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
21818 Likewise.
21819 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21820 Likewise.
21821 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
21822 Likewise.
21823 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
21824 Likewise.
21825 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
21826 Likewise.
21827 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
21828 Likewise.
21829 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
21830 Likewise.
21831 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
21832 Likewise.
21833 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
21834 Likewise.
21835 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
21836 Likewise.
21837 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
21838 Likewise.
21839
cfba4fda
L
21840 * scripts/data/c++-types-x32-linux-gnu.data: New file.
21841 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
21842
80bad0cc
JM
218432012-05-24 Joseph Myers <joseph@codesourcery.com>
21844
7a25eb06
JM
21845 [BZ #10846]
21846 [BZ #14036]
21847 * math/libm-test.inc (exp_test): Add test from bug 14036.
21848 (pow_test): Add test from bug 10846.
21849
795405f9
JM
21850 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
21851 and other flags.
21852 (special_function): Do not include flags in test name.
21853 (parse_args): Likewise.
21854 * sysdeps/i386/fpu/libm-test-ulps: Update.
21855 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21856 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21857 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21859
80bad0cc
JM
21860 * math/gen-libm-test.pl (%beautify): Add entries for underflow
21861 exceptions.
21862 * math/libm-test.inc ("Philosophy"): Update comment about
21863 exception testing.
21864 (UNDERFLOW_EXCEPTION): New macro.
21865 (UNDERFLOW_EXCEPTION_OK): Likewise.
21866 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
21867 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
21868 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
21869 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
21870 (INVALID_EXCEPTION_OK): Update value.
21871 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21872 (OVERFLOW_EXCEPTION_OK): Likewise.
21873 (IGNORE_ZERO_INF_SIGN): Likewise.
21874 (test_exceptions): Handle underflow exceptions.
21875 (acos_test): Update for underflow exception expectations.
21876 (cexp_test): Likewise.
21877 (clog_test): Likewise.
21878 (clog10_test): Likewise.
21879 (csqrt_test): Likewise.
21880 (ctan_test): Likewise.
21881 (ctanh_test): Likewise.
21882 (exp_test): Likewise.
21883 (exp10_test): Likewise.
21884 (exp2_test): Likewise.
21885 (expm1_test): Likewise.
21886 (fma_test): Likewise.
21887 (j0_test): Likewise.
21888 (jn_test): Likewise.
21889 (nexttoward_test): Likewise.
21890 (pow_test): Likewise.
21891 (scalbn_test): Likewise.
21892 (scalbln_test): Likewise.
21893 (tan_test): Likewise.
21894 (y1_test): Likewise.
21895 * sysdeps/i386/fpu/libm-test-ulps: Update.
21896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21897
9e0e3d0b
DM
218982012-05-23 David S. Miller <davem@davemloft.net>
21899
21900 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21901 (__libc_sigaction): Remove unused local variables.
21902
ccd0a08f
L
219032012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21904
21905 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
21906
62bdf9a6
PE
219072012-05-23 Paul Eggert <eggert@cs.ucla.edu>
21908
f8591f80
PE
21909 mktime: avoid signed integer overflow
21910 * time/mktime.c (__mktime_internal): Do not mishandle the case
21911 where diff == INT_MIN.
21912
94c7d826
PE
21913 mktime: simplify computation of average
21914 * time/mktime.c (ranged_convert): Use new time_t_avg function
21915 instead of rolling our own (probably-slower) code.
21916
ce73d683
PE
21917 mktime: do not assume signed right shift propagates sign bit
21918 * time/mktime.c (isdst_differ): New static function.
21919 (__mktime_internal): No need to normalize tm_isdst now.
21920 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
21921 tm_isdst values.
21922
72a22e59
PE
21923 mktime: merge another wrapv change from gnulib
21924 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
21925 from some compilers.
21926
68605433
PE
21927 mktime: remove incorrect attempt at unusual arithmetics
21928 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
21929 The code didn't really work on such machines anyway.
21930 (TYPE_MINIMUM): Assume two's complement.
21931 (twos_complement_arithmetic): Verify that long_int and time_t
21932 are two's complement (or unsigned, in the latter case).
21933
03cf7fe3
PE
21934 mktime: check signed shifts on long_int and time_t, too
21935 * time/mktime.c (SHR): Check that shifts work as desired
21936 on the types long_int and time_t too, as SHR is used on
21937 such types.
21938
f04dfbc2
PE
21939 mktime: do not assume 'long' is wide enough
21940 * time/mktime.c (verify): Move decl up.
21941 (long_int): New type.
21942 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
21943 to remove assumption in the code that 'long' is wide enough to
21944 store year values. This assumption is not true on x32 and on
21945 some non-glibc platforms.
21946
62bdf9a6
PE
21947 mktime: merge wrapv change from gnulib
21948 * time/mktime.c (WRAPV): New macro.
21949 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
21950 (guess_time_tm, __mktime_internal): Do not assume that signed
21951 integer overflow wraps around; modern compilers generate code
21952 where this assumption is no longer valid.
21953
5e292e4f
L
219542012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21955
21956 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21957 Replace "jmp L(pseudo_end)" with "ret".
21958 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
21959 Likewise.
21960
8caf8c87
AJ
219612012-05-23 Andreas Jaeger <aj@suse.de>
21962
21963 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
21964 * sysdeps/unix/sysv/linux/poll.c: Remove file.
21965
1a09dc56
AJ
219662012-05-23 Andreas Jaeger <aj@suse.de>
21967 Maximilian Attems <max@stro.at>
21968
21969 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
21970 New macros.
21971
1c87aba0
L
219722012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21973
21974 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
21975 code so that pseudo_end is just ret and the stack pointer is
21976 correct also for static library in error case.
21977
40e45bd5
JM
219782012-05-23 Joseph Myers <joseph@codesourcery.com>
21979
c2670533
JM
21980 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
21981 move to syscalls.list.
21982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
21983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
21984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
21985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
21986
40e45bd5
JM
21987 * manual/install.texi (Running make install): Do not mention Linux
21988 kernel version for which pt_chown is not needed.
21989 (Linux): Do not mention problems with nscd with 2.0 kernels.
21990 * INSTALL: Regenerated.
21991
be08eda5
AJ
219922012-05-23 Andreas Jaeger <aj@suse.de>
21993
21994 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
21995 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
21996 macro.
21997 * sysdeps/unix/sysv/linux/s390/bits/mman.h
21998 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21999 * sysdeps/unix/sysv/linux/sh/bits/mman.h
22000 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22001 * sysdeps/unix/sysv/linux/i386/bits/mman.h
22002 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22003 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
22004 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22005 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
22006 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22007 * sysdeps/unix/sysv/linux/bits/in.h
22008 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
22009
a6a056bb
RM
220102012-05-22 Roland McGrath <roland@hack.frob.com>
22011
22012 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
22013 (PREPARE_VERSION): Just use assert instead, it will be elided
22014 under [NDEBUG] anyway.
22015
c9009328
L
220162012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22017
22018 * sysdeps/unix/sysv/linux/Makefile: Include
22019 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 22020 (sysdep_routines): Remove sysctl.
c9009328
L
22021 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
22022 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
22023 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
22024 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
22025 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
22026
73338355
AJ
220272012-05-22 Andreas Jaeger <aj@suse.de>
22028
22029 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
22030 that pseudo_end is just ret and the stack pointer is correct also
22031 for static library in error case.
22032
d44638b0
PP
220332012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
22034
22035 [BZ #14122]
22036 * nss/nsswitch.c (defconfig_entries): New variable.
22037 (__nss_database_lookup): Don't leak defconfig entries.
22038 (nss_parse_service_list): Don't leak on error paths.
22039 (free_database_entries): New function.
22040 (free_defconfig): New function.
22041 (free_mem): Move common code to free_database_entries.
22042
31a39bd8
L
220432012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22044
da0331a8
L
22045 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
22046 Add arch_prctl.
22047 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
22048
31a39bd8
L
22049 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22050 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
22051 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
22052 New macro.
22053 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
22054 (INTERNAL_SYSCALL_TYPES): Likewise.
22055 (LOAD_ARGS_TYPES_[1-6]): Likewise.
22056 (LOAD_REGS_TYPES_[1-6]): Likewise.
22057 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
22058 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
22059
45470df3
AZ
220602012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22061
22062 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
22063 copysignl for GLIBC_2_0.
22064 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
22065 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
22066 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
22067 logbl for GLIBC_2_0.
22068 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
22069 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
22070
98a61bcb
L
220712012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22072
a4f6e481
L
22073 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
22074 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22075
f63d5db6
L
22076 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22077 Use "neg %eax".
22078
98a61bcb
L
22079 * time/mktime.c: Update copyright years.
22080
95770f14
PE
220812012-05-22 Paul Eggert <eggert@cs.ucla.edu>
22082
6226efbd
PE
22083 mktime: merge comment-quoting-style change from gnulib
22084 * time/mktime.c: Quote 'like this' in comments.
22085 The GNU coding standards suggest that we no longer quote `like this',
22086 as "`" and "'" are typically rendered asymmetrically nowadays.
22087 The typical gnulib style is to quote 'like this' when quoting
22088 code, and "like this" when quoting English.
22089
b99e4f78
PE
22090 * time/mktime.c (compile-command): Add "-I.".
22091
643e01e6
PE
22092 mktime: merge mktime-internal.h change from gnulib
22093 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
22094
2554247d
PE
22095 mktime: merge time_r change from gnulib
22096 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
22097
826dd0ab
PE
22098 mktime: merge DEBUG change from gnulib
22099 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
22100 case system <time.h> has a #define.
22101
bd83aabe
PE
22102 mktime: merge <sys/types.h> change from gnulib
22103 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
22104 since <time.t> is now guaranteed to define time_t.
22105
95770f14
PE
22106 mktime: merge HAVE_CONFIG_H change from gnulib
22107 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
22108
5e1a27a9
L
221092012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22110
0e44a77e
L
22111 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22112 Use "neg %eax".
22113
5e1a27a9
L
22114 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
22115 __rlim_t cast.
22116 (struct rusage): Use anonymous union to pad each field to
22117 __syscall_slong_t.
22118
46259bec
DM
221192012-05-21 David S. Miller <davem@davemloft.net>
22120
22121 * Makefules (o-iterator): Remove .s cases.
22122 (compile-command.s): Delete.
22123 (COMPILE.s): Delete.
22124 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
22125
59f0c22e
JM
221262012-05-21 Joseph Myers <joseph@codesourcery.com>
22127
22128 * configure.in (libc_cv_predef_stack_protector): Only consider
22129 "foobar" and "__stack_chk_fail" lines in libc_undefs.
22130 * configure: Regenerated.
22131
20c07380
L
221322012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22133
bbb3154b
L
22134 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22135 New macro. Use R*LP on int and pointer.
22136 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
22137 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
22138 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
22139 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
22140
20c07380
L
22141 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
22142 [__WORDSIZE_TIME64_COMPAT32] instead of
22143 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
22144 (struct utmp): Likewise.
22145 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
22146 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
22147 Renamed to ...
22148 (__WORDSIZE_TIME64_COMPAT32): This.
22149 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
22150 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
22151 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
22152 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
22153 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
22154 (__WORDSIZE_TIME64_COMPAT32): New macro.
22155
d8d1017e
AJ
221562012-05-21 Andreas Jaeger <aj@suse.de>
22157
22158 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
22159 only if [SHARED]. Add prototype for __wcschr_ia32.
22160
6c7fb145
RM
221612012-05-21 Roland McGrath <roland@hack.frob.com>
22162
22163 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
22164 of %rbp unmolested in the jmp_buf while mangling the low bits.
22165 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
22166 unmolested high bits of %rbp while demangling the low bits.
22167 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22168
66274218
AJ
221692012-05-21 Andreas Jaeger <aj@suse.de>
22170
07c58f8f
AJ
22171 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
22172 * sunrpc/svc_simple.c: Use it for registerrpc.
22173 * sunrpc/xcrypt.c: Use it for passwd2des.
22174
66274218
AJ
22175 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
22176
61f65140
L
221772012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22178
22179 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
22180 Don't define if [__SYSCALL_WORDSIZE != 32].
22181 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
22182 New macro.
22183
5fefb436
AJ
221842012-05-21 Bruno Haible <bruno@clisp.org>
22185 Andreas Jaeger <aj@suse.de>
22186
22187 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
22188 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
22189 inptr and inend for must_buffer_ch.
22190 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
22191 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
22192 * stdio-common/Makefile (tests): Remove bug15.
22193 (bug15-ENV): Remove macro.
22194 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
22195 anymore.
22196
d8e272ab
AJ
221972012-05-19 Andreas Jaeger <aj@suse.de>
22198 Roland McGrath <roland@hack.frob.com>
22199
22200 * manual/contrib.texi: Completely rewritten. It contains now an
22201 alphabetical list of contributors and their contributions.
22202
4a56a162
RH
222032012-05-21 Richard Henderson <rth@twiddle.net>
22204
22205 * misc/getauxval.c (__getauxval): Use unsigned long int.
22206 * misc/sys/auxv.h: Include <sys/cdefs.h>.
22207 (getauxval): Use unsigned long int.
22208
d024d23c
L
222092012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22210
22211 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22212
cbc00a03
RM
222132012-05-21 Roland McGrath <roland@hack.frob.com>
22214
22215 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
22216 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
22217 __alignof__ (long double).
22218
478143fa
AZ
222192012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22220
22221 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22222
c7683a6d
RH
222232012-05-20 Richard Henderson <rth@twiddle.net>
22224
22225 * misc/getauxval.c: New file.
22226 * misc/sys/auxv.h: New file.
22227 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
22228 (routines): Add getauxval.
22229 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
22230 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
22231 * elf/dl-sysdep.c (_dl_auxv): Remove.
22232 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
22233 * elf/dl-support.c (_dl_auxv): New variable.
22234 (_dl_aux_init): Initialize it.
22235 * manual/startup.texi (Auxiliary Vector): New node.
22236 * sysdeps/generic/bits/hwcap.h: New file.
22237 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
22238 * sysdeps/powerpc/sysdep.h: ... here. Include it.
22239 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
22240 * sysdeps/sparc/sysdep.h: ... here. Include it.
22241 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
22242 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
22243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22244 Update.
c7683a6d
RH
22245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
22246 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
22247 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
22248 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
22249 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22250 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22251 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
22252 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
22253
a6f1845d
AZ
222542012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22255
22256 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22257
cbcbe830
DM
222582012-05-19 David S. Miller <davem@davemloft.net>
22259
22260 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22261
e0b16cc2
JM
222622012-05-19 Joseph Myers <joseph@codesourcery.com>
22263
22264 [BZ #14123]
22265 * math/s_ccosh.c: Include <float.h>
22266 (__ccosh): Avoid internal overflow calculating sinh and cosh
22267 values before multiplying by sin and cos values.
22268 * math/s_ccoshf.c: Likewise.
22269 * math/s_ccoshl.c: Likewise.
22270 * math/s_csin.c: Likewise.
22271 * math/s_csinf.c: Likewise.
22272 * math/s_csinl.c: Likewise.
22273 * math/s_csinh.c: Likewise.
22274 * math/s_csinhf.c: Likewise.
22275 * math/s_csinhl.c: Likewise.
22276 * math/libm-test.inc (ccos_test): Add more tests.
22277 (ccosh_test): Likewise.
22278 (csin_test): Likewise.
22279 (csinh_test): Likewise.
22280 * sysdeps/i386/fpu/libm-test-ulps: Update.
22281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22282
6ad13e08
L
222832012-05-19 H.J. Lu <hongjiu.lu@intel.com>
22284
f66f0ce8
L
22285 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
22286 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
22287
6ad13e08
L
22288 * sysdeps/x86_64/x32/_itoa.h: Add comment.
22289
b1d072a7
JM
222902012-05-19 Joseph Myers <joseph@codesourcery.com>
22291
22292 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
22293 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
22294 * sysdeps/powerpc/soft-fp/Versions: Likewise.
22295 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
22296 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
22297 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
22298 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
22299 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
22300 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
22301 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
22302 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
22303 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
22304 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
22305 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
22306 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
22307 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
22308 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
22309 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
22310 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
22311 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
22312 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
22313 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
22314 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
22315 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
22316 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
22317 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
22318 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
22319 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
22320 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
22321 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
22322 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
22323
9eae47cb
AJ
223242012-05-18 Andreas Jaeger <aj@suse.de>
22325
22326 * csu/.gitignore: Delete.
22327
bb07f69f
L
223282012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22329
22330 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
22331 (timex): Use __syscall_slong_t.
22332
e6bdb741
AJ
223332012-05-18 Andreas Jaeger <aj@suse.de>
22334 Carlos O'Donell <carlos_odonell@mentor.com>
22335
22336 * manual/install.texi (Configuring and compiling): Update
22337 description about files modified in the source directory.
d6c33fda 22338 * INSTALL: Regenerated.
e6bdb741 22339
1b74487e
L
223402012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22341
22342 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
22343 value. Use "or" to set return value to -1.
22344 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
22345 negate return value.
22346
a88b64b9
TMQMF
223472012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22348
22349 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
22350 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
22351 failure if the compiler has Graphite support disabled.
22352 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
22353 Likewise.
22354 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
22355 CFLAGS-memmove.c): Likewise.
22356 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
22357 Likewise.
22358
3707636e
L
223592012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22360
610b8622
L
22361 * sysdeps/x86_64/x32/_itoa.h: New file.
22362
7cd195df
L
22363 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
22364 getdents system call only if kernel and user dirents have the
22365 same d_ino and d_off.
22366
94b07d20
L
22367 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22368 LLONG_MAX != LONG_MAX.
22369 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22370 (_fitoa_word): Likewise.
22371
18298070
L
22372 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
22373 years.
22374 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
22375 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
22376 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
22377
553c7ea4
L
22378 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
22379 include <bits/wordsize.h>. Check __x86_64__ instead of
22380 __WORDSIZE.
22381 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
22382 if __x86_64__ is defined. Use anonymous union on fpstate.
22383
3707636e
L
22384 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
22385 anonymous union.
22386
b53ef01a
AS
223872012-05-18 Andreas Schwab <schwab@linux-m68k.org>
22388
37fb1dc0
AS
22389 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
22390 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
22391 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
22392 Refer to _rtld_local_ro instead of _rtld_global_ro.
22393 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
22394 Likewise.
22395 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
22396 Likewise.
22397 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
22398 Likewise.
22399 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
22400 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
22401 of _rtld_global, and rtld_progname instead of _dl_argv[0].
22402
b53ef01a
AS
22403 * sysdeps/powerpc/powerpc32/dl-machine.c
22404 (__elf_machine_runtime_setup) [PROF]: Don't reference
22405 _dl_prof_resolve.
22406
7a185db2
AJ
224072012-05-18 Andreas Jaeger <aj@suse.de>
22408
22409 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
22410 function only available for GCCs before 3.4 since GCC 3.4
22411 introduced a builtin.
22412 (lrint): Likewise.
22413 (llrintf): Likewise.
22414 (llrint): Likewise.
22415 (fmaxf): Likewise.
22416 (fmax): Likewise.
22417 (fminf): Likewise.
22418 (fmin): Likewise.
22419 (rint): Likewise.
22420 (rintf): Likewise.
22421 (nearbyint): Likewise.
22422 (nearbyintf): Likewise.
22423 (ceil): Likewise.
22424 (ceilf): Likewise.
22425 (floor): Likewise.
22426 (floorf): Likewise.
22427
3e5aef87
L
224282012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22429
428bd707
L
22430 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
22431 on both fields and cast pointer to __syscall_ulong_t.
22432
3e5aef87
L
22433 * bits/types.h (__fsword_t): New type.
22434 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
22435 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
22436 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22437 (__FSWORD_T_TYPE): Likewise.
22438 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22439 (__FSWORD_T_TYPE): Likewise.
22440 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22441 (__FSWORD_T_TYPE): Likewise.
22442 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
22443 (__FSWORD_T_TYPE): Likewise.
22444 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
22445 __SWORD_TYPE with __fsword_t.
22446 (statfs64): Likewise.
22447
1ba7c3dc
DM
224482012-05-17 David S. Miller <davem@davemloft.net>
22449
22450 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
22451
59910343
AJ
224522012-05-17 Andreas Jaeger <aj@suse.de>
22453
22454 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
22455 warning.
22456
2e4c1e9e
L
224572012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22458
22459 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
22460
de7f5ce7
AJ
224612012-05-17 Andreas Jaeger <aj@suse.de>
22462
22463 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
22464 when it is used.
22465
286abc3d
CM
224662012-05-17 Chris Metcalf <cmetcalf@tilera.com>
22467
22468 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
22469
477cc68e
L
224702012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22471
22472 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
22473 * sysdeps/x86_64/tst-mallocalign1.c: New file.
22474
1a0994f5
CD
224752012-05-17 Andreas Jaeger <aj@suse.de>
22476 Carlos O'Donell <carlos_odonell@mentor.com>
22477
22478 [BZ #14059]
22479 * sysdeps/x86_64/multiarch/init-arch.h
22480 (bit_YMM_Usable): Rename to...
22481 (bit_AVX_Usable): ... this.
22482 (bit_FMA4_Usable): New macro.
22483 (bit_XMM_state): New macro.
22484 (bit_YMM_state): New macro.
22485 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
22486 [__ASSEMBLER__] (index_AVX_Usable): ... this.
22487 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
22488 (CPUID_OSXSAVE): New macro.
22489 (CPUID_AVX): New macro.
22490 (CPUID_FMA4): New macro.
22491 (index_YMM_Usable): Rename to...
22492 (index_AVX_Usable): ... this.
22493 (HAS_AVX): Use HAS_ARCH_FEATURE.
22494 (HAS_FMA4): Likewise.
22495 (HAS_YMM_USABLE): Remove.
22496 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22497 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
22498 are present.
22499 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
22500 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
22501 * sysdeps/x86_64/multiarch/Makefile: Likewise.
22502 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
22503 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
22504
0af797de
CM
225052012-05-17 Chris Metcalf <cmetcalf@tilera.com>
22506
22507 * math/libm-test.c: Support platforms without multiple rounding modes.
22508 * math/bug-nextafter.c: Support platforms without FP exceptions.
22509 * math/bug-nexttoward.c: Likewise.
22510 * math/test-fenv.c: Likewise.
22511 * math/test-misc.c: Likewise.
22512 * stdlib/bug-getcontext.c: Likewise.
22513
e39745ff
AJ
225142012-05-17 Andreas Jaeger <aj@suse.de>
22515
22516 * manual/examples/search.c (critter_cmp): Change signature to
22517 avoid warnings.
22518 * manual/string.texi (Collation Functions): Likewise.
22519
48970aba
L
225202012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22521
22522 * bits/types.h: Fold copyright years.
22523 * bits/typesizes.h: Likewise.
22524 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
22525 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
22526 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
22527 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
22528 * time/time.h: Likewise.
22529
bedee953
PP
225302012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
22531
22532 [BZ #208]
22533 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
22534 in instead of returning them. Return void.
22535 (__libc_mallinfo): Accumulate over all arenas.
22536 (__malloc_stats): Adjust for change in int_mallinfo interface.
22537
61653dfb
RM
225382012-05-16 Roland McGrath <roland@hack.frob.com>
22539
30b99d79
RM
22540 [BZ #10375]
22541 * configure.in (NM): Add AC_CHECK_TOOL for it.
22542 (libc_extra_cflags): New substituted variable.
22543 Check for -fstack-protector being used implicitly.
22544 * configure: Regenerated.
22545 * config.make.in (config-extra-cflags): New variable,
22546 gets @libc_extra_cflags@.
22547 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
22548
61653dfb
RM
22549 [BZ #10375]
22550 * configure.in: Check for _FORTIFY_SOURCE being predefined.
22551 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
22552 * configure: Regenerated.
22553 * config.make.in (CPPUNDEFS): New substituted variable.
22554 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
22555 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
22556 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
22557
661768bb
L
225582012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22559
22560 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
22561 (mq_attr): Use __syscall_slong_t.
22562
d4261567
L
225632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22564
22565 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
22566 Check __x86_64__ instead of __WORDSIZE.
22567 (_STAT_VER_LINUX): Likewise.
22568 (stat): Check __x86_64__ instead of __WORDSIZE. Use
22569 __syscall_ulong_t and __syscall_slong_t.
22570 (stat64): Likewise.
22571
cf3ff365
L
225722012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22573
22574 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
22575
76cf3e4d
L
225762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22577
22578 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
22579
a637753a
L
225802012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22581
22582 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
22583 __syscall_ulong_t.
22584
d5e05119
L
22585 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
22586 include <bits/wordsize.h>. Check __x86_64__ instead of
22587 __WORDSIZE.
22588 (greg_t): Use "__extension__ long long int" if __x86_64__ is
22589 defined.
22590 (mcontext_t): Replace "unsigned long" with "unsigned long long".
22591
f62ee380
L
22592 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
22593 include <bits/wordsize.h>. Check __x86_64__ instead of
22594 __WORDSIZE.
22595 (user_regs_struct): Use "__extension__ unsigned long long"
22596 instead of "unsigned long" if __x86_64__ is defined.
22597 (user): Likewise. Pad after pointer field if __ILP32__ is
22598 defined.
22599
4e124ced
JM
226002012-05-16 Joseph Myers <joseph@codesourcery.com>
22601
6a3951a0
JM
22602 * configure.in (makeinfo): Require version 4.5 or later. Allow
22603 versions 5 to 9.
22604 * configure: Regenerated.
22605 * manual/install.texi (texinfo): Increase version requirement to
22606 4.5 or later.
22607 * INSTALL: Regenerated.
22608
4e124ced
JM
22609 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
22610
953ca31a
L
226112012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22612
22613 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
22614
617aca05
L
22615 * sysdeps/x86_64/x32/ffs.c: New file.
22616
5762f7ae
L
22617 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
22618 __syscall_ulong_t.
22619 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
22620 defined. Use __syscall_ulong_t.
22621 (shminfo): Use __syscall_ulong_t.
22622 (shm_info): Likewise.
22623
a26b6856
L
22624 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
22625 __syscall_ulong_t.
22626
cb2b9ef7
L
22627 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
22628 <bits/wordsize.h>.
22629 (msgqnum_t): Use __syscall_ulong_t.
22630 (msglen_t): Likewise.
22631 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
22632 __syscall_ulong_t.
22633
34683bb0
L
22634 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
22635 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22636
84a68786
L
22637 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
22638
48baa5f1
L
22639 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
22640 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
22641
180be88b
L
22642 * sysvipc/sys/msg.h (msgbuf): Replace long int with
22643 __syscall_slong_t.
22644
5e90c8ad
L
22645 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
22646 include <bits/wordsize.h>. Check __x86_64__ instead of
22647 __WORDSIZE.
22648
23dfb58b
L
22649 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
22650 "unsigned long long int" if __x86_64__ is defined.
22651 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
22652
ce5d54b0
L
22653 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
22654 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22655 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
22656
13dc9eac
L
22657 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
22658 <stdint.h>.
22659 (GET_PC): Cast to uintptr_t first.
22660 (GET_FRAME): Likewise.
22661 (GET_STACK): Likewise.
22662
a7895d15
L
22663 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
22664 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
22665 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
22666 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
22667 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
22668 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
22669 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
22670 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
22671 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
22672 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
22673 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
22674 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
22675 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
22676 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
22677 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
22678 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
22679 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
22680 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
22681 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
22682 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
22683 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
22684 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
22685 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
22686 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
22687 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
22688 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
22689 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
22690 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
22691 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
22692
656416c9
AS
226932012-05-16 Andreas Schwab <schwab@linux-m68k.org>
22694
5bd66283
AS
22695 * Makerules (+depfiles): Also collect depfiles from .oS in
22696 $(extra-objs).
22697 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
22698 .oS, $(libnldbl-routines)).
22699
656416c9
AS
22700 * Makerules (native-compile-mkdep-flags): Define.
22701 * sunrpc/Makefile (extra-objs): Add $(addprefix
22702 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
22703 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
22704 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
22705 calling $(make-target-directory).
22706
a46f2169
L
227072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22708
22709 * bits/types.h (__snseconds_t): Removed.
22710 * time/time.h (struct timespec): Replace __snseconds_t with
22711 __syscall_slong_t.
22712 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
22713 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
22714 Likewise.
22715 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22716 (__SNSECONDS_T_TYPE): Likewise.
22717 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22718 (__SNSECONDS_T_TYPE): Likewise.
22719 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22720 (__SNSECONDS_T_TYPE): Likewise.
22721
6af6528b
L
227222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22723
22724 * sysdeps/mach/hurd/bits/typesizes.h
22725 (__SYSCALL_SLONG_TYPE): New macro.
22726 (__SYSCALL_ULONG_TYPE): Likewise.
22727
de986b56
L
227282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22729
22730 * bits/types.h (__syscall_slong_t): New type.
22731 (__syscall_ulong_t): Likewise.
22732
22733 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
22734 (__SYSCALL_ULONG_TYPE): Likewise.
22735 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22736 (__SYSCALL_SLONG_TYPE): Likewise.
22737 (__SYSCALL_ULONG_TYPE): Likewise.
22738 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22739 (__SYSCALL_SLONG_TYPE): Likewise.
22740 (__SYSCALL_ULONG_TYPE): Likewise.
22741 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22742 (__SYSCALL_SLONG_TYPE): Likewise.
22743 (__SYSCALL_ULONG_TYPE): Likewise.
22744
85736dc7
L
227452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22746
22747 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
22748 Add sigaltstack-offsets.sym.
22749 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
22750 <sigaltstack-offsets.h>.
22751 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
22752 longjmp_msg pointer.
22753 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
22754 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
22755 signal stack.
22756 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
22757
cc03b296
JM
227582012-05-15 Joseph Myers <joseph@codesourcery.com>
22759
a9538892
JM
22760 * elf/stackguard-macros.h: Remove file.
22761 * sysdeps/generic/stackguard-macros.h: New file.
22762 * sysdeps/i386/stackguard-macros.h: Likewise.
22763 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22764 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22765 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22766 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22767 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22768 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22769 * sysdeps/x86_64/stackguard-macros.h: Likewise.
22770 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
22771 <elf/stackguard-macros.h>.
22772
cc03b296
JM
22773 [BZ #14109]
22774 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
22775 __aligned__ in attribute.
22776 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
22777 (gregset_t): Likewise.
22778
93171016
L
227792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22780
22781 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
22782 * sysdeps/x86_64/64/Implies-after: Here. New file.
22783 * sysdeps/x86_64/x32/Implies-after: New file.
22784
d86813a0
L
227852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22786
22787 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
22788 and access return value for _dl_profile_fixup. Use R10_LP to
22789 load frame size.
22790
2953ec75
L
227912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22792
22793 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
22794
3b550e9e
L
227952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22796
22797 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
22798 * sysdeps/x86_64/x32/sysdep.h: New file.
22799
eda41706
L
228002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22801
22802 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
22803 * sysdeps/x86_64/setjmp.S: Likewise.
22804
9ea01d93
AZ
228052012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22806
22807 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
22808 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
22809 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
22810 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
22811 remove unused global constant.
22812
02a91938
CM
228132012-05-15 Chris Metcalf <cmetcalf@tilera.com>
22814
22815 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
22816 include of <not-cancel.h>.
22817
6540185f
RM
228182012-05-15 Roland McGrath <roland@hack.frob.com>
22819
22820 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
22821
509072a0
AJ
228222012-05-15 Jeff Law <law@redhat.com>
22823 Andreas Jaeger <aj@suse.de>
22824
22825 [BZ #13594]
22826 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
22827 out from...
22828 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
22829 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
22830 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
22831 code changing __hst_map_handle.map.
22832
ba75122d
RM
228332012-05-15 Roland McGrath <roland@hack.frob.com>
22834
22835 * configure.in (sysnames): Look for Implies-before and Implies-after
22836 files.
22837 * configure: Regenerated.
22838
890d8bd8
L
228392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22840
22841 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
22842 8-byte data alignment with LP_SIZE alignment.
22843
f6ee6623
L
228442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22845
22846 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
22847 into R10_LP.
22848
ea2626f6
L
228492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22850
22851 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
22852
085f715e
L
228532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22854
22855 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
22856 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
22857 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
22858 Likewise.
22859 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22860
be8498fc
L
228612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22862
22863 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
22864 (stackinfo_sub_sp): Likewise.
22865
70bc83b9
L
228662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22867
22868 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
22869 RAX_LP.
22870
9bc0b730
L
228712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22872
22873 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
22874 into R*_LP.
22875
6d2850e7
L
228762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22877
22878 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
22879 sizes into R*_LP.
22880
3cb84561
L
228812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22882
22883 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
22884
54e2ed81
L
228852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22886
22887 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
22888 into R11_LP and load __x86_64_shared_cache_size_half into
22889 R8_LP.
22890
8a17f349
L
228912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22892
22893 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
22894 R8_LP.
22895
777b1eea
AZ
228962012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22897
22898 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
22899 logb for POWER7.
22900 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
22901 logbf for POWER7.
22902 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
22903 logbl for POWER7.
22904 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
22905 powerpc32/power7/fpu/s_logb.c via #include.
22906 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
22907 powerpc32/power7/fpu/s_logbf.c via #include.
22908 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
22909 powerpc32/power7/fpu/s_logbl.c via #include.
22910
d20d4ac2
JM
229112012-05-15 Joseph Myers <joseph@codesourcery.com>
22912
22913 * README.libm: Remove file.
22914
6cdef1ab
L
229152012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22916
22917 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
22918 count for x32. Use R*_LP and omit operand-size suffix.
22919
0b254d8f
L
229202012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22921
22922 * shlib-versions: Move x86_64-.*-linux.* entries to ...
22923 * sysdeps/x86_64/64/shlib-versions: Here. New file.
22924 * sysdeps/x86_64/x32/shlib-versions: New file.
22925
ceb809dc
RM
229262012-05-14 Roland McGrath <roland@hack.frob.com>
22927
22928 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
22929 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
22930 Use _dl_fatal_printf instead.
22931
37f1abd4
JM
229322012-05-14 Joseph Myers <joseph@codesourcery.com>
22933
22934 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
22935 set if not set by the user. Do not allow for being unset.
22936 * sysdeps/unix/sysv/linux/configure: Regenerated.
22937
11de3a33
L
229382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22939
22940 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
22941 the `q' suffix from lea and replace .quad with ASM_ADDR.
22942
e02f153a
L
229432012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22944
22945 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
22946 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
22947 instead of $17.
22948 (PTR_DEMANGLE): Likewise.
22949
520ae0fd
L
229502012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22951
22952 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
22953 (LP_OP): Likewise.
22954 (ASM_ADDR): Likewise.
22955 (RAX_LP): Likewise.
22956 (RBP_LP): Likewise.
22957 (RBX_LP): Likewise.
22958 (RCX_LP): Likewise.
22959 (RDI_LP): Likewise.
22960 (RSI_LP): Likewise.
22961 (RSP_LP): Likewise.
22962 (R8_LP): Likewise.
22963 (R9_LP): Likewise.
22964 (R10_LP): Likewise.
22965 (R10_LP): Likewise.
22966 (R11_LP): Likewise.
22967 (R12_LP): Likewise.
22968 (R13_LP): Likewise.
22969 (R14_LP): Likewise.
22970 (R15_LP): Likewise.
22971
b985be81
L
229722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22973
22974 * sysdeps/x86_64/x32/dl-machine.h: New file.
22975
6a4888ff
AJ
229762012-05-14 Andreas Jaeger <aj@suse.de>
22977
22978 * manual/Makefile (subdir): Remove export of subdir.
22979 (all): Remove target.
22980 (.PHONY): Remove all from list.
22981 (mkinstalldirs): Remove.
22982 (.PHONY): Remove installdirs from list.
22983 ($(inst_infodir)/libc.info): Use make-target-directory.
22984 (installdirs): Remove.
22985 (subdir_%): Remove.
22986 (glibc-targets): Remove.
22987 (lib): Remove.
22988 (stubs): Remove.
22989 ($(objpfx)stubs ../po/manual.pot): Remove.
22990 ($(objpfx)stamp%): Remove.
22991 (make-target-directory): Remove.
22992 (subdir_install): Remove.
22993 (routines): Remove.
22994 (aux): Remove.
22995 (sources): Remove.
22996 (objects): Remove.
22997 (headers): Remove.
22998
22999 [BZ #13750]
23000 * manual/.gitignore: Remove, it's not needed anymore.
23001 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
23002 all files in it.
23003 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
23004 directory.
23005 (texis): Renamed to $(objpfx)texis.
23006 (texis-path): New, contains path to generated files.
23007 (chapters.%): Use texis-path for complete path, add extra argument
23008 libc-texinfo.sh.
23009 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
23010 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
23011 (summary,texi, stamp-summary): Use complete path of
23012 files. Generate files in build dir.
23013 (dir-add.texi): Build in build dir.
23014 (libm-err.texi,stamp-libm-err): Likewise.
23015 (version.texi, stamp-version): Likewise.
23016 (.%c.texi): Likewise.
23017 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
23018 (mostlyclean): Remove target.
23019 (realclean): Remove target.
23020 (generated): Add new variable with contents from mostlyclean and
23021 realclean, remove entries duplicated in common-mostlyclean, add
23022 stamp-libm-err and stamp-version.
23023 (generated-dirs): Add libc directory.
23024 ($(inst_infodir)/libc.info): Install files from build dir.
23025
23026 * manual/install.texi (Configuring and compiling): Adjust since
23027 the info files are not part of the tar ball anymore.
23028
7ac77294
AJ
230292012-05-14 Andreas Jaeger <aj@suse.de>
23030
23031 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
23032 variable.
23033
ffb7875d
JM
230342012-05-14 Joseph Myers <joseph@codesourcery.com>
23035
23036 [BZ #13717]
23037 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23038 to 2.2.0 where earlier.
23039 * sysdeps/unix/sysv/linux/configure: Regenerated.
23040 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
23041 Remove conditional code.
23042 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
23043 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
23044 Remove conditional code.
23045 [!__NR_lchown]: Likewise.
23046 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23047 [__NR_lchown]: Likewise.
23048 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
23049 comment referencing __ASSUME_LCHOWN_SYSCALL.
23050 * sysdeps/unix/sysv/linux/i386/sigaction.c
23051 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23052 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23053 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
23054 Remove conditional code.
23055 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
23056 (__protocol_available): Remove #if 0 code.
23057 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
23058 conditional code.
23059 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
23060 * sysdeps/unix/sysv/linux/kernel-features.h
23061 (__ASSUME_GETCWD_SYSCALL): Don't define.
23062 (__ASSUME_REALTIME_SIGNALS): Likewise.
23063 (__ASSUME_PREAD_SYSCALL): Likewise.
23064 (__ASSUME_PWRITE_SYSCALL): Likewise.
23065 (__ASSUME_POLL_SYSCALL): Likewise.
23066 (__ASSUME_LCHOWN_SYSCALL): Likewise.
23067 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
23068 non-SPARC.
23069 (__ASSUME_SIOCGIFNAME): Don't define.
23070 (__ASSUME_MSG_NOSIGNAL): Likewise.
23071 (__ASSUME_SENDFILE): Define unconditionally.
23072 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
23073 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
23074 conditional code.
23075 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
23076 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
23077 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23078 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23079 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
23080 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23081 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
23083 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23084 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23086 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23087 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
23089 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23090 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
23092 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23093 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
23095 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23096 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
23098 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23099 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
23101 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23102 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
23104 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23105 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23106 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
23107 Remove conditional code.
23108 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23109 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23110 Remove conditional code.
23111 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23112 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
23113 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
23114 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23115 Remove conditional code.
23116 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23117 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
23118 Remove conditional code.
23119 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23120 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
23121 Remove conditional code.
23122 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23123 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23124 Remove conditional code.
23125 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23126 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23127 Remove conditional code.
23128 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23129 * sysdeps/unix/sysv/linux/sh/pwrite64.c
23130 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23131 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23132 * sysdeps/unix/sysv/linux/sigaction.c
23133 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23134 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23135 * sysdeps/unix/sysv/linux/sigpending.c
23136 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23137 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23138 * sysdeps/unix/sysv/linux/sigprocmask.c
23139 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23140 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23141 * sysdeps/unix/sysv/linux/sigsuspend.c
23142 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23143 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23144 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23145 (__libc_missing_rt_sigs): Remove.
23146 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
23147 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
23148 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
23149 Remove conditional code.
23150 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
23151 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
23152 return 1.
23153 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
23154 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
23155 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
23156 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
23157
1bfb7291
AJ
231582012-05-14 Andreas Jaeger <aj@suse.de>
23159
caae5a81
AJ
23160 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
23161 it's not used in glibc.
23162 (__coshm1): Likewise.
23163 (__acosh1p): Likewise.
23164 (__sgn): Likewise.
23165
1bfb7291
AJ
23166 * manual/string.texi (Copying and Concatenation): Add missing
23167 variable in concat example.
23168 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
23169
c044d724
L
231702012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23171
144c5467 23172 [BZ #14103]
c044d724
L
23173 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
23174 __builtin_clzl with __builtin_clzll.
23175
2523c62b
L
231762012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23177
23178 [BZ #14104]
23179 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
23180 libc_freeres_ptr.
23181
d7bb4c42
LD
231822012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23183
23184 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
23185 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
23186 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
23187 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
23188
9dc4e1fb
MF
231892012-05-14 Mike Frysinger <vapier@gentoo.org>
23190
23191 * NEWS: Update ia64 info.
23192
c7df0112
AS
231932012-05-12 Andreas Schwab <schwab@linux-m68k.org>
23194
23195 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
23196 used as bcopy.
23197
dc70356c
TS
231982012-05-12 Thomas Schwinge <thomas@codesourcery.com>
23199
23200 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
23201 * sysdeps/unix/syscalls.list (dup3): Likewise.
23202 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
23203 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
23204
9fb1a21f
L
232052012-05-11 H.J. Lu <hongjiu.lu@intel.com>
23206
23207 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
23208 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
23209
4822a2a5
L
232102012-05-11 H.J. Lu <hongjiu.lu@intel.com>
23211
23212 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
23213 thread pointer.
23214 (TLS_IE): Use mov/add instead of movq/addq to load thread
23215 pointer.
23216 (TLS_GD_PREFIX): New.
23217 (TLS_GD): Use it.
23218
842b81d6
DM
232192012-05-11 David S. Miller <davem@davemloft.net>
23220
23221 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
23222 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
23223 (_FPU_SETCW): Likewise.
23224
1cf463cd
L
232252012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23226
23227 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
23228 is 32-byte aligned.
23229
60cc4a18
AS
232302012-05-11 Andreas Schwab <schwab@linux-m68k.org>
23231
23232 [BZ #11837]
23233 * iconvdata/gb18030.c: Update tables.
23234 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
23235 characters specially.
23236 (BODY for TO_LOOP): Add encoding of missing ranges.
23237
febb44a4
TS
232382012-05-11 Thomas Schwinge <thomas@codesourcery.com>
23239
23240 [BZ #13673]
23241 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
23242 * sysdeps/mach/hurd/dup3.c: Likewise.
23243 * sysdeps/mach/hurd/readlinkat.c: Likewise.
23244 * sysdeps/powerpc/memmove.c:: Likewise.
23245
0a10fb9e
L
232462012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23247
23248 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
23249 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
23250
df8a552f
L
232512012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23252
23253 * elf/elf.h (R_X86_64_RELATIVE64): New.
23254 (R_X86_64_NUM): Updated.
23255 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23256 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
23257 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
23258 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
23259 tst-quad1pie tst-quad2pie
23260 (modules-names): Add tst-quadmod1 tst-quadmod2.
23261 ($(objpfx)tst-quad1): New dependency.
23262 ($(objpfx)tst-quad2): Likewise.
23263 ($(objpfx)tst-quad1pie): Likewise.
23264 ($(objpfx)tst-quad2pie): Likewise.
23265 * sysdeps/x86_64/tst-quad1.c: New file.
23266 * sysdeps/x86_64/tst-quad1pie.c: New file.
23267 * sysdeps/x86_64/tst-quad2.c: Likewise.
23268 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
23269 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
23270 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
23271 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
23272 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
23273
f34d6f84
ST
232742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23275
f42d41d1
ST
23276 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
23277 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
23278 * streams/stropts.h (t_scalar_t): Define type.
23279
3c3571fc
ST
23280 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
23281 (_PATH_PRESERVE): Set to "/var/lib".
23282 (_PATH_RWHODIR): Set to "/var/spool/rwho".
23283
61f06bd3
ST
23284 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
23285 instead of int.
23286
918d4d71
ST
23287 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
23288 if __dir_mkfile succeeded.
23289
f34d6f84
ST
23290 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
23291 checking for _hurd_dtablesize. Unlock it right after having
23292 finished _hurd_dtable allocation.
23293
10589b4a
TS
232942012-05-10 Thomas Schwinge <thomas@schwinge.name>
23295
674cdbc7
TS
23296 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
23297 * sysdeps/mach/hurd/configure: Regenerated.
23298 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
23299 special-casing to...
23300 * sysdeps/gnu/configure.in: ... this new file.
23301 * sysdeps/unix/sysv/linux/configure: Regenerated.
23302 * sysdeps/gnu/configure: New generated file.
23303
8e41b99f
TS
23304 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
23305 for Linux: use nsec instead of usec, as well as:
23306 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
23307 members of type struct timespec.
23308 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
23309 New macros.
23310 (struct stat64): Likewise.
23311 (_STATBUF_ST_NSEC): New macro.
23312 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
23313
10589b4a
TS
23314 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
23315 __strtoul_internal rather than strtoul.
23316
63643c85
PT
233172012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23318
23319 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
23320 and reject them.
23321
3faebe6a
ST
233222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23323
23324 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
23325 which preserves existing values.
23326 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
23327
c6474b07
PT
233282012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23329
23330 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
23331 TIMEOUT values. Return EINVAL for NFDS values either negative or
23332 greater than FD_SETSIZE.
23333
1043890b
ST
233342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23335
23336 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
23337 allocated, call __vm_protect to finish enabling the existing space, and
23338 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
23339 allocate the remainder.
23340
37ed8b9b
PT
233412012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23342
23343 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
23344 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
23345
db653660
ST
233462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23347
37ed8b9b
PT
23348 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
23349 sysdeps/mach/hurd/readlink.c.
b29d4053 23350
db653660
ST
23351 * posix/tst-sysconf.c (posix_options): Only use
23352 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
23353 _POSIX_SYNCHRONIZED_IO when they are defined
23354 * sysdeps/mach/hurd/bits/posix_opt.h:
23355 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
23356 (_XOPEN_REALTIME): Undefine macro.
23357 (_XOPEN_REALTIME_THREADS): Undefine macro.
23358 (_XOPEN_SHM): Undefine macro.
23359 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
23360 macro to -1.
23361 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
23362 macro to -1.
23363 (_POSIX_ASYNC_IO): Undefine macro.
23364 (_POSIX_PRIORITIZED_IO): Undefine macro.
23365 (_POSIX_SPIN_LOCKS): Define macro to -1.
23366
ee16e894
ST
23367 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
23368 SA_NODEFER, SA_RESETHAND.
23369 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
23370 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
23371 F_DUPFD_CLOEXEC.
23372
6103ae3b
TS
233732012-05-10 Thomas Schwinge <thomas@schwinge.name>
23374
23375 * elf/Makefile (pldd-modules): Define unconditionally.
23376
80b4e5f3
TS
233772012-05-10 Thomas Schwinge <thomas@schwinge.name>
23378
23379 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
23380
edadcbd6
ST
233812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23382
23383 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
23384 Return ENOENT when name is empty.
23385 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
23386
80694780
TS
233872012-05-10 Thomas Schwinge <thomas@schwinge.name>
23388
1792c087
TS
23389 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
23390
80694780
TS
23391 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
23392
6b645f0d
ST
233932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23394
80694780
TS
23395 Fix mlock in all cases except non-readable pages.
23396 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
23397 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 23398
6b645f0d
ST
23399 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
23400 (__mkdir): When path is `/', just fail with EEXIST.
23401 * sysdeps/mach/hurd/mkdirat.c: Likewise.
23402
e468f8a3
TS
234032012-05-10 Thomas Schwinge <thomas@schwinge.name>
23404
23405 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
23406 <sys/uio.h> (for writev).
23407 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
23408 and <sys/param.h> (for MIN).
23409
a4186cff
PT
234102012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23411
23412 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
23413 REQUESTED_TIME. Properly set the remaining time and return EINTR
23414 if interrupted.
23415
510bbf14
TS
234162012-05-10 Thomas Schwinge <thomas@schwinge.name>
23417
23418 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
23419 Depend on against $(link-rpcuserlibs).
23420
5d5722e8
ST
234212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23422
a4186cff
PT
23423 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
23424 (__libc_stack_end): Do not use attribute_relro.
23425 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
23426 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 23427 to libthread-provided value.
a4186cff
PT
23428 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
23429 attribute_relro.
5d5722e8 23430
37233df9
TS
234312012-05-10 Thomas Schwinge <thomas@schwinge.name>
23432
be971a2b
TS
23433 [BZ #3748]
23434 * bits/libc-lock.h (__libc_once_get): New macro.
23435 * sysdeps/mach/bits/libc-lock.h: Likewise.
23436 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
23437 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
23438 instead of using implementation details.
23439
37233df9
TS
23440 * libio/fileops.c: Unconditionally include <kernel-features.h>.
23441 * libio/freopen.c: Likewise.
23442 * libio/freopen64.c: Likewise.
23443 * misc/syslog.c: Likewise.
23444 * nscd/connections.c: Likewise.
23445 * nscd/netgroupcache.c: Likewise.
23446 * sysdeps/posix/getcwd.c: Likewise.
23447
38de94a5
RM
234482012-05-10 Roland McGrath <roland@hack.frob.com>
23449
23450 * math/w_ilogbf.c: Add #include <limits.h>.
23451
67530489
ST
234522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23453
a4186cff 23454 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
23455 path instead of returning without unlocking.
23456
67530489
ST
23457 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
23458 immediate-write ioctls.
23459 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
23460
5aa3a74a
TS
234612012-05-10 Thomas Schwinge <thomas@schwinge.name>
23462
18bad2ae
TS
23463 * sysdeps/mach/hurd/i386/init-first.c (init): Use
23464 __builtin_frame_address instead of making assumptions about the
23465 location of the return address relative to DATA. Force early load of
23466 the return address.
23467 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
23468 __builtin_frame_address.
23469
5aa3a74a
TS
23470 dup3 for GNU Hurd.
23471 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
23472 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
23473 implement dup3 and do some further code clean-ups.
23474 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
23475 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
23476
ecd0de9a
ST
234772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23478
cd9fa985
ST
23479 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
23480
a4186cff
PT
23481 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
23482 HURD_CRITICAL_END around holding _hurd_dtable_lock.
23483 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
23484 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
23485 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
23486 d->port.lock.
802ca5a5 23487
a4186cff
PT
23488 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
23489 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
23490 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 23491
bcf55240
TS
234922012-05-10 Thomas Schwinge <thomas@schwinge.name>
23493
6960eb42
TS
23494 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
23495 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
23496 definitions.
23497
eb43375f
TS
23498 accept4 for GNU Hurd.
23499 * include/sys/socket.h (__libc_accept4): New prototype.
23500 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
23501 to implement __libc_accept4.
23502 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
23503 __libc_accept4.
23504 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
23505
bcf55240
TS
23506 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
23507 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
23508 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
23509 signal-defines.sym.
23510
6178c55b
ST
235112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23512
a4186cff 23513 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 23514
6f080c2f
TS
235152012-05-10 Thomas Schwinge <thomas@schwinge.name>
23516
23517 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
23518 assertion on O_CLOEXEC flag.
23519 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
23520 * hurd/intern-fd.c: Likewise.
23521 * hurd/port2fd.c: Likewise.
23522
bcfe3a54
ST
235232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23524
23525 [BZ #3906]
23526 * bits/in.h (IPV6_PKTINFO): Define new macro.
23527 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
23528
89c9aa49
AZ
235292012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23530
23531 [BZ #13954]
23532 [BZ #13955]
23533 [BZ #13956]
23534 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
23535 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23536 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
23537 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23538 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23539 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23540 * math/libm-test.inc (logb_test) : Additional logb tests.
23541
021db4be
AJ
235422012-05-09 Andreas Schwab <schwab@linux-m68k.org>
23543 Andreas Jaeger <aj@suse.de>
23544
23545 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
23546 * configure: Regenerated.
23547 * config.h.in (LINK_OBSOLETE_RPC): New macro.
23548 * config.make.in (link-obsolete-rpc): New substituted variable.
23549 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
23550 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
23551 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23552 (shared-only-routines): Don't set it under [link-obsolete-rpc],
23553 so that libc.a contains the symbols.
23554 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23555 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
23556 * sunrpc/auth_none.c: Likewise.
23557 * sunrpc/auth_unix.c: Likewise.
23558 * sunrpc/authdes_prot.c: Likewise.
23559 * sunrpc/authuxprot.c: Likewise.
23560 * sunrpc/clnt_gen.c: Likewise.
23561 * sunrpc/clnt_perr.c: Likewise.
23562 * sunrpc/clnt_raw.c: Likewise.
23563 * sunrpc/clnt_simp.c: Likewise.
23564 * sunrpc/clnt_tcp.c: Likewise.
23565 * sunrpc/clnt_udp.c: Likewise.
23566 * sunrpc/clnt_unix.c: Likewise.
23567 * sunrpc/des_crypt.c: Likewise.
23568 * sunrpc/des_soft.c: Likewise.
23569 * sunrpc/get_myaddr.c: Likewise.
23570 * sunrpc/key_call.c: Likewise.
23571 * sunrpc/key_prot.c: Likewise.
23572 * sunrpc/netname.c: Likewise.
23573 * sunrpc/pm_getmaps.c: Likewise.
23574 * sunrpc/pm_getport.c: Likewise.
23575 * sunrpc/pmap_clnt.c: Likewise.
23576 * sunrpc/pmap_prot.c: Likewise.
23577 * sunrpc/pmap_prot2.c: Likewise.
23578 * sunrpc/pmap_rmt.c: Likewise.
23579 * sunrpc/publickey.c: Likewise.
23580 * sunrpc/rpc_cmsg.c: Likewise.
23581 * sunrpc/rpc_common.c: Likewise.
23582 * sunrpc/rpc_dtable.c: Likewise.
23583 * sunrpc/rpc_prot.c: Likewise.
23584 * sunrpc/rpc_thread.c: Likewise.
23585 * sunrpc/rtime.c: Likewise.
23586 * sunrpc/svc.c: Likewise.
23587 * sunrpc/svc_auth.c: Likewise.
23588 * sunrpc/svc_raw.c: Likewise.
23589 * sunrpc/svc_run.c: Likewise.
23590 * sunrpc/svc_tcp.c: Likewise.
23591 * sunrpc/svc_udp.c: Likewise.
23592 * sunrpc/svc_unix.c: Likewise.
23593 * sunrpc/svcauth_des.c: Likewise.
23594 * sunrpc/xcrypt.c: Likewise.
23595 * sunrpc/xdr.c: Likewise.
23596 * sunrpc/xdr_array.c: Likewise.
23597 * sunrpc/xdr_float.c: Likewise.
23598 * sunrpc/xdr_intXX_t.c: Likewise.
23599 * sunrpc/xdr_mem.c: Likewise.
23600 * sunrpc/xdr_rec.c: Likewise.
23601 * sunrpc/xdr_ref.c: Likewise.
23602 * sunrpc/xdr_sizeof.c: Likewise.
23603 * sunrpc/xdr_stdio.c: Likewise.
23604
b5c086a2
RM
236052012-05-10 Roland McGrath <roland@hack.frob.com>
23606
23607 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
23608 change. Update copyright years.
23609
6d74dd09
JM
236102012-05-10 Joseph Myers <joseph@codesourcery.com>
23611
23612 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
23613
28e72501
MK
236142012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
23615 Joseph Myers <joseph@codesourcery.com>
23616 Paul Pluzhnikov <ppluzhnikov@google.com>
23617
23618 [BZ #14012]
23619 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
23620 requiring rpcgen.
23621 [cross-compiling] (extra-libs): Likewise.
23622 [cross-compiling] (extra-libs-others): Likewise.
23623 [cross-compiling] (librpcsvc-routines): Likewise.
23624 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
23625 [cross-compiling] (omit-deps): Likewise.
23626 (sunrpc-CPPFLAGS): New variable.
23627 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
23628 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
23629 (cross-rpcgen-objs): New variable.
23630 (extra-objs): Append $(cross-rpcgen-objs).
23631 ($(cross-rpcgen-objs)): New rule.
23632 ($(objpfx)cross-rpcgen): Likewise.
23633 (rpcgen-cmd): Define to use $(built-program-file). Expand
23634 comment.
23635 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
23636 ($(objpfx)x%.stmp): Likewise.
23637 * sunrpc/proto.h [IS_IN_build] (_): Define.
23638 [IS_IN_build] (_libc_intl_domainname): Likewise.
23639
c8c59454
L
236402012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23641
23642 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
23643 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
23644 and R_X86_64_TPOFF64.
23645
6f27cd16
JM
236462012-05-10 Joseph Myers <joseph@codesourcery.com>
23647
23648 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
23649 sysdeps/unix/sysv/syscalls.list.
23650 (stime): Likewise.
23651 (utime): Likewise.
23652 * sysdeps/unix/sysv/syscalls.list: Remove file.
23653
02467e1c
PE
236542012-05-10 Paul Eggert <eggert@cs.ucla.edu>
23655
23656 [BZ #3440]
23657 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
23658 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
23659 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
23660 (__LC_IDENTIFICATION): Make these macros useful in #if
23661 expressions, as required by C99.
23662
da392631
AS
236632012-05-10 Andreas Schwab <schwab@linux-m68k.org>
23664
23665 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
23666 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
23667 after this.
23668
8115f29b
L
236692012-05-09 H.J. Lu <hongjiu.lu@intel.com>
23670
23671 * stdlib/longlong.h: Updated from GCC.
23672
bdd74070
AJ
236732012-05-09 Andreas Jaeger <aj@suse.de>
23674
edfe0dbe
AJ
23675 * nscd/nscd.c (run_modes): Make named enum, reorder so that
23676 default is first entry.
23677 (run_mode): Set type.
23678 (main): Remove informal message about syslog.
23679 (options): Fix typo.
23680
bcfe3a54
ST
23681 [BZ #14053]
23682 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 23683 to asm.
bcfe3a54
ST
23684 (lrint): Likewise.
23685 (llrintf): Likewise.
23686 (llrint): Likewise.
23687 (rint): Likewise.
23688 (rintf): Likewise.
23689 (nearbyint): Likewise.
23690 (nearbyintf): Likewise.
bdd74070 23691
91d8d69e
AJ
236922012-05-09 Andreas Jaeger <aj@suse.de>
23693 Pedro Alves <palves@redhat.com>
23694
23695 * nscd/nscd.c (run_mode): Use enum.
23696 (main): Cleanup coding style issue.
23697
bb90b80b
AJ
236982012-05-09 Alexandre Oliva <aoliva@redhat.com>
23699 Andreas Jaeger <aj@suse.de>
23700
bcfe3a54
ST
23701 * nscd/nscd.c (go_background): Replaced with...
23702 (run_mode): ... this.
bb90b80b 23703 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
23704 (options): Add -F --foreground.
23705 (main): Implement it.
23706 (parse_opt): Parse it.
bb90b80b 23707
1a4b75a1
AJ
237082012-05-09 Andreas Jaeger <aj@suse.de>
23709
23710 [BZ #14083]
23711 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
23712 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
23713 -Wconversion warning.
23714 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
23715 Likewise.
23716
b1cc2472
JM
237172012-05-09 Joseph Myers <joseph@codesourcery.com>
23718
23719 * conform/data/locale.h-data (NULL): Use macro-constant. Require
23720 == 0.
23721 (LC_ALL): Use macro-int-constant.
23722 (LC_COLLATE): Likewise.
23723 (LC_CTYPE): Likewise.
23724 (LC_MESSAGES): Likewise.
23725 (LC_MONETARY): Likewise.
23726 (LC_NUMERIC): Likewise.
23727 (LC_TIME): Likewise.
23728 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
23729 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23730 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23731 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
23732 Specify type.
23733 [C99-based standards] (float_t): Expect type.
23734 [C99-based standards] (double_t): Expect type.
23735 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
23736 type.
23737 [C99-based standards] (HUGE_VALL): Likewise.
23738 [C99-based standards] (INFINITY): Likewise.
23739 [C99-based standards] (NAN): Likewise.
23740 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
23741 [C99-based standards] (FP_NAN): Likewise.
23742 [C99-based standards] (FP_NORMAL): Likewise.
23743 [C99-based standards] (FP_SUBNORMAL): Likewise.
23744 [C99-based standards] (FP_ZERO): Likewise.
23745 [C99-based standards] (FP_FAST_FMA): Use
23746 optional-macro-int-constant. Specify type. Require == 1.
23747 [C99-based standards] (FP_FAST_FMAF): Likewise.
23748 [C99-based standards] (FP_FAST_FMAL): Likewise.
23749 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
23750 [C99-based standards] (FP_ILOGBNAN): Likewise.
23751 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
23752 Specify type.
23753 [C99-based standards] (MATH_ERREXCEPT): Likewise.
23754 [C99-based standards] (math_errhandling): Specify type.
23755 [ISO99 || ISO11] (signgam): Do not allow.
23756 [non-C99-based standards] (copysignf): Do not allow.
23757 [non-C99-based standards] (exp2f): Likewise.
23758 [non-C99-based standards] (log2f): Likewise.
23759 [non-C99-based standards] (modff): Allow.
23760 [non-C99-based standards] (erff): Do not allow.
23761 [non-C99-based standards] (erfcf): Likewise.
23762 [non-C99-based standards] (gammaf): Likewise.
23763 [non-C99-based standards] (hypotf): Likewise.
23764 [non-C99-based standards] (j0f): Likewise.
23765 [non-C99-based standards] (j1f): Likewise.
23766 [non-C99-based standards] (jnf): Likewise.
23767 [non-C99-based standards] (lgammaf): Likewise.
23768 [non-C99-based standards] (tgammaf): Likewise.
23769 [non-C99-based standards] (y0f): Likewise.
23770 [non-C99-based standards] (y1f): Likewise.
23771 [non-C99-based standards] (ynf): Likewise.
23772 [non-C99-based standards] (isnanf): Likewise.
23773 [non-C99-based standards] (acoshf): Likewise.
23774 [non-C99-based standards] (asinhf): Likewise.
23775 [non-C99-based standards] (atanhf): Likewise.
23776 [non-C99-based standards] (cbrtf): Likewise.
23777 [non-C99-based standards] (expm1f): Likewise.
23778 [non-C99-based standards] (ilogbf): Likewise.
23779 [non-C99-based standards] (log1pf): Likewise.
23780 [non-C99-based standards] (logbf): Likewise.
23781 [non-C99-based standards] (nextafterf): Likewise.
23782 [non-C99-based standards] (remainderf): Likewise.
23783 [non-C99-based standards] (rintf): Likewise.
23784 [non-C99-based standards] (scalbf): Likewise.
23785 [non-C99-based standards] (copysignl): Likewise.
23786 [non-C99-based standards] (exp2l): Likewise.
23787 [non-C99-based standards] (log2l): Likewise.
23788 [non-C99-based standards] (modfl): Allow.
23789 [non-C99-based standards] (erfl): Do not allow.
23790 [non-C99-based standards] (erfcl): Likewise.
23791 [non-C99-based standards] (gammal): Likewise.
23792 [non-C99-based standards] (hypotl): Likewise.
23793 [non-C99-based standards] (j0l): Likewise.
23794 [non-C99-based standards] (j1l): Likewise.
23795 [non-C99-based standards] (jnl): Likewise.
23796 [non-C99-based standards] (lgammal): Likewise.
23797 [non-C99-based standards] (tgammal): Likewise.
23798 [non-C99-based standards] (y0l): Likewise.
23799 [non-C99-based standards] (y1l): Likewise.
23800 [non-C99-based standards] (ynl): Likewise.
23801 [non-C99-based standards] (isnanl): Likewise.
23802 [non-C99-based standards] (acoshl): Likewise.
23803 [non-C99-based standards] (asinhl): Likewise.
23804 [non-C99-based standards] (atanhl): Likewise.
23805 [non-C99-based standards] (cbrtl): Likewise.
23806 [non-C99-based standards] (expm1l): Likewise.
23807 [non-C99-based standards] (ilogbl): Likewise.
23808 [non-C99-based standards] (log1pl): Likewise.
23809 [non-C99-based standards] (logbl): Likewise.
23810 [non-C99-based standards] (nextafterl): Likewise.
23811 [non-C99-based standards] (remainderl): Likewise.
23812 [non-C99-based standards] (rintl): Likewise.
23813 [non-C99-based standards] (scalbl): Likewise.
23814 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23815 [non-C99-based standards] (FP_*): Do not allow.
23816 [C99-based standards] (FP_*): Change to
23817 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23818 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23819 allow.
23820 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
23821 (SIG_ERR): Likewise.
23822 [X/Open-based standards] (SIG_HOLD): Likewise.
23823 (SIG_IGN): Likewise.
23824 (SIGABRT): Use macro-int-constant. Specify type. Require
23825 positive value.
23826 (SIGFPE): Likewise.
23827 (SIGILL): Likewise.
23828 (SIGINT): Likewise.
23829 (SIGSEGV): Likewise.
23830 (SIGTER): Likewise.
23831 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
23832 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
23833 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
23834 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
23835 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
23836 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
23837 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
23838 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
23839 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
23840 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
23841 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
23842 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
23843 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
23844 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
23845 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
23846 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
23847 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
23848 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
23849 [X/Open-based standards] (SIGTRAP): Likewise.
23850 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
23851 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
23852 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
23853 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
23854 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23855 allow.
23856
b9f1922d
IW
238572012-05-08 Ian Wienand <ianw@vmware.com>
23858
23859 [BZ #14080]
23860 * time/tzset.c (__tzset_parse_tz): Update default rules for
23861 daylight time changes in the Energy Policy Act of 2005.
23862
1db86e88
AJ
238632012-05-09 Andreas Jaeger <aj@suse.de>
23864
23865 [BZ #13983]
23866 * elf/ldconfig.c (parse_conf): Change string to make clear that
23867 ldconfig only issued a warning if ld.so.conf does not exist.
23868
dee4a4e3
DM
238692012-05-08 David S. Miller <davem@davemloft.net>
23870
ee0db190
DM
23871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
23872 movxtod instead of popping the value on the stack.
23873
dee4a4e3
DM
23874 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23875
6a43ec98
CD
238762012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
23877
23878 * config.h.in: Add HAVE_ARM_PCS_VFP.
23879
05c2c961
RMG
238802012-05-08 Roland Mc Grath <roland@hack.frob.com>
23881
bcfe3a54
ST
23882 [BZ #13979]
23883 * include/features.h: Warn if user requests __FORTIFY_SOURCE
23884 checking but the checks are disabled for any reason.
05c2c961 23885
4b30f61a
L
238862012-05-08 H.J. Lu <hongjiu.lu@intel.com>
23887
23888 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
23889 and ELF64_R_TYPE with ELFW(R_TYPE).
23890
eee2bc67
JM
238912012-05-08 Joseph Myers <joseph@codesourcery.com>
23892
7ea5391a
JM
23893 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
23894 (ulimit): Likewise.
23895
eee2bc67
JM
23896 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
23897 (settimeofday): Likewise.
23898
abb66a67
MF
238992012-05-08 Mike Frysinger <vapier@gentoo.org>
23900
23901 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
23902 a struct th_u2 inside the union, and move tu_block/tu_code into
23903 a new th_u3 union of tu_block/tu_code inside of that. Move
23904 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
23905 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
23906 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
23907 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
23908 (th_stuff): Change to th_u1.tu_stuff.
23909 (th_data): Define.
23910 (th_msg): Change to th_u1.th_u2.tu_data.
23911
7f18b530
DM
239122012-05-07 David S. Miller <davem@davemloft.net>
23913
05760585
DM
23914 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23915
7f18b530
DM
23916 [BZ #14074]
23917 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
23918 (SETUP_PIC_REG): Use it.
23919 (SETUP_PIC_REG_LEAF): Use it.
23920
495fd99f
JM
239212012-05-07 Joseph Myers <joseph@codesourcery.com>
23922
23923 [BZ #13885]
23924 [BZ #13923]
23925 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23926 USE_AS_EXPM1L.
23927 (EXPL_FINITE): Likewise.
23928 (FLDLOG): Likewise.
23929 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23930 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23931 e_expl.S.
23932 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23933 USE_AS_EXPM1L.
23934 (EXPL_FINITE): Likewise.
23935 (FLDLOG): Likewise.
23936 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23937 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23938 e_expl.S.
23939 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
23940 test of -max_value argument for long double.
23941 * sysdeps/i386/fpu/libm-test-ulps: Update.
23942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23943
6693d694
DM
239442012-05-06 David S. Miller <davem@davemloft.net>
23945
23946 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
23947 quad soft-float symbols whose references which are compiler
23948 generated.
23949 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23950
6c23e11c
JM
239512012-05-06 Joseph Myers <joseph@codesourcery.com>
23952
d8b82cad
JM
23953 [BZ #13884]
23954 [BZ #13914]
23955 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23956 USE_AS_EXP10L.
23957 (EXPL_FINITE): Likewise.
23958 (FLDLOG): Likewise.
23959 (c0): Likewise.
23960 (c1): Likewise.
23961 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
23962 Adjust comments for base varying.
23963 (__expl_finite): Change alias to EXPL_FINITE.
23964 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
23965 e_expl.S.
23966 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
23967 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
23968 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23969 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
23970 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23971 USE_AS_EXP10L.
23972 (EXPL_FINITE): Likewise.
23973 (FLDLOG): Likewise.
23974 (c0): Likewise.
23975 (c1): Likewise.
23976 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
23977 Adjust comments for base varying.
23978 (__expl_finite): Change alias to EXPL_FINITE.
23979 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
23980 tests for bugs.
23981 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23982
6c23e11c
JM
23983 [BZ #14064]
23984 * math/libm-test.inc (check_float_internal): Correct ulp
23985 calculation for subnormal expected results.
23986
29ba805c
AJ
239872012-05-06 Andreas Jaeger <aj@suse.de>
23988
23989 * Makeconfig (+math-flags): New, set to -frounding-math.
23990 (+cflags): Add +math-flags so that all of glibc gets compiled with
23991 it.
23992
23993 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
23994
7b17aeda
JM
239952012-05-05 Joseph Myers <joseph@codesourcery.com>
23996
5779f134
JM
23997 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
23998 Disable one test.
23999
41498f4d
JM
24000 [BZ #13787]
24001 [BZ #13922]
24002 [BZ #14036]
24003 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
24004 (__ieee754_expl): Allow for and saturate large arguments.
24005 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
24006 (u_threshold): Likewise.
24007 (__exp): Call __ieee754_exp before checking for overflow and
24008 underflow.
24009 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
24010 (u_threshold): Likewise.
24011 (__expf): Call __ieee754_expf before checking for overflow and
24012 underflow.
24013 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
24014 (u_threshold): Likewise.
24015 (__expl): Call __ieee754_expl before checking for overflow and
24016 underflow.
24017 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
24018 (__ieee754_expl): Allow for and saturate large arguments.
24019 * math/libm-test.inc (exp_test): Add another test. Do not allow
24020 missing overflow exception on overflow.
24021 (expm1_test): Do not allow missing overflow exception on overflow.
24022
6698b8bf
JM
24023 * sysdeps/i386/fpu/e_expl.c: Move to ...
24024 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
24025 rather than using inline asm.
24026 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
24027 * sysdeps/x86_64/fpu/e_expl.S: Copy from
24028 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
24029
7b17aeda
JM
24030 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
24031 (nice): Likewise.
24032 (poll): Likewise.
24033 (signal): Likewise.
24034 (time): Likewise.
24035 (times): Likewise.
24036
f7c85819
JM
240372012-05-04 Joseph Myers <joseph@codesourcery.com>
24038
24039 * sysdeps/unix/syscalls.list (adjtime): Add entry from
24040 sysdeps/unix/common/syscalls.list.
24041 (fchmod): Likewise.
24042 (fchown): Likewise.
24043 (ftruncate): Likewise.
24044 (getrusage): Likewise.
24045 (gettimeofday): Likewise.
24046 (setpgid): Likewise.
24047 (setregid): Likewise.
24048 (setreuid): Likewise.
24049 (sigaction): Likewise.
24050 (truncate): Likewise.
24051 (vhangup): Likewise.
24052 * sysdeps/unix/common/syscalls.list: Remove file.
24053 * sysdeps/unix/bsd/Implies: Don't include unix/common.
24054 * sysdeps/unix/sysv/linux/Implies: Likewise.
24055
336270d0
L
240562012-05-04 H.J. Lu <hongjiu.lu@intel.com>
24057
24058 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
24059 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
24060 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
24061 Moved to ...
24062 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
24063 Here.
24064 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
24065 to ...
24066 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
24067 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
24068 to ...
24069 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
24070 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
24071 to ...
24072 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
24073 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
24074 to ...
24075 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
24076 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
24077 to ...
24078 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
24079 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
24080 to ...
24081 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
24082 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
24083 to ...
24084 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24085 Here.
24086 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
24087 to ...
24088 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
24089 Here.
24090 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
24091 to ...
24092 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
24093 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
24094 Moved to ...
24095 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
24096 Here.
24097 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
24098 to ...
24099 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
24100
d128e450
JM
241012012-05-04 Joseph Myers <joseph@codesourcery.com>
24102
fa8ee516
JM
24103 * sysdeps/unix/common/bits/dirent.h: Remove file.
24104 * sysdeps/unix/common/bits/fcntl.h: Likewise.
24105
d128e450
JM
24106 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
24107 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
24108 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
24109 * sysdeps/unix/bsd/isatty.c: Likewise.
24110 * sysdeps/unix/bsd/tcdrain.c: Likewise.
24111 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
24112 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
24113
ff8faaf0 241142012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 24115
62881be4 24116 [BZ #13563]
31dc8730
AZ
24117 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
24118 long double comparison inaccuracies.
24119 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24120 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24121
6fef930c
AS
241222012-05-04 Andreas Schwab <schwab@linux-m68k.org>
24123
24124 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
24125 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
24126
8f203e6c
JM
241272012-05-04 Joseph Myers <joseph@codesourcery.com>
24128
24129 [BZ #14049]
24130 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
24131 nonzero digits before rounding a hex value.
24132 * stdlib/tst-strtod.c (tests): Add another test.
24133
5197d9c2
AK
241342012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24135
24136 * sysdeps/s390/fpu/libm-test-ulps: Update.
24137
f0c1dedf
AJ
241382012-05-03 Andreas Jaeger <aj@suse.de>
24139
24140 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
24141 does not get optimized out.
24142 (malloc_opt_barrier): New.
24143
a65ef2ae 241442012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 24145 Roland McGrath <roland@hack.frob.com>
a65ef2ae 24146
2b942cb7 24147 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 24148 intermediate file deletion.
2b942cb7 24149 (generated): Add .symlist files.
a65ef2ae 24150
54b71e02
JM
241512012-05-03 Joseph Myers <joseph@codesourcery.com>
24152
24153 [BZ #13775]
24154 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
24155 Redirect under this condition.
24156 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24157 [__USE_GNU] (__dprintf_chk): Not under this condition.
24158 [__USE_GNU] (__vdprintf_chk): Likewise.
24159 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
24160 under this condition.
24161 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24162 [__USE_XOPEN2K8] (dprintf): Define under this condition.
24163 [__USE_XOPEN2K8] (vdprintf): Likewise.
24164 [__USE_GNU] (__dprintf_chk): Not under this condition.
24165 [__USE_GNU] (__vdprintf_chk): Likewise.
24166 [__USE_GNU] (dprintf): Likewise.
24167 [__USE_GNU] (vdprintf): Likewise.
24168
d3dfcc41
RM
241692012-05-03 Roland McGrath <roland@hack.frob.com>
24170
24171 * elf/Makefile (common-generated): Set this instead of generated for
24172 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
24173 $(all-built-dso)-derived lists.
24174
7ac30cc5
AJ
241752012-05-03 Andreas Jaeger <aj@suse.de>
24176
0c51e550
AJ
24177 * sysdeps/i386/fpu/libm-test-ulps: Update.
24178
7ac30cc5
AJ
24179 * FAQ: Removed.
24180 * FAQ.in: Likewise.
24181 * scripts/gen-FAQ.pl: Likewise.
24182 * manual/install.texi (Installation): Point to online location of
24183 FAQ.
24184 * Makefile (files-for-dist): Remove FAQ.
24185 (FAQ): Remove.
24186
d4c2917f
AM
241872012-05-02 Allan McRae <allan@archlinux.org>
24188
24189 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
24190 (LDFLAGS-reldepmod5.so): Likewise.
24191 (LDFLAGS-reldep6mod1.so): Likewise.
24192 (LDFLAGS-reldep6mod4.so): Likewise.
24193 (LDFLAGS-reldep8mod3.so): Likewise.
24194 (LDFLAGS-unload4mod1.so): Likewise.
24195 (LDFLAGS-unload4mod2.so): Likewise.
24196 (LDFLAGS-tst-initorder): Likewise.
24197 (LDFLAGS-tst-initordera2.so): Likewise.
24198 (LDFLAGS-tst-initordera3.so): Likewise.
24199 (LDFLAGS-tst-initordera4.so): Likewise.
24200 (LDFLAGS-tst-initorderb2.so): Likewise.
24201 (LDFLAGS-noload): Likewise.
24202 (LDFLAGS-next): Likewise.
24203 (LDFLAGS-order2mod1.so): Likewise.
24204 (LDFLAGS-order2mod2.so): Likewise.
24205 (LDFLAGS-tst-initorder2): Likewise.
24206 (LDFLAGS-tst-initorder2a.so): Likewise.
24207 (LDFLAGS-tst-initorder2b.so): Likewise.
24208 (LDFLAGS-tst-initorder2c.so): Likewise.
24209 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
24210
d77f993f
DM
242112012-05-02 David S. Miller <davem@davemloft.net>
24212
24213 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24214
171a70b4
PP
242152012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
24216
24217 [BZ #14055]
24218 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
24219
0be196ad
AJ
242202012-05-02 Andreas Jaeger <aj@suse.de>
24221
24222 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
24223 since we manipulate rounding mode.
24224 (CPPFLAGS-test-idouble.c): Likewise.
24225 (CPPFLAGS-test-ifloat.c): Likewise.
24226 (CFLAGS-test-ldouble.c): Likewise.
24227 (CFLAGS-test-double.c): Likewise.
24228 (CFLAGS-test-float.c): Likewise.
24229 (CFLAGS-test-misc.c): Likewise.
24230 (CFLAGS-test-test-fenv.c): Likewise.
24231
4f9d04aa
AZ
242322012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24233
2b942cb7
RM
24234 [BZ #2550]
24235 [BZ #2570]
24236 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
24237 comparisons to determine direction to adjust input.
4f9d04aa 24238
82a79e7d
RM
242392012-05-01 Roland McGrath <roland@hack.frob.com>
24240
f5a01ca9
RM
24241 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
24242 output to the target.
24243
90fe4186
RM
24244 * scripts/localplt.awk: New file.
24245 * elf/Makefile ($(objpfx)check-localplt): Target removed.
24246 (check-localplt-CFLAGS): Variable removed.
24247 ($(all-built-dso:=.jmprel)): New static pattern rule.
24248 (generated): Add those targets.
24249 (localplt-built-dso): New variable.
24250 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
24251
24252 * elf/check-localplt.c: File removed.
24253
82397ed6
RM
24254 * scripts/check-execstack.awk: New file.
24255 * elf/Makefile ($(objpfx)check-execstack): Target removed.
24256 (check-execstack-CFLAGS): Variable removed.
24257 ($(objpfx)check-execstack.h): Target removed.
24258 ($(objpfx)execstack-default): New target.
24259 (generated): Add that instead of check-execstack.h.
24260 ($(all-built-dso:=.phdr)): New static pattern rule.
24261 (generated): Add those targets.
24262 * elf/check-execstack.c: File removed.
24263
82a79e7d
RM
24264 * scripts/check-textrel.awk: New file.
24265 * elf/Makefile ($(objpfx)check-textrel): Target removed.
24266 (check-textrel-CFLAGS): Variable removed.
24267 (all-built-dso): Use := to define.o
24268 ($(all-built-dso:=.dyn)): New static pattern rule.
24269 (generated): Add those targets.
24270 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
24271 * config.make.in (READELF): New substituted variable.
24272 * elf/check-textrel.c: File removed.
24273
62fde54f 242742012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 24275
615605c9
JM
24276 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24277 allow.
24278 * conform/data/ctype.h-data [C99-based standards] (isblank):
24279 Expect function.
24280 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
24281 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
24282 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24283 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
24284 Specify type. Require positive value.
24285 (EILSEQ): Likewise.
24286 (ERANGE): Likewise.
24287 [ISO || POSIX] (EILSEQ): Do not expect.
24288 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
24289 Specify type. Require positive value.
24290 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
24291 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
24292 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
24293 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
24294 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
24295 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
24296 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
24297 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
24298 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
24299 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
24300 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
24301 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
24302 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
24303 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
24304 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
24305 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
24306 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
24307 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
24308 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
24309 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
24310 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
24311 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
24312 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
24313 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
24314 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
24315 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
24316 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
24317 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
24318 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
24319 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
24320 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
24321 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
24322 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
24323 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
24324 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
24325 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
24326 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
24327 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
24328 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
24329 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
24330 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
24331 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
24332 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
24333 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
24334 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
24335 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
24336 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
24337 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
24338 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
24339 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
24340 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
24341 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
24342 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
24343 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
24344 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
24345 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
24346 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
24347 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
24348 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
24349 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
24350 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
24351 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
24352 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
24353 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
24354 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
24355 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
24356 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
24357 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
24358 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
24359 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
24360 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
24361 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
24362 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
24363 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
24364 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
24365 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
24366 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
24367 Require >= 2.
24368 (FLT_ROUNDS): Expect as macro, not constant.
24369 (FLT_MANT_DIG): Use macro-int-constant.
24370 (DBL_MANT_DIG): Likewise.
24371 (LDBL_MANT_DIG): Likewise.
24372 (FLT_DIG): Likewise.
24373 (DBL_DIG): Likewise.
24374 (LDBL_DIG): Likewise.
24375 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
24376 (DBL_MIN_EXP): Likewise.
24377 (LDBL_MIN_EXP): Likewise.
24378 (FLT_MAX_EXP): Use macro-int-constant.
24379 (DBL_MAX_EXP): Likewise.
24380 (LDBL_MAX_EXP): Likewise.
24381 (FLT_MAX_10_EXP): Likewise.
24382 (DBL_MAX_10_EXP): Likewise.
24383 (LDBL_MAX_10_EXP): Likewise.
24384 (FLT_MAX): Use macro-constant.
24385 (DBL_MAX): Likewise.
24386 (LDBL_MAX): Likewise.
24387 (FLT_EPSILON): Use macro-constant. Give upper bound.
24388 (DBL_EPSILON): Likewise.
24389 (LDBL_EPSILON): Likewise.
24390 (FLT_MIN): Likewise.
24391 (DBL_MIN): Likewise.
24392 (LDBL_MIN): Likewise.
24393 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
24394 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
24395 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
24396 [ISO11] (FLT_HAS_SUBNORM): Likewise.
24397 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
24398 [ISO11] (DBL_DECIMAL_DIG): Likewise.
24399 [ISO11] (FLT_DECIMAL_DIG): Likewise.
24400 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
24401 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
24402 [ISO11] (FLT_TRUE_MIN): Likewise.
24403 [ISO11] (LDBL_TRUE_MIN): Likewise.
24404 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24405 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
24406 (SCHAR_MIN): Use macro-int-constant. Specify type.
24407 (SCHAR_MAX): Likewise.
24408 (UCHAR_MAX): Likewise.
24409 (CHAR_MIN): Likewise.
24410 (CHAR_MAX): Likewise.
24411 (MB_LEN_MAX): Use macro-int-constant.
24412 (SHRT_MIN): Use macro-int-constant. Specify type.
24413 (SHRT_MAX): Likewise.
24414 (USHRT_MAX): Likewise.
24415 (INT_MAX): Likewise.
24416 (INT_MIN): Use macro-int-constant. Specify type. Make upper
24417 bound negative.
24418 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
24419 bound with "U".
24420 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
24421 bound with "L".
24422 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
24423 bound negative. Suffix upper bound with "L".
24424 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
24425 bound with "UL".
24426 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
24427 Specify type.
24428 [C99-based standards] (LLONG_MAX): Likewise.
24429 [C99-based standards] (ULLONG_MAX): Likewise.
24430 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
24431 == 0.
24432 [ISO11] (max_align_t): Require type.
24433 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24434
c9140a62
JM
24435 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
24436 from $CFLAGS, without defining away __attribute__ calls.
24437 (checknamespace): Use $CFLAGS_namespace.
24438
9af0bf29
JM
24439 * conform/conformtest.pl (@keywords): Only include C99 keywords
24440 for standards based on C99 or C11.
24441
343222a2
JM
24442 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
24443 Disable tests.
24444 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
24445 UNIX98]: Likewise.
24446
661f8cf0
JM
24447 * conform/conformtest.pl: Handle "macro-int-constant" and test for
24448 usability of symbols in #if.
24449
ee74b9cb
JM
24450 * conform/conformtest.pl: If macro or constant types start
24451 "promoted:", expect the symbol to be of the following type
24452 promoted by the integer promotions.
62fde54f 24453
aafc49b3
JM
24454 * conform/conformtest.pl: Parse all "constant" and "macro" lines
24455 in one place. Also handle "macro-constant".
24456
fefdf574
JM
24457 * conform/conformtest.pl: Only accept expected macro values with
24458 "==". Parse all "macro" lines in one place.
24459 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
24460
f2d922fe
JM
24461 * conform/conformtest.pl: Handle braced types on "constant" lines
24462 instead of handling "typed-constant".
24463 * conform/data/signal.h-data: Use "constant" instead of
24464 "typed-constant".
24465
d22956c9
JM
24466 * conform/conformtest.pl: Handle "optional-" at start of lines in
24467 one place rather than duplicating several cases. Handle each
24468 format of "macro" line with initial "optional-".
24469
028e2e38
JM
24470 * conform/conformtest.pl: Only accept expected constant or
24471 optional-constant values with "==". Parse all "constant" lines in
24472 one place. Parse all "optional-constant" lines in one place.
24473 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
24474 * conform/data/fmtmsg.h-data: Likewise.
24475 * conform/data/netinet/in.h-data: Likewise.
24476 * conform/data/tar.h-data: Likewise.
24477 * conform/data/limits.h-data: Use "==" form on "constant" and
24478 "optional-constant" lines.
24479
1b8f2850
JM
24480 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
24481 Use -std=c99 for XOPEN2K.
24482 (@knownproblems): Remove.
24483 (newtoken): Don't check %isknown.
24484
a05a144b
JM
24485 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
24486 Do not expect macro.
24487 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
24488 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
24489 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
24490 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
24491 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
24492 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
24493 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
24494 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
24495 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
24496 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
24497 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
24498 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
24499 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
24500 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
24501 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
24502 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
24503 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
24504 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
24505 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
24506 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
24507 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
24508 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
24509 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
24510 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
24511 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
24512 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
24513 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
24514 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
24515 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
24516 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
24517 [XPG3] (acosh): Likewise.
24518 [XPG3] (asinh): Likewise.
24519 [XPG3] (atanh): Likewise.
24520 [XPG3] (cbrt): Likewise.
24521 [XPG3] (expm1): Likewise.
24522 [XPG3] (ilogb): Likewise.
24523 [XPG3] (log1p): Likewise.
24524 [XPG3] (logb): Likewise.
24525 [XPG3] (nextafter): Likewise.
24526 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
24527 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
24528 [XPG3] (remainder): Likewise.
24529 [XPG3] (rint): Likewise.
24530 [XPG3 || XPG4 || UNIX98] (round): Likewise.
24531 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
24532 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
24533 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
24534 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
24535 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
24536 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
24537 [UNIX98 || XOPEN2K] (scalb): Expect.
24538 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
24539 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
24540 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
24541 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
24542 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
24543 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
24544 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
24545 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
24546 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
24547 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
24548 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
24549 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
24550 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
24551 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
24552 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
24553 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
24554 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
24555 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
24556 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
24557 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
24558 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
24559 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
24560 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
24561 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
24562 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
24563 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
24564 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
24565 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
24566 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
24567 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
24568 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
24569 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
24570 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
24571 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
24572 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
24573 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
24574 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
24575 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
24576 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
24577 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
24578 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
24579 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
24580 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
24581 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
24582 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
24583 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
24584 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
24585 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
24586 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
24587 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
24588 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
24589 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
24590 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
24591 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
24592 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
24593 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
24594 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
24595 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
24596 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
24597 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
24598 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
24599 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
24600 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
24601 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
24602 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
24603 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
24604 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
24605 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
24606 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
24607 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
24608 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
24609 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
24610 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
24611 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
24612 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
24613 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
24614 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
24615 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
24616 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
24617 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
24618 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
24619 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
24620 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
24621 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
24622 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
24623 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
24624 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
24625 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
24626 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
24627 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
24628 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
24629 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
24630 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
24631 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
24632 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
24633 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
24634 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
24635 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
24636 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
24637 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
24638 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
24639 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
24640 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
24641 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
24642 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
24643 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
24644 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
24645 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
24646 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
24647 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
24648 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
24649 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
24650 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
24651 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
24652 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
24653 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
24654 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
24655 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
24656 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
24657 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
24658 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
24659 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
24660 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
24661 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
24662 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
24663 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
24664 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
24665 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
24666 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
24667 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
24668 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
24669 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
24670 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
24671 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
24672 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
24673 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
24674 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
24675
73c5ebe3
JM
24676 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
24677 _XOPEN_SOURCE_EXTENDED for XPG4.
24678
39c33b6c
JM
24679 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
24680
62fde54f
JM
24681 * Makeconfig (localtime): Remove variable.
24682 (inst_localtime-file): Likewise.
24683
0741d64c
AS
246842012-05-01 Andreas Schwab <schwab@linux-m68k.org>
24685
24686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
24687 Update.
24688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24689 Update.
24690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
24691 Update.
24692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24693 Update.
24694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
24695 Update.
24696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
24697 Update.
24698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24699 Update.
24700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
24701 Update.
24702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24703 Update.
24704
7cb029ee
JM
247052012-05-01 Joseph Myers <joseph@codesourcery.com>
24706
24707 [BZ #2550]
24708 [BZ #2570]
24709 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
24710 comparisons to determine direction to adjust input.
24711 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
24712 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
24713 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
24714 Likewise.
24715 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
24716 Likewise.
24717 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24718 Likewise.
24719 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
24720 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
24721 Likewise.
24722 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
24723 Likewise.
24724 * math/libm-test.inc (nexttoward_test): Add more tests.
24725
412bd966
AS
247262012-05-01 Andreas Schwab <schwab@linux-m68k.org>
24727
24728 [BZ #14040]
24729 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
24730 in version GLIBC_2.1, not GLIBC_2.0.
24731 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
24732 Likewise.
24733
9568c0c2
JM
247342012-04-30 Joseph Myers <joseph@codesourcery.com>
24735
adfbc8ac
JM
24736 [BZ #13942]
24737 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
24738 (1 - x) * (1 + x).
24739 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24740 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
24741 * math/libm-test.inc (acos_test): Add more tests.
24742 (asin_test): Likewise.
24743 * sysdeps/i386/fpu/libm-test-ulps: Update.
24744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24745
5ba3cc69
JM
24746 [BZ #14034]
24747 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
24748 of square root.
24749 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
24750 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24751 * math/libm-test.inc (acos_test_tonearest): New function.
24752 (acos_test_towardzero): Likewise.
24753 (acos_test_downward): Likewise.
24754 (acos_test_upward): Likewise.
24755 (asin_test_tonearest): Likewise.
24756 (asin_test_towardzero): Likewise.
24757 (asin_test_downward): Likewise.
24758 (asin_test_upward): Likewise.
24759 (main): Call the new functions.
24760 * sysdeps/i386/fpu/libm-test-ulps: Update.
24761 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24762
9568c0c2
JM
24763 [BZ #13884]
24764 [BZ #13924]
24765 * math/e_exp10.c: Include <float.h>.
24766 (__ieee754_exp10): Handle underflow here rather than multiplying
24767 large negative argument by M_LN10.
24768 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
24769 of __ieee754_expf.
24770 * math/e_exp10l.c: Include <float.h>.
24771 (__ieee754_exp10l): Handle underflow here rather than multiplying
24772 large negative argument by M_LN10l.
24773 * math/libm-test.inc (exp10_test): Add another test. Do not allow
24774 spurious overflow exception on underflow.
24775
5ac3ea17
MP
247762012-04-29 Marek Polacek <polacek@redhat.com>
24777
24778 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
24779 (__fortify_function): New macro.
24780 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
24781 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
24782 __extern_always_inline.
24783 * libio/bits/stdio2.h: Likewise.
24784 * libio/bits/stdio.h: Likewise.
24785 * string/string.h: Likewise.
24786 * string/bits/string3.h: Likewise.
24787 * include/stdio.h: Likewise.
24788 * stdlib/bits/stdlib.h: Likewise.
24789 * stdlib/stdlib.h: Likewise.
24790 * rt/bits/mqueue2.h: Likewise.
24791 * rt/mqueue.h: Likewise.
24792 * posix/bits/unistd.h: Likewise.
24793 * posix/unistd.h: Likewise.
24794 * io/bits/poll2.h: Likewise.
24795 * io/bits/fcntl2.h: Likewise.
24796 * io/fcntl.h: Likewise.
24797 * io/sys/poll.h: Likewise.
24798 * misc/bits/syslog.h: Likewise.
24799 * misc/bits/syslog-ldbl.h: Likewise.
24800 * misc/sys/syslog.h: Likewise.
24801 * socket/bits/socket2.h: Likewise.
24802 * socket/sys/socket.h: Likewise.
24803 * debug/tst-chk1.c: Likewise.
24804 * wcsmbs/bits/wchar2.h: Likewise.
24805 * wcsmbs/bits/wchar-ldbl.h: Likewise.
24806 * wcsmbs/wchar.h: Likewise.
24807
ecf0ebfb
AJ
248082012-04-29 Andreas Jaeger <aj@suse.de>
24809
24810 * Makerules (tests): Remove enable-check-abi protection.
24811 (check-abi-warn): Remove.
24812 (check-abi-%): Remove check-abi-warn usage.
24813
24814 * configure.in: Remove check-abi configure option.
24815 * configure: Regenerated.
24816 * config.make.in (enable-check-abi): Remove.
24817
6d5c57fa
AS
248182012-04-28 Andreas Schwab <schwab@linux-m68k.org>
24819
24c5d07e 24820 [BZ #14033]
ded5180a
AS
24821 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
24822 double functions to double *_finite functions.
24823
7e0d315d
AS
24824 [BZ #13941]
24825 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
24826 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
24827 LDBL_MIN_EXP.
24828 * stdio-common/Makefile (tests): Add tst-sprintf3.
24829 * stdio-common/tst-sprintf3.c: New file.
24830
6d5c57fa
AS
24831 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
24832 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
24833
0749ff8b
JM
248342012-04-28 Joseph Myers <joseph@codesourcery.com>
24835
24836 * conform/conformtest.pl: Remove duplicate typed-constant
24837 handling.
24838
8dbd5d7b
DM
248392012-04-28 David S. Miller <davem@davemloft.net>
24840
24841 * Makerules (%.abilist): Add vpath on sysdep_dirs.
24842 (check-abi-%): Remove AWK script prerequisite and explicit
24843 abilist directory.
24844 (check-abi): Rewrite to just diff the symlist with the abilist.
24845 (config-tls, config-abi-config): Delete, no longer used.
24846 (update-abi-%): Remove AWK script and explicit abilist directory.
24847 (update-abi): Rewrite to simply compare and conditionally copy the
24848 symlist and the sysdep abilist file. Remove update-abi-config
24849 checks.
24850 * abilist/ld.abilist: Remove.
24851 * abilist/libBrokenLocale.abilist: Remove.
24852 * abilist/libanl.abilist: Remove.
24853 * abilist/libcrypt.abilist: Remove.
24854 * abilist/libdl.abilist: Remove.
24855 * abilist/librt.abilist: Remove.
24856 * abilist/libthread_db.abilist: Remove.
24857 * abilist/libutil.abilist: Remove.
24858 * scripts/extract-abilist.awk: Remove.
24859 * scripts/merge-abilist.awk: Remove.
24860 * sysdeps/generic/libcidn.abilist: New file.
24861 * sysdeps/generic/libnss_compat.abilist: New file.
24862 * sysdeps/generic/libnss_db.abilist: New file.
24863 * sysdeps/generic/libnss_dns.abilist: New file.
24864 * sysdeps/generic/libnss_files.abilist: New file.
24865 * sysdeps/generic/libnss_hesiod.abilist: New file.
24866 * sysdeps/generic/libnss_nis.abilist: New file.
24867 * sysdeps/generic/libnss_nisplus.abilist: New file.
24868 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
24869 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
24870 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
24871 file.
24872 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
24873 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
24874 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
24875 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
24876 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
24877 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
24878 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
24879 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
24880 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
24881 file.
24882 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
24883 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
24884 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
24885 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
24886 file.
24887 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
24888 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
24889 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
24890 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
24891 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
24892 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
24893 file.
24894 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
24895 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
24896 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
24897 file.
24898 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
24899 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
24900 New file.
24901 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
24902 New file.
24903 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
24904 New file.
24905 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
24906 New file.
24907 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
24908 New file.
24909 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
24910 New file.
24911 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
24912 New file.
24913 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
24914 New file.
24915 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
24916 New file.
24917 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
24918 New file.
24919 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
24920 New file.
24921 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
24922 New file.
24923 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
24924 New file.
24925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
24926 file.
24927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
24928 New file.
24929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
24930 New file.
24931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
24932 file.
24933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
24934 New file.
24935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
24936 New file.
24937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
24938 file.
24939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
24940 New file.
24941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24942 New file.
24943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
24944 New file.
24945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
24946 New file.
24947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
24948 New file.
24949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
24950 New file.
24951 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
24952 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
24953 file.
24954 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
24955 New file.
24956 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
24957 file.
24958 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
24959 file.
24960 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
24961 file.
24962 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
24963 file.
24964 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
24965 file.
24966 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24967 New file.
24968 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
24969 file.
24970 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
24971 file.
24972 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
24973 New file.
24974 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
24975 file.
24976 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
24977 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
24978 file.
24979 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
24980 New file.
24981 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
24982 file.
24983 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
24984 file.
24985 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
24986 file.
24987 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
24988 file.
24989 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
24990 file.
24991 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24992 New file.
24993 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
24994 file.
24995 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
24996 file.
24997 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
24998 New file.
24999 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
25000 file.
25001 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25002 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
25003 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
25004 file.
25005 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
25006 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
25007 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
25008 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
25009 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
25010 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
25011 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
25012 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
25013 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
25014 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
25015 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
25016 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
25017 file.
25018 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
25019 New file.
25020 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
25021 file.
25022 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
25023 file.
25024 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
25025 file.
25026 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
25027 file.
25028 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
25029 file.
25030 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25031 New file.
25032 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
25033 New file.
25034 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
25035 file.
25036 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
25037 New file.
25038 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
25039 file.
25040 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
25041 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
25042 file.
25043 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
25044 New file.
25045 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
25046 file.
25047 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
25048 file.
25049 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
25050 file.
25051 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
25052 file.
25053 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
25054 file.
25055 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25056 New file.
25057 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
25058 New file.
25059 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
25060 file.
25061 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
25062 New file.
25063 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
25064 file.
25065
41d73a1b
JM
250662012-04-28 Joseph Myers <joseph@codesourcery.com>
25067
25068 * conform/conformtest.pl: Fix typo in handling typed-constant from
25069 allow-header.
25070
28aeeda4
JM
250712012-04-27 Joseph Myers <joseph@codesourcery.com>
25072
adae8f5e
JM
25073 * README: Cut down references to pre-2.6 Linux kernels and
25074 Linuxthreads. Update lists of configurations in libc and ports
25075 and sort alphabetically. Say "or newer" with Linux kernel version
25076 requirements.
25077
28aeeda4
JM
25078 * config.h.in [IS_IN_build]: Allow compiling without optimization.
25079
a462cb63
RA
250802012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25081
25082 [BZ #887]
25083 * math/libm-test.inc (logb_test_downward): New test to expose
25084 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
25085 rounding mode.
25086
6ad3493e
JM
250872012-04-27 Joseph Myers <joseph@codesourcery.com>
25088
25089 [BZ #14027]
25090 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
25091 to be done.
25092 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
25093 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
25094
2ce4f015
JM
250952012-04-26 Joseph Myers <joseph@codesourcery.com>
25096
5aeb141a
JM
25097 * sysdeps/unix/i386/brk.S: Remove file.
25098 * sysdeps/unix/i386/dl-brk.S: Likewise.
25099 * sysdeps/unix/i386/pipe.S: Likewise.
25100 * sysdeps/unix/i386/sigreturn.S: Likewise.
25101 * sysdeps/unix/i386/syscall.S: Likewise.
25102 * sysdeps/unix/i386/vfork.S: Likewise.
25103 * sysdeps/unix/i386/wait.S: Likewise.
25104
7143acae
JM
25105 * sysdeps/unix/common/tcsendbrk.c: Move to ...
25106 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
25107
2ce4f015
JM
25108 * configure.in (arm*-none*): Do not allow without
25109 --enable-hacker-mode.
25110 (netbsd*): Remove case setting base_os.
25111 (386bsd*): Likewise.
25112 (freebsd*): Likewise.
25113 (bsdi*): Likewise.
25114 (osf*): Likewise.
25115 (sunos*): Likewise.
25116 (ultrix*): Likewise.
25117 (newsos*): Likewise.
25118 (dynix*): Likewise.
25119 (*bsd*): Likewise.
25120 (sysv*): Likewise.
25121 (isc*): Likewise.
25122 (esix*): Likewise.
25123 (sco*): Likewise.
25124 (minix*): Likewise.
25125 (irix4*): Likewise.
25126 (irix6*): Likewise.
25127 (solaris[2-9]*): Likewise.
25128 (none): Likewise.
25129 * configure: Regenerated.
25130
0ac229c8
AZ
251312012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25132
25133 [BZ #11521]
25134 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
25135 overflow or cancellation in calculating denominator.
25136 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
25137 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
25138 down expression to avoid unexpected rounding in newer GCCs.
25139 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
25140
33f244f4
DM
251412012-04-26 David S. Miller <davem@davemloft.net>
25142
25143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
25144 long-double compat symbols.
25145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
25149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25150 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
25151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
25152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
25153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
25154 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
25155 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
25156 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
25157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25158
cfa1f3e8
DM
251592012-04-25 David S. Miller <davem@davemloft.net>
25160
25161 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
25162 HWCAP_* values only after the memory barriers have been defined.
25163 (atomic_full_barrier): Define.
25164 (atomic_read_barrier): Define.
25165 (atomic_write_barrier): Define.
25166
6e236b92
SP
251672012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25168
25169 * shlib-versions: Add libgcc_s version information.
25170 * sysdeps/generic/libgcc_s.h: Remove.
25171 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
25172 libgcc_s.h.
25173 * sysdeps/gnu/unwind-resume.c: Likewise.
25174 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
25175
aab39a09
DM
251762012-04-25 David S. Miller <davem@davemloft.net>
25177
25178 * sysdeps/unix/sparc/brk.S: Delete.
25179 * sysdeps/unix/sparc/dl-brk.S: Delete.
25180 * sysdeps/unix/sparc/pipe.S: Delete.
25181 * sysdeps/unix/sparc/sysdep.S: Delete.
25182 * sysdeps/unix/sparc/sysdep.h: Delete.
25183 * sysdeps/unix/sparc/vfork.S: Delete.
25184 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
25185 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
25186 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
25187 ret_ERRVAL, r0, r1, MOVE): Define.
25188 (JUMPTARGET): Remove.
25189 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
25190 sysdeps/unix/sparc/sysdep.h
25191 (ENTRY, END): Remove.
25192 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25193
a3cc4f48
JM
251942012-04-25 Joseph Myers <joseph@codesourcery.com>
25195
2ed8cda2
JM
25196 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
25197 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
25198 -DIS_IN_build.
25199
35d76d59
JM
25200 * timezone/README: Update upstream location and email address for
25201 tzcode and tzdata.
25202 * timezone/zdump.c: Update from tzcode 2012b.
25203 * timezone/zic.c: Likewise.
25204
a3cc4f48
JM
25205 * configure.in (libc_cv_as_needed): Remove test.
25206 * configure: Regenerated.
25207 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
25208 conditional definition.
25209 [$(have-as-needed) != yes] (no-as-needed): Likewise.
25210 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
25211 * config.make.in (have-as-needed): Remove variable.
25212
ceab42c3
SP
252132012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25214 Paul Pluzhnikov <ppluzhnikov@google.com>
25215
25216 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
25217 strings correctly.
25218
3ce2865f
CLT
252192012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
25220
25221 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
25222 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
25223 * sysdeps/sh/strlen.S: Likewise.
25224
f37e0d68
JM
252252012-04-24 Joseph Myers <joseph@codesourcery.com>
25226
ae186e9a
JM
25227 * sysdeps/unix/fork.S: Remove file.
25228 * sysdeps/unix/i386/fork.S: Likewise.
25229 * sysdeps/unix/sparc/fork.S: Likewise.
25230
b96914af
JM
25231 * sysdeps/unix/system.c: Remove file.
25232 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
25233
f37e0d68
JM
25234 * sysdeps/unix/getegid.S: Remove file.
25235 * sysdeps/unix/geteuid.S: Likewise.
25236
87ef29ca
RM
252372012-04-24 Roland McGrath <roland@hack.frob.com>
25238
83bcd236
RM
25239 * scripts/check-localplt.awk: New file.
25240 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
25241 of diff.
25242 * scripts/data/localplt-generic.data: Add a comment.
25243
87ef29ca
RM
25244 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
25245 NODE when __dir_mkfile failed.
25246 * sysdeps/mach/hurd/symlinkat.c: Likewise.
25247 Reported by Ludovic Courtès <ludo@gnu.org>.
25248
e5a6e567
AJ
252492012-04-24 Andreas Jaeger <aj@suse.de>
25250
25251 * Makerules (common-clean): Also remove gen-as-const-headers
25252 files.
25253
c1820385
JM
252542012-04-24 Joseph Myers <joseph@codesourcery.com>
25255
25256 * Makerules (native-compile): Do not change working directory for
25257 build. Use $(OUTPUT_OPTION) in command.
25258 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
25259
94e02fc4
AZ
252602012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25261
25262 [BZ #13886]
25263 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
25264 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
25265 * math/libm-test.inc (floor_test): Add more tests.
25266 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
25267
3a533ca3
JM
252682012-04-24 Joseph Myers <joseph@codesourcery.com>
25269
940ab4b3
JM
25270 * sysdeps/unix/getdents.c: Remove file.
25271 * sysdeps/unix/sysv/getdents.c: Likewise.
25272 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
25273
90e037bd
JM
25274 * sysdeps/unix/syscalls.list (madvise): Add syscall from
25275 sysdeps/unix/mman/syscalls.list.
25276 (mmap): Likewise.
25277 (mprotect): Likewise.
25278 (msync): Likewise.
25279 (munmap): Likewise.
25280 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
25281 * sysdeps/unix/mman/syscalls.list: Remove.
25282 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
25283
3a533ca3
JM
25284 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
25285 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
25286 * configure: Regenerated.
25287 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
25288 $(libgcc_s_suffix).
25289 * config.make.in (libgcc_s_suffix): Remove variable.
25290
1ad743de
JM
252912012-04-23 Joseph Myers <joseph@codesourcery.com>
25292
4ad451e2
JM
25293 * sysdeps/unix/sysv/gethostname.c: Move to ...
25294 * sysdeps/posix/gethostname.c: ... here.
25295
5e37ce39
JM
25296 * sysdeps/unix/execve.S: Remove file.
25297
1ad743de
JM
25298 * sysdeps/unix/_exit.S: Remove file.
25299
4e681b5b
AJ
253002012-04-23 Andreas Jaeger <aj@suse.de>
25301
25302 [BZ #13739]
25303 * manual/Makefile: Remove make dist support, there's no
25304 need for a stand-alone documentation tar ball.
25305 (TEXI2DVI): Define always, it's not in Makeconfig.
25306 (dist): Removed.
25307 (tar-it): Removed.
25308 (edition): Removed.
25309 (glibc-doc-$(edition).tar): Removed
25310 (%.Z): Removed.
25311 (%.gz): Removed.
25312 (%.uu): Removed.
25313 (ETAGS): Remove, it's in Makeconfig.
25314 (move-if-change): Remove, it's in Makeconfig.
25315
38686a03 253162012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
25317
25318 [BZ #13970]
25319 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
25320 (strtod, strtof, strtold, strtol, strtoul, strtoq)
25321 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
25322 (strtod_l, strtof_l, strtold_l): Remove __wur.
25323 It is not necessarily an error to ignore strtol's return value.
25324 One can reliably look at the stored endptr to decide whether
25325 the number had valid syntax.
25326
7c0616fa
AJ
253272012-04-21 Andreas Jaeger <aj@suse.de>
25328
803cb6b7 25329 [BZ #13739]
7c0616fa
AJ
25330 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
25331
b0fe253f
JM
253322012-04-21 Joseph Myers <joseph@codesourcery.com>
25333
25334 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
25335 * sysdeps/unix/sysv/Versions: Remove file.
25336
8280f22d
MT
253372012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
25338
25339 [BZ #13927]
25340 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25341
75ce411f 253422012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
25343
25344 [BZ #7064]
25345 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
25346 version from __vm86.
25347
097d59fa
JM
253482012-04-20 Joseph Myers <joseph@codesourcery.com>
25349
a90f3bcb
JM
25350 * sysdeps/unix/common/lxstat.c: Remove file.
25351 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
25352
edc7ea78
JM
25353 * sysdeps/unix/sysv/Makefile: Remove file.
25354
cb78c221
JM
25355 * sysdeps/unix/sysv/direct.h: Remove file.
25356
efa6a45f
JM
25357 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
25358 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
25359 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
25360 * sysdeps/unix/sysv/bits/signum.h: Likewise.
25361 * sysdeps/unix/sysv/bits/stat.h: Likewise.
25362 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
25363 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
25364
9c9f2d0c
JM
25365 * sysdeps/unix/sysv/setrlimit.c: Remove file.
25366
4541c83b
JM
25367 * sysdeps/unix/xmknod.c: Remove file.
25368 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
25369
f5d153a0
JM
25370 * sysdeps/unix/sysv/settimeofday.c: Remove file.
25371
aa746595
JM
25372 * sysdeps/unix/sysv/i386/time.S: Remove file.
25373
cce5905e
JM
25374 * sysdeps/unix/fxstat.c: Remove file.
25375 * sysdeps/unix/xstat.c: Likewise.
25376 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
25377
37fa3841
JM
25378 * sysdeps/unix/sysv/sigaction.c: Remove file.
25379
ff1962a3
JM
25380 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
25381 (sysdep_headers): Remove variable.
25382 [termio.h not in sysdep_headers] (generated): Likewise.
25383 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
25384 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
25385 * sysdeps/unix/sysv/tcdrain.c: Likewise.
25386 * sysdeps/unix/sysv/tcflow.c: Likewise.
25387 * sysdeps/unix/sysv/tcflush.c: Likewise.
25388 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
25389 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
25390 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
25391 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
25392 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
25393
e7740d31
JM
25394 * sysdeps/unix/siglist.c: Remove file.
25395
ee06f18b
JM
25396 * sysdeps/unix/getppid.S: Remove file.
25397
097d59fa
JM
25398 * sysdeps/unix/mkdir.c: Remove file.
25399 * sysdeps/unix/rmdir.c: Likewise.
25400
ff3d51ec
AS
254012012-04-19 Andreas Schwab <schwab@linux-m68k.org>
25402
25403 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
25404 ERR_MAX value.
25405 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
25406 errlist-compat value.
25407
50f81fd7
DM
254082012-04-18 David S. Miller <davem@davemloft.net>
25409
25410 * sysdeps/generic/memcopy.h (reg_char): Delete.
25411 * debug/strcat_chk.c: Use char, not reg_char.
25412 * debug/strcpy_chk.c: Likewise.
25413 * debug/strncat_chk.c: Likewise.
25414 * debug/strncpy_chk.c: Likewise.
25415 * string/memchr.c: Likewise.
25416 * string/memrchr.c: Likewise.
25417 * string/rawmemchr.c: Likewise.
25418 * string/strcat.c: Likewise.
25419 * string/strchr.c: Likewise.
25420 * string/strchrnul.c: Likewise.
25421 * string/strcmp.c: Likewise.
25422 * string/strcpy.c: Likewise.
25423 * string/strncat.c: Likewise.
25424 * string/strncmp.c: Likewise.
25425 * string/strncpy.c: Likewise.
25426
8ff41c46
WS
254272012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25428
25429 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
25430 __builtin_memcopy is called when src and dest ranges are known to not
25431 overlap.
25432
6b652f46
WS
254332012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25434
25435 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
25436 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
25437 fwd_align_merge macro call.
25438 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
25439 bwd_align_merge macro call.
25440 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25441
b282631e
WS
254422012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25443
25444 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
25445 bwd_align_merge macros.
25446 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
25447 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
25448 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25449
95aa737c
DM
254502012-04-18 David S. Miller <davem@davemloft.net>
25451
25452 * sysdeps/sparc/sparc64/memcopy.h: Delete.
25453
7a99a614
AJ
254542012-04-18 Andreas Jaeger <aj@suse.de>
25455
25456 [BZ# 6794]
25457 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
25458 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
25459 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25460
25461 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
25462 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
25463 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25464
25465 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
25466 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
25467 Adjust for changed ldbl-128 files.
25468
25469 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
25470 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
25471 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25472
e5270c23
DM
254732012-04-17 David S. Miller <davem@davemloft.net>
25474
25475 * sysdeps/sparc/sparc32/memcopy.h: Delete.
25476
fb5e92c9
AS
254772012-04-17 Andreas Schwab <schwab@linux-m68k.org>
25478
25479 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
25480 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
25481 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
25482 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
25483 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25484 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
25485
76da7265
AZ
254862012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25487
25488 [BZ #6794]
25489 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
25490 * math/libm-test.inc: Add ilogb errno and exception tests.
25491 * math/w_ilogb.c: New file: ilogb wrapper.
25492 * math/w_ilogbf.c: New file: ilogbf wrapper.
25493 * math/w_ilogbl.c: New file: ilogbl wrapper.
25494 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
25495 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
25496 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
25497 exception being thrown with 0.0 as argument.
25498 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
25499 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
25500 exception being thrown with 0.0 as argument.
25501 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
25502 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25503 exception being thrown with 0.0 as argument.
25504 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
25505 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25506 exception being thrown with 0.0 as argument.
25507 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
25508 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 25509 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
25510 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
25511 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
25512 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
25513 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
25514 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
25515 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
25516
0396e69d
PB
255172012-04-17 Petr Baudis <pasky@ucw.cz>
25518
25519 * include/sys/uio.h: Change __vector to __iovec to avoid clash
25520 with altivec.
25521
750b5926
MP
255222012-04-16 Marek Polacek <polacek@redhat.com>
25523
25524 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
25525
751728a1
MP
255262012-04-16 Marek Polacek <polacek@redhat.com>
25527
25528 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
25529 operands of fdivp instruction.
25530
34a27407
L
255312012-04-13 H.J. Lu <hongjiu.lu@intel.com>
25532
25533 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
25534 * elf/tst-auditmod3b.c: Likewise.
25535 * elf/tst-auditmod4b.c: Likewise.
25536 * elf/tst-auditmod5b.c: Likewise.
25537 * elf/tst-auditmod6b.c: Likewise.
25538 * elf/tst-auditmod6c.c: Likewise.
25539 * elf/tst-auditmod7b.c: Likewise.
25540 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
25541 * sysdeps/x86_64/preconfigure.in: Likewise.
25542 * sysdeps/x86_64/preconfigure: Regenerated.
25543
7e73e17d
L
255442012-04-13 H.J. Lu <hongjiu.lu@intel.com>
25545
25546 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
25547 __ILP32__.
25548
c7a6ab72
AB
255492012-04-13 Antoine Balestrat <merkil33@gmail.com>
25550
25551 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25552 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
25553
a9e8e0e0
CL
255542012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
25555
25556 [BZ #13973]
25557 * locale/iso-639.def: Fix gl language name. Spotted by
25558 Yaron Shahrabani.
25559
ec98af7d
RM
255602012-04-12 Roland McGrath <roland@hack.frob.com>
25561
25562 [BZ #2074]
25563 * libio/libio.h (__io_write_fn): Update comment.
25564
247c3ede
PB
255652012-04-12 Petr Baudis <pasky@ucw.cz>
25566
25567 [BZ #2074]
25568 * stdio.texi (Hook Functions): The user provided writer function
25569 is not allowed to return -1.
25570
55939d6d
DM
255712012-04-11 David S. Miller <davem@davemloft.net>
25572
25573 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25574
90020f5a
MF
255752012-04-11 Mike Frysinger <vapier@gentoo.org>
25576
25577 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
25578 Add a leading slash to rtkaio.
25579
288f9098
JM
255802012-04-11 Jim Meyering <meyering@redhat.com>
25581
90020f5a
MF
25582 [BZ #11959]
25583 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
25584 It is not necessarily an error to ignore fwrite's return
25585 value. One can reliably use ferror to test for errors after
25586 the fact.
288f9098 25587
4be2b570
L
255882012-04-10 H.J. Lu <hongjiu.lu@intel.com>
25589
25590 * bits/types.h (__snseconds_t): New type.
25591 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
25592
25593 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
25594 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25595 (__SNSECONDS_T_TYPE): Likewise.
25596 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25597 (__SNSECONDS_T_TYPE): Likewise.
25598 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25599 (__SNSECONDS_T_TYPE): Likewise.
25600
288f9098 256012012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
25602
25603 [BZ #2636]
25604 * manual/time.texi (Processor Time): Return type of times is
25605 elapsed real time since an arbitrary point in the past.
25606 (CPU Time): Move CLK_TCK from here...
25607 (Processor Time): ...to here. Correct description.
25608 * manual/conf.texi (Constants for Sysconf): Correct description of
25609 _SC_CLK_TCK.
25610
d7dd4413
DM
256112012-04-10 David S. Miller <davem@davemloft.net>
25612
25613 [BZ #13967]
25614 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
25615 where the is a gap between DT_REL(A) and DT_JMPREL.
25616
b46068fc
L
256172012-04-10 H.J. Lu <hongjiu.lu@intel.com>
25618
25619 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
25620 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25621 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25622
73d65cc3
SP
256232012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25624
25625 * elf/dl-support.c (_dl_inhibit_cache): New variable.
25626 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
25627 (dl_main): Handle --inhibit-cache.
25628 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
25629 _dl_inhibit_cache.
25630 * elf/dl-load.c (_dl_map_object): Use it.
25631 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
25632
bcc8d661
JM
256332012-04-09 Joseph Myers <joseph@codesourcery.com>
25634
8f9a2fae
JM
25635 [BZ #13872]
25636 * sysdeps/i386/fpu/e_powl.S (p78): New object.
25637 (__ieee754_powl): Saturate large exponents rather than testing for
25638 overflow of y*log2(x).
25639 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25640 * math/libm-test.inc (pow_test): Do not permit spurious overflow
25641 exceptions.
25642
bcc8d661
JM
25643 [BZ #11521]
25644 * math/s_ctan.c: Include <float.h>.
25645 (__ctan): Avoid internal overflow or cancellation in calculating
25646 denominator.
25647 * math/s_ctanf.c: Likewise.
25648 * math/s_ctanl.c: Likewise.
25649 * math/s_ctanh.c: Likewise.
25650 * math/s_ctanhf.c: Likewise.
25651 * math/s_ctanhl.c: Likewise.
25652 * math/libm-test.inc (ctan_test): Add more tests.
25653 (ctanh_test): Likewise.
25654 * sysdeps/i386/fpu/libm-test-ulps: Update.
25655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25656
823fbbb4
AJ
256572012-04-09 Andreas Jaeger <aj@suse.de>
25658
03879793
AJ
25659 [BZ #6894]
25660 * manual/filesys.texi (Directory Entries): Mention that d_namlen
25661 is an optional BSD extension.
25662
823fbbb4
AJ
25663 [BZ #10254]
25664 * manual/stdio.texi (Opening Streams): Document additional fopen
25665 parameters.
25666
8de131cb
RM
256672012-04-09 Roland McGrath <roland@hack.frob.com>
25668
25669 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
25670 %eax without telling the compiler.
25671
c0ed9d7d
CD
256722012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
25673
25674 [BZ # 13963]
25675 * manual/install.texi: Use sourceware.org.
25676
c483f6b4
JM
256772012-04-09 Joseph Myers <joseph@codesourcery.com>
25678
d7dd9453
JM
25679 [BZ #13873]
25680 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
25681 (__ieee754_pow): Generate overflow and underflow using huge*huge
25682 and tiny*tiny rather than just returning constant infinity or zero
25683 for large exponents.
25684 * math/libm-test.inc (pow_test): Require overflow exceptions for
25685 applicable cases of large exponents.
25686
c483f6b4
JM
25687 [BZ #706]
25688 * sysdeps/i386/fpu/e_pow.S (p10): New object.
25689 (__ieee754_pow): Use iterative multiplication algorithm only for
25690 integer exponents with absolute value below 1024. Check for odd
25691 integer exponents when using algorithm for real exponents.
25692 * math/libm-test.inc (pow_test): Add more tests.
25693 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25694
d2de7579
JM
256952012-04-08 Joseph Myers <joseph@codesourcery.com>
25696
25697 [BZ #13705]
25698 * math/libm-test.inc (exp_test): Do not allow overflow exception
25699 on underflow test.
25700
f77f1232
AJ
257012012-04-08 Aurelien Jarno <aurelien@aurel32.net>
25702
25703 [BZ #13705]
25704 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
25705 instead of __kernel_standard_f.
25706
3884932b
MF
257072012-04-08 Mike Frysinger <vapier@gentoo.org>
25708
25709 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
25710 * sysdeps/x86_64/memset_chk.S: Likewise.
25711
54472e9c
AJ
257122012-04-08 Andreas Jaeger <aj@suse.de>
25713
6ab0fbfc
AJ
25714 [BZ #10153]
25715 * manual/startup.texi (Environment Access): Describe return value
25716 for putenv and setenv.
25717
61efba8c
AJ
25718 [BZ #6895]
25719 * manual/filesys.texi (Directory Entries): Add description for
25720 DT_LNK.
25721
95c3f29a
AJ
25722 [BZ #6890]
25723 * manual/filesys.texi (Directory Entries): Clarify that it's file
25724 system not operating system in the description of DT_UNKNOWN.
25725
54472e9c
AJ
25726 [BZ #6578]
25727 * manual/syslog.texi (closelog): Fix reference, it's openlog.
25728
624254b1
SC
257292012-04-08 Stephen Compall <s11@member.fsf.org>
25730
25731 [BZ #6649]
25732 * manual/llio.texi (Opening and Closing Files): Add cross
25733 reference to explain mode argument.
25734
1e4920e0
MF
257352012-04-07 Mike Frysinger <vapier@gentoo.org>
25736
25737 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
25738 * sysdeps/x86_64/memset_chk.S: Likewise.
25739
5ed848f3
DM
257402012-04-07 David S. Miller <davem@davemloft.net>
25741
25742 * elf/elf.h (R_SPARC_WDISP10): Define.
25743 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
25744 R_SPARC_SIZE32.
25745 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
25746 R_SPARC_SIZE64 and R_SPARC_H34.
25747
96154cd8
CD
257482012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
25749
25750 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
25751 conditions and remove no longer applicable assertion.
25752
9904dc47
L
257532012-04-06 H.J. Lu <hongjiu.lu@intel.com>
25754
25755 * bits/byteswap.h: Include <features.h>.
25756 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25757 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25758
f8887d0a
L
257592012-04-06 H.J. Lu <hongjiu.lu@intel.com>
25760
25761 * bits/byteswap.h (__bswap_16): Removed.
25762 Include <bits/byteswap-16.h> to get __bswap_16.
25763 * sysdeps/i386/bits/byteswap.h: Likewise.
25764 * sysdeps/s390/bits/byteswap.h: Likewise.
25765 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25766 * bits/byteswap-16.h: New file.
25767 * sysdeps/i386/bits/byteswap-16.h: Likewise.
25768 * sysdeps/s390/bits/byteswap-16.h: Likewise.
25769 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
25770 * string/Makefile (headers): Add bits/byteswap-16.h.
25771
62470f60
PP
257722012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25773
25774 [BZ #13895]
25775 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
25776 extra indirection.
25777 * nss/Makefile (tests-static, tests): Add tst-nss-static.
25778 * nss/tst-nss-static.c: New.
25779
4dad7bab
RM
257802012-04-06 Robert Millan <rmh@gnu.org>
25781
25782 [BZ #6486]
25783 * manual/llio.texi (File Position Primitive): lseek
25784 refers to WHENCE when it really means OFFSET.
25785
e9142a17
AJ
257862012-04-06 Andreas Jaeger <aj@suse.de>
25787
2c040eff
AJ
25788 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
25789 strncmp declarations.
25790
e9142a17
AJ
25791 * abilist/libc.abilist: Add __poll and __ppoll.
25792
ff9f1c5f
DM
257932012-04-05 David S. Miller <davem@davemloft.net>
25794
dcd2ae90
DM
25795 * scripts/check-local-headers.sh: Accept a host triplet in the
25796 path matched by the exclude regexp.
25797
993eb054
DM
25798 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
25799 definition.
25800 * sysdeps/powerpc/powerpc32/dl-machine.h
25801 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
25802 * sysdeps/s390/s390-32/dl-machine.h
25803 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25804 * sysdeps/sparc/sparc32/dl-machine.h
25805 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25806 * sysdeps/sparc/sparc64/dl-machine.h
25807 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25808
ff9f1c5f
DM
25809 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
25810 lazy binding.
48e2e132 25811 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
25812 undefined symbol errors.
25813
48e2e132 25814 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
25815 DT_NEEDED entries.
25816
e80d6f94
MM
258172012-04-05 Michael Matz <matz@suse.de>
25818
25819 [BZ #13592]
25820 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
25821
349fa79f
AJ
258222012-04-05 Andreas Jaeger <aj@suse.de>
25823
25824 [BZ #13908]
25825 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
25826 comment.
25827
f402708f
KK
258282012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25829
25830 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
25831 which ROUND is no valid rounding mode.
25832
2ecccfc9
KK
258332012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25834
25835 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
25836 read again.
25837 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
25838
8a53f50f
KK
258392012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25840
25841 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
25842 an exception using FPU order intentionally.
25843
258442012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25845
25846 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
25847 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
25848 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
25849 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
25850
d653abb7
SJ
258512012-04-05 Simon Josefsson <simon@josefsson.org>
25852
25853 [BZ #12340]
25854 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
25855 EINVAL when BUFLEN is too smal.
25856
c3b1bf7d
TS
258572012-04-05 Thomas Schwinge <thomas@codesourcery.com>
25858
25859 [BZ #13553]
25860 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
25861 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
25862
b1aa60f3
AJ
258632012-04-03 Andreas Jaeger <aj@suse.de>
25864
c3b1bf7d 25865 [BZ #13938]
67f60a26
AJ
25866 * manual/setjmp.texi (System V contexts): Fix sentence.
25867
b1aa60f3
AJ
25868 [BZ #13926]
25869 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
25870 New macro for this case.
25871 [!__GNUC__] (__bswap_64): New inline function for this case.
25872 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25873 * bits/byteswap.h: Likewise.
25874 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
25875 ull, guard with __GLIBC_HAVE_LONG_LONG.
25876
25877 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
25878 __GLIBC_HAVE_LONG_LONG.
25879
25880 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
25881 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
25882
39c59c35
TMQMF
258832012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25884
25885 [BZ #13691]
25886 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
25887 inptr and inend, rather than using last_ch.
25888
135ffda8
DM
258892012-04-02 David S. Miller <davem@davemloft.net>
25890
25891 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
25892 * stdio-common/printf-parse.h (read_int): Change return type to
25893 'int', return -1 on INT_MAX overflow.
25894 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
25895 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
25896 overflows INT_MAX. Check for overflow of in-format-string precision
25897 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
25898 SIZE_MAX not INT_MAX for integer overflow test.
25899 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
25900 skip the construct in the format string but do not record anything.
25901 * stdio-common/bug22.c: Adjust to test both width/prevision
25902 INT_MAX overflow as well as total length INT_MAX overflow. Check
25903 explicitly for proper errno values.
25904
228c019e
TS
259052012-04-02 Thomas Schwinge <thomas@codesourcery.com>
25906
302cadd3
TS
25907 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
25908 CHAR_MAX.
25909 * string/test-strcmp.c [! WIDE]: Likewise.
25910 * time/tst-mktime2.c: Likewise for INT_MAX.
25911 * string/test-string.h: #include <sys/param.h> for MIN.
25912
228c019e
TS
25913 * csu/init-first.c (__libc_init_first): Call __ctype_init.
25914 * sysdeps/i386/init-first.c (init): Likewise.
25915 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
25916 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
25917 * sysdeps/sh/init-first.c (init): Likewise.
25918
cfa633f5
UD
259192012-04-01 Ulrich Drepper <drepper@gmail.com>
25920
25921 * po/ru.po: Update from translation team.
d1635ef8 25922 * po/vi.po: Likewise.
cfa633f5 25923
6cd0a5ea
SP
259242012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25925
25926 * resolv/nss_dns/dns-host.c: Merge copyright years.
25927
4b43400f
LD
259282012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25929
25930 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25931 Optimize memcpy with prefetch if
25932 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
25933 src, dst pointers have unequal 16 byte alignments.
25934
48c41d04
SP
259352012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25936
25937 [BZ #13928]
25938 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
25939 from a CNAME entry and return the minimum ttl for the query.
25940 (gaih_getanswer_slice): Likewise.
25941
b8dc394d
JL
259422012-03-30 Jeff Law <law@redhat.com>
25943
25944 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
25945 due to long keys.
25946 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
25947 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
25948
2f5a5ed0
JL
25949 * resolv/nss_dns/dns-host.c: Update copyright year.
25950
1d39e359
UD
259512012-03-30 Ulrich Drepper <drepper@gmail.com>
25952
c030f70c 25953 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 25954 requests to save a system call. Fix check that all bytes are sent.
c030f70c 25955
1d39e359
UD
25956 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
25957 comments for sendmmsg.
25958
259592012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
25960
25961 [BZ #13691]
25962 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
25963 with only 1 character between 0x0041 and 0x01b0.
25964 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
25965 * wcsmbs/tst-mbsnrtowcs.c: New file.
25966
20fde227
DM
259672012-03-29 David S. Miller <davem@davemloft.net>
25968
25969 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
25970 small copies by hand.
25971
984a4237
JL
259722012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25973
25974 [BZ #13761]
25975 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
25976 _nss_compat_initgroups_dyn): Fall back to malloc/free
25977 for large group memberships.
25978
18c9d62b
DM
259792012-03-28 David S. Miller <davem@davemloft.net>
25980
88d85d4f
DM
25981 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
25982 that branches into memcpy.
25983 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25984 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
25985 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25986 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
25987 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
25988 bits.
25989 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
25990 implementation too.
25991 * sysdeps/sparc/mempcpy.S: New file.
25992
e5aa83e1
DM
25993 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
25994 the IFUNC routine in the libc case.
25995 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25996
88570753
DM
25997 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
25998 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
25999 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
26000 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
26001 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
26002 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
26003 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
26004 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
26005
249d7567
DM
26006 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
26007 loop to 256 bytes instead of 64 bytes and fix test signedness.
26008
18c9d62b
DM
26009 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
26010 * sysdeps/sparc/sparc32/Makefile: rather than here...
26011 * sysdeps/sparc/sparc64/Makefile: and here.
26012
05f3d1f6
UD
260132012-03-28 Ulrich Drepper <drepper@gmail.com>
26014
26015 * malloc/mallocbug.c: Avoid warnings about unused variables.
26016
86ae07a8
JL
260172012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26018
26019 [BZ #13760]
26020 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
26021 in the right place. Discard and retry query if response is
26022 larger than input buffer size.
26023
41bf21a1
JM
260242012-03-28 Joseph Myers <joseph@codesourcery.com>
26025
d6270972
JM
26026 [BZ #369]
26027 [BZ #2678]
26028 [BZ #3866]
26029 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
26030 x for large integer exponent.
26031 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26032 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
26033 sign of result as needed afterwards.
26034 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26035 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
26036 result for underflowing pow the same as for overflow.
26037 (__kernel_standard_l): Handle powl overflow and underflow here
26038 rather than calling __kernel_standard.
26039 * math/libm-test.inc (pow_test): Add more tests.
26040
414fca03 26041 [BZ #3868]
41bf21a1
JM
26042 [BZ #13879]
26043 [BZ #13910]
26044 [BZ #13911]
26045 [BZ #13912]
26046 [BZ #13913]
26047 [BZ #13915]
26048 [BZ #13916]
26049 [BZ #13917]
26050 [BZ #13918]
26051 [BZ #13919]
26052 [BZ #13920]
26053 [BZ #13921]
26054 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
26055 * sysdeps/ieee754/k_standard.c: Include <float.h>.
26056 (__kernel_standard_l): New function.
26057 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
26058 __kernel_standard.
26059 * math/w_acosl.c (__acosl): Likewise.
26060 * math/w_asinl.c (__asinl): Likewise.
26061 * math/w_atan2l.c (__atan2l): Likewise.
26062 * math/w_atanhl.c (__atanhl): Likewise.
26063 * math/w_coshl.c (__coshl): Likewise.
26064 * math/w_exp10l.c (__exp10l): Likewise.
26065 * math/w_exp2l.c (__exp2l): Likewise.
26066 * math/w_fmodl.c (__fmodl): Likewise.
26067 * math/w_hypotl.c (__hypotl): Likewise.
26068 * math/w_j0l.c (__j0l, __y0l): Likewise.
26069 * math/w_j1l.c (__j1l, __y1l): Likewise.
26070 * math/w_jnl.c (__jnl, __ynl): Likewise.
26071 * math/w_lgammal.c (__lgammal): Likewise.
26072 * math/w_log10l.c (__log10l): Likewise.
26073 * math/w_log2l.c (__log2l): Likewise.
26074 * math/w_logl.c (__logl): Likewise.
26075 * math/w_powl.c (__powl): Likewise.
26076 * math/w_remainderl.c (__remainderl): Likewise.
26077 * math/w_scalbl.c (sysv_scalbl): Likewise.
26078 * math/w_sinhl.c (__sinhl): Likewise.
26079 * math/w_sqrtl.c (__sqrtl): Likewise.
26080 * math/w_tgammal.c (__tgammal): Likewise.
26081 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
26082 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
26083 * math/libm-test.inc (acos_test): Add more tests.
26084 (acosh_test): Likewise.
26085 (asin_test): Likewise.
26086 (atanh_test): Likewise.
26087 (exp_test): Likewise.
26088 (exp10_test): Likewise.
26089 (exp2_test): Likewise.
26090 (expm1_test): Likewise.
26091 (lgamma_test): Likewise.
26092 (log_test): Likewise.
26093 (log10_test): Likewise.
26094 (log1p_test): Likewise.
26095 (log2_test): Likewise.
26096 (pow_test): Do not allow some spurious overflow exceptions.
26097 (sqrt_test): Add more tests.
26098 (tgamma_test): Likewise.
26099 (y0_test): Likewise.
26100 (y1_test): Likewise.
26101 (yn_test): Likewise.
26102
dd62fda6
AB
261032012-03-27 Anton Blanchard <anton@samba.org>
26104
26105 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
26106 MAP_HUGETLB.
26107 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26108 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26109 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26110
1e3cdfda
AJ
261112012-03-27 David S. Miller <davem@davemloft.net>
26112
b855ab85
DM
26113 * conform/Makefile: Run run-conformtest.sh using $(BASH).
26114
1e3cdfda
AJ
26115 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
26116 have-as-vis3 check.
26117
261182012-03-27 Andreas Jaeger <aj@suse.de>
26119
26120 * sysdeps/x86_64/elf/configure.in: Moved to ...
26121 * sysdeps/x86_64/configure.in: ... here.
26122 * sysdeps/x86_64/elf/start.S: Moved to ...
26123 * sysdeps/x86_64/start.S: ... here.
26124 * sysdeps/x86_64/elf/configure: Delete.
26125
26126 * sysdeps/x86_64/configure.in: Merge contents from
26127 sysdeps/i386/configure.in (without i686 check).
26128
26129 * sysdeps/i386/elf/Versions: Merge into ...
26130 * sysdeps/i386/Versions: ... this.
26131 * sysdeps/i386/elf/Versions: Delete file.
26132 * sysdeps/i386/elf/start.S: Moved to ...
26133 * sysdeps/i386/start.S: ...here.
26134 * sysdeps/i386/elf/configure.in: Merge into...
26135 * sysdeps/i386/configure.in: ...here.
26136 * sysdeps/i386/elf/configure.in: Delete file.
26137 * sysdeps/i386/elf/configure: Delete file.
26138
26139 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
26140 * debug/backtracesyms.c: ... here.
26141 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
26142 * debug/backtracesymsfd.c: ... here.
26143 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
26144 * sysdeps/generic/ifunc-sel.h: ... here.
26145
26146 * sysdeps/unix/i386/start.c: Delete file.
26147 * sysdeps/unix/sparc/start.c: Delete file.
26148 * sysdeps/unix/start.c: Delete file.
26149
26150 * sysdeps/sh/elf/configure.in: Moved to ...
26151 * sysdeps/sh/configure.in: ... here.
26152 * sysdeps/sh/elf/start.S: Moved to ...
26153 * sysdeps/sh/start.S: ... here.
26154 * sysdeps/sh/elf/configure: Delete file.
26155
26156 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
26157 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
26158 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
26159 * sysdeps/powerpc/powerpc64/entry.h: ... here.
26160 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
26161 * sysdeps/powerpc/powerpc64/start.S: here.
26162 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
26163 * sysdeps/powerpc/powerpc64/Makefile: ... this.
26164 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
26165 * sysdeps/powerpc/powerpc64/configure.in: ... this.
26166 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
26167
26168 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
26169 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
26170 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
26171 * sysdeps/powerpc/powerpc32/start.S: ... here.
26172 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
26173 * sysdeps/powerpc/powerpc32/configure.in: ... this.
26174 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
26175
26176 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
26177 * sysdeps/powerpc/ifunc-sel.h: ... here.
26178 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
26179 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
26180
26181 * sysdeps/sparc/elf/configure.in: Moved to ...
26182 * sysdeps/sparc/configure.in: ... here.
26183 * sysdeps/sparc/elf/configure: Delete file.
26184 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
26185 * sysdeps/sparc/sparc32/start.S: ... here.
26186 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
26187 * sysdeps/sparc/sparc64/start.S: ... here.
26188 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
26189 * sysdeps/sparc/sparc32/Makefile: ... this.
26190 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
26191 * sysdeps/sparc/sparc64/Makefile: ... this.
26192
26193 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
26194 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
26195 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
26196 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
26197 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
26198 * sysdeps/s390/s390-32/setjmp.S: ... here.
26199 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
26200 * sysdeps/s390/s390-32/configure.in: ... here.
26201 * sysdeps/s390/s390-32/elf/configure: Delete file.
26202 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
26203 * sysdeps/s390/s390-32/start.S: ... here.
26204
26205 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
26206 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
26207 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
26208 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
26209 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
26210 * sysdeps/s390/s390-64/setjmp.S: ... here.
26211 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
26212 * sysdeps/s390/s390-64/configure.in: ... here
26213 * sysdeps/s390/s390-64/elf/configure: Delete file.
26214 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
26215 * sysdeps/s390/s390-64/start.S: ... here.
26216 * sysdeps/s390/s390-64/elf/configure: Delete.
26217
26218 * configure.in: Remove support for elf directories in sysdeps.
26219
26220 * configure: Regenerated.
26221 * sysdeps/i386/configure: Regenerated.
26222 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26223 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26224 * sysdeps/s390/s390-32/configure: Regenerated.
26225 * sysdeps/s390/s390-64/configure: Regenerated.
26226 * sysdeps/sh/configure: Regenerated.
26227 * sysdeps/sparc/configure: Regenerated.
26228 * sysdeps/x86_64/configure: Regenerated.
26229
a3f61311
AS
262302012-03-26 Andreas Schwab <schwab@linux-m68k.org>
26231
c876e002
AS
26232 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26233
a3f61311
AS
26234 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
26235 denormal result into account.
26236
ac4c54f0
RM
262372012-03-25 Roland McGrath <roland@hack.frob.com>
26238
26239 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
26240 Reported by Allan McRae <allan@archlinux.org>.
26241
6a9b9c02
JL
262422012-03-23 Jeff Law <law@redhat.com>
26243
26244 * nss/getnssent.c (__nss_getent): Fix typo.
26245
4c42a0c1
DM
262462012-03-23 David S. Miller <davem@davemloft.net>
26247
26248 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26249
1532c7ac
L
262502012-03-23 H.J. Lu <hongjiu.lu@intel.com>
26251
26252 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
26253 to pad to uint64_t for each field.
26254 (dl_tls_index): Replace unsigned long with uint64_t.
26255
3ff42526
PP
262562012-03-23 Daniel Jacobowitz <dmj@google.com>
26257 Paul Pluzhnikov <ppluzhnikov@google.com>
26258
26259 [BZ #6528]
26260 * grp/Makefile (otherlibs): Don't set it.
26261 * inet/Makefile (otherlibs): Likewise.
26262 * login/Makefile (otherlibs): Likewise.
26263 * nscd/Makefile (otherlibs): Likewise.
26264 * posix/Makefile (otherlibs): Likewise.
26265 * pwd/Makefile (otherlibs): Likewise.
26266 * rt/Makefile (otherlibs): Likewise.
26267 * sunrpc/Makefile (otherlibs): Likewise.
26268 * nss/Makefile (otherlibs): Likewise.
26269 Add libnss_files to routines and static-only-routines.
26270 ($(objpfx)getent): Remove rule.
26271 * resolv/Makefile: Add libnss_dns and libresolv to routines and
26272 static-only-routines.
26273
7c69cd14
JM
262742012-03-22 Joseph Myers <joseph@codesourcery.com>
26275
26276 [BZ #13892]
26277 * math/s_cexp.c: Include <float.h>.
26278 (__cexp): Handle exp result overflowing not necessarily
26279 overflowing both real and imaginary parts of result.
26280 * math/s_cexpf.c: Likewise.
26281 * math/s_cexpl.c: Likewise.
26282 * math/libm-test.inc (cexp_test): Add more tests.
26283 * sysdeps/i386/fpu/libm-test-ulps: Update.
26284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26285
81b035fe
L
262862012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26287
26288 * include/link.h (ELFW): New macro.
26289 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
26290 Replace ELF64_R_TYPE with ELFW(R_TYPE).
26291
1da7940c
L
262922012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26293
26294 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
26295 with uint64_t.
26296
b749dbb9
L
262972012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26298
26299 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
26300 declaration.
26301 (struct La_x32_retval): Likewise.
26302
2ff87f3f
L
263032012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26304
26305 * sysdeps/x86_64/preconfigure.in: New file.
26306 * sysdeps/x86_64/preconfigure: New generated file.
26307
c0df8e69
JM
263082012-03-22 Joseph Myers <joseph@codesourcery.com>
26309
48e44791
JM
26310 [BZ #13824]
26311 * math/e_exp2l.c: Include <float.h>.
26312 (__ieee754_exp2l): Handle overflow and underflow cases
26313 separately. Only pass fractional part of argument to
26314 __ieee754_expl.
26315 * math/libm-test.inc (exp2_test): Add more tests.
26316
c0df8e69
JM
26317 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
26318 negating x to take absolute value.
26319 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
26320 Likewise.
26321 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26322 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
26323 Likewise.
26324 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
26325 computing low part if x was negated.
26326 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26327
c8e43ba7
L
263282012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26329
26330 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
26331 la_x32_gnu_pltexit.
26332 (pltexit): Cast int_retval to ptrdiff_t.
26333 * elf/tst-auditmod3b.c: Likewise.
26334 * elf/tst-auditmod4b.c: Likewise.
26335 * elf/tst-auditmod5b.c: Likewise.
26336 * elf/tst-auditmod6b.c: Likewise.
26337 * elf/tst-auditmod6c.c: Likewise.
26338 * elf/tst-auditmod7b.c: Likewise.
26339
26340 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
26341 and x32_gnu_pltexit.
26342
26343 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
26344 __ELF_NATIVE_CLASS.
26345 (La_x32_regs): New macro.
26346 (La_x32_retval): Likewise.
26347 (la_x32_gnu_pltenter): New function prototype.
26348 (la_x32_gnu_pltexit): Likewise.
26349
7998fa78
AS
263502012-03-21 Andreas Schwab <schwab@linux-m68k.org>
26351
dcb33988
AS
26352 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
26353 exponent.
26354
233fc563
AS
26355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26356
7998fa78
AS
26357 * configure.in (libc_cv_cc_nofma): Check for option to disable
26358 generation of FMA instructions.
26359 * configure: Regenerate.
26360 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
26361 * sysdeps/ieee754/dbl-64/Makefile: New file.
26362 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26363 Remove brandred-fma4.
26364 (CFLAGS-brandred-fma4.c): Remove.
26365 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
26366 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
26367 define.
26368 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
26369 define.
26370
8e95c99a
L
263712012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26372
26373 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
26374 LLONG_MAX != LONG_MAX.
26375 (_itoa_word): Use _ITOA_WORD_TYPE on value.
26376 (_fitoa_word): Likewise.
26377 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
26378 LLONG_MAX != LONG_MAX.
26379 * stdio-common/_itowa.h: Include <_itoa.h>.
26380 (_itowa_word): Use _ITOA_WORD_TYPE on value.
26381 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
26382 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
26383 only if not defined.
26384 (_ITOA_WORD_TYPE): Likewise.
26385 (_itoa_word): Use _ITOA_WORD_TYPE on value.
26386 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
26387
6f4db457
DM
263882012-03-21 David S. Miller <davem@davemloft.net>
26389
26390 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26391
7785fe5a
L
263922012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26393
26394 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
26395 of x86_64 when setting libc_cv_slibdir, libdir and
26396 libc_cv_localedir.
26397 * sysdeps/unix/sysv/linux/configure: Regenerated.
26398
4535cd55
JM
263992012-03-21 Joseph Myers <joseph@codesourcery.com>
26400
26401 * manual/lang.texi (Old Varargs): Remove section.
26402 (How Variadic): Update menu.
26403 (va_start): Do not mention varargs.h.
26404
17228132
TS
264052012-03-21 Thomas Schwinge <thomas@codesourcery.com>
26406 Joseph Myers <joseph@codesourcery.com>
26407
26408 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
26409 link test.
26410 * configure: Regenerated.
26411
8149f976
TS
264122012-03-21 Thomas Schwinge <thomas@codesourcery.com>
26413
05f3d1f6
UD
26414 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
26415 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
26416 conformtest.pl
8149f976 26417
1a4ac776
JM
264182012-03-21 Joseph Myers <joseph@codesourcery.com>
26419
be22ce65
JM
26420 * NOTES: Remove.
26421 * Makefile (files-for-dist): Remove NOTES.
26422 (NOTES): Remove rule.
26423 * README: Don't refer to NOTES.
26424 * manual/creature.texi: Don't include macros.texi.
26425 * manual/intro.texi (creature.texi): Remove comment referring to
26426 NOTES.
26427
40b601fb
JM
26428 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
26429 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
26430 * configure: Regenerated.
26431 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
26432 LIBC_TRY_CC_OPTION.
26433 (libc_cv_as_i686): Likewise.
26434 (libc_cv_cc_avx): Likewise.
26435 (libc_cv_cc_sse2avx): Likewise.
26436 (libc_cv_cc_fma4): Likewise.
26437 (libc_cv_cc_novzeroupper): Likewise.
26438 * sysdeps/i386/configure: Regenerated.
26439
1a4ac776
JM
26440 [BZ #13883]
26441 * sysdeps/i386/fpu/s_cexp.S: Remove.
26442 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26443 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26444 * math/libm-test.inc (cexp_test): Add more tests.
26445 * sysdeps/i386/fpu/libm-test-ulps: Update.
26446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26447
a458e7fe
AM
264482012-03-21 Allan McRae <allan@archlinux.org>
26449
26450 * timezone/Makefile: Do not install iso3166.tab and zone.tab
26451
0cb7efc5
JM
264522012-03-21 Joseph Myers <joseph@codesourcery.com>
26453
26454 [BZ #13871]
26455 * math/w_exp2.c: Do not include <float.h>.
26456 (o_threshold, u_threshold): Remove.
26457 (__exp2): Calculate result before checking finiteness and calling
26458 __kernel_standard.
26459 * math/w_exp2f.c: Likewise.
26460 * math/w_exp2l.c: Likewise.
26461 * math/libm-test.inc (exp2_test): Require overflow exception for
26462 1e6 input.
2460d3aa
JM
26463
26464 [BZ #3866]
26465 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
26466 range of signed 64-bit integers before using fistpll. Remove
26467 checks for whether integers fit in mantissa bits.
26468 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
26469 the range of signed 32-bit integers before using fistpl. Remove
26470 checks for whether integers fit in mantissa bits.
26471 * sysdeps/i386/fpu/e_powl.S (p64): New object.
26472 (__ieee754_powl): Test for y outside the range of signed 64-bit
26473 integers before using fistpll. Reduce 64-bit values to 63-bit
26474 ones as needed.
26475 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
26476 divide-by-zero is raised for zero to large negative powers.
26477 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
26478 (__ieee754_powl): Test for y outside the range of signed 64-bit
26479 integers before using fistpll. Reduce 64-bit values to 63-bit
26480 ones as needed.
26481 * math/libm-test.inc (pow_test): Add more tests.
26482
eb96ffb0
L
264832012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26484
26485 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
26486 <stdio-common/_itoa.h>.
26487 * debug/segfault.c: Likewise.
26488 * elf/dl-cache.c: Likewise.
26489 * elf/dl-minimal.c: Likewise.
26490 * elf/dl-misc.c: Likewise.
26491 * elf/dl-sysdep.c: Likewise.
26492 * elf/dl-version.c: Likewise.
26493 * elf/rtld.c: Likewise.
26494 * hurd/hurdsock.c: Likewise.
26495 * hurd/lookup-retry.c: Likewise.
26496 * malloc/malloc.c: Likewise.
26497 * malloc/mtrace.c: Likewise.
26498 * nscd/nscd_getgr_r.c: Likewise.
26499 * nscd/nscd_getpw_r.c: Likewise.
26500 * nscd/nscd_getserv_r.c: Likewise.
26501 * posix/getopt_init.c: Likewise.
26502 * posix/wordexp.c: Likewise.
26503 * stdio-common/_itoa.c: Likewise.
26504 * stdio-common/printf_fphex.c: Likewise.
26505 * stdio-common/vfprintf.c: Likewise.
26506 * string/_strerror.c: Likewise.
26507 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
26508 * sysdeps/i386/i686/hp-timing.h: Likewise.
26509 * sysdeps/mach/_strerror.c: Likewise.
26510 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
26511 * sysdeps/mach/hurd/sethostid.c: Likewise.
26512 * sysdeps/mach/hurd/xmknodat.c: Likewise.
26513 * sysdeps/mach/xpg-strerror.c: Likewise.
26514 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26515 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26516 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
26517 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
26518 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26519 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
26520 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
26521 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
26522 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
26523 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
26524 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
26525 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
26526 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
26527 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26528 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26529 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
26530 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
26531 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
26532 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
26533 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
26534 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
26535
26536 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
26537
26538 * stdio-common/_itoa.h: Moved to ...
26539 * sysdeps/generic/_itoa.h: Here.
26540
26541 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
26542
26543 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
26544 instead of "_itoa.h" and "_itowa.h".
26545 * stdio-common/vfprintf.: Likewise.
26546
d1af992d
L
265472012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26548
26549 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
26550 <bits/wordsize.h>.
26551 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
26552 (__signbit): Likwise.
26553 (llrintf): Likwise.
26554 (llrint): Likwise.
26555
114883e0
L
265562012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26557
26558 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
26559 __WORDSIZE != 64.
26560
c135cc1b
JM
265612012-03-20 Joseph Myers <joseph@codesourcery.com>
26562
26563 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
26564 OVERFLOW_EXCEPTION_OK.
26565 * math/libm-test.inc ("Philosophy"): Update comment about
26566 exception testing.
26567 (OVERFLOW_EXCEPTION): Define.
26568 (OVERFLOW_EXCEPTION_OK): Likewise.
26569 (INVALID_EXCEPTION_OK): Renumber.
26570 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26571 (IGNORE_ZERO_INF_SIGN): Likewise.
26572 (test_exceptions): Handle FE_OVERFLOW.
26573 (exp10_test): Expect overflow exceptions.
26574 (exp2_test): Likewise.
26575 (expm1_test): Likewise.
26576 (nextafter_test): Likewise.
26577 (pow_test): Likewise.
26578 (scalbn_test): Likewise.
26579 (scalbln_test): Likewise.
26580
95443d88
L
265812012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26582
26583 * sysdeps/x86_64/bits/atomic.h
26584 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
26585 64bit integer.
26586 (atomic_exchange_acq): Likewise.
26587 (__arch_exchange_and_add_body): Likewise.
26588 (__arch_add_body): Likewise.
26589 (atomic_add_negative): Likewise.
26590 (atomic_add_zero): Likewise.
26591
490df6c4
L
265922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26593
c2722551 26594 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
26595 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
26596
5e52b189
L
265972012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26598
26599 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
26600 Check __x86_64__ instead of __WORDSIZE.
26601
a9879d4c
L
266022012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26603
26604 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
26605
5df98260
DM
266062012-03-19 David S. Miller <davem@davemloft.net>
26607
e1497744
DM
26608 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26609
5df98260
DM
26610 * sysdeps/sparc/fpu/fenv_private.h: New file.
26611 * sysdeps/sparc/fpu/math_private.h: Use it.
26612 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
26613 Remove.
26614 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
26615 (libc_feholdexcept_setroundl): Remove.
26616 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
26617 Remove.
26618 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
26619 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
26620
b4c35121
L
266212012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26622
26623 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
26624 int64_t instead of long int.
26625 (INSERT_WORDS64): Likwise.
26626
56965fd7
L
266272012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26628
26629 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
26630 _Unwind_GetCFA return to _Unwind_Ptr first.
26631
83d1aec8
JM
266322012-03-19 Joseph Myers <joseph@codesourcery.com>
26633
1897ad44
JM
26634 [BZ #13629]
26635 * math/s_clog.c: Include <float.h>.
26636 (__clog): Scale large or subnormal inputs.
26637 * math/s_clogf.c: Likewise.
26638 * math/s_clogl.c: Likewise.
26639 * math/s_clog10.c: Include <float.h>.
26640 (M_LOG10_2): Define.
26641 (__clog10): Scale large or subnormal inputs.
26642 * math/s_clog10f.c: Likewise.
26643 * math/s_clog10l.c: Likewise.
26644 * math/libm-test.inc (clog_test): Add more tests.
26645 (clog10_test): Likewise.
26646 * sysdeps/i386/fpu/libm-test-ulps: Update.
26647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26648
7726d6a9
JM
26649 [BZ #11451]
26650 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
26651 x and y.
26652 * math/libm-test.inc (atan2_test): Add another test.
26653
83d1aec8
JM
26654 * Makerules (common-objdir-compile): Remove.
26655 * sysdeps/unix/Makefile (config-generated): Do not add
26656 $(unix-generated) to variable.
26657 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
26658 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
26659 Remove rule.
26660 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
26661 Likewise.
26662 [generic bits/local_lim.h] (before-compile): Do not append to
26663 variable.
26664 [generic bits/local_lim.h] (common-generated): Likewise.
26665 [generic sys/param.h] (before-compile): Do not append to variable.
26666 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
26667 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
26668 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
26669 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
26670 include.
26671 [generic sys/param.h] (sys/param.h-includes): Remove variable.
26672 [generic sys/param.h] (sys/param.h-includes): Remove rule.
26673 [generic sys/param.h] ($(addprefix
26674 $(common-objpfx),$(sys/param.h-includes))): Likewise.
26675 [generic sys/param.h] (common-generated): Do not append to
26676 variable.
26677 [generic sys/param.h] (sysdep_headers): Likewise.
26678 [generic bits/errno.h] (before-compile): Do not append to
26679 variable.
26680 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
26681 rule.
26682 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
26683 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
26684 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
26685 [generic bits/errno.h] (common-generated): Do not append to
26686 variable.
26687 [generic bits/ioctls.h] (before-compile): Do not append to
26688 variable.
26689 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
26690 rule.
26691 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
26692 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
26693 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
26694 rule.
26695 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
26696 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
26697 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
26698 [generic bits/ioctls.h] (common-generated): Do not append to
26699 variable.
26700 [generic sys/syscall.h] (syscall.h): Remove variable.
26701 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
26702 rule.
26703 [generic sys/syscall.h] (before-compile): Do not append to
26704 variable.
26705 [generic sys/syscall.h] (common-generated): Likewise.
26706 * sysdeps/unix/errnos-tmpl.c: Remove file.
26707 * sysdeps/unix/errnos.awk: Likewise.
26708 * sysdeps/unix/ioctls-tmpl.c: Likewise.
26709 * sysdeps/unix/ioctls.awk: Likewise.
26710 * sysdeps/unix/mk-local_lim.c: Likewise.
26711 * sysdeps/unix/snarf-ioctls: Likewise.
26712
4851a949
RH
267132012-03-19 Richard Henderson <rth@twiddle.net>
26714
bd37f2ee
RH
26715 * sysdeps/i386/fpu/fenv_private.h: New file.
26716 * sysdeps/i386/fpu/math_private.h: Use it.
26717 (math_opt_barrier, math_force_eval): Remove.
26718 (libc_feholdexcept_setround_53bit): Remove.
26719 (libc_feupdateenv_53bit): Remove.
26720 * sysdeps/x86_64/fpu/math_private.h: Likewise.
26721 (math_opt_barrier, math_force_eval): Remove.
26722 (libc_feholdexcept): Remove.
26723 (libc_feholdexcept_setround): Remove.
26724 (libc_fetestexcept, libc_fesetenv): Remove.
26725 (libc_feupdateenv_test): Remove.
26726 (libc_feupdateenv, libc_feholdsetround): Remove.
26727 (libc_feresetround): Remove.
26728
d0adc922
RH
26729 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
26730 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26731
0fe0f1f8
RH
26732 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
26733 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
26734 (libc_feupdateenv_testl): New.
26735 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
26736 (libc_feupdateenv_testf): New.
26737 (libc_feupdateenv): Use libc_feupdateenv_test.
26738 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
26739 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
26740
eb92c487
RH
26741 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
26742 (libc_feholdsetroundf, libc_feholdsetroundl): New.
26743 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
26744 (libc_feresetround_noex): New.
26745 (libc_feresetround_noexf): New.
26746 (libc_feresetround_noexl): New.
26747 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
26748 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
26749 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
26750 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
26751 SET_RESTORE_ROUND.
26752 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26753 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
26754 (__cos): Likewise.
26755 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
26756 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
26757 SET_RESTORE_ROUND_NOEX.
26758 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
26759 SET_RESTORE_ROUND_NOEXF.
26760 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
26761 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
26762 (libc_feholdsetroundf): New.
26763 (libc_feresetround, libc_feresetroundf): New.
26764
7d2e8012
RH
26765 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
26766 (libc_feholdexcept_setround_53bit): Convert from macro to function.
26767 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
26768
b4dabbb4
RH
26769 * sysdeps/generic/math_private.h: Include <fenv.h>.
26770 (default_libc_feholdexcept): New.
26771 (default_libc_feholdexcept_setround): New.
26772 (default_libc_fesetenv, default_libc_feupdateenv): New.
26773 (libc_feholdexcept): Only define if undefined.
26774 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
26775 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
26776 (libc_feholdexcept_setroundl): Likewise.
26777 (libc_feholdexcept_setround_53bit): Likewise.
26778 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
26779 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
26780 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
26781 (libc_feupdateenv_53bit): Likewise.
26782 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
26783 (libc_feholdexcept): Convert from macro to inline function.
26784 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
26785 (libc_fesetenv, libc_feupdateenv): Likewise.
26786
4851a949
RH
26787 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
26788 not previously defined.
26789 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
26790 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
26791 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
26792 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
26793 * sysdeps/ieee754/flt-32/math_private.h: New file.
26794 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
26795 math_private.h below SET_FLOAT_WORD.
26796 (__isnan, __isinf_ns, __finite): Remove.
26797 (__isnanf, __isinf_nsf, __finitef): Remove.
26798
e79d442e
AS
267992012-03-18 Andreas Schwab <schwab@linux-m68k.org>
26800
26801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26802
90b80344
DM
268032012-03-17 David S. Miller <davem@davemloft.net>
26804
26805 [BZ #6471]
26806 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
26807 for 2.16.
26808
edc21804
DM
268092012-03-16 David S. Miller <davem@davemloft.net>
26810
77e927af
DM
26811 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
26812 warnings.
26813
374976dd
DM
26814 [BZ #6471]
26815 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
26816 properly.
26817 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
26818 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
26819 sysdep_routines when subdir is sysvipc.
26820 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
26821 __getshmlba helper.
26822
edc21804
DM
26823 * sysdeps/sparc/fpu/libm-test/ulps: Update.
26824
473c3ef3
L
268252012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26826
26827 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
26828 [__LP64__].
26829
eb0f39b6
L
268302012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26831
26832 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
26833 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
26834 (__lround): Renamed to ...
26835 (__llround): This. Replace long int with long long int.
26836 Define lround functions as aliases of llround functions.
26837 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
26838
6b6cd74b
L
268392012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26840
26841 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
26842 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
26843 adresses to uintptr_t. Replace "long int" and "unsigned long
26844 int" with "greg_t" on va_arg.
26845
f1a77b01
L
268462012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26847
26848 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
26849 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
26850
26851 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
26852 Move e_machine check before EI_CLASS check. Handle x32
26853 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
26854 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
26855 SKIP_EM_IA_64 and include
26856 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
26857
26858 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
26859 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
26860 (add_system_dir): New macro.
26861
26862 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
26863 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
26864
11b90b9f
JM
268652012-03-16 Joseph Myers <joseph@codesourcery.com>
26866
c36e1d23
JM
26867 [BZ #2551]
26868 [BZ #2552]
26869 [BZ #2553]
26870 [BZ #2554]
26871 [BZ #2562]
26872 [BZ #2563]
26873 [BZ #2565]
26874 [BZ #2566]
26875 [BZ #2576]
26876 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
26877 (y0): Likewise.
26878 * math/w_j0f.c (j0f): Likewise.
26879 (y0f): Likewise.
26880 * math/w_j0l.c (__j0l): Likewise.
26881 (__y0l): Likewise.
26882 * math/w_j1.c (j1): Likewise.
26883 (y1): Likewise.
26884 * math/w_j1f.c (j1f): Likewise.
26885 (y1f): Likewise.
26886 * math/w_j1l.c (__j1l): Likewise.
26887 (__y1l): Likewise.
26888 * math/w_jn.c (jn): Likewise.
26889 (yn): Likewise.
26890 * math/w_jnf.c (jnf): Likewise.
26891 (ynf): Likewise.
26892 * math/w_jnl.c (__jnl): Likewise.
26893 (__ynl): Likewise.
26894 * math/libm-test.inc (j0_test): Add more tests.
26895 (j1_test): Likewise.
26896 (jn_test): Likewise. Add trailing semicolon to existing test.
26897 (y0_test): Likewise.
26898 (y1_test): Likewise.
26899 * sysdeps/i386/fpu/libm-test-ulps: Update.
26900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26901
11b90b9f
JM
26902 [BZ #13851]
26903 [BZ #13854]
26904 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
26905 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
26906 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
26907 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
26908 (__tanl): Set errno for infinite argument.
26909 * sysdeps/i386/fpu/mptan.c: Remove.
26910 * sysdeps/i386/fpu/s_tan.S: Likewise.
26911 * sysdeps/i386/fpu/s_tanl.S: Likewise.
26912 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
26913 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
26914 * math/libm-test.inc (tan_test): Add more tests and enable more
26915 tests for double and long double.
26916 * sysdeps/i386/fpu/libm-test-ulps: Update.
26917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26918
6a1bd2a1
JK
269192012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
26920
26921 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
26922 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
26923
10a803e0
RM
269242012-03-16 Roland McGrath <roland@hack.frob.com>
26925
26926 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
26927 * configure.in: Use it for both main tree and add-ons.
26928 * configure: Regenerated.
26929
f196c7f7
L
269302012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26931
26932 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
26933
8848d99d
JM
269342012-03-16 Joseph Myers <joseph@codesourcery.com>
26935
96cbe7f4
JM
26936 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
26937 in comment.
26938
8848d99d
JM
26939 [BZ #13851]
26940 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
26941 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
26942 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
26943 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
26944 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
26945 infinite argument.
26946 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
26947 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
26948 != 0 for prec == 2.
26949 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
26950 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
26951 * sysdeps/i386/fpu/s_cosl.S: Likewise.
26952 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
26953 * sysdeps/i386/fpu/s_sinl.S: Likewise.
26954 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
26955 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
26956 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
26957 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
26958 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
26959 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
26960 * math/libm-test.inc (cos_test): Add more tests and enable more
26961 tests for long double.
26962 (sin_test): Likewise.
26963 (sincos_test): Likewise.
26964 * sysdeps/i386/fpu/libm-test-ulps: Update.
26965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26966
dd7f4703
DM
269672012-03-16 David S. Miller <davem@davemloft.net>
26968
26969 * sysdeps/sparc/fpu/math_private.h: New file.
26970
006f1daa
DM
269712012-03-15 David S. Miller <davem@davemloft.net>
26972
c0c83bc8
DM
26973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
26974 file.
e6a62e18 26975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
26976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
26977 file.
e6a62e18
DM
26978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
26979 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
26980 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
26981 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
26982 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
26983 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
26984 sysdep routines.
26985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26986
88cb87d9
DM
26987 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
26988 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
26989
006f1daa 26990 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
26991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
26992 sparc-ifunc.h
006f1daa 26993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
26994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26995 Likewise.
26996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
26997 Likewise.
006f1daa
DM
26998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
26999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
27000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
27001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27002 Likewise.
006f1daa
DM
27003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
27005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
27007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
27008 Likewise.
27009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
27010 Likewise.
006f1daa
DM
27011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
27013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
27014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
27015 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27016 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27017 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
27018 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
27019 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27020 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27021 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
27022 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
27023 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
27024 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
27025 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
27026 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
27027 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
27028 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
27029 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
27030 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
27031 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
27032 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
27033 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
27034 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
27035
11e0098e
AS
270362012-03-15 Andreas Schwab <schwab@linux-m68k.org>
27037
27038 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
27039 scaling.
27040 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27041
e85b09d0
AJ
270422012-03-15 Andreas Jaeger <aj@suse.de>
27043
27044 [BZ #13852]
27045 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
27046 ieee754/flt-32 implementation for sin, cos and sincos.
27047 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
27048 * sysdeps/i386/fpu/s_cosf.S: Likewise.
27049 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
27050 * sysdeps/i386/fpu/s_sinf.S: Likewise.
27051 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
27052 ieee754/flt-32 implementation for tan.
27053
27054 * math/libm-test.inc (cos_test): Enable some large input tests for
27055 float as well
27056 (sin_test): Likewise.
27057 (sincos_test): Likewise.
27058 (tan_test): Add tests for large input.
27059
27060 * sysdeps/i386/fpu/libm-test-ulps: Update.
27061
81c64153
AJ
270622012-03-15 Andreas Jaeger <aj@suse.de>
27063
27064 [BZ #13658]
27065 * math/libm-test.inc (cos_test): Add more test cases.
27066 (sin_test): Likewise.
27067 (sincos_test): Likewise.
27068
7bbfa5c6
AJ
270692012-03-15 Andreas Jaeger <aj@suse.de>
27070
27071 [BZ #13837]
27072 * math/libm-test.inc (cos_test): Add a test case for large input
27073 value.
27074 (sin_test): Likewise.
27075 (sincos_test): Likewise.
27076
270772012-03-15 Andreas Jaeger <aj@suse.de>,
27078 Joseph Myers <joseph@codesourcery.com>
27079
27080 [BZ #13658]
0671f479 27081 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
27082 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
27083 * sysdeps/i386/fpu/branred.c: Likewise.
27084 * sysdeps/i386/fpu/dosincos.c: Likewise.
27085 * sysdeps/i386/fpu/mpa.c: Likewise.
27086 * sysdeps/i386/fpu/s_cos.S: Likewise.
27087 * sysdeps/i386/fpu/s_sin.S: Likewise.
27088 * sysdeps/i386/fpu/s_sincos.S: Likewise.
27089 * sysdeps/i386/fpu/sincos32.c: Likewise.
27090
27091 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
27092 Define.
27093 (libc_feupdateenv_53bit): Define.
27094 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
27095 Define.
27096 (libc_feupdateenv_53bit): Define.
27097
27098 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
27099 53 bit (without extend i386 double precision).
27100
27101 * math/libm-test.inc (sincos_test): Add tests for large input.
27102 (sin): Likewise.
27103 (cos): Likewise.
27104
27105 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27106
9cad04ea
AS
271072012-03-15 Andreas Schwab <schwab@linux-m68k.org>
27108
27109 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27110
f7062b9a
DM
271112012-03-15 David S. Miller <davem@davemloft.net>
27112
27113 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
27114 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
27115 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
27116 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
27117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
27118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
27119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
27120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
27121 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
27122 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
27123 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
27124 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
27125 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
27126 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
27127 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
27128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
27129 file.
f7062b9a 27130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
27131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
27132 file.
f7062b9a 27133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
27134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
27135 file.
f7062b9a 27136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
27137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
27138 file.
f7062b9a
DM
27139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
27140 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
27141 fmin/fmax sysdep routines.
27142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27143
7bd951ff
DM
271442012-03-14 David S. Miller <davem@davemloft.net>
27145
559398ab
DM
27146 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
27147 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
27148 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
27149 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
27150 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
27151 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
27152 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
27153 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
27154 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
27155 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
27156 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
27157 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
27158 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
27159 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
27160 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
27161 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
27162 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
27163 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
27164 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
27165 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
27166 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
27167 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
27168 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
27169 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
27170 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
27171 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
27172 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
27173 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
27174 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
27175 routines.
27176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
27177 file.
559398ab 27178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
27179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
27180 file.
559398ab 27181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
27182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
27183 file.
559398ab 27184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
27185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
27186 file.
559398ab 27187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
27188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
27189 file.
559398ab 27190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
27191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
27192 file.
27193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
27194 file.
27195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
27196 file.
27197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
27198 file.
27199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
27200 New file.
27201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
27202 file.
27203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
27204 file.
559398ab 27205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
27206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
27207 file.
559398ab 27208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
27209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
27210 file.
559398ab 27211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
27212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
27213 file.
559398ab 27214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
27215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
27216 VIS3 routines.
559398ab
DM
27217
27218 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27219 New file.
27220
5a1c1e32
DM
27221 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27222
eae47a36
DM
27223 * sysdeps/sparc/configure.in: New file.
27224 * sysdeps/sparc/configure: Generate.
27225 * configure.in (libc_cv_sparc_as_vis3): Substitute.
27226 * configure: Regenerate.
27227 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
27228 * config.make.in (have-as-vis3): New.
27229 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
27230 available use -Av9d instead of -Av9a.
27231 * sysdeps/sparc/sparc64/Makefile: Likewise.
27232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
27233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
27234 New file.
27235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
27236 file.
27237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
27238 New file.
27239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
27240 file.
eae47a36
DM
27241 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
27242 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
27243 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
27244 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
27245 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
27246
c0c83bc8
DM
27247 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
27248 fzeros/fnegs to load 0x80000000 into a float register instead of
27249 using the stack.
7bd951ff
DM
27250 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
27251
bd951ccb
JM
272522012-03-14 Joseph Myers <joseph@codesourcery.com>
27253
27254 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27255 bits/syscall.h.
27256 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
27257 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
27258 ($(inst_includedir)/bits/syscall.h): Remove rule.
27259 ($(objpfx)bits/syscall.d): Include instead of
27260 $(objpfx)syscall-list.d.
27261 (generated): Change syscall-list.h and syscall-list.d to
27262 bits/syscall.h and bits/syscall.d.
27263
bb4e6db2
RM
272642012-03-14 Roland McGrath <roland@hack.frob.com>
27265
27266 [BZ #13846]
27267 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
27268
aa4a2ae1
JM
272692012-03-14 Joseph Myers <joseph@codesourcery.com>
27270
e456826d
JM
27271 [BZ #13841]
27272 * math/s_csqrt.c: Include <float.h>.
27273 (__csqrt): Scale large or subnormal inputs.
27274 * math/s_csqrtf.c: Likewise.
27275 * math/s_csqrtl.c: Likewise.
27276 * math/libm-test.inc (csqrt_test): Add more tests.
27277 * sysdeps/i386/fpu/libm-test-ulps: Update.
27278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27279
aa4a2ae1
JM
27280 [BZ #13840]
27281 * math/libm-test.inc (hypot_test): Add more tests.
27282
7c10fd35
DM
272832012-03-13 David S. Miller <davem@davemloft.net>
27284
27285 [BZ #13840]
27286 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
27287 double-precision for the calculation instead of scaling.
27288
f453b98b
JM
272892012-03-13 Joseph Myers <joseph@codesourcery.com>
27290
27291 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
27292 manipulate bits before adding and subtracting TWO52[sx].
27293 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
27294 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27295 Likewise.
27296 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
27297
09a3453f
DM
272982012-03-13 David S. Miller <davem@davemloft.net>
27299
8e59da90
DM
27300 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
27301 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
27302 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
27303 rtld-global-offsets.h
27304 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27305
2a8ab7f2
DM
27306 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
27307 large parameters.
27308
10f62770
DM
27309 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
27310
5f0bdb18
DM
27311 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
27312 'err' in the ifdef scope in which it is actually used.
27313
09a3453f
DM
27314 * nss/nss_db/db-init.c: Include string.h
27315
b4b2eb5e
DM
273162012-03-12 David S. Miller <davem@davemloft.net>
27317
98bb2f1c
DM
27318 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27319 masking out of the most significant byte of random value used.
27320 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27321 Fix coding style in previous change.
27322
b4b2eb5e
DM
27323 * sysdeps/unix/sysv/linux/kernel-features.h
27324 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
27325 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
27326 expression.
27327 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
27328 later.
27329
6e226b09
DM
273302012-03-11 David S. Miller <davem@davemloft.net>
27331
a1bcbd40
DM
27332 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27333 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
27334 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
27335 for 'resultvar' otherwise things get truncated on 64-bit.
27336
cb9d6174
DM
27337 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27338 Fix masking out of the most significant byte of random value used.
27339
6e226b09
DM
27340 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27341
058c132d
AS
273422012-03-10 Andreas Schwab <schwab@linux-m68k.org>
27343
27344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27345
2d2cd515
DM
273462012-03-09 David S. Miller <davem@davemloft.net>
27347
27348 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
27349 variables with appropriate CPP guards.
27350 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
27351 frame pointer, not the stack pointer. Correct layout comments. Fix test
27352 on resulting framesize and the management of the outregs buffer for pltexit.
27353 Preserve floating point return values across _dl_call_pltexit call.
27354 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
27355 framesize and the management of the outregs buffer for pltexit.
27356 Preserve floating point return values across _dl_call_pltexit
27357 call.
27358 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
27359 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
27360 (print_exit): Fix format string for return register value.
27361
9a07f9d0
JM
273622012-03-10 Joseph Myers <joseph@codesourcery.com>
27363
27364 * sunrpc/Makefile (others): Add rpcgen.
27365 ($(objpfx)rpcgen): Remove special build rule and dependency on
27366 libc.
27367 * sunrpc/rpcgen.c: New file.
27368
547b5e30
PE
273692012-03-09 Paul Eggert <eggert@cs.ucla.edu>
27370
c524201a
PE
27371 [BZ #13673]
27372 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
27373 * stdio-common/bug-vfprintf-nargs.c: Likewise.
27374 * sysdeps/i386/crti.S: Likewise.
27375 * sysdeps/i386/crtn.S: Likewise.
27376 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
27377 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
27378 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
27379 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
27380 * sysdeps/sh/crti.S: Likewise.
27381 * sysdeps/sh/crtn.S: Likewise.
27382 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27383
7b6235f2
PE
27384 [BZ #13673]
27385 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
27386 with URL.
27387 * locale/programs/locfile-kw.gperf: Likewise.
27388 * locale/programs/charmap-kw.h: Regenerated.
27389 * locale/programs/locfile-kw.h: Likewise.
27390
547b5e30
PE
27391 [BZ #13673]
27392 * intl/plural.y: Replace FSF snail mail address with URL.
27393 * intl/plural.c: Regenerated.
27394
5f0a5dae
RH
273952012-03-09 Richard Henderson <rth@twiddle.net>
27396
27397 * include/math_private.h: Remove file.
27398 * math/math_private.h: Move file ...
27399 * sysdeps/generic/math_private.h: ... here.
27400
b8c03620
RH
27401 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
27402 * sysdeps/powerpc/fpu/math_private.h: Likewise.
27403 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27404
4e234f5d 27405 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
27406 and <math_private.h>.
27407 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27408 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27409 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27410 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27411 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27412 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
27413 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27414 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27415 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27416 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27417 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27418 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27419 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27420 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27421 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27422 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27423 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27424 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27425 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27426 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27427 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27428 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27429 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27430 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27431 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27432 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27433 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27434 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27435 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27436 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27437 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27438 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27439 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27440 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27441 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27442 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27443 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27444 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27445 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27446 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27447 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
27448 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27449 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27450 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27451 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27452 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27453 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
27454 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27455 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27456 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27457 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27458 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
27459 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27460 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27461 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27462 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27463 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27464 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27465 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27466 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
27467 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27468 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27469 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27470 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27471 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
27472 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27473 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27474 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27475 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
27476 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
27477 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27478 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27479 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27480 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27481 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
27482 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
27483 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
27484 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27485 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
27486 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
27487 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27488 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
27489 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27490 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27491 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27492 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
27493 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
27494 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
27495 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27496 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27497 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27498 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27499 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27500 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27501 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27502 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27503 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27504 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27505 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27506 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27507 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27508 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27509 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27510 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27511 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27512 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27513 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27514 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27515 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27516 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27517 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27518 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27519 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27520 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27521 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
27522 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27523 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27524 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27525 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27526 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27527 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27528 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27529 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27530 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
27531 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27532 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27533 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27534 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
27535 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27536 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
27537 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
27538 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27539 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27540 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
27541 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
27542 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27543 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27544 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27545 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
27546 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27547 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27548 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27549 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27550 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
27551 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
27552 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27553 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27554 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27555 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
27556 * sysdeps/ieee754/k_standard.c: Likewise.
27557 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27558 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27559 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27560 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27561 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27562 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27563 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27564 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27565 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27566 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27567 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27568 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27569 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27570 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27571 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27572 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27573 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27574 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27575 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27576 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
27577 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
27578 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
27579 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27580 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27581 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27582 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
27583 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27584 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27585 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27586 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27587 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27588 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27589 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27590 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27591 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27592 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27593 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27594 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
27595 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
27596 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27597 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27598 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27599 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27600 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27601 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27602 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27603 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27604 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27605 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27606 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27607 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27608 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27609 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27610 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
27611 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27612 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27613 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
27614 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
27615 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27616 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27617 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27618 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27619 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27620 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27621 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27622 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27623 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27624 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27625 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27626 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27627 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27628 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27629 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27630 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27631 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27632 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27633 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
27634 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27635 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27636 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27637 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27638 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27639 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27640 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27641 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
27642 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27643 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27644 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
27645 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27646 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27647 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
27648 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27649 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
27650 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27651 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27652 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27653 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
27654 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
27655 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
27656 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
27657 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27658 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27659 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27660 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27661 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
27662 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27663 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27664 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
27665 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
27666 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27667 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27668 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27669 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27670 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27671 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27672 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27673 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27674 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27675 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27676 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27677 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27678 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27679 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27680 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27681 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27682 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
27683 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27684 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27685 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27686 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27687 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27688 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27689 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27690 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
27691 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27692 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27693 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
27694 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
27695 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27696 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
27697 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
27698 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27699 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
27700 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
27701 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27702 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27703 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27704 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27705 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27706 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
27707 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27708 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27709 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27710 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27711 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
27712 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
27713 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27714 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27715 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27716 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
27717 * sysdeps/ieee754/s_lib_version.c: Likewise.
27718 * sysdeps/ieee754/s_matherr.c: Likewise.
27719 * sysdeps/ieee754/s_signgam.c: Likewise.
27720 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27721 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27722 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
27723 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
27724 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
27725 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27726 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
27727 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
27728 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
27729 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
27730 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27731 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
27732 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27733 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27734 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
27735 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27736 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27737 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27738 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27739 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27740 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 27741
1991fa03
JM
277422012-03-09 Joseph Myers <joseph@codesourcery.com>
27743
27744 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
27745 * sunrpc/rpc_main.c: Likewise.
27746 * sunrpc/rpc_svcout.c: Likewise.
27747
60d6f5a6
DM
277482012-03-09 David S. Miller <davem@davemloft.net>
27749
27750 * include/math_private.h: New file.
27751
4962050e
JM
277522012-03-09 Joseph Myers <joseph@codesourcery.com>
27753
02a6f887
JM
27754 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
27755 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
27756 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
27757 from <bits/socket_type.h>.
27758 (enum __socket_type): Don't define here.
27759 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
27760 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27761 bits/socket_type.h.
27762
c6e013c1
JM
27763 [BZ #13566]
27764 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
27765 checking __USE_GNU.
27766
4962050e
JM
27767 * Makerules ($(inst_includedir)/%.h): New rule.
27768 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
27769 (install-others): Remove variable setting.
27770 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
27771
38842f45
RH
277722012-03-08 Richard Henderson <rth@twiddle.net>
27773
67bb6da6
RH
27774 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
27775 from macro to inline function; merge with the
27776 !__LIBC_INTERNAL_MATH_INLINES version.
27777 (__ieee754_sqrtf): Likewise.
27778
15194b4b
RH
27779 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
27780 to inline function.
27781 (__rintf, __floor, __floorf): Likewise.
27782
64e21ede
RH
27783 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
27784 macro to inline function.
27785 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
27786
38842f45
RH
27787 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
27788 not <math/math_private.h>.
27789
c64bf5fe
DM
277902012-03-08 David S. Miller <davem@davemloft.net>
27791
27792 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
27793 copyright year.
27794 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
27795
82d86f28
TS
277962012-03-08 Thomas Schwinge <thomas@codesourcery.com>
27797
27798 * resolv/gai_misc.c (handle_requests): Fix struct timespec
27799 normalization.
27800 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
27801 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
27802
aea5d727
UD
278032012-03-08 Ulrich Drepper <drepper@gmail.com>
27804
27805 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
27806 be defined individually, they must be defined as a block. Define
27807 S for printing a string instead of hidint the different by using a
27808 macro for adding the 'l'.
27809 * stdio-common/tst-fphex-wide.c: Adjust.
27810
70bca0a3
MP
278112012-03-07 Marek Polacek <polacek@redhat.com>
27812
27813 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
27814
65b81130
MP
278152012-03-08 Marek Polacek <polacek@redhat.com>
27816
27817 [BZ #13806]
27818 * stdio-common/Makefile (tests): Add tst-fphex-wide.
27819 * stdio-common/tst-fphex.c: Define a few macros to make the
27820 test reusable. Use them.
27821 * stdio-common/tst-fphex-wide.c: New file.
27822
07037eeb
JM
278232012-03-08 Joseph Myers <joseph@codesourcery.com>
27824
a7a93d50
JM
27825 [BZ #6911]
27826 * manual/macros.texi (gnusystems): New macro.
27827 (nongnusystems): Likewise.
27828 (gnulinuxhurdsystems): Likewise.
27829 (gnuhurdsystems): Likewise..
27830 (gnulinuxsystems): Likewise.
27831 * manual/charset.texi: Use new macros or @theglibc{} to refer to
27832 variants of the GNU system, not "GNU system".
27833 * manual/conf.texi: Likewise.
27834 * manual/errno.texi: Likewise. Update example of errno macro
27835 expansion.
27836 * manual/filesys.texi: Likewise.
27837 (getumask): Document as specific to GNU/Hurd.
27838 * manual/install.texi: Likewise. Reword some references to
27839 GNU/Linux.
27840 * manual/intro.texi: Likewise.
27841 * manual/io.texi: Likewise.
27842 (File Name Portability): Detail which constraints are inapplicable
27843 to all GNU systems and which are only inapplicable to GNU/Hurd.
27844 * manual/job.texi: Likewise.
27845 * manual/llio.texi: Likewise.
27846 (O_NOCTTY): Document as present on GNU/Linux.
27847 * manual/maint.texi: Likewise.
27848 * manual/memory.texi: Likewise.
27849 * manual/pattern.texi: Likewise.
27850 * manual/pipe.texi: Likewise.
27851 * manual/process.texi: Likewise.
27852 * manual/resource.texi: Likewise.
27853 (RUSAGE_CHILDREN): Remove statement about specifying a particular
27854 child on GNU/Hurd.
27855 * manual/setjmp.texi: Likewise.
27856 * manual/signal.texi: Likewise.
27857 * manual/startup.texi: Likewise.
27858 * manual/stdio.texi: Likewise.
27859 * manual/terminal.texi: Likewise.
27860 (ONLCR): Document as POSIX.
27861 (OXTABS): Document availability on GNU/Linux as XTABS.
27862 (ONOEOT): Document availability separately from other bits.
27863 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
27864 * manual/time.texi: Likewise.
27865 * manual/users.texi: Likewise.
27866 * INSTALL: Regenerated.
27867 * sysdeps/gnu/errlist.c: Regenerated.
27868
07037eeb
JM
27869 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
27870 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
27871 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
27872 puts.
27873 * configure: Regenerated.
27874
d1d3431a
JM
278752012-03-07 Joseph Myers <joseph@codesourcery.com>
27876
af6a1e37
JM
27877 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
27878 default includes instead of AC_HEADER_CHECK.
27879 * sysdeps/i386/configure: Regenerated.
27880
d1d3431a
JM
27881 [BZ #10716]
27882 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
27883 * math/s_cacoshf.c (__cacoshf): Likewise.
27884 * math/s_cacoshl.c (__cacoshl): Likewise.
27885 * math/s_casinh.c (__casinh): Set signs of result from argument.
27886 * math/s_casinhf.c (__casinhf): Likewise.
27887 * math/s_casinhl.c (__casinhl): Likewise.
27888 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
27889 (casinh_test): Add more tests.
27890 * sysdeps/i386/fpu/libm-test-ulps: Update.
27891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27892
482ff4da
UD
278932012-03-07 Ulrich Drepper <drepper@gmail.com>
27894
872fda05
UD
27895 * po/zh_TW.po: Update from translation team.
27896
a4300c7a
UD
27897 * login/Makefile (distribute): Remove variable.
27898 * catgets/Makefile: Likewise.
27899 * mach/Makefile: Likewise.
27900 * malloc/Makefile: Likewise.
27901 * misc/Makefile: Likewise.
27902 * iconv/Makefile: Likewise.
27903 * nscd/Makefile: Likewise.
27904 * hurd/Makefile: Likewise.
27905 * manual/Makefile: Likewise.
27906 * locale/Makefile: Likewise.
27907 * intl/Makefile: Likewise.
27908 * conform/Makefile: Likewise.
27909 * nss/Makefile: Likewise.
27910 * time/Makefile: Likewise.
27911 * soft-fp/Makefile: Likewise.
27912 * dirent/Makefile: Likewise.
27913 * gmon/Makefile: Likewise.
27914 * po/Makefile: Likewise.
27915 * rt/Makefile: Likewise.
27916 * socket/Makefile: Likewise.
27917 * math/Makefile: Likewise.
27918 * signal/Makefile: Likewise.
27919 * debug/Makefile: Likewise.
27920 * elf/Makefile: Likewise.
27921 * timezone/Makefile: Likewise.
27922 * stdlib/Makefile: Likewise.
27923 * iconvdata/Makefile: Likewise.
27924 * sunrpc/Makefile: Likewise.
27925 * io/Makefile: Likewise.
27926 * argp/Makefile: Likewise.
27927 * inet/Makefile: Likewise.
27928 * hesiod/Makefile: Likewise.
27929 * grp/Makefile: Likewise.
27930 * csu/Makefile: Likewise.
27931 * wctype/Makefile: Likewise.
27932 * crypt/Makefile: Likewise.
27933 * libio/Makefile: Likewise.
27934 * string/Makefile: Likewise.
27935 * nis/Makefile: Likewise.
27936 * resolv/Makefile: Likewise.
27937 * stdio-common/Makefile: Likewise.
27938 * wcsmbs/Makefile: Likewise.
27939 * dlfcn/Makefile: Likewise.
27940 * posix/Makefile: Likewise.
27941
3b7c4e74 27942 [BZ #6959]
482ff4da
UD
27943 * timezone/Makefile: Don't install timezone files, just the programs
27944 and scripts.
27945
f72ed77d
UD
279462012-03-06 Ulrich Drepper <drepper@gmail.com>
27947
a000466f
UD
27948 * nss/databases.def: Add missing gshadow entry.
27949
f72ed77d
UD
27950 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
27951
a53b7a4e
MP
279522012-03-06 Marek Polacek <polacek@redhat.com>
27953
27954 [BZ #13726]
27955 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
27956 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
27957 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
27958 * stdio-common/tst-long-dbl-fphex.c: New file.
27959
e9258400
DM
279602012-03-06 David S. Miller <davem@davemloft.net>
27961
27962 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27963 (set_obp_int): New function.
27964 (get_obp_int): New function.
27965 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
27966 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
27967 Avoid unused variable warnings on 'val' and use builtin_expect.
27968 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
27969 __builtin_expect.
e9258400
DM
27970 (INLINE_CLONE_SYSCALL): Likewise.
27971
3bd2c723
DM
279722012-03-05 David S. Miller <davem@davemloft.net>
27973
27974 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27975
bbb78d03
AS
279762012-03-05 Andreas Schwab <schwab@linux-m68k.org>
27977
884c5db4
AS
27978 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27979
bbb78d03
AS
27980 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
27981 only for |x| >= 40.
27982 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27983
1c9f702a 279842012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
27985
27986 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
27987 Replace gettimeofday with __vdso_gettimeofday.
27988
7be16f82
RM
27989 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27990 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
27991 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
27992
27993 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
27994 time with __vdso_time.
27995
ed58a00f
JM
279962012-03-05 Joseph Myers <joseph@codesourcery.com>
27997
27998 * manual/lang.texi (size_t): Note types to which size_t may be
27999 equivalent with the GNU C Library, but do not describe when
28000 differences between them are significant.
28001
30ee4ced
AJ
280022012-03-05 Andreas Jaeger <aj@suse.de>
28003
28004 * sysdeps/i386/fpu/libm-test-ulps: Update.
28005
b7cd39e8
JM
280062012-03-05 Joseph Myers <joseph@codesourcery.com>
28007
28008 [BZ #3976]
28009 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
28010 (__ieee754_pow): Save and restore rounding mode and use
28011 round-to-nearest for main computations.
28012 * math/libm-test.inc (pow_test_tonearest): New function.
28013 (pow_test_towardzero): Likewise.
28014 (pow_test_downward): Likewise.
28015 (pow_test_upward): Likewise.
28016 (main): Call the new functions.
28017 * sysdeps/i386/fpu/libm-test-ulps: Update.
28018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
28019
28020 [BZ #3976]
28021 * math/libm-test.inc (cosh_test_tonearest): New function.
28022 (cosh_test_towardzero): Likewise.
28023 (cosh_test_downward): Likewise.
28024 (cosh_test_upward): Likewise.
28025 (sinh_test_tonearest): Likewise.
28026 (sinh_test_towardzero): Likewise.
28027 (sinh_test_downward): Likewise.
28028 (sinh_test_upward): Likewise.
28029 (main): Call the new functions.
28030 * sysdeps/i386/fpu/libm-test-ulps: Update.
28031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28032
6c6a98c9
TV
280332012-03-05 Tom de Vries <tom@codesourcery.com>
28034
28035 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
28036 default stack guard is set in last bytes.
28037 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
28038
21bb2d2e 280392012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 28040
21bb2d2e 28041 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 28042
21bb2d2e
AJ
28043 [BZ #13656]
28044 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
28045 possibly allocate from heap instead of stack.
28046 * stdio-common/bug-vfprintf-nargs.c: New file.
28047 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 28048
c6922934
AS
280492012-03-03 Andreas Schwab <schwab@linux-m68k.org>
28050
28051 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28052
bc957d53
MP
280532012-03-03 Marek Polacek <polacek@redhat.com>
28054
28055 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
28056 * math/math_private.h: Likewise.
28057 * stdlib/tst-strtod.c: Likewise.
28058 * sysdeps/i386/i486/bits/atomic.h: Likewise.
28059 * sysdeps/x86_64/bits/atomic.h: Likewise.
28060
6358490d
DM
280612012-03-02 David S. Miller <davem@davemloft.net>
28062
28063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
28064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
28065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
28066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
28067 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
28068 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
28069 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
28070 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
28071
01ae168d
RM
280722012-03-02 Roland McGrath <roland@hack.frob.com>
28073
d9a17c07
RM
28074 [BZ #13792]
28075 * manual/examples/README: New file, says the example source files
28076 can be used under GPL>=2.
28077 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
28078 line containing just "*/".
28079 * manual/examples/add.c: Add copyright header (GPL>=2).
28080 * manual/examples/argp-ex1.c: Likewise.
28081 * manual/examples/argp-ex2.c: Likewise.
28082 * manual/examples/argp-ex3.c: Likewise.
28083 * manual/examples/argp-ex4.c: Likewise.
28084 * manual/examples/atexit.c: Likewise.
28085 * manual/examples/db.c: Likewise.
28086 * manual/examples/dir.c: Likewise.
28087 * manual/examples/dir2.c: Likewise.
28088 * manual/examples/execinfo.c: Likewise.
28089 * manual/examples/filecli.c: Likewise.
28090 * manual/examples/filesrv.c: Likewise.
28091 * manual/examples/fmtmsgexpl.c: Likewise.
28092 * manual/examples/genpass.c: Likewise.
28093 * manual/examples/inetcli.c: Likewise.
28094 * manual/examples/inetsrv.c: Likewise.
28095 * manual/examples/isockad.c: Likewise.
28096 * manual/examples/longopt.c: Likewise.
28097 * manual/examples/memopen.c: Likewise.
28098 * manual/examples/memstrm.c: Likewise.
28099 * manual/examples/mkfsock.c: Likewise.
28100 * manual/examples/mkisock.c: Likewise.
28101 * manual/examples/mygetpass.c: Likewise.
28102 * manual/examples/pipe.c: Likewise.
28103 * manual/examples/popen.c: Likewise.
28104 * manual/examples/rprintf.c: Likewise.
28105 * manual/examples/search.c: Likewise.
28106 * manual/examples/select.c: Likewise.
28107 * manual/examples/setjmp.c: Likewise.
28108 * manual/examples/sigh1.c: Likewise.
28109 * manual/examples/sigusr.c: Likewise.
28110 * manual/examples/stpcpy.c: Likewise.
28111 * manual/examples/strdupa.c: Likewise.
28112 * manual/examples/strftim.c: Likewise.
28113 * manual/examples/strncat.c: Likewise.
28114 * manual/examples/subopt.c: Likewise.
28115 * manual/examples/swapcontext.c: Likewise.
28116 * manual/examples/termios.c: Likewise.
28117 * manual/examples/testopt.c: Likewise.
28118 * manual/examples/testpass.c: Likewise.
28119 * manual/examples/timeval_subtract.c: Likewise.
28120
01ae168d
RM
28121 [BZ #13792]
28122 * manual/time.texi (Elapsed Time): Move timeval_subtract example
28123 function to ...
28124 * manual/timeval_subtract.c.texi: ... here, new file.
28125
49efa33d
DM
281262012-03-02 David S. Miller <davem@davemloft.net>
28127
28128 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
28129
28afd92d
JM
281302012-03-02 Joseph Myers <joseph@codesourcery.com>
28131
804360ed
JM
28132 [BZ #3976]
28133 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
28134 (__sin): Save and restore rounding mode and use round-to-nearest
28135 for all computations.
28136 (__cos): Save and restore rounding mode and use round-to-nearest
28137 for all computations.
28138 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
28139 <fenv.h>.
28140 (tan): Save and restore rounding mode and use round-to-nearest for
28141 all computations.
28142 * math/libm-test.inc (cos_test_tonearest): New function.
28143 (cos_test_towardzero): Likewise.
28144 (cos_test_downward): Likewise.
28145 (cos_test_upward): Likewise.
28146 (sin_test_tonearest): Likewise.
28147 (sin_test_towardzero): Likewise.
28148 (sin_test_downward): Likewise.
28149 (sin_test_upward): Likewise.
28150 (tan_test_tonearest): Likewise.
28151 (tan_test_towardzero): Likewise.
28152 (tan_test_downward): Likewise.
28153 (tan_test_upward): Likewise.
28154 (main): Call the new functions.
28155 * sysdeps/i386/fpu/libm-test-ulps: Update.
28156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28157
a6d06d7b
JM
28158 [BZ #10135]
28159 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
28160 small n, then large n, before computing and testing k+n.
28161 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
28162 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
28163 Likewise.
28164 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
28165 Likewise.
28166 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
28167 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
28168 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
28169 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
28170 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28171 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28172 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
28173 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
28174 * math/libm-test.inc (scalbn_test): Add more tests.
28175 (scalbln_test): Likewise.
28176
07e12bb3
JM
28177 * manual/filesys.texi (mode_t): Describe constraints on size and
28178 signedness, not exact equivalence to a particular type.
28179 (ino_t): Likewise.
28180 (ino64_t): Likewise.
28181 (dev_t): Likewise.
28182 (nlink_t): Likewise.
28183 (blkcnt_t): Likewise.
28184 (blkcnt64_t): Likewise.
28185 * manual/llio.texi (off_t): Likewise.
28186
28afd92d
JM
28187 [BZ #3976]
28188 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
28189 (__ieee754_exp): Save and restore rounding mode and use
28190 round-to-nearest for all computations.
28191 * math/libm-test.inc (exp_test_tonearest): New function.
28192 (exp_test_towardzero): Likewise.
28193 (exp_test_downward): Likewise.
28194 (exp_test_upward): Likewise.
28195 (main): Call the new functions.
28196 * sysdeps/i386/fpu/libm-test-ulps: Update.
28197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28198
b1eeb65d
CD
281992012-03-01 Chris Demetriou <cgd@google.com>
28200
28201 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
28202 have predictable order.
28203
53362a4b
DM
282042012-03-01 David S. Miller <davem@davemloft.net>
28205
3c969083
DM
28206 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
28207
759707de
DM
28208 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
28209 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
28210 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
28211 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
28212
dfdb8ff2
DM
28213 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
28214 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
28215 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
28216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
28217 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
28218 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
28219 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
28220 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
28221 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
28222
ead89f96
DM
28223 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28224
7f66bd07
DM
28225 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
28226 * sysdeps/sparc/fpu/libm-test-ulps: to here.
28227 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
28228
53362a4b
DM
28229 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
28230 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28231 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28232 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
28233 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
28234 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
28235 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
28236 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28237 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28238 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
28239 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
28240 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28241 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28242 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28243 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28244 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28245 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
28246 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
28247 * sysdeps/sparc/elf/configure: Regenerated.
28248
7b1902cb
JM
282492012-03-01 Joseph Myers <joseph@codesourcery.com>
28250
bec039bc
JM
28251 * configure.in (AS, LD): Require binutils 2.20 or later.
28252 * configure: Regenerated.
28253 * manual/install.texi (Tools for Compilation): Give binutils 2.20
28254 as required minimum version.
28255 * INSTALL: Regenerated.
28256
7b1902cb
JM
28257 [BZ #2541]
28258 [BZ #4108]
28259 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
28260 before squaring exponent.
28261 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
28262 bottom long double and 27 bits of top long double before squaring
28263 exponent.
28264 * math/libm-test.inc (erfc_test): Add more tests.
28265 * sysdeps/i386/fpu/libm-test-ulps: Update.
28266 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28268
f775c276
KT
282692012-03-01 Kai Tietz <ktietz@redhat.com>
28270
28271 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
28272 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
28273 containing bit-fields.
28274 * soft-fp/extended.h (_FP_UNION_E): Likewise.
28275 * soft-fp/single.h (_FP_UNION_S): Likewise.
28276 * soft-fp/double.h (_FP_UNION_D): Likewise.
28277
5b8a4d4a
JM
282782012-02-29 Joseph Myers <joseph@codesourcery.com>
28279
0bab47b6
JM
28280 [BZ #13786]
28281 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
28282 not include ../strcmp.S.
28283 [USE_AS_STRNCASECMP_L]: Likewise.
28284 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
28285 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
28286 * sysdeps/i386/i686/multiarch/strncase_l-c.c
28287 (__strncasecmp_l_ia32): Define as alias to
28288 __strncasecmp_l_nonascii.
28289
0fcad3e2
JM
28290 [BZ #5794]
28291 * math/libm-test.inc (expm1_test): Add test for bug 5794.
28292 * sysdeps/i386/fpu/libm-test-ulps: Update.
28293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28294
5b8a4d4a
JM
28295 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
28296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28297
8fdceb2e
JL
282982012-02-29 Jeff Law <law@redhat.com>
28299
28300 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
28301 out of bounds read.
28302
1f393a11
MP
283032012-02-29 Marek Polacek <polacek@redhat.com>
28304
28305 [BZ #13706]
28306 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
28307 * elf/Makefile: Add rules to run tst-unused-dep.out.
28308
8847f037
DM
283092012-02-28 David S. Miller <davem@davemloft.net>
28310
28311 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
28312 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
28313 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
28314 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
28315 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
28316 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
28317
169d7f11
JM
283182012-02-29 Joseph Myers <joseph@codesourcery.com>
28319
28320 * math/libm-test.inc (llround_test): Move one test from
28321 lround_test. Use TEST_f_L in moved test.
28322 (lround_test): Move misplaced test to llround_test. Add testcase
28323 from bug 2561.
28324
39adf059
UD
283252012-02-28 Ulrich Drepper <drepper@gmail.com>
28326
28327 * sysdeps/x86_64/fpu/e_expf.S: New file.
28328 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
28329
71b5d1c5
SB
283302012-02-28 Stanislav Brabec <sbrabec@suse.cz>
28331
28332 [BZ #13637]
28333 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
28334 of remain_len that may cause incomplete multi-byte character and
28335 false match.
28336 * posix/bug-regex33.c: New file.
28337 * posix/Makefile (tests): Add bug-regex33.
28338
1f77f049
JM
283392012-02-28 Joseph Myers <joseph@codesourcery.com>
28340
28341 * manual/macros.texi: New file.
28342 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
28343 * manual/libc.texinfo: Include macros.texi.
28344 * manual/creatute.texi: Likewise.
28345 * manual/install.texi: Likewise.
28346 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
28347 @glibcadj{} in references to the GNU C Library.
28348 * manual/charset.texi: Likewise.
28349 * manual/conf.texi: Likewise.
28350 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
28351 when not using those macros.
28352 * manual/creature.texi: Likewise.
28353 * manual/crypt.texi: Likewise.
28354 * manual/errno.texi: Likewise.
28355 * manual/filesys.texi: Likewise.
28356 * manual/header.texi: Likewise.
28357 * manual/install.texi: Likewise.
28358 * manual/intro.texi: Likewise.
28359 * manual/io.texi: Likewise.
28360 * manual/job.texi: Likewise.
28361 * manual/lang.texi: Likewise.
28362 * manual/libc.texiinfo: Likewise.
28363 * manual/llio.texi: Likewise.
28364 * manual/locale.texi: Likewise.
28365 * manual/maint.texi: Likewise.
28366 * manual/math.texi: Likewise.
28367 * manual/memory.texi: Likewise.
28368 * manual/message.texi: Likewise.
28369 * manual/nss.texi: Likewise.
28370 * manual/pattern.texi: Likewise.
28371 * manual/process.texi: Likewise.
28372 * manual/resource.texi: Likewise.
28373 * manual/search.texi: Likewise.
28374 * manual/setjmp.texi: Likewise.
28375 * manual/signal.texi: Likewise.
28376 * manual/socket.texi: Likewise.
28377 * manual/startup.texi: Likewise.
28378 * manual/stdio.texi: Likewise.
28379 * manual/string.texi: Likewise.
28380 * manual/sysinfo.texi: Likewise.
28381 * manual/syslog.texi: Likewise.
28382 * manual/terminal.texi: Likewise.
28383 * manual/time.texi: Likewise.
28384 * manual/users.texi: Likewise.
28385 * INSTALL: Regenerated.
28386 * NOTES: Regenerated.
d40c5d54 28387 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 28388
450bf206
AS
283892012-02-28 Andreas Schwab <schwab@linux-m68k.org>
28390
28391 * include/dirent.h: Include <dirstream.h> before
28392 <dirent/dirent.h>.
28393
741a235b
DM
283942012-02-28 David S. Miller <davem@davemloft.net>
28395
28396 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
28397 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
28398 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
28399 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
28400
d6b5aa58
DM
284012012-02-27 David S. Miller <davem@davemloft.net>
28402
1aff59a3
DM
28403 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
28404 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
28405 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
28406 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
28407
d6b5aa58
DM
28408 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
28409 frame pointer instead of stack pointer relative arg slot.
28410 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28411 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28412 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28413
433f48bf
CD
284142012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
28415
28416 [BZ #3992]
28417 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
28418
d674b76d
DM
284192012-02-27 David S. Miller <davem@davemloft.net>
28420
28421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
28422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28423 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
28425 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28426 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28427 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
28428 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
28429
0e7727f7
JM
284302012-02-27 Joseph Myers <joseph@codesourcery.com>
28431
28432 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
28433 later. Allow versions 5-9.
43be4ca2 28434 * configure: Regenerated.
0e7727f7
JM
28435 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
28436 required minimum version and 4.6 as recommended version. Do not
28437 mention bugs in GCC 2.7 and 2.8.
43be4ca2 28438 * INSTALL: Regenerated.
0e7727f7 28439
a78bc654
DM
284402012-02-27 David S. Miller <davem@davemloft.net>
28441
428d5830
DM
28442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
28443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
28444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
28445 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
28446 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
28447 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
28448 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
28449 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
28450
a78bc654
DM
28451 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
28452 manipulate bits before adding and subtracting TWO112[sx].
28453 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28454
4579f81c
RM
284552012-02-27 Roland McGrath <roland@hack.frob.com>
28456
36c8acb4
RM
28457 [BZ #13775]
28458 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
28459 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
28460 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
28461 being in POSIX, because they are in 1003.1-2008.
28462
84ad622b
RM
28463 * rt/tst-aio.c: Include <fcntl.h>.
28464 * rt/tst-aio7.c: Likewise.
28465 * rt/tst-aio64.c: Likewise.
28466
4579f81c
RM
28467 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
28468
abd923db
JM
284692012-02-27 Joseph Myers <joseph@codesourcery.com>
28470
28471 * manual/install.texi (--with-headers): Describe headers as
28472 interface headers, not private headers.
28473 (Specific advice for GNU/Linux systems): Describe use of headers
28474 from "make headers_install", not private headers from older
28475 kernels.
43be4ca2 28476 * INSTALL: Regenerated.
abd923db
JM
28477 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
28478 Change to 2.6.19.
28479 * sysdeps/unix/sysv/linux/configure: Regenerated.
28480
6664049b
JM
28481 * manual/llio.texi (fclean): Remove documentation.
28482
bb8b6697
JM
28483 * manual/Makefile (libc-texi-generated): New variable. Include
28484 version.texi.
28485 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
28486 $(libc-texi-generated), not duplicated list of files.
28487 (version.texi, stamp-version): New rules.
28488 (realclean): Remove $(libc-texi-generated), not individual files
28489 from that list. Do not remove dir-add.texinfo.
28490 * manual/libc.texinfo: Comment out uses of edition numbers and
28491 references to printed manual. Remove last-updated dates.
28492 (EDITION): Comment out.
28493 (ISBN): Likewise.
28494 (VERSION, UPDATED): Remove.
28495 (version.texi): Include.
28496
12e5c3b9
AS
284972012-02-27 Andreas Schwab <schwab@linux-m68k.org>
28498
28499 * sysdeps/posix/spawni.c: Include <signal.h>.
28500 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
28501 * sysdeps/pthread/aio_fsync.c: Likewise.
28502
4efeffc1 285032012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 28504
ba63ba08
UD
28505 * conform/Makefile (tests): Run only when not cross-compiling and
28506 when fast-check is not defined.
28507
d94a4670
UD
28508 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
28509 * conform/data/limits.h-data: Fixes for POSIX2008.
28510 * conform/run-conformtest.sh: Run all tests.
28511 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
28512 headers.
28513 * include/bits/dlfcn.h: Likewise.
28514 * include/langinfo.h: Likewise.
28515 * include/monetary.h: Likewise.
28516 * include/sys/poll.h: Likewise.
28517
28518 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
28519 for __USE_GNU.
28520 * posix/spawn.h: Define __need_sigset_t.
28521 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
28522 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
28523 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
28524 to get sigevent_t only.
28525 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
28526 only for __USE_GNU.
28527 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28528 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28529 process_vm_writev only for __USE_GNU.
28530 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
28531
28532 * conform/Makefile: For now ignore errors from run-conformtest.
28533 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
28534 POSIX to avoid namespace pollution. Don't prepend headers.
28535 * conform/data/aio.h-data: Fixes for POSIX testing.
28536 * conform/data/fcntl.h-data: Likewise.
28537 * conform/data/glob.h-data: Likewise.
28538 * conform/data/grp.h-data: Likewise.
28539 * conform/data/pthread.h-data: Likewise.
28540 * conform/data/pwd.h-data: Likewise.
28541 * conform/data/signal.h-data: Likewise.
28542 * conform/data/spawn.h-data: Likewise.
28543 * conform/data/stdio.h-data: Likewise.
28544 * conform/data/stdlib.h-data: Likewise.
28545 * conform/data/stropts.h-data: Likewise.
28546 * conform/data/sys/mman.h-data: Likewise.
28547 * conform/data/sys/stat.h-data: Likewise.
28548 * conform/data/sys/types.h-data: Likewise.
28549 * conform/data/sys/wait.h-data: Likewise.
28550 * conform/data/time.h-data: Likewise.
28551 * conform/data/unistd.h-data: Likewise.
28552 * conform/data/utime.h-data: Likewise.
28553
28554 * io/sys/stat.h: fchmod was always in POSIX.
28555 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
28556 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
28557 * rt/aio.h: Define __need_timespec before including <time.h>.
28558 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
28559 struct. Add forward declaration of pthread_attr_t and use it in
28560 sigevent.
28561 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28562 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28563 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
28564 always remove CLK_TCK definition.
28565
c20105c3
AS
285662012-02-26 Andreas Schwab <schwab@linux-m68k.org>
28567
28568 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
28569
7a270350
UD
285702012-02-25 Ulrich Drepper <drepper@gmail.com>
28571
31341567
UD
28572 * conform/run-conformtest.sh: New file.
28573 * conform/Makefile: Run run-conformtest for tests.
28574 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
28575 support.
28576
28577 * conform/data/uchar.h-data: New file.
28578 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
28579 * conform/data/arpa/inet.h-data: Likewise.
28580 * conform/data/assert.h-data: Likewise.
28581 * conform/data/complex.h-data: Likewise.
28582 * conform/data/cpio.h-data: Likewise.
28583 * conform/data/ctype.h-data: Likewise.
28584 * conform/data/dirent.h-data: Likewise.
28585 * conform/data/dlfcn.h-data: Likewise.
28586 * conform/data/errno.h-data: Likewise.
28587 * conform/data/fcntl.h-data: Likewise.
28588 * conform/data/float.h-data: Likewise.
28589 * conform/data/fmtmsg.h-data: Likewise.
28590 * conform/data/fnmatch.h-data: Likewise.
28591 * conform/data/ftw.h-data: Likewise.
28592 * conform/data/glob.h-data: Likewise.
28593 * conform/data/grp.h-data: Likewise.
28594 * conform/data/iconv.h-data: Likewise.
28595 * conform/data/inttypes.h-data: Likewise.
28596 * conform/data/langinfo.h-data: Likewise.
28597 * conform/data/libgen.h-data: Likewise.
28598 * conform/data/limits.h-data: Likewise.
28599 * conform/data/locale.h-data: Likewise.
28600 * conform/data/math.h-data: Likewise.
28601 * conform/data/monetary.h-data: Likewise.
28602 * conform/data/mqueue.h-data: Likewise.
28603 * conform/data/ndbm.h-data: Likewise.
28604 * conform/data/net/if.h-data: Likewise.
28605 * conform/data/netdb.h-data: Likewise.
28606 * conform/data/netinet/in.h-data: Likewise.
28607 * conform/data/nl_types.h-data: Likewise.
28608 * conform/data/poll.h-data: Likewise.
28609 * conform/data/pthread.h-data: Likewise.
28610 * conform/data/pwd.h-data: Likewise.
28611 * conform/data/regex.h-data: Likewise.
28612 * conform/data/sched.h-data: Likewise.
28613 * conform/data/search.h-data: Likewise.
28614 * conform/data/semaphore.h-data: Likewise.
28615 * conform/data/setjmp.h-data: Likewise.
28616 * conform/data/signal.h-data: Likewise.
28617 * conform/data/spawn.h-data: Likewise.
28618 * conform/data/stdarg.h-data: Likewise.
28619 * conform/data/stdio.h-data: Likewise.
28620 * conform/data/stdlib.h-data: Likewise.
28621 * conform/data/string.h-data: Likewise.
28622 * conform/data/strings.h-data: Likewise.
28623 * conform/data/stropts.h-data: Likewise.
28624 * conform/data/sys/ipc.h-data: Likewise.
28625 * conform/data/sys/mman.h-data: Likewise.
28626 * conform/data/sys/msg.h-data: Likewise.
28627 * conform/data/sys/resource.h-data: Likewise.
28628 * conform/data/sys/select.h-data: Likewise.
28629 * conform/data/sys/sem.h-data: Likewise.
28630 * conform/data/sys/shm.h-data: Likewise.
28631 * conform/data/sys/socket.h-data: Likewise.
28632 * conform/data/sys/stat.h-data: Likewise.
28633 * conform/data/sys/statvfs.h-data: Likewise.
28634 * conform/data/sys/time.h-data: Likewise.
28635 * conform/data/sys/timeb.h-data: Likewise.
28636 * conform/data/sys/times.h-data: Likewise.
28637 * conform/data/sys/types.h-data: Likewise.
28638 * conform/data/sys/uio.h-data: Likewise.
28639 * conform/data/sys/un.h-data: Likewise.
28640 * conform/data/sys/utsname.h-data: Likewise.
28641 * conform/data/sys/wait.h-data: Likewise.
28642 * conform/data/syslog.h-data: Likewise.
28643 * conform/data/tar.h-data: Likewise.
28644 * conform/data/termios.h-data: Likewise.
28645 * conform/data/utime.h-data: Likewise.
28646 * conform/data/utmpx.h-data: Likewise.
28647 * conform/data/varargs.h-data: Likewise.
28648 * conform/data/wchar.h-data: Likewise.
28649 * conform/data/wctype.h-data: Likewise.
28650 * conform/data/wordexp.h-data: Likewise.
28651
28652 * include/stropts.h: New file.
28653 * include/uchar.h: New file.
28654 * include/aio.h: Changes to allow conformtest.pl to use the headers.
28655 * include/assert.h: Likewise.
28656 * include/ctype.h: Likewise.
28657 * include/dirent.h: Likewise.
28658 * include/dlfcn.h: Likewise.
28659 * include/fcntl.h: Likewise.
28660 * include/fnmatch.h: Likewise.
28661 * include/glob.h: Likewise.
28662 * include/grp.h: Likewise.
28663 * include/libio.h: Likewise.
28664 * include/locale.h: Likewise.
28665 * include/math.h: Likewise.
28666 * include/net/if.h: Likewise.
28667 * include/netdb.h: Likewise.
28668 * include/netinet/in.h: Likewise.
28669 * include/pthread.h: Likewise.
28670 * include/pwd.h: Likewise.
28671 * include/regex.h: Likewise.
28672 * include/sched.h: Likewise.
28673 * include/search.h: Likewise.
28674 * include/setjmp.h: Likewise.
28675 * include/signal.h: Likewise.
28676 * include/stdio.h: Likewise.
28677 * include/stdlib.h: Likewise.
28678 * include/string.h: Likewise.
28679 * include/sys/cdefs.h: Likewise.
28680 * include/sys/mman.h: Likewise.
28681 * include/sys/msg.h: Likewise.
28682 * include/sys/resource.h: Likewise.
28683 * include/sys/select.h: Likewise.
28684 * include/sys/socket.h: Likewise.
28685 * include/sys/stat.h: Likewise.
28686 * include/sys/statvfs.h: Likewise.
28687 * include/sys/time.h: Likewise.
28688 * include/sys/times.h: Likewise.
28689 * include/sys/uio.h: Likewise.
28690 * include/sys/utsname.h: Likewise.
28691 * include/sys/wait.h: Likewise.
28692 * include/termios.h: Likewise.
28693 * include/time.h: Likewise.
28694 * include/ulimit.h: Likewise.
28695 * include/unistd.h: Likewise.
28696 * include/utime.h: Likewise.
28697 * include/wchar.h: Likewise.
28698 * include/wctype.h: Likewise.
28699 * include/wordexp.h: Likewise.
28700
28701 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
28702
7a270350
UD
28703 * time/time.h: TIME_UTC must be a macro.
28704 Make timespec_get available for ISO C11 only as well.
28705
7724defc
UD
287062012-02-24 Ulrich Drepper <drepper@gmail.com>
28707
28708 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
28709 Reported by Peng Haitao <penght@cn.fujitsu.com>.
28710
6b1d1d46
JM
287112012-02-24 Joseph Myers <joseph@codesourcery.com>
28712
28713 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 28714
0f8bbd69
JM
287152012-02-24 Joseph Myers <joseph@codesourcery.com>
28716
28717 * manual/texinfo.tex: Update to version 2012-01-19.16.
28718
66ab80bc
JM
287192012-02-24 Joseph Myers <joseph@codesourcery.com>
28720
28721 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
28722
74981cc5
RM
287232012-02-24 Roland McGrath <roland@hack.frob.com>
28724
ee968201
RM
28725 [BZ #13738]
28726 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
28727 * manual/fdl-1.3.texi: New file.
28728 * manual/fdl-1.1.texi: File removed.
28729
74981cc5
RM
28730 [BZ #13738]
28731 * manual/libc.texinfo (FDL_VERSION): New @set.
28732 Use it for mention of FDL in cover text.
28733 (Documentation License): Use it in @include file name.
28734
7bb764bc
JM
287352012-02-22 Joseph Myers <joseph@codesourcery.com>
28736 Roland McGrath <roland@hack.frob.com>
28737
28738 [BZ #5461]
28739 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
28740 not LONG_LONG_MAX and LONG_LONG_MIN.
28741 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
28742 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
28743 name.
28744 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
28745
6cbeae47
JM
287462012-02-22 Joseph Myers <joseph@codesourcery.com>
28747
28748 [BZ #2547]
28749 [BZ #11365]
28750 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
28751 manipulate bits before adding and subtracting TWO23[sx].
28752 * math/libm-test.inc (nearbyint_test): Add more tests.
28753
fe45ce09
JM
287542012-02-22 Joseph Myers <joseph@codesourcery.com>
28755
28756 [BZ #2548]
28757 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
28758 bits before adding and subtracting TWO23[sx].
28759 * math/libm-test.inc (rint_test): Add more tests.
28760 (rint_test_tonearest): Likewise.
28761 (rint_test_towardzero): Likewise.
28762 (rint_test_downward): Likewise.
28763 (rint_test_upward: Likewise.
28764
ff3b3d82
JM
287652012-02-22 Joseph Myers <joseph@codesourcery.com>
28766
28767 [BZ #10110]
28768 * include/stdc-predef.h: New file. Extracted from features.h.
28769 * include/features.h: Include stdc-predef.h.
28770 * Makefile (headers): Add stdc-predef.h.
28771 * CONFORMANCE (Compiler limitations): Update.
28772
ef0aab35
JM
287732012-02-22 Joseph Myers <joseph@codesourcery.com>
28774
28775 * manual/libc.texinfo (VERSION, UPDATED): Revert.
28776
58639409
DM
287772012-02-21 David S. Miller <davem@davemloft.net>
28778
28779 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
28780 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28781
c0e70b25
DM
287822012-02-20 David S. Miller <davem@davemloft.net>
28783
28784 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
28785 using a normal save/restore sequence, rather than allocating a
28786 dummy stack frame just to store a frame pointer and restore.
28787 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28788
fb06851d
JM
287892012-02-21 Joseph Myers <joseph@codesourcery.com>
28790
28791 * manual/install.texi: Fix stray word in line-wrapped comment.
28792
7a8b71c3
DM
287932012-02-20 David S. Miller <davem@davemloft.net>
28794
d510c123
DM
28795 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
28796 both binutils and gcc support GOTDATA.
28797
0722d7c2
DM
28798 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
28799 "rd %pc" in the PIC register setup sequences.
28800
3d2b3019
DM
28801 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
28802 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
28803 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28804 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
28805 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28806 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28807 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28808 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28809 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
28810 (SYSCALL_ERROR_HANDLER): Likewise.
28811 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28812 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28813 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
28814 (SYSCALL_ERROR_HANDLER): Likewise.
28815
c80098a9
DM
28816 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
28817 (HAVE_GCC_GOTDATA): New.
28818 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
28819 relocation support in both binutils and gcc.
28820 * sysdeps/sparc/elf/configure: Regenerate.
28821
3a2545a0
DM
28822 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
28823 * sysdeps/sparc/sparc32/elf/configure: Delete.
28824 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
28825 * sysdeps/sparc/sparc64/elf/configure: Delete.
28826 * sysdeps/sparc/elf/configure.in: New file.
28827 * sysdeps/sparc/elf/configure: Generate.
28828
7a8b71c3
DM
28829 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
28830 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
28831 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28832 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
28833 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
28834
f1e86fca
JM
288352012-02-21 Joseph Myers <joseph@codesourcery.com>
28836
28837 * manual/install.texi: Do not mention specific glibc version
28838 numbers.
28839 * manual/libc.texinfo (VERSION, UPDATED): Update.
28840 (@copying): Use @copyright{} and range of years.
28841
0e7dfaef
JM
288422012-02-21 Joseph Myers <joseph@codesourcery.com>
28843
28844 [BZ #13695]
28845 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
28846 [crti.S not in sysdirs] (generated): Do not append.
28847 [crti.S not in sysdirs] (omit-deps): Likewise.
28848 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
28849 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
28850 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
28851 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
28852 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
28853 Likewise.
28854 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
28855 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
28856 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
28857 * csu/defs.awk: Remove file.
28858 * sysdeps/generic/initfini.c: Likewise.
28859 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
28860 variable.
28861 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
28862 Likewise.
28863
599af3ca
JM
288642012-02-20 Joseph Myers <joseph@codesourcery.com>
28865
28866 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
28867 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
28868 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
28869 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
28870 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28871 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
28872 <bits/epoll.h>.
28873 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
28874 (__EPOLL_PACKED): Define to empty if not defined by
28875 <bits/epoll.h>.
28876 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
28877 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28878 bits/epoll.h.
28879
0e499750
JM
288802012-02-20 Joseph Myers <joseph@codesourcery.com>
28881
28882 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
28883 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
28884 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
28885 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
28886 <bits/timerfd.h>.
28887 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
28888 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28889 bits/timerfd.h.
28890
5ad91f6e
JM
288912012-02-20 Joseph Myers <joseph@codesourcery.com>
28892
28893 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
28894 in C locale.
28895 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28896 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28897 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
28898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28899
06b99b02
AJ
289002012-02-20 Aurelien Jarno <aurelien@aurel32.net>
28901
28902 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28903 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28904
7638c0fd
AS
289052012-02-19 Andreas Schwab <schwab@linux-m68k.org>
28906
28907 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
28908 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
28909 defined.
28910 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
28911 Likewise.
28912 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
28913 entry for 2.16.
28914
92221550
AJ
289152012-02-19 Aurelien Jarno <aurelien@aurel32.net>
28916
28917 * math/w_acos.c: Use non-signaling floating-point comparisons.
28918 * math/w_acosf.c: Likewise.
28919 * math/w_acosh.c: Likewise.
28920 * math/w_acoshf.c: Likewise.
28921 * math/w_acoshl.c: Likewise.
28922 * math/w_acosl.c: Likewise.
28923 * math/w_asin.c: Likewise.
28924 * math/w_asinf.c: Likewise.
28925 * math/w_asinl.c: Likewise.
28926 * math/w_atanh.c: Likewise.
28927 * math/w_atanhf.c: Likewise.
28928 * math/w_atanhl.c: Likewise.
28929 * math/w_exp2.c: Likewise.
28930 * math/w_exp2f.c: Likewise.
28931 * math/w_exp2l.c: Likewise.
28932 * math/w_j0.c: Likewise.
28933 * math/w_j0f.c: Likewise.
28934 * math/w_j0l.c: Likewise.
28935 * math/w_j1.c: Likewise.
28936 * math/w_j1f.c: Likewise.
28937 * math/w_j1l.c: Likewise.
28938 * math/w_jn.c: Likewise.
28939 * math/w_jnf.c: Likewise.
28940 * math/w_log.c: Likewise.
28941 * math/w_log10.c: Likewise.
28942 * math/w_log10f.c: Likewise.
28943 * math/w_log10l.c: Likewise.
28944 * math/w_log2.c: Likewise.
28945 * math/w_log2f.c: Likewise.
28946 * math/w_log2l.c: Likewise.
28947 * math/w_logf.c: Likewise.
28948 * math/w_logl.c: Likewise.
28949 * math/w_sqrt.c: Likewise.
28950 * math/w_sqrtf.c: Likewise.
28951 * math/w_sqrtl.c: Likewise.
28952 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28953 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
28954 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28955 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28956 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28957
ebaf36eb
JM
289582012-02-19 Joseph Myers <joseph@codesourcery.com>
28959
28960 [BZ #9739]
28961 * manual/string.texi (strnlen): Use correct parameter name in
28962 equivalent expression.
28963
71c254a6
JM
289642012-02-19 Joseph Myers <joseph@codesourcery.com>
28965
28966 [BZ #11174]
28967 * manual/users.texi (seteuid): Consistently use neweuid for
28968 argument name.
28969
16d2c631
JM
289702012-02-19 Joseph Myers <joseph@codesourcery.com>
28971
28972 [BZ #13704]
28973 * manual/nss.texi (Services in the NSS configuration): Correct
28974 list of services in example configuration file.
28975
cd837b09
NB
289762012-02-19 Nick Bowler <nbowler@draconx.ca>
28977
28978 [BZ #11322]
28979 * manual/arith.texi: Remove statements about negative zero
28980 behaving identically to zero.
28981
02c4bbad
JM
289822012-02-18 Joseph Myers <joseph@codesourcery.com>
28983
28984 [BZ #5993]
28985 * manual/install.texi: Do not document upgrading from libc5.
28986
366842e7
JM
289872012-02-18 Joseph Myers <joseph@codesourcery.com>
28988
28989 [BZ #4596]
28990 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
28991
dd54084d
DM
289922012-02-18 David S. Miller <davem@davemloft.net>
28993
28994 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
28995 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
28996 %o7 across the call.
28997 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
28998 instead.
28999 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
29000 SETUP_PIC_REG_LEAF.
29001 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29002 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
29003 * sysdeps/sparc/crtn.S: Likewise.
29004
2bcc53a3
UD
290052012-02-17 Ulrich Drepper <drepper@gmail.com>
29006
29007 * aout/Makefile: Remove.
29008
09c093b5
RK
290092012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
29010
29011 [BZ #13058]
29012 * manual/examples/argp-ex1.c (main): Format definition in GNU
29013 style.
29014 * manual/examples/argp-ex2.c (main): Likewise.
29015 * manual/examples/argp-ex3.c (main): Likewise.
29016 * manual/examples/argp-ex4.c (main): Likewise.
29017 * manual/examples/longopt.c (main): Use new-style prototype
29018 definition.
29019 * manual/examples/strncat.c (main): Specify return type and use
29020 (void) for arguments.
29021 * manual/examples/subopt.c (main): Use char **argv argument.
29022
2ee633a2
JM
290232012-02-17 Joseph Myers <joseph@codesourcery.com>
29024
29025 [BZ #5077]
29026 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
29027 rounding modes.
29028
0520adde
FB
290292012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
29030
29031 [BZ #6907]
29032 * manual/string.texi (strchr): Change when strchrnul is
29033 recommended.
29034
3f4081cd
DGM
290352012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
29036
29037 [BZ #174]
29038 * manual/locale.texi (setlocale): Document LOCPATH.
29039
d1b10e78
JM
290402012-02-17 Joseph Myers <joseph@codesourcery.com>
29041
29042 [BZ #10210]
29043 * manual/process.texi (execle): Move @dots{} before last argument.
29044
79c6869c
PB
290452012-02-17 Paul Bolle <pebolle@tiscali.nl>
29046
29047 [BZ #12047]
29048 * manual/charset.texi (Generic Charset Conversion): Fix typo
29049 (LC_TYPE -> LC_CTYPE).
29050
cc6e48bc
NB
290512012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
29052
29053 [BZ #5805]
29054 * manual/arith.texi (scalbn): Use @var{} on parameter names.
29055 (scalbnf): Likewise.
29056 (scalbnl): Likewise.
29057 (scalbln): Likewise.
29058 (scalblnf): Likewise.
29059 (scalblnl): Likewise.
29060 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
29061 (vwarnx): Likewise.
29062 (verr): Likewise.
29063 (verrx): Likewise.
29064 * manual/filesys.texi (telldir): Use braces around return type.
29065 * manual/llio.texi (mmap): Add space after comma.
29066 (mmap64): Likewise.
29067 * manual/math.texi (jn): Use @var{} on parameter names.
29068 (jnf): Likewise.
29069 (jnl): Likewise.
29070 (yn): Likewise.
29071 (ynf): Likewise.
29072 (ynl): Likewise.
29073 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
29074 line.
29075 * manual/resource.texi (ulimit): Use @dots{} instead of literal
29076 "...".
29077 (sched_get_priority_min): Remove semicolon on @deftypefun line.
29078 (sched_get_priority_max): Likewise.
29079 * manual/signal.texi (sigvec): Add space after comma.
29080 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
29081 names.
29082 (if_indextoname): Likewise.
29083 (if_freenameindex): Likewise.
29084 (sendto): Use ',' instead of '.' in prototype.
29085 * manual/startup.texi (syscall): Use @dots{} instead of literal
29086 "...".
29087 * manual/stdio.texi (__fpending): Separate initial words of
29088 paragraph from @deftypefun line.
29089 * manual/syslog.texi (syslog): Use @dots{} instead of literal
29090 "...".
29091 (vsyslog): Use @var{} on parameter names.
29092 * manual/terminal.texi (stty): Use @var{} on parameter names.
29093 * manual/users.texi (getutmp): Use @var{} on parameter names.
29094 (getutmpx): Likewise.
29095
5b23062f
JM
290962012-02-17 Joseph Myers <joseph@codesourcery.com>
29097
29098 [BZ #6884]
29099 * manual/stdio.texi (fopen): Fix typos in description of
29100 ",ccs=STRING".
29101
8dee4833
AJ
291022012-02-17 Aurelien Jarno <aurelien@aurel32.net>
29103
29104 [BZ #4026]
29105 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
29106 get clock_id definition.
29107
9078ce93
TS
291082012-02-17 Thomas Schwinge <thomas@schwinge.name>
29109
29110 [BZ #4822]
29111 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
29112 (madvise): Cast every argument to void on its own.
29113
3835c55f
JM
291142012-02-17 Joseph Myers <joseph@codesourcery.com>
29115
29116 [BZ #9902]
29117 * manual/startup.texi (Exit Status): Fix typo.
29118
35c47e37
JM
291192012-02-17 Joseph Myers <joseph@codesourcery.com>
29120
29121 [BZ #10140]
29122 * manual/examples/argp-ex1.c: Include <stdlib.h>.
29123 * manual/examples/argp-ex2.c: Likewise.
29124 * manual/examples/argp-ex3.c: Likewise.
29125
e3b69ca7
RH
291262012-02-16 Richard Henderson <rth@redhat.com>
29127
29128 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
29129 * sysdeps/s390/s390-32/initfini.c: Remove.
29130 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
29131 * sysdeps/s390/s390-64/initfini.c: Remove.
29132
df83af67
KK
291332012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29134
29135 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
29136 compiler output for sysdeps/generic/initfini.c.
29137 * sysdeps/sh/elf/initfini.c: Remove file.
29138
f63f3380
DM
291392012-02-16 David S. Miller <davem@davemloft.net>
29140
fb59b3a4
DM
29141 [BZ #11494]
29142 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
29143
f63f3380
DM
29144 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
29145 * sysdeps/sparc/crti.S: New file.
29146 * sysdeps/sparc/crtn.S: New file.
29147 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
29148 * sysdeps/sparc/sparc64/Makefile: Likewise.
29149
df6a4a4a
MF
291502012-02-15 Mike Frysinger <vapier@gentoo.org>
29151
6dd8f3dc 29152 [BZ #3335]
df6a4a4a
MF
29153 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
29154
1cac7236
RM
291552012-02-15 Roland McGrath <roland@hack.frob.com>
29156
d2c736f8
RM
29157 [BZ #4822]
29158 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
29159
1cac7236
RM
29160 * mach/devstream.c (cookie_io_functions_t): Macro removed.
29161 (write, read, close): Likewise.
29162 Patch by Aurelien Jarno <aurelien@aurel32.net>.
29163
8e475601
JM
291642012-02-15 Joseph Myers <joseph@codesourcery.com>
29165
29166 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
29167 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
29168 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
29169 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
29170 <bits/signalfd.h>.
29171 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
29172 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29173 bits/signalfd.h.
29174
ed656b40
MP
291752012-02-14 Marek Polacek <polacek@redhat.com>
29176
29177 * sysdeps/x86_64/crti.S: New file.
29178 * sysdeps/x86_64/crtn.S: New file.
29179 * sysdeps/x86_64/elf/initfini.c: Remove file.
29180
2a979d3a
JM
291812012-02-13 Joseph Myers <joseph@codesourcery.com>
29182
29183 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
29184 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
29185 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
29186 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
29187 <bits/inotify.h>.
29188 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
29189 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29190 bits/inotify.h.
29191
2a418ac3
JM
291922012-02-13 Joseph Myers <joseph@codesourcery.com>
29193
29194 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
29195 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
29196 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
29197 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
29198 <bits/eventfd.h>.
29199 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
29200 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29201 bits/eventfd.h.
29202
fb779be7
TS
292032012-02-10 Thomas Schwinge <thomas@codesourcery.com>
29204
e19e83c5
RM
29205 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
29206 __feraiseexcept instead of feraiseexcept.
7c35ffed 29207
fb779be7
TS
29208 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
29209 nanosleep invocations.
29210 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
29211 strings, and add error checking for a nanosleep invocations.
29212
59ba27a6
PE
292132012-02-09 Paul Eggert <eggert@cs.ucla.edu>
29214
29215 Replace FSF snail mail address with URLs, as per GNU coding standards.
29216 Most of the snail mail addresses were wrong anyway, and omitting
29217 them makes the source code easier to maintain. Almost all of the
29218 changes are to license notices and to locale LC_IDENTIFICATION
29219 addresses, except for this one:
29220 * manual/libc.texinfo: In "Published by", give the FSF's URL,
29221 not its snail mail address.
29222
57b957eb
RH
292232012-02-09 Richard Henderson <rth@twiddle.net>
29224
af850b1c
RH
29225 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
29226 of kernel-features.h.
29227
57b957eb
RH
29228 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
29229
6b73181a
MP
292302012-02-08 Marek Polacek <polacek@redhat.com>
29231
29232 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
29233 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
29234 * sysdeps/gnu/_G_config.h: Likewise.
29235 * sysdeps/generic/_G_config.h: Likewise.
29236
26ecc33a
AS
292372012-02-08 Andreas Schwab <schwab@linux-m68k.org>
29238
6c6dbc63
AS
29239 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
29240 tests.
29241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29242
e216c012
AS
29243 * sysdeps/powerpc/powerpc32/crti.S: New file.
29244 * sysdeps/powerpc/powerpc32/crtn.S: New file.
29245 * sysdeps/powerpc/powerpc64/crti.S: New file.
29246 * sysdeps/powerpc/powerpc64/crtn.S: New file.
29247
26ecc33a
AS
29248 * Makeconfig (have-initfini): Don't set.
29249 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
29250 * configure.in (nopic_initfini): Don't substitute.
29251 * config.h.in (HAVE_INITFINI): Don't #undef.
29252 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
29253 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
29254
3add8e13
JM
292552012-02-08 Joseph Myers <joseph@codesourcery.com>
29256
29257 Support crti.S and crtn.S provided directly by architectures.
29258 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
29259 [crti.S in sysdirs] (omit-deps): Likewise.
29260 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
29261 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
29262 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
29263 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
29264 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
29265 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
29266 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
29267 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
29268 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
29269 compiler output for sysdeps/generic/initfini.c.
29270 * sysdeps/i386/elf/Makefile: Remove file.
29271 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
29272
a22f12b4
MP
292732012-02-07 Marek Polacek <polacek@redhat.com>
29274
29275 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
29276 * sysdeps/gnu/_G_config.h: Likewise.
29277 * sysdeps/mach/hurd/_G_config.h: Likewise.
29278
148cf100
MP
292792012-02-07 Marek Polacek <polacek@redhat.com>
29280
29281 * math/Makefile (tests): Add tst-CMPLX2.
29282 * math/tst-CMPLX2.c: New file.
29283
cfdc0dd7
AS
292842012-02-07 Andreas Schwab <schwab@linux-m68k.org>
29285
84ba42c4
AS
29286 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29287
cfdc0dd7
AS
29288 * math/libm-test.inc (jn_test): Add missing L suffix.
29289
622c86f4
MP
292902012-02-06 Marek Polacek <polacek@redhat.com>
29291
29292 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
29293 * sysdeps/i386/fpu/e_powf.S: Likewise.
29294 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29295 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29296 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29297 * sysdeps/i386/fpu/e_pow.S: Likewise.
29298 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29299 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29300 * sysdeps/i386/fpu/s_expm1.S: Likewise.
29301 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29302 * sysdeps/i386/fpu/e_log2.S: Likewise.
29303 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29304 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29305 * sysdeps/i386/fpu/e_powl.S: Likewise.
29306 * sysdeps/i386/fpu/s_log1p.S: Likewise.
29307 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29308 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29309 * sysdeps/i386/fpu/e_logl.S: Likewise.
29310 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29311 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
29312 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29313 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29314 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29315 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29316 * sysdeps/i386/fpu/e_log.S: Likewise.
29317 * sysdeps/i386/fpu/s_cexp.S: Likewise.
29318 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29319 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
29320 * sysdeps/i386/fpu/e_logf.S: Likewise.
29321 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29322 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29323 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
29324 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29325 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29326 * sysdeps/i386/fpu/e_log10.S: Likewise.
29327 * sysdeps/i386/fpu/s_frexp.S: Likewise.
29328 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29329 * sysdeps/i386/fpu/s_asinh.S: Likewise.
29330 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29331 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29332 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29333 * sysdeps/i386/asm-syntax.h: Likewise.
29334 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29335 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29336 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29337 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
29338 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
29339 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29340 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29341 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29342 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29343 * sysdeps/powerpc/sysdep.h: Likewise.
29344 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
29345 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29346
d4a54ac6
JM
293472012-02-06 Joseph Myers <joseph@codesourcery.com>
29348
29349 [BZ #411]
29350 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
29351
314054ea
JM
293522012-02-06 Joseph Myers <joseph@codesourcery.com>
29353
29354 * sysdeps/i386/sysdep.h: Include <features.h>.
29355 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
29356 version.
29357
d8e0ca50
JM
293582012-02-05 Joseph Myers <joseph@codesourcery.com>
29359
29360 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
29361 Define.
29362 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
29363 LOAD_PIC_REG_STR.
29364
b1da7dd9
JM
293652012-02-03 Joseph Myers <joseph@codesourcery.com>
29366
29367 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
29368 (SETUP_PIC_REG): Use GET_PC_THUNK.
29369 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
29370 macro.
29371
9a1d9254
JM
293722012-02-03 Joseph Myers <joseph@codesourcery.com>
29373
29374 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
29375 for non-PIC compilation.
29376 (SETUP_PIC_REG): Add .p2align directive.
29377 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
29378 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
29379 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29380 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29381 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29382 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29383 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
29384 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29385 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29386 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29387 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29388 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29389 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29390 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29391 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29392 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29393 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29394 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29395 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29396 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29397 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29398 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29399 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29400 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29401 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29402 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29403 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29404 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29405 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29406 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29407 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29408 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29409 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29410 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29411 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29412 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29413 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29414 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29415 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29416 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29417 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29418
65dc3b75
JM
294192012-02-03 Joseph Myers <joseph@codesourcery.com>
29420
29421 * math/tst-CMPLX.c: Include <stdio.h>.
29422
d55bf177
JM
294232012-01-31 Joseph Myers <joseph@codesourcery.com>
29424
29425 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
29426 float.
29427 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29428 * sysdeps/sparc/bits/mathdef.h: Likewise.
29429
69db4f8f
MP
294302012-01-31 Marek Polacek <polacek@redhat.com>
29431
29432 * libio/libio.h: Don't define _PARAMS.
29433 * locale/programs/config.h: Don't define PARAMS.
29434 * stdlib/strtol_l.c: Likewise.
29435 (__strtol_l): Remove PARAMS from the prototype.
29436
41b81892
UD
294372012-01-31 Ulrich Drepper <drepper@gmail.com>
29438
3b49edc0
UD
29439 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
29440 names. Just use the correct names. Remove unnecessary wrapper
29441 functions.
29442 * malloc/arena.c: Likewise.
29443 * malloc/hooks.c: Likewise.
29444
41b81892
UD
29445 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
29446 ARENA_TEST says not to. Simplify test for creation of a new arena.
29447 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
29448
27a25b6e
UD
294492012-01-30 Ulrich Drepper <drepper@gmail.com>
29450
29451 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
29452 into tail calls.
29453 (update_get_addr): New function.
29454 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
29455 GET_ADDR_MODULE parameter.
29456
c8a89e7d
JM
294572012-01-30 Joseph Myers <joseph@codesourcery.com>
29458
29459 * crypt/cert.c: Remove __STDC__ conditionals.
29460 * crypt/crypt-entry.c: Likewise.
29461 * crypt/crypt_util.c: Likewise.
29462 * libio/filedoalloc.c: Likewise.
29463 * libio/fileops.c: Likewise.
29464 * libio/genops.c: Likewise.
29465 * libio/iofclose.c: Likewise.
29466 * libio/iofdopen.c: Likewise.
29467 * libio/iofopen.c: Likewise.
29468 * libio/iofopen64.c: Likewise.
29469 * libio/iogetdelim.c: Likewise.
29470 * libio/iopopen.c: Likewise.
29471 * libio/obprintf.c: Likewise.
29472 * libio/oldfileops.c: Likewise.
29473 * libio/oldiofclose.c: Likewise.
29474 * libio/oldiofdopen.c: Likewise.
29475 * libio/oldiofopen.c: Likewise.
29476 * libio/oldiopopen.c: Likewise.
29477 * libio/wfiledoalloc.c: Likewise.
29478 * libio/wgenops.c: Likewise.
29479 * locale/programs/xmalloc.c: Likewise.
29480 * misc/syslog.c: Likewise.
29481 * stdio-common/xbug.c: Likewise.
29482 * string/memchr.c: Likewise.
29483 * string/memcmp.c: Likewise.
29484 * string/memrchr.c: Likewise.
29485 * string/rawmemchr.c: Likewise.
29486 * sysdeps/posix/getcwd.c: Likewise.
29487 * time/strftime_l.c: Likewise.
29488
3b100462
JM
294892012-01-30 Joseph Myers <joseph@codesourcery.com>
29490
29491 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
29492 * config.make.in (config-cflags-sse2avx): Define.
29493 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
29494 Fix typo.
29495
607998af
CM
294962012-01-29 Chris Metcalf <cmetcalf@tilera.com>
29497
29498 * scripts/config.guess: Update from upstream config git repository.
29499 * scripts/config.sub: Likewise.
29500
3601428f
CM
295012012-01-28 Chris Metcalf <cmetcalf@tilera.com>
29502
3ac8b282
CM
29503 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
29504 (EM_NUM): Update.
29505 (R_TILEPRO_*, R_TILEGX_*): New macros.
29506
e034841e
CM
29507 * scripts/firstversions.awk: Fix bug in version range handling.
29508
540d7568
CM
29509 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
29510
3601428f
CM
29511 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
29512
463de862
CM
29513 * include/sys/epoll.h: New file.
29514 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
29515 libc_hidden_def.
29516
73139a76
UD
295172012-01-28 Ulrich Drepper <drepper@gmail.com>
29518
96bc5b45
UD
29519 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
29520 Avoid unnecessary __WORDSIZE == 64 test.
29521 (fmaxf): Use VEX format if possible.
29522 (fmax): Likewise.
29523 (fminf): Likewise.
29524 (fmin): Likewise.
29525
56f6f6a2
UD
29526 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
29527 * math/math_private.h: Remove libc_fegetround* and
29528 libc_fesetround*.
29529 * sysdeps/i386/configure.in: Check for -msse2avx.
29530 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
29531 also if SSE2AVX is defined.
29532 Remove libc_fegetround* and libc_fesetround*.
29533 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
29534 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
29535 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
29536 of HAS_YMM_USABLE.
29537 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29538 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29539 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29540 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29541 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29542
73139a76
UD
29543 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
29544
d73f93a4
AZ
295452012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29546
29547 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
29548 size is not set.
29549 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
29550
6ee65ed6
UD
295512012-01-27 Ulrich Drepper <drepper@gmail.com>
29552
29553 [BZ #13618]
29554 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
29555 relocation.
29556 * Makeconfig (libm): Define.
29557 * elf/Makefile: Add rules to build and run tst-relsort1.
29558 * elf/tst-relsort1.c: New file.
29559 * elf/tst-relsort1mod1.c: New file.
29560 * elf/tst-relsort1mod2.c: New file.
29561
8db21882
JM
295622012-01-27 Joseph Myers <joseph@codesourcery.com>
29563
29564 * math/s_ldexp.c: Remove __STDC__ conditionals.
29565 * math/s_ldexpf.c: Likewise.
29566 * math/s_ldexpl.c: Likewise.
29567 * math/s_nextafter.c: Likewise.
29568 * math/s_nexttowardf.c: Likewise.
29569 * math/s_significand.c: Likewise.
29570 * math/s_significandf.c: Likewise.
29571 * math/s_significandl.c: Likewise.
29572 * math/w_jnl.c: Likewise.
29573 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29574 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29575 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29576 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29577 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29578 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29579 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
29580 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29581 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29582 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29583 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29584 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29585 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29586 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29587 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29588 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29589 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29590 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29591 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29592 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29593 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29594 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29595 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29596 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29597 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29598 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29599 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29600 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29601 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29602 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29603 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29604 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29605 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29606 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29607 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29608 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29609 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29610 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29611 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29612 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29613 * sysdeps/ieee754/k_standard.c: Likewise.
29614 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29615 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29616 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29617 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29618 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29619 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29620 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29621 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29622 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29623 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29624 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29625 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29626 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29627 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29628 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29629 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29630 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29631 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29632 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29633 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29634 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29635 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29636 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29637 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29638 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29639 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29640 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29641 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29642 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29643 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29644 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29645 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
29646 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29647 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29648 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29649 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29650 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
29651 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29652 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29653 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
29654 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
29655 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29656 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
29657 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
29658 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29659 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
29660 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
29661 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29662 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29663 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
29664 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
29665 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29666 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29667 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29668 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29669 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29670 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
29671 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29672 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29673 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29674 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29675 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29676 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29677 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29678 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29679 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29680 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29681 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29682 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29683 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29684 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29685 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29686 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29687 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29688 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29689 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29690 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29691 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29692 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29693 * sysdeps/ieee754/s_matherr.c: Likewise.
29694 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29695 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29696 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29697 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29698
965a54a4
JM
296992012-01-26 Joseph Myers <joseph@codesourcery.com>
29700
29701 * crypt/md5.h: Remove __STDC__ conditionals.
29702 * libio/libioP.h: Likewise.
29703 * locale/programs/config.h: Likewise.
29704 * sysdeps/generic/sysdep.h: Likewise.
29705 * sysdeps/i386/asm-syntax.h: Likewise.
29706 * sysdeps/s390/asm-syntax.h: Likewise.
29707 * sysdeps/unix/sysdep.h: Likewise.
29708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29710
7071ad79
JM
297112012-01-26 Joseph Myers <joseph@codesourcery.com>
29712
29713 * libio/libio.h: Remove __STDC__ conditionals.
29714 * malloc/obstack.h: Likewise.
29715 * math/complex.h: Likewise.
29716 * math/math.h: Likewise.
29717 * sysdeps/generic/_G_config.h: Likewise.
29718 * sysdeps/gnu/_G_config.h: Likewise.
29719 * sysdeps/mach/hurd/_G_config.h: Likewise.
29720 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29721 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29722 * sysdeps/sparc/bits/mathdef.h: Likewise.
29723
afc5ed09
UD
297242012-01-26 Ulrich Drepper <drepper@gmail.com>
29725
29726 [BZ #13583]
29727 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 29728 Clean up HAS_* macros.
afc5ed09 29729 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
29730 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
29731 possible.
29732 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
29733 HAS_AVX.
29734 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29735 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29736 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29737 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29738 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 29739
bdb6de1d
JM
297402012-01-25 Joseph Myers <joseph@codesourcery.com>
29741
29742 * elf/tst-unique3.cc (gets): Remove declaration.
29743 * elf/tst-unique3lib.cc (gets): Likewise.
29744 * elf/tst-unique3lib2.cc (gets): Likewise.
29745 * elf/tst-unique4.cc (gets): Likewise.
29746
b15549e6
UD
297472012-01-24 Ulrich Drepper <drepper@gmail.com>
29748
29749 * include/stdio.h: Add C++ protection. Add gets declarations and
29750 definitions.
29751 * debug/tst-chk1.c: Don't declare gets here.
29752 * stdio-common/tst-gets.c: Likewise.
29753
a037381f
JM
297542012-01-24 Joseph Myers <joseph@codesourcery.com>
29755
29756 * posix/glob: Remove directory.
29757
f1d4aa75
JM
297582012-01-24 Joseph Myers <joseph@codesourcery.com>
29759
29760 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
29761
81c0c964
PT
297622012-01-22 Pino Toscano <toscano.pino@tiscali.it>
29763
29764 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
29765 of the non-standard EPFNOSUPPORT.
29766
0ea698ae
ST
297672011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
29768
29769 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
29770 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
29771 ANYWHERE set to 1 only on KERN_NO_SPACE error.
29772
d220b117
UD
297732012-01-21 Ulrich Drepper <drepper@gmail.com>
29774
29775 * wcsmbs/uchar.h: Test __STDC_VERSION__.
29776
3e1aa84e
UD
297772012-01-20 Ulrich Drepper <drepper@gmail.com>
29778
29779 * nscd/aicache.c (addhstaiX): Do not cache negative results of
29780 transient errors.
29781 * nscd/grpcache.c (cache_addgr): Likewise.
29782 * nscd/hstcache.c (cache_addhst): Likewise.
29783 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29784 * nscd/pwdcache.c (cache_addpw): Likewise.
29785 * nscd/servicescache.c (cache_addserv): Likewise.
29786
400aa020
UD
297872012-01-16 Ulrich Drepper <drepper@gmail.com>
29788
d77e7869
UD
29789 * malloc/malloc.c: Various cleanups.
29790 * malloc/hooks.c: Likewise.
29791
400aa020
UD
29792 * stdlib/Makefile (tests): Add bug-fmtmsg1.
29793 * stdlib/bug-fmtmsg1.c: New file.
29794
29795 * stdlib/fmtmsg.c (init): Add missing unlock.
29796 Patch by Peng Haitao <penght@cn.fujitsu.com>.
29797
e0a309cf
MP
297982012-01-12 Marek Polacek <polacek@redhat.com>
29799
29800 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
29801 and _GNU_SOURCE.
29802
929d11c7
WS
298032012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29804
29805 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
29806 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
29807 macro to ensure uniqueness of label name.
29808 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29809 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29810
41d0e869
UD
298112012-01-11 Ulrich Drepper <drepper@gmail.com>
29812
0cc5ed3b
UD
29813 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
29814
41d0e869
UD
29815 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
29816 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29817 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29818 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
29819
a47a831a
UD
298202012-01-10 Ulrich Drepper <drepper@gmail.com>
29821
daa891c0
UD
29822 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
29823
29824 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
29825 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29826 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29827
e58ef0f2
UD
29828 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
29829
a47a831a 29830 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
29831 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29832 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 29833 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
29834
29835 * math/bits/math-finite.h: Add ldexp support.
29836
a0bfc9c7
MP
298372012-01-10 Marek Polacek <polacek@redhat.com>
29838
29839 * locale/programs/localedef.h (show_archive_content): Add noreturn
29840 attribute.
29841
d6e97a1d
UD
298422012-01-09 Ulrich Drepper <drepper@gmail.com>
29843
29844 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
29845
d5835c26
UD
298462012-01-08 Ulrich Drepper <drepper@gmail.com>
29847
e5f484c6
UD
29848 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
29849
d5835c26
UD
29850 * io/Makefile (headers): Add bits/poll2.h.
29851
d1f741e9
WS
298522011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
29853
29854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
29855 typo #include statement.
29856
ec09c1c4
UD
298572012-01-08 Ulrich Drepper <drepper@gmail.com>
29858
29859 * include/sys/cdefs.h: Define __attribute_alloc_size.
29860 * catgets/gencat.c: Add alloc_size attribute and apply consistently
29861 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
29862 * elf/pldd.c: Likewise.
29863 * iconv/iconv_charmap.c: Likewise.
29864 * iconv/iconvconfig.c: Likewise.
29865 * iconv/strtab.c: Likewise.
29866 * locale/programs/locale.c: Likewise.
29867 * locale/programs/localedef.h: Likewise.
29868 * locale/programs/simple-hash.c: Likewise.
29869 * nscd/nscd.h: Likewise.
29870 * nss/makedb.c: Likewise.
29871 * sysdeps/generic/ldconfig.h: Likewise.
29872 * locale/programs/localedef.c: Remove xmalloc prototype.
29873 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
29874
20b38e03
PP
298752012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29876
29877 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
29878 appropriate.
29879
a0da5fe1
UD
298802012-01-08 Ulrich Drepper <drepper@gmail.com>
29881
1d5a644a 29882 * math/Makefile (tests): Add tst-CMPLX.
669704fd 29883 * math/tst-CMPLX.c: New file.
1d5a644a 29884
8784a6db
UD
29885 * math/complex.h (CMPLXL): Fix typo.
29886
d9a216c0
UD
29887 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
29888 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
29889 GLIBC_2.16.
29890 * debug/tst-chk1.c: Add poll and ppoll tests.
29891 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
29892 * include/sys/poll.h: Add hidden proto for ppoll.
29893 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
29894 * sysdeps/mach/hurd/ppoll.c: Likewise.
29895 * io/ppoll.c: Likewise.
29896 * debug/poll_chk.c: New file.
29897 * debug/ppoll_chk.c: New file.
29898 * include/bits/poll2.h: New file.
29899 * io/bits/poll2.h: New file.
29900
ac097f5c
UD
29901 [BZ #1350]
29902 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
29903
2119dcfa
UD
29904 * configure.in: static is always set to yes. Remove.
29905 * config.make.in: Don't set build-static.
29906 * Makeconfig: Remove use of build-static.
29907 * dlfcn/Makefile: Likewise.
29908 * elf/Makefile: Likewise.
29909 * math/Makefile: Likewise.
29910 * misc/Makefile: Likewise.
29911 * nptl/Makefile: Likewise.
29912 * sysdeps/mach/hurd/Makefile: Likewise.
29913
121766a9
UD
29914 * configure.in: PWD_P is not used anymore.
29915 * config.make.in: Remove PWD_P entry.
29916
51a1d39c 29917 * configure.in: Remove last remnants of RANLIB.
8720d066 29918 No need to check for signed size_t anymore.
215f4bdc
UD
29919 Don't set libc_commonpagesize and libc_relro_required here for Alpha
29920 and IA-64.
3857022a 29921 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
29922 * aclocal.m4: Likewise.
29923
d3ed7225
UD
29924 * wcsmbs/mbrtoc16.c: Implement using towc function.
29925 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
29926 * wcsmbs/wcsmbsload.c: Likewise.
29927 * iconv/gconv_simple.c: Likewise.
29928 * iconv/gconv_int.h: Likewise.
29929 * iconv/gconv_builtin.h: Likewise.
29930 * iconv/iconv_prog.c: Remove CHAR16 handling.
29931
29932 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
29933
29934 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
29935
a0da5fe1
UD
29936 * configure.in: Remove --with-elf and --enable-bounded options.
29937 Dont set base_machine for ia64. More non-ELF conditions removed.
29938 Remove testing and setting of leading underscore information.
29939 * config.make.in (build-bounded): Set to no.
29940 * config.h.in: Remove NO_UNDERSCORES entry.
29941 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
29942 them.
29943 * csu/start.c: Remove !NO_UNDERSCORE code.
29944 * locale/localeinfo.h: Likewise.
29945 * sysdeps/generic/machine-gmon.h: Likewise.
29946 * sysdeps/generic/sysdep.h: Likewise.
29947 * sysdeps/i386/sysdep.h: Likewise.
29948 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
29949 * sysdeps/mach/sysdep.h: Likewise.
29950 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29951 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29952 * sysdeps/sh/sysdep.h: Likewise.
29953 * sysdeps/sparc/sparc32/alloca.S: Likewise.
29954 * sysdeps/unix/i386/sysdep.S: Likewise.
29955 * sysdeps/unix/sparc/start.c: Likewise.
29956 * sysdeps/unix/sparc/sysdep.S: Likewise.
29957 * sysdeps/unix/sparc/sysdep.h: Likewise.
29958 * sysdeps/unix/start.c: Likewise.
29959 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29960 * sysdeps/x86_64/sysdep.h: Likewise.
29961
df78418a
UD
299622012-01-07 Ulrich Drepper <drepper@gmail.com>
29963
a784e502
UD
29964 [BZ #13553]
29965 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
29966 for non-gcc.
29967 * argp/argp-fmtstream.h: Use const instead __const.
29968 * argp/argp.h: Likewise.
29969 * assert/assert.h: Likewise.
29970 * bits/fenv.h: Likewise.
29971 * bits/sched.h: Likewise.
29972 * bits/sigset.h: Likewise.
29973 * bits/sigthread.h: Likewise.
29974 * catgets/nl_types.h: Likewise.
29975 * conform/data/pthread.h-data: Likewise.
29976 * crypt/crypt-private.h: Likewise.
29977 * crypt/crypt.h: Likewise.
29978 * crypt/crypt_util.c: Likewise.
29979 * ctype/ctype.h: Likewise.
29980 * debug/execinfo.h: Likewise.
29981 * debug/mbsnrtowcs_chk.c: Likewise.
29982 * debug/mbsrtowcs_chk.c: Likewise.
29983 * debug/wcsnrtombs_chk.c: Likewise.
29984 * debug/wcsrtombs_chk.c: Likewise.
29985 * debug/wcstombs_chk.c: Likewise.
29986 * dirent/dirent.h: Likewise.
29987 * dlfcn/dlfcn.h: Likewise.
29988 * elf/neededtest4.c: Likewise.
29989 * grp/grp.h: Likewise.
29990 * gshadow/gshadow.h: Likewise.
29991 * iconv/gconv.h: Likewise.
29992 * iconv/gconv_int.h: Likewise.
29993 * iconv/gconv_simple.c: Likewise.
29994 * iconv/iconv.h: Likewise.
29995 * iconv/loop.c: Likewise.
29996 * iconv/skeleton.c: Likewise.
29997 * include/aio.h: Likewise.
29998 * include/aliases.h: Likewise.
29999 * include/argz.h: Likewise.
30000 * include/arpa/inet.h: Likewise.
30001 * include/assert.h: Likewise.
30002 * include/dirent.h: Likewise.
30003 * include/dlfcn.h: Likewise.
30004 * include/execinfo.h: Likewise.
30005 * include/fcntl.h: Likewise.
30006 * include/fenv.h: Likewise.
30007 * include/glob.h: Likewise.
30008 * include/grp.h: Likewise.
30009 * include/libintl.h: Likewise.
30010 * include/mntent.h: Likewise.
30011 * include/netdb.h: Likewise.
30012 * include/pwd.h: Likewise.
30013 * include/rpc/netdb.h: Likewise.
30014 * include/sched.h: Likewise.
30015 * include/search.h: Likewise.
30016 * include/shadow.h: Likewise.
30017 * include/signal.h: Likewise.
30018 * include/stdio.h: Likewise.
30019 * include/stdlib.h: Likewise.
30020 * include/string.h: Likewise.
30021 * include/sys/socket.h: Likewise.
30022 * include/sys/stat.h: Likewise.
30023 * include/sys/statfs.h: Likewise.
30024 * include/sys/statvfs.h: Likewise.
30025 * include/sys/syslog.h: Likewise.
30026 * include/sys/time.h: Likewise.
30027 * include/sys/uio.h: Likewise.
30028 * include/time.h: Likewise.
30029 * include/unistd.h: Likewise.
30030 * include/utmp.h: Likewise.
30031 * include/wchar.h: Likewise.
30032 * include/wctype.h: Likewise.
30033 * inet/aliases.h: Likewise.
30034 * inet/arpa/inet.h: Likewise.
30035 * inet/netinet/ether.h: Likewise.
30036 * inet/netinet/in.h: Likewise.
30037 * intl/libintl.h: Likewise.
30038 * io/bits/fcntl2.h: Likewise.
30039 * io/fcntl.h: Likewise.
30040 * io/ftw.h: Likewise.
30041 * io/sys/poll.h: Likewise.
30042 * io/sys/stat.h: Likewise.
30043 * io/sys/statfs.h: Likewise.
30044 * io/sys/statvfs.h: Likewise.
30045 * io/utime.h: Likewise.
30046 * libio/bits/stdio.h: Likewise.
30047 * libio/bits/stdio2.h: Likewise.
30048 * libio/libio.h: Likewise.
30049 * libio/libioP.h: Likewise.
30050 * libio/stdio.h: Likewise.
30051 * locale/lc-ctype.c: Likewise.
30052 * locale/locale.h: Likewise.
30053 * login/utmp.h: Likewise.
30054 * malloc/arena.c: Likewise.
30055 * malloc/malloc.c: Likewise.
30056 * malloc/malloc.h: Likewise.
30057 * malloc/mcheck.c: Likewise.
30058 * malloc/mtrace.c: Likewise.
30059 * math/bits/mathcalls.h: Likewise.
30060 * math/fenv.h: Likewise.
30061 * math/math_private.h: Likewise.
30062 * misc/bits/error.h: Likewise.
30063 * misc/bits/syslog.h: Likewise.
30064 * misc/err.h: Likewise.
30065 * misc/error.h: Likewise.
30066 * misc/fstab.h: Likewise.
30067 * misc/mntent.h: Likewise.
30068 * misc/regexp.h: Likewise.
30069 * misc/search.h: Likewise.
30070 * misc/sgtty.h: Likewise.
30071 * misc/sys/mman.h: Likewise.
30072 * misc/sys/syslog.h: Likewise.
30073 * misc/sys/uio.h: Likewise.
30074 * misc/sys/xattr.h: Likewise.
30075 * misc/ttyent.h: Likewise.
30076 * nis/rpcsvc/ypclnt.h: Likewise.
30077 * nss/nss.h: Likewise.
30078 * posix/bits/unistd.h: Likewise.
30079 * posix/fnmatch.h: Likewise.
30080 * posix/glob.h: Likewise.
30081 * posix/sched.h: Likewise.
30082 * posix/spawn.h: Likewise.
30083 * posix/sys/wait.h: Likewise.
30084 * posix/unistd.h: Likewise.
30085 * posix/wordexp.h: Likewise.
30086 * pwd/pwd.h: Likewise.
30087 * resolv/netdb.h: Likewise.
30088 * resource/sys/resource.h: Likewise.
30089 * rt/aio.h: Likewise.
30090 * rt/bits/mqueue2.h: Likewise.
30091 * rt/mqueue.h: Likewise.
30092 * shadow/shadow.h: Likewise.
30093 * signal/signal.h: Likewise.
30094 * socket/send.c: Likewise.
30095 * socket/sendto.c: Likewise.
30096 * socket/sys/socket.h: Likewise.
30097 * stdio-common/printf.h: Likewise.
30098 * stdlib/bits/stdlib.h: Likewise.
30099 * stdlib/fmtmsg.h: Likewise.
30100 * stdlib/monetary.h: Likewise.
30101 * stdlib/stdlib.h: Likewise.
30102 * stdlib/ucontext.h: Likewise.
30103 * streams/stropts.h: Likewise.
30104 * string/argz.h: Likewise.
30105 * string/bits/string2.h: Likewise.
30106 * string/string.h: Likewise.
30107 * string/strings.h: Likewise.
30108 * sunrpc/rpc/auth.h: Likewise.
30109 * sunrpc/rpc/auth_des.h: Likewise.
30110 * sunrpc/rpc/clnt.h: Likewise.
30111 * sunrpc/rpc/netdb.h: Likewise.
30112 * sunrpc/rpc/pmap_clnt.h: Likewise.
30113 * sunrpc/rpc/xdr.h: Likewise.
30114 * sysdeps/generic/inttypes.h: Likewise.
30115 * sysdeps/generic/net/if.h: Likewise.
30116 * sysdeps/generic/sys/swap.h: Likewise.
30117 * sysdeps/gnu/net/if.h: Likewise.
30118 * sysdeps/gnu/utmpx.h: Likewise.
30119 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
30120 * sysdeps/i386/i486/bits/string.h: Likewise.
30121 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
30122 * sysdeps/s390/bits/string.h: Likewise.
30123 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
30124 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
30125 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
30126 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
30127 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
30128 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
30129 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
30130 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
30131 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
30132 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30133 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
30134 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
30135 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
30136 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
30137 * sysdeps/unix/sysv/linux/readv.c: Likewise.
30138 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
30139 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
30140 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30141 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
30142 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
30143 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30144 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
30145 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
30146 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
30147 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
30148 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
30149 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
30150 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30151 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
30152 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
30153 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
30154 * sysvipc/sys/ipc.h: Likewise.
30155 * sysvipc/sys/msg.h: Likewise.
30156 * sysvipc/sys/sem.h: Likewise.
30157 * sysvipc/sys/shm.h: Likewise.
30158 * termios/termios.h: Likewise.
30159 * time/sys/time.h: Likewise.
30160 * time/time.h: Likewise.
30161 * wcsmbs/bits/wchar2.h: Likewise.
30162 * wcsmbs/uchar.h: Likewise.
30163 * wcsmbs/wchar.h: Likewise.
30164 * wctype/wctype.h: Likewise.
30165
0269750c
UD
30166 [BZ #13551]
30167 * Makeconfig: Remove all but ELF support including AIX support.
30168 * Makerules: Likewise.
30169 * config.h.in: Likewise.
30170 * config.make.in: Likewise.
30171 * configure: Likewise.
30172 * configure.in: Likewise.
30173 * csu/Makefile: Likewise.
30174 * csu/version.c: Likewise.
30175 * debug/Makefile: Likewise.
30176 * dlfcn/Makefile: Likewise.
30177 * elf/Makefile: Likewise.
30178 * extra-lib.mk: Likewise.
30179 * iconv/Makefile: Likewise.
30180 * include/libc-symbols.h: Likewise.
30181 * include/shlib-compat.h: Likewise.
30182 * resolv/Makefile: Likewise.
30183 * resolv/res_libc.c: Likewise.
30184 * rt/Makefile: Likewise.
30185 * sysdeps/i386/asm-syntax.h: Likewise.
30186 * sysdeps/i386/sysdep.h: Likewise.
30187 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30188 * sysdeps/mach/sysdep.h: Likewise.
30189 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
30190 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
30191 * sysdeps/s390/asm-syntax.h: Likewise.
30192 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30193 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30194 * sysdeps/sh/sysdep.h: Likewise.
30195 * sysdeps/unix/sparc/sysdep.h: Likewise.
30196 * sysdeps/wordsize-32/divdi3.c: Likewise.
30197 * sysdeps/x86_64/sysdep.h: Likewise.
30198
00bbd29b
UD
30199 * argp/Versions: Remove _argp_unlock_xxx.
30200
30201 [BZ #13559]
30202 * abilist/ld.abilist: Update. Adjust for removal of tls option.
30203 * abilist/libBrokenLocale.abilist: Likewise.
30204 * abilist/libanl.abilist: Likewise.
30205 * abilist/libc.abilist: Likewise.
30206 * abilist/libcrypt.abilist: Likewise.
30207 * abilist/libdl.abilist: Likewise.
30208 * abilist/libm.abilist: Likewise.
30209 * abilist/libnsl.abilist: Likewise.
30210 * abilist/libpthread.abilist: Likewise.
30211 * abilist/libresolv.abilist: Likewise.
30212 * abilist/librt.abilist: Likewise.
30213 * abilist/libthread_db.abilist: Likewise.
30214 * abilist/libutil.abilist: Likewise.
30215 * abilist/libnss_db.abilist: New file.
30216
30217 * scripts/abilist.awk: Add support for indirect functions.
30218
a2693a0e
UD
30219 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
30220
3f05895f
UD
30221 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
30222
ecb6fb48
UD
30223 * shlib-versions: Remove entries for ports architectures.
30224
664f8cb9
UD
30225 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
30226 files in ports.
30227 * elf/stackguard-macros.h: Remove support for IA-64.
30228 * elf/tst-auditmod1.c: Likewise.
30229 * sysdeps/generic/ldsodefs.h: Likewise.
30230
7ae81d88
UD
30231 * sysdeps/unix/sysv/linux/configure.in: Ports should define
30232 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
30233 configure files.
30234
bdeba135
UD
30235 [BZ #13552]
30236 * configure.in: Remove --enable-omitfp support.
30237 * FAQ.in: Adjust.
30238 * config.make.in: Likewise.
30239 * Makeconfig: Likewise.
30240 * manual/install.texi: Likewise.
30241
d75a0a62
UD
30242 In case anyone cares, the IA-64 architecture could move to ports.
30243 * sysdeps/ia64/*: Removed.
30244 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 30245 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 30246
dcc9756b
UD
30247 [BZ #13555]
30248 * configure.in: Remove entries for unsupported architectures.
30249
d3761ebc 30250 [BZ #13533]
9954432e
UD
30251 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
30252 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
30253 routines.
30254 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
30255 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
30256 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
30257 fall back to using wcrtomb.
30258 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
30259 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
30260 renaming.
30261 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
30262 * wcsmbs/tst-c16c32-1.c: New file.
30263
30264 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
30265 local variable.
30266
c3a87236
UD
30267 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
30268
28926a1b
UD
30269 * elf/tst-unique3.cc: Add explicit declaration of gets.
30270 * elf/tst-unique3lib.cc: Likewise.
30271 * elf/tst-unique3lib2.cc: Likewise.
30272 * elf/tst-unique4.cc: Likewise.
30273
df78418a
UD
30274 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
30275
8ecd6b2a
JM
302762012-01-06 Joseph Myers <joseph@codesourcery.com>
30277
30278 [BZ #13566]
30279 * assert/assert.h (static_assert): Don't define for C++.
30280 * libio/stdio.h (gets): Do declare for C++ <= C++11.
30281 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
30282
9f115170
UD
302832012-01-03 Ulrich Drepper <drepper@gmail.com>
30284
5e0d0300
UD
30285 * iconv/loop.c (single loop): Fix assertion in storing of
30286 remaining bytes.
30287
9f115170
UD
30288 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
30289
81fb02b0
UD
302902012-01-01 Ulrich Drepper <drepper@gmail.com>
30291
30292 * posix/getconf.c: Update copyright year.
30293 * nss/getent.c: Likewise.
a316c1f6 30294 * nss/makedb.c: Likewise.
81fb02b0
UD
30295 * iconv/iconvconfig.c: Likewise.
30296 * iconv/iconv_prog.c: Likewise.
30297 * elf/ldconfig.c: Likewise.
a316c1f6
UD
30298 * elf/pldd.c: Likewise.
30299 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
30300 * catgets/gencat.c: Likewise.
30301 * csu/version.c: Likewise.
30302 * elf/ldd.bash.in: Likewise.
30303 * elf/sprof.c (print_version): Likewise.
30304 * locale/programs/locale.c: Likewise.
30305 * locale/programs/localedef.c: Likewise.
a316c1f6 30306 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
30307 * nscd/nscd.c (print_version): Likewise.
30308 * debug/xtrace.sh: Likewise.
30309 * malloc/memusage.sh: Likewise.
30310 * malloc/mtrace.pl: Likewise.
30311 * debug/catchsegv.sh: Likewise.
30312
2ba92745
JJ
303132011-12-30 Jakub Jelinek <jakub@redhat.com>
30314
30315 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
30316 pure attribute.
30317
dadebdae
UD
303182011-12-24 Ulrich Drepper <drepper@gmail.com>
30319
d3761ebc 30320 [BZ #13533]
db6af3eb
UD
30321 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
30322 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
30323 transformations.
30324 * iconv/gconv_int.h: Likewise.
30325 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
30326 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
30327 from libc for GLIBC_2.16.
30328 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
30329 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
30330 * wcsmbs/uchar.h: Really define mbstate_t.
30331 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
30332 * wcsmbs/c16rtomb.c: New file.
30333 * wcsmbs/mbrtoc16.c: New file.
30334 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
30335 for C/POSIX locale.
30336 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
30337 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
30338
dadebdae
UD
30339 * wcsmbs/wchar.h: Add missing __restrict.
30340
67371b56
UD
303412011-12-23 Ulrich Drepper <drepper@gmail.com>
30342
74033a25
UD
30343 [BZ #13532]
30344 * time/Makefile (routines): Add timespec_get.
30345 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
30346 * time/time.h: Define TIME_UTC and declare timespec_get. Define
30347 timespec for ISO C11.
30348 * time/timespec_get.c: New file.
30349 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
30350 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
30351
380d7e87
UD
30352 [BZ #13531]
30353 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
30354 * stdlib/stdlib.h: Declare aligned_alloc.
30355 * Versions.def: Add GLIBC_2.16 for libc.
30356 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
30357
4e9e7a35
UD
30358 [BZ 13527]
30359 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
30360 ISO C11.
30361
380d7e87 30362 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
30363 code.
30364
03a71829
UD
30365 [BZ #13528]
30366 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
30367
839e283e
UD
30368 [BZ #13529]
30369 * assert/assert.h (static_assert): Define.
30370
ce5294e2 30371 * version.h: Update for 2.16 development version.
90fa7312 30372
8d44e150 30373 [BZ #13526]
d7809905
UD
30374 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
30375 _ISOC11_SOURCE.
30376
c0da14cd
UD
30377 * version.h (RELEASE): Bump for 2.15 release.
30378 * include/features.h (__GLIBC_MINOR__): Bump to 15.
30379
530a3249
MP
30380 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
30381 Patch by Marek Polacek <mpolacek@redhat.com>.
30382
67371b56
UD
30383 * bits/byteswap.h: Protect long long constants with __extension__.
30384 * sysdeps/i386/bits/byteswap.h: Likewise.
30385 * sysdeps/ia64/bits/byteswap.h: Likewise.
30386 * sysdeps/s390/bits/byteswap.h: Likewise.
30387 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30388
15db4de1
LD
303892011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30390
30391 [BZ #13540]
bbe315ea
LD
30392 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
30393 destination buffer.
15db4de1
LD
30394 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
30395
2b2596b1
MP
303962011-12-23 Marek Polacek <polacek@redhat.com>
30397
30398 * elf/dl-addr.c (determine_info): Add inline keyword.
30399 * elf/tst-auditmod4b.c (check_avx): Likewise.
30400 * elf/tst-auditmod6b.c (check_avx): Likewise.
30401 * elf/tst-auditmod6c.c (check_avx): Likewise.
30402 * elf/tst-auditmod7b.c (check_avx): Likewise.
30403
70c6c246
UD
304042011-12-23 Ulrich Drepper <drepper@gmail.com>
30405
30406 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
30407 !__SSE_MATH__.
30408
c044cf14
LD
304092011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30410
15db4de1 30411 [BZ #13540]
c044cf14
LD
30412 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
30413 processing for last bytes.
30414
6b13d9d9
BH
304152011-08-06 Bruno Haible <bruno@clisp.org>
30416
d455f537
BH
30417 [BZ #13061]
30418 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
30419 U+0385, not to U+1FEE.
30420
6b13d9d9
BH
30421 [BZ #13062]
30422 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
30423 entry for U+00A5 U+0301.
30424
db910efd
UD
304252011-12-22 Ulrich Drepper <drepper@gmail.com>
30426
27deeafc
UD
30427 [BZ #13166]
30428 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
30429 buffer for the output is too small.
30430
aed9d171
UD
30431 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
30432 optimization.
30433
db910efd
UD
30434 [BZ #13185]
30435 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
30436 SSE flags if possible.
30437
2bd779ae
LD
304382011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30439
e7f9dac3 30440 [BZ #13540]
2bd779ae
LD
30441 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
30442 processing for last bytes.
30443
154bfc16
JM
304442011-12-22 Joseph Myers <joseph@codesourcery.com>
30445
30446 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
30447 (syscall-list-default-options, syscall-list-default-condition)
30448 (syscall-list-includes): Define.
30449 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
30450 list of ABIs and options and #if conditions for each ABI. Do not
30451 handle common syscalls between ABIs specially.
30452 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
30453 Remove.
30454 (syscall-list-variants, syscall-list-32bit-options)
30455 (syscall-list-32bit-condition, syscall-list-64bit-options)
30456 (syscall-list-64bit-condition): Define.
30457 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
30458 (syscall-list-variants, syscall-list-32bit-options)
30459 (syscall-list-32bit-condition, syscall-list-64bit-options)
30460 (syscall-list-64bit-condition): Define.
30461 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
30462 Remove.
30463 (syscall-list-variants, syscall-list-32bit-options)
30464 (syscall-list-32bit-condition, syscall-list-64bit-options)
30465 (syscall-list-64bit-condition): Define.
30466 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
30467 Remove.
30468 (syscall-list-variants, syscall-list-32bit-options)
30469 (syscall-list-32bit-condition, syscall-list-64bit-options)
30470 (syscall-list-64bit-condition): Define.
30471
21eaf3a5
UD
304722011-12-22 Ulrich Drepper <drepper@gmail.com>
30473
16c6f992
UD
30474 * locale/iso-639.def: Add brx entry.
30475
41043168
UD
30476 [BZ #13328]
30477 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
30478 Proposed by Mariusz_Cukr <marcukr@op.pl>.
30479
21eaf3a5
UD
30480 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
30481 __feraiseexcept_renamed.
30482
e3a851a2
UD
304832011-12-21 Ulrich Drepper <drepper@gmail.com>
30484
4920765e
UD
30485 [BZ #13538]
30486 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
30487 EPOLLET with unsigned values.
30488 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30489 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30490
e3a851a2
UD
30491 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
30492 to large cancellation.
30493 * math/s_cacoshf.c: Likewise.
30494 * math/s_cacoshl.c: Likewise.
30495
b27e24b8
RK
304962011-11-18 Richard B. Kreckel <kreckel@ginac.de>
30497
30498 [BZ #13305]
aebefeee 30499 [BZ #12786]
b27e24b8
RK
30500 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
30501 * math/s_cacoshf.c: Likewise.
30502 * math/s_cacoshl.c: Likewise.
30503
ee190f67
UD
305042011-12-21 Ulrich Drepper <drepper@gmail.com>
30505
30506 [BZ #13439]
30507 * iconv/gconv.h: Define __GCONV_SWAP.
30508 * iconvdata/unicode.c: The swap bit must be stored in __flags.
30509 * iconvdata/utf-16.c: Likewise.
30510 * iconvdata/utf-32.c: Likewise.
30511
707f25df
AS
305122011-12-21 Andreas Schwab <schwab@linux-m68k.org>
30513
30514 [BZ #13524]
30515 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
30516 numerator after shifting it by one limb.
30517
d2daaa1e
RÁE
305182011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
30519
30520 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
30521 under [__USE_EXTERN_INLINES].
30522
a4647e72
UD
305232011-12-17 Ulrich Drepper <drepper@gmail.com>
30524
30525 [BZ #13446]
30526 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
30527
f0b264f1
AZ
305282011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30529
30530 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
30531 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
30532 optimized code.
30533 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
30534 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
30535 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
30536 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
30537 for strncasecmp/strncasecmp_l compilation.
30538 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
30539 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
30540
8ef4f244
MP
305412011-12-08 Marek Polacek <mpolacek@redhat.com>
30542
30543 [BZ #13484]
30544 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
30545 of __asm__.
30546
97ac2654
UD
305472011-12-17 Ulrich Drepper <drepper@gmail.com>
30548
30549 [BZ #13506]
30550 * time/tzfile.c (__tzfile_read): Check values from file header.
30551
91d2a845
WS
305522011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30553
30554 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
30555 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
30556 * powerpc/powerpc32/dl-start.S: Likewise.
30557 * powerpc/powerpc32/elf/start.S: Likewise.
30558 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30559 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
30560 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
30561 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
30562 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30563 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
30564 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
30565 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30566 * powerpc/powerpc32/fpu/s_round.S: Likewise.
30567 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
30568 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
30569 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
30570 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
30571 * powerpc/powerpc32/memset.S: Likewise.
30572 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30573 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30574 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30575 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30576 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30577 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30578 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30579 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30580 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
30581 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
30582 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
30583 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30584 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30585
a1267ba1
AZ
305862011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30587
30588 * math/libm-test.inc: Added more nearbyint tests.
30589 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
30590 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
30591 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
30592 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
30593
ad8ac1bd
RL
305942011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
30595
30596 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
30597 FD_CLOEXEC.
30598
1d3e4b61
UD
305992011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30600
30601 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
30602 Add wcscpy-ssse3 wcscpy-c.
30603 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
30604 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
30605 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
30606 * sysdeps/x86_64/wcschr.S: New file.
30607 * sysdeps/x86_64/wcsrchr.S: New file.
30608 * string/test-strcmp.c: Remove checking of wcscmp function for
30609 wrong alignments.
30610 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
30611 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
30612 wcsrchr-sse2 wcsrchr-c.
30613 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
30614 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
30615 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
30616 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
30617 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
30618 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
30619 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
30620 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
30621 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
30622 * wcsmbc/wcschr.c (WCSCHR): New macro.
30623
5b330a2d
UD
306242011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30625
30626 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
30627 * wcsmbs/test-wcsrchr.c: New file.
30628 * string/test-strrchr.c: Add wcsrchr support.
30629 (WIDE): New macro.
30630 * wcsmbs/test-wcscpy.c: New file.
30631 * string/test-strcpy.c: Add wcscpy support.
30632 (WIDE): New macro.
26428b7c 30633
f039c043
UD
306342011-12-10 Ulrich Drepper <drepper@gmail.com>
30635
30636 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
30637 the inner loop.
30638
850fb039
AS
306392011-12-06 Andreas Schwab <schwab@linux-m68k.org>
30640
30641 [BZ #13472]
30642 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
30643
4efbd5cb
UD
306442011-12-04 Ulrich Drepper <drepper@gmail.com>
30645
52ff5dd0 30646 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 30647 Minor optimizations.
52ff5dd0 30648
4efbd5cb
UD
30649 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
30650 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
30651 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
30652
8a426e12
UD
306532011-12-03 Ulrich Drepper <drepper@gmail.com>
30654
aff2453d
UD
30655 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
30656 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
30657 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
30658 for gcc to avoid warnings.
30659 * inet/Makefile (tests): Add tst-checks.
30660 * inet/tst-checks.c: New file.
30661
30662 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
30663 warning.
30664
30665 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
30666 __wmemcmp_sse2.
30667
30668 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
30669 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
30670
8a426e12
UD
30671 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
30672
9bea3473
UD
306732011-12-02 Ulrich Drepper <drepper@gmail.com>
30674
3a965496
UD
30675 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
30676 problem.
30677
9bea3473
UD
30678 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
30679
f101631b
UD
306802011-11-29 Joseph Myers <joseph@codesourcery.com>
30681
30682 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
30683 conditional on GCC version.
30684 (__arch_compare_and_exchange_val_8_acq)
30685 (__arch_compare_and_exchange_val_16_acq)
30686 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
30687 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
30688 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
30689
a98275aa
UD
306902011-12-02 Joseph Myers <joseph@codesourcery.com>
30691
30692 * sysdeps/sh/backtrace.c: New file.
30693
d4cc29a2
AS
306942011-12-02 Andreas Schwab <schwab@redhat.com>
30695
30696 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
30697 parenthesis.
30698
6257af2d
AS
306992011-12-01 Andreas Schwab <schwab@redhat.com>
30700
30701 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
30702 falling back to utime.
30703
b5f44c1a
AS
307042011-11-30 Andreas Schwab <schwab@redhat.com>
30705
30706 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
30707 expectations for float.
30708
f3a6cc0a
AS
307092011-11-29 Andreas Schwab <schwab@redhat.com>
30710
30711 * locale/weight.h (findidx): Add parameter len.
30712 * locale/weightwc.h (findidx): Likewise.
30713 * posix/fnmatch_loop.c (FCT): Adjust caller.
30714 * posix/regcomp.c (build_equiv_class): Likewise.
30715 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
30716 * posix/regexec.c (check_node_accept_bytes): Likewise.
30717 * string/strcoll_l.c (STRCOLL): Likewise.
30718 * string/strxfrm_l.c (STRXFRM): Likewise.
30719
9d65ea3a
UD
307202011-11-17 Ulrich Drepper <drepper@gmail.com>
30721
30722 * Makefile.in: Remove CVSOPT handling.
30723 * configure.in: Remove use of AC_REVISION.
30724 * iconvdata/Makefile (distribute): No need to filter out CVS.
30725 * scripts/list-sources.sh: Remove CVS, subversion and monotone
30726 handling.
30727
5583a086
AS
307282011-11-16 Andreas Schwab <schwab@redhat.com>
30729
30730 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
30731 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
30732 [USE_AS_STRNCASECMP_L]: Likewise.
30733 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
30734 NO_TLS_DIRECT_SEG_REFS.
30735 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
30736 Fix argument offsets for non-PIC.
30737 [USE_AS_STRNCASECMP_L]: Likewise.
30738 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
30739 NO_TLS_DIRECT_SEG_REFS.
30740
d62a8200
UD
307412011-11-15 Ulrich Drepper <drepper@gmail.com>
30742
9d65ea3a 30743 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
30744 O_CLOEXEC.
30745 * locale/loadlocale.c (_nl_load_locale): Likewise.
30746
09f93bd3
AS
307472011-11-15 Andreas Schwab <schwab@redhat.com>
30748
446514f9
AS
30749 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
30750 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
30751 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
30752 (SYSCALL_GETTIME): Set errno on error.
30753
09f93bd3
AS
30754 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
30755 count references to noai6ai_cached.
30756
312be3f9
UD
307572011-11-15 Ulrich Drepper <drepper@gmail.com>
30758
30759 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
30760
30761 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
30762 FD_CLOEXEC for /proc/self/maps.
30763
30764 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
30765 FD_CLOEXEC for /proc/meminfo.
30766
30767 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
30768 gai.conf.
30769
30770 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
30771 FD_CLOEXEC for given file.
30772
30773 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
30774
30775 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
30776 FD_CLOEXEC for /etc/hosts.
30777 (_gethtent): Likewise.
30778
30779 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
30780
30781 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
30782 cancellation and set FD_CLOEXEC for /etc/netgroup.
30783
30784 * nss/nss_files/files-key.c (search): Don't allow cancellation when
30785 reading /etc/publickey.
30786
30787 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
30788 allow cancellation when reading /etc/group.
30789
30790 * nss/nss_files/files-alias.c (internal_setent): Don't allow
30791 cancellation.
30792 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
30793
30794 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
30795 when using data file.
30796
30797 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
30798
30799 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
30800 (write_nis_obj): Use "c" and "e" in fopen.
30801
30802 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
30803
30804 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
30805
30806 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
30807
30808 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
30809
30810 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
30811 locale.alias.
30812
30813 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
30814
30815 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
30816
30817 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
30818
30819 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
30820 file parsing and set FD_CLOEXEC.
30821
82af0fa8
UD
308222011-11-14 Ulrich Drepper <drepper@gmail.com>
30823
30824 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
30825
a5fb313c
AS
308262011-11-14 Andreas Schwab <schwab@redhat.com>
30827
30828 * malloc/arena.c (arena_get2): Don't call reused_arena when
30829 _int_new_arena failed.
30830
6abf3465
UD
308312011-11-14 Ulrich Drepper <drepper@gmail.com>
30832
30833 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
30834 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
30835 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
30836 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30837 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30838 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
30839 to compile strcasecmp and strncasecmp.
30840 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
30841 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
30842
30843 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
30844
76e3966e
UD
308452011-11-13 Ulrich Drepper <drepper@gmail.com>
30846
30847 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
30848 locale-defines.sym to gen-as-const-headers.
30849 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
30850 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
30851 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
30852 to compile strcasecmp and strncasecmp.
30853 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
30854 strcasecmp_l and strncasecmp_l.
30855 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
30856 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
30857 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
30858 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
30859 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
30860 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
30861 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
30862 * sysdeps/i386/i686/multiarch/strncase.S: New file.
30863 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
30864 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
30865 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
30866
ab26144e
UD
308672011-11-12 Ulrich Drepper <drepper@gmail.com>
30868
7edb22ef
UD
30869 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
30870 result of SYSDEP_GETTIME_CPU to retval.
30871 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
30872 parameter list to macro. Remove trailing semicolon. Adjust users.
30873
9694fc44
UD
30874 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
30875 variable.
30876
8ad89ef8
UD
30877 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
30878 mantissa words.
30879 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
30880
0c822ef9
UD
30881 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
30882 from unused variable.
30883
874e0564
UD
30884 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
30885 DWARF definitions.
30886 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
30887 for assembling.
30888
3a2edc79
UD
30889 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
30890 over namespaces.
30891
f3c2577f
UD
30892 * sunrpc/rpc_prot.c (rejected): Fix case value.
30893
294ce126
UD
30894 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
30895 unsigned long long int to avoid warnings in shift.
30896
5e2b63c6
UD
30897 * posix/regex_internal.c (re_string_reconstruct): Actually use result
30898 of use of trans.
30899 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
30900 variable tmp.
30901
e7f4b08e
UD
30902 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
30903 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
30904 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
30905
ab26144e
UD
30906 * nis/nis_table.c (nis_list): Use variable of correct type for
30907 result of __follow_path call.
30908
8a6d5255
AZ
309092011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30910
30911 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
30912 of math functions ceil, trunc, floor, round, and sqrt, when
30913 avaliable on the platform.
30914 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
30915 name clash.
30916 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30917 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30918 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30919
aaddc98c
MP
309202011-10-30 Marek Polacek <mpolacek@redhat.com>
30921
30922 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
30923 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30924
95b7042b
RM
309252011-11-11 Roland McGrath <roland@hack.frob.com>
30926
30927 * include/unistd.h: Fix __readlink return type.
30928 Reported by Chris Metcalf <cmetcalf@tilera.com>.
30929
57769839
UD
309302011-11-11 Ulrich Drepper <drepper@gmail.com>
30931
30932 * stdlib/ucontext.h: Undo last change for makecontext.
30933
edc5984d
AS
309342011-11-11 Andreas Schwab <schwab@redhat.com>
30935
98591e58
AS
30936 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
30937
edc5984d
AS
30938 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
30939 * setjmp/setjmp.h: Mark functions as non-leaf.
30940 * setjmp/bits/setjmp2.h: Likewise.
30941 * stdlib/ucontext.h: Likewise.
30942
77cdc054
AS
309432011-11-10 Andreas Schwab <schwab@redhat.com>
30944
30945 * malloc/arena.c (_int_new_arena): Don't increment narenas.
30946 (reused_arena): Don't check arena limit.
30947 (arena_get2): Atomically check arena limit.
30948
fe72eebd
UD
309492011-11-08 Ulrich Drepper <drepper@gmail.com>
30950
5f078c32
UD
30951 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
30952 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
30953
fe72eebd
UD
30954 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
30955 instructions.
30956
ae1bc2fa
AS
309572011-11-07 Andreas Schwab <schwab@redhat.com>
30958
7583a88d
AS
30959 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
30960 handler when locking.
30961
ae1bc2fa
AS
30962 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30963 Fix size of allocated buffer.
30964
10fb0bfa
AS
309652011-11-04 Andreas Schwab <schwab@redhat.com>
30966
998832a4
AS
30967 [BZ #10103]
30968 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
30969 declarations for long double functions.
30970 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
30971
10fb0bfa
AS
30972 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
30973
3d7ba52b
AS
309742011-11-03 Andreas Schwab <schwab@redhat.com>
30975
a9ae54a1
AS
30976 * nscd/nscd.c (main): Don't start AVC thread until credentials are
30977 installed.
30978
3d7ba52b
AS
30979 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
30980 is disabled.
30981
bc8db248
ST
309822011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
30983
30984 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
30985
45b96dd6
AS
309862011-11-01 Andreas Schwab <schwab@linux-m68k.org>
30987
647776f6
AS
30988 * include/alloca.h (stackinfo_alloca_round): Define.
30989 (extend_alloca): Use it.
30990 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
30991 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
30992 here.
30993
d91a8b93
AS
30994 * scripts/check-local-headers.sh: Ignore libaudit.h.
30995
45b96dd6
AS
30996 * nscd/Makefile (extra-objs): Make recursively expanded.
30997
432d41ce
UD
309982011-11-01 Ulrich Drepper <drepper@gmail.com>
30999
34372fc6
UD
31000 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
31001 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31002
fadb59f8
UD
31003 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
31004 * posix/tst-rfc3484-2.c: Likewise.
31005 * posix/tst-rfc3484-3.c: Likewise.
31006
78239589
UD
31007 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31008 process_vm_writev.
31009 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
31010 process_vm_writev.
31011 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
31012 process_vm_writev from libc using GLIBC_2.15 version.
31013
432d41ce
UD
31014 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
31015
02f9c6cf
PP
310162011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
31017
31018 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
31019 stack usage.
31020
3a2c0242
UD
310212011-10-31 Ulrich Drepper <drepper@gmail.com>
31022
f4ec4833
UD
31023 [BZ #13367]
31024 * nss/getent.c (initgroups_keys): Show error message in case no group
31025 names are given.
31026
3a2c0242
UD
31027 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
31028 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
31029 __bump_nl_timestamp.
31030 * nscd/connections (nscd_init): When host database is served open
31031 netlink socket and request notification about configuration changes.
31032 (main_loop_poll): Track netlink file descriptor and bump timestamp
31033 in case data becomes available.
31034 (main_loop_epoll): Likewise.
31035 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
31036 (database_pers_head): Add extra_data fileds.
31037 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
31038 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
31039 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
31040 Adjust caller.
31041 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
31042 in6ai data, call __free_in6ai.
31043 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
31044 Add -DHAVE_NETLINK.
31045 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
31046 interface information. Reuse previous data if netlink timestamp
31047 is not changed.
31048 (__bump_nl_timestamp): New function.
31049 (__free_in6ai): New function.
31050
636064eb
UD
310512011-10-30 Ulrich Drepper <drepper@gmail.com>
31052
31053 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
31054 close_not_cancel_no_status here.
31055 (__check_pf): Reorganize code a bit to not call close twice if OOM.
31056
9beb2334
UD
310572011-10-29 Ulrich Drepper <drepper@gmail.com>
31058
6ef76f3b
UD
31059 [BZ #13276]
31060 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
31061 return value.
31062
0ffc4f3e 31063 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
31064 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
31065 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
31066
cb95113e
UD
310672011-07-03 Andreas Jaeger <aj@suse.de>
31068
31069 [BZ #10709]
31070 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
31071 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
31072 * math/libm-test.inc (sin_test): Add test case.
31073
a1b560ff
UD
310742011-10-29 Ulrich Drepper <drepper@gmail.com>
31075
c9aaface
UD
31076 [BZ #13337]
31077 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
31078 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31079
d272e7f1
UD
31080 * elf/chroot_canon.c (chroot_canon): Cleanups.
31081
1bc33071
UD
31082 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
31083
1760874d
TJ
31084 [BZ #13335]
31085 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
31086 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31087
51d91b18
UD
31088 * string/test-strchr.c: Make usable for strchrnul testing.
31089 * string/test-strchrnul.c: New file.
31090 * string/Makefile (strop-tests): Add strchrnul.
31091
a1b560ff 31092 * po/it.po: Update from translation team.
b611fb81 31093 * po/es.po: Likewise.
a1b560ff 31094
a5b81e1f
UD
310952011-10-28 Ulrich Drepper <drepper@gmail.com>
31096
fd52bc6d
UD
31097 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
31098 the three constants needed as parameters. Drop the others.
31099 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
31100 __m128i_strloadu_tolower.
52e4b9eb
UD
31101 Create and initialize variable zero and use it in all the places
31102 where _mm_setzero_si128 was used.
fd52bc6d 31103
a5b81e1f
UD
31104 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
31105 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
31106 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
31107 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
31108 anymore.
31109 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
31110 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
31111 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
31112 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
31113 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
31114 __mpranred, __mptan.
31115 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
31116 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
31117 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
31118 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
31119 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
31120 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
31121 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
31122 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
31123 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
31124
b4343346
AS
311252011-10-28 Andreas Schwab <schwab@redhat.com>
31126
0c92d8a8
AS
31127 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
31128 redefine if SHARED.
31129 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
31130
b4343346
AS
31131 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
31132 wide char related routines to wcsmbs subdir.
31133
3871f58f
AS
311342011-10-27 Andreas Schwab <schwab@redhat.com>
31135
31136 [BZ #13344]
31137 * misc/sys/cdefs.h (__THROWNL): Define.
31138 * posix/unistd.h: Use __THREADNL instead of __THREAD
31139 for memory synchronization functions.
31140
94d44d9f
RM
311412011-10-26 Roland McGrath <roland@hack.frob.com>
31142
21b64b15 31143 [BZ #13349]
94d44d9f
RM
31144 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
31145 doesn't exist.
31146 * manual/stdio.texi (Obstack Streams): Node removed.
31147
f6ce9294
AS
311482011-10-26 Andreas Schwab <schwab@redhat.com>
31149
80479147
AS
31150 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
31151 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31152 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31153
f6ce9294
AS
31154 * math/math_private.h (math_force_eval): Allow non-addressable
31155 arguments.
31156 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
31157
618280a1
UD
311582011-10-25 Ulrich Drepper <drepper@gmail.com>
31159
e0016b11
UD
31160 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
31161 file is not needed.
31162
31163 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
31164 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31165 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31166 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31167 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31168 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31169 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31170 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
31171 Add AVX variants.
31172 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
31173 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
31174 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
31175 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
31176 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
31177 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
31178 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
31179 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
31180 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
31181 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
31182 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
31183 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
31184 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
31185 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
31186 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
31187 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
31188 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
31189 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
31190 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
31191
31192 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
31193 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
31194
618280a1
UD
31195 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
31196 place. Use VEX encoding when compiling for AVX.
31197
37822576
AS
311982011-10-25 Andreas Schwab <schwab@redhat.com>
31199
1f1e1947
AS
31200 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
31201 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31202
37822576
AS
31203 * string/test-strchr.c (do_test): Don't generate NUL bytes.
31204
31ea014d
UD
312052011-10-25 Ulrich Drepper <drepper@gmail.com>
31206
d7826aa1 31207 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 31208 useless if() expression.
d7826aa1
UD
31209 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31210 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31211 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31212 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31213 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31214 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31215 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31216 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31217 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31218 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31219 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31220 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31221 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
31222 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31223 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
31224 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31225 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31226 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31227 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
31228
31ea014d
UD
31229 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
31230
16437fec
AS
312312011-10-25 Andreas Schwab <schwab@redhat.com>
31232
31233 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
31234 condition.
31235 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31236
31d3cc00
UD
312372011-10-25 Ulrich Drepper <drepper@gmail.com>
31238
31239 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
31240 .text section. Avoid duplicate constants.
31241 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31242 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31243 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31244 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31245 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31246 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31247 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31248 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31249 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31250 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
31251 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31252 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31253 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31254 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31255 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31256 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31257 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31258 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31259 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31260 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31261 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31262 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31263 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31264 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
31265 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
31266 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
31267 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
31268 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
31269 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
31270 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
31271 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
31272 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
31273 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31274 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
31275 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
31276 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
31277 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
31278 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
31279 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
31280 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
31281 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
31282 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
31283 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
31284 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
31285 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
31286
58985aa9
UD
312872011-10-24 Ulrich Drepper <drepper@gmail.com>
31288
202c9deb
UD
31289 * sysdeps/x86_64/dla.h: Move to ...
31290 * sysdeps/x86_64/fpu/dla.h: ...here.
31291 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
31292 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 31293
af968f62
UD
31294 * config.make.in: Add have-mfma4 entry.
31295 * configure.in: Substitute libc_cv_cc_fma4.
31296 * math/Makefile (dbl-only-routines): Add sincostab.
31297 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
31298 Use __sincostab not sincos.
31299 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
31300 name is a macro.
31301 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31302 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31303 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31304 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
31305 using __copysign.
31306 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
31307 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
31308 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
31309 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
31310 and __inv.
31311 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
31312 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
31313 __copysign.
31314 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
31315 define aliases when function name is a macro.
31316 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
31317 sysdeps/ieee754/dbl-64/sincos.tbl.
31318 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
31319 fma4-enabled routines.
31320 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
31321 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
31322 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
31323 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
31324 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
31325 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
31326 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
31327 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
31328 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
31329 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
31330 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
31331 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
31332 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
31333 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
31334 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
31335 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
31336 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
31337 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
31338 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
31339 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
31340 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
31341 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
31342 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
31343 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
31344 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
31345 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
31346 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
31347 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
31348 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
31349 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
31350
58985aa9
UD
31351 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
31352 rename.
31353 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31354 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31355 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31356 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31357 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31358 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31359 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31360 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31361
a201fbcf
AS
313622011-10-24 Andreas Schwab <schwab@redhat.com>
31363
31364 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
31365
fc2ee42a
LD
313662011-10-23 Ulrich Drepper <drepper@gmail.com>
31367
bb3129bd
UD
31368 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
31369
0275fff8
UD
31370 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
31371 prediction.
31372 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
31373
2fa2ae85
UD
31374 * string/strnlen.c: Don't define STRNLEN, reverse logic.
31375 Remove unused variable magic_bits.
31376 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
31377
fc2ee42a
LD
31378 * string/strnlen.c: Define and use STRNLEN macro.
31379 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
31380 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
31381 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
31382 * wcsmbs/wcslen.c: Define and use WCSLEN.
31383 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
31384 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
31385 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
31386 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
31387 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
31388 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
31389 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31390
ce7dd29f
LD
313912011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31392
31393 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31394 strnlen-sse2-no-bsf.
31395 Rename strlen-no-bsf to strlen-sse2-no-bsf.
31396 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
31397 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
31398 Add strnlen support.
31399 (USE_AS_STRNLEN): New macro.
31400 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
31401 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
31402 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
31403 * sysdeps/x86_64/wcslen.S: New file.
31404
979c70a3
MZ
314052011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
31406
31407 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31408 XMM-moves are used for copying on small sizes.
31409
2d09f82f
LD
314102011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31411
31412 * wcsmbs/Makefile (strop-tests): Add wcschr.
31413 * wcsmbs/test-wcschr.c: New file.
31414 * string/test-strchr.c: Update.
31415 Add wcschr support.
31416 (WIDE): New macro.
31417
619fccca
LD
314182011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31419
2d09f82f 31420 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
31421 * wcsmbs/test-wcslen.c: New file.
31422 * string/test-strlen.c: Update.
31423 Add wcslen support.
31424 (WIDE): New macro.
31425
09f699ea
UD
314262011-10-23 Ulrich Drepper <drepper@gmail.com>
31427
31428 * po/it.po: Update from translation team.
31429
95584d3b
LD
314302011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31431
31432 * sysdeps/x86_64/wcscmp.S: Update.
31433 Fix wrong comparison semantics.
31434 wcscmp shall use signed comparison not unsigned.
31435 Don't use substraction to avoid overflow bug.
31436 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
31437 * wcsmbc/wcscmp.c: Likewise.
31438 * string/test-strcmp.c: Likewise.
31439 Add new tests to check cases with negative values.
31440
c8b3296b
UD
314412011-10-23 Ulrich Drepper <drepper@gmail.com>
31442
31443 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
31444 * sysdeps/x86_64/dla.h: ...here. New file.
31445 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
31446 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31447 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31448 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31449 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31450 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31451 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31452 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31453 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31454
246ad57a
AS
314552011-10-23 Andreas Schwab <schwab@linux-m68k.org>
31456
31457 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
31458 __ynl_finite aliases.
31459
a1a87169
UD
314602011-10-22 Ulrich Drepper <drepper@gmail.com>
31461
0d355eb7
UD
31462 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31463
a1a87169
UD
31464 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
31465 define DLA_FMA.
31466 [DLA_FMA] (EMULV): Use DLA_FMA.
31467 [DLA_FMA] (MUL12): Use EMULV.
31468 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
31469 that are not needed.
31470 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31471 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31472 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31473 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31474 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31475 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31476 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31477
ee2aafe0
AS
314782011-10-22 Andreas Schwab <schwab@linux-m68k.org>
31479
31480 * math/s_nan.c: Undef __nan.
31481 * math/s_nanf.c: Undef __nanf.
31482 * math/s_nanl.c: Undef __nanl.
31483 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
31484 "math_private.h".
31485
bc62c2fb
UD
314862011-10-22 Ulrich Drepper <drepper@gmail.com>
31487
77425c63
UD
31488 * math/s_catan.c: Add branch predictions.
31489 * math/s_catanf.c: Likewise.
31490 * math/s_catanh.c: Likewise.
31491 * math/s_catanhf.c: Likewise.
31492 * math/s_catanhl.c: Likewise.
31493 * math/s_catanl.c: Likewise.
31494 * math/s_cexp.c: Likewise.
31495 * math/s_cexpf.c: Likewise.
31496 * math/s_cexpl.c: Likewise.
31497 * math/s_clog.c: Likewise.
31498 * math/s_clog10.c: Likewise.
31499 * math/s_clog10f.c: Likewise.
31500 * math/s_clog10l.c: Likewise.
31501 * math/s_clogf.c: Likewise.
31502 * math/s_clogl.c: Likewise.
31503 * math/s_csqrt.c: Likewise.
31504 * math/s_csqrtf.c: Likewise.
31505 * math/s_csqrtl.c: Likewise.
31506 * math/s_ctanf.c: Likewise.
31507 * math/s_ctanh.c: Likewise.
31508 * math/s_ctanhf.c: Likewise.
31509 * math/s_ctanhl.c: Likewise.
31510 * math/s_ctanl.c: Likewise.
31511
bc62c2fb
UD
31512 * math/math_private.h: Define __nan, __nanf, __nanl.
31513 * math/s_cacosh.c: Include <math_private.h>.
31514 * math/s_cacoshl.c: Likewise.
31515 * math/s_casinh.c: Likewise.
31516 * math/s_casinhf.c: Likewise.
31517 * math/s_casinhl.c: Likewise.
31518 * math/s_ccos.c: Rely entire on ccosh.
31519 * math/s_ccosf.c: Rely entire on ccoshf.
31520 * math/s_ccosl.c: Rely entirely on ccoshl.
31521 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
31522 Remove tests for FE_INVALID.
31523 * math/s_ccoshf.c: Likewise.
31524 * math/s_ccoshl.c: Likewise.
31525 * math/s_csin.c: Likewise.
31526 * math/s_csinf.c: Likewise.
31527 * math/s_csinh.c Likewise.
31528 * math/s_csinhf.c: Likewise.
31529 * math/s_csinhl.c: Likewise.
31530 * math/s_csinl.c: Likewise.
31531 * math/s_ctan.c: Likewise.
31532 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
31533 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
31534 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
31535
8ec250a4
UD
315362011-10-21 Ulrich Drepper <drepper@gmail.com>
31537
c196fed8
UD
31538 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
31539 compilation problems.
31540
8ec250a4
UD
31541 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
31542 __builtin_expect.
31543
8d4f46c6
UD
315442011-10-20 Ulrich Drepper <drepper@gmail.com>
31545
ed72b654
UD
31546 * sysdeps/i386/configure.in: Test for -mfma4 option.
31547 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
31548 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
31549 COMMON_CPUID_INDEX_80000001.
31550 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
31551 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
31552 use it if FMA3 is not supported.
31553 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
31554
8d4f46c6
UD
31555 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
31556 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31557
d45c60c2
AS
315582011-10-20 Andreas Schwab <schwab@redhat.com>
31559
31560 [BZ #12892]
31561 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
31562 it would create a cycle with a link time dependency.
31563
d9a4d2ab
UD
315642011-10-19 Ulrich Drepper <drepper@gmail.com>
31565
855d1560
UD
31566 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
31567 instruction.
31568 * string/Makefile (strop-tests): Add rawmemchr.
31569 * string/test-rawmemchr.c: New file.
31570
d9a4d2ab
UD
31571 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
31572 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
31573 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
31574 when compiling str{,n}casecmp and when AVX is available. Hook up
31575 new optimized code in initializers.
31576
8f3b1ffe
AS
315772011-10-19 Andreas Schwab <schwab@redhat.com>
31578
31579 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
31580 __feraiseexcept instead of feraiseexcept.
31581
d38f1dba
UD
315822011-10-18 Ulrich Drepper <drepper@gmail.com>
31583
d9a8d0ab
UD
31584 * math/math_private.h: Define defaults for libc_fetestexcept and
31585 libc_feupdateenv.
31586 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
31587 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
31588 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31589 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31590 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
31591 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31592 libc_fetestexcept and libc_feupdateenv.
31593
4855e3dd
UD
31594 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
31595 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
31596 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
31597 * sysdeps/x86_64/fpu/math_private.h: Define special version of
31598 libc_feholdexcept_setround.
31599
581d30e3
UD
31600 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
31601 Add s_nearbyint-c and s_nearbyintf-c.
31602 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
31603 nearbyintf inlines.
31604 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
31605 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
31606 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
31607 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
31608
d38f1dba
UD
31609 * math/math_private.h: Define defaults for libc_fegetround,
31610 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
31611 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
31612 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
31613 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
31614 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
31615 standard functions.
31616 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31617 Remove comments and hacks for old compiler versions.
31618 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31619 libc_fegetround, libc_fesetround, libc_feholdexcept, and
31620 libc_feholdexceptl.
31621
caa6c9d8
AS
316222011-10-18 Andreas Schwab <schwab@redhat.com>
31623
31624 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
31625 (__feraiseexcept_renamed): Add __NTH.
31626 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
31627 namespace violations.
31628
97c066e6
UD
316292011-10-17 Ulrich Drepper <drepper@gmail.com>
31630
99ce7b04
UD
31631 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
31632
1004d182
UD
31633 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
31634
228a984d
UD
31635 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
31636 recently added interfaces.
31637 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
31638
c8553a6a
UD
31639 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
31640 about macro parameter expansion.
31641
ed22dcf6
UD
31642 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
31643 __NO_MATH_INLINES is defined. Cleanups.
31644
31645 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
31646 and __floorf is target has SSE4.1.
31647 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
31648 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
31649 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
31650 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
31651
b171c137
UD
31652 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
31653 name.
31654 (floorf): Likewise.
31655
97c066e6
UD
31656 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
31657
629f62ef
AS
316582011-10-17 Andreas Schwab <schwab@redhat.com>
31659
49a43d80
AS
31660 * misc/sys/cdefs.h: Fix last change.
31661
629f62ef
AS
31662 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
31663 database lookup.
31664
e453f6cd
UD
316652011-10-16 Ulrich Drepper <drepper@gmail.com>
31666
aa78043a
UD
31667 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
31668
ad0f5cad
UD
31669 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
31670 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31671 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
31672 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31673 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31674 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
31675 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31676 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31677 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
31678 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
31679 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
31680 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
31681 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
31682 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
31683 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
31684 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
31685 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
31686 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
31687 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
31688 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
31689 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
31690 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
31691
31692 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
31693 ceil, ceilf, floor, floorf.
31694
31695 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
31696 Perform IRELATIVE relocations last.
31697
e453f6cd
UD
31698 * elf/do-rel.h: Add another parameter nrelative, replacing the
31699 local variable with the same name. Change name of the function
31700 to end in Rel or Rela (uppercase).
31701 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
31702 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
31703 elf_dynamic_do_##reloc function.
31704
fd5bdc09
UD
317052011-10-15 Ulrich Drepper <drepper@gmail.com>
31706
79b195b5
UD
31707 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
31708 is sufficient, at least on modern CPUs.
31709
d4a28569
UD
31710 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
31711
b61099b5
UD
31712 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
31713 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
31714
bcf01e6d
UD
31715 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
31716 __expl_finite.
31717 * math/bits/math-finite.h: Add entries for exp.
31718 * math/e_expl.c: Add __*_finite alias.
31719 * sysdeps/i386/fpu/e_exp.S: Likewise.
31720 * sysdeps/i386/fpu/e_expf.S: Likewise.
31721 * sysdeps/i386/fpu/e_expl.c: Likewise.
31722 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31723 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31724 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31725 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31726 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
31727 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31728 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31729
ba1a0d59
UD
31730 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
31731 is sufficient, at least on modern CPUs.
31732
fd5bdc09
UD
31733 * ctype/ctype-info.c (__ctype_init): Define.
31734 * include/ctype.h (__ctype_init): Declare.
31735 (__ctype_b_loc): The variable is always initialized.
31736 (__ctype_toupper_loc): Likewise.
31737 (__ctype_tolower_loc): Likewise.
31738 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
31739 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
31740
7872cfb0
AS
317412011-10-15 Andreas Schwab <schwab@linux-m68k.org>
31742
b468825a
AS
31743 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
31744
7872cfb0
AS
31745 * configure.in: Also look in $cxxmachine/include for C++ system
31746 headers.
31747
be13f7bf
LD
317482011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31749
31750 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
31751 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
31752 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
31753 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
31754 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
31755 (USE_AS_WMEMCMP): New macro.
31756 Fixing indents.
31757 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
31758 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
31759 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
31760 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
31761 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31762 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
31763 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
31764 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
31765 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
31766 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
31767 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
31768 (USE_AS_WMEMCMP): New macro.
31769 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
31770 * sysdeps/string/test-memcmp.c: Update.
31771 Fix simple_wmemcmp.
31772 Add new tests.
31773 * wcsmbs/wmemcmp.c: Update.
31774 (WMEMCMP): New macro.
31775 Fix overflow bug.
31776
556a2007
AJ
317772011-10-12 Andreas Jaeger <aj@suse.de>
31778
31779 [BZ #13268]
31780 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
31781
538faaa7
UD
317822011-10-15 Ulrich Drepper <drepper@gmail.com>
31783
ab6737ff
UD
31784 * libio/iofwide.c (do_length): Avoid warning.
31785
538faaa7
UD
31786 * ctype/ctype.h (__isctype_f): Add missing __THROW.
31787
396a21b1
UD
317882011-10-14 Ulrich Drepper <drepper@gmail.com>
31789
cdf2901f
UD
31790 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
31791
38ad40ce
UD
31792 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
31793 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
31794 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
31795 * sysdeps/i386/i686/fpu/e_log.S: New file.
31796 * sysdeps/i386/i686/fpu/e_logf.S: New file.
31797 * sysdeps/i386/i686/fpu/e_logl.S: New file.
31798
396a21b1
UD
31799 * ctype/ctype.h: Add support for inlined isXXX functions when
31800 compiling C++ code.
31801
6b1f68c9
AS
318022011-10-14 Andreas Schwab <schwab@redhat.com>
31803
349290c0
AS
31804 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31805
6b1f68c9
AS
31806 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
31807
f2282d42
RM
318082011-10-13 Roland McGrath <roland@hack.frob.com>
31809
31810 [BZ #13291]
31811 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
31812
5298ffa8
AS
318132011-10-13 Andreas Schwab <schwab@redhat.com>
31814
714fad23
AS
31815 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
31816 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
31817 feraiseexcept.
31818
81dcc7fb
AS
31819 * sysdeps/x86_64/memrchr.S: Check for zero size.
31820
5298ffa8
AS
31821 * string/stratcliff.c: Add memrchr tests.
31822
951fbcec
LD
318232011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31824
31825 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31826 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
31827 rawmemchr-sse2 rawmemchr-sse2-bsf.
31828 * sysdeps/i386/i686/multiarch/memchr.S: New file.
31829 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
31830 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
31831 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
31832 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
31833 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
31834 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
31835 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
31836 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
31837 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
31838 * string/memrchr.c (MEMRCHR): New macro.
31839
0ac5ae23
UD
318402011-10-12 Ulrich Drepper <drepper@gmail.com>
31841
31842 Add integration with gcc's -ffinite-math-only and optimize wrapper
31843 functions in libm.
31844 * Versions.def: Define GLIBC_2.15 version for libm.
31845 * math/Makefile (headers): Add bits/math-finite.h.
31846 * math/bits/math-finite.h: New file.
31847 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
31848 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
31849 * math/e_acoshl.c: Add __*_finite alias.
31850 * math/e_acosl.c: Likewise.
31851 * math/e_asinl.c: Likewise.
31852 * math/e_atan2l.c: Likewise.
31853 * math/e_atanhl.c: Likewise.
31854 * math/e_coshl.c: Likewise.
31855 * math/e_exp10.c: Likewise.
31856 * math/e_exp10f.c: Likewise.
31857 * math/e_exp10l.c: Likewise.
31858 * math/e_exp2l.c: Likewise.
31859 * math/e_fmodl.c: Likewise.
31860 * math/e_gammal_r.c: Likewise.
31861 * math/e_hypotl.c: Likewise.
31862 * math/e_j0l.c: Likewise.
31863 * math/e_j1l.c: Likewise.
31864 * math/e_jnl.c: Likewise.
31865 * math/e_lgammal_r.c: Likewise.
31866 * math/e_log10l.c: Likewise.
31867 * math/e_log2l.c: Likewise.
31868 * math/e_logl.c: Likewise.
31869 * math/e_powl.c: Likewise.
31870 * math/e_sinhl.c: Likewise.
31871 * math/e_sqrtl.c: Likewise.
31872 * math/e_scalb.c: Completely rewritten and optimized.
31873 * math/e_scalbf.c: Likewise.
31874 * math/e_scalbl.c: Likewise.
31875 * math/w_acos.c: Likewise.
31876 * math/w_acosf.c: Likewise.
31877 * math/w_acosl.c: Likewise.
31878 * math/w_acosh.c: Likewise.
31879 * math/w_acoshf.c: Likewise.
31880 * math/w_acoshl.c: Likewise.
31881 * math/w_asin.c: Likewise.
31882 * math/w_asinf.c: Likewise.
31883 * math/w_asinl.c: Likewise.
31884 * math/w_atan2.c: Likewise.
31885 * math/w_atan2f.c: Likewise.
31886 * math/w_atan2l.c: Likewise.
31887 * math/w_atanh.c: Likewise.
31888 * math/w_atanhf.c: Likewise.
31889 * math/w_atanhl.c: Likewise.
31890 * math/w_exp10.c: Likewise.
31891 * math/w_exp10f.c: Likewise.
31892 * math/w_exp10l.c: Likewise.
31893 * math/w_fmod.c: Likewise.
31894 * math/w_fmodf.c: Likewise.
31895 * math/w_fmodl.c: Likewise.
31896 * math/w_j0.c: Likewise.
31897 * math/w_j0f.c: Likewise.
31898 * math/w_j0l.c: Likewise.
31899 * math/w_j1.c: Likewise.
31900 * math/w_j1f.c: Likewise.
31901 * math/w_j1l.c: Likewise.
31902 * math/w_jn.c: Likewise.
31903 * math/w_jnf.c: Likewise.
31904 * math/w_log.c: Likewise.
31905 * math/w_logf.c: Likewise.
31906 * math/w_logl.c: Likewise.
31907 * math/w_log10.c: Likewise.
31908 * math/w_log10f.c: Likewise.
31909 * math/w_log10l.c: Likewise.
31910 * math/w_log2.c: Likewise.
31911 * math/w_log2f.c: Likewise.
31912 * math/w_log2l.c: Likewise.
31913 * math/w_pow.c: Likewise.
31914 * math/w_powf.c: Likewise.
31915 * math/w_powl.c: Likewise.
31916 * math/w_remainder.c: Likewise.
31917 * math/w_remainderf.c: Likewise.
31918 * math/w_remainderl.c: Likewise.
31919 * math/w_scalb.c: Likewise.
31920 * math/w_scalbf.c: Likewise.
31921 * math/w_scalbl.c: Likewise.
31922 * math/w_sqrt.c: Likewise.
31923 * math/w_sqrtf.c: Likewise.
31924 * math/w_sqrtl.c: Likewise.
31925 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
31926 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
31927 used.
31928 * math/math_private.h: Declare __kernel_standard_f.
31929 * math/w_cosh.c: Remove cruft and optimize a bit.
31930 * math/w_coshf.c: Likewise.
31931 * math/w_coshl.c: Likewise.
31932 * math/w_exp2.c: Likewise.
31933 * math/w_exp2f.c: Likewise.
31934 * math/w_exp2l.c: Likewise.
31935 * math/w_hypot.c: Likewise.
31936 * math/w_hypotf.c: Likewise.
31937 * math/w_hypotl.c: Likewise.
31938 * math/w_lgamma.c: Likewise.
31939 * math/w_lgamma_r.c: Likewise.
31940 * math/w_lgammaf.c: Likewise.
31941 * math/w_lgammaf_r.c: Likewise.
31942 * math/w_lgammal.c: Likewise.
31943 * math/w_lgammal_r.c: Likewise.
31944 * math/w_sinh.c: Likewise.
31945 * math/w_sinhf.c: Likewise.
31946 * math/w_sinhl.c: Likewise.
31947 * math/w_tgamma.c: Likewise.
31948 * math/w_tgammaf.c: Likewise.
31949 * math/w_tgammal.c: Likewise.
31950 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31951 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31952 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
31953 Minor optimizations. Pretty printing. Remove cruft.
31954 * sysdeps/i386/fpu/e_acosf.S: Likewise.
31955 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31956 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31957 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31958 * sysdeps/i386/fpu/e_acosl.c: Likewise.
31959 * sysdeps/i386/fpu/e_asin.S: Likewise.
31960 * sysdeps/i386/fpu/e_asinf.S: Likewise.
31961 * sysdeps/i386/fpu/e_atan2.S: Likewise.
31962 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
31963 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
31964 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31965 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31966 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31967 * sysdeps/i386/fpu/e_exp10.S: Likewise.
31968 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
31969 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
31970 * sysdeps/i386/fpu/e_exp2.S: Likewise.
31971 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
31972 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
31973 * sysdeps/i386/fpu/e_fmod.S: Likewise.
31974 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
31975 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
31976 * sysdeps/i386/fpu/e_hypot.S: Likewise.
31977 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
31978 * sysdeps/i386/fpu/e_log.S: Likewise.
31979 * sysdeps/i386/fpu/e_log10.S: Likewise.
31980 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31981 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31982 * sysdeps/i386/fpu/e_log2.S: Likewise.
31983 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31984 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31985 * sysdeps/i386/fpu/e_logf.S: Likewise.
31986 * sysdeps/i386/fpu/e_logl.S: Likewise.
31987 * sysdeps/i386/fpu/e_pow.S: Likewise.
31988 * sysdeps/i386/fpu/e_powf.S: Likewise.
31989 * sysdeps/i386/fpu/e_powl.S: Likewise.
31990 * sysdeps/i386/fpu/e_remainder.S: Likewise.
31991 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
31992 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
31993 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31994 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31995 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31996 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
31997 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
31998 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
31999 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32000 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32001 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32002 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32003 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32004 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32005 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
32006 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32007 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32008 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32009 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32010 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32011 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32012 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32013 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32014 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32015 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32016 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32017 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32018 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32019 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32020 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32021 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32022 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32023 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32024 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32025 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32026 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32027 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
32028 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32029 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32030 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32031 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32032 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32033 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32034 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32035 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32036 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32037 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32038 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32039 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32040 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32041 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32042 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32043 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32044 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32045 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32046 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32047 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32048 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
32049 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32050 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32051 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32052 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32053 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32054 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
32055 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
32056 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
32057 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
32058 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
32059 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
32060 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
32061 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32062 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32063 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
32064 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
32065 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
32066 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
32067 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
32068 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
32069 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
32070 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
32071 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
32072 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
32073 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
32074 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32075 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32076 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
32077 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32078 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
32079 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32080 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
32081 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
32082 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32083 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32084 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32085 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32086 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
32087 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
32088 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
32089 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32090 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32091 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32092 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32093 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32094 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32095 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32096 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
32097 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
32098 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
32099 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
32100 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
32101 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
32102 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
32103 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32104 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32105 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32106 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32107 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
32108 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32109 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
32110 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
32111 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
32112 (__isnanf): Likewise.
32113 (__isinf_ns): Likewise.
32114 (__isinf_nsf): Likewise.
32115 (__finite): Likewise.
32116 (__finitef): Likewise.
32117 (__ieee754_sqrt): Define as macro.
32118 (__ieee754_sqrtf): Define as macro.
32119 (__ieee754_sqrtl): Define as macro.
32120 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
32121 inlined copy.
32122 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
32123 __FINITE_MATH_ONLY__ consistent.
32124 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
32125
12cc2fcd
AS
321262011-10-10 Andreas Schwab <schwab@linux-m68k.org>
32127
a843a204
AS
32128 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
32129 of rawmemchr.
32130
12cc2fcd
AS
32131 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
32132
c853acd5
UD
321332011-10-09 Ulrich Drepper <drepper@gmail.com>
32134
32135 * po/ja.po: Update from translation team.
32136
c658d255
RM
321372011-10-08 Roland McGrath <roland@hack.frob.com>
32138
110946e4
RM
32139 * locale/programs/locarchive.c (prepare_address_space): New function.
32140 (create_archive, enlarge_archive, open_archive): Use it.
32141
50604220
RM
32142 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
32143 inside [SHARED], where it is used.
32144
c658d255
RM
32145 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
32146
32147 * nss/getent.c (netgroup_keys): Remove unused variable.
32148 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32149
6a621eb7
UD
321502011-10-08 Ulrich Drepper <drepper@gmail.com>
32151
7edb55ce
UD
32152 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
32153 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
32154 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
32155 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
32156 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
32157 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
32158 * math/Makefile (libm-calls): Add s_isinf_ns.
32159 * math/divtc3.c: Use __isinf_nsl instead of isinf.
32160 * math/multc3.c: Likewise.
32161 * math/s_casin.c: Likewise.
32162 * math/s_casinf.c: Likewise.
32163 * math/s_casinl.c: Likewise.
32164 * math/s_ccos.c: Likewise.
32165 * math/s_ccosf.c: Likewise.
32166 * math/s_ccosl.c: Likewise.
32167 * math/s_ctan.c: Likewise.
32168 * math/s_ctanf.c: Likewise.
32169 * math/s_ctanh.c: Likewise.
32170 * math/s_ctanhf.c: Likewise.
32171 * math/s_ctanhl.c: Likewise.
32172 * math/s_ctanl.c: Likewise.
32173 * math/w_fmod.c: Likewise.
32174 * math/w_fmodf.c: Likewise.
32175 * math/w_fmodl.c: Likewise.
32176 * math/w_remainder.c: Likewise.
32177 * math/w_remainderf.c: Likewise.
32178 * math/w_remainderl.c: Likewise.
32179 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
32180 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
32181 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
32182 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
32183 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
32184 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
32185 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
32186 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
32187
187da0ae
UD
32188 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
32189 of the number.
32190 * stdio-common/printf_fphex.c: Likewise.
32191 * stdio-common/printf_size.c: Likewise.
32192
9277c064
UD
32193 * math/e_exp10.c: Include math_private.h using <...> not "...".
32194 * math/e_exp10f.c: Likewise.
32195 * math/e_exp10l.c: Likewise.
32196 * math/e_exp2l.c: Likewise.
32197 * math/e_j0l.c: Likewise.
32198 * math/e_j1l.c: Likewise.
32199 * math/e_jnl.c: Likewise.
32200 * math/e_lgammal_r.c: Likewise.
32201 * math/e_rem_pio2l.c: Likewise.
32202 * math/e_scalb.c: Likewise.
32203 * math/e_scalbf.c: Likewise.
32204 * math/e_scalbl.c: Likewise.
32205 * math/k_cosl.c: Likewise.
32206 * math/k_sinl.c: Likewise.
32207 * math/k_tanl.c: Likewise.
32208 * math/s_cacoshf.c: Likewise.
32209 * math/s_catan.c: Likewise.
32210 * math/s_catanf.c: Likewise.
32211 * math/s_catanh.c: Likewise.
32212 * math/s_catanhf.c: Likewise.
32213 * math/s_catanhl.c: Likewise.
32214 * math/s_catanl.c: Likewise.
32215 * math/s_ccosh.c: Likewise.
32216 * math/s_ccoshf.c: Likewise.
32217 * math/s_ccoshl.c: Likewise.
32218 * math/s_cexp.c: Likewise.
32219 * math/s_cexpf.c: Likewise.
32220 * math/s_cexpl.c: Likewise.
32221 * math/s_clog.c: Likewise.
32222 * math/s_clog10.c: Likewise.
32223 * math/s_clog10f.c: Likewise.
32224 * math/s_clog10l.c: Likewise.
32225 * math/s_clogf.c: Likewise.
32226 * math/s_clogl.c: Likewise.
32227 * math/s_csin.c: Likewise.
32228 * math/s_csinf.c: Likewise.
32229 * math/s_csinh.c: Likewise.
32230 * math/s_csinhf.c: Likewise.
32231 * math/s_csinhl.c: Likewise.
32232 * math/s_csinl.c: Likewise.
32233 * math/s_csqrt.c: Likewise.
32234 * math/s_csqrtf.c: Likewise.
32235 * math/s_csqrtl.c: Likewise.
32236 * math/s_ctan.c: Likewise.
32237 * math/s_ctanf.c: Likewise.
32238 * math/s_ctanh.c: Likewise.
32239 * math/s_ctanhf.c: Likewise.
32240 * math/s_ctanhl.c: Likewise.
32241 * math/s_ctanl.c: Likewise.
32242 * math/s_ldexp.c: Likewise.
32243 * math/s_ldexpf.c: Likewise.
32244 * math/s_ldexpl.c: Likewise.
32245 * math/s_significand.c: Likewise.
32246 * math/s_significandf.c: Likewise.
32247 * math/s_significandl.c: Likewise.
32248 * math/w_acos.c: Likewise.
32249 * math/w_acosf.c: Likewise.
32250 * math/w_acosh.c: Likewise.
32251 * math/w_acoshf.c: Likewise.
32252 * math/w_acoshl.c: Likewise.
32253 * math/w_acosl.c: Likewise.
32254 * math/w_asin.c: Likewise.
32255 * math/w_asinf.c: Likewise.
32256 * math/w_asinl.c: Likewise.
32257 * math/w_atan2.c: Likewise.
32258 * math/w_atan2f.c: Likewise.
32259 * math/w_atan2l.c: Likewise.
32260 * math/w_atanh.c: Likewise.
32261 * math/w_atanhf.c: Likewise.
32262 * math/w_atanhl.c: Likewise.
32263 * math/w_cosh.c: Likewise.
32264 * math/w_coshf.c: Likewise.
32265 * math/w_coshl.c: Likewise.
32266 * math/w_dremf.c: Likewise.
32267 * math/w_exp10.c: Likewise.
32268 * math/w_exp10f.c: Likewise.
32269 * math/w_exp10l.c: Likewise.
32270 * math/w_exp2.c: Likewise.
32271 * math/w_exp2f.c: Likewise.
32272 * math/w_fmod.c: Likewise.
32273 * math/w_fmodf.c: Likewise.
32274 * math/w_fmodl.c: Likewise.
32275 * math/w_hypot.c: Likewise.
32276 * math/w_hypotf.c: Likewise.
32277 * math/w_hypotl.c: Likewise.
32278 * math/w_j0.c: Likewise.
32279 * math/w_j0f.c: Likewise.
32280 * math/w_j0l.c: Likewise.
32281 * math/w_j1.c: Likewise.
32282 * math/w_j1f.c: Likewise.
32283 * math/w_j1l.c: Likewise.
32284 * math/w_jn.c: Likewise.
32285 * math/w_jnf.c: Likewise.
32286 * math/w_jnl.c: Likewise.
32287 * math/w_lgamma.c: Likewise.
32288 * math/w_lgamma_r.c: Likewise.
32289 * math/w_lgammaf.c: Likewise.
32290 * math/w_lgammaf_r.c: Likewise.
32291 * math/w_lgammal.c: Likewise.
32292 * math/w_lgammal_r.c: Likewise.
32293 * math/w_log.c: Likewise.
32294 * math/w_log10.c: Likewise.
32295 * math/w_log10f.c: Likewise.
32296 * math/w_log10l.c: Likewise.
32297 * math/w_log2.c: Likewise.
32298 * math/w_log2f.c: Likewise.
32299 * math/w_log2l.c: Likewise.
32300 * math/w_logf.c: Likewise.
32301 * math/w_logl.c: Likewise.
32302 * math/w_pow.c: Likewise.
32303 * math/w_powf.c: Likewise.
32304 * math/w_powl.c: Likewise.
32305 * math/w_remainder.c: Likewise.
32306 * math/w_remainderf.c: Likewise.
32307 * math/w_remainderl.c: Likewise.
32308 * math/w_scalb.c: Likewise.
32309 * math/w_scalbf.c: Likewise.
32310 * math/w_scalbl.c: Likewise.
32311 * math/w_sinh.c: Likewise.
32312 * math/w_sinhf.c: Likewise.
32313 * math/w_sinhl.c: Likewise.
32314 * math/w_sqrt.c: Likewise.
32315 * math/w_sqrtf.c: Likewise.
32316 * math/w_sqrtl.c: Likewise.
32317 * math/w_tgamma.c: Likewise.
32318 * math/w_tgammaf.c: Likewise.
32319 * math/w_tgammal.c: Likewise.
32320
6a621eb7
UD
32321 * po/ja.po: Update from translation team.
32322
bf582445
AJ
323232011-09-29 Andreas Jaeger <aj@suse.de>
32324
f9efbf3a
AJ
32325 [BZ #13179]
32326 * sunrpc/netname.c (netname2host): Fix logic.
32327
bf582445
AJ
32328 [BZ #6779]
32329 [BZ #6783]
32330 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
32331 correctly.
32332 * math/w_remainder.c (__remainder): Likewise.
32333 * math/w_remainderf.c (__remainderf): Likewise.
32334 * math/libm-test.inc (remainder_test): Add test cases.
32335
48693bea
AK
323362011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32337
32338 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
32339 sdiv_qrnnd.
32340
42622229
LD
323412011-10-07 Ulrich Drepper <drepper@gmail.com>
32342
32343 * string/test-memcmp.c: Avoid unncessary #defines.
32344 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32345
093ecf92
LD
323462011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32347
32348 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
32349 Use new sse2 version for core i3 - i7 as it's faster
32350 than sse42 version.
32351 (bit_Prefer_PMINUB_for_stringop): New.
32352 * sysdeps/x86_64/rawmemchr.S: Update.
32353 Replace with faster SSE2 version.
32354 * sysdeps/x86_64/memrchr.S: New file.
32355 * sysdeps/x86_64/memchr.S: Update.
32356 Replace with faster SSE2 version.
32357
fde56e5c
MP
323582011-09-12 Marek Polacek <mpolacek@redhat.com>
32359
32360 * elf/dl-load.c (lose): Add cast to avoid warning.
32361
21fd49a9
UD
323622011-10-07 Ulrich Drepper <drepper@gmail.com>
32363
5a06e643
UD
32364 * po/ca.po: Update from translation team.
32365
684ae515
UD
32366 * inet/getnetgrent_r.c: Hook up nscd.
32367 * nscd/Makefile (routines): Add nscd_netgroup.
32368 (nscd-modules): Add netgroupcache.
32369 (CFLAGS-netgroupcache.c): Define.
32370 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
32371 (cache_search): Add const to second parameter.
32372 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
32373 INNETGR.
32374 (dbs): Add netgrdb entry.
32375 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
32376 (verify_persistent_db): Handle netgrdb.
32377 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
32378 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
32379 GETFDNETGR.
32380 (netgroup_response_header): Define.
32381 (innetgroup_response_header): Define.
32382 (datahead): Add netgroup_response_header and innetgroup_response_header
32383 elements.
32384 * nscd/nscd.conf: Add entries for netgroup cache.
32385 * nscd/nscd.h (dbtype): Add netgrdb.
32386 (_PATH_NSCD_NETGROUP_DB): Define.
32387 (netgroup_iov_disabled): Declare.
32388 (xmalloc, xcalloc, xrealloc): Move declarations here.
32389 (cache_search): Adjust prototype.
32390 Add netgroup-related prototypes.
32391 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
32392 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
32393 (__nscd_innetgr): Declare.
32394 * nscd/selinux.c (perms): Use access_vector_t as element type and
32395 add netgroup-related initializers.
32396 * nscd/netgroupcache.c: New file.
32397 * nscd/nscd_netgroup.c: New file.
32398 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
32399 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
32400 For four parameters use innetgr.
32401 * nss/nss_files/files-init.c: Add definition and callback for netgr.
32402 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
32403 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
32404 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
32405
21fd49a9
UD
32406 * nscd/connections.c (register_traced_file): Don't register file
32407 for disabled databases.
32408
054c0457
UD
324092011-10-06 Ulrich Drepper <drepper@gmail.com>
32410
32b63198
UD
32411 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
32412
054c0457
UD
32413 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
32414 from tree and freeing node.
32415
64031225
JO
324162011-09-25 Jiri Olsa <jolsa@redhat.com>
32417
32418 * nss/nsswitch.c (__nss_database_lookup): Handle
32419 nss_parse_service_list out of memory case.
32420
0490345c
JO
324212011-09-15 Jiri Olsa <jolsa@redhat.com>
32422
32423 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
32424 out of memory case.
32425
3a62d00d
AS
324262011-10-04 Andreas Schwab <schwab@redhat.com>
32427
32428 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
32429 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
32430 pass it down.
32431 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
32432 elf_machine_rela, elf_machine_lazy_rel.
32433 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
32434 (ELF_DYNAMIC_DO_REL): Likewise.
32435 (ELF_DYNAMIC_DO_RELA): Likewise.
32436 (ELF_DYNAMIC_RELOCATE): Likewise.
32437 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
32438 to ELF_DYNAMIC_DO_REL.
32439 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
32440 (dl_main): In trace mode always set __RTLD_NOIFUNC.
32441 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
32442 elf_machine_rela.
32443 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
32444 skip_ifunc, don't call ifunc function if non-zero.
32445 (elf_machine_rela): Likewise.
32446 (elf_machine_lazy_rel): Likewise.
32447 (elf_machine_lazy_rela): Likewise.
32448 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
32449 (elf_machine_lazy_rel): Likewise.
32450 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
32451 Likewise.
32452 (elf_machine_lazy_rel): Likewise.
32453 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32454 Likewise.
32455 (elf_machine_lazy_rel): Likewise.
32456 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
32457 (elf_machine_lazy_rel): Likewise.
32458 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
32459 (elf_machine_lazy_rel): Likewise.
32460 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32461 (elf_machine_lazy_rel): Likewise.
32462 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
32463 (elf_machine_lazy_rel): Likewise.
32464 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
32465 (elf_machine_lazy_rel): Likewise.
32466 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32467 (elf_machine_lazy_rel): Likewise.
32468
68577918
UD
324692011-09-28 Ulrich Drepper <drepper@gmail.com>
32470
32471 * nss/nss_files/files-init.c (_nss_files_init): Use static
32472 initialization for all the *_traced_file variables.
32473
68822d74
AS
324742011-09-28 Andreas Schwab <schwab@redhat.com>
32475
32476 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32477
2056100b
RM
324782011-09-27 Roland McGrath <roland@hack.frob.com>
32479
32480 [BZ #13226]
32481 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
32482
32c76b63
AS
324832011-09-27 Andreas Schwab <schwab@redhat.com>
32484
32485 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32486 Reread the line before reparsing it.
32487
bf972c9d
AS
324882011-09-26 Andreas Schwab <schwab@redhat.com>
32489
32490 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
32491
e057a1b5
JM
324922011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
32493 Maxim Kuvyrkov <maxim@codesourcery.com>
32494 Joseph Myers <joseph@codesourcery.com>
32495
32496 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
32497 if needed for __stack_chk_guard.
32498
bc7e1c36
RM
324992011-09-19 Roland McGrath <roland@hack.frob.com>
32500
ecb1482f
RM
32501 * sysdeps/posix/spawni.c (script_execute): Always define it.
32502 It will be optimized away if unused.
32503 (maybe_script_execute): New function.
32504 (__spawni): Call it.
32505
bc7e1c36
RM
32506 * Makerules: Don't include tls.make.
32507 (config-tls): Always set to thread.
32508 * tls.make.c: File removed.
32509
1c3b002b
MF
325102011-09-19 Mike Frysinger <vapier@gentoo.org>
32511
32512 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
32513 * config.make.in (CPPFLAGS-config): New substituted variable.
32514
2840865d
UD
325152011-09-15 Ulrich Drepper <drepper@gmail.com>
32516
88738eb6
UD
32517 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
32518
cbf645a6 32519 [BZ #13192]
2840865d
UD
32520 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
32521 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
32522
b402e91a
RM
325232011-09-15 Roland McGrath <roland@hack.frob.com>
32524
32525 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
32526 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
32527 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32528 (CALL_FAIL): Likewise.
32529 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
32530 (CALL_FAIL): Macro removed.
32531 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
32532
4c1a1f71
UD
325332011-09-15 Ulrich Drepper <drepper@gmail.com>
32534
32535 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
32536 for __FINITE_MATH_ONLY__ == 1.
32537
edc121be
AS
325382011-09-15 Andreas Schwab <schwab@redhat.com>
32539
32540 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
32541 __ieee754_sqrt instead of sqrt.
32542 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
32543 __ieee754_sqrtf instead of sqrtf.
32544 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
32545 __floorf instead of floorf.
32546 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
32547 __floorf, __truncf instead of floorf, truncf.
32548
cd205654
UD
325492011-09-14 Ulrich Drepper <drepper@gmail.com>
32550
ee4d0315
UD
32551 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
32552
cd205654
UD
32553 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
32554 __extern_always_inline.
32555 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
32556 32-bit.
32557
48b67d71
AS
325582011-09-14 Andreas Schwab <schwab@redhat.com>
32559
32560 * elf/rtld.c (dl_main): Also relocate in dependency order when
32561 doing symbol dependency testing.
32562
1ae12c75
AS
325632011-09-13 Andreas Schwab <schwab@linux-m68k.org>
32564
32565 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32566 Always define `refsym'.
32567
995a80df
AS
325682011-09-13 Andreas Schwab <schwab@redhat.com>
32569
e529793b
AS
32570 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
32571 (__FD_ELT): Renamed from __FDELT.
32572 * misc/bits/select2.h (__FD_ELT): Likewise.
32573 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
32574 __FD_MASK instead of __FDELT, __FDMASK.
32575 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32576 Likewise.
32577 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32578 Likewise.
32579
52d4fef8
AS
32580 * elf/Makefile (gen-ldd): Fix pattern.
32581
995a80df
AS
32582 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
32583 (init_tls): Likewise.
32584
8682f8b0
UD
325852011-09-12 Ulrich Drepper <drepper@gmail.com>
32586
32587 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
32588
de82006d
AS
325892011-09-12 Andreas Schwab <schwab@redhat.com>
32590
a7c8e6a1
AS
32591 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
32592 `struct cmsghdr *' instead of `void *'.
32593 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
32594 Likewise.
32595
0f31fe77
AS
325962011-09-11 Andreas Schwab <schwab@linux-m68k.org>
32597
32598 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
32599 if non-absolute.
32600 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
32601 ldd_rewrite_script.
0f31fe77 32602
32b4c839
UD
326032011-09-11 Ulrich Drepper <drepper@gmail.com>
32604
83cd1420
UD
32605 * configure.in: Remove --with-tls option.
32606 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
32607 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
32608 out in case it is missing.
32609 * sysdeps/ia64/elf/configure.in: Likewise.
32610 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
32611 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
32612 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
32613 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
32614 * sysdeps/sh/elf/configure.in: Likewise.
32615 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
32616 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
32617 * sysdeps/x86_64/elf/configure.in: Likewise.
32618 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
32619 * sysdeps/mach/hurd/tls.h: Likewise.
32620
633f745d
UD
32621 [BZ #13067]
32622 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
32623
f318beb8
UD
32624 [BZ #13090]
32625 * configure.in: Fix use of AC_INIT.
32626
32b4c839
UD
32627 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
32628
3ce1f295
UD
326292011-09-10 Ulrich Drepper <drepper@gmail.com>
32630
bb016596
UD
32631 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
32632 __set_errno.
8e58439c
UD
32633 * malloc/hooks.c: Likewise.
32634
aebae053 32635 [BZ #11929]
02d46fc4
UD
32636 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
32637 variables statically.
32638 (narenas): Initialize.
32639 (list_lock): Initialize.
bb016596
UD
32640 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
32641 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
32642 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
32643 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
32644 Add initializers to main_arena and mp_.
32645 (malloc_state): Remove pagesize member. Change all users to use
32646 GLRO(dl_pagesize).
32647
32648 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
32649 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
32650 is always initialized.
32651
22a89187
UD
32652 * malloc/malloc.c: Removed unused configurations and dead code.
32653 * malloc/arena.c: Likewise.
32654 * malloc/hooks.c: Likewise.
02d46fc4 32655 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 32656
d063d164
UD
32657 * include/tls.h: Removed. USE___THREAD must always be defined.
32658 * bits/libc-tsd.h: Don't handle !USE___THREAD.
32659 * elf/dl-libc.c: Likewise.
32660 * elf/dl-tsd.c: Likewise.
32661 * include/errno.h: Likewise.
32662 * include/netdb.h: Likewise.
32663 * include/resolv.h: Likewise.
32664 * inet/herrno-loc.c: Likewise.
32665 * inet/herrno.c: Likewise.
32666 * malloc/arena.c: Likewise.
32667 * malloc/hooks.c: Likewise.
32668 * malloc/malloc.c: Likewise.
32669 * resolv/res-state.c: Likewise.
32670 * resolv/res_libc.c: Likewise.
32671 * sysdeps/i386/dl-machine.h: Likewise.
32672 * sysdeps/ia64/dl-machine.h: Likewise.
32673 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
32674 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32675 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
32676 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
32677 * sysdeps/sh/dl-machine.h: Likewise.
32678 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32679 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32680 * sysdeps/unix/i386/sysdep.S: Likewise.
32681 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32682 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
32683 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
32684 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32685 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
32686 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32687 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32688 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32689 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32690 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32691 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32692 * sysdeps/x86_64/dl-machine.h: Likewise.
32693 * tls.make.c: Likewise.
32694
3ce1f295
UD
32695 * configure.in: Remove --with-__thread option. Make tests for
32696 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
32697 tls_model attribute fail if no support is available. Remove
32698 USE_IN_LIBIO.
32699 * Makeconfig: Adjust for dropped configure option. All features are
32700 now mandatory.
32701 * Makerules: Likewise.
32702 * Versions.def: Likewise.
32703 * argp/argp-fmtstream.c: Likewise.
32704 * argp/argp-fmtstream.h: Likewise.
32705 * argp/argp-help.c: Likewise.
32706 * assert/assert.c: Likewise.
32707 * config.h.in: Likewise.
32708 * config.make.in: Likewise.
32709 * configure: Likewise.
32710 * configure.in: Likewise.
32711 * csu/Versions: Likewise.
32712 * csu/init.c: Likewise.
32713 * elf/tst-audit2.c: Likewise.
32714 * elf/tst-tls10.c: Likewise.
32715 * elf/tst-tls10.h: Likewise.
32716 * elf/tst-tls11.c: Likewise.
32717 * elf/tst-tls12.c: Likewise.
32718 * elf/tst-tls14.c: Likewise.
32719 * elf/tst-tlsmod11.c: Likewise.
32720 * elf/tst-tlsmod12.c: Likewise.
32721 * elf/tst-tlsmod13.c: Likewise.
32722 * elf/tst-tlsmod13a.c: Likewise.
32723 * elf/tst-tlsmod14a.c: Likewise.
32724 * elf/tst-tlsmod15b.c: Likewise.
32725 * elf/tst-tlsmod16a.c: Likewise.
32726 * elf/tst-tlsmod16b.c: Likewise.
32727 * elf/tst-tlsmod7.c: Likewise.
32728 * elf/tst-tlsmod8.c: Likewise.
32729 * elf/tst-tlsmod9.c: Likewise.
32730 * gmon/gmon.c: Likewise.
32731 * grp/fgetgrent_r.c: Likewise.
32732 * grp/putgrent.c: Likewise.
32733 * hurd/fopenport.c: Likewise.
32734 * include/libc-symbols.h: Likewise.
32735 * include/tls.h: Likewise.
32736 * intl/gettextP.h: Likewise.
32737 * intl/loadinfo.h: Likewise.
32738 * locale/global-locale.c: Likewise.
32739 * locale/localeinfo.h: Likewise.
32740 * mach/devstream.c: Likewise.
32741 * malloc/arena.c: Likewise.
32742 * malloc/set-freeres.c: Likewise.
32743 * misc/err.c: Likewise.
32744 * misc/getttyent.c: Likewise.
32745 * misc/mntent_r.c: Likewise.
32746 * posix/getopt.c: Likewise.
32747 * posix/wordexp.c: Likewise.
32748 * pwd/fgetpwent_r.c: Likewise.
32749 * resolv/Versions: Likewise.
32750 * resolv/res_hconf.c: Likewise.
32751 * shadow/fgetspent_r.c: Likewise.
32752 * shadow/putspent.c: Likewise.
32753 * stdio-common/printf_fphex.c: Likewise.
32754 * stdio-common/tmpfile.c: Likewise.
32755 * stdlib/abort.c: Likewise.
32756 * stdlib/fmtmsg.c: Likewise.
32757 * sunrpc/auth_unix.c: Likewise.
32758 * sunrpc/clnt_perr.c: Likewise.
32759 * sunrpc/clnt_tcp.c: Likewise.
32760 * sunrpc/clnt_udp.c: Likewise.
32761 * sunrpc/clnt_unix.c: Likewise.
32762 * sunrpc/openchild.c: Likewise.
32763 * sunrpc/svc_simple.c: Likewise.
32764 * sunrpc/svc_tcp.c: Likewise.
32765 * sunrpc/svc_udp.c: Likewise.
32766 * sunrpc/svc_unix.c: Likewise.
32767 * sunrpc/xdr.c: Likewise.
32768 * sunrpc/xdr_array.c: Likewise.
32769 * sunrpc/xdr_rec.c: Likewise.
32770 * sunrpc/xdr_ref.c: Likewise.
32771 * sunrpc/xdr_stdio.c: Likewise.
32772
1248c1c4
PB
327732011-09-09 Ulrich Drepper <drepper@gmail.com>
32774
32775 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32776
327772011-07-03 Andreas Jaeger <aj@suse.de>
32778
32779 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
32780 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
32781 regenerate with gen-libm-tests.pl.
32782
327832010-05-12 Petr Baudis <pasky@suse.cz>
32784
32785 [BZ #11589]
32786 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
32787 around j0() zero points by switching to j1().
32788 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32789 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32790 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32791 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32792
f22e1074
UD
327932011-09-09 Ulrich Drepper <drepper@gmail.com>
32794
f19009c1
UD
32795 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
32796 instead of 0.
32797 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 32798 instead of 0.
f19009c1
UD
32799 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32800 Patch in part by Pavel Roskin <proski@gnu.org>.
32801
3f8cc204
UD
32802 [BZ #13138]
32803 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
32804 realloc.
32805 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
32806 Free memory block if necessary.
32807
f22e1074
UD
32808 [BZ #12847]
32809 * libio/genops.c (INTDEF): For string streams the _lock pointer can
32810 be NULL. Don't lock in this case.
32811
0a2349f9
RM
328122011-09-09 Roland McGrath <roland@hack.frob.com>
32813
32814 * elf/elf.h (ELFOSABI_GNU): New macro.
32815 (ELFOSABI_LINUX): Define to that.
32816
f3cdd467
DZ
328172011-07-29 Denis Zaitceff <zaitceff@gmail.com>
32818
32819 * string/strncat.c (strncat): Undef the symbol in case it has been
32820 defined in bits/string.h.
32821
74718d13
UD
328222011-09-09 Ulrich Drepper <drepper@gmail.com>
32823
633e9e0f
UD
32824 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
32825
0a2349f9 32826 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
32827 link map.
32828
f9924780
AJ
328292011-08-17 Andreas Jaeger <aj@suse.de>
32830
32831 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
32832
7f5517aa
PP
328332011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
32834 Ian Lance Taylor <iant@google.com>
32835
32836 * math/libm-test.inc (lround_test): New testcase.
32837 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
32838
762011fe
UD
328392011-09-08 Ulrich Drepper <drepper@gmail.com>
32840
92963737
UD
32841 * Makefile: Remove support for automatic cvs check-ins.
32842 * Makerules: Likewise.
32843 * config.make.in: Likewise.
32844 * configure.in: Likewise.
32845 * intl/Makefile: Likewise.
32846 * locale/Makefile: Likewise.
32847 * po/Makefile: Likewise.
32848 * posix/Makefile: Likewise.
32849 * sysdeps/gnu/Makefile: Likewise.
32850 * sysdeps/mach/hurd/Makefile: Likewise.
32851 * sysdeps/sparc/sparc32/Makefile: Likewise.
32852
b0727fd8
JS
32853 [BZ #13118]
32854 * posix/Makefile (bug-regex32-ENV): Define.
32855 Patch by John Stanley <jpsinthemix@verizon.net>.
32856
a0f33f99
UD
32857 * misc/Makefile (headers): Add bits/select2.h.
32858 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
32859 * misc/bits/select2.h: New file.
32860 * include/bits/select2.h: New file.
32861 * debug/Makefile (routines): Add fdelt_chk.
32862 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
32863 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
32864 FD_ISSET.
32865 * debug/fdelt_chk.c: New file.
32866
762011fe
UD
32867 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
32868 * wcsmbs/test-wmemcmp.c: Likewise.
32869 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 32870 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
32871
328722011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32873
32874 * string/Makefile (strop-tests): Add memcmp.
32875 * string/test-wmemcmp.c: New file.
32876 * string/test-memcmp.c: Add wmemcmp support.
32877
7f513ec8
RM
328782011-09-08 Roland McGrath <roland@hack.frob.com>
32879
0442afb4
RM
32880 [BZ #13153]
32881 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
32882 2011-07-19 change.
32883
7f513ec8
RM
32884 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
32885 garbage value in a __mach_port_mod_refs call in the cases of the
32886 task-self and thread-self ports.
32887
a12b2239
ST
328882011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32889
32890 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
32891
610f9ab4
AS
328922011-09-08 Andreas Schwab <schwab@redhat.com>
32893
7f513ec8 32894 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 32895
48882a1a
LD
328962011-09-07 Ulrich Drepper <drepper@gmail.com>
32897
b49865be
UD
32898 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
32899
fdc86bc9
UD
32900 * elf/dl-libc.c (dlerror_run): Pass back error code from
32901 dl_catch_error.
32902
c966526a
UD
32903 [BZ #13123]
32904 * elf/dl-load.c (lose): Free l_origin if it is valid.
32905
48882a1a
LD
32906 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
32907 names.
32908 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
32909 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32910 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32911 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32912 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
32913 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
32914
77a2a8b4
AZ
329152011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32916
32917 * sysdeps/powerpc/fpu/e_hypot.c: New file.
32918 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
32919 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
32920 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
32921 * sysdeps/powerpc/fpu/k_cosf.c: New file.
32922 * sysdeps/powerpc/fpu/k_sinf.c: New file.
32923 * sysdeps/powerpc/fpu/s_cosf.c: New file.
32924 * sysdeps/powerpc/fpu/s_sinf.c: New file.
32925 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
32926 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
32927
24f579d8
AM
329282011-08-15 Alan Modra <amodra@gmail.com>
32929
32930 [BZ #13092]
32931 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
32932 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
32933 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
32934 ppc_mcount to static-only-routines.
32935 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
32936 __mcount_internal.
32937 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
32938 __mcount_internal with usual JUMPTARGET. Remove useless nop.
32939
3d4837df
UD
329402011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
32941
32942 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
32943 for finite and infinity parameters.
32944
22700377
WS
329452011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
32946
32947 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
32948 and add nop instructions for throughput optimization.
32949 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32950
5025581e
WS
329512011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
32952
32953 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
32954 aligned copy for power7 with vector-scalar instructions.
32955 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
32956
08a300c9
L
329572011-07-24 H.J. Lu <hongjiu.lu@intel.com>
32958
32959 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
32960 AVX check.
32961
59178ef9
AS
329622011-09-07 Andreas Schwab <schwab@redhat.com>
32963
32964 [BZ #13144]
32965 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
32966 last change.
32967
e38ba7ab
UD
329682011-09-07 Ulrich Drepper <drepper@gmail.com>
32969
32970 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32971 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
32972 syscall wrapper around clock_gettime in __vdso_clock_gettime.
32973 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
32974 clock_gettime.
32975
d53a73ac
UD
329762011-09-06 Ulrich Drepper <drepper@gmail.com>
32977
fc8bffcc
UD
32978 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
32979 Forgot to demangle the pointer.
32980
ceaa0c5d
UD
32981 * sysdeps/i386/sysdep.h: Define atom_text_section.
32982 * sysdeps/x86_64/sysdep.h: Likewise.
32983 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
32984 section with atom_text_section.
32985 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32986 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32987 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
32988 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32989 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
32990
a77d3c17
UD
32991 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
32992 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
32993 already be defined. Change to take two parameters and don't assign
32994 result to variable. Adjust all users.
32995 Define INTERNAL_GETTIME if not already defined.
32996 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
32997 call.
32998 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
32999 HAVE_CLOCK_GETTIME_VSYSCALL.
33000 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
33001
d53a73ac
UD
33002 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
33003 gettimeofday vsyscall, just use time.
33004
a8f84144
AS
330052011-09-06 Andreas Schwab <schwab@redhat.com>
33006
33007 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
33008 <errno.h>.
33009
ef606249
UD
330102011-09-06 Ulrich Drepper <drepper@gmail.com>
33011
33012 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
33013 syscall on x86-64.
33014 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
33015 syscall.
33016 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
33017 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
33018 syscall if possible.
33019
6585cb60
UD
330202011-09-05 Ulrich Drepper <drepper@gmail.com>
33021
33022 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
33023 e_ident. Don't pass to find_mapsXX.
33024 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
33025
a5f524e4
LD
330262011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33027
33028 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33029 strchr-sse2-no-bsf strrchr-sse2-no-bsf
33030 * sysdeps/x86_64/multiarch/strchr.S: Update.
33031 Check bit_slow_BSF bit.
33032 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33033 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
33034 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
33035
554881ef
UD
330362011-09-05 Ulrich Drepper <drepper@gmail.com>
33037
d96de963
UD
33038 [BZ #13134]
33039 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
33040 before glibc 2.15.
33041 (tryshell): Define.
33042 (__spawni): Change last parameter to be flag. Test
33043 SPAWN_XFLAGS_USE_PATH flag to use path or not.
33044 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
33045 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
33046 * posix/spawni.c: Likewise.
33047 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
33048 * posix/spawnp.c: Likewise. Change normal version to use
33049 SPAWN_XFLAGS_USE_PATH.
33050 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
33051 SPAWN_XFLAGS_TRY_SHELL.
33052
d48e5868
UD
33053 [BZ #13150]
33054 * posix/glob.h: Remove gcc 1.x support.
33055
554881ef
UD
33056 [BZ #13068]
33057 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
33058
693fb948
LD
330592011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33060
33061 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33062 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
33063 strrchr-sse2-bsf
33064 * sysdeps/i386/i686/multiarch/strchr.S: New file.
33065 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
33066 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
33067 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
33068 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
33069 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
33070
1b48c537
UD
330712011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33072
49d42c37
UD
33073 * sysdeps/x86_64/wcscmp.S: New file.
33074
1b48c537
UD
33075 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
33076 wcscmp-c wcscmp-sse2
33077 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
33078 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
33079 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
33080 * wcsmbs/wcscmp.c: Allow renaming.
33081
15c95c5d
DM
330822011-09-05 David S. Miller <davem@davemloft.net>
33083
33084 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
33085 stack slot, rather than the struct return pointer slot.
33086 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
33087 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
33088 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
33089 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
33090
2f0ad8f3
UD
330912011-09-05 Ulrich Drepper <drepper@gmail.com>
33092
d88ae418
UD
33093 * po/ja.po: Update from translation team.
33094
2f0ad8f3
UD
33095 [BZ #13144]
33096 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
33097 kernel in 64-bit binaries.
33098
5f4318d1
DM
330992011-09-01 David S. Miller <davem@davemloft.net>
33100
33101 * elf/elf.h (HWCAP_SPARC_*): Move to..
33102 * sysdeps/sparc/sysdep.h: this new file and add new values.
33103 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
33104 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
33105 _DL_HWCAP_COUNT to 24.
33106 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33107 entries.
33108 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
33109 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
33110 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
33111 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
33112 instead of magic constants.
33113 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33114
3ba57516
DM
331152011-08-31 David S. Miller <davem@davemloft.net>
33116
33117 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
33118 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
33119 Reimplement to do errno handling inline.
33120 (SYSCALL_ERROR_HANDLER): New macro.
33121 (__SYSCALL_STRING): Do not do errno handling in asm.
33122 (__CLONE_SYSCALL_STRING): Delete.
33123 (__INTERNAL_SYSCALL_STRING): Delete.
33124 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
33125 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
33126 (PSEUDO): Reimplement to do errno handling inline.
33127 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
33128 (SYSCALL_ERROR_HANDLER): New macro.
33129 (__SYSCALL_STRING): Do not do errno handling in asm.
33130 (__CLONE_SYSCALL_STRING): Delete.
33131 (__INTERNAL_SYSCALL_STRING): Delete.
33132 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
33133 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
33134 i386.
33135 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
33136 (inline_syscall*): Add 'err' argument.
33137 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
33138 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
33139 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
33140 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
33141
33142 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
33143 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33144
2bc17433
AS
331452011-08-30 Andreas Schwab <schwab@redhat.com>
33146
33147 * elf/rtld.c (dl_main): Relocate objects in dependency order.
33148
fbeb5f4d
JO
331492011-08-29 Jiri Olsa <jolsa@redhat.com>
33150
33151 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
33152 directive.
33153
ad69cc26
DM
331542011-08-24 David S. Miller <davem@davemloft.net>
33155
33156 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
33157
39dd69df
AS
331582011-08-24 Andreas Schwab <schwab@redhat.com>
33159
33160 * elf/Makefile: Add rules to build and run unload8 test.
33161 * elf/unload8.c: New file.
33162 * elf/unload8mod1.c: New file.
33163 * elf/unload8mod1x.c: New file.
33164 * elf/unload8mod2.c: New file.
33165 * elf/unload8mod3.c: New file.
33166
33167 * elf/dl-close.c (_dl_close_worker): Reset private search list if
33168 it wasn't used.
33169
2c0b250a
DM
331702011-08-23 David S. Miller <davem@davemloft.net>
33171
33172 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
33173 subtract stack bias.
33174 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
33175 %sp not %fp in calculations.
33176 (_JMPBUF_UNWINDS_ADJ): Likewise.
33177
22044b48
DM
33178 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
33179 (aio_suspend): Call it to force an exception region around the
33180 AIO_MISC_WAIT() invocation.
33181
2cae4995
AS
331822011-08-23 Andreas Schwab <schwab@redhat.com>
33183
33184 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
33185 backslash.
33186
873a772e
AJ
331872011-07-04 Aurelien Jarno <aurelien@aurel32.net>
33188
33189 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
33190 protection macro.
33191 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
33192 and <dl-machine.h>.
33193 (Elf64_FuncDesc): Remove.
33194
25ad0df1
DM
331952011-08-22 David S. Miller <davem@davemloft.net>
33196
33197 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
33198 sigaltstack check, add missing cfi directives.
33199 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
33200 missing cfi directives, and sigaltstack handling.
33201
e888bcbe
AS
332022011-08-16 Andreas Schwab <schwab@redhat.com>
33203
33204 [BZ #11724]
33205 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
33206 object is seen twice.
33207 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33208
33209 * elf/Makefile (distribute): Add tst-initorder2.c.
33210 (tests): Add tst-initorder2.
33211 (modules-names): Add tst-initorder2a tst-initorder2b
33212 tst-initorder2c tst-initorder2d. Add rules to build them.
33213 ($(objpfx)tst-initorder2.out): New rule.
33214 * elf/tst-initorder2.c: New file.
33215 * elf/tst-initorder2.exp: New file.
33216
87162f46
AS
332172011-08-22 Andreas Schwab <schwab@redhat.com>
33218
70538b7f
AS
33219 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
33220
f55ffe58
AS
33221 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
33222 dependencies back to end of function.
33223
87162f46
AS
33224 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33225 $(elfobjdir)/ld.so.
33226
91b392a4
UD
332272011-08-21 Ulrich Drepper <drepper@gmail.com>
33228
33229 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
33230 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
33231 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
33232 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
33233 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
33234 of __vdso_gettimeofday.
33235 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
33236 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
33237 attribute_hidden.
33238 (_libc_vdso_platform_setup): Remove initialization of
33239 __vdso_gettimeofday and __vdso_time.
33240
5c43483f
UD
332412011-08-20 Ulrich Drepper <drepper@gmail.com>
33242
775a77e7
UD
33243 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
33244 and fgetc_unlocked.
33245 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
33246 getc_unlocked.
89f447ed 33247
49c74ba9
UD
33248 * elf/dl-open.c (add_to_global): Report additions to the global scope
33249 for LD_DEBUG=scopes.
33250 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 33251 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 33252
5c43483f
UD
33253 [BZ #13114]
33254 * stdio-common/Makefile (tests): Add bug24.
33255 * stdio-common/bug24.c: New file.
33256
a101b025
AJ
332572011-08-19 Andreas Jaeger <aj@suse.de>
33258
33259 [BZ #13114]
33260 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
33261 non-existant file when using close-on-exec mode.
33262
c88f1766
UD
332632011-08-20 Ulrich Drepper <drepper@gmail.com>
33264
0276a718
UD
33265 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
33266 the very first instruction.
33267
c88f1766
UD
33268 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
33269 the CFI state in the end.
33270 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
33271 inclusion of dl-trampoline.h.
33272 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
33273
51ccffa0
AS
332742011-08-19 Andreas Schwab <schwab@redhat.com>
33275
94d7165f
AS
33276 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
33277 expectations for long double.
33278
51ccffa0
AS
33279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
33280 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
33281
fd708658 332822011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
33283
33284 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
33285 artificual limit depends upon the system page size.
33286
44f0a71e
UD
332872011-08-17 Ulrich Drepper <drepper@gmail.com>
33288
33289 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
33290 * resolv/Makefile: Define CFLAGS-libresolv.
33291
8de79a24
AS
332922011-08-17 Andreas Schwab <schwab@redhat.com>
33293
33294 * nss/makedb.c (compute_tables): Make variables used in nested
33295 function static.
33296
27724598
UD
332972011-08-17 Ulrich Drepper <drepper@gmail.com>
33298
c5305d88
UD
33299 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
33300 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
33301 if buffer was too small.
33302
27724598
UD
33303 * elf/pldd.c (main): Attach to all threads in the process.
33304 Rewrite /proc handling to use *at functions.
33305
076fe015
UD
333062011-08-16 Ulrich Drepper <drepper@gmail.com>
33307
174baab3
UD
33308 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
33309 specifies first scope to show.
33310 (dl_open_worker): Update callers. Move printing scope of new
33311 object to before the relocation.
44f0a71e 33312 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
33313 * sysdeps/generic/ldsodefs.h: Update declaration.
33314
076fe015
UD
33315 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
33316 string for the scope number.
33317
a60df2c3
UD
333182011-08-14 Ulrich Drepper <drepper@gmail.com>
33319
33320 * nscd/servicescache.c (cache_addserv): Make sure written is always
33321 initialized.
33322
5e4287d1
RM
333232011-08-14 Roland McGrath <roland@hack.frob.com>
33324
85ae0589
RM
33325 * sysdeps/i386/i486/bits/atomic.h
33326 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
33327 statement expression, so as to suppress "set but not used" warning.
33328 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
33329
69f63097
RM
33330 * string/strncat.c (STRNCAT): Use prototype definition.
33331
675456ef
RM
33332 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
33333 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
33334 -Iprograms here.
33335 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
33336 (localedef-modules): Add localedef.
33337 (locale-modules): Add locale.
33338
5e4287d1
RM
33339 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
33340 * elf/rtld.c (dl_main): Invert order of assignment in last change,
33341 to avoid a warning.
33342
9c96ff23
DM
333432011-08-14 David S. Miller <davem@davemloft.net>
33344
33345 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
33346 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
33347
f9ddf089
UD
333482011-08-13 Ulrich Drepper <drepper@gmail.com>
33349
44f0a71e 33350 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
33351 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
33352 * elf/rtld.c (dl_main): Set l_name of vDSO.
33353 Call _dl_show_scope when DL_DEBUG_SCOPES.
33354 (process_dl_debug): Recognize scopes flag and also set it for all.
33355 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
33356 Declare _dl_show_scope.
33357
1dc27704
UD
33358 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
33359 (do_dlopen): Pass caller_dlopen to dl_open.
33360 (__libc_dlopen_mode): Initialize caller_dlopen.
33361
f9ddf089
UD
33362 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
33363 of libc. Make tolower call locale-independent. Optimize a bit by
33364 using isdigit instead of isalnum.
33365 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
33366
9ac533d3
UD
333672011-08-12 Ulrich Drepper <drepper@gmail.com>
33368
33369 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
33370 was a dependency or dynamically loaded.
33371
89edf2e9
UD
333722011-08-11 Ulrich Drepper <drepper@gmail.com>
33373
8e999d29
UD
33374 * intl/l10nflist.c: Allow architecture-specific pop function.
33375 * sysdeps/x86_64/l10nflist.c: New file.
33376
89edf2e9
UD
33377 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
33378 classification.
33379
14d96785
AS
333802011-08-10 Andreas Schwab <schwab@redhat.com>
33381
33382 * include/dirent.h: Add libc_hidden_proto for scandirat and
33383 scandirat64. Don't declare __scandirat64.
33384 * dirent/scandirat.c: Add libc_hidden_def.
33385 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
33386 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
33387
6761ac04
DM
333882011-08-10 David S. Miller <davem@davemloft.net>
33389
33390 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
33391 enum.
33392 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33393 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33394 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33395
c55fbd1e
UD
333962011-08-09 Ulrich Drepper <drepper@gmail.com>
33397
33398 * Versions.def [libc]: Add GLIBC_2.15.
33399 * dirent/Makefile (routines): Add scandirat and scandirat64.
33400 * dirent/Versions [libc]: Export scandirat and scandirat64 for
33401 GLIBC_2.15.
33402 * dirent/dirent.h: Declare scandirat and scandirat64.
33403 * dirent/scandirat.c: New file.
33404 * dirent/scandirat64.c: New file.
33405 * sysdeps/wordsize-64/scandirat.c: New file.
33406 * sysdeps/wordsize-64/scandirat64.c: New file.
33407 * dirent/opendir.c: Define opendirat.
33408 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
33409 using scandirat.
33410 * dirent/scandir64.c: Adjust for scandir.c change.
33411 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
33412 __scandirat64, and __scandir_cancel_handler.
33413 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
33414 additional parameter and use openat instead of open (outside of ld.so).
33415 Add new __opendir as wrapper around __opendirat.
33416 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
33417 here without requiring old scandirat implementation.
33418
879165f2
UD
334192011-08-08 Ulrich Drepper <drepper@gmail.com>
33420
33421 * dirent/scandir.c (cancel_handler): Renamed to
33422 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
33423 defined. Adjust users.
33424 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
33425 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
33426
cb7e923b
UD
334272011-08-04 Ulrich Drepper <drepper@gmail.com>
33428
16292edd
UD
33429 * string/test-string.h (IMPL): Use __STRING to expand name and then
33430 stringify it.
33431
cb7e923b
UD
33432 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
33433 of cleanups.
33434
cff82933
LD
334352011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33436
33437 * string/Makefile: Update.
33438 (strop-tests): Append strncat.
33439 * string/test-wcscmp.c: New file.
33440 New comprehensive test for wcscmp.
33441 * string/test-strcmp.c: Update.
33442 (WIDE): New define.
33443
9be9bfcc
AS
334442011-07-22 Andreas Schwab <schwab@redhat.com>
33445
33446 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
33447 line.
33448
2e96f1c7
AS
334492011-07-26 Andreas Schwab <schwab@redhat.com>
33450
33451 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33452 encoding to ACE if AI_IDN.
33453
85188888
JJ
334542011-08-01 Jakub Jelinek <jakub@redhat.com>
33455
33456 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
33457 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
33458
5fa16e9b
LD
334592011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33460
33461 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
33462 Fix overflow bug in strncat.
33463 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
33464
33465 * string/test-strncat.c: Update.
33466 Add new tests for checking overflow bugs.
33467
334682011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33469
33470 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33471 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
33472 * sysdeps/i386/i686/multiarch/strcat.S: New file.
33473 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
33474 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
33475 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
33476 * sysdeps/i386/i686/multiarch/strncat.S: New file.
33477 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
33478 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
33479
33480 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
33481 (USE_AS_STRCAT): Define.
33482 Add strcat and strncat support.
33483 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33484
8c1a459f
AS
334852011-07-25 Andreas Schwab <schwab@redhat.com>
33486
33487 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
33488 __n bigger than INT_MAX+1.
33489 (__strncmp_g): Likewise.
33490
bba33c28
UD
334912011-07-23 Ulrich Drepper <drepper@gmail.com>
33492
798be72d
UD
33493 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
33494 * libio/stido.h: Likewise.
33495
8accd4dc
UD
33496 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
33497 (AF_NFC): Define.
33498 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
33499 (AF_NFC): Define.
33500
cbff0d96
UD
33501 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
33502 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33503 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33504 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33505 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33506
9191c04a
UD
33507 [BZ #13021]
33508 * scripts/test-installation.pl: Don't expect libnss_test1 to be
33509 installed.
33510
bba33c28
UD
33511 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
33512 typo.
33513 (_dl_x86_64_save_sse): Likewise.
33514
90f139dd
UD
335152011-07-22 Ulrich Drepper <drepper@gmail.com>
33516
1aae088a
UD
33517 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
33518 OSXSAVE.
33519 (_dl_x86_64_save_sse): Likewise.
33520
8e2045f5
UD
33521 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
33522
90f139dd
UD
33523 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
33524
1d002f25
AS
335252011-07-21 Andreas Schwab <schwab@redhat.com>
33526
33527 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
33528 change.
33529 (_dl_x86_64_save_sse): Use correct AVX check.
33530
21137f89
UD
335312011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33532
33533 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
33534 bug in strncpy/strncat.
33535 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
33536
a65c0b7a
UD
335372011-07-21 Ulrich Drepper <drepper@gmail.com>
33538
33539 * string/tester.c (test_strcat): Add tests for different alignments
33540 of source and destination.
33541 (test_strncat): Likewise.
33542
6986b98a
UD
335432011-07-20 Ulrich Drepper <drepper@gmail.com>
33544
90bb2039
UD
33545 [BZ #12852]
33546 * posix/glob.c (glob): Check passed in values before using them in
33547 expressions to avoid some overflows.
33548 (glob_in_dir): Likewise.
33549
5644ef54
UD
33550 [BZ #13007]
33551 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
33552 check for AVX enablement so that we don't crash with old kernels and
33553 new hardware.
33554 * elf/tst-audit4.c: Add same checks here.
33555 * elf/tst-audit6.c: Likewise.
33556
33557 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 33558
bfc9dc9b
AS
335592011-07-09 Andreas Schwab <schwab@linux-m68k.org>
33560
33561 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
33562
702e64bb
UD
335632011-07-20 Ulrich Drepper <drepper@gmail.com>
33564
33565 * po/cs.po: Update from translation team.
33566 * po/bg.po: Likewise.
33567
295e904f
MP
335682011-07-12 Marek Polacek <mpolacek@redhat.com>
33569
33570 * misc/sys/cdefs.h: Add support for const attribute.
33571 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
33572 to gnu_dev_{major,minor,makedev} functions.
33573
3ff94596
MP
335742011-07-20 Marek Polacek <mpolacek@redhat.com>
33575
33576 * intl/dcigettext.c (get_output_charset): Add missing bracket.
33577
28b59fca
AS
335782011-07-20 Andreas Schwab <schwab@redhat.com>
33579
33580 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
33581 strlen results.
33582
19df733e
AK
335832011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33584
33585 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
33586 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
33587 register in order to avoid conflicts with the soft frame pointer
33588 being held in r11 when necessary.
33589 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
33590 (INTERNAL_VSYSCALL_NCS): Likewise.
33591
c8835729
MP
335922011-07-14 Marek Polacek <mpolacek@redhat.com>
33593
33594 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
33595 * elf/dl-fini.c (_dl_fini): Adjust caller.
33596 * elf/dl-close.c (_dl_close_worker): Likewise.
33597 * sysdeps/generic/ldsodefs.h: Adjust declaration.
33598
b902330c
MP
335992011-07-15 Marek Polacek <mpolacek@redhat.com>
33600
8991e135
MP
33601 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
33602 "aux_cache->nlibs < 0".
33603
b902330c
MP
33604 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
33605 in the reload-count case.
33606
99710781
LD
336072011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33608
33609 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33610 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
33611 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
33612 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
33613 * sysdeps/x86_64/multiarch/strcat.S: New file.
33614 * sysdeps/x86_64/multiarch/strncat.S: New file.
33615 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
33616 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
33617 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
33618 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
33619 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
33620 (USE_AS_STRCAT): Define.
33621 Add strcat and strncat support.
33622 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33623 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33624 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
33625 * string/strncat.c: Update.
33626 (USE_AS_STRNCAT): Define.
33627 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33628 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
33629 and i7.
33630 * sysdeps/x86_64/multiarch/init-arch.h
33631 (bit_Prefer_PMINUB_for_stringop): New.
33632 (index_Prefer_PMINUB_for_stringop): Likewise.
33633 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
33634 bit_Prefer_PMINUB_for_stringop.
33635
7dc6bd90
UD
336362011-07-19 Ulrich Drepper <drepper@gmail.com>
33637
33638 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
33639 buffer64.
33640 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
33641 of casting of buffer.
33642 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
33643 buffer32 and buffer64.
33644 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
33645 writes instead of casting of buffer.
33646 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
33647 buffer32.
33648 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
33649 casting of buffer.
33650
e0e72284
AS
336512011-07-19 Andreas Schwab <schwab@redhat.com>
33652
33653 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
33654
feb1eb0b
UD
336552011-07-19 Ulrich Drepper <drepper@gmail.com>
33656
33657 * nscd/nscd.c (termination_handler): Don't do anything for a database
33658 if it has not yet been initialized.
33659
298711ff
UD
336602011-07-18 Ulrich Drepper <drepper@gmail.com>
33661
33662 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33663
336642011-07-15 Marek Polacek <mpolacek@redhat.com>
33665
33666 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33667
f9d68389
UD
336682011-07-18 Ulrich Drepper <drepper@gmail.com>
33669
33670 * po/nl.po: Update from translation team.
33671 * po/sv.po: Likewise.
33672
db290cf5
RM
336732011-07-16 Roland McGrath <roland@hack.frob.com>
33674
33675 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
33676 now disallowed by GCC.
5c550700 33677
fd5e21c7
RM
33678 * configure.in (use-default-link): Default to yes if a test -shared
33679 link meets our qualifications.
33680 * configure: Regenerated.
33681
5c550700
RM
33682 * config.make.in (output-format): New variable.
33683 * configure.in: Check for ld --print-output-format support.
33684 * configure: Regenerated.
33685 * Makerules ($(common-objpfx)format.lds)
33686 [$(output-format) != unknown]: Just use $(output-format),
33687 instead of the linker-script munging.
33688
9fa2c032
RM
336892011-07-14 Roland McGrath <roland@hack.frob.com>
33690
a6928d51
RM
33691 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
33692 of $(common-objpfx)shlib.lds.
33693 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
33694
661607b3
RM
33695 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
33696 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
33697
9fa2c032
RM
33698 * configure.in (-z relro check): Adjust test code to add a large
33699 writable data section after it.
33700 * configure: Regenerated.
33701
defe9061
RM
337022011-07-11 Roland McGrath <roland@hack.frob.com>
33703
33704 * configure.in (-z relro check): Fix test code to make the variable
33705 truly const.
33706 * configure: Regenerated.
33707
319b9ad4
UD
337082011-07-11 Ulrich Drepper <drepper@gmail.com>
33709
33710 * nscd/nscd.h (struct traced_file): Define.
33711 (struct database_dyn): Remove inotify_descr, reset_res, and filename
33712 elements. Add traced_files.
33713 (inotify_fd): Declare.
33714 (register_traced_file): Declare.
33715 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
33716 (inotify_fd): Export.
33717 (resolv_conf_descr): Remove.
33718 (nscd_init): Move inotify descriptor creation to main.
33719 Don't register files for notification here.
33720 (register_traced_file): New function.
33721 (invalidate_cache): Don't use reset_res to determine whether to call
33722 res_init, go through the list of registered files.
33723 (main_loop_poll): The inotify descriptors are now stored in the
33724 structures for the traced files.
33725 (main_loop_epoll): Likewise
33726 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
33727 to __nss_disable_nscd.
33728 * nscd/cache.c (prune_cache): There is no single inotify descriptor
33729 for a database anymore. Check the records for all the registered
33730 files instead.
33731 * nss/Makefile (libnss_files-routines): Add files-init.
33732 (libnss_db-routines): Add db-init.
33733 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
33734 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
33735 * nss/nss_db/db-init.c: New file.
33736 * nss/nss_files/files-init.c: New file.
33737 * nss/nsswitch.c (nss_load_library): New function. Broken out of
33738 __nss_lookup_function.
33739 (__nss_lookup_function): Call nss_load_library.
33740 (nss_load_all_libraries): New function.
33741 (__nss_disable_nscd): Take parameter with callback function for files
33742 to register. Set is_nscd. Load all the DSOs for the NSS modules
33743 used for the cached services.
33744 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
33745 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
33746 options for features to all the files in nscd.
33747
33748 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
33749
23bee3e8
RM
337502011-07-10 Roland McGrath <roland@hack.frob.com>
33751
33752 * csu/elf-init.c (__libc_csu_init): Comment typo.
33753
46a5b7f0
UD
337542011-07-09 Ulrich Drepper <drepper@gmail.com>
33755
33756 * po/pl.po: Update from translation team.
33757 * po/ja.po: Likewise.
33758 * po/ru.po: Likewise.
33759 * po/ko.po: Likewise.
33760 * po/fr.po: Likewise.
33761
d30cf5bb
RM
337622011-07-09 Roland McGrath <roland@hack.frob.com>
33763
113ddea4
RM
33764 * configure.in (.ctors/.dtors header and trailer check):
33765 Use an empirical test on a built program.
33766 * configure: Regenerated.
33767
574920b4
RM
33768 * configure.in (-z relro check): Use an empirical test on a built DSO.
33769 Detect, but do not require, on ia64.
33770 * configure: Regenerated.
33771
d30cf5bb
RM
33772 * configure.in (READELF): Find it with AC_CHECK_TOOL.
33773 Update tests that use readelf to use $READELF instead.
33774 * configure: Regenerated.
33775
8538fdb3
UD
337762011-07-08 Ulrich Drepper <drepper@gmail.com>
33777
33778 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
33779 if the result is not used.
33780
04d08991
AJ
337812011-07-05 Andreas Jaeger <aj@suse.de>
33782
33783 [BZ#9696]
33784 * stdlib/tst-strtod.c: Add testcase.
33785
de283087
AD
337862011-07-07 Ulrich Drepper <drepper@gmail.com>
33787
4e5f31c8 33788 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 33789 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
33790 The latter has a higher limit. Take additional parameter to pass to
33791 the new function.
33792 (__pathconf): Pass file to __statfs_link_max.
33793 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
33794 __statfs_link_max.
33795 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
33796 __statfs_link_max.
33797
de283087
AD
33798 [BZ #12868]
33799 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
33800 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33801 Handle Lustre.
33802 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
33803 (__statfs_filesize_max): Likewise.
33804 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
33805
c75fa153
AJ
338062011-07-05 Andreas Jaeger <aj@suse.de>
33807
33808 * resolv/res_comp.c (dn_skipname): Remove unused variable.
33809
1a544854
UD
338102011-07-06 Marek Polacek <mpolacek@redhat.com>
33811
33812 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
33813 `status' variable.
33814 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
33815 Likewise.
33816
6f0eec67
UD
338172011-07-04 H.J. Lu <hongjiu.lu@intel.com>
33818
33819 * Makefile (strop-tests): Add strncat.
33820 * string/test-strncat.c: New file.
33821
aae30307
UD
338222011-06-30 Marek Polacek <mpolacek@redhat.com>
33823
33824 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
33825
c0cfb5eb
UD
338262011-06-21 Andreas Jaeger <aj@suse.de>
33827
33828 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
33829 Copy rule from iconvdata/Makefile.
33830
01636b21
UD
338312011-07-06 Ulrich Drepper <drepper@gmail.com>
33832
33833 [BZ #12922]
33834 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
33835 but no long options are defined, just return 'W'.
33836
9895c8bc
UD
338372011-06-22 Marek Polacek <mpolacek@redhat.com>
33838
33839 [BZ #9696]
33840 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
33841
5d4cf042
UD
338422011-07-06 Ulrich Drepper <drepper@gmail.com>
33843
33844 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
33845 netgroups to read.
960e5535 33846 (innetgr): Likewise.
5d4cf042 33847
751eb97e
RM
338482011-07-05 Roland McGrath <roland@hack.frob.com>
33849
33850 * config.make.in (install_root): Default to $(DESTDIR).
33851
f15f1e45
UD
338522011-07-05 Ulrich Drepper <drepper@gmail.com>
33853
33854 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
33855
4e34ac6a
RM
338562011-07-02 Roland McGrath <roland@hack.frob.com>
33857
5e9b6af4
RM
33858 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
33859
84f9ea0f
RM
33860 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
33861 containing directory rather than embedding absolute directory names.
33862
ea5ee9f7
RM
33863 * scripts/check-local-headers.sh: Rewritten using awk.
33864 Match by word, not by line. Print error messages for matches.
33865 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
33866
1b74661a
RM
33867 * Makerules [shlib-lds-flags empty]:
33868 ($(common-objpfx)libc_pic.opts): New target.
33869 ($(common-objpfx)libc_pic.os.clean): New target.
33870 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
33871
33872 * config.make.in (OBJCOPY): New variable.
33873 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
33874 * configure: Regenerated.
33875
f781ef40
RM
33876 * config.make.in (use-default-link): New variable.
33877 * configure.in (use_default_link): Grok --with-default-link to set it.
33878 * configure: Regenerated.
33879 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
33880 (shlib-lds, shlib-lds-flags): Define to empty.
33881
2d4fa81e
RM
33882 * Makerules (shlib-lds): New variable.
33883 (shlib-lds-flags): New variable.
33884 (build-shlib, build-moduile, build-module-asneeded): Use it.
33885 ($(common-objpfx)libc.so): Use $(shlib-lds).
33886 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
33887 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
33888
31fffa6b
RM
33889 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
33890 DT_FLAGS/DT_FLAGS_1 with zero flags.
33891
4e34ac6a
RM
33892 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
33893 linker script munging.
33894
fcfc776b
UD
338952011-07-02 Ulrich Drepper <drepper@gmail.com>
33896
33897 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
33898 as 128-bit value.
33899 * crypt/sha512.c (sha512_process_block): Perform total addition using
33900 128-bit if possible.
33901 (__sha512_finish_ctx): Likewise.
33902 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
33903 as 64-bit value.
33904 * crypt/sha256.c (SWAP64): Define.
33905 (sha256_process_block): Perform total addition using 64-bit if
33906 possible.
33907 (__sha256_finish_ctx): Likewise.
33908
99231d9a
UD
339092011-07-01 Ulrich Drepper <drepper@gmail.com>
33910
33911 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
33912 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33913 * nscd/hstcache.c (cache_addhst): Likewise.
33914 * nscd/grpcache.c (cache_addgr): Likewise.
33915 * nscd/aicache.c (addhstaiX): Likewise
33916 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
33917
445b4a53
TK
339182011-07-01 Thorsten Kukuk <kukuk@suse.de>
33919
33920 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
33921 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33922 * nscd/hstcache.c (cache_addhst): Likewise.
33923 * nscd/grpcache.c (cache_addgr): Likewise.
33924 * nscd/aicache.c (addhstaiX): Likewise
33925
6d4d8e8e
AS
339262011-07-01 Andreas Schwab <schwab@redhat.com>
33927
33928 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
33929 domain only when needed.
33930
89f654c5
AS
339312011-06-30 Andreas Schwab <schwab@redhat.com>
33932
33933 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
33934 is always restored.
33935
cf3b23ff
UD
339362011-06-29 Ulrich Drepper <drepper@gmail.com>
33937
33938 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
33939 are re-adding the entry.
33940 * nscd/servicescache.c (cache_addserv): Likewise.
33941
751626f9
AJ
339422011-06-30 Aurelien Jarno <aurelien@aurel32.net>
33943
33944 * sysdeps/generic/dl-irel.h: fix protection against multiple
33945 inclusions.
33946 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
33947
9113ea1f
UD
339482011-06-28 Ulrich Drepper <drepper@gmail.com>
33949
5c0b8d90
UD
33950 [BZ #12935]
33951 * malloc/memusage.sh: Fix quoting in message.
33952 * debug/xtrace.sh: Likewise.
33953
9113ea1f
UD
33954 * configure.in: Remove support for --experimental-malloc option, make
33955 it the default.
33956 * config.make.in: Likewise.
33957 * malloc/Makefile: Likewise.
33958
a4172181
AS
339592011-06-27 Andreas Schwab <schwab@redhat.com>
33960
33961 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
33962 two-byte characters.
33963
78a7eee7
RM
339642011-06-27 Roland McGrath <roland@hack.frob.com>
33965
62bede13
RM
33966 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
33967 AC_CACHE_CHECK invocation.
33968 * configure: Regenerated.
33969
78a7eee7
RM
33970 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
33971
5ce33a62
UD
339722011-06-27 Ulrich Drepper <drepper@gmail.com>
33973
034807a9
UD
33974 [BZ #12350]
33975 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
33976 bit from old_res_options.
33977
4902da17
UD
33978 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
33979
5ce33a62
UD
33980 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
33981 value type for setfct.
33982
c2344f56
L
339832011-06-23 H.J. Lu <hongjiu.lu@intel.com>
33984
33985 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33986 __gettimeofday instead of gettimeofday.
33987
68468076
UD
339882011-06-26 Ulrich Drepper <drepper@gmail.com>
33989
33990 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
33991
acb0d739
L
339922011-06-24 H.J. Lu <hongjiu.lu@intel.com>
33993
33994 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
33995
33996 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
33997 info.
33998
8912479f
L
339992011-06-22 H.J. Lu <hongjiu.lu@intel.com>
34000
34001 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34002 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34003 strcpy-sse2-unaligned strncpy-sse2-unaligned
34004 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
34005 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
34006 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
34007 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
34008 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
34009 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
34010 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
34011 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
34012 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
34013 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
34014 (STRCPY): Support SSE2 and SSSE3 versions.
34015
d5495a11
UD
340162011-06-24 Ulrich Drepper <drepper@gmail.com>
34017
34018 [BZ #12874]
34019 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
34020 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
34021 kernels which artificially limit size of requests.
34022
0b1cbaae
L
340232011-06-22 H.J. Lu <hongjiu.lu@intel.com>
34024
34025 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34026 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34027 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
34028 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
34029 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
34030 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
34031 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
34032 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
34033 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
34034 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
34035 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
34036 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
34037 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
34038 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
34039 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
34040 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34041 Enable unaligned load optimization for Intel Core i3, i5 and i7
34042 processors.
34043 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
34044 Define.
34045 (index_Fast_Unaligned_Load): Define.
34046 (HAS_FAST_UNALIGNED_LOAD): Define.
34047
07f494a0
MP
340482011-06-23 Marek Polacek <mpolacek@redhat.com>
34049
34050 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
34051
fa3fc0fe
UD
340522011-06-22 Ulrich Drepper <drepper@gmail.com>
34053
34054 [BZ #12907]
34055 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
34056 until it is clear that the information is realy needed.
34057 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
34058
e12df166
AS
340592011-06-22 Andreas Schwab <schwab@redhat.com>
34060
34061 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
34062
852eb34d
UD
340632011-06-22 Ulrich Drepper <drepper@gmail.com>
34064
84e2a551
UD
34065 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34066 /sys/devices/system/cpu/online if it is usable.
34067
852eb34d
UD
34068 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
34069 reading the information from the /proc filesystem to once a second.
34070
6e502e19
UD
340712011-06-21 Andreas Jaeger <aj@suse.de>
34072
34073 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
34074 NULL after inclusion of kernel headers.
34075
75d39ff2
UD
340762011-06-21 Ulrich Drepper <drepper@gmail.com>
34077
51f9aa6a
UD
34078 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
34079 calls to internal_setent.
34080
c0244a9d
UD
34081 [BZ #12885]
34082 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
34083 addresses using gethostbyname4_r ignore IPv4 addresses.
34084
c5e3c2ae
UD
34085 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
34086 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
34087
75d39ff2
UD
34088 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
34089
42675c6f
DM
340902011-06-20 David S. Miller <davem@davemloft.net>
34091
34092 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
34093 inclusions.
34094 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
34095
34096 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
34097 (elf_irel): Use it.
34098 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
34099 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
34100 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
34101 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
34102 * sysdeps/x86_64/dl-irel.h: Likewise.
34103
34104 * elf/dl-runtime.c: Use elf_ifunc_invoke.
34105 * elf/dl-sym.c: Likewise.
34106
57912a71
UD
341072011-06-15 Ulrich Drepper <drepper@gmail.com>
34108
34109 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
34110 need to dereference resplen2.
34111
ee22793d
AS
341122011-06-14 Andreas Schwab <schwab@redhat.com>
34113
34114 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
34115
a9e836b0
UD
341162011-06-15 Ulrich Drepper <drepper@gmail.com>
34117
77fb9117
UD
34118 * Makeconfig: Define vardbdir and inst_vardbdir.
34119 * nss/Makefile: Add rules to install db-Makefile.
34120
40c1b22c
UD
34121 * nss/nss_db/db-XXX.c: Cleanup.
34122
9f2da732
UD
34123 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
34124 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
34125 GLIBC_PRIVATE.
34126 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
34127 * nss/makedb.c: Implement -g option to specify that value strings
34128 are generated and should not be added to table iterated over for
34129 get*ent calls.
34130 * nss/nss_db/db-initgroups.c: New file.
34131
82e9a1f7
UD
34132 * nss/getent.c: Add support for initgroups lookups through getgrouplist
34133 interface.
34134
c41af17e
UD
34135 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
34136 (internal_getgrouplist): Adjust to name change.
34137 Update use_initgroups_entry if this is not the first call.
34138 * nss/databases.def: Add initgroups entry.
34139
a9e836b0
UD
34140 * nss/makedb.c (compute_tables): Check result of multiple hash table
34141 sizes to minimize maximum chain length.
34142
2666d441
UD
341432011-06-14 Ulrich Drepper <drepper@gmail.com>
34144
34145 * Versions.def: Add entry for libnss_db.
34146 * shlib-versions: Likewise.
34147 * nss/Makefile: Add rules to build libnss_db.
34148 * nss/Versions: Add libnss_db information. Organize libnss_files
34149 entries better.
34150 * nss/db-Makefile: Add gshadow support. Change rules for the new
34151 makedb progra. Some minor improvements to generate smaller files.
34152 * nss/nss_db/nss_db.h: Move NSS database header data structures to
34153 here from...
34154 * nss/makedb.c: ...here.
34155 Improve database format to be smaller and require less memory at
34156 runtime.
34157 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
34158 db anymore.
34159 * nss/nss_db/db-netgrp.c: Likewise.
34160 * nss/nss_db/db-open.c: Likewise.
34161 * nss/nss_files/flies-XXX.x: Adjust comments.
34162 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
34163 * nss/nss_files/files-grp.c: Likewise.
34164 * nss/nss_files/files-hosts.c: Likewise.
34165 * nss/nss_files/files-network.c: Likewise.
34166 * nss/nss_files/files-proto.c: Likewise.
34167 * nss/nss_files/files-pwd.c: Likewise.
34168 * nss/nss_files/files-rpc.c: Likewise.
34169 * nss/nss_files/files-service.c: Likewise.
34170 * nss/nss_files/files-sgrp.c: Likewise.
34171 * nss/nss_files/files-spwd.c: Likewise.
34172 * nss/nss_db/db-alias.c: Removed.
34173 * nss/nss_db/dummy-db.h: Removed.
34174
9ee76b5a
UD
341752011-06-02 Ulrich Drepper <drepper@gmail.com>
34176
34177 * nss/makedb.c: Rewritten to not use database library.
34178 * nss/Makefile: Update to build new makedb program.
34179
c71ca1f8
AJ
341802011-06-14 Andreas Jaeger <aj@suse.de>
34181
34182 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
34183 memset declaration.
34184
3154bfb8
UD
341852011-06-10 Andreas Schwab <schwab@redhat.com>
34186
34187 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
34188 tmpbuf.
34189
b350afab
RM
341902011-06-10 Roland McGrath <roland@hack.frob.com>
34191
decd4e50
RM
34192 * Makerules (shlib.lds): Fail if the linker script comes out empty.
34193 * elf/Makefile ($(objpfx)ld.so): Likewise.
34194
5615eaf2
RM
34195 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
34196 Don't list ld.so twice in dependencies.
34197
34198 * posix/bug-regex31.c: Include <stdlib.h>.
34199
34200 * nscd/hstcache.c (cache_addhst): Remove unused variable.
34201
34202 * nis/nss_compat/compat-spwd.c
34203 (getspent_next_nss_netgr): Remove unused variable.
34204 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
34205
34206 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
34207 nonmembers" output to use the right array.
34208
34209 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
34210
34211 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
34212
34213 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
34214 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
34215 * catgets/gencat.c (read_input_file): Likewise.
34216 * locale/programs/locarchive.c (enlarge_archive): Likewise.
34217
34218 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
34219 variable definition inside #if's controlling its use.
34220
34221 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
34222
34223 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
34224
34225 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
34226
34227 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
34228 unreachable code.
34229
34230 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
34231
b68e08db
RM
34232 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
34233 * configure: Regenerated.
34234
b350afab
RM
34235 * Makerules: Revert last change.
34236 * elf/Makefile: Likewise.
34237
28368601
RM
342382011-06-09 Roland McGrath <roland@hack.frob.com>
34239
34240 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
34241 * elf/Makefile ($(objpfx)librtld.os): Likewise.
34242 (reloc-link): Likewise.
34243
11988f8f
UD
342442011-06-09 Ulrich Drepper <drepper@gmail.com>
34245
34246 * elf/Makefile: Add rules to build pldd.
34247 * elf/pldd.c: New file.
34248 * elf/pldd-xx.c: New file.
34249
e80fab37
UD
342502011-06-07 Ulrich Drepper <drepper@gmail.com>
34251
34252 * version.h: Update for 2.15 development version.
34253
9b849836
DM
342542011-06-07 David S. Miller <davem@davemloft.net>
34255
34256 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
34257 ifuncs.
34258 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
34259 elf_machine_lazy_rel): Likewise.
34260 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
34261 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
34262 elf_machine_lazy_rel): Likewise.
34263 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
34264 dl_hwcap via passed in argument.
34265 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
34266 Likewise.
34267
5a31b283
AK
342682011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34269
34270 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
34271
069e52f8
RM
342722011-06-06 Roland McGrath <roland@hack.frob.com>
34273
34274 [BZ #12849]
34275 * manual/fdl-1.1.texi: New file, verbatim from:
34276 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
34277 * manual/lgpl-2.1.texi: New file, verbatim from:
34278 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
34279 * manual/Makefile (licenses): New variable, list those new file names.
34280 (texis): Use it.
34281 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
34282
34283 * manual/fdl.texi: File removed.
34284 * manual/lesser.texi: File removed.
34285 * manual/libc.texinfo (Copying, Documentation License):
34286 Use new @include file names, put @appendix directive before @include.
34287
f16846a5
JJ
342882011-06-04 Jakub Jelinek <jakub@redhat.com>
34289
34290 [BZ #12841]
34291 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
34292 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
34293 (mq_open): Add __NTH.
34294
3d29045b
L
342952011-06-02 H.J. Lu <hongjiu.lu@intel.com>
34296
34297 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34298 Assume Intel Core i3/i5/i7 processor if AVX is available.
34299
8c297311
UD
343002011-05-31 Ulrich Drepper <drepper@gmail.com>
34301
34302 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34303 typo.
34304
c8fc0c91
UD
343052011-05-31 Andreas Schwab <schwab@redhat.com>
34306
34307 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
34308 memory. Use alloca_account. Fix memory leak when retrying.
34309
5b27a807
UD
343102011-05-31 Ulrich Drepper <drepper@gmail.com>
34311
356f8bc6
UD
34312 * version.h (RELEASE): Bump for 2.14 release.
34313 * include/features.h (__GLIBC_MINOR__): Bump to 14.
34314
5b27a807
UD
34315 * config.make.in (RANLIB): Remove entry.
34316
01f16ab0
UD
343172011-05-30 Ulrich Drepper <drepper@gmail.com>
34318
41fce8bd
UD
34319 * po/Makefile (po-sed-cmd): Add ksh to extensions.
34320 (libc.pot): Work around missing support for .ksh extension in xgettext.
34321
4769ae77
UD
34322 [BZ #12684]
34323 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
34324 if both request failed.
34325 (send_dg): In case of server errors clear resplen or *resplen2.
34326
6b1e7d19
UD
34327 [BZ #12454]
34328 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
34329 when there are multiple maps.
34330 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
34331 (_dl_fini): Remove test here.
34332
01f16ab0
UD
34333 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
34334
b1ebd700
UD
343352011-05-29 Ulrich Drepper <drepper@gmail.com>
34336
7ae22829
UD
34337 [BZ #12350]
34338 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
34339 bit from old_res_options.
34340 (gaih_inet): Likewise.
34341
553149f6 34342 [BZ #11099]
18a84741 34343 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
34344 as signed.
34345
652ffab1
UD
34346 * resolv/res_init.c (res_setoptions): Make the code more compact.
34347
16985fd0
UD
34348 [BZ #11558]
34349 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
34350 set RES_USEVC.
34351
0464f746
UD
34352 [BZ #11634]
34353 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
34354
7d17596c
UD
34355 * malloc/malloc.h: Mark malloc hook variables as deprecated.
34356
cf6bbbd7
UD
34357 [BZ #11781]
34358 * malloc/malloc.h: Declare malloc hook variables as volatile.
34359
13f1ab36
UD
34360 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
34361 in last patch.
34362
b1ebd700
UD
34363 [BZ #11799]
34364 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 34365 raise in the comment.
80e2212d
UD
34366 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34367 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34368 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 34369
ce67228d
UD
343702011-05-28 Ulrich Drepper <drepper@gmail.com>
34371
8887a920
UD
34372 [BZ #12811]
34373 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
34374 grow the buffers more if it already has to be sufficient.
34375 (build_wcs_upper_buffer): Likewise.
34376 * posix/regexec.c (check_matching): Likewise.
34377 (clean_state_log_if_needed): Likewise.
34378 (extend_buffers): Don't enlarge buffers beyond size of the input
34379 buffer.
34380 Patches mostly by Emil Wojak <emil@wojak.eu>.
34381 * posix/bug-regex32.c: New file.
34382 * posix/Makefile (tests): Add bug-regex32.
34383
4f031072
UD
34384 * locale/findlocale.c (_nl_find_locale): Return right away if
34385 _nl_explode_name failed.
34386 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
34387
d0478f0c
UD
34388 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
34389
de81b246
UD
34390 * debug/xtrace.sh: Unify messages.
34391 * malloc/memusage.sh: Likewise.
34392
c738465a
UD
34393 [BZ #12813]
34394 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
34395 time symbol from vDSO. Substitute with vsyscall if not available.
34396 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
34397 __vdso_time.
34398
f1f929d7
UD
34399 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
34400 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
34401 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
34402 Add sendmmsg and internal_sendmmsg.
34403 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
34404 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
34405 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
34406
ce67228d
UD
34407 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
34408 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
34409 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
34410
e57420c6
UD
344112011-05-27 Ulrich Drepper <drepper@gmail.com>
34412
a8509ca5
UD
34413 [BZ #12813]
34414 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
34415 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
34416 available.
34417 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
34418 __vdso_getcpu.
34419
e57420c6
UD
34420 [BZ #12814]
34421 * iconvdata/Makefile (tests): Add bug-iconv9.
34422 * iconvdata/bug-iconv9.c: New file.
34423
4d07db15
AS
344242011-05-27 Andreas Schwab <schwab@redhat.com>
34425
34426 [BZ #12814]
34427 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
34428
ea486f69
JJ
344292011-05-25 Jakub Jelinek <jakub@redhat.com>
34430
34431 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34432 (struct user_regs_struct): Change intcs field back to cs.
34433
6f038433
UD
344342011-05-25 Ulrich Drepper <drepper@gmail.com>
34435
34436 * po/ja.po: Update from translation team.
34437
67f86a25
UD
344382011-05-23 Ulrich Drepper <drepper@gmail.com>
34439
34440 [BZ #12795]
34441 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
34442 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
34443
def7fbd6
AS
344442011-05-20 Andreas Schwab <schwab@redhat.com>
34445
34446 * stdlib/longlong.h: Update from GCC.
34447
f50ef8f1
AS
344482011-05-23 Andreas Schwab <schwab@redhat.com>
34449
34450 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
34451 parameter name.
34452 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
34453 Add parameter name.
34454 (__sysconf): Pass it down.
34455
de7ce8f1
UD
344562011-05-22 Ulrich Drepper <drepper@gmail.com>
34457
f2962a71
UD
34458 [BZ #12671]
34459 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
34460 some situations.
34461 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34462 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
34463 add in in __libc_use_alloca calls. Adjust callers.
34464 (glob): Use malloc in some situations.
34465
de7ce8f1
UD
34466 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
34467 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
34468 pltexit.
34469
aec84f53
UD
344702011-05-21 Ulrich Drepper <drepper@gmail.com>
34471
05bb4a68
UD
34472 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
34473 and CLOCK_BOOTTIME_ALARM.
34474
7ea72f99
UD
34475 [BZ #12782]
34476 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
34477 is returned.
34478
7e4afad5
UD
34479 * string/_strerror.c (__strerror_r): Print negative errors as signed
34480 numbers.
34481
8e211fec
UD
34482 [BZ #12777]
34483 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
34484 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
34485 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
34486
f7d82dc9
UD
34487 * configure.in: Fix typo in redirection and correct removal of test
34488 files in two cases.
34489
cc9e536d
UD
34490 [BZ #12788]
34491 * locale/setlocale.c (new_composite_name): Fix test to check for
34492 identical name of all categories.
34493
aec84f53
UD
34494 [BZ #12792]
34495 * libio/filedoalloc.c (local_isatty): New function.
34496 (_IO_file_doallocate): Use local_isatty.
34497 * stdio-common/perror.c (perror): In case a new stream is used
34498 forward the stream error.
34499 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
34500 error flag.
34501
78e64fdc
RT
345022011-05-20 Ulrich Drepper <drepper@gmail.com>
34503
34a9094f
UD
34504 [BZ #11869]
34505 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
34506 alloca.
34507 * include/alloca.h (extend_alloca_account): Define.
34508
78e64fdc
RT
34509 [BZ #11857]
34510 * posix/regex.h: Fix comments with documentation of user-accessible
34511 fields after compilation and describe correct free'ing of pattern
34512 after re_compile_pattern.
34513 Patch by Reuben Thomas <rrt@sc3d.org>.
34514
457bddfc
RA
345152011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
34516
34517 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
34518 and -mno-altivec to prevent the compiler from using Altivec and/or
34519 VSX instructions when the corresponding registers are not available.
34520
a4527b51
AS
345212011-05-19 Andreas Schwab <schwab@redhat.com>
34522
34523 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
34524
ed690b2f
UD
345252011-05-19 Ulrich Drepper <drepper@gmail.com>
34526
34527 * libio/freopen.c (freopen): Use __dup2, not dup2.
34528 * libio/freopen64.c (freopen64): Likewise.
34529
8db73634
L
345302011-05-17 H.J. Lu <hongjiu.lu@intel.com>
34531
34532 [BZ #12775]
34533 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
34534 * math/Makefile (tests): Add test-powl.
34535 (CFLAGS-test-powl.c): Define.
34536 * math/test-powl.c: New file.
34537
0a197a9d
L
345382011-05-16 H.J. Lu <hongjiu.lu@intel.com>
34539
34540 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
34541
ee30c380
UD
345422011-05-17 Ulrich Drepper <drepper@gmail.com>
34543
34544 [BZ #11837]
34545 * iconvdata/gb18030.c: Update to GB18020-2005.
34546
6ce75379
UD
345472011-05-16 Ulrich Drepper <drepper@gmail.com>
34548
a4b89fd8
AR
34549 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
34550 RE_SYNTAX_POSIX_AWK): Update to match recent development.
34551 Patch by Aharon Robbins <arnold@skeeve.com>.
34552
ea389b12
UD
34553 [BZ #11892]
34554 * stdlib/putenv.c (putenv): Don't always create copy of the variable
34555 on the stack.
34556
68a3f91f
UD
34557 [BZ #11895]
34558 * misc/pselect.c (__pselect): Handle timeout value errors hidden
34559 through underflows.
34560
15cc7dd1
UD
34561 [BZ #12766]
34562 * misc/error.c (error_at_line): Ensure file_name and old_file_name
34563 point to strings before performing equality test for error_one_per_line
34564 mode.
34565
f3799213
UD
34566 [BZ #11697]
34567 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
34568
d79a9c94
UD
34569 [BZ #11820]
34570 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34571 (struct user_fpregs_struct): Avoid __uint*_t types.
34572
56e5eb46
UD
34573 [BZ #6420]
34574 * malloc/mtrace.c (tr_where): Add additional parameter to point to
34575 symbol info. Use it instead of calling _dl_addr locally.
34576 (lock_and_info): New function.
34577 (tr_freehook): Call lock_and_info and pass symbol info as additional
34578 parameter to tr_where.
34579 (tr_mallochook): Likewise.
34580 (tr_reallochook): Likewise.
34581 (tr_memalignhook): Likewise.
34582
6ce75379
UD
34583 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
34584 used and couldn't be at all thread-safe.
34585
f8a3b5bf
UD
345862011-05-15 Ulrich Drepper <drepper@gmail.com>
34587
94b7cc37
UD
34588 * libio/freopen.c (freopen): Don't close old file descriptor
34589 before the new one is opened. Instead dup the new file descriptor
34590 to the old one after the new stream is created.
34591 * libio/freopen64.c (freopen64): Likewise.
34592 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
34593 * libio/fileops.c (_IO_new_file_close_it): Handle new
34594 _IO_FLAGS2_NOCLOSE flag.
34595 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
34596 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
34597 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
34598 _IO_FLAGS2_NOCLOSE flag.
34599 * include/unistd.h: Add hidden_proto for dup3.
34600 Define __have_dup3.
34601 * io/dup3.c: Define hidden symbol.
34602 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
34603
bd25564e
UD
34604 [BZ #7101]
34605 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
34606 when an incomplete long option is used.
34607 * posix/tst-getopt_long1.c: New file.
34608 * posix/Makefile (tests): Add tst-getopt_long1.
34609
c84cfef4
UD
34610 [BZ #10138]
34611 * scripts/config.guess: Update from autoconf-2.68.
34612 * scripts/config.sub: Likewise.
34613
3b85df27
UD
34614 [BZ #10157]
34615 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
34616 tests into ...
34617 (has_cpuclock): ...this. New function.
34618 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
34619 macro here based on has_cpuclock code.
34620
15a856b1
UD
34621 [BZ #10149]
34622 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34623 First byte (not low byte) is now always NUL.
34624 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
34625
05f399e6
UD
34626 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34627 Use non-cancelable interfaces.
34628
10a52685 34629 [BZ #9809]
94ecc67d
UD
34630 * locale/iso-639.def: Add entry for Sorani.
34631
f8a3b5bf
UD
34632 [BZ #11901]
34633 * include/stdlib.h: Move include protection to the right place.
34634 Define abort_msg_s. Declare __abort_msg with it.
34635 * stdlib/abort.c (__abort_msg): Adjust type.
34636 * assert/assert.c (__assert_fail_base): New function. Majority
34637 of code from __assert_fail. Allocate memory for __abort_msg with
34638 mmap.
34639 (__assert_fail): Now call __assert_fail_base.
34640 * assert/assert-perr.c: Remove bulk of implementation. Use
34641 __assert_fail_base.
34642 * include/assert.hL Declare __assert_fail_base.
34643 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
34644 mmap.
34645 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
34646
1af4e298
UD
346472011-05-14 Ulrich Drepper <drepper@gmail.com>
34648
f8a3b5bf 34649 [BZ #11952]
d26dfc60
MG
34650 [BZ #12453]
34651 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
34652 until all modules are registered in the DTV.
34653 * elf/Makefile: Add rules to build and run tst-tls19.
34654 * elf/tst-tls19.c: New file.
34655 * elf/tst-tls19mod1.c: New file.
34656 * elf/tst-tls19mod2.c: New file.
34657 * elf/tst-tls19mod3.c: New file.
34658 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
34659
2fc54d6f
UD
34660 [BZ #12083]
34661 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
34662 correctly.
34663
98d76b46
UD
34664 [BZ #12601]
34665 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
34666 two-byte sequence errors.
34667 * iconvdata/Makefile (tests): Add bug-iconv8.
34668 * iconvdata/bug-iconv8.c: New file.
34669
da3c19ef
UD
34670 [BZ #12626]
34671 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
34672 buf2 definition.
34673
ca408c15
UD
34674 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
34675
d6f67f7d
UD
34676 [BZ #12432]
34677 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
34678 (dummy_getcfa): New function.
34679 (init): Get _Unwind_GetCFA address, use dummy if not found.
34680 (backtrace_helper): In recursion check, also check whether CFA changes.
34681 (__backtrace): Completely initialize arg.
34682
1af4e298 34683 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
34684 storing incomplete byte sequence in state object. Avoid testing for
34685 guaranteed too small input if we know there is enough data available.
1af4e298 34686
da62f81b
AS
346872011-05-11 Andreas Schwab <schwab@redhat.com>
34688
34689 * Makeconfig (+link-pie): Indent.
34690 * Rules (binaries-pie): Define if $(have-fpie) and
34691 $(build-shared).
34692 (binaries-shared): Also filter out $(binaries-pie).
34693 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
34694 * nscd/Makefile (others-pie): Add nscd.
34695 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
34696 ($(objpfx)nscd): Remove command override.
34697 * login/Makefile (others-pie): Add pt_chown.
34698 ($(objpfx)pt_chown): Remove command override.
34699 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
34700 remove command overrides.
34701
fcabc0f8
UD
347022011-05-13 Ulrich Drepper <drepper@gmail.com>
34703
20030ae6
UD
34704 * libio/tst_putwc.c: Fix error messages.
34705
fcabc0f8
UD
34706 [BZ #12724]
34707 * libio/fileops.c (_IO_new_file_close_it): Always flush when
34708 currently writing and seek to current position when not.
34709 * libio/Makefile (tests): Add bug-fclose1.
34710 * libio/bug-fclose1.c: New file.
34711
320a5dc0
PB
347122011-05-12 Ulrich Drepper <drepper@gmail.com>
34713
34714 [BZ #12511]
34715 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
34716 don't set DF_1_NODELETE here.
34717 (do_lookup_x): When entering new entry test for copy relocation
34718 and if necessary set DF_1_NODELETE flag.
34719 * elf/tst-unique4.cc: New file.
34720 * elf/tst-unique4.h: New file.
34721 * elf/tst-unique4lib.cc: New file.
34722 * elf/Makefile: Add rules to build and run tst-unique4.
34723 Patch by Piotr Bury <pbury@goahead.com>.
34724
22836f52
UD
347252011-05-11 Ulrich Drepper <drepper@gmail.com>
34726
f574184a
UD
34727 [BZ #12052]
34728 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
34729
e1fb097f
UD
34730 [BZ #12625]
34731 * misc/mntent_r.c (addmntent): Flush the stream after the output
34732
22836f52
UD
34733 [BZ #12393]
34734 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
34735 (is_trusted_path_normalize): Skip initial colon. Append slash
34736 to empty buffer. Duplicate is_trusted_path code but allow
34737 constructed patch to be prefix.
34738 (is_dst): Allow $ORIGIN followed by /.
34739 (_dl_dst_substitute): Correct clearing of check_for_trusted.
34740 Correct testing of result of is_trusted_path_normalize
34741 (decompose_rpath): Fix warning.
34742
7b3b0b2a
UD
347432011-05-10 Ulrich Drepper <drepper@gmail.com>
34744
34745 [BZ #11257]
34746 * grp/initgroups.c (internal_getgrouplist): When we found the service
34747 list through the initgroups entry in nsswitch.conf do not always
34748 continue on a successful lookup. Don't always use the
eac80ce2 34749 __nss_group_database value if it is set.
7b3b0b2a
UD
34750 * nss/nsswitch.conf (initgroups): Change action for successful db
34751 lookup to continue for compatibility.
34752
2a81eaa5
UD
347532011-05-09 Ulrich Drepper <drepper@gmail.com>
34754
be97a69e
UD
34755 [BZ #11532]
34756 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
34757 and CP774 modules.
34758 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
34759 and CP774 modules.
34760 * iconvdata/tst-tables.sh: Likewise.
34761 * iconvdata/cp770.c: New file.
34762 * iconvdata/cp771.c: New file.
34763 * iconvdata/cp772.c: New file.
34764 * iconvdata/cp773.c: New file.
34765 * iconvdata/cp774.c: New file.
34766 * iconvdata/testdata/CP770: New file.
34767 * iconvdata/testdata/CP770..UTF8: New file.
34768 * iconvdata/testdata/CP771: New file.
34769 * iconvdata/testdata/CP771..UTF8: New file.
34770 * iconvdata/testdata/CP772: New file.
34771 * iconvdata/testdata/CP772..UTF8: New file.
34772 * iconvdata/testdata/CP773: New file.
34773 * iconvdata/testdata/CP773..UTF8: New file.
34774 * iconvdata/testdata/CP774: New file.
34775 * iconvdata/testdata/CP774..UTF8: New file.
34776
34777 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
34778 END CHARMAP line.
34779 * iconvdata/gen-8bit-gap.sh: Likewise.
34780 * iconvdata/gen-8bit.sh: Likewise.
34781
c1e9e399
UD
34782 * locale/iso-639.def: Add ary entry.
34783
24c55fb3 34784 [BZ #11258]
96b4b1b0
UD
34785 * locale/C-translit.h.in: Add U20A1 transliteration.
34786
bdc2f971
KB
34787 [BZ #12178]
34788 * locale/iso-639.def: Add wae entry.
34789 Patch by Kevin Bortis <bortis@translate-wae.ch>.
34790
2952b117
UD
34791 [BZ #12545]
34792 * locale/programs/localedef.c (construct_output_path): Use ssize_t
34793 for n.
34794
2a81eaa5
UD
34795 [BZ #12711]
34796 * locale/C-translit.h.in: Add entry for U20B9.
34797 Patch by pravin.d.s@gmail.com.
34798
28377d1b
UD
347992011-05-08 Ulrich Drepper <drepper@gmail.com>
34800
7fb90fb8
UD
34801 [BZ #12713]
34802 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
34803 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
34804 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
34805 in rtld. Use *stat64.
7fb90fb8 34806 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 34807 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 34808 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
34809 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
34810 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
34811 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
34812 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
34813 __fstatat64 macros.
7fb90fb8
UD
34814 * include/dirent.h: Add libc_hidden_proto for rewinddir.
34815 * dirent/rewinddir.c: Add libc_hidden_def.
34816 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 34817 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 34818
28377d1b
UD
34819 * include/dirent.h (__alloc_dir): Add flags parameter.
34820 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
34821 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
34822 __alloc_dir.
34823 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
34824 from fdopendir if O_CLOEXEC is already set.
34825
66bdbaa4
AM
348262011-03-15 Alan Modra <amodra@gmail.com>
34827
34828 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
34829 l_tls_firstbyte_offset non-zero. Save padding offset in
34830 l_tls_firstbyte_offset for later use.
34831 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
34832 freeing static tls block.
34833
95721191
JN
348342011-03-05 Jonathan Nieder <jrnieder@gmail.com>
34835
34836 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
34837 where #ifdef was intended. The intent is to prevent ARG_MAX from
34838 being defined by the kernel headers.
34839
f87dfb1f
UD
348402011-05-07 Ulrich Drepper <drepper@gmail.com>
34841
34842 [BZ #12734]
34843 * resolv/resolv.h: Define RES_NOTLDQUERY.
34844 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
34845 no-tld-query and set RES_NOTLDQUERY.
34846 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
34847 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
34848 modern BIND to search name as TLD unless forbidden.
34849
47c3cd7a
UD
348502011-05-07 Petr Baudis <pasky@suse.cz>
34851 Ulrich Drepper <drepper@gmail.com>
34852
34853 [BZ #12393]
34854 * elf/dl-load.c (fillin_rpath): Move trusted path check...
34855 (is_trusted_path): ...to here.
c1e9ea35 34856 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 34857 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 34858 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 34859
8a35c912
PP
348602011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34861
34862 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
34863 __BEGIN/__END_DECLS.
34864
acd41f47
UD
348652011-05-06 Ulrich Drepper <drepper@gmail.com>
34866
34867 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
34868 NSS_STATUS_NOTFOUND if no record was found.
34869
597df647
AS
348702011-05-05 Andreas Schwab <schwab@redhat.com>
34871
34872 * sunrpc/Makefile (headers): Add rpc/netdb.h.
34873 (headers-not-in-tirpc): Remove rpc/netdb.h
34874 * resolv/netdb.h: Revert last change.
34875
b9af1301
PP
348762011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
34877
34878 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
34879 circular dependency between libgcc.a and libc.a.
34880
4e34d5f5
AS
348812011-05-05 Andreas Schwab <schwab@redhat.com>
34882
34883 * resolv/netdb.h: Don't include <rpc/netdb.h>.
34884 * nis/Makefile: Don't install rpcsvc/*.
34885 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
34886 instead of <rpc/types.h>.
34887 (MAXHOSTNAMELEN): Define.
34888
00ee369c
AS
348892011-05-03 Andreas Schwab <schwab@redhat.com>
34890
34891 * elf/ldconfig.c (add_dir): Don't crash on empty path.
34892
0b592a30
MB
348932011-04-28 Maciej Babinski <mbabinski@google.com>
34894
34895 [BZ #12714]
34896 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
34897 gethostbyname4_r when IPv6 results are possible.
34898
6e04cbbe
UD
348992011-05-02 Ulrich Drepper <drepper@gmail.com>
34900
34901 [BZ #12723]
34902 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
34903 _PC_PIPE_BUF handling.
34904
e4ecafe0
BH
349052011-04-30 Bruno Haible <bruno@clisp.org>
34906
34907 [BZ #12717]
34908 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
34909 * resolv/netdb.h (getnameinfo): Change type of flags parameter
34910 to 'int'.
34911 * inet/getnameinfo.c (getnameinfo): Likewise.
34912
125ee683
UD
349132011-04-29 Ulrich Drepper <drepper@gmail.com>
34914
34915 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
34916 to groups setting in database lookup.
34917 * nss/nsswitch.conf: Add initgroups entry.
34918
b722481a
EB
349192011-04-22 Ulrich Drepper <drepper@gmail.com>
34920
34921 [BZ #12685]
34922 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
34923 mode string.
34924 Patch by Eric Blake <eblake@redhat.com>.
34925
4df46dbd
L
349262011-04-20 H.J. Lu <hongjiu.lu@intel.com>
34927
34928 * sunrpc/Makefile (need-export-routines): Add svc_run.
34929 (routines): Remove svc_run.
34930 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
34931 * sunrpc/clnt_perr.c (clnt_perrno): Export.
34932 * sunrpc/svc_run.c (svc_run): Likewise.
34933 * sunrpc/svc_udp.c (svcudp_create): Likewise.
34934
e84142d2
UD
349352011-04-21 Ulrich Drepper <drepper@gmail.com>
34936
34937 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
34938 problem in reallocation in last patch.
34939
877175d8
UD
349402011-04-20 Ulrich Drepper <drepper@gmail.com>
34941
34942 * sunrpc/Makefile: Move inclusion of Rules.
34943
ab8eed78
UD
349442011-04-19 Ulrich Drepper <drepper@gmail.com>
34945
34946 * nss/nss_files/files-initgroups.c: New file.
34947 * nss/Makefile (libnss_files-routines): Add files-initgroups.
34948 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
34949 _nss_files_initgroups_dyn.
34950
e3d8f584
RS
349512011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
34952
34953 * elf/elf.h (R_ARM_IRELATIVE): Define.
34954
af190f45
UD
349552011-04-19 Ulrich Drepper <drepper@gmail.com>
34956
34957 * po/ru.po: Update from translation team.
34958
53cf59ef
UD
349592011-04-17 Ulrich Drepper <drepper@gmail.com>
34960
34961 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
34962 dependencies.
34963
4c559bcd
MF
349642011-02-06 Mike Frysinger <vapier@gentoo.org>
34965
34966 [BZ #12653]
34967 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
34968 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
34969 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34970 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34971 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34972
4420675c
AS
349732011-03-28 Andreas Schwab <schwab@linux-m68k.org>
34974
34975 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
34976 differing bytes.
34977 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34978 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34979 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34980
75ea32ab
UD
349812011-04-17 Ulrich Drepper <drepper@gmail.com>
34982
34983 [BZ #12420]
34984 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
34985 storing it.
34986 * stdlib/bug-getcontext.c: New file.
34987 * stdlib/Makefile: Add rules to build and run bug-getcontext.
34988
27390476
AK
349892011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34990
34991 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
34992 instructions into .machine "z9-109".
34993 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
34994 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
34995
10442705
AK
349962011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34997
34998 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
34999 between environment variables and auxiliary vector.
35000
7b57bfe5
UD
350012011-04-16 Ulrich Drepper <drepper@gmail.com>
35002
35003 * Makefile: Add rules to build linkobj/libc.so.
35004 * include/libc-symbols.h: Define libc_hidden_nolink.
35005 * include/rpc/auth.h: Mark functions which are to be hidden.
35006 * include/rpc/auth_des.h: Likewise.
35007 * include/rpc/auth_unix.h: Likewise.
35008 * include/rpc/clnt.h: Likewise.
35009 * include/rpc/des_crypt.h: Likewise.
35010 * include/rpc/key_prot.h: Likewise.
35011 * include/rpc/pmap_clnt.h: Likewise.
35012 * include/rpc/pmap_prot.h: Likewise.
35013 * include/rpc/pmap_rmt.h: Likewise.
35014 * include/rpc/rpc_msg.h: Likewise.
35015 * include/rpc/svc.h: Likewise.
35016 * include/rpc/svc_auth.h: Likewise.
35017 * include/rpc/xdr.h: Likewise.
35018 * nis/Makefile: Link all DSOs against linkobj/libc.so.
35019 * nss/Makefile: Likewise.
35020 * sunrpc/Makefile: Don't install headers. Build library with normal
35021 entry points. Don't build rpcinfo. Link RPC tests appropriately.
35022 * sunrpc/auth_des.c: Hide exported symbols by default, export some
35023 for the compat linking library. Remove use of INTDEF/INTUSE.
35024 * sunrpc/auth_none.c: Likewise.
35025 * sunrpc/auth_unix.c: Likewise.
35026 * sunrpc/authdes_prot.c: Likewise.
35027 * sunrpc/authuxprot.c: Likewise.
35028 * sunrpc/clnt_gen.c: Likewise.
35029 * sunrpc/clnt_perr.c: Likewise.
35030 * sunrpc/clnt_raw.c: Likewise.
35031 * sunrpc/clnt_simp.c: Likewise.
35032 * sunrpc/clnt_tcp.c: Likewise.
35033 * sunrpc/clnt_udp.c: Likewise.
35034 * sunrpc/clnt_unix.c: Likewise.
35035 * sunrpc/des_crypt.c: Likewise.
35036 * sunrpc/des_soft.c: Likewise.
35037 * sunrpc/get_myaddr.c: Likewise.
35038 * sunrpc/key_call.c: Likewise.
35039 * sunrpc/key_prot.c: Likewise.
35040 * sunrpc/netname.c: Likewise.
35041 * sunrpc/pm_getmaps.c: Likewise.
35042 * sunrpc/pm_getport.c: Likewise.
35043 * sunrpc/pmap_clnt.c: Likewise.
35044 * sunrpc/pmap_prot.c: Likewise.
35045 * sunrpc/pmap_prot2.c: Likewise.
35046 * sunrpc/pmap_rmt.c: Likewise.
35047 * sunrpc/publickey.c: Likewise.
35048 * sunrpc/rpc_cmsg.c: Likewise.
35049 * sunrpc/rpc_common.c: Likewise.
35050 * sunrpc/rpc_dtable.c: Likewise.
35051 * sunrpc/rpc_prot.c: Likewise.
35052 * sunrpc/rpc_thread.c: Likewise.
35053 * sunrpc/rtime.c: Likewise.
35054 * sunrpc/svc.c: Likewise.
35055 * sunrpc/svc_auth.c: Likewise.
35056 * sunrpc/svc_authux.c: Likewise.
35057 * sunrpc/svc_raw.c: Likewise.
35058 * sunrpc/svc_run.c: Likewise.
35059 * sunrpc/svc_simple.c: Likewise.
35060 * sunrpc/svc_tcp.c: Likewise.
35061 * sunrpc/svc_udp.c: Likewise.
35062 * sunrpc/svc_unix.c: Likewise.
35063 * sunrpc/svcauth_des.c: Likewise.
35064 * sunrpc/xcrypt.c: Likewise.
35065 * sunrpc/xdr.c: Likewise.
35066 * sunrpc/xdr_array.c: Likewise.
35067 * sunrpc/xdr_float.c: Likewise.
35068 * sunrpc/xdr_intXX_t.c: Likewise.
35069 * sunrpc/xdr_mem.c: Likewise.
35070 * sunrpc/xdr_rec.c: Likewise.
35071 * sunrpc/xdr_ref.c: Likewise.
35072 * sunrpc/xdr_sizeof.c: Likewise.
35073 * sunrpc/xdr_stdio.c: Likewise.
35074
e6c61494
UD
350752011-04-10 Ulrich Drepper <drepper@gmail.com>
35076
35077 [BZ #12650]
35078 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
35079 * sysdeps/ia64/dl-tls.h: Likewise.
35080 * sysdeps/powerpc/dl-tls.h: Likewise.
35081 * sysdeps/s390/dl-tls.h: Likewise.
35082 * sysdeps/sh/dl-tls.h: Likewise.
35083 * sysdeps/sparc/dl-tls.h: Likewise.
35084 * sysdeps/x86_64/dl-tls.h: Likewise.
35085 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
35086
34fe483e
AS
350872011-03-14 Andreas Schwab <schwab@redhat.com>
35088
35089 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
35090 rpath element also skip the following colon.
35091 (expand_dynamic_string_token): Add is_path parameter and pass
35092 down to DL_DST_REQUIRED and _dl_dst_substitute.
35093 (decompose_rpath): Call expand_dynamic_string_token with
35094 non-zero is_path. Ignore empty rpaths.
35095 (_dl_map_object_from_fd): Call expand_dynamic_string_token
35096 with zero is_path.
35097
f12a32e6
AS
350982011-04-08 Andreas Schwab <schwab@linux-m68k.org>
35099
35100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35101 Make cancelable.
35102
38a7d692
UD
351032011-04-09 Ulrich Drepper <drepper@gmail.com>
35104
35105 [BZ #12655]
35106 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
35107 Patch by Filipe David Manana <fdmanana@apache.org>.
35108
e451d22b
AS
351092011-04-07 Andreas Schwab <schwab@redhat.com>
35110
35111 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
35112 Maintain aligned stack.
35113 (CHECK_RSP): Remove unused macro.
35114
dedc7c7b
UD
351152011-04-03 Ulrich Drepper <drepper@gmail.com>
35116
35117 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
35118 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
35119
94521213
UD
351202011-04-02 Ulrich Drepper <drepper@gmail.com>
35121
35122 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
35123
8cb700c0 35124 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 35125
0354e355
L
351262011-03-26 H.J. Lu <hongjiu.lu@intel.com>
35127
35128 [BZ #12518]
35129 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
35130 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
35131 * sysdeps/x86_64/memmove.c: New file.
35132 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
35133 (memcpy): Renamed to ...
35134 (__new_memcpy): This.
35135 (memcpy): Provide GLIBC_2_14 memcpy.
35136 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
35137 (memcpy): Provide GLIBC_2_2_5 memcpy.
35138
8593482f
UD
351392011-04-01 Ulrich Drepper <drepper@gmail.com>
35140
35141 [BZ #12631]
35142 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
35143
81a5726b
AS
351442011-03-30 Andreas Schwab <schwab@redhat.com>
35145
35146 * misc/syncfs.c: New file.
35147 * misc/Makefile (routines): Add syncfs.
35148 * posix/unistd.h: Declare syncfs.
35149 * sysdeps/unix/syscalls.list: Add syncfs.
35150
00e5419f
AS
351512011-04-01 Andreas Schwab <schwab@redhat.com>
35152
35153 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
35154 open_by_handle_at.
35155 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35156 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35157 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35158 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35159 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35160 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
35161 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35162
748876bf
UD
351632011-04-01 Ulrich Drepper <drepper@gmail.com>
35164
658e451d
UD
35165 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
35166 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35167 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
35168 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35169 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35170 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35171 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35172
748876bf
UD
35173 * io/Makefile: Compile fallocate.c, fallocate64.c, and
35174 sync_file_range.c with -fexceptions.
35175 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
35176 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
35177 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
35178 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
35179 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
35180 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35181 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
35182 sync_file_range as cancellation point
35183 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
35184 now a wrapper around __call_sync_file_range with cancellation handling.
35185 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
35186 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
35187 function name to __call_sync_file_range.
35188 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
35189 Add call_sync_file_range.
748876bf 35190
6e63d5e1
AS
351912011-04-01 Andreas Schwab <schwab@redhat.com>
35192
35193 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 35194 bits/timex.h.
6e63d5e1 35195
46998f74
UD
351962011-04-01 Ulrich Drepper <drepper@gmail.com>
35197
4c1423ed
UD
35198 * iconv/iconv.h: Fix typo in comment.
35199 * io/fcntl.h: Likewise.
35200 * libio/stdio.h: Likewise.
35201 * posix/spawn.h: Likewise.
35202 * posix/unistd.h: Likewise.
35203 * stdlib/stdlib.h: Likewise.
35204 * time/time.h: Likewise.
35205 * wcsmbs/wchar.h: Likewise.
35206
158648c0
UD
35207 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
35208 open_by_handle): Add.
35209 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
35210 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
35211 Augment a few comments.
35212 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35213 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35214 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35215 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35216 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35217 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
35218 open_by_handle.
35219
46998f74
UD
35220 * io/fcntl.h (AT_EMPTY_PATH): Define.
35221
83fe108b
UD
352222011-03-30 Ulrich Drepper <drepper@gmail.com>
35223
35224 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
35225 * sysdeps/unix/sysv/linux/bits/time.h: New file.
35226 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
35227 to...
35228 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
35229 * Versions.def: Add GLIBC_2.14.
35230 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
35231 Export.
83fe108b 35232
bb242059
UD
352332011-03-22 Ulrich Drepper <drepper@gmail.com>
35234
35235 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
35236 round counter.
35237 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35238
c97a1282
L
352392011-03-20 H.J. Lu <hongjiu.lu@intel.com>
35240
35241 [BZ #12597]
35242 * string/test-strncmp.c (do_page_test): New function.
35243 (check2): Likewise.
35244 (test_main): Call check2.
35245 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
35246
2a115601
UD
352472011-03-20 Ulrich Drepper <drepper@gmail.com>
35248
35249 [BZ #12587]
35250 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
35251 Handle cache information in CPU leaf 4.
35252 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35253
8126d904
UD
352542011-03-18 Ulrich Drepper <drepper@gmail.com>
35255
042c49c6 35256 [BZ #12583]
8126d904
UD
35257 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
35258 character representation.
35259 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
35260
ccfe366e
RA
352612011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
35262
35263 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
35264 END(__isnan) to END(__isnanf) to match function entry point/label
35265 EALIGN(__isnanf,...).
35266
c6e13027
JJ
352672011-03-10 Jakub Jelinek <jakub@redhat.com>
35268
35269 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
35270
33f85a3f
UD
352712011-03-10 Ulrich Drepper <drepper@gmail.com>
35272
028478fa
UD
35273 [BZ #12510]
35274 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
35275 copy from the symbol referenced in the relocation to initialize the
35276 used variable.
35277 Patch by Piotr Bury <pbury@goahead.com>.
35278 * elf/Makefile: Add rules to build and tst-unique3.
35279 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
35280 * elf/tst-unique3.cc: New file.
35281 * elf/tst-unique3.h: New file.
35282 * elf/tst-unique3lib.cc: New file.
35283 * elf/tst-unique3lib2.cc: New file.
35284
33f85a3f
UD
35285 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
35286
03592fc7
MF
352872011-03-10 Mike Frysinger <vapier@gentoo.org>
35288
35289 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
35290 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
35291 to _start.
03592fc7 35292
6a5ee102
UD
352932011-03-06 Ulrich Drepper <drepper@gmail.com>
35294
35295 * elf/dl-load.c (_dl_map_object): If we are looking for the first
35296 to-be-loaded object along a path to loader is ld.so.
35297
7e4ba49c
HJ
352982011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
35299 Ulrich Drepper <drepper@gmail.com>
35300
35301 * sysdeps/x86_64/memset.S: After aligning destination, code
35302 branches to different locations depending on the value of
35303 misalignment, when multiarch is enabled. Fix this.
35304
353052011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
35306
35307 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
35308 Set _x86_64_preferred_memory_instruction for AMD processsors.
35309 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35310 Set bit_Prefer_SSE_for_memop for AMD processors.
35311
13a804de
UD
353122011-03-04 Ulrich Drepper <drepper@gmail.com>
35313
35314 * libio/fmemopen.c (fmemopen): Optimize a bit.
35315
9d25c392
AS
353162011-03-03 Andreas Schwab <schwab@redhat.com>
35317
35318 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
35319
a5543c6a
RM
353202011-03-03 Roland McGrath <roland@redhat.com>
35321
35322 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
35323
012d35f7
DM
353242011-02-28 Aurelien Jarno <aurelien@aurel32.net>
35325
7e4ba49c 35326 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
35327 __bzero_ultra1 instead of __memset_ultra1.
35328
4bff6e01
AS
353292011-02-23 Andreas Schwab <schwab@redhat.com>
35330 Ulrich Drepper <drepper@gmail.com>
35331
35332 [BZ #12509]
35333 * include/link.h (struct link_map): Add l_orig_initfini.
35334 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
35335 returning unsuccessfully.
35336 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
35337 close of a file loaded at startup, restore the original l_initfini
35338 list.
35339 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
35340 list, store the pointer.
35341 * elf/Makefile ($(objpfx)noload-mem): New rule.
35342 (noload-ENV): Define.
35343 (tests): Add $(objpfx)noload-mem.
35344 * elf/noload.c: Include <memcheck.h>.
35345 (main): Call mtrace. Close all opened handles.
35346
f2092faf
AS
353472011-02-17 Andreas Schwab <schwab@redhat.com>
35348
35349 [BZ #12454]
35350 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
35351 dependencies are missing.
35352
6c8a2e88
ST
353532011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
35354
f2092faf 35355 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
35356 Hurd needs munmap.
35357 * sysdeps/mach/hurd/ifreq.h: New file.
35358
84a42118
PB
353592011-01-27 Petr Baudis <pasky@suse.cz>
35360 Ulrich Drepper <drepper@gmail.com>
35361
071f805e 35362 [BZ 12445]#
84a42118
PB
35363 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
35364 to extend_alloca().
35365 * stdio-common/bug23.c: New file.
35366 * stdio-common/Makefile (tests): Add bug23.
35367
e23fe25b
AS
353682010-09-28 Andreas Schwab <schwab@redhat.com>
35369 Ulrich Drepper <drepper@gmail.com>
35370
35371 [BZ #12489]
35372 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
35373 before performing relro protection. At old place add assertion
35374 to make sure nothing changed.
35375
d3f02e10
NS
353762011-02-17 Nathan Sidwell <nathan@codesourcery.com>
35377 Glauber de Oliveira Costa <glommer@gmail.com>
35378
35379 * elf/elf.h: Add new ARM TLS relocs.
35380
d55fd7a5
RA
353812011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
35382
35383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35384 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
35385 cast from r3.
35386 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
35387 'tests' variable.
35388 * sysdeps/wordsize-64/tst-writev.c: New file.
35389
2206397e
RA
353902011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
35391
35392 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
35393 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
35394 insns in _dl_start to prevent a TOC reference before relocs are
35395 resolved.
35396
e9433893
UD
353972011-02-15 Ulrich Drepper <drepper@gmail.com>
35398
35399 [BZ #12469]
35400 * Makeconfig: Remove RANLIB definition.
35401 * Makerules: Don't use RANLIB.
35402 * aclocal.m4: Remove ranlib test.
35403 * configure.in: No need to check for ranlib.
35404 * elf/rtld-Rules: Don't use RANLIB.
35405
f75286c6
ST
354062011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
35407
8e31c82d
ST
35408 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
35409 protection macro.
35410 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
35411 inclusion protection macro.
35412
f75286c6
ST
35413 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
35414 SIGRTMIN and SIGRTMAX and print information in that case only when
35415 SIGRTMIN is defined.
35416
c1d0e639
JJ
354172011-02-11 Jakub Jelinek <jakub@redhat.com>
35418
35419 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
35420 arginfo fn returning -1.
35421
35422 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
35423 and thousands string is zero terminated.
35424
edf9294e
AS
354252011-02-03 Andreas Schwab <schwab@redhat.com>
35426
35427 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
35428 sysdeps/unix/sysv/linux/bits/socket.h.
35429
2b7e92df
ST
354302011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
35431
edf9294e
AS
35432 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
35433 (__CPU_COUNT): Remove old macros.
35434 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
35435 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
35436 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
35437 (__sched_cpualloc, __sched_cpufree): Add declarations.
35438
a4c7ea7b
UD
354392011-02-05 Ulrich Drepper <drepper@gmail.com>
35440
35441 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
35442 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
35443 * nscd/aicache.c (addhstaiX): Return timeout of added value.
35444 (readdhstai): Return value of addhstaiX call.
35445 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
35446 (addgrbyX): Return value returned by cache_addgr.
35447 (readdgrbyname): Return value returned by addgrbyX.
35448 (readdgrbygid): Likewise.
35449 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
35450 (addpwbyX): Return value returned by cache_addpw.
35451 (readdpwbyname): Return value returned by addhstbyX.
35452 (readdpwbyuid): Likewise.
35453 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
35454 (addservbyX): Return value returned by cache_addserv.
35455 (readdservbyname): Return value returned by addservbyX:
35456 (readdservbyport): Likewise.
35457 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
35458 (addhstbyX): Return value returned by cache_addhst.
35459 (readdhstbyname): Return value returned by addhstbyX.
35460 (readdhstbyaddr): Likewise.
35461 (readdhstbynamev6): Likewise.
35462 (readdhstbyaddrv6): Likewise.
35463 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
35464 (readdinitgroups): Return value returned by addinitgroupsX.
35465 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
35466 (prune_cache): Keep track of timeout value of re-added entries.
35467 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
35468 * nscd/nscd.h: Adjust prototypes of readd* functions.
35469
a0bf67cc
RM
354702011-02-04 Roland McGrath <roland@redhat.com>
35471
35472 * nis/nis_server.c (nis_servstate): Use the right name for 0.
35473 (nis_stats): Likewise.
35474 * nis/nis_modify.c (nis_modify): Likewise.
35475 * nis/nis_remove.c (nis_remove): Likewise.
35476 * nis/nis_add.c (nis_add): Likewise.
35477
35478 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
35479
35480 * posix/fnmatch_loop.c: Add some consts.
35481
35482 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
35483
435b95eb
L
354842011-02-02 H.J. Lu <hongjiu.lu@intel.com>
35485
35486 [BZ #12460]
35487 * config.make.in (config-cflags-novzeroupper): Define.
35488 * configure.in: Substitute libc_cv_cc_novzeroupper.
35489 * elf/Makefile (AVX-CFLAGS): Define.
35490 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
35491 (CFLAGS-tst-auditmod4a.c): Likewise.
35492 (CFLAGS-tst-auditmod4b.c): Likewise.
35493 (CFLAGS-tst-auditmod6b.c): Likewise.
35494 (CFLAGS-tst-auditmod6c.c): Likewise.
35495 (CFLAGS-tst-auditmod7b.c): Likewise.
35496 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
35497
8517b15e
UD
354982011-02-02 Ulrich Drepper <drepper@gmail.com>
35499
35500 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
35501 function to the callback.
35502 Patch partly by Jiri Olsa <jolsa@redhat.com>.
35503
10a656fe
AS
355042011-02-02 Andreas Schwab <schwab@redhat.com>
35505
35506 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
35507 of errno.
35508
968dad0a
UD
355092011-01-19 Ulrich Drepper <drepper@gmail.com>
35510
9f94d2ea 35511 [BZ #11724]
968dad0a
UD
35512 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
35513 of constructors.
35514 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
35515 of destructors.
35516 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
35517
35518 [BZ #11724]
35519 * elf/Makefile: Add rules to build and run new test.
35520 * elf/tst-initorder.c: New file.
35521 * elf/tst-initorder.exp: New file.
35522 * elf/tst-initordera1.c: New file.
35523 * elf/tst-initordera2.c: New file.
35524 * elf/tst-initordera3.c: New file.
35525 * elf/tst-initordera4.c: New file.
35526 * elf/tst-initorderb1.c: New file.
35527 * elf/tst-initorderb2.c: New file.
35528 * elf/tst-order-a1.c: New file.
35529 * elf/tst-order-a2.c: New file.
35530 * elf/tst-order-a3.c: New file.
35531 * elf/tst-order-a4.c: New file.
35532 * elf/tst-order-b1.c: New file.
35533 * elf/tst-order-b2.c: New file.
35534 * elf/tst-order-main.c: New file.
35535 New test case by George Gensure <werkt0@gmail.com>.
35536
86e92359
UD
355372010-10-01 Andreas Schwab <schwab@redhat.com>
35538
35539 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35540 decoding ACE if AI_CANONIDN.
35541
5d5732b0
UD
355422011-01-18 Ulrich Drepper <drepper@gmail.com>
35543
35544 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
35545
a77e8cbc
UD
355462011-01-17 Ulrich Drepper <drepper@gmail.com>
35547
6392473f
UD
35548 * version.h (RELEASE): Bump for 2.13 release.
35549 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
35550
620a0529
UD
35551 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
35552
18ba70a5
UD
35553 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
35554 MADV_NOHUGEPAGE.
32465c3e
UD
35555 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
35556 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35557 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35558 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35559 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35560 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35561
c0dafcf1
UD
35562 * posix/getconf.c: Update copyright year.
35563 * catgets/gencat.c: Likewise.
35564 * csu/version.c: Likewise.
35565 * debug/catchsegv.sh: Likewise.
35566 * debug/xtrace.sh: Likewise.
35567 * elf/ldconfig.c: Likewise.
35568 * elf/ldd.bash.in: Likewise.
35569 * elf/sprof.c (print_version): Likewise.
35570 * iconv/iconv_prog.c: Likewise.
35571 * iconv/iconvconfig.c: Likewise.
35572 * locale/programs/locale.c: Likewise.
35573 * locale/programs/localedef.c: Likewise.
35574 * malloc/memusage.sh: Likewise.
35575 * malloc/mtrace.pl: Likewise.
35576 * nscd/nscd.c (print_version): Likewise.
35577 * nss/getent.c: Likewise.
35578
a77e8cbc
UD
35579 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
35580 PF_CAIF, and PF_ALG.
35581 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35582
77e8bddf
AS
355832011-01-16 Andreas Schwab <schwab@linux-m68k.org>
35584
1f20b93a
AS
35585 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
35586 (modules-names): Use them.
35587 (ifunc-test-modules, ifunc-pie-tests): Define.
35588 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
35589 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
35590 (test-extras): Likewise.
35591 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
35592 $(compile-command.c).
35593 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
35594 (all-built-dso): Define.
35595 (check-textrel.out, check-execstack.out): Depend on it.
35596
77e8bddf
AS
35597 * configure.in: Don't override --enable-multi-arch.
35598
bc425b33
UD
355992011-01-15 Ulrich Drepper <drepper@gmail.com>
35600
35601 [BZ #6812]
35602 * nscd/hstcache.c (tryagain): Define.
35603 (cache_addhst): Return tryagain not notfound for temporary errors.
35604 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
35605 failed.
35606
794c3ad3
UD
356072011-01-14 Ulrich Drepper <drepper@gmail.com>
35608
70181fdd
UD
35609 [BZ #10563]
35610 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
35611 to make the syscall.
35612 * sysdeps/unix/sysv/linux/setgroups.c: New file.
35613
794c3ad3
UD
35614 [BZ #12378]
35615 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
35616 and fall back to matching as normal character if the string ends before
35617 the matching ']' is found. This is what POSIX requires.
35618 * posix/testfnm.c: Adjust test result.
35619 * posix/globtest.sh: Adjust test result. Add new test.
35620 * posix/tst-fnmatch.input: Likewise.
35621 * posix/tst-fnmatch2.c: Add new test.
35622
68dc9497
AS
356232010-12-28 Andreas Schwab <schwab@linux-m68k.org>
35624
35625 * elf/Makefile (check-execstack): Revert last change. Depend on
35626 check-execstack.h.
35627 (check-execstack.h): New target.
35628 (generated): Add check-execstack.h.
35629 * elf/check-execstack.c: Include "check-execstack.h".
35630 (main): Revert last change.
35631 (handle_file): Return zero if GNU_STACK is absent and
35632 DEFAULT_STACK_PERMS doesn't include PF_X.
35633
451f001b
UD
356342011-01-13 Ulrich Drepper <drepper@gmail.com>
35635
cfa28e56
UD
35636 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
35637 in child fails because the descriptor is already closed.
8cf8ce17
UD
35638 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
35639 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
35640 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 35641
1086d70d
UD
35642 [BZ #12397]
35643 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
35644 syscall.
35645
451f001b
UD
35646 [BZ #10484]
35647 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
35648 temporary buffer used to handle multi lookups locally.
a85b5cb4 35649 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 35650
08769175
UD
356512011-01-12 Ulrich Drepper <drepper@gmail.com>
35652
35653 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
35654 loader is ld.so.
35655
5e49c52e
UD
356562011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
35657
35658 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
35659 alignment for SSE2.
35660
60522a5f
UD
356612011-01-12 Ulrich Drepper <drepper@gmail.com>
35662
35663 [BZ #12394]
35664 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
35665 characters. When rounding increased number of integer digits recompute
35666 number of groups.
35667 * stdio-common/tst-grouping.c: New file.
35668 * stdio-common/Makefile: Add rules to build and run tst-grouping.
35669
f257bbd7
UD
356702011-01-09 Ulrich Drepper <drepper@gmail.com>
35671
35672 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
35673 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
35674
35675 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
35676 void.
35677 * bits/select.h: Likewise.
35678
fa9c15cb
UD
356792011-01-08 Ulrich Drepper <drepper@gmail.com>
35680
35681 * po/ja.po: Update from translation team.
35682
16c2895f
DM
356832011-01-04 David S. Miller <davem@sunset.davemloft.net>
35684
35685 [BZ #11155]
35686 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
35687 implementation just like for lxstat, fxstatat, et al.
35688
2543fef2
JM
356892010-12-27 Jim Meyering <meyering@redhat.com>
35690
35691 [BZ #12348]
35692 * posix/regexec.c (build_trtable): Return failure indication upon
35693 calloc failure. Otherwise, re_search_internal could infloop on OOM.
35694
98727dbe
UD
356952010-12-25 Ulrich Drepper <drepper@gmail.com>
35696
5bd6dc5c
UD
35697 [BZ #12201]
35698 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
35699 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
35700 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
35701 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
35702
97983464
UD
35703 [BZ #12207]
35704 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
35705
98727dbe
UD
35706 [BZ #12204]
35707 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
35708 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
35709
4a531bb0
L
357102010-12-15 H.J. Lu <hongjiu.lu@intel.com>
35711
35712 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
35713 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
35714 script has SORT_BY_INIT_PRIORITY.
35715 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
35716 NO_CTORS_DTORS_SECTIONS is defined.
35717 * elf/soinit.c: Likewise.
35718 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
35719 NO_CTORS_DTORS_SECTIONS is defined.
35720 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
35721 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
35722 * sysdeps/sh/init-first.c: Likewise.
35723 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
35724
07eb4b71
UD
357252010-12-24 Ulrich Drepper <drepper@gmail.com>
35726
35727 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
35728 always use the slow path.
35729
30950a5f
RA
357302010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
35731
35732 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
35733 similar rule which adds the sysdep directories to the header search in
35734 order to pick up the correct platform stackinfo.h.
35735 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
35736 perform test if it is, otherwise return successfully without testing.
35737 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
35738 DEFAULT_STACK_PERMS define in stackinfo.h.
35739 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
35740 defined in stackinfo.h.
35741 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
35742 DEFAULT_STACK_PERMS defined in stackinfo.h.
35743 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
35744 * sysdeps/ia64/stackinfo.h: Likewise.
35745 * sysdeps/s390/stackinfo.h: Likewise.
35746 * sysdeps/sh/stackinfo.h: Likewise.
35747 * sysdeps/sparc/stackinfo.h: Likewise.
35748 * sysdeps/x86_64/stackinfo.h: Likewise.
35749 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
35750 PF_X for powerpc64. Retain PF_X for powerpc32.
35751
db753e2c
UD
357522010-12-19 Ulrich Drepper <drepper@gmail.com>
35753
14b697f7
UD
35754 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
35755 accurately.
db753e2c
UD
35756 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
35757 GETDENTS_64BIT_ALIGNED.
35758
28300719
UD
357592010-12-14 Ulrich Drepper <dreper@gmail.com>
35760
14b697f7 35761 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 35762
4f197237
AS
357632010-12-10 Andreas Schwab <schwab@redhat.com>
35764
dbb0472f
AS
35765 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
35766 _GNU_SOURCE.
35767
4f197237
AS
35768 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
35769 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
35770 Remove __restrict.
35771 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
35772 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
35773
fb88ac72
UD
357742010-12-09 Ulrich Drepper <drepper@gmail.com>
35775
35776 [BZ #11655]
35777 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
35778 are initialized.
35779
42acbb92
JJ
357802010-12-09 Jakub Jelinek <jakub@redhat.com>
35781
35782 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
35783
c038d98d
UD
357842010-12-03 Ulrich Drepper <drepper@gmail.com>
35785
35786 * po/it.po: Update from translation team.
35787
3a4a2499
L
357882010-12-01 H.J. Lu <hongjiu.lu@intel.com>
35789
35790 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
35791 unused codes.
35792
1e24cf6e
UD
357932010-11-30 Ulrich Drepper <drepper@gmail.com>
35794
35795 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
35796
a7690819
AS
357972010-11-24 Andreas Schwab <schwab@redhat.com>
35798
35799 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
35800 specially.
35801 (gaih_getanswer_slice): Likewise.
35802
3bf8d1b1
JJ
358032010-10-20 Jakub Jelinek <jakub@redhat.com>
35804
35805 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
35806
6db52fbb
PB
358072010-05-31 Petr Baudis <pasky@suse.cz>
35808
35809 [BZ #11149]
35810 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
35811 silently even in the chroot mode.
35812
eaca7569
UD
358132010-11-22 Ulrich Drepper <drepper@gmail.com>
35814
35815 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
35816 last patch a bit. Pretty printing
35817
3056dcdb
UD
358182010-05-31 Petr Baudis <pasky@suse.cz>
35819
35820 [BZ #10085]
35821 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
35822 initialization of skip_initgroups_dyn.
35823
cf7c9078
UD
358242010-11-19 Ulrich Drepper <drepper@gmail.com>
35825
35826 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
35827 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35828
a1fb5e3e
UD
358292010-11-16 Ulrich Drepper <drepper@gmail.com>
35830
35831 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
35832
3540d66b
AS
358332010-11-11 Andreas Schwab <schwab@redhat.com>
35834
35835 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
35836 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
35837 (tst-fnmatch-ENV): Set MALLOC_TRACE.
35838 ($(objpfx)tst-fnmatch-mem): New rule.
35839 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
35840 * posix/tst-fnmatch.c (main): Call mtrace.
35841
13b69574
L
358422010-11-11 H.J. Lu <hongjiu.lu@intel.com>
35843
35844 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35845 Support Intel processor model 6 and model 0x2c.
35846
da93d214
LM
358472010-11-10 Luis Machado <luisgpm@br.ibm.com>
35848
35849 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
35850 signed comparison.
35851
8ca52c6e
L
358522010-11-09 H.J. Lu <hongjiu.lu@intel.com>
35853
35854 [BZ #12205]
35855 * string/test-strncasecmp.c (check_result): New function.
35856 (do_one_test): Use it.
35857 (check1): New function.
35858 (test_main): Use it.
35859 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
35860 Support strcasecmp and strncasecmp.
35861
69da074d
UD
358622010-11-08 Ulrich Drepper <drepper@gmail.com>
35863
35864 [BZ #12194]
35865 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
35866 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35867
ff02d528
L
358682010-11-07 H.J. Lu <hongjiu.lu@intel.com>
35869
35870 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
35871 IFUNC support.
35872 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35873 memset-x86-64.
35874 * sysdeps/x86_64/multiarch/bzero.S: New file.
35875 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
35876 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
35877 * sysdeps/x86_64/multiarch/memset.S: New file.
35878 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
35879 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35880 Set bit_Prefer_SSE_for_memop for Intel processors.
35881 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
35882 Define.
35883 (index_Prefer_SSE_for_memop): Define.
35884 (HAS_PREFER_SSE_FOR_MEMOP): Define.
35885
344d0b54
LM
358862010-11-04 Luis Machado <luisgpm@br.ibm.com>
35887
35888 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
35889 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
35890
c0dde15b
UD
358912010-11-03 H.J. Lu <hongjiu.lu@intel.com>
35892
35893 [BZ #12191]
35894 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35895 (__x86_64_raw_data_cache_size_half): Likewise.
35896 (__x86_64_raw_shared_cache_size): Likewise.
35897 (__x86_64_raw_shared_cache_size_half): Likewise.
35898
35899 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35900 (__x86_64_raw_data_cache_size_half): Likewise.
35901 (__x86_64_raw_shared_cache_size): Likewise.
35902 (__x86_64_raw_shared_cache_size_half): Likewise.
35903 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
35904 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
35905 and __x86_64_raw_shared_cache_size_half. Round
35906 __x86_64_data_cache_size_half, __x86_64_data_cache_size
35907 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
35908 to multiple of 256 bytes.
35909
0e516e0e
MS
359102010-11-03 Ulrich Drepper <drepper@gmail.com>
35911
35912 [BZ #12167]
35913 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
35914 of inacessible symlinks. Verify result of symlink before returning it.
35915 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
35916 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
35917
0e012e87
ER
359182010-10-28 Erich Ritz <erichritz@gmail.com>
35919
35920 * math/math.h (isinf): Fix typo in comment.
35921
de0ff7bc
UD
359222010-11-01 Ulrich Drepper <drepper@gmail.com>
35923
35924 * po/da.po: Update from translation team.
35925
fa41c84d
UD
359262010-10-26 Ulrich Drepper <drepper@gmail.com>
35927
35928 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
35929 is added to the list.
35930
f0967738
AK
359312010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35932 Ulrich Drepper <drepper@gmail.com>
35933
35934 * elf/dl-object.c (_dl_new_object): Don't append the new object to
35935 the global list here. Move code to...
35936 (_dl_add_to_namespace_list): ...here. New function.
35937 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
35938 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
35939 * elf/dl-load.c (lose): Don't remove the element from the list.
35940 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
35941 (_dl_map_object): Likewise.
35942
359432010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
35944
35945 [BZ #12159]
35946 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
35947 into all bytes of SSE register.
35948 Patch by Richard Li <richardpku@gmail.com>.
35949
f0967738 359502010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
35951
35952 [BZ #12140]
35953 * malloc/malloc.c (_int_free): Fill correct number of bytes when
35954 perturbing.
35955
d0b9e94f
MB
359562010-10-20 Michael B. Brutman <brutman@us.ibm.com>
35957
35958 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
35959 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
35960 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
35961 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
35963 submachine.
35964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
35965
8e9f92e9
AS
359662010-10-22 Andreas Schwab <schwab@redhat.com>
35967
35968 * include/dlfcn.h (__RTLD_SECURE): Define.
35969 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
35970 mode & __RTLD_SECURE instead.
35971 (open_path): Rename preloaded parameter to secure.
35972 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
35973 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
35974 * elf/dl-deps.c (openaux): Likewise.
35975 * elf/rtld.c (struct map_args): Remove is_preloaded.
35976 (map_doit): Don't use it.
35977 (dl_main): Likewise.
35978 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
35979 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
35980
bc96fbda
AS
359812010-09-09 Andreas Schwab <schwab@redhat.com>
35982
35983 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
35984 (sysd-rules-targets): Remove duplicates.
35985 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
35986 rtld-%.$o dependency.
35987
22cd1c9b
AS
359882010-10-18 Andreas Schwab <schwab@redhat.com>
35989
35990 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
35991 _dl_map_object do it.
35992
18edac48
UD
359932010-10-19 Ulrich Drepper <drepper@gmail.com>
35994
35995 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
35996 fast fma builtins, define the macros in the C99 standard.
35997 (FP_FAST_FMAF): Likewise.
35998 (FP_FAST_FMAL): Likewise.
35999 * sysdeps/x86_64/bits/mathdef.h: Likewise.
36000
36001 * bits/mathdef.h: Update copyright year.
36002 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36003
d2050124
MM
360042010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
36005
36006 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
36007 builtins, define the macros in the C99 standard.
36008 (FP_FAST_FMAF): Likewise.
36009 (FP_FAST_FMAL): Likewise.
36010 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
36011 multiply/add.
36012 (FP_FAST_FMAF): Likewise.
36013
475facd1
JJ
360142010-10-15 Jakub Jelinek <jakub@redhat.com>
36015
36016 [BZ #3268]
36017 * math/libm-test.inc (fma_test): Some new testcases.
36018 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
36019 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
36020 y and infinite z. Do multiplication by C already in long double.
36021 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
36022 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
36023 y and infinite z. Do bitwise or of inexact bit into u.d.
36024 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
36025 * sysdeps/i386/fpu/s_fmaf.S: Removed.
36026 * sysdeps/i386/fpu/s_fma.S: Removed.
36027 * sysdeps/i386/fpu/s_fmal.S: Removed.
36028
7c08a05c
JJ
360292010-10-16 Jakub Jelinek <jakub@redhat.com>
36030
36031 [BZ #3268]
36032 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
36033 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
36034 computation is not scheduled after fetestexcept. Fix value
36035 of minimum denormal long double.
36036
f3f7372d
JJ
360372010-10-14 Jakub Jelinek <jakub@redhat.com>
36038
36039 [BZ #3268]
36040 * math/libm-test.inc (fma_test): Add some more tests.
36041 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
36042 correctly.
36043
14d43591
AS
360442010-10-15 Andreas Schwab <schwab@redhat.com>
36045
36046 * scripts/data/localplt-s390-linux-gnu.data: New file.
36047 * scripts/data/localplt-s390x-linux-gnu.data: New file.
36048
5e908464
JJ
360492010-10-13 Jakub Jelinek <jakub@redhat.com>
36050
36051 [BZ #3268]
36052 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
36053 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
36054 instead of dbl-64.
36055 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
36056 inlines.
36057 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
36058 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
36059 if one of x and y is very large and the other is subnormal.
36060 * sysdeps/s390/fpu/s_fmaf.c: New file.
36061 * sysdeps/s390/fpu/s_fma.c: New file.
36062 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
36063 * sysdeps/powerpc/fpu/s_fma.S: New file.
36064 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
36065 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
36066 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
36067
360682010-10-12 Jakub Jelinek <jakub@redhat.com>
36069
36070 [BZ #3268]
36071 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
36072 fma tests.
36073 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
36074 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
36075 * sysdeps/i386/i686/multiarch/s_fma.c: Include
36076 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
36077 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
36078 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
36079 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
36080
b833d51f
UD
360812010-10-12 Ulrich Drepper <drepper@redhat.com>
36082
36083 [BZ #12078]
36084 * posix/regcomp.c (parse_branch): One more memory leak plugged.
36085 * posix/bug-regex31.input: Add test case.
36086
1751705d
UD
360872010-10-11 Ulrich Drepper <drepper@gmail.com>
36088
e9b9cbf5
UD
36089 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
36090 * posix/bug-regex31.input: New file.
36091
36092 [BZ #12078]
36093 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
36094 (parse_sub_exp): Fix last change, use postorder.
36095
ef06edbe
UD
36096 * posix/bug-regex31.c: New file.
36097 * posix/Makefile: Add rules to build and run bug-regex31.
36098
a129c80d
UD
36099 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
36100
36101 [BZ #12078]
36102 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
36103
b76b818e
UD
36104 [BZ #12108]
36105 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
36106 to have entries in sys_siglist.
36107
1751705d
UD
36108 [BZ #12093]
36109 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
36110 be NULL.
36111
9ff8d36f
JJ
361122010-10-07 Jakub Jelinek <jakub@redhat.com>
36113
36114 [BZ #3268]
36115 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
36116 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
36117 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
36118 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
36119 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
36120 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
36121 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
36122 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
36123 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
36124 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
36125 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
36126 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
36127 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
36128 * math/ftestexcept.c (fetestexcept): Likewise.
36129 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
36130 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
36131 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
36132 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
36133 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
36134 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
36135 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36136
af325969
UD
361372010-10-11 Ulrich Drepper <drepper@gmail.com>
36138
c579b202 36139 [BZ #12107]
af325969
UD
36140 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
36141 newline.
36142
67a67b95
UD
361432010-10-06 Ulrich Drepper <drepper@gmail.com>
36144
36145 * string/bug-strstr1.c: New file.
36146 * string/Makefile: Add rules to build and run bug-strstr1.
36147
5fb308bc
EB
361482010-10-05 Eric Blake <eblake@redhat.com>
36149
36150 [BZ #12092]
36151 * string/str-two-way.h (two_way_long_needle): Always clear memory
36152 when skipping input due to the shift table.
36153
45db99c7
UD
361542010-10-03 Ulrich Drepper <drepper@gmail.com>
36155
3b111893
UD
36156 [BZ #12005]
36157 * malloc/mcheck.c: Handle large requests.
36158
45db99c7
UD
36159 [BZ #12077]
36160 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
36161 for strncmp and strncasecmp.
36162 * string/stratcliff.c: Add tests for strcmp and strncmp.
36163 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
36164
cf7a1eb8
NI
361652010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36166
36167 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
36168 __set_fpscr.
36169
6484ba5e
AJ
361702010-09-30 Andreas Jaeger <aj@suse.de>
36171
36172 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
36173 (CGROUP_SUPER_MAGIC): Define.
36174 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36175 Handle btrfs and cgroup file systems.
36176 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36177 Likewise.
36178
91c42559
LM
361792010-09-27 Luis Machado <luisgpm@br.ibm.com>
36180
36181 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
36182 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
36183
87a97932
AK
361842010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36185
36186 [BZ #12067]
36187 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
36188 trying to locate the ELF header.
36189
c21cc9bc
AS
361902010-09-27 Andreas Schwab <schwab@redhat.com>
36191
36192 [BZ #11611]
36193 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
36194 Mask out sign-bit copies when constructing f_fsid.
36195
315970f6
PB
361962010-09-24 Petr Baudis <pasky@suse.cz>
36197
36198 * debug/stack_chk_fail_local.c: Add missing licence exception.
36199 * debug/warning-nop.c: Likewise.
36200
1ac7a2c7
JM
362012010-09-15 Joseph Myers <joseph@codesourcery.com>
36202
36203 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
36204 implementing getdents64 using getdents syscall, set d_type if
36205 __ASSUME_GETDENTS32_D_TYPE.
36206
56801c50
AS
362072010-09-16 Andreas Schwab <schwab@redhat.com>
36208
36209 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
36210 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
36211
dda51327
UD
362122010-09-21 Ulrich Drepper <drepper@redhat.com>
36213
36214 [BZ #12037]
36215 * posix/unistd.h: Undo change of feature selection for ftruncate from
36216 2010-01-11.
36217
8ffcee4a
UD
362182010-09-20 Ulrich Drepper <drepper@redhat.com>
36219
a545ecd9 36220 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
36221 detection.
36222
e24f0a8b
AS
362232010-09-20 Andreas Schwab <schwab@redhat.com>
36224
36225 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
36226 fanotify_mark.
36227 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36228
7291c56f
AS
362292010-09-14 Andreas Schwab <schwab@redhat.com>
36230
36231 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
36232 variables after CHECK_SP call.
36233 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
36234
bc5fb037
AS
362352010-09-13 Andreas Schwab <schwab@redhat.com>
36236 Ulrich Drepper <drepper@redhat.com>
36237
36238 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
36239 re-relocationg ld.so.
36240 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
36241 _dl_init_paths call.
36242 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
36243 here anymore.
36244
e66e7419
UD
362452010-09-14 Ulrich Drepper <drepper@redhat.com>
36246
36247 * resolv/res_init.c (__res_vinit): Count the default server we added.
36248
c044aa75
CLT
362492010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
36250 Ulrich Drepper <drepper@redhat.com>
36251
36252 [BZ #11968]
36253 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
36254 (____longjmp_chk): Use %ebx for saving value across system call.
36255 Add unwind info.
36256
32cf4069
AS
362572010-09-06 Andreas Schwab <schwab@redhat.com>
36258
36259 * manual/Makefile: Don't mix pattern rules with normal rules.
36260
817328ee
AS
362612010-09-05 Andreas Schwab <schwab@linux-m68k.org>
36262
36263 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
36264 operation.
36265 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
36266 * libio/iofopncook.c (_IO_cookie_init): Likewise.
36267 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
36268 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
36269 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36270 Likewise.
36271
29fddf61
UD
362722010-09-04 Ulrich Drepper <drepper@redhat.com>
36273
36274 [BZ #11979]
36275 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
36276 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
36277
0959ffc9
UD
362782010-09-02 Ulrich Drepper <drepper@redhat.com>
36279
36280 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
36281 * sysdeps/x86_64/addmul_1.S: Likewise.
36282 * sysdeps/x86_64/lshift.S: Likewise.
36283 * sysdeps/x86_64/mul_1.S: Likewise.
36284 * sysdeps/x86_64/rshift.S: Likewise.
36285 * sysdeps/x86_64/sub_n.S: Likewise.
36286 * sysdeps/x86_64/submul_1.S: Likewise.
36287
ece29840
ST
362882010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
36289
0959ffc9
UD
36290 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
36291 Define __sched_param instead of SCHED_* and sched_param when
ece29840 36292 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 36293 * bits/sched.h [__need_schedparam]
ece29840 36294 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
36295 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
36296 (__defined_schedparam): Define to 1.
ece29840
ST
36297 (__sched_param): New structure, identical to sched_param.
36298 (__need_schedparam): Undefine.
36299
e53a31fe
MF
363002010-08-31 Mike Frysinger <vapier@gentoo.org>
36301
fdc0c10d
MF
36302 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
36303 (epoll_create1): Declare.
36304
e53a31fe
MF
36305 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
36306
a726d796
AS
363072010-08-31 Andreas Schwab <schwab@redhat.com>
36308
36309 [BZ #7066]
36310 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
36311 shifting retval into place.
36312
2f3e3dc7
UD
363132010-09-01 Ulrich Drepper <drepper@redhat.com>
36314
f2933da9
UD
36315 * nis/rpcsvc/nis.h: Update copyright notice.
36316 * nis/rpcsvc/nis.x: Likewise.
36317 * nis/rpcsvc/nis_callback.h: Likewise.
36318 * nis/rpcsvc/nis_callback.x: Likewise.
36319 * nis/rpcsvc/nis_object.x: Likewise.
36320 * nis/rpcsvc/nis_tags.h: Likewise.
36321 * nis/rpcsvc/yp.h: Likewise.
36322 * nis/rpcsvc/yp.x: Likewise.
36323 * nis/rpcsvc/ypupd.h: Likewise.
36324 * nis/yp_xdr.c: Likewise.
36325 * nis/ypupdate_xdr.c: Likewise.
36326
2f3e3dc7
UD
36327 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
36328 mainly the body of pmap_getport. Add parameters to specify timeouts.
36329 (pmap_getport): Use __libc_rpc_getport.
36330 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
36331 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
36332 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
36333
f3dcc2f9
AS
363342010-08-31 Andreas Schwab <schwab@linux-m68k.org>
36335
36336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
36337 fanotify_mark.
36338
6d34eb5b
RM
363392010-08-27 Roland McGrath <roland@redhat.com>
36340
36341 * sysdeps/i386/i686/multiarch/Makefile
36342 (CFLAGS-varshift.c): New variable.
36343
9ea3de11
UD
363442010-08-27 Ulrich Drepper <drepper@redhat.com>
36345
c96d23fc
UD
36346 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
36347 * sysdeps/i386/i686/multiarch/varshift.c: New file.
36348
9ea3de11
UD
36349 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
36350
36351 * sysdeps/x86_64/strlen.S: Minimal code improvement.
36352
623aac7f
L
363532010-08-26 H.J. Lu <hongjiu.lu@intel.com>
36354
36355 * sysdeps/x86_64/strlen.S: Unroll the loop.
36356 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36357 strlen-sse2 strlen-sse2-bsf.
36358 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
36359 __strlen_no_bsf if bit_Slow_BSF is set.
36360 (__strlen_sse42): Removed.
36361 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
36362 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
36363
8b2b7715
RM
363642010-08-25 Roland McGrath <roland@redhat.com>
36365
36366 * sysdeps/x86_64/multiarch/varshift.S: File removed.
36367 * sysdeps/x86_64/multiarch/varshift.c: New file.
36368 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
36369 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
36370 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
36371 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36372
e73015f2
L
363732010-08-25 H.J. Lu <hongjiu.lu@intel.com>
36374
36375 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36376 strlen-sse2 strlen-sse2-bsf.
36377 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
36378 __strlen_sse2_bsf if bit_Slow_BSF is unset.
36379 (__strlen_sse2): Removed.
36380 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
36381 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
36382 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
36383 bit_Slow_BSF for Atom.
36384 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
36385 (index_Slow_BSF): Define.
36386 (HAS_SLOW_BSF): Define.
36387
df24a73e
UD
363882010-08-25 Ulrich Drepper <drepper@redhat.com>
36389
36390 [BZ #10851]
36391 * resolv/res_init.c (__res_vinit): When no server address at all
36392 is given default to loopback.
36393
f2ac4868
RM
363942010-08-24 Roland McGrath <roland@redhat.com>
36395
09055553
RM
36396 * configure.in: Remove config-name.h generation.
36397 * configure: Regenerated.
36398 * config-name.in: File removed.
36399 * scripts/config-uname.sh: New file.
36400 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
36401 ($(objdir)config-name.h): New target.
36402
f2ac4868
RM
36403 * sunrpc/rpc_parse.h: Avoid nested comment.
36404
73f27d5e
RH
364052010-08-24 Richard Henderson <rth@redhat.com>
36406 Ulrich Drepper <drepper@redhat.com>
36407 H.J. Lu <hongjiu.lu@intel.com>
36408
36409 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
36410 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
36411 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
36412 Replace _mm_srli_si128 with __m128i_shift_right. Replace
36413 _mm_alignr_epi8 with _mm_loadu_si128.
36414 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
36415 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
36416 (__m128i_shift_right): Removed.
36417 * sysdeps/i386/i686/multiarch/varshift.h: New file.
36418 * sysdeps/i386/i686/multiarch/varshift.S: New file.
36419 * sysdeps/x86_64/multiarch/varshift.h: New file.
36420 * sysdeps/x86_64/multiarch/varshift.S: New file.
36421
84b9230c
MF
364222010-08-21 Mike Frysinger <vapier@gentoo.org>
36423
36424 * configure.in: Move assembler checks to before sysdep dir checking.
36425
9bbd0ddc
PB
364262010-08-20 Petr Baudis <pasky@suse.cz>
36427
36428 * LICENSES: Sync the sunrpc license.
36429
9da4bb31
UD
364302010-08-19 Ulrich Drepper <drepper@redhat.com>
36431
a7ab6ec8
UD
36432 * sunrpc/auth_des.c: Update copyright notice once again.
36433 * sunrpc/auth_none.c: Likewise.
36434 * sunrpc/auth_unix.c: Likewise.
36435 * sunrpc/authdes_prot.c: Likewise.
36436 * sunrpc/authuxprot.c: Likewise.
36437 * sunrpc/bindrsvprt.c: Likewise.
36438 * sunrpc/clnt_gen.c: Likewise.
36439 * sunrpc/clnt_perr.c: Likewise.
36440 * sunrpc/clnt_raw.c: Likewise.
36441 * sunrpc/clnt_simp.c: Likewise.
36442 * sunrpc/clnt_tcp.c: Likewise.
36443 * sunrpc/clnt_udp.c: Likewise.
36444 * sunrpc/clnt_unix.c: Likewise.
36445 * sunrpc/des_crypt.c: Likewise.
36446 * sunrpc/des_soft.c: Likewise.
36447 * sunrpc/get_myaddr.c: Likewise.
36448 * sunrpc/getrpcport.c: Likewise.
36449 * sunrpc/key_call.c: Likewise.
36450 * sunrpc/key_prot.c: Likewise.
36451 * sunrpc/openchild.c: Likewise.
36452 * sunrpc/pm_getmaps.c: Likewise.
36453 * sunrpc/pm_getport.c: Likewise.
36454 * sunrpc/pmap_clnt.c: Likewise.
36455 * sunrpc/pmap_prot.c: Likewise.
36456 * sunrpc/pmap_prot2.c: Likewise.
36457 * sunrpc/pmap_rmt.c: Likewise.
36458 * sunrpc/rpc/auth.h: Likewise.
36459 * sunrpc/rpc/auth_unix.h: Likewise.
36460 * sunrpc/rpc/clnt.h: Likewise.
36461 * sunrpc/rpc/des_crypt.h: Likewise.
36462 * sunrpc/rpc/key_prot.h: Likewise.
36463 * sunrpc/rpc/netdb.h: Likewise.
36464 * sunrpc/rpc/pmap_clnt.h: Likewise.
36465 * sunrpc/rpc/pmap_prot.h: Likewise.
36466 * sunrpc/rpc/pmap_rmt.h: Likewise.
36467 * sunrpc/rpc/rpc.h: Likewise.
36468 * sunrpc/rpc/rpc_des.h: Likewise.
36469 * sunrpc/rpc/rpc_msg.h: Likewise.
36470 * sunrpc/rpc/svc.h: Likewise.
36471 * sunrpc/rpc/svc_auth.h: Likewise.
36472 * sunrpc/rpc/types.h: Likewise.
36473 * sunrpc/rpc/xdr.h: Likewise.
36474 * sunrpc/rpc_clntout.c: Likewise.
36475 * sunrpc/rpc_cmsg.c: Likewise.
36476 * sunrpc/rpc_common.c: Likewise.
36477 * sunrpc/rpc_cout.c: Likewise.
36478 * sunrpc/rpc_dtable.c: Likewise.
36479 * sunrpc/rpc_hout.c: Likewise.
36480 * sunrpc/rpc_main.c: Likewise.
36481 * sunrpc/rpc_parse.c: Likewise.
36482 * sunrpc/rpc_parse.h: Likewise.
36483 * sunrpc/rpc_prot.c: Likewise.
36484 * sunrpc/rpc_sample.c: Likewise.
36485 * sunrpc/rpc_scan.c: Likewise.
36486 * sunrpc/rpc_scan.h: Likewise.
36487 * sunrpc/rpc_svcout.c: Likewise.
36488 * sunrpc/rpc_tblout.c: Likewise.
36489 * sunrpc/rpc_util.c: Likewise.
36490 * sunrpc/rpc_util.h: Likewise.
36491 * sunrpc/rpcinfo.c: Likewise.
36492 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
36493 * sunrpc/rpcsvc/key_prot.x: Likewise.
36494 * sunrpc/rpcsvc/klm_prot.x: Likewise.
36495 * sunrpc/rpcsvc/mount.x: Likewise.
36496 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
36497 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
36498 * sunrpc/rpcsvc/rex.x: Likewise.
36499 * sunrpc/rpcsvc/rstat.x: Likewise.
36500 * sunrpc/rpcsvc/rusers.x: Likewise.
36501 * sunrpc/rpcsvc/sm_inter.x: Likewise.
36502 * sunrpc/rpcsvc/spray.x: Likewise.
36503 * sunrpc/rpcsvc/yppasswd.x: Likewise.
36504 * sunrpc/rtime.c: Likewise.
36505 * sunrpc/svc.c: Likewise.
36506 * sunrpc/svc_auth.c: Likewise.
36507 * sunrpc/svc_authux.c: Likewise.
36508 * sunrpc/svc_raw.c: Likewise.
36509 * sunrpc/svc_run.c: Likewise.
36510 * sunrpc/svc_simple.c: Likewise.
36511 * sunrpc/svc_tcp.c: Likewise.
36512 * sunrpc/svc_udp.c: Likewise.
36513 * sunrpc/svc_unix.c: Likewise.
36514 * sunrpc/svcauth_des.c: Likewise.
36515 * sunrpc/xcrypt.c: Likewise.
36516 * sunrpc/xdr.c: Likewise.
36517 * sunrpc/xdr_array.c: Likewise.
36518 * sunrpc/xdr_float.c: Likewise.
36519 * sunrpc/xdr_mem.c: Likewise.
36520 * sunrpc/xdr_rec.c: Likewise.
36521 * sunrpc/xdr_ref.c: Likewise.
36522 * sunrpc/xdr_sizeof.c: Likewise.
36523 * sunrpc/xdr_stdio.c: Likewise.
36524
9da4bb31
UD
36525 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
36526 handling.
36527
bdaa77bc
AS
365282010-08-19 Andreas Schwab <schwab@redhat.com>
36529
36530 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
36531
fe2f79db
LM
365322010-08-19 Luis Machado <luisgpm@br.ibm.com>
36533
36534 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
36535 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
36536 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
36537 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
36538 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
36539 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
36540 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
36541 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
36542 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
36543 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
36544 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
36545 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
36546 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
36547 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
36548
b9b42ee0
AB
365492010-07-26 Anton Blanchard <anton@samba.org>
36550
36551 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
36552 * malloc/arena.c (heap_trim): Likewise.
36553
1c06ba31
UD
365542010-08-16 Ulrich Drepper <drepper@redhat.com>
36555
36556 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
36557 here. Not...
36558 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
36559 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
36560
f8392f40
L
365612010-08-12 H.J. Lu <hongjiu.lu@intel.com>
36562
36563 * sysdeps/i386/elf/Makefile: New file.
36564
3162f12e
AS
365652010-08-14 Andreas Schwab <schwab@linux-m68k.org>
36566
36567 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
36568 from fanotify_init.
36569 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
36570 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36571
28c90b2c
UD
365722010-08-15 Ulrich Drepper <drepper@redhat.com>
36573
36574 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
36575 of strncasecmp_l.
1feccb6c 36576 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 36577
ca6bb004
UD
365782010-08-14 Ulrich Drepper <drepper@redhat.com>
36579
e9f82e0d
UD
36580 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36581 strncase_l-nonascii.
36582 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36583 Add strncase_l-ssse3.
36584 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
36585 * sysdeps/x86_64/strcmp.S: Likewise.
36586 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
36587 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
36588 * sysdeps/x86_64/strncase.S: New file.
36589 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
36590 * sysdeps/x86_64/strncase_l.S: New file.
36591 * string/Makefile (strop-tests): Add strncasecmp.
36592 * string/test-strncasecmp.c: New file.
36593
36594 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
36595 warning.
36596
ca6bb004
UD
36597 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
36598 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
36599
052fa7b3
AS
366002010-08-14 Andreas Schwab <schwab@linux-m68k.org>
36601
36602 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
36603
962dba78
UD
366042010-08-12 Ulrich Drepper <drepper@redhat.com>
36605
36606 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
36607 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
36608 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
36609
bebff237
AM
366102010-05-01 Alan Modra <amodra@gmail.com>
36611
36612 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
36613 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
36614 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
36615 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
36616 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
36617 tidying. Don't tail-call __sigjmp_save for static lib.
36618 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
36619 save location.
36620 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
36621 (CALL_MCOUNT): Add eh info, and nop after bl.
36622 (TAIL_CALL_SYSCALL_ERROR): New macro.
36623 (PSEUDO_RET): Use it.
36624 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
36625 Correct save location of integer regs and cr.
36626 (_dl_profile_resolve): Correct cr save location. Delete nops
36627 after bl when SHARED. Reduce cfi size a little by better
36628 placement of cfi directives.
36629 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
36630 make a stack frame. Instead use parm save area as a temp.
36631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
36632 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
36633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
36634 Don't make a stack frame for parent, use parm save area.
36635 Increase child stack frame to 112 bytes. Don't save unused reg,
36636 and adjust reg usage. Set up cfi on error recovery and
36637 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
36638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36639 (__makecontext): Add dummy nop after jump to exit.
36640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
36641 Use correct parm save area and cr save, reduce stack frame.
36642 Correct cfi for possible PSEUDO_RET frame setup.
36643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
36644 Branch to local label emitted by PSEUDO_RET rather than
36645 __syscall_error.
36646
02637374
AS
366472010-08-12 Andreas Schwab <schwab@redhat.com>
36648
36649 [BZ #11904]
36650 * locale/programs/locale.c (print_assignment): New function.
36651 (show_locale_vars): Use it.
36652
c3e2f19b
UD
366532010-08-11 Ulrich Drepper <drepper@redhat.com>
36654
3cdaa6ad
UD
36655 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
36656 field.
36657 (struct statfs64): Likewise.
36658 (_STATFS_F_FLAGS): Define.
36659 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
36660 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36661 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
36662 (ST_VALID): Define locally.
36663 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
36664 __statvfs_getflags, use the provided value.
36665 * sysdeps/unix/sysv/linux/kernel-features.h: Define
36666 __ASSUME_STATFS_F_FLAGS.
36667
754f7da3
UD
36668 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
36669
10b3bedc
UD
36670 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
36671 Add sys/fanotify.h.
36672 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
36673 fanotify_mask for GLIBC_2.13.
36674 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
36675 fanotify_init and fanotify_mark.
36676 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36677 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
36678
c08fb0d7
UD
36679 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
36680 Add prlimit.
36681 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
36682 prlimit64 for GLIBC_2.13.
36683 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
36684 prlimit64.
36685 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
36686 syscall.
36687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
36688 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36689 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
36690 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
36691 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
36692 add prlimit alias.
36693 * sysdeps/unix/sysv/linux/prlimit.c: New file.
36694
15bac72b
UD
36695 [BZ #11903]
36696 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
36697 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
36698
c3e2f19b
UD
36699 * nss/Makefile: Add rules to build and run tst-nss-test1.
36700 * shlib-versions: Add entry for libnss_test1.
36701 * nss/nss_test1.c: New file.
36702 * nss/tst-nss-test1.c: New file.
36703
36704 * nss/nsswitch.c (__nss_database_custom): Define new variable.
36705 (__nss_configure_lookup): Set appropriate entry in
36706 __nss_configure_lookup to true.
36707 * nss/nsswitch.h: Define enum with indeces of databases in
36708 databases and __nss_database_custom arrays. Declare
36709 __nss_database_custom.
36710 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
36711 to avoid using nscd when custom rules are installed.
36712 * nss/getXXbyYY_r.c: Likewise.
36713 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
36714
36715 * nss/nss_files/files-parse.c: Whitespace fixes.
36716
f15ce4d8
UD
367172010-08-09 Ulrich Drepper <drepper@redhat.com>
36718
36719 [BZ #11883]
36720 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
36721 * posix/fnmatch_loop.c: Likewise.
36722
d22e4cc9
AK
367232010-07-17 Andi Kleen <ak@linux.intel.com>
36724
36725 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
36726 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
36727 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
36728 * Versions.def [GLIBC_2.13]: Add.
36729
805bc17d
UD
367302010-08-06 Ulrich Drepper <drepper@redhat.com>
36731
36732 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36733 Also fail if tpwd after pwuid call is NULL.
36734
5a42321d
ST
367352010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
36736
36737 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
36738 when converting to ms.
36739
fd3ebeda
ST
367402010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
36741
36742 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
36743 EOPNOTSUPP errors with ENOTTY.
36744 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
36745 EOPNOTSUPP errors with ENOTTY.
36746
73507d3a
UD
367472010-07-31 Ulrich Drepper <drepper@redhat.com>
36748
36749 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36750 Add strcasecmp_l-ssse3.
36751 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
36752 strcasecmp.
36753 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
36754 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
36755 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
36756
fe36dd02
UD
367572010-07-30 Ulrich Drepper <drepper@redhat.com>
36758
66f6765a
UD
36759 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
36760
42e08a54
UD
36761 * string/Makefile (strop-tests): Add strcasecmp.
36762 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36763 strcasecmp_l-nonascii.
36764 (gen-as-const-headers): Add locale-defines.sym.
36765 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
36766 * sysdeps/x86_64/strcasecmp.S: New file.
36767 * sysdeps/x86_64/strcasecmp_l.S: New file.
36768 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
36769 * sysdeps/x86_64/locale-defines.sym: New file.
36770 * string/test-strcasecmp.c: New file.
36771
fe36dd02
UD
36772 * string/test-strcasestr.c: Test both ends of the range of characters.
36773 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
36774
48cbc0d6
RM
367752010-07-29 Roland McGrath <roland@redhat.com>
36776
76e6d6bc 36777 [BZ #11856]
48cbc0d6
RM
36778 * manual/locale.texi (Yes-or-No Questions): Fix example code.
36779
880113d9
UD
367802010-07-27 Ulrich Drepper <drepper@redhat.com>
36781
36782 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
36783 for ld.so.
36784
deb9cabb
AS
367852010-07-27 Andreas Schwab <schwab@redhat.com>
36786
36787 * manual/memory.texi (Malloc Tunable Parameters): Document
36788 M_PERTURB.
36789
1c7570ff
RM
367902010-07-26 Roland McGrath <roland@redhat.com>
36791
36792 [BZ #11840]
36793 * configure.in (-fgnu89-inline check): Set and substitute
36794 gnu89_inline, not libc_cv_gnu89_inline.
36795 * configure: Regenerated.
36796 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
36797
24fb0f88
UD
367982010-07-26 Ulrich Drepper <drepper@redhat.com>
36799
36800 * string/test-strnlen.c: New file.
36801 * string/Makefile (strop-tests): Add strnlen.
36802 * string/tester.c (test_strnlen): Add a few more test cases.
36803 * string/tst-strlen.c: Better error reporting.
36804
36805 * sysdeps/x86_64/strnlen.S: New file.
36806
8e96b93a
UD
368072010-07-24 Ulrich Drepper <drepper@redhat.com>
36808
36809 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
36810 lower-latency instructions.
36811
dbc676d4
UD
368122010-07-23 Ulrich Drepper <drepper@redhat.com>
36813
36814 * string/test-strcasestr.c: New file.
36815 * string/test-strstr.c: New file.
36816 * string/Makefile (strop-tests): Add strstr and strcasestr.
36817 * string/str-two-way.h: Don't undefine MAX.
36818 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
36819
f6a31e0e
AS
368202010-07-21 Andreas Schwab <schwab@redhat.com>
36821
36822 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36823 strcasestr-nonascii.
36824 (CFLAGS-strcasestr-nonascii.c): Define.
36825 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
36826 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
36827 Remove unused attribute.
36828
5dbc3b6c
RM
368292010-07-20 Roland McGrath <roland@redhat.com>
36830
36831 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
36832 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
36833 ld.so.cache was broken. With it, there is no way to disable dsocaps
36834 like LD_HWCAP_MASK can disable hwcaps.
36835
23d101d8
EPM
368362010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
36837
36838 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
36839
cc9f2e47
UD
368402010-07-16 Ulrich Drepper <drepper@redhat.com>
36841
36842 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
36843 call in strcasestr.
36844 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
36845 __strcasestr_sse42_nonascii.
36846 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
36847 strcasestr-nonascii.c.
36848 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
36849
77c1b069
LM
368502010-06-15 Luis Machado <luisgpm@br.ibm.com>
36851
36852 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
36853 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
36854 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
36855 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
36856
440566c3
UD
368572010-07-09 Ulrich Drepper <drepper@redhat.com>
36858
36859 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
36860 fcntl.
36861
5be9d05d
AS
368622010-07-06 Andreas Schwab <schwab@redhat.com>
36863
c30b7ee2 36864 [BZ #11577]
5be9d05d
AS
36865 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
36866 dl_signal_cerror.
36867
8a492a67
UD
368682010-07-06 Ulrich Drepper <drepper@redhat.com>
36869
36870 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
36871 _PC_PIPE_BUF using F_GETPIPE_SZ.
36872
713df3d5
RM
368732010-07-05 Roland McGrath <roland@redhat.com>
36874
36875 * manual/arith.texi (Rounding Functions): Fix rint description
36876 implicit in round description.
36877
702e8f14
UD
368782010-07-02 Ulrich Drepper <drepper@redhat.com>
36879
36880 * elf/Makefile: Fix linking for a few tests to make recent linker
36881 happy.
36882
52ed8be9
AS
368832010-06-30 Andreas Schwab <schwab@redhat.com>
36884
36885 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
36886 $(common-objpfx)libc_nonshared.a.
36887
f47c9a11
LM
368882010-06-21 Luis Machado <luisgpm@br.ibm.com>
36889
36890 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
36891 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
36892 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
36893 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
36894 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
36895 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
36896 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
36897 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
36898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
36899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
36900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
36901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
36902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
36903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
36904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
36905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
36906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
36907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
36908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
36909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
36910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
36911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
36912 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
36913 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
36914 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
36915 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
36916 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
36917 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
36918 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
36919 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
36920 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
36921 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
36922 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
36923 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
36924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
36925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
36926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
36927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
36928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
36929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
36930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
36931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
36932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
36933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
36934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
36935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
36936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
36937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
36938
6fb8cbcb
L
369392010-06-25 H.J. Lu <hongjiu.lu@intel.com>
36940
36941 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
36942 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
36943 * string/memmove.c (memmove): Renamed to ...
36944 (MEMMOVE): ...this. Default to memmove.
36945 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
36946 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
36947 (END_CHK): Define.
36948 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36949 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
36950 mempcpy-ssse3-back memmove-ssse3-back.
36951 * sysdeps/x86_64/multiarch/bcopy.S: New file .
36952 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
36953 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
36954 * sysdeps/x86_64/multiarch/memcpy.S: New file.
36955 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
36956 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
36957 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
36958 * sysdeps/x86_64/multiarch/memmove.c: New file.
36959 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
36960 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
36961 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
36962 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
36963 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
36964 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
36965 Define.
36966 (index_Fast_Copy_Backward): Define.
36967 (HAS_ARCH_FEATURE): Define.
36968 (HAS_FAST_REP_STRING): Define.
36969 (HAS_FAST_COPY_BACKWARD): Define.
36970
4e733bac 369712010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
36972
36973 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36974 Restore proper fallback handling.
36975
63c4ed22
UD
369762010-06-19 Ulrich Drepper <drepper@redhat.com>
36977
ac2b484c
UD
36978 [BZ #11701]
36979 * posix/group_member.c (__group_member): Correct checking loop.
36980
63c4ed22
UD
36981 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
36982 OOM in getpwuid_r correctly. Return error number when the caller
36983 should return, otherwise -1.
36984 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
36985 call returning > 0 value.
36986 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
36987
765ade4b
AS
369882010-06-07 Andreas Schwab <schwab@redhat.com>
36989
36990 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
36991 libc_nonshared.a from targets in modules-names.
36992
80da2e09
KS
369932010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
36994
36995 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
36996 requires it.
36997
158db122
LM
369982010-06-10 Luis Machado <luisgpm@br.ibm.com>
36999
37000 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
37001 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
37002 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
37003 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
37004
caa78cf8
AS
370052010-06-02 Andreas Schwab <schwab@redhat.com>
37006
37007 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
37008
b2ef2c01
UD
370092010-06-14 Ulrich Drepper <drepper@redhat.com>
37010
37011 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
37012 and F_GETPIPE_SZ.
37013 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37014 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37015 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37016 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37017 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37018 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
37019
fbd643b6
RM
370202010-06-14 Roland McGrath <roland@redhat.com>
37021
37022 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
37023
f32f2869
JJ
370242010-06-07 Jakub Jelinek <jakub@redhat.com>
37025
37026 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
37027 __REDIRECT followed by __THROW.
37028 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
37029 * posix/getopt.h (getopt): Likewise.
37030
2a50c078
EPM
370312010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37032
37033 * hurd/lookup-at.c (__file_name_lookup_at): Accept
37034 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
37035 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
37036 in AT_FLAGS.
37037 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
37038 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
37039
eb5ad2eb
LM
370402010-05-28 Luis Machado <luisgpm@br.ibm.com>
37041
37042 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
37043
3c88fe1e
L
370442010-05-26 H.J. Lu <hongjiu.lu@intel.com>
37045
37046 [BZ #11640]
37047 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37048 Properly check family and model.
37049
d2f73151
TY
370502010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
37051
37052 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
37053
ebd2e13d
LM
370542010-05-24 Luis Machado <luisgpm@br.ibm.com>
37055
37056 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
37057
b32b8b45
UD
370582010-05-21 Ulrich Drepper <drepper@redhat.com>
37059
37060 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
37061 symbol reference.
37062
9acbe24d
AS
370632010-05-19 Andreas Schwab <schwab@redhat.com>
37064
37065 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
37066 symbol reference.
37067
f0ccf6ea
AS
370682010-05-21 Andreas Schwab <schwab@redhat.com>
37069
3d04ff3a
AS
37070 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
37071 and internal_recvmmsg.
37072 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
37073 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
37074 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
37075 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
37076
f0ccf6ea
AS
37077 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
37078 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
37079 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
37080
5b08ac57
AS
370812010-05-20 Andreas Schwab <schwab@redhat.com>
37082
37083 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
37084
4828935d
LM
370852010-05-17 Luis Machado <luisgpm@br.ibm.com>
37086
37087 POWER7 optimizations.
37088 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
37089 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
37090
373d545e
UD
370912010-05-19 Ulrich Drepper <drepper@redhat.com>
37092
37093 * version.h: Update for 2.13 development version.
37094
21a2b1ae
AS
370952010-05-12 Andrew Stubbs <ams@codesourcery.com>
37096
37097 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
37098 exceptions. Return 0.
37099
3f7dcb2b
RM
371002010-05-07 Roland McGrath <roland@redhat.com>
37101
37102 * elf/ldconfig.c (main): Add a const.
37103
5f24d53a 371042010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 37105
a160f8d8
UD
37106 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
37107 (args_options): Add no-idn option.
37108 (ahosts_keys_int): Add idn_flags to ai_flags.
37109 (parse_option): Handle 'i' option to clear idn_flags.
37110
5f24d53a
UD
37111 * malloc/malloc.c (_int_free): Possible race in the most recently
37112 added check. Only act on the data if no current modification
37113 happened.
265bb1ce
UD
37114
37115See ChangeLog.17 for earlier changes.