]> sourceware.org Git - glibc.git/blame - ChangeLog
PowerPC: multiarch strlen for PowerPC64
[glibc.git] / ChangeLog
CommitLineData
a65f4904
AZ
12013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
3 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
4 implementations.
5 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6 (__libc_ifunc_impl_list): Likewise.
7 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
8 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
9 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
10 strlen for PPC64.
11
1fd005ad
AZ
122013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13
14 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
15 implementations.
16 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17 (__libc_ifunc_impl_list): Likewise.
18 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
19 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
20 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
21 rawmemrchr for PPC64.
22
cd05ba91
AZ
232013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24
25 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
26 implementation.
27 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28 (__libc_ifunc_impl_list): Likewise.
29 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
30 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
31 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
32 memrchr for PPC64.
33
870f8676
AZ
342013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35
36 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
37 implementation.
38 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39 (__libc_ifunc_impl_list): Likewise.
40 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
41 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
42 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
43 memchr for PPC64.
44
f00be62b
AZ
452013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46
47 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
48 implementation.
49 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50 (__libc_ifunc_impl_list): Likewise.
51 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
52 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
53 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
54 mempcpy for PPC64.
55
8a29a3d0
AZ
562013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57
58 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
59 avoid cretion of __bzero symbol.
60 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
61 Likewise.
62 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
63 Likewise.
64 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
65 Likewise.
66 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
67 multiarch implementations.
68 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
69 (__libc_ifunc_impl_list): Likewise.
70 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
71 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
72 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
73 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
74 bzero for PPC32.
75 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
76 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
77 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
78 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
79 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
80 memset for PPC64.
81 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
82
07253fcf
AZ
832013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
84
85 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
86 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
87 implementations.
88 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
89 (__libc_ifunc_impl_list): Likewise.
90 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
91 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
92 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
93 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
94 memcmp for PPC64.
95
b5beafbc
AZ
962013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
97
98 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
99 multiarch for POWER/PPC64.
100 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
101 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
102 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
103 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
104 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
105 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
106 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
107 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
108 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
109 memcpy for PPC64.
110
5e6a4d4b
AZ
1112013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
112
113 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
114 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
115 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
116 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
117 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
118 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
119 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
120 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
121 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
122 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
123 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
124 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
125 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
126 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
127 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
135
ddfab6dc
KK
1362013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
137
138 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
139
19b5525e
SP
1402013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
141
142 * benchtests/Makefile (bench): Add exp2 and log2.
143 (LDLIBS-bench-exp2): Add -lm.
144 (LDLIBS-bench-log2): Likewise.
145 * benchtests/exp2-inputs: New inputs file.
146 * benchtests/log2-inputs: New inputs file.
147 * benchtests/log-inputs: Add new inputs.
148 * benchtests/tan-inputs: Likewise.
149
196f7f5d
SP
1502013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
151
7a74607f
SP
152 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
153 definition...
154 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
155 csloww1, csloww2): ... from here.
156
196f7f5d
SP
157 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
158 instead of structures.
159 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
160 (POLYNOMIAL): Likewise.
161 (TAYLOR_SLOW): Likewise.
162 (__sin): Likewise.
163 (__cos): Likewise.
164 (slow1): Likewise.
165 (slow2): Likewise.
166 (sloww): Likewise.
167 (sloww1); Likewise.
168 (sloww2): Likewise.
169 (bsloww1): Likewise.
170 (bsloww2): Likewise.
171 (cslow2): Likewise.
172 (csloww): Likewise.
173 (csloww1): Likewise.
174 (csloww2): Likewise.
175
0dfa665c
OB
1762013-12-10 Ondřej Bílka <neleai@seznam.cz>
177
178 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
179 (__malloc_assert, __libc_realloc, __libc_calloc,
180 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
181 memcpy and memset.
182 * malloc/hooks.c (realloc_check): Likewise.
183
5782a80f
OB
1842013-12-10 Ondřej Bílka <neleai@seznam.cz>
185
186 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
187 * malloc/arena.c: Remove PER_THREAD conditional.
188 [!PER_THREAD]: Remove code.
189 (ptmalloc_unlock_all2): Likewise.
190 (ptmalloc_init): Likewise.
191 (_int_new_arena): Likewise.
192 (arena_get2): Likewise.
193 * malloc/hooks.c (__malloc_get_state): Likewise.
194 (__malloc_set_state): Likewise.
195 * malloc/malloc.c: Likewise.
196 (struct malloc_state): Likewise.
197 (struct malloc_par): Likewise.
198 (__libc_realloc): Likewise.
199 (__libc_mallopt): Likewise.
200
aeb95445
AZ
2012013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
202
203 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
204
e8349efd
OB
2052013-12-09 Ondřej Bílka <neleai@seznam.cz>
206
207 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
208 macro to a function. Check for zero perturb_byte.
209 (_int_malloc, _int_free): Remove zero perturb_byte checks.
210
f3eeb3fc
OB
2112013-12-09 Ondřej Bílka <neleai@seznam.cz>
212
213 * malloc/malloc.c: (force_reg): Remove.
214 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
215 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
216 force_reg by atomic_forced_read.
217 * malloc/arena.c (ptmalloc_init): Likewise.
218 * malloc/hooks.c (top_check): Likewise.
219
be2f9009
AZ
2202013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
221
222 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
223
e7b914bd
MT
2242013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
225
226 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
227
9f0be4f8
JM
2282013-12-08 Joseph Myers <joseph@codesourcery.com>
229
230 * math/auto-libm-test-in: Add tests of lgamma.
231 * math/auto-libm-test-out: Regenerated.
232 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
233 (M_LOG_2_SQRT_PIl): Likewise.
234 (lgamma_test_data): Use AUTO_TESTS_f_f1.
235 * math/gen-auto-libm-tests.c (func_calc_method): Add value
236 mpfr_f_f1.
237 (func_calc_desc): Add mpfr_f_f1 union field.
238 (ARGS1): New macro.
239 (ARGS2): Likewise.
240 (ARGS3): Likewise.
241 (ARGS4): Likewise.
242 (RET1): Likewise.
243 (RET2): Likewise.
244 (CALC): Likewise.
245 (FUNC): Likewise.
246 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
247 (test_functions): Add lgamma.
248 (calc_generic_results): Handle mpfr_f_f1.
249 * sysdeps/i386/fpu/libm-test-ulps: Update.
250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
251
24eeafdb
AZ
2522013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
253
254 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
255 __mpn_add_n for PowerPC64/POWER7.
256 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
257 __mpn_sub_n for PowerPC64/POWER7.
258
4a2c0fd4
AZ
2592013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
260
261 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
262 __mpn_addmul_1 for PowerPC64.
263 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
264 __mpn_submul_1 for PowerPC64.
265 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
266 for PowerPC64.
267 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
268 for PowerPC64.
269
4b5b548c
FS
2702013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
271
272 [BZ #15089]
273 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
274
0a3ac0aa
AZ
2752013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
276
277 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
278
ccdc8438
AZ
2792013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
280
281 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
282 add multiarch folders.
283 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
284 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
285 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
286 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
287 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
288 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
289 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
290 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
291 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
292 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
293 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
300
2e973d99
AZ
3012013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
302
303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
304 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
306 New file.
307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
308 New file.
309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
310 multiarch __ieee754_hypot for PowerPC32.
311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
312 New file.
313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
314 New file.
315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
316 multiarch __ieee754_hypotf for PowerPC32.
317
2d9470b2
AZ
3182013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
319
320 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
321 long_double_symbol only if __logbl is defined.
322 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
323 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
324 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
325 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
326 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
327 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
328 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
329 path for implementation.
330 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
331 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
333 logb, and logbl multiarch implementations for PowerPC32.
334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
335 file.
336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
337 file.
338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
339 multiarch logb for PowerPC32.
340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
341 file.
342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
343 file.
344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
345 multiarch logbf for PowerPC32.
346 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
348 file.
349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
350 multiarch logbl implementation for PowerPC32.
351
5212ffce
AZ
3522013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
353
354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
355 and modff multiarch implementations.
356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
357 New file.
358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
359 New file.
360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
361 multiarch modf for PowerPC32.
362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
363 New file.
364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
365 New file.
366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
367 multiarch modff for PowerPC32.
368
79dccf31
AZ
3692013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
370
371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
372 and lrintf multiarch implementations.
373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
374 New file.
375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
376 New file.
377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
378 multiarch lrint for PowerPC32.
379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
380 file: multiarch lrintf for PowerPC32.
381
deb66480
AZ
3822013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
383
384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
385 and lroundf multiarch implementations.
386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
387 New file.
388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
389 New file.
390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
391 New file.
392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
393 multiarch lround for PowerPC32.
394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
395 file: multiarch lroundf for PowerPC32.
396
264b036b
AZ
3972013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
398
399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
400 copysign and copysignf multiarch implementations.
401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
402 New file.
403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
404 New file.
405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
406 file: multiarch copysign for PowerPC32.
407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
408 file: multiarch copysignf for PowerPC32.
409
d47db6c9
AZ
4102013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
411
412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
413 and truncf multiarch implementations.
414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
415 New file.
416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
417 file.
418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
419 multiarch trunc for PowerPC32.
420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
421 New file.
422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
423 New file.
424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
425 multiarch truncf for PowerPC32.
426
ddb60b5a
AZ
4272013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
428
429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
430 and roundf multiarch implementations.
431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
432 New file.
433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
434 file.
435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
436 multiarch round for PowerPC32.
437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
438 New file.
439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
440 New file.
441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
442 multiarch roundf for PowerPC32.
443
bedcf49b
AZ
4442013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
445
446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
447 and floorf multiarch implementations.
448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
449 New file.
450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
451 file.
452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
453 multiarch floor for PowerPC32.
454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
455 New file.
456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
457 New file.
458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
459 multiarch floorf for PowerPC32.
460
35ae5b40
AZ
4612013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
462
463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
464 and ceilf multiarch implementations.
465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
466 New file.
467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
468 file.
469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
470 multiarch ceil for PowerPC32.
471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
472 New file.
473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
474 file.
475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
476 multiarch ceilf for PowerPC32.
477
ae1a4cd9
AZ
4782013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
479
480 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
481 is defined.
482 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
483 FINITEF is defined.
484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
485 and finitef multiarch implementations.
486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
487 New file.
488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
489 file.
490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
491 multiarch finite for PowerPC32.
492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
493 New file.
494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
495 file: multiarch finitef for PowerPC32.
496
64fffd65
AZ
4972013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
498
499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
500 and isinff multiarch implementations.
501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
502 file.
503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
504 file.
505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
506 multiarch isinf for PowerPC32.
507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
508 New file.
509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
510 multiarch isinff for PowerPC32.
511
8e4e7ba2
AZ
5122013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
513
514 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
515 alias when __isnan is defined.
516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
517 and isnanf multiarch implementations.
518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
519 file.
520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
521 file.
522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
523 file.
524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
525 file.
526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
527 multiarch isnan for PowerPC32.
528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
529 New file.
530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
531 New file.
532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
533 multiarch isnanf for PowerPC32.
534
ddba588e
AZ
5352013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
536
537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
538 and sqrtf multiarch implementations.
539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
540 file.
541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
542 file.
543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
544 multiarch sqrt for PowerPC32.
545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
546 file.
547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
548 file.
549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
550 multiarch sqrtf for PowerPC32.
551
0f96a2f0
AZ
5522013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
553
554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
555 and llroundf multiarch implementations.
556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
557 New file.
558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
559 New file.
560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
561 New file.
562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
563 file: multiarch llround for PowerPC32.
564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
565 file: multiarch llroundf for PowerPC32.
566
c9b5d79e
AZ
5672013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
568
569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
570 multiarch PowerPC32 fpu implementations.
571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
572 New file.
573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
574 New file.
575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
576 multiarch llrint for PowerPC32.
577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
578 New file.
579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
580 New file.
581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
582 file.
583
9cbb3aab
AZ
5842013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
585
586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
587
ea5a72f8
AZ
5882013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
589
590 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
591 file.
592 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
593 file.
594 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
595 file.
596 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
597 multiarch wordcopy for PPC32.
598 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
599 wordcopy objects.
600 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
601 (__libc_ifunc_impl_list): Likewise.
602 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
603 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
604 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
605 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
606 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
607 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
608
93be09e7
AZ
6092013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
610
611 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
612 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
613 file.
614 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
615 file.
616 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
617 file.
618 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
619 multiarch wcscpy for PPC32.
620 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
621 multiarch objects.
622 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
623 (__libc_ifunc_impl_list): Likewise.
624 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
625 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
626 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
627 sysdeps/powerpc/power6/wcscpy.c.
628
bb04e529
AZ
6292013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
630
631 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
632 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
633 file.
634 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
635 file.
636 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
637 file.
638 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
639 multiarch wcsrchr for PPC32.
640 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
641 multiarch objects.
642 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
643 (__libc_ifunc_impl_list): Likewise.
644 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
645 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
646 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
647 sysdeps/powerpc/power6/wcsrchr.c.
648
05b5cd1c
AZ
6492013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
650
651 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
652 file.
653 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
654 file.
655 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
656 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
657 multiarch wcschr for PPc32.
658 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
659 multiarch objects.
660 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
661 (__libc_ifunc_impl_list): Likewise.
662 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
663 * sysdeps/powerpc/power6/wcschr.c: ... to here.
664 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
665 sysdeps/powerpc/power6/wcschr.c.
666
ba964147
AZ
6672013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
668
669 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
670 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
671 file.
672 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
673 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
674 file: multiarch strchr for PPC32.
675 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
676 multiarch objects.
677 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
678 (__libc_ifunc_impl_list): Likewise.
679
31c81aaa
AZ
6802013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
681
682 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
683 name.
684 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
685 file.
686 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
687 file.
688 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
689 multiarch strchrnul for PPC32.
690 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
691 multiarch objects.
692 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
693 (__libc_ifunc_impl_list): Likewise.
694
0d0607d9
AZ
6952013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
696
697 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
698 file.
699 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
700 multiarch strncasecmp for PPC32.
701 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
702 file.
703 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
704 multiarch strncasecmp_l for PPC32.
705 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
706 strncasecmp multiarch objects.
707 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
708 (__libc_ifunc_impl_list): Likewise.
709
4dfd5c86
AZ
7102013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
711
712 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
713 file.
714 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
715 multiarch strncasecmp for PPC32.
716 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
717 New file.
718 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
719 multiarch strcasecmp_l for PPC32.
720 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
721 multiarch objects.
722 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
723 (__libc_ifunc_impl_list): Likewise.
724
a19e01a3
AZ
7252013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
726
727 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
728 file.
729 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
730 file.
731 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
732 multiarch strncmp for PPC32.
733 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
734 multiarch objects.
735 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
736 (__libc_ifunc_impl_list): Likewise.
737
ae9cf7a2
AZ
7382013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
739
740 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
741 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
742 file.
743 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
744 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
745 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
746 multiarch objects.
747 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
748 (__libc_ifunc_impl_list): Likewise.
749
3148bb7d
AZ
7502013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
751
752 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
753 file.
754 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
755 file.
756 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
757 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
758 multiarch objects.
759 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
760 (__libc_ifunc_impl_list): Likewise.
761
7af8b946
AZ
7622013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
763
764 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
765 file.
766 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
767 file.
768 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
769 multiarch rawmemchr for PPC32.
770 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
771 multiarch objects.
772 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
773 (__libc_ifunc_impl_list): Likewise.
774
03a6aa6a
AZ
7752013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
776
777 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
778 file.
779 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
780 file.
781 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
782 file: memrchr multiarch for PPC32.
783 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
784 multiarch objects.
785 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
786 (__libc_ifunc_impl_list): Likewise.
787
1c62e6d9
AZ
7882013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
789
790 * string/memchr.c (__memchr): Using macro to redefine symbol name.
791 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
792 file.
793 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
794 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
795 multiarch memchr for PPC32.
796 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
797 multiarch objects.
798 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
799 (__libc_ifunc_impl_list): Likewise.
800
87da8bdb
AZ
8012013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
802
803 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
804 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
805 file.
806 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
807 file.
808 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
809 file: multiarch mempcpy for PPC32.
810 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
811 multiarch objects.
812 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
813 (__libc_ifunc_impl_list): Likewise.
814
20ed4714
AZ
8152013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
816
817 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
818 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
819 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
820 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
821 multiarch bzero for PPC32.
822 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
823 file.
824 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
825 file.
826 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
827 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
828 file: multiarch memset for PPC32.
829 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
830 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
831 memset multiarch objects.
832 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
833 (__libc_ifunc_impl_list): Likewise.
834
ab3e3a46
AZ
8352013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
836
837 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
838 file.
839 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
840 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
841 memcmp for PPC32.
842 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
843 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
844 multiarch objects.
845 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
846 (__libc_ifunc_impl_list): Likewise.
847
930de6f0
AZ
8482013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
849
850 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
851 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
852 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
853 file.
854 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
855 file.
856 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
857 file.
858 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
859 multiarch memcpy for PPC32.
860 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
861 multiarch objects.
862 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
863 (__libc_ifunc_impl_list): Likewise.
864
4c628e00
AZ
8652013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
866
867 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
868 support multiarch for POWER/PPC32.
869 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
870 Likewise.
871 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
873 Implies file to make multiarch folder appers before the fpu and
874 default folder for power4 configuration.
875
f4479220
SP
8762013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
877
878 * scripts/bench.pl: Append volatile keyword to type.
879
8517800f
KK
8802013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
881
882 * sysdeps/sh/sotruss-lib.c: New file.
883 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
884
180138f1
AZ
8852013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
886
887 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
888
bbf37bdc
JM
8892013-12-05 Joseph Myers <joseph@codesourcery.com>
890
e47cc4e0
JM
891 [BZ #6810]
892 * math/w_tgamma.c: Include <errno.h>.
893 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
894 * math/w_tgammaf.c: Include <errno.h>.
895 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
896 * math/w_tgammal.c: Include <errno.h>.
897 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
898 * math/auto-libm-test-in: Do not allow missing errno on tgamma
899 underflow. Add more tgamma tests.
900 * math/auto-libm-test-out: Regenerated.
901 * sysdeps/i386/fpu/libm-test-ulps: Update.
902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
903
bbf37bdc
JM
904 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
905 sin, sinh, tan, tanh, tgamma, y0 and y1.
906 * math/auto-libm-test-out: Regenerated.
907 * math/libm-test.inc (TEST_COND_x86_64): New macro.
908 (TEST_COND_x86): Likewise.
909 (M_E2l): Remove macro.
910 (M_E3l): Likewise.
911 (M_2_SQRT_PIl): Likewise.
912 (M_SQRT_PIl): Likewise.
913 (M_1_DIV_El): Likewise.
914 (log_test_data): Use AUTO_TESTS_f_f.
915 (log10_test_data): Likewise.
916 (log1p_test_data): Likewise.
917 (log2_test_data): Likewise.
918 (sin_test_data): Likewise.
919 (sin_tonearest_test_data): Likewise.
920 (sin_towardzero_test_data): Likewise.
921 (sin_downward_test_data): Likewise.
922 (sin_upward_test_data): Likewise.
923 (sinh_test_data): Likewise.
924 (sinh_tonearest_test_data): Likewise.
925 (sinh_towardzero_test_data): Likewise.
926 (sinh_downward_test_data): Likewise.
927 (sinh_upward_test_data): Likewise.
928 (tan_test_data): Likewise.
929 (tan_tonearest_test_data): Likewise.
930 (tan_towardzero_test_data): Likewise.
931 (tan_downward_test_data): Likewise.
932 (tan_upward_test_data): Likewise.
933 (tanh_test_data): Likewise.
934 (tgamma_test_data): Likewise.
935 (y0_test_data): Likewise.
936 (y1_test_data): Likewise.
937 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
938 (special_real_inputs): Add pi/4.
939 * sysdeps/i386/fpu/libm-test-ulps: Update.
940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
941
eb5ad6b9
AZ
9422013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
943
944 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
945 "longjmp_target" static probes.
946 (__longjmp): Rename to __longjmp_symbol.
947 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
948 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
949 on which longjmp to generate.
950 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
951 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
952 probe.
953 (__sigsetjmp): Rename to __sigsetjmp_symbol.
954 (__sigjmp_save): Rename to __sigjmp_save_symbol.
955 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
956 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
957 and __sigjmp_save_symbol based on which sigsetjmp to generated.
958 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
960 __longjmp_symbol based on which __longjmp to generate.
961 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
962 probe.
963 (setjmp): Rename to setjmp_symbol.
964 (__sigsetjmp): Rename to __sigsetjmp_symbol.
965 (_setjmp): Rename to _setjmp_symbol.
966 (__sigsetjmp): Rename to __sigsetjmp_symbol.
967 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
968 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
969 which setjmp to generate.
970 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
971 "longjmp_target" static probes.
972
d136c6dc
SP
9732013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
974
9298ecba
SP
975 * benchtests/README: Add note about output arguments.
976 * benchtests/bench-sincos.c: Remove file.
977 * benchtests/sincos-inputs: New file.
978 * scripts/bench.pl: Identify output arguments and define
979 static variables for them.
980
232983e9
SP
981 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
982
d136c6dc
SP
983 [BZ #15941]
984 * Makefile (INSTALL): Add install-plain.texi as the primary
985 dependency.
986 * manual/install-plain.texi: New file.
987 * manual/install.texi: Include node directive only for
988 non-plaintext output.
989
699ff837
JM
9902013-12-04 Joseph Myers <joseph@codesourcery.com>
991
ab07cea8
JM
992 * stdlib/longlong.h: Update from GCC.
993
699ff837
JM
994 [BZ #6807]
995 [BZ #15901]
996 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
997 * math/w_j0f.c (y0f): Likewise.
998 * math/w_j0l.c (__y0l): Likewise.
999 * math/w_j1.c (y1): Likewise.
1000 * math/w_j1f.c (y1f): Likewise.
1001 * math/w_j1l.c (__y1l): Likewise
1002 * math/w_jn.c (yn): Likewise.
1003 * math/w_jnf.c (ynf): Likewise.
1004 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
1005 Bessel function pole errors in _POSIX_ mode. Use NAN as return
1006 value for Bessel function domain errors outside _SVID_ mode.
1007 Adjust sign of return value for yn (negative integer, 0).
1008 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
1009 by zero in return for negative x and set sign appropriately for
1010 negative n.
1011 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
1012 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1013 * math/libm-test.inc (y0_test_data): Add more tests and adjust
1014 expectations in error cases.
1015 (y1_test_data): Likewise.
1016 (yn_test_data): Likewise.
1017 * sysdeps/i386/fpu/libm-test-ulps: Update.
1018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1019
5b118558
UW
10202013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1021
1022 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
1023 "64" to "64-v1". Add "64-v2".
1024 (abi-64-options): Rename to ...
1025 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
1026 (abi-64-condition): Rename to ...
1027 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
1028 (abi-64-ld-soname): Rename to ...
1029 (abi-64-v1-ld-soname): ... this.
1030 (abi-64-v2-options): Define.
1031 (abi-64-v2-condition): Likewise.
1032 (abi-64-v2-ld-soname): Likewise.
1033 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
1034 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
1035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
1036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
1037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
1038
61cd8fe4
UW
10392013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1040 Alan Modra <amodra@gmail.com>
1041
1042 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
1043 New versions for use with the ELFv2 ABI.
1044 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
1045 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
1046 declaration.
1047 (struct La_ppc64v2_retval): Likewise.
1048 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
1049 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
1050 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
1051 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
1052 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
1053 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
1054 Do not save or restore CR.
1055 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
1056 (_dl_profile_resolve): Do no save or restore CR. Support extended
1057 return values for ELFv2 ABI. Fix location of FPR return registers.
1058 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
1059 updated values for _CALL_ELF == 2.
1060 (La_regs, La_retval, int_retval): Likewise.
1061
8b8a692c
UW
10622013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1063
1064 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
1065 (FRAME_MIN_SIZE_PARM): Likewise.
1066 (FRAME_BACKCHAIN): Likewise.
1067 (FRAME_CR_SAVE): Likewise.
1068 (FRAME_LR_SAVE): Likewise.
1069 (FRAME_TOC_SAVE): Likewise.
1070 (FRAME_PARM_SAVE): Likewise.
1071 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1072 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1073 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1074 (call_mcount_parm_offset): New macro.
1075 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
1076 (PROF): Use symbolic stack frame offsets.
1077 (TAIL_CALL_SYSCALL_ERROR): Likewise.
1078 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
1079 Redefine in terms of FRAME_MIN_SIZE.
1080 (_dl_runtime_resolve): Use symbolic stack frame offsets.
1081 (_dl_profile_resolve): Likewise. Update comment.
1082 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
1083 symbols stack frame offsets.
1084 (__sigsetjmp): Likewise.
1085 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
1086 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
1087 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
1088 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
1089
1090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
1091 (FRAME_BACKCHAIN): Remove.
1092 (FRAME_CR_SAVE): Likewise.
1093 (FRAME_LR_SAVE): Likewise.
1094 (FRAME_COMPILER_DW): Likewise.
1095 (FRAME_LINKER_DW): Likewise.
1096 (FRAME_TOC_SAVE): Likewise.
1097 (FRAME_PARM_SAVE): Likewise.
1098 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1099 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1100 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
1102 (CHECK_SP): Use symbolic stack frame offsets.
1103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
1104 zone" instead of caller's parameter save area for temp storage.
1105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1106 Likewise. Also, use symbolic stack frame offsets.
1107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
1108 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
1109 our own stack frame instead of the caller's.
1110 (__socket): Use symbolic stack frame offsets.
1111
122b66de
UW
11122013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1113 Alan Modra <amodra@gmail.com>
1114
1115 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
1116 Define.
1117 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
1118 PPC64_LOCAL_ENTRY_OFFSET): Define.
1119 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
1120 New function.
1121 (elf_machine_fixup_plt): Call it.
1122 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
1123 reloc arguments.
1124 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
1125 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1126 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
1127 r2 before calling target.
1128
696caf1d
UW
11292013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1130 Alan Modra <amodra@gmail.com>
1131
1132 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
1133 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
1134 versions of macros to support ELFv2 ABI.
1135 (LOCALENTRY): New macro.
1136 (ENTRY, EALIGN): Use it.
1137 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
1138 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
1139 fall through into ENTRY entry point.
1140 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
1141 Only define if _CALL_ELF != 2.
1142
1143 (elf_machine_matches_host): Verify ABI version matches.
1144 (RTLD_START): Use LOCALENTRY.
1145 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
1146 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
1147 (PLT_ENTRY_WORDS): New macro.
1148 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
1149 (elf_machine_runtime_setup): Support ELFv2 ABI.
1150 (elf_machine_fixup_plt): Likewise.
1151 (elf_machine_plt_conflict): Likewise.
1152 (resolve_ifunc): Likewise.
1153 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1154 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1155 Likewise.
1156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
1157 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
1158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1159 (makecontext): Support ELFv2 ABI.
1160 * elf/elf.h (EF_PPC64_ABI): Define.
1161
d31beafa
UW
11622013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1163
1164 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
1165 New assembler macro.
1166 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
1167 [ASSEMBLER] (ENTRY): ... but instead here ...
1168 [ASSEMBLER] (EALIGN): ... and here.
1169 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
1170 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
1171 [!ASSEMBLER] (ENTRY_2): Use it.
1172 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
1173 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
1174 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1175 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
1176 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
1177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
1178 Use PPC64_LOAD_FUNCPTR.
1179
b525166b
UW
11802013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1181
1182 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
1183
7ec07d9a
AM
11842013-12-04 Alan Modra <amodra@gmail.com>
1185
1186 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
1187 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
1188 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
1189 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
1190
1191 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
1192 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
1193 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
1194 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
1195 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
1196 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
1197
5162e7dd
UW
11982013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1199
1200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1201 (__makecontext): Fix incorrect CFI when backtracing out of
1202 context created via makecontext.
1203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
1204 (__setcontext): Fix incorrect CFI during switch to new context.
1205 (__novec_setcontext): Likewise.
1206
19e3372b
OB
12072013-12-04 Ondřej Bílka <neleai@seznam.cz>
1208
1209 [BZ #4772]
1210 * time/strptime_l.c (__strptime_internal): Allow modifiers
1211 in strptime.
1212 * time/tst-strptime.c (day_tests): Add testcase.
1213
1214
ecaf142d
SP
12152013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1216
1217 * scripts/bench.pl: Skip over blank lines.
1218
fbf964ae
PE
12192013-12-04 Paul Eggert <eggert@cs.ucla.edu>
1220
1221 [BZ #926]
1222 * manual/time.texi (Calendar Time): Clarify what timezone functions
1223 use.
1224
fa60a674
AZ
12252013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1226
1227 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1228
d674f0ef
OB
12292013-12-04 Ondřej Bílka <neleai@seznam.cz>
1230
1231 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
1232 implementation.
1233 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
1234 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
1235 * debug/memset_chk.c (__memset_chk): Likewise.
1236 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
1237 * debug/strncpy_chk.c: Likewise.
1238
17dea188
JM
12392013-12-03 Joseph Myers <joseph@codesourcery.com>
1240
749008ff
JM
1241 [BZ #15268]
1242 [BZ #15425]
1243 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
1244 (__ieee754_exp): For possibly underflowing results, check size of
1245 result and force underflow exception if required.
1246 * math/auto-libm-test-in: Add more tests of exp.
1247 * math/auto-libm-test-out: Regenerated.
1248 * sysdeps/i386/fpu/libm-test-ulps: Update.
1249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1250
17dea188
JM
1251 [BZ #16283]
1252 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
1253 * math/w_exp2f.c (__exp2f): Likewise.
1254 * math/w_exp2l.c (__exp2l): Likewise.
1255 * math/auto-libm-test-in: Do not allow missing errno on exp2
1256 underflow.
1257 * math/auto-libm-test-out: Regenerated.
1258
b20de2c3
OB
12592013-12-03 Ondřej Bílka <neleai@seznam.cz>
1260
1261 [BZ #16274]
1262 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
1263 handle filename validation.
1264 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
1265 (do_open): Delete.
1266
d8e2dbe3
JM
12672013-12-03 Joseph Myers <joseph@codesourcery.com>
1268
34e16df5
JM
1269 [BZ #6786]
1270 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
1271 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
1272 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
1273 <float.h>.
1274 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
1275 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
1276 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1277 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
1278 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1279 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
1280 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1281 * math/auto-libm-test-in: Don't allow missing errno from erfc.
1282 Add more erfc tests.
1283 * math/auto-libm-test-out: Regenerated.
1284 * sysdeps/i386/fpu/libm-test-ulps: Update.
1285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1286
d8e2dbe3
JM
1287 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
1288 exp2, expm1, j0 and j1.
1289 * math/auto-libm-test-out: Regenerated.
1290 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
1291 (erfc_test_data): Likewise.
1292 (exp_test_data): Likewise.
1293 (exp_tonearest_test_data): Likewise.
1294 (exp_towardzero_test_data): Likewise.
1295 (exp_downward_test_data): Likewise.
1296 (exp_upward_test_data): Likewise.
1297 (exp10_test_data): Likewise.
1298 (exp2_test_data): Likewise.
1299 (expm1_test_data): Likewise.
1300 (j0_test_data): Likewise.
1301 (j1_test_data): Likewise.
1302 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
1303 (input_flag_type): Add flag_xfail_rounding.
1304 (input_flags): Add xfail-rounding.
1305 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
1306 (output_for_one_input_case): Handle flag_xfail_rounding.
1307 * sysdeps/i386/fpu/libm-test-ulps: Update.
1308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1309
18d14251
AJ
13102013-12-03 Aurelien Jarno <aurelien@aurel32.net>
1311
3d2e6075 1312 [BZ #16289]
18d14251
AJ
1313 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
1314 division by 0.
1315
520d437b
SP
13162013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1317
1318 [BZ #16195]
1319 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1320 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
1321 (STAP_PROBE0): New macro.
1322 (STAP_PROBE1): Likewise.
1323 (STAP_PROBE2): Likewise.
1324 (STAP_PROBE3): Likewise.
1325 (STAP_PROBE4): Likewise.
1326
416e0145
OB
13272013-12-02 Ondřej Bílka <neleai@seznam.cz>
1328
1329 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
1330
9d17796a
SE
13312013-12-02 Steve Ellcey <sellcey@mips.com>
1332
1333 * benchtests/Makefile (bench): Add sqrt.
1334 (LDLIBS-bench-sqrt): New.
1335 * benchtests/sqrt-input: New.
1336
f524d6a8
PS
13372013-12-02 Pavel Simerda <psimerda@redhat.com>
1338
639a0ef8
PS
1339 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
1340 (GAIH_EAI): Likewise.
1341 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
1342 (gaih_inet): Likewise.
1343 (getaddrinfo): Don't use GAIH_EAI.
1344
f524d6a8
PS
1345 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
1346 (struct gaih): Remove definition.
1347
df3aedaf
SP
13482013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1349
1350 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
1351 Use HERRNOP directly.
1352
1ab19dec
AZ
13532013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1354
b42ad38d 1355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 1356
176b0c79
JM
13572013-11-30 Joseph Myers <joseph@codesourcery.com>
1358
1359 * math/gen-auto-libm-tests.c (test_functions): Add more
1360 single-argument functions.
1361 (special_fill_pi_2): New function.
1362 (special_fill_minus_pi_2): Likewise.
1363 (special_fill_pi_6): Likewise.
1364 (special_fill_minus_pi_6): Likewise.
1365 (special_fill_pi_3): Likewise.
1366 (special_fill_2pi_3): Likewise.
1367 (special_fill_e): Likewise.
1368 (special_fill_1_e): Likewise.
1369 (special_fill_e_minus_1): Likewise.
1370 (special_real_inputs): Add more special inputs.
1371 (output_for_one_input_case): Do not require ERANGE on underflow to
1372 zero if round-to-nearest result does not underflow to zero, unless
1373 exact results required.
1374 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
1375 atan, atanh, cbrt, cos and cosh.
1376 * math/auto-libm-test-out: Regenerated.
1377 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
1378 (acos_tonearest_test_data): Likewise.
1379 (acos_towardzero_test_data): Likewise.
1380 (acos_downward_test_data): Likewise.
1381 (acos_upward_test_data): Likewise.
1382 (acosh_test_data): Likewise.
1383 (asin_test_data): Likewise.
1384 (asin_tonearest_test_data): Likewise.
1385 (asin_towardzero_test_data): Likewise.
1386 (asin_upward_test_data): Likewise.
1387 (asinh_test_data): Likewise.
1388 (atan_test_data): Likewise.
1389 (atanh_test_data): Likewise.
1390 (cbrt_test_data): Likewise.
1391 (cos_test_data): Likewise.
1392 (cos_tonearest_test_data): Likewise.
1393 (cos_towardzero_test_data): Likewise.
1394 (cos_downward_test_data): Likewise.
1395 (cos_upward_test_data): Likewise.
1396 (cosh_test_data): Likewise.
1397 (cosh_tonearest_test_data): Likewise.
1398 (cosh_towardzero_test_data): Likewise.
1399 (cosh_downward_test_data): Likewise.
1400 (cosh_upward_test_data): Likewise.
1401 * sysdeps/i386/fpu/libm-test-ulps: Update.
1402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1403
ffb536d0
JM
14042013-11-29 Joseph Myers <joseph@codesourcery.com>
1405
2a77a467
JM
1406 [BZ #6787]
1407 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
1408 * math/w_exp10f.c (__exp10f): Likewise.
1409 * math/w_exp10l.c (__exp10l): Likewise.
1410 * math/libm-test.inc (exp10_test_data): Add more tests and expect
1411 errno settings in existing tests.
1412
ea3bc4e8
JM
1413 [BZ #14032]
1414 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
1415 precision control set to double precision.
1416 * sysdeps/i386/fpu/w_sqrt.c: New file.
1417 * math/auto-libm-test-in: Add more tests.
1418 * math/auto-libm-test-out: Update.
1419
0712c9d8
JM
1420 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
1421 (sqrt_test_tonearest): New function.
1422 (sqrt_towardzero_test_data): New variable.
1423 (sqrt_test_towardzero): New function.
1424 (sqrt_downward_test_data): New variable.
1425 (sqrt_test_downward): New function.
1426 (sqrt_upward_test_data): New variable.
1427 (sqrt_test_upward): New function.
1428 (main): Call the new functions.
1429
ffb536d0
JM
1430 * math/gen-auto-libm-tests.c: New file.
1431 * math/auto-libm-test-in: Likewise.
1432 * math/auto-libm-test-out: New generated file.
1433 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
1434 variables.
1435 (%beautify): Add generated representations of zero.
1436 (top level): Set $auto_input and call parse_auto_input.
1437 (beautify): Remove trailing "f" from hex float constants.
1438 (parse_args): Handle XFAIL_TEST.
1439 (convert_condition): New function.
1440 (or_value): Likewise.
1441 (or_cond_value): Likewise.
1442 (generate_testfile): Handle AUTO_TESTS_* lines.
1443 (parse_auto_input): New function.
1444 * math/libm-test.inc (XFAIL_TEST): New macro.
1445 (ERRNO_UNCHANGED): Update value.
1446 (ERRNO_EDOM): Likewise.
1447 (ERRNO_ERANGE): Likewise.
1448 (IGNORE_RESULT): Likewise.
1449 (TEST_COND_flt_32): New macro.
1450 (TEST_COND_dbl_64): Likewise.
1451 (TEST_COND_ldbl_96_intel): Likewise.
1452 (TEST_COND_ldbl_96_m68k): Likewise.
1453 (TEST_COND_ldbl_128): Likewise.
1454 (TEST_COND_ldbl_128ibm): Likewise.
1455 (TEST_COND_long32): Likewise.
1456 (TEST_COND_long64): Likewise.
1457 (TEST_COND_before_rounding): Likewise.
1458 (TEST_COND_after_rounding): Likewise.
1459 (enable_test): Handle XFAIL_TEST flag.
1460 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
1461 with finite results.
1462 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
1463 auto-libm-test-out.
1464
acd98a8e
AK
14652013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1466 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1467
1468 [BZ #16214]
1469 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
1470 __tls_get_addr_internal instead of __tls_get_offset in order to
1471 avoid GOT pointer dependency. Make rtld export
1472 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
1473 __tls_get_addr since we are a __tls_get_offset platform.
1474 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
1475 GOT pointer being set up before.
1476 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
1477
3c1c46a6
JM
14782013-11-28 Joseph Myers <joseph@codesourcery.com>
1479
7475aef5
JM
1480 * manual/math.texi (Errors in Math Functions): Document accuracy
1481 goals.
1482
8bca7cd8
JM
1483 [BZ #15004]
1484 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
1485 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
1486 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1487 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1488 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1489 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1490 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1491 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1492 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1493 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1494 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1495 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1496 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1497 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1498 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1499 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1500
91a1f3fe
JM
1501 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
1502 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
1503 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
1504 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
1505 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
1506 Likewise.
1507 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
1508 Likewise.
1509 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
1510 Likewise.
1511 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
1512 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
1513 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
1514 atomic-feupdateenv and flt-rounds.
1515 * sysdeps/powerpc/nofpu/Versions (libc): Add
1516 __atomic_feholdexcept, __atomic_feclearexcept,
1517 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
1518 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
1519 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
1520 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
1521 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
1522 here.
1523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1524 Update.
1525
c5df7609
JM
1526 * manual/arith.texi (FP Exceptions): Document that exceptions may
1527 not be raised when matherr is used.
1528 (Math Error Reporting): Document overflow in directed rounding
1529 modes. Document that errno may not be set when finite values are
1530 returned on overflow. Document intent to set errno on underflow
1531 only for underflow to zero.
1532
3c1c46a6
JM
1533 [BZ #16271]
1534 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
1535 round-to-nearest then adjust result for other rounding modes.
1536 * include/fenv.h (fegetround): Use libm_hidden_proto.
1537 * math/fegetround.c (fegetround): Use libm_hidden_def.
1538 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1539 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1540 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1541 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1542 Likewise.
1543 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
1544 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1545 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1546 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
1547
5a4c6d53
SP
15482013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1549
1550 [BZ #16077]
1551 * nss/Versions (libnss_files): Add
1552 _nss_files_gethostbyname3_r.
1553 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
1554 New function.
1555 (HOST_DB_LOOKUP): Remove macro.
1556 (_nss_files_gethostbyname_r): Implement function without the
1557 HOST_DB_LOOKUP macro.
1558 (_nss_files_gethostbyname2_r): Likewise.
1559
897b98ba
OB
15602013-11-28 Ondřej Bílka <neleai@seznam.cz>
1561
1562 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
1563
6f476861
UB
15642013-11-26 Uros Bizjak <ubizjak@gmail.com>
1565
1566 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
1567 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
1568 warning.
1569
bd12ab55
AZ
15702013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1571
1572 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
1573 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
1574 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1575 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1576 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
1577 __fe_nomask_env_priv and attribute_hidden.
1578 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
1579 (libc_feupdateenv_test_ppc): Likewise.
1580 (libc_feresetround_ppc): Likewise.
1581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1582 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
1583 compat_symbol macro.
1584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1585 (__fe_nomask_env): Likewise.
1586 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
1587
52bb6543
OB
15882013-11-26 Ondřej Bílka <neleai@seznam.cz>
1589
1590 * string/Makefile: Remove ifunc tests.
1591 * string/test-string.h: Define TEST_IFUNC.
1592 * string/test-bcopy-ifunc.c: Remove.
1593 * string/test-bzero-ifunc.c: Likewise.
1594 * string/test-memccpy-ifunc.c: Likewise.
1595 * string/test-memchr-ifunc.c: Likewise.
1596 * string/test-memcmp-ifunc.c: Likewise.
1597 * string/test-memcpy-ifunc.c: Likewise.
1598 * string/test-memmem-ifunc.c: Likewise.
1599 * string/test-memmove-ifunc.c: Likewise.
1600 * string/test-mempcpy-ifunc.c: Likewise.
1601 * string/test-memrchr-ifunc.c: Likewise.
1602 * string/test-memset-ifunc.c: Likewise.
1603 * string/test-rawmemchr-ifunc.c: Likewise.
1604 * string/test-stpcpy-ifunc.c: Likewise.
1605 * string/test-stpncpy-ifunc.c: Likewise.
1606 * string/test-strcasecmp-ifunc.c: Likewise.
1607 * string/test-strcasestr-ifunc.c: Likewise.
1608 * string/test-strcat-ifunc.c: Likewise.
1609 * string/test-strchr-ifunc.c: Likewise.
1610 * string/test-strchrnul-ifunc.c: Likewise.
1611 * string/test-strcmp-ifunc.c: Likewise.
1612 * string/test-strcpy-ifunc.c: Likewise.
1613 * string/test-strcspn-ifunc.c: Likewise.
1614 * string/test-strlen-ifunc.c: Likewise.
1615 * string/test-strncasecmp-ifunc.c: Likewise.
1616 * string/test-strncat-ifunc.c: Likewise.
1617 * string/test-strncmp-ifunc.c: Likewise.
1618 * string/test-strncpy-ifunc.c: Likewise.
1619 * string/test-strnlen-ifunc.c: Likewise.
1620 * string/test-strpbrk-ifunc.c: Likewise.
1621 * string/test-strrchr-ifunc.c: Likewise.
1622 * string/test-strspn-ifunc.c: Likewise.
1623 * string/test-strstr-ifunc.c: Likewise.
1624
ab260039 16252013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
1626
1627 * benchtests/Makefile: Remove ifunc tests.
1628 * benchtests/bench-string.h: Define TEST_IFUNC.
1629 * benchtests/bench-bcopy-ifunc.c: Remove.
1630 * benchtests/bench-bzero-ifunc.c: Likewise.
1631 * benchtests/bench-memccpy-ifunc.c: Likewise.
1632 * benchtests/bench-memchr-ifunc.c: Likewise.
1633 * benchtests/bench-memcmp-ifunc.c: Likewise.
1634 * benchtests/bench-memcpy-ifunc.c: Likewise.
1635 * benchtests/bench-memmem-ifunc.c: Likewise.
1636 * benchtests/bench-memmove-ifunc.c: Likewise.
1637 * benchtests/bench-mempcpy-ifunc.c: Likewise.
1638 * benchtests/bench-memrchr-ifunc.c: Likewise.
1639 * benchtests/bench-memset-ifunc.c: Likewise.
1640 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
1641 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
1642 * benchtests/bench-stpcpy-ifunc.c: Likewise.
1643 * benchtests/bench-stpncpy-ifunc.c: Likewise.
1644 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
1645 * benchtests/bench-strcasestr-ifunc.c: Likewise.
1646 * benchtests/bench-strcat-ifunc.c: Likewise.
1647 * benchtests/bench-strchr-ifunc.c: Likewise.
1648 * benchtests/bench-strchrnul-ifunc.c: Likewise.
1649 * benchtests/bench-strcmp-ifunc.c: Likewise.
1650 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
1651 * benchtests/bench-strcpy-ifunc.c: Likewise.
1652 * benchtests/bench-strcspn-ifunc.c: Likewise.
1653 * benchtests/bench-strlen-ifunc.c: Likewise.
1654 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
1655 * benchtests/bench-strncat-ifunc.c: Likewise.
1656 * benchtests/bench-strncmp-ifunc.c: Likewise.
1657 * benchtests/bench-strncpy-ifunc.c: Likewise.
1658 * benchtests/bench-strnlen-ifunc.c: Likewise.
1659 * benchtests/bench-strpbrk-ifunc.c: Likewise.
1660 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 1661 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
1662 * benchtests/bench-strspn-ifunc.c: Likewise.
1663 * benchtests/bench-strstr-ifunc.c: Likewise.
1664
16652013-11-26 Ondřej Bílka <neleai@seznam.cz>
1666
ab260039
OB
1667 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
1668
d1d9eaf4 16692013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 1670
d1d9eaf4
OB
1671 * resolv/netdb.h: Use __glibc_reserved instead __unused.
1672 * rt/aio.h: Likewise.
1673 * sysdeps/gnu/bits/utmp.h: Likewise.
1674 * sysdeps/gnu/bits/utmpx.h: Likewise.
1675 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1676 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
1677 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
1678 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
1679 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
1680 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
1681 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
1682 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
1683 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
1684 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
1685 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
1686 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
1687 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
1688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
1689 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1690 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
1691 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
1692 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
1693 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
1694 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
1695 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
1696 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
1697 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
1698 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
1699 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
1700 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1701 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
1702 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
1703 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
1704 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
1705 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
1706 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
1707 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
1708 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1709 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
1710 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
1711 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
1712 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
1713 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
1714 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
1715 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
1716 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1717
a7624ed9
CD
17182013-11-25 Carlos O'Donell <carlos@redhat.com>
1719
1720 [BZ #16245]
1721 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
1722 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
1723
63cfe52b
JM
17242013-11-25 Joseph Myers <joseph@codesourcery.com>
1725
1726 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
1727 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1728 Likewise.
1729
41e8926a
AZ
17302013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1731
1732 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
1733 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
1734 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
1735 (__fesetround): Remove define.
1736 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
1737 rounding and exceptions handling.
1738 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
1739 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
1740 (__fe_nomask_env): Likewise.
1741 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
1742 __fegetround instead of fegetround.
1743 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
1744 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
1745
6851bd4d
RM
17462013-11-21 Roland McGrath <roland@hack.frob.com>
1747
070906ff
RM
1748 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
1749 it's there.
1750
6851bd4d
RM
1751 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
1752
84ae135d
MI
17532013-11-21 Meador Inge <meadori@codesourcery.com>
1754
1755 [BZ #11157]
1756 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
1757 (encrypt_r): Likewise.
1758 * malloc/obstack.h (obstack_free): Likewise.
1759 * posix/unistd.h (encrypt): Likewise.
1760
daf75146
GM
17612013-11-21 Guy Martin <gmsoft@tuxicoman.be>
1762
1763 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
1764 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
1765 DL_CALL_DT_FINI() that call the functions directly.
1766 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
1767 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
1768 * elf/dl-fini.c: Likewise.
1769
10ad46bc
OB
17702013-11-20 Ondřej Bílka <neleai@seznam.cz>
1771
1772 * malloc/hooks.c (memalign_check): Add alignment rounding.
1773 * malloc/malloc.c (_mid_memalign): New function.
1774 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
1775 Implement by calling _mid_memalign.
1776 * manual/probes.texi (Memory Allocation Probes): Remove
1777 memory_valloc_retry and memory_pvalloc_retry.
1778
f3fd2628
SP
17792013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1780
4712799f
SP
1781 * locale/programs/locarchive.c (open_archive): Add const
1782 qualifier to ARCHIVEFNAME and copy default fname to
1783 DEFAULT_FNAME.
1784
0417b20f
SP
1785 [BZ #15601]
1786 * libio/tst-widetext.input: Rename Oriya to Odia.
1787 * locale/iso-639.def: Likewise.
1788
f3fd2628
SP
1789 * manual/probes.texi (Mathematical Function Probes): Add
1790 documentation for sin, cos, asin and acos probes.
1791 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
1792 (__sin32): Add slowasin probe.
1793 (__cos32): Add slowacos probe.
1794 (__mpsin): Add slowsin probe.
1795 (__mpcos): Add slowcos probe.
1796
73c1ce4f
JM
17972013-11-19 Joseph Myers <joseph@codesourcery.com>
1798
1799 [BZ #15483]
1800 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
1801 thread-local __sim_exceptions_thread and global
1802 __sim_exceptions_global.
1803 (__sim_disabled_exceptions): Change to thread-local
1804 __sim_disabled_exceptions_thread and global
1805 __sim_disabled_exceptions_global.
1806 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1807 and global __sim_round_mode_global.
1808 (__simulate_exceptions): Use thread-local floating-point state and
1809 set global state from it as needed.
1810 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
1811 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
1812 __sim_round_mode_thread.
1813 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
1814 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
1815 and global __sim_exceptions_global.
1816 (__sim_disabled_exceptions): Change to thread-local
1817 __sim_disabled_exceptions_thread and global
1818 __sim_disabled_exceptions_global.
1819 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1820 and global __sim_round_mode_global.
1821 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
1822 (SIM_SET_GLOBAL): Likewise.
1823 * sysdeps/powerpc/soft-fp/sfp-machine.h
1824 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
1825 __sim_round_mode_thread.
1826 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
1827 __sim_disabled_exceptions_thread.
1828 (__sim_exceptions): Change to __sim_exceptions_thread.
1829 (__sim_disabled_exceptions): Change to
1830 __sim_disabled_exceptions_thread.
1831 (__sim_round_mode): Change to __sim_round_mode_thread.
1832 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
1833 thread-local floating-point state and set global state from it as
1834 needed.
1835 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
1836 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
1837 (__sim_disabled_exceptions): Remove extern declaration.
1838 (feenableexcept): Use thread-local floating-point state and set
1839 global state from it as needed.
1840 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
1841 extern declaration.
1842 (__sim_disabled_exceptions): Likewise.
1843 (__sim_round_mode): Likewise.
1844 (__fegetenv): Use thread-local floating-point state.
1845 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
1846 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1847 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
1848 floating-point state and set global state from it as needed.
1849 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
1850 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1851 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
1852 Likewise.
1853 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1854 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
1855 Likewise.
1856 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
1857 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
1858 Use __sim_round_mode_thread.
1859 * math/test-fenv-tls.c: New file.
1860 * math/Makefile (tests): Add test-fenv-tls.
1861 ($(objpfx)test-fenv-tls): Depend on
1862 $(common-objpfx)nptl/libpthread.so.
1863
b5449b12
AS
18642013-11-19 Andreas Schwab <schwab@suse.de>
1865
1866 * locale/programs/locale.c (show_info): Decode wordarray elements.
1867 * locale/categories.def (LC_MONETARY): Add element for
1868 _NL_MONETARY_CRNCYSTR.
1869 * locale/C-monetary.c (conversion_rate): New variable.
1870 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
1871 element.
1872
e186536b
CM
18732013-11-18 Chris Metcalf <cmetcalf@tilera.com>
1874
1875 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
1876 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
1877
5c349950
PP
18782013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
1879
1880 * elf/Makefile (tst-auxv): New test.
1881 * elf/tst-auxv.c: New
1882 * elf/rtld.c (dl_main): Adjust AT_EXECFN
1883
699df45b
JM
18842013-11-18 Joseph Myers <joseph@codesourcery.com>
1885
1886 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
1887 (hidden_proto): Caller changed.
1888 (hidden_tls_proto): New macro.
1889 (libc_hidden_tls_proto): Likewise.
1890 (rtld_hidden_tls_proto): Likewise.
1891 (libm_hidden_tls_proto): Likewise.
1892 (libresolv_hidden_tls_proto): Likewise.
1893 (librt_hidden_tls_proto): Likewise.
1894 (libdl_hidden_tls_proto): Likewise.
1895 (libnss_files_hidden_tls_proto): Likewise.
1896 (libnsl_hidden_tls_proto): Likewise.
1897 (libnss_nisplus_hidden_tls_proto): Likewise.
1898 (libutil_hidden_tls_proto): Likewise.
1899
b7589107
OB
19002013-11-18 Ondřej Bílka <neleai@seznam.cz>
1901
1902 [BZ #10253]
1903 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
1904 (decompose_rpath): Defer expansion to fillin_rpath.
1905 (_dl_init_paths): Pass linkmap to fillin_rpath.
1906
250c23bd
RS
19072013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1908
1909 * benchtests/Makefile: Add strsep.
1910 * benchtests/bench-strsep.c: New file: strsep benchtest.
1911 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
1912
a7931fcf
AS
19132013-11-18 Andreas Schwab <schwab@suse.de>
1914
1915 * locale/programs/locale.c (show_info) [case byte]: Check for
1916 '\377' instead of '\177'.
1917 * locale/C-monetary.c (not_available): Always use "\377".
1918 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
1919 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
1920 detect unavailable sign_posn locale elements.
1921 * locale/localeconv.c (__localeconv): For grouping and
1922 mon_grouping handle "\177" and "\377" like no grouping.
1923 (INT_ELEM): New macro. Use it to set all numeric members.
1924 * locale/programs/ld-monetary.c (monetary_read)
1925 <tok_mon_grouping>: Normalize single -1 to the empty string.
1926 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
1927 Likewise.
1928
728dab0e
OB
19292013-11-07 Ondřej Bílka <neleai@seznam.cz>
1930
1931 [BZ #16055]
1932 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
1933 when we match (nil).
1934 * stdio-common/tst-sscanf.c (struct test): Add testcase.
1935
66294491
JM
19362013-11-16 Joseph Myers <joseph@codesourcery.com>
1937
ce665817
JM
1938 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
1939 (NO_TEST_INLINE): Update value.
1940 (ERRNO_UNCHANGED): Likewise.
1941 (ERRNO_EDOM): Likewise.
1942 (ERRNO_ERANGE): Likewise.
1943 (IGNORE_RESULT): Likewise.
1944 (check_float_internal): Check signs of NaN results if
1945 TEST_NAN_SIGN used.
1946 (check_complex): Pass TEST_NAN_SIGN flag through to second
1947 check_float_internal call.
1948 (copysign_test_data): Add tests with quiet NaNs as second
1949 argument. Use TEST_NAN_SIGN.
1950 (fabs_test_data): Add test of negative quiet NaN argument. Use
1951 TEST_NAN_SIGN.
1952 (signbit_test_data): Add tests of quiet NaN argument.
1953 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
1954
ee1466a9
JM
1955 * math/gen-libm-test.pl (show_exceptions): Take extra argument
1956 $ignore_result.
1957 (parse_args): Handle function results specified as IGNORE.
1958 * math/libm-test.inc (IGNORE_RESULT): New macro.
1959 (check_float_internal): Do not check numerical result if flag
1960 IGNORE_RESULT set.
1961 (check_complex): Pass through IGNORE_RESULT to second
1962 check_float_internal call.
1963 (check_int): Do not check numerical result if flag IGNORE_RESULT
1964 set.
1965 (check_long): Likewise.
1966 (check_bool): Likewise.
1967 (check_longlong): Likewise.
1968 (lrint_test_data): Add tests of infinite and NaN arguments.
1969 (lrint_tonearest_test_data): Likewise.
1970 (lrint_towardzero_test_data): Likewise.
1971 (lrint_downward_test_data): Likewise.
1972 (lrint_upward_test_data): Likewise.
1973 (llrint_test_data): Likewise.
1974 (llrint_tonearest_test_data): Likewise.
1975 (llrint_towardzero_test_data): Likewise.
1976 (llrint_downward_test_data): Likewise.
1977 (llrint_upward_test_data): Likewise.
1978 (lround_test_data): Likewise.
1979 (llround_test_data): Likewise.
1980
14407b7e
JM
1981 * math/libm-test.inc (NO_TEST_INLINE): New macro.
1982 (ERRNO_UNCHANGED): Update value.
1983 (ERRNO_EDOM): Likewise.
1984 (ERRNO_ERANGE): Likewise.
1985 (NO_TEST_INLINE_FLOAT): New macro.
1986 (NO_TEST_INLINE_DOUBLE): Likewise.
1987 (enable_test): New function.
1988 (RUN_TEST_f_f): Check enable_test before running test.
1989 (RUN_TEST_2_f): Likewise.
1990 (RUN_TEST_fff_f): Likewise.
1991 (RUN_TEST_c_f): Likewise.
1992 (RUN_TEST_f_f1): Likewise.
1993 (RUN_TEST_fF_f1): Likewise.
1994 (RUN_TEST_fI_f1): Likewise.
1995 (RUN_TEST_ffI_f1): Likewise.
1996 (RUN_TEST_c_c): Likewise.
1997 (RUN_TEST_cc_c): Likewise.
1998 (RUN_TEST_f_i): Likewise.
1999 (RUN_TEST_f_i_tg): Likewise.
2000 (RUN_TEST_ff_i_tg): Likewise.
2001 (RUN_TEST_f_b): Likewise.
2002 (RUN_TEST_f_b_tg): Likewise.
2003 (RUN_TEST_f_l): Likewise.
2004 (RUN_TEST_f_L): Likewise.
2005 (RUN_TEST_fFF_11): Likewise.
2006 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
2007 conditionals.
2008 (cosh_test_data): Likewise.
2009 (exp_test_data): Likewise.
2010 (expm1_test_data): Likewise.
2011 (hypot_test_data): Likewise.
2012 (pow_test_data): Likewise.
2013 (sinh_test_data): Likewise.
2014 (tanh_test_data): Likewise.
2015 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
2016 flags argument.
2017
ca07f197
JM
2018 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
2019 tests with quiet NaN input and output.
2020 (acosh_test_data): Likewise.
2021 (asin_test_data): Likewise.
2022 (asinh_test_data): Likewise.
2023 (atan_test_data): Likewise.
2024 (atanh_test_data): Likewise.
2025 (atan2_test_data): Likewise.
2026 (cbrt_test_data): Likewise.
2027 (cos_test_data): Likewise.
2028 (cosh_test_data): Likewise.
2029 (erf_test_data): Likewise.
2030 (erfc_test_data): Likewise.
2031 (exp_test_data): Likewise.
2032 (exp10_test_data): Likewise.
2033 (exp2_test_data): Likewise.
2034 (expm1_test_data): Likewise.
2035 (hypot_test_data): Likewise.
2036 (j0_test_data): Likewise.
2037 (j1_test_data): Likewise.
2038 (jn_test_data): Likewise.
2039 (lgamma_test_data): Likewise.
2040 (log_test_data): Likewise.
2041 (log10_test_data): Likewise.
2042 (log1p_test_data): Likewise.
2043 (log2_test_data): Likewise.
2044 (pow_test_data): Likewise.
2045 (scalb_test_data): Likewise.
2046 (sin_test_data): Likewise.
2047 (sincos_test_data): Likewise.
2048 (sinh_test_data): Likewise.
2049 (tan_test_data): Likewise.
2050 (tanh_test_data): Likewise.
2051 (tgamma_test_data): Likewise.
2052 (y0_test_data): Likewise.
2053 (y1_test_data): Likewise.
2054 (yn_test_data): Likewise.
2055
66294491
JM
2056 [BZ #16167]
2057 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
2058 argument being NaN and avoid computations with second argument in
2059 that case.
2060 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2061 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2062 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2063
1820b143
CL
20642013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
2065
2066 * locale/iso-639.def: Add Chitwani Tharu (the).
2067
714bd261
AS
20682013-11-14 Andreas Schwab <schwab@suse.de>
2069
2070 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
2071 word instead of empty string.
2072
7ab44563
AZ
20732013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2074
2075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2076 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
2077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2078 (__fe_nomask_env): Likewise.
2079
e8470ea2
SE
20802013-11-13 Steve Ellcey <sellcey@mips.com>
2081
2082 * benchtests/bench-timing.h: Include time.h.
2083
17c1d9f0
L
20842013-11-13 H.J. Lu <hongjiu.lu@intel.com>
2085
2086 [BZ #15997]
2087 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
2088 to 3.4.0 for x32.
2089 * sysdeps/unix/sysv/linux/configure: Regenerated.
2090
9310c284
JM
20912013-11-13 Joseph Myers <joseph@codesourcery.com>
2092
2093 [BZ #16151]
2094 * stdlib/strtod_l.c (round_and_return): Do not consider
2095 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
2096 exponent one less than half the least subnormal exponent.
2097 * stdlib/test-strtod-round-data: Add more tests.
2098 * stdlib/tst-strtod-round.c (tests): Regenerated.
2099
7a2ad8cf
AZ
21002013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2101
2102 [BZ #14143]
2103 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
2104 (__fe_mask_env): Likewise.
2105 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
2106 libm_hidden_proto and add function prototype.
2107 (__fe_mask_env): Add function prototype.
2108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2109 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
2110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2111 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
2112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2113 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
2114
50727aa7
MS
21152013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2116
b2f386c1 2117 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
2118 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
2119
a615be46
MS
21202013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2121
2122 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
2123 of htab_find_slot().
2124
7ddace62
DM
21252013-11-11 David S. Miller <davem@davemloft.net>
2126
2127 [BZ #16150]
2128 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
2129 symbol in the non-vis3 case in static builds.
2130 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
2131 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
2132 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
2133 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
2134
9182aa67
JK
21352013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2136
2137 [BZ #387]
2138 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
2139 it is empty.
2140
450a2e2d
AZ
21412013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2142
b2f386c1
SP
2143 * benchtests/Makefile: Add bench-strtod.
2144 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 2145
8ec3f656
AS
21462013-11-11 Andreas Schwab <schwab@suse.de>
2147
2148 [BZ #16153]
2149 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
2150 terminating NUL in key length.
2151
76a9b998
AZ
21522013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2153
2154 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2155 Add artificial ODP entry for vDSO symbol for PPC64.
2156 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
2157 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2158
e4368156
OB
21592013-11-07 Ondřej Bílka <neleai@seznam.cz>
2160
2161 [BZ #15374]
2162 * nss/getent.c (services_keys): Recognize services starting with digit.
2163
8d6bb57c
DM
21642013-11-06 David S. Miller <davem@davemloft.net>
2165
2166 [BZ #15985]
2167 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
2168 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
2169
e256c421
WN
21702013-11-06 Will Newton <will.newton@linaro.org>
2171
2172 * manual/memory.texi (Malloc Examples): Remove register
2173 keyword from examples.
2174
f6e12daa 21752013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 2176
f6e12daa 2177 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 2178
9d880655
AS
21792013-11-04 Joseph Myers <joseph@codesourcery.com>
2180
2181 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
2182 depending on [__GCC_IEC_559 > 0].
2183 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
2184 depending on [__GCC_IEC_559_COMPLEX > 0].
2185
ae129d3c
CL
21862013-11-03 Chris Leonard <cjl@sugarlabs.org>
2187
2188 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
2189 to iso-639.def.
2190
4a15c2a4 21912013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
2192
2193 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
2194
8b35e35d
OB
21952013-11-01 Ondřej Bílka <neleai@seznam.cz>
2196
2197 [BZ #16112]
2198 * malloc/malloc (malloc_info): Do not handle first bin as
2199 special case.
2200
1d70fd6c
CL
22012013-11-01 Chris Leonard <cjl@sugarlabs.org>
2202
2203 * locale/iso-639.def: Add Central Nahuatl (nhn).
2204
8c5c2600
BH
22052013-11-01 Bruno Haible <bruno@clisp.org>
2206
2207 [BZ #7003]
2208 * manual/math.texi (BSD Random): Specify range upper bound as
2209 in POSIX.
2210
da5579c2
CL
22112013-10-31 Chris Leonard <cjl@sugarlabs.org>
2212
2213 * locale/iso-639.def: Add Meadow Mari (mhr).
2214
5d30d853
OB
22152013-10-31 Ondřej Bílka <neleai@seznam.cz>
2216
2217 [BZ #14752], [BZ #15763]
2218 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
2219 Validate name.
2220 * rt/tst_shm.c: Add test for escaping directory.
2221
a4966c61
AS
22222013-10-31 Andreas Schwab <schwab@suse.de>
2223
8a43e768 2224 [BZ #15917]
a4966c61
AS
2225 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
2226 followed by 'x' as part of digit sequence.
2227 * stdio-common/tst-sscanf.c (double_tests2): New tests.
2228
28d708c4
MAP
22292013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2230
2231 [BZ #16037]
2232 * configure.ac: allow GNU Make 4.0 and greater.
2233 * configure: Regenerated.
2234
a56ee40b
WN
22352013-10-30 Will Newton <will.newton@linaro.org>
2236
2237 [BZ #16038]
2238 * malloc/hooks.c (memalign_check): Limit alignment to the
2239 maximum representable power of two.
2240 * malloc/malloc.c (__libc_memalign): Likewise.
2241 * malloc/tst-memalign.c (do_test): Add test for very
2242 large alignment values.
2243 * malloc/tst-posix_memalign.c (do_test): Likewise.
2244
c6e4925d
OB
22452013-10-30 Ondřej Bílka <neleai@seznam.cz>
2246
2247 [BZ #11087]
2248 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
2249 (munmap_chunk): Likewise.
2250 (mremap_chunk): Likewise.
2251
22522013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 2253
8a43e768 2254 [BZ #15799]
bbea82f7
OB
2255 * stdlib/div.c (div): Remove obsolete code.
2256 * stdlib/ldiv.c (ldiv): Likewise.
2257 * stdlib/lldiv.c (lldiv): Likewise.
2258
977f4b31
SP
22592013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2260
2261 [BZ #16071]
2262 * nss/nss_files/files-XXX.c (get_contents_ret): New
2263 enumerator.
2264 (get_contents): New function.
2265 (internal_getent): Use it. Expand size of LINEBUFLEN.
2266
cb8a6dbd
MF
22672013-10-30 Mike Frysinger <vapier@gentoo.org>
2268
2269 * configure.in: Moved to ...
2270 * configure.ac: ... here. Change reference to configure.in
2271 to configure.ac.
2272 * sysdeps/arm/preconfigure.ac: ... here.
2273 configure.in to configure.ac.
2274 * sysdeps/gnu/configure.in: Moved to ...
2275 * sysdeps/gnu/configure.ac: ... here.
2276 * sysdeps/i386/configure.in: Moved to ...
2277 * sysdeps/i386/configure.ac: ... here.
2278 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
2279 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
2280 * sysdeps/mach/configure.in: Moved to ...
2281 * sysdeps/mach/configure.ac: ... here.
2282 * sysdeps/mach/hurd/configure.in: Moved to ...
2283 * sysdeps/mach/hurd/configure.ac: ... here.
2284 * sysdeps/powerpc/configure.in: Moved to ...
2285 * sysdeps/powerpc/configure.ac: ... here.
2286 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
2287 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
2288 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
2289 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
2290 * sysdeps/s390/s390-32/configure.in: Moved to ...
2291 * sysdeps/s390/s390-32/configure.ac: ... here.
2292 * sysdeps/s390/s390-64/configure.in: Moved to ...
2293 * sysdeps/s390/s390-64/configure.ac: ... here.
2294 * sysdeps/sh/configure.in: Moved to ...
2295 * sysdeps/sh/configure.ac: ... here.
2296 * sysdeps/sparc/configure.in: Moved to ...
2297 * sysdeps/sparc/configure.ac: ... here.
2298 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
2299 * sysdeps/unix/sysv/linux/configure.ac: ... here.
2300 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
2301 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
2302 * sysdeps/x86_64/configure.in: Moved to ...
2303 * sysdeps/x86_64/configure.ac: ... here.
2304 * sysdeps/x86_64/preconfigure.in: Moved to ...
2305 * sysdeps/x86_64/preconfigure.ac: ... here.
2306 * aclocal.m4: Change reference to configure.in to configure.ac.
2307 * config.h.in: Likewise.
2308 * manual/install.texi: Likewise.
2309 * manual/maint.texi: Likewise.
2310 * Makefile: Likewise.
2311 * malloc/Makefile: Likewise.
2312 * nscd/Makefile: Likewise.
2313 * Makeconfig: Change reference to configure.in and
2314 preconfigure.in to configure.ac and preconfigure.ac
2315 respectively.
2316 * INSTALL: Regenerated.
2317 * configure: Likewise.
2318 * sysdeps/gnu/configure: Likewise.
2319 * sysdeps/i386/configure: Likewise.
2320 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
2321 * sysdeps/mach/configure: Likewise.
2322 * sysdeps/mach/hurd/configure: Likewise.
2323 * sysdeps/powerpc/configure: Likewise.
2324 * sysdeps/powerpc/powerpc32/configure: Likewise.
2325 * sysdeps/powerpc/powerpc64/configure: Likewise.
2326 * sysdeps/s390/s390-32/configure: Likewise.
2327 * sysdeps/s390/s390-64/configure: Likewise.
2328 * sysdeps/sh/configure: Likewise.
2329 * sysdeps/sparc/configure: Likewise.
2330 * sysdeps/unix/sysv/linux/configure: Likewise.
2331 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
2332 * sysdeps/x86_64/configure: Likewise.
2333 * sysdeps/x86_64/preconfigure: Likewise.
2334
36a4953a
AS
23352013-10-29 Andreas Schwab <schwab@suse.de>
2336
2337 * stdio-common/Makefile (tst-swscanf-ENV): Define.
2338
c79a1204
SP
23392013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2340
dfa1b402
SP
2341 * benchtests/pow-inputs: Add new inputs.
2342
54f73d9c
SP
2343 * benchtests/exp-inputs: Add new inputs.
2344
c79a1204
SP
2345 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
2346 conditional check for return value.
2347 (__cos32): Likewise.
2348
67beb545 23492013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
2350
2351 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
2352 to provide a boost for large inputs with word alignment.
2353 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
2354 implementation based on optimized PPC64 strcpy.
2355 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
2356 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
2357 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
2358 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
2359
151659f6
OB
23602013-10-25 Ondřej Bílka <neleai@seznam.cz>
2361
482a077e 2362 [BZ #2801]
151659f6
OB
2363 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
2364
10b0f26b
OB
23652013-10-25 Ondřej Bílka <neleai@seznam.cz>
2366
2367 [BZ #14876]
2368 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
2369 * time/tst-strptime.c (day_tests): Add testcase.
2370
ca42d35e
OB
23712013-10-25 Ondřej Bílka <neleai@seznam.cz>
2372
482a077e 2373 [BZ #14029]
ca42d35e
OB
2374 * manual/pattern.texi: Acknowledge that fnmatch can fail.
2375
52e6d801
FB
23762013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
2377
2378 [BZ #16074]
2379 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
2380 MAP_FAILED on error.
2381
7cbcdb36
SP
23822013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2383
2384 [BZ #16072]
2385 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
2386 heap for large requests.
2387
894f3f10
AM
23882013-10-25 Aurelien Jarno <aurelien@aurel32.net>
2389
2390 [BZ #9954]
2391 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
2392 result if the result has no associated interface.
2393 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
2394 interface for all 127.X.Y.Z addresses.
2395
b85545a6
CL
23962013-10-24 Chris Leonard <cjl@sugarlabs.org>
2397
2398 * locale/iso-639.def: Add Ligurian (lij)
2399
d1f23d46
OB
24002013-10-21 Ondřej Bílka <neleai@seznam.cz>
2401
2402 [BZ #15825]
2403 * sunrpc/rpc_main.c: Document rpcgen -5.
2404
4db5b08f
MS
24052013-10-19 Michael Stahl <mstahl@redhat.com>
2406
2407 * elf/rtld.c (do_preload): Print the reason why preloading failed.
2408
a471e96a
OB
24092013-10-19 Ondřej Bílka <neleai@seznam.cz>
2410
d1f23d46 2411 [BZ #10278]
a471e96a
OB
2412 * posix/glob.c: Match only directories when trailing slash is present.
2413 * posix/tst-gnuglob.c (my_opendir): Do not open files.
2414 (main): Add testcase.
2415
45c30c61
OB
24162013-10-19 Ondřej Bílka <neleai@seznam.cz>
2417
2418 [BZ #15670]
2419 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
2420
484c12fb
CD
24212013-10-18 Carlos O'Donell <carlos@redhat.com>
2422
3d7dc513
CD
2423 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
2424 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
2425 AUTH_DES and cindex for FIPS 140-2.
2426 (DES Encryption): Add cindex FIPS 46-3.
2427
484c12fb
CD
2428 * locale/locarchive.h (struct locarhandle): Add fname.
2429 * locale/programs/localedef.c (main): Pass ARGV[remaining]
2430 if an optional argument was specified to --list-archive,
2431 otherwise NULL.
2432 * locale/programs/locarchive.c (show_archive_content): Take new
2433 argument fname and pass it via ah.fname to open_archive.
2434 * locale/programs/localedef.h: Update decl.
2435 (open_archive): If AH->fname is non-null, open that file
2436 rather than the default file name, and don't ignore ENOENT.
2437 (create_archive): Set AH.fname to NULL.
2438 (delete_locales_from_archive): Likewise.
2439 (add_locales_to_archive): Likewise.
2440 * locale/programs/locfile.c (write_all_categories): Likewise.
2441
3c8325fb
JM
24422013-10-18 Joseph Myers <joseph@codesourcery.com>
2443 Aldy Hernandez <aldyh@redhat.com>
2444
2445 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
2446 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
2447 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
2448 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
2449 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
2450 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
2451 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
2452 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
2453 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
2454 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
2455 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
2456 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
2457 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
2458 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
2459 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
2460 Likewise.
2461 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
2462 Likewise.
2463 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
2464 Likewise.
2465 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
2466 Likewise.
2467 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
2468 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
2469 Likewise.
2470 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
2471 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
2472 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
2473 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
2474 Likewise.
2475 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
2476 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
2477 * sysdeps/powerpc/preconfigure: Likewise.
2478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
2479 Likewise.
2480 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
2481 Replace contents of file by #include of <fenv_libc.h>.
2482 * sysdeps/powerpc/soft-fp/sfp-machine.h
2483 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
2484 and <sys/prctl.h>.
2485 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
2486 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
2487 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
2488 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
2489 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
2490 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
2491 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
2492 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
2493 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
2494 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
2495 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
2496 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
2497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2498 Allow copysignl PLT reference to be missing.
2499
5abe0682
RS
25002013-10-18 Richard Sandiford <richard@codesourcery.com>
2501 Joseph Myers <joseph@codesourcery.com
2502
2503 [BZ #15948]
2504 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
2505 single character.
2506 (add_to_tablewc): Assert sequence of wide characters is nonempty.
2507
c7738d08
SP
25082013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2509
2510 * elf/tst-tls-dlinfo.c: Don't include tls.h.
2511 * elf/tst-tls1.c: Likewise.
2512 * elf/tst-tls10.h: Likewise.
2513 * elf/tst-tls14.c: Likewise.
2514 * elf/tst-tls2.c: Likewise.
2515 * elf/tst-tls3.c: Likewise.
2516 * elf/tst-tls4.c: Likewise.
2517 * elf/tst-tls5.c: Likewise.
2518 * elf/tst-tls6.c: Likewise.
2519 * elf/tst-tls7.c: Likewise.
2520 * elf/tst-tls8.c: Likewise.
2521 * elf/tst-tls9.c: Likewise.
2522 * elf/tst-tlsmod1.c: Likewise.
2523 * elf/tst-tlsmod13.c: Likewise.
2524 * elf/tst-tlsmod13a.c: Likewise.
2525 * elf/tst-tlsmod14a.c: Likewise.
2526 * elf/tst-tlsmod16a.c: Likewise.
2527 * elf/tst-tlsmod16b.c: Likewise.
2528 * elf/tst-tlsmod2.c: Likewise.
2529 * elf/tst-tlsmod3.c: Likewise.
2530 * elf/tst-tlsmod4.c: Likewise.
2531 * elf/tst-tlsmod5.c: Likewise.
2532 * elf/tst-tlsmod6.c: Likewise.
2533
0bfcf2c7
OB
25342013-10-18 Ondřej Bílka <neleai@seznam.cz>
2535
2536 [BZ #12486]
2537 * malloc/malloc.c: remove checks for statistics.
2538
264aad1e
OB
25392013-10-17 Ondřej Bílka <neleai@seznam.cz>
2540
2541 [BZ #15277]
2542 * inet/inet_net.c (inet_network): Detect additional invalid strings.
2543 * inet/tst-network.c: Add testcase.
2544
b957ced8
AS
25452013-10-17 Andreas Schwab <schwab@suse.de>
2546
2547 [BZ #15218]
2548 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
2549 to determine canonical name.
2550
c5d5d574
OB
25512013-10-17 Ondřej Bílka <neleai@seznam.cz>
2552
2553 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
2554 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
2555 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2556 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2557 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2558 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2559 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2560 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2561 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
2562 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2563 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2564 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2565 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2566 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2567 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2568 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2569 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2570 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2571 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2572 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2573 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2574 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2575 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2576 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
2577 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
2578 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2579 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2580 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
2581 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2582 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
2583 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2584 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2585 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2586 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2587 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2588 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2589 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2590 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2591 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2592 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2593 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2594 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2595 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2596 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2597 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2598 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2599 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2600 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2601 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2602 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2603 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2604 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2605 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2606 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2607 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2608 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2609 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2610 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2611
e5c2c2d0
JM
26122013-10-17 Joseph Myers <joseph@codesourcery.com>
2613
2614 [BZ #16041]
2615 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
2616 make result into a quiet NaN.
2617
51ca9e29
JM
26182013-10-16 Joseph Myers <joseph@codesourcery.com>
2619
2620 * soft-fp/adddf3.c: Fix horizontal whitespace.
2621 * soft-fp/addsf3.c: Likewise.
2622 * soft-fp/addtf3.c: Likewise.
2623 * soft-fp/divdf3.c: Likewise.
2624 * soft-fp/divsf3.c: Likewise.
2625 * soft-fp/divtf3.c: Likewise.
2626 * soft-fp/double.h: Likewise.
2627 * soft-fp/eqdf2.c: Likewise.
2628 * soft-fp/eqsf2.c: Likewise.
2629 * soft-fp/eqtf2.c: Likewise.
2630 * soft-fp/extenddftf2.c: Likewise.
2631 * soft-fp/extended.h: Likewise.
2632 * soft-fp/extendsfdf2.c: Likewise.
2633 * soft-fp/extendsftf2.c: Likewise.
2634 * soft-fp/extendxftf2.c: Likewise.
2635 * soft-fp/fixdfdi.c: Likewise.
2636 * soft-fp/fixdfsi.c: Likewise.
2637 * soft-fp/fixdfti.c: Likewise.
2638 * soft-fp/fixsfdi.c: Likewise.
2639 * soft-fp/fixsfsi.c: Likewise.
2640 * soft-fp/fixsfti.c: Likewise.
2641 * soft-fp/fixtfdi.c: Likewise.
2642 * soft-fp/fixtfsi.c: Likewise.
2643 * soft-fp/fixtfti.c: Likewise.
2644 * soft-fp/fixunsdfdi.c: Likewise.
2645 * soft-fp/fixunsdfsi.c: Likewise.
2646 * soft-fp/fixunsdfti.c: Likewise.
2647 * soft-fp/fixunssfdi.c: Likewise.
2648 * soft-fp/fixunssfsi.c: Likewise.
2649 * soft-fp/fixunssfti.c: Likewise.
2650 * soft-fp/fixunstfdi.c: Likewise.
2651 * soft-fp/fixunstfsi.c: Likewise.
2652 * soft-fp/fixunstfti.c: Likewise.
2653 * soft-fp/floatdidf.c: Likewise.
2654 * soft-fp/floatdisf.c: Likewise.
2655 * soft-fp/floatditf.c: Likewise.
2656 * soft-fp/floatsidf.c: Likewise.
2657 * soft-fp/floatsisf.c: Likewise.
2658 * soft-fp/floatsitf.c: Likewise.
2659 * soft-fp/floattidf.c: Likewise.
2660 * soft-fp/floattisf.c: Likewise.
2661 * soft-fp/floattitf.c: Likewise.
2662 * soft-fp/floatundidf.c: Likewise.
2663 * soft-fp/floatundisf.c: Likewise.
2664 * soft-fp/floatunditf.c: Likewise.
2665 * soft-fp/floatunsidf.c: Likewise.
2666 * soft-fp/floatunsisf.c: Likewise.
2667 * soft-fp/floatunsitf.c: Likewise.
2668 * soft-fp/floatuntidf.c: Likewise.
2669 * soft-fp/floatuntisf.c: Likewise.
2670 * soft-fp/floatuntitf.c: Likewise.
2671 * soft-fp/fmadf4.c: Likewise.
2672 * soft-fp/fmasf4.c: Likewise.
2673 * soft-fp/fmatf4.c: Likewise.
2674 * soft-fp/gedf2.c: Likewise.
2675 * soft-fp/gesf2.c: Likewise.
2676 * soft-fp/getf2.c: Likewise.
2677 * soft-fp/ledf2.c: Likewise.
2678 * soft-fp/lesf2.c: Likewise.
2679 * soft-fp/letf2.c: Likewise.
2680 * soft-fp/muldf3.c: Likewise.
2681 * soft-fp/mulsf3.c: Likewise.
2682 * soft-fp/multf3.c: Likewise.
2683 * soft-fp/negdf2.c: Likewise.
2684 * soft-fp/negsf2.c: Likewise.
2685 * soft-fp/negtf2.c: Likewise.
2686 * soft-fp/op-1.h: Likewise.
2687 * soft-fp/op-2.h: Likewise.
2688 * soft-fp/op-4.h: Likewise.
2689 * soft-fp/op-8.h: Likewise.
2690 * soft-fp/op-common.h: Likewise.
2691 * soft-fp/quad.h: Likewise.
2692 * soft-fp/single.h: Likewise.
2693 * soft-fp/soft-fp.h: Likewise.
2694 * soft-fp/sqrtdf2.c: Likewise.
2695 * soft-fp/sqrtsf2.c: Likewise.
2696 * soft-fp/sqrttf2.c: Likewise.
2697 * soft-fp/subdf3.c: Likewise.
2698 * soft-fp/subsf3.c: Likewise.
2699 * soft-fp/subtf3.c: Likewise.
2700 * soft-fp/truncdfsf2.c: Likewise.
2701 * soft-fp/trunctfdf2.c: Likewise.
2702 * soft-fp/trunctfsf2.c: Likewise.
2703 * soft-fp/trunctfxf2.c: Likewise.
2704 * soft-fp/unorddf2.c: Likewise.
2705 * soft-fp/unordsf2.c: Likewise.
2706 * soft-fp/unordtf2.c: Likewise.
2707
9ebb0332
JM
27082013-10-15 Joseph Myers <joseph@codesourcery.com>
2709
2710 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
2711 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
2712
4b1a6d8b
OB
27132013-10-15 Ondřej Bílka <neleai@seznam.cz>
2714
2715 * elf/dl-libc.c: Clear initfini list after freeing.
2716
1e145589
JM
27172013-10-14 Joseph Myers <joseph@codesourcery.com>
2718
2719 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
2720 * soft-fp/addsf3.c: Likewise.
2721 * soft-fp/addtf3.c: Likewise.
2722 * soft-fp/divdf3.c: Likewise.
2723 * soft-fp/divsf3.c: Likewise.
2724 * soft-fp/divtf3.c: Likewise.
2725 * soft-fp/double.h: Likewise.
2726 * soft-fp/eqdf2.c: Likewise.
2727 * soft-fp/eqsf2.c: Likewise.
2728 * soft-fp/eqtf2.c: Likewise.
2729 * soft-fp/extenddftf2.c: Likewise.
2730 * soft-fp/extended.h: Likewise.
2731 * soft-fp/extendsfdf2.c: Likewise.
2732 * soft-fp/extendsftf2.c: Likewise.
2733 * soft-fp/extendxftf2.c: Likewise.
2734 * soft-fp/fixdfdi.c: Likewise.
2735 * soft-fp/fixdfsi.c: Likewise.
2736 * soft-fp/fixdfti.c: Likewise.
2737 * soft-fp/fixsfdi.c: Likewise.
2738 * soft-fp/fixsfsi.c: Likewise.
2739 * soft-fp/fixsfti.c: Likewise.
2740 * soft-fp/fixtfdi.c: Likewise.
2741 * soft-fp/fixtfsi.c: Likewise.
2742 * soft-fp/fixtfti.c: Likewise.
2743 * soft-fp/fixunsdfdi.c: Likewise.
2744 * soft-fp/fixunsdfsi.c: Likewise.
2745 * soft-fp/fixunsdfti.c: Likewise.
2746 * soft-fp/fixunssfdi.c: Likewise.
2747 * soft-fp/fixunssfsi.c: Likewise.
2748 * soft-fp/fixunssfti.c: Likewise.
2749 * soft-fp/fixunstfdi.c: Likewise.
2750 * soft-fp/fixunstfsi.c: Likewise.
2751 * soft-fp/fixunstfti.c: Likewise.
2752 * soft-fp/floatdidf.c: Likewise.
2753 * soft-fp/floatdisf.c: Likewise.
2754 * soft-fp/floatditf.c: Likewise.
2755 * soft-fp/floatsidf.c: Likewise.
2756 * soft-fp/floatsisf.c: Likewise.
2757 * soft-fp/floatsitf.c: Likewise.
2758 * soft-fp/floattidf.c: Likewise.
2759 * soft-fp/floattisf.c: Likewise.
2760 * soft-fp/floattitf.c: Likewise.
2761 * soft-fp/floatundidf.c: Likewise.
2762 * soft-fp/floatundisf.c: Likewise.
2763 * soft-fp/floatunsidf.c: Likewise.
2764 * soft-fp/floatunsisf.c: Likewise.
2765 * soft-fp/floatuntidf.c: Likewise.
2766 * soft-fp/floatuntisf.c: Likewise.
2767 * soft-fp/floatuntitf.c: Likewise.
2768 * soft-fp/fmadf4.c: Likewise.
2769 * soft-fp/fmasf4.c: Likewise.
2770 * soft-fp/fmatf4.c: Likewise.
2771 * soft-fp/gedf2.c: Likewise.
2772 * soft-fp/gesf2.c: Likewise.
2773 * soft-fp/getf2.c: Likewise.
2774 * soft-fp/ledf2.c: Likewise.
2775 * soft-fp/lesf2.c: Likewise.
2776 * soft-fp/letf2.c: Likewise.
2777 * soft-fp/muldf3.c: Likewise.
2778 * soft-fp/mulsf3.c: Likewise.
2779 * soft-fp/multf3.c: Likewise.
2780 * soft-fp/negdf2.c: Likewise.
2781 * soft-fp/negsf2.c: Likewise.
2782 * soft-fp/negtf2.c: Likewise.
2783 * soft-fp/op-1.h: Likewise.
2784 * soft-fp/op-2.h: Likewise.
2785 * soft-fp/op-4.h: Likewise.
2786 * soft-fp/op-8.h: Likewise.
2787 * soft-fp/op-common.h: Likewise.
2788 * soft-fp/quad.h: Likewise.
2789 * soft-fp/single.h: Likewise.
2790 * soft-fp/soft-fp.h: Likewise.
2791 * soft-fp/sqrtdf2.c: Likewise.
2792 * soft-fp/sqrtsf2.c: Likewise.
2793 * soft-fp/sqrttf2.c: Likewise.
2794 * soft-fp/subdf3.c: Likewise.
2795 * soft-fp/subsf3.c: Likewise.
2796 * soft-fp/subtf3.c: Likewise.
2797 * soft-fp/truncdfsf2.c: Likewise.
2798 * soft-fp/trunctfdf2.c: Likewise.
2799 * soft-fp/trunctfsf2.c: Likewise.
2800 * soft-fp/trunctfxf2.c: Likewise.
2801 * soft-fp/unorddf2.c: Likewise.
2802 * soft-fp/unordsf2.c: Likewise.
2803 * soft-fp/unordtf2.c: Likewise.
2804
17c48a60
OB
28052013-10-14 Ondřej Bílka <neleai@seznam.cz>
2806
2807 [BZ #15672]
2808 * misc/error.c (error_tail): Fix possible buffer overflow.
2809
cabba934
OB
28102013-10-14 Aurelien Jarno <aurelien@aurel32.net>
2811
2812 [BZ #13028]
2813 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
2814 address.
2815
94bf958a
PM
28162013-10-14 P. J. McDermott <pj@pehjota.net>
2817
2818 [BZ #832]
2819 * elf/ldd.bash.in (try_trace): New function. Delete previous code
2820 testing pipefail option.
2821
71b4dea7
JM
28222013-10-12 Joseph Myers <joseph@codesourcery.com>
2823
2824 * soft-fp/double.h: Indent preprocessor directives inside #if.
2825 * soft-fp/extended.h: Likewise.
2826 * soft-fp/op-2.h: Likewise.
2827 * soft-fp/op-4.h: Likewise.
2828 * soft-fp/op-common.h: Likewise.
2829 * soft-fp/quad.h: Likewise.
2830 * soft-fp/single.h: Likewise.
2831 * soft-fp/soft-fp.h: Likewise.
2832
55602758
YC
28332013-10-12 Yuri Chornoivan <yurchor@ukr.net>
2834
2835 * iconv/iconv_prog.c: Fix typos.
2836 * stdio-common/psiginfo-data.h: Likewise.
2837
9cd83302
RT
28382013-10-12 Reuben Thomas <rrt@sc3d.org>
2839
2840 [BZ #15764]
2841 * locale/setlocale.c: Fix typo.
2842
99fd9f47
JM
28432013-10-12 Joseph Myers <joseph@codesourcery.com>
2844
b7ea74f0
JM
2845 [BZ #16036]
2846 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
2847 signaling NaN arguments.
2848 * soft-fp/unordsf2.c (__unordsf2): Likewise.
2849 * soft-fp/unordtf2.c (__unordtf2): Likewise.
2850
8a509447
JM
2851 [BZ #14910]
2852 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
2853 unordered operands.
2854 * soft-fp/gesf2.c (__gesf2): Likewise.
2855 * soft-fp/getf2.c (__getf2): Likewise.
2856 * soft-fp/ledf2.c (__ledf2): Likewise.
2857 * soft-fp/lesf2.c (__lesf2): Likewise.
2858 * soft-fp/letf2.c (__letf2): Likewise.
2859
98998e9f
JM
2860 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
2861 * soft-fp/eqsf2.c (__eqsf2): Likewise.
2862 * soft-fp/eqtf2.c (__eqtf2): Likewise.
2863 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
2864 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
2865 * soft-fp/fixdfti.c (__fixdfti): Likewise.
2866 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
2867 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
2868 * soft-fp/fixsfti.c (__fixsfti): Likewise.
2869 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
2870 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
2871 * soft-fp/fixtfti.c (__fixtfti): Likewise.
2872 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
2873 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
2874 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
2875 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
2876 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
2877 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
2878 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
2879 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
2880 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
2881 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
2882 * soft-fp/floatdisf.c (__floatdisf): Likewise.
2883 * soft-fp/floatsisf.c (__floatsisf): Likewise.
2884 * soft-fp/floattidf.c (__floattidf): Likewise.
2885 * soft-fp/floattisf.c (__floattisf): Likewise.
2886 * soft-fp/floattitf.c (__floattitf): Likewise.
2887 * soft-fp/floatundidf.c (__floatundidf): Likewise.
2888 * soft-fp/floatundisf.c (__floatundisf): Likewise.
2889 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
2890 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
2891 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
2892 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
2893 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
2894 * soft-fp/gesf2.c (__gesf2): Likewise.
2895 * soft-fp/getf2.c (__getf2): Likewise.
2896 * soft-fp/ledf2.c (__ledf2): Likewise.
2897 * soft-fp/lesf2.c (__lesf2): Likewise.
2898 * soft-fp/letf2.c (__letf2): Likewise.
2899
8edc4a11
JM
2900 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
2901 Undefine and redefine.
2902 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
2903 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
2904 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
2905 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
2906 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2907 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
2908 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2909 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
2910 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2911 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
2912 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2913 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
2914 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2915 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
2916 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2917
8399acaf
JM
2918 [BZ #16032]
2919 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
2920 without decrementing exponent if mantissa >= that for the
2921 denominator, not >.
2922 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
2923 denominator, not >. Decrement exponent in < case instead of
2924 incrementing in >= case.
2925 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
2926 without decrementing exponent if mantissa >= that for the
2927 denominator, not >.
2928
99fd9f47
JM
2929 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
2930 computing saturated result for unsigned overflow.
2931
10e1cf6b
SP
29322013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2933 Jeff Law <law@redhat.com>
2934
2935 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
2936 (atan2Mp): Add systemtap probe marker.
2937 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
2938 (__ieee754_log): Add systemtap probe marker.
2939 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
2940 (atanMp): Add systemtap probe marker.
2941 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
2942 (tanMp): Add systemtap probe marker.
2943 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
2944 (__slowexp): Add systemtap probe marker.
2945 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
2946 (__slowpow): Add systemtap probe marker.
2947 * manual/probes.texi: Document probes.
2948
3d110c7c
EB
29492013-10-11 Eric Biggers <ebiggers3@gmail.com>
2950
2951 [BZ #15362]
2952 * libio/fileops.c (_IO_new_file_write): Return count of bytes
2953 written.
2954 (_IO_new_file_xsputn): Don't return EOF if nothing has been
2955 written.
2956 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
2957 written to buffer but not flushed.
2958 * libio/iofwrite_u.c: Likewise.
2959 * libio/iopadn.c: Return bytes returned even if EOF was
2960 encountered.
2961 * libio/iowpadn.c: Likewise.
2962 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
2963 if _IO_padn does not write the whole buffer.
2964 [!COMPILE_WPRINTF] (PAD): Likewise.
2965
75b4202a
DM
29662013-10-10 David S. Miller <davem@davemloft.net>
2967
2968 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
2969 directory block.
2970
6c6352e6
JM
29712013-10-10 Joseph Myers <joseph@codesourcery.com>
2972
33b853c3
JM
2973 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
2974 instead of FSF address.
2975 * soft-fp/fixdfti.c: Likewise.
2976 * soft-fp/fixsfti.c: Likewise.
2977 * soft-fp/fixtfti.c: Likewise.
2978 * soft-fp/fixunsdfti.c: Likewise.
2979 * soft-fp/fixunssfti.c: Likewise.
2980 * soft-fp/fixunstfti.c: Likewise.
2981 * soft-fp/floattidf.c: Likewise.
2982 * soft-fp/floattisf.c: Likewise.
2983 * soft-fp/floattitf.c: Likewise.
2984 * soft-fp/floatuntidf.c: Likewise.
2985 * soft-fp/floatuntisf.c: Likewise.
2986 * soft-fp/floatuntitf.c: Likewise.
2987 * soft-fp/trunctfxf2.c: Likewise.
2988
6c6352e6
JM
2989 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
2990 * soft-fp/fixdfti.c: Likewise.
2991 * soft-fp/fixsfti.c: Likewise.
2992 * soft-fp/fixtfti.c: Likewise.
2993 * soft-fp/fixunsdfti.c: Likewise.
2994 * soft-fp/fixunssfti.c: Likewise.
2995 * soft-fp/fixunstfti.c: Likewise.
2996 * soft-fp/floattidf.c: Likewise.
2997 * soft-fp/floattisf.c: Likewise.
2998 * soft-fp/floattitf.c: Likewise.
2999 * soft-fp/floatuntidf.c: Likewise.
3000 * soft-fp/floatuntisf.c: Likewise.
3001 * soft-fp/floatuntitf.c: Likewise.
3002 * soft-fp/trunctfxf2.c: Likewise.
3003
3bf78b71
DM
30042013-10-10 David S. Miller <davem@davemloft.net>
3005
3006 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3007
6f10289e
JM
30082013-10-10 Joseph Myers <joseph@codsourcery.com>
3009
bd878fc0
JM
3010 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3011 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
3012 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
3013 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
3014 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
3015 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
3016 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
3017
6f10289e
JM
3018 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
3019 for NaNs before doing comparisons on argument.
3020 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3021 Likewise.
3022
321e2684
WN
30232013-10-10 Will Newton <will.newton@linaro.org>
3024
3025 * malloc/hooks.c (memalign_check): Ensure the value of bytes
3026 passed to _int_memalign does not overflow.
3027
40fefba1
TR
30282013-10-10 Torvald Riegel <triegel@redhat.com>
3029
3030 * scripts/bench.pl: Add include-sources directive.
3031 * benchtests/README: Update documentation.
3032
2ae21ed2
JM
30332013-10-10 Joseph Myers <joseph@codesourcery.com>
3034
dcc2dd3f
JM
3035 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
3036 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
3037 instead of FP_INIT_ROUNDMODE.
3038 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
3039 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
3040
2ae21ed2
JM
3041 [BZ #16034]
3042 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
3043 copy class of input value.
3044 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
3045 not handle exceptions.
3046 * soft-fp/negsf2.c (__negsf2): Likewise.
3047 * soft-fp/negtf2.c (__negtf2): Likewise.
3048 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
3049
cb8f9562
JM
30502013-10-09 Joseph Myers <joseph@codesourcery.com>
3051
3052 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
3053 semicolon. From Linux kernel.
3054
5b60c59d
AB
30552013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
3056
3057 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
3058
b86835ca
YC
30592013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
3060
3061 [BZ #156]
3062 * manual/socket.texi: Added statement about buffer
3063 for gethostbyname2_r.
3064
e7044ea7
OB
30652013-10-08 Ondřej Bílka <neleai@seznam.cz>
3066
3067 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
3068 Use .p2align directive instead, throughout.
3069 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3070 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3071 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
3072 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3073 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3074 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
3075 * sysdeps/x86_64/strchr.S: Likewise.
3076 * sysdeps/x86_64/strrchr.S: Likewise.
3077
09544cbc
SP
30782013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3079
88576635
SP
3080 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
3081
e7b2d1dd
SP
3082 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
3083
09544cbc
SP
3084 * sysdeps/generic/math_private.h (__mpsin1): Remove
3085 declaration.
3086 (__mpcos1): Likewise.
3087 (__mpsin): New argument __range_reduce.
3088 (__mpcos): Likewise.
3089 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3090 (slow): Use __mpsin and __mpcos.
3091 (slow1): Likewise.
3092 (slow2): Likewise.
3093 (sloww): Likewise.
3094 (sloww1): Likewise.
3095 (sloww2): Likewise.
3096 (bsloww): Likewise.
3097 (bsloww1): Likewise.
3098 (bsloww2): Likewise.
3099 (cslow2): Likewise.
3100 (csloww): Likewise.
3101 (csloww1): Likewise.
3102 (csloww2): Likewise.
3103 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
3104 range_reduce. Merge in __mpsin1.
3105 (__mpcos): Likewise.
3106 (__mpsin1): Remove.
3107 (__mpcos1): Likewise.
3108
7602d070
JM
31092013-10-07 Joseph Myers <joseph@codesourcery.com>
3110
3111 * locale/loadlocale.c (_nl_intern_locale_data): Use
3112 LOCFILE_ALIGNED_P.
3113 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
3114 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
3115 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
3116 obstack data is appropriately aligned.
3117 (obstack_int32_grow_fast): Likewise.
3118 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
3119 * locale/programs/locfile.c (add_locale_uint32): Likewise.
3120 (add_locale_uint32_array): Likewise.
3121
a357259b
SP
31222013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3123
3124 * benchtests/Makefile: Remove ARGLIST and RET variables.
3125 ($(objpfx)bench-%.c): Pass only function name to the script.
3126 * benchtests/README: Update documentation.
3127 * benchtests/acos-inputs: Add new directives.
3128 * benchtests/acosh-inputs: Likewise.
3129 * benchtests/asin-inputs: Likewise.
3130 * benchtests/asinh-inputs: Likewise.
3131 * benchtests/atan-inputs: Likewise.
3132 * benchtests/atanh-inputs: Likewise.
3133 * benchtests/cos-inputs: Likewise.
3134 * benchtests/cosh-inputs: Likewise.
3135 * benchtests/exp-inputs: Likewise.
3136 * benchtests/log-inputs: Likewise.
3137 * benchtests/pow-inputs: Likewise.
3138 * benchtests/rint-inputs: Likewise.
3139 * benchtests/sin-inputs: Likewise.
3140 * benchtests/sinh-inputs: Likewise.
3141 * benchtests/tan-inputs: Likewise.
3142 * benchtests/tanh-inputs: Likewise.
3143 * scripts/bench.pl: Add support for new directives.
3144
9ec1b13d
AM
31452013-10-07 Alan Modra <amodra@gmail.com>
3146
3147 * README: Fix careless merge.
3148
8b7d57cd
AM
31492013-10-05 Alan Modra <amodra@gmail.com>
3150
3151 * NEWS: Mention powerpc64le support and bugs fixed.
3152 * README: Both big-endian and little-endian powerpc64 supported.
3153
7b7bab13
ST
31542013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3155
3156 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
3157 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
3158 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
3159 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
3160
d39baad1
RA
31612013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
3162
3163 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
3164 match prototype.
3165
cd78f7e7
JM
31662013-10-04 Joseph Myers <joseph@codesourcery.com>
3167
29d73d86
JM
3168 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
3169 Move -mhard-float appending from
3170 ports/sysdeps/powerpc/powerpc32/Makefile.
3171 [$(with-fp) = yes] (ASFLAGS): Likewise.
3172 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
3173 * sysdeps/powerpc/nofpu: Move directory from
3174 ports/sysdeps/powerpc/nofpu.
3175 * sysdeps/powerpc/soft-fp: Move directory from
3176 ports/sysdeps/powerpc/soft-fp.
3177 * sysdeps/powerpc/powerpc32/405: Move directory from
3178 ports/sysdeps/powerpc/powerpc32/405.
3179 * sysdeps/powerpc/powerpc32/440: Move directory from
3180 ports/sysdeps/powerpc/powerpc32/440.
3181 * sysdeps/powerpc/powerpc32/464: Move directory from
3182 ports/sysdeps/powerpc/powerpc32/464.
3183 * sysdeps/powerpc/powerpc32/476: Move directory from
3184 ports/sysdeps/powerpc/powerpc32/476.
3185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
3186 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
3187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
3188 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
3189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
3190 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
3191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
3192 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
3193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
3194 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
3195 * README: Update for powerpc-*-linux-gnu software floating point
3196 support in libc.
3197
e246b347
JM
3198 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
3199 case to powerpc/powerpc32*.
3200 * sysdeps/unix/sysv/linux/configure: Regenerated.
3201
89c2003e
JM
3202 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
3203 (_FPU_MASK_OM): Define as 0x04.
3204 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
3205 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
3206 0x00c10080.
3207 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
3208 0x0000003c.
3209 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
3210
cd78f7e7
JM
3211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3212 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3213 getcontext_e500.
3214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3215 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3216 setcontext_e500.
3217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
3218 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
3219 and setcontext_e500.
3220
c755294d
CL
32212013-10-04 Chris Leonard <cjl@sugarlabs,.org>
3222
3223 * locale/iso-3166.def: Update iso-1366.def and related occurrences
3224
e16d221c
SP
32252013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3226
3227 * manual/threads.texi (Default Thread Attributes): Fix typo.
3228
215c7d43
WN
32292013-10-04 Will Newton <will.newton@linaro.org>
3230
3231 * malloc/Makefile: Add tst-memalign.
3232 * malloc/tst-memalign.c: New file.
3233
27d0461b
WN
3234 * malloc/tst-posix_memalign.c: Add comments.
3235 (do_test): Add comments and call free on all potentially
3236 allocated pointers. Add space after cast.
3237
1bc92709
WN
3238 * malloc/tst-pvalloc.c: Add comments.
3239 (do_test): Add comments and call free on all potentially
3240 allocated pointers. Remove duplicate check for NULL pointer.
3241 Add space after cast.
3242
66a9be9d
WN
3243 * malloc/tst-valloc.c: Add comments.
3244 (do_test): Add comments and call free on all potentially
3245 allocated pointers. Remove duplicate check for NULL pointer.
3246 Add space after cast.
3247
4cb81307
AM
32482013-10-04 Alan Modra <amodra@gmail.com>
3249
3250 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3251 Use stdint types in rather than __attribute__((mode())).
3252 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3253
f8e3e9f3
AM
32542013-10-04 Alan Modra <amodra@gmail.com>
3255
3256 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3257 Correct handling of unaligned relocs for little-endian.
3258 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3259
8f9ebb08
AM
32602013-10-04 Alan Modra <amodra@gmail.com>
3261
3262 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
3263 * configure: Regenerate.
3264 * nptl/shlib-versions: Powerpc*le starts at 2.18.
3265 * shlib-versions: Likewise.
3266
0edf96c2
AM
32672013-10-04 Alan Modra <amodra@gmail.com>
3268
3269 * string/tester.c (test_memrchr): Increment reported test cycle.
3270
e0f7a380
AM
32712013-10-04 Alan Modra <amodra@gmail.com>
3272
3273 * string/test-memcpy.c (do_one_test): When reporting errors, print
3274 string address and don't overrun end of string.
3275
466b0393
AM
32762013-10-04 Alan Modra <amodra@gmail.com>
3277
3278 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
3279 insrdi. Make better use of reg selection to speed exit slightly.
3280 Schedule entry path a little better. Remove useless "are we done"
3281 checks on entry to main loop. Handle wrapping around zero address.
3282 Correct main loop count. Handle single left-over word from main
3283 loop inline rather than by using loop_small. Remove extra word
3284 case in loop_small caused by wrong loop count. Add little-endian
3285 support.
3286 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3287 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
3288 cache hint.
3289 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3290 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
3291 support. Avoid rlwimi.
3292 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
3293
3be87c77
AM
32942013-10-04 Alan Modra <amodra@gmail.com>
3295
3296 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 3297 insrdi. Formatting.
3be87c77
AM
3298 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
3299 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3300 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3301 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3302 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3303 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
3304
759cfef3
AM
33052013-10-04 Alan Modra <amodra@gmail.com>
3306
3307 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
3308 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3309 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3310 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
3311 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3312 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3313 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3314 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
3315 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
3316 use of regs. Use power7 mtocrf. Tidy function tails.
3317
fe6e95d7
AM
33182013-10-04 Alan Modra <amodra@gmail.com>
3319
3320 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
3321 Formatting. Consistently use rXXX register defines or rN defines.
3322 Use early exit labels that avoid restoring unused non-volatile regs.
3323 Make cr field use more consistent with rWORDn compares. Rename
3324 regs used as shift registers for unaligned loop, using rN defines
3325 for short lifetime/multiple use regs.
3326 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3327 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
3328 addi 1,1,64 to pop stack frame. Simplify return value code.
3329 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3330
664318c3
AM
33312013-10-04 Alan Modra <amodra@gmail.com>
3332
3333 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
3334 support. Correct typos, formatting. Optimize tail. Use insrdi
3335 rather than rlwimi.
3336 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
3337 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
3338 little-endian support. Correct typos.
3339 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
3340 rather than rlwimi.
3341 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
3342 in loop and entry code to keep "and." results.
3343 (strchr): Add little-endian support. Comment. Move cntlzd
3344 earlier in tail.
3345 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
3346
43b84013
AM
33472013-10-04 Alan Modra <amodra@gmail.com>
3348
3349 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
3350 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
3351 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
3352 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
3353
8a7413f9
AM
33542013-10-04 Alan Modra <amodra@gmail.com>
3355
3356 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
3357 (rTMP): Define as r11.
3358 (strcmp): Add little-endian support. Optimise tail.
3359 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
3360 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3361 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3362 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3363 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3364 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3365 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3366
33ee81de
AM
33672013-10-04 Alan Modra <amodra@gmail.com>
3368
3369 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
3370 little-endian support. Remove unnecessary "are we done" tests.
3371 Handle "s" wrapping around zero and extremely large "size".
3372 Correct main loop count. Handle single left-over word from main
3373 loop inline rather than by using small_loop. Correct comments.
3374 Delete "zero" tail, use "end_max" instead.
3375 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
3376
db9b4570
AM
33772013-10-04 Alan Modra <amodra@gmail.com>
3378
3379 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
3380 support. Don't branch over align.
3381 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
3382 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
3383 support. Rearrange tmp reg use to suit. Comment.
3384 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
3385
f7c399cf
AM
33862013-10-04 Alan Modra <amodra@gmail.com>
3387
3388 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
3389
0b2c2ace
AM
33902013-10-04 Alan Modra <amodra@gmail.com>
3391
3392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
3393 conditional form of branch and link when obtaining pc.
3394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3395
02f04a6c
AM
33962013-10-04 Alan Modra <amodra@gmail.com>
3397
3398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
3399 HIWORD/LOWORD.
3400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
3401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
3402
9b874b2f
AM
34032013-10-04 Alan Modra <amodra@gmail.com>
3404
3405 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
3406 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
3407 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3408 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
3409 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3410 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3411 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
3412 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3413 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3414 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
3415
be1e5d31
AB
34162013-10-04 Anton Blanchard <anton@au1.ibm.com>
3417 Alistair Popple <alistair@ozlabs.au.ibm.com>
3418 Alan Modra <amodra@gmail.com>
3419
3420 [BZ #15723]
3421 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
3422 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
3423 _dl_hwcap access for little-endian.
3424 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
3425 destroy vmx regs when saving unaligned.
3426 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
3427 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
3428 destroy vmx regs when saving unaligned.
3429
fef13a78
AM
34302013-10-04 Alan Modra <amodra@gmail.com>
3431
3432 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
3433 Don't use a union to pack hi/low value.
3434
76a66d51
AB
34352013-10-04 Anton Blanchard <anton@au1.ibm.com>
3436
3437 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
3438 for little-endian.
3439 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3440 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
3441 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3442 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3443 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3444
6a31fe7f
AM
34452013-10-04 Alan Modra <amodra@gmail.com>
3446
3447 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
3448 constants to usual value for .cst8 section, and remove redundant
3449 high address load.
3450 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
3451 constant for 0x1p52. Load little-endian words of double from
3452 correct stack offsets.
3453
7b88401f
AM
34542013-10-04 Alan Modra <amodra@gmail.com>
3455
3456 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
3457 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
3458 words of double from correct stack offsets.
3459 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3460 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
3461 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3462 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3463 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3464 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3465 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3466 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3467 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3468 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3469 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3470 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3471 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3472 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3473 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3474 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
3475 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3476
9c008155
AM
34772013-10-04 Alan Modra <amodra@gmail.com>
3478
3479 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
3480 64-bit int/double union.
3481 (_FPU_SETCW): Likewise.
3482 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
3483 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
3484
da13146d
AM
34852013-10-04 Alan Modra <amodra@gmail.com>
3486
3487 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
3488 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
3489
603e8410
AM
34902013-10-04 Alan Modra <amodra@gmail.com>
3491
3492 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
3493 use vector int constants.
3494 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
3495
4a28b3ca
AB
34962013-10-04 Anton Blanchard <anton@au1.ibm.com>
3497
3498 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
3499 array with long long.
3500 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
3501 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
3502 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
3503 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
3504 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
3505 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
3506 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
3507 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
3508 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
3509 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
3510 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
3511 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
3512 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
3513
2ca85d2b
AB
35142013-10-04 Anton Blanchard <anton@au1.ibm.com>
3515
3516 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
3517 (__signbit): Likewise. Correct for little-endian.
3518 (__signbitl): Call __signbit.
3519 (lrint): Correct for little-endian.
3520 (lrintf): Call lrint.
3521
62a728ae
AM
35222013-10-04 Alan Modra <amodra@gmail.com>
3523
3524 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
3525 union 32-bit int array member with 64-bit int array.
3526 (t515, tm256): Double rather than long double.
3527 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
3528
32c301df
AM
35292013-10-04 Alan Modra <amodra@gmail.com>
3530
3531 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
3532 Delete.
3533 (IEEE854_LONG_DOUBLE_BIAS): Delete.
3534 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
3535 version of math_ldbl.h.
3536
650ef4bd
AM
35372013-10-04 Alan Modra <amodra@gmail.com>
3538
3539 [BZ #15734], [BZ #15735]
3540 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
3541 all uses of ieee875 long double macros and unions. Simplify test
3542 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
3543 ldbl_extract_mantissa value for ix,iy exponents. Properly
3544 normalize after ldbl_extract_mantissa, and don't add hidden bit
3545 already handled. Don't treat low word of ieee854 mantissa like
3546 low word of IBM long double and mask off bit when testing for
3547 zero.
3548 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
3549 all uses of ieee875 long double macros and unions. Simplify tests
3550 for 0.0L and inf. Correct double adjustment of k. Delete dead code
3551 adjusting ha,hb. Simplify code setting kld. Delete two600 and
3552 two1022, instead use their values. Recognise that tests for large
3553 "a" and small "b" are mutually exclusive. Rename vars. Comment.
3554 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
3555 Rewrite all uses of ieee875 long double macros and unions. Simplify
3556 test for 0.0L and nan. Correct negation.
3557 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
3558 ieee875 long double macros and unions. Correct output for large
3559 magnitude x. Correct absolute value calculation.
3560 (__erfcl): Likewise.
3561 * math/libm-test.inc: Add tests for errors discovered in IBM long
3562 double versions of fmodl, remainderl, erfl and erfcl.
3563
765714ca
AM
35642013-10-04 Alan Modra <amodra@gmail.com>
3565
3566 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
3567 all uses of ieee854 long double macros and unions. Simplify tests
3568 for long doubles that are fully specified by the high double.
3569 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3570 Likewise.
3571 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
3572 Remove dead code too.
3573 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3574 (__ieee754_ynl): Likewise.
3575 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
3576 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
3577 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
3578 Remove dead code too.
3579 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
3580 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
3581 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
3582 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
3583 Simplify.
3584 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
3585 Simplify.
3586 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
3587 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
3588 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
3589 Comment on variable precision.
3590 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
3591 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3592 Likewise.
3593 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3594 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3595 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3596 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
3597 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
3598
4ebd120c
AM
35992013-10-04 Alan Modra <amodra@gmail.com>
3600
3601 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
3602 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
3603 all uses of ieee854 long double macros and unions.
3604 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
3605 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3606 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
3607 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
3608 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
3609 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3610 Likewise.
3611 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
3612 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3613 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
3614 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3615 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
3616 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
3617 Simplify sign and nan test too.
3618 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
3619 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
3620 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
3621 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
3622 Likewise.
3623 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3624 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
3625 Likewise.
3626 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3627 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
3628 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
3629 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
3630 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
3631 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
3632
1b6adf88
AM
36332013-10-04 Alan Modra <amodra@gmail.com>
3634
3635 * stdio-common/printf_size.c (__printf_size): Don't use
3636 union ieee854_long_double in fpnum union.
3637 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
3638 signbit macro to retrieve sign from long double.
3639 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
3640 retrieve sign from long double.
3641 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
3642 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
3643 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
3644 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3645 * math/test-misc.c (main): Don't use union ieee854_long_double.
3646
4cf69995
AM
36472013-10-04 Alan Modra <amodra@gmail.com>
3648
3649 [BZ #15680]
3650 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
3651 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
3652 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
3653 calculation. Remove unnecessary test for denormal exponent.
3654 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
3655 Correct handling of denormals. Avoid undefined shift behaviour.
3656 Correct normalisation of low mantissa when low double is denormal.
3657 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
3658 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
3659 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
3660 Correct normalisation of low mantissa. Test for overflow of high
3661 mantissa and normalise.
3662 (ldbl_nearbyint): Use more readable constant for two52.
3663 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
3664 (__mpn_construct_long_double): Fix test for overflow of high
3665 mantissa and correct normalisation. Avoid undefined shift.
3666
9605ca6c
AM
36672013-10-04 Alan Modra <amodra@gmail.com>
3668
3669 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3670 (union ibm_extended_long_double): Define as an array of ieee754_double.
3671 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
3672 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
3673 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
3674 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3675 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3676 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
3677 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3678 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3679 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3680 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
3681 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3682
975569d0
JM
36832013-10-03 Joseph Myers <joseph@codesourcery.com>
3684
d3d23756
JM
3685 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
3686 page size instead of calling getpagesize.
3687
975569d0
JM
3688 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
3689 (LOCFILE_ALIGN_MASK): Likewise.
3690 (LOCFILE_ALIGN_UP): Likewise.
3691 (LOCFILE_ALIGNED_P): Likewise.
3692 * locale/programs/ld-collate.c (collate_output): Use the new
3693 macros instead of __alignof__ (int32_t).
3694 * locale/weight.h (findidx): Likewise.
3695
b1fe1f2b
OB
36962013-10-03 Ondřej Bílka <neleai@seznam.cz>
3697
3698 [BZ #431]
3699 * manual/string.texi: Fix strncat and wcsncat.
3700
5f855e35
BM
37012013-10-03 Brooks Moses <bmoses@google.com>
3702
3703 [BZ #15915]
3704 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
3705 * Makerules: ...here, and adjust associated comments.
3706
3cef6009
WN
37072013-10-02 Will Newton <will.newton@linaro.org>
3708
3709 * malloc/Makefile: Add tst-pvalloc.
3710 * malloc/tst-pvalloc.c: New file.
3711
7815420b
WN
37122013-10-02 Will Newton <will.newton@linaro.org>
3713
3714 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
3715 improve test coverage.
3716
4868b204
WN
37172013-10-02 Will Newton <will.newton@linaro.org>
3718
3719 * malloc/Makefile: Add tst-posix_memalign.
3720 * malloc/tst-posix_memalign.c: New file.
3721
29c793b3
EB
37222013-10-01 Eric Blake <eblake@redhat.com>
3723
3724 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
3725 Use __THROWNL rather than __THROW on static functions.
3726
fd967522
PM
37272013-09-30 Petr Machata <pmachata@redhat.com>
3728
3729 * elf/elf.h (R_AARCH64_ABS16): New macro.
3730 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
3731 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
3732 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
3733 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
3734 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
3735 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
3736 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
3737 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
3738 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
3739 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
3740 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
3741 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
3742 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
3743 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
3744 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
3745 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
3746 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
3747 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
3748 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
3749 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
3750 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
3751 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
3752 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
3753 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
3754 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
3755 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
3756 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
3757 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
3758 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
3759 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
3760 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
3761 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
3762 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
3763 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
3764 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
3765 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
3766 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
3767 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
3768 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
3769 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
3770 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
3771 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
3772 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
3773 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
3774 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
3775 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
3776 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
3777 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
3778 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
3779 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
3780 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
3781 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
3782 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
3783 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
3784 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
3785 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
3786 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
3787 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
3788 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
3789 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
3790 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
3791 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
3792 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
3793 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
3794 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
3795 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
3796 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
3797 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
3798 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
3799 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
3800 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
3801 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
3802 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
3803 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
3804 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
3805 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
3806 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
3807 (R_AARCH64_TLSDESC_LDR): Likewise.
3808 (R_AARCH64_TLSDESC_ADD): Likewise.
3809 (R_AARCH64_TLSDESC_CALL): Likewise.
3810
b2179107
AS
38112013-09-30 Andreas Schwab <schwab@suse.de>
3812
3813 [BZ #15048]
3814 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
3815 the nss database lookup.
3816 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3817 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3818
47f28d0a
MF
38192013-09-28 Mike Frysinger <vapier@gentoo.org>
3820
3821 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
3822
38232013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
3824
3825 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
3826 ${Bash-specific parameter/pattern/string} parameter expansion.
3827 * sysdeps/unix/make-syscalls.sh: Likewise.
3828
f4518a17
KK
38292013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3830
3831 * sysdeps/sh/stackguard-macros.h: New file.
3832
dc1a95c7
OB
38332013-09-26 Ondřej Bílka <neleai@seznam.cz>
3834
3835 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
3836 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
3837 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
3838 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
3839 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3840 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
3841
5ebbff8f
AZ
38422013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3843
3844 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
3845 Fix thread ID register.
3846
4fd2cf9f
JM
38472013-09-25 Joseph Myers <joseph@codesourcery.com>
3848
3849 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
3850 [POSIX || UNIX98]: Require rather than permitting all symbols from
3851 <time.h>.
3852 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
3853 element of struct sched_param.
3854 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
3855 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
3856 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
3857 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
3858 constant.
3859
12c22bc4
OL
38602013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
3861
3862 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
3863 argument calculation.
3864
a03d8ea7
JM
38652013-09-24 Joseph Myers <joseph@codesourcery.com>
3866
3867 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
3868 Expect macro.
3869 [POSIX] (pthread_attr_t): Do not require type.
3870 [POSIX] (pthread_cond_t): Likewise.
3871 [POSIX] (pthread_condattr_t): Likewise.
3872 [POSIX] (pthread_key_t): Likewise.
3873 [POSIX] (pthread_mutex_t): Likewise.
3874 [POSIX] (pthread_mutexattr_t): Likewise.
3875 [POSIX] (pthread_once_t): Likewise.
3876 [POSIX] (pthread_t): Likewise.
3877 [POSIX-based standards] (pthread_atfork): Expect function.
3878
6055173a
JM
38792013-09-24 Joseph Myers <joseph@codesourcery.com>
3880 Richard Sandiford <richard@codesourcery.com>
3881
3882 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
3883 (swap_endianness_p): New extern variable.
3884 (set_big_endian): New inline function.
3885 (maybe_swap_uint32): Likewise.
3886 (maybe_swap_uint32_array): Likewise.
3887 (maybe_swap_uint32_obstack): Likewise.
3888 * locale/programs/locfile.c: Include <stdbool.h>.
3889 (swap_endianness_p): New variable.
3890 (add_locale_uint32): Call maybe_swap_uint32.
3891 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
3892 (write_locale_data): Call maybe_swap_uint32_array.
3893 * locale/programs/ld-collate.c (obstack_int32_grow): Call
3894 maybe_swap_uint32.
3895 (obstack_int32_grow_fast): Likewise.
3896 (output_weightwc): Call maybe_swap_uint32_obstack.
3897 (collate_output): Likewise.
3898 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
3899 (OPT_LITTLE_ENDIAN): Likewise.
3900 (options): Add --little-endian and --big-endian options.
3901 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
3902 * locale/programs/locarchive.c: Include "locfile.h".
3903 (GET): New macro.
3904 (SET): Likewise.
3905 (INC): Likewise.
3906 (create_archive): Use the new macros to access fields of
3907 structures directly mapped from or written to locale archives.
3908 (oldlocrecentcmp): Likewise.
3909 (enlarge_archive): Likewise.
3910 (insert_name): Likewise.
3911 (add_alias): Likewise.
3912 (add_locale): Likewise.
3913 (delete_locales_from_archive): Likewise.
3914 (show_archive_content): Likewise.
3915 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
3916 locale data.
3917
39bf0bb4
RM
39182013-09-24 Roland McGrath <roland@hack.frob.com>
3919
3920 * manual/freemanuals.texi: Updated from (newly) canonical copy at
3921 http://www.gnu.org/doc/freemanuals.texi.
3922 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
3923
f02eed10
WN
39242013-09-24 Will Newton <will.newton@linaro.org>
3925
3926 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
3927 macro.
3928
a3a6c312
JM
39292013-09-23 Joseph Myers <joseph@codesourcery.com>
3930
3931 * locale/hashval.h (compute_hashval): Interpret bytes of key as
3932 unsigned char.
3933
107375ac
MR
39342013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
3935
3936 * manual/threads.texi (POSIX Threads): Fix a typo.
3937
141f3a77
SP
39382013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3939
303e567a
SP
3940 [BZ #14547]
3941 * string/tst-strcoll-overflow.c: New test case.
3942 * string/Makefile (xtests): Add tst-strcoll-overflow.
3943 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
3944 cache if string sizes may cause integer overflow.
3945
141f3a77
SP
3946 [BZ #14547]
3947 * string/strcoll_l.c (coll_seq): New members rule, idx,
3948 save_idx and back_us.
3949 (get_next_seq_nocache): New function.
3950 (do_compare_nocache): New function.
3951 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
3952 when malloc fails.
3953
c61b4d41
CD
39542013-09-23 Carlos O'Donell <carlos@redhat.com>
3955
0b1f8e35
CD
3956 [BZ #15754]
3957 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
3958 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
3959 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
3960
c61b4d41
CD
3961 [BZ #15754]
3962 * elf/Makefile (tests): Add tst-ptrguard1.
3963 (tests-static): Add tst-ptrguard1-static.
3964 (tst-ptrguard1-ARGS): Define.
3965 (tst-ptrguard1-static-ARGS): Define.
3966 * elf/tst-ptrguard1.c: New file.
3967 * elf/tst-ptrguard1-static.c: New file.
3968 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
3969 * sysdeps/i386/stackguard-macros.h: Likewise.
3970 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3971 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3972 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3973 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3974 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3975 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3976
39772013-09-23 Hector Marco <hecmargi@upv.es>
3978 Ismael Ripoll <iripoll@disca.upv.es>
3979 Carlos O'Donell <carlos@redhat.com>
3980
3981 [BZ #15754]
3982 * sysdeps/generic/stackguard-macros.h: Define
3983 __pointer_chk_guard_local and POINTER_CHK_GUARD.
3984 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
3985 Define __pointer_chk_guard_local.
3986 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
3987 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
3988
f5f4e7b4
VV
39892013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
3990
3991 [BZ #15859]
3992 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
3993
5bb43a43
AS
39942013-09-20 Andreas Schwab <schwab@linux-m68k.org>
3995
3996 * include/string.h (__ffs): Declare as hidden.
3997 * string/ffs.c (__ffs): Define as hidden.
3998 * sysdeps/i386/ffs.c (__ffs): Likewise.
3999 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
4000 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
4001 * sysdeps/s390/ffs.c (__ffs): Likewise.
4002 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
4003
3ea5be54
AO
40042013-09-20 Alexandre Oliva <aoliva@redhat.com>
4005
ffb89e53
AO
4006 * NEWS: Mention malloc probes.
4007
322dea08
AO
4008 * malloc/arena.c (new_heap): New memory_heap_new probe.
4009 (grow_heap): New memory_heap_more probe.
4010 (shrink_heap): New memory_heap_less probe.
4011 (heap_trim): New memory_heap_free probe.
4012 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
4013 (systrim): New memory_sbrk_less probe.
4014 * manual/probes.texi: Document them.
4015
655673f3
AO
4016 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
4017 * manual/probes.texi: Document it.
4018
35fed6f1
AO
4019 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
4020 (__libc_realloc): Add memory_realloc_retry probe.
4021 (__libc_memalign): Add memory_memalign_retry probe.
4022 (__libc_valloc): Add memory_valloc_retry probe.
4023 (__libc_pvalloc): Add memory_pvalloc_retry probe.
4024 (__libc_calloc): Add memory_calloc_retry probe.
4025 * manual/probes.texi: Document them.
4026
6999d38c
AO
4027 * malloc/arena.c (get_free_list): Add probe
4028 memory_arena_reuse_free_list.
4029 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
4030 and memory_arena_reuse.
4031 (arena_get2) [!PER_THREAD]: Likewise.
4032 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
4033 memory_arena_reuse_realloc.
4034 * manual/probes.texi: Document them.
4035
0653427f
AO
4036 * malloc/malloc.c (__libc_free): Add
4037 memory_mallopt_free_dyn_thresholds probe.
4038 (__libc_mallopt): Add multiple memory_mallopt probes.
4039 * manual/probes.texi: Document them.
4040
3ea5be54
AO
4041 * malloc/malloc.c: Include stap-probe.h.
4042 (__libc_mallopt): Add memory_mallopt probe.
4043 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
4044 * manual/probes.texi: New.
4045 * manual/Makefile (chapters): Add probes.
4046 * manual/threads.texi: Set next node.
4047
e35696c3 40482013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 4049
e35696c3
CL
4050 [BZ #15963, #13985]
4051 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
4052 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
4053 Add `Chinese' to `nan' entry name.
4054
4aafb73c
SP
40552013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4056
4057 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
4058 (POLYNOMIAL): Likewise.
4059 (TAYLOR_SINCOS): Likewise.
4060 (TAYLOR_SLOW): Likewise.
4061 (__sin): Use TAYLOR_SINCOS.
4062 (__cos): Likewise.
4063 (slow): Use TAYLOR_SLOW.
4064 (sloww): Likewise.
4065 (bsloww): Likewise.
4066 (csloww): Likewise.
4067
d84f25c7
LD
40682013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4069
4070 * stdlib/strtod_l.c: Fix buffer overrun.
4071
5eea0404
SP
40722013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4073
7849ff93
SP
4074 * benchtests/Makefile (bench): Add sincos.
4075 * benchtests/bench-sincos.c: New file.
4076
cfa3c886
SP
4077 * math/libm-test.inc (cos_test_data): New test inputs.
4078 (sin_test_data): Likewise.
4079
b348e1e3
SP
4080 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
4081 macro.
4082 (__sin): Use it.
4083 (__cos): Likewise.
4084 (slow1): Likewise.
4085 (slow2): Likewise.
4086 (sloww1): Likewise.
4087 (sloww2): Likewise.
4088 (bsloww1): Likewise.
4089 (bsloww2): Likewise.
4090 (cslow2): Likewise.
4091 (csloww1): Likewise.
4092 (csloww2): Likewise.
4093
6cce25f8
SP
4094 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
4095 function.
4096 (__sin): Use it.
4097 (__cos): Likewise.
4098
5eea0404
SP
4099 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
4100 gotos.
4101 (__cos): Likewise.
4102
9c21573c
MR
41032013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
4104
4105 * config.h.in (HAVE_MIPS_NAN2008): New macro.
4106 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
4107 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
4108 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
4109 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
4110 * elf/cache.c (print_entry): Handle the new cache flags.
4111
24d22e65
JM
41122013-09-18 Joseph Myers <joseph@codesourcery.com>
4113 Aldy Hernandez <aldyh@redhat.com>
4114
4115 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
4116 Change condition to [_SOFT_FLOAT].
4117 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
4118 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
4119 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
4120 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
4121 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
4122 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
4123 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
4124 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
4125 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
4126 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
4127 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
4128 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
4129 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
4130 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
4131 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
4132 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
4133 declaration.
4134
d13ef066
JM
41352013-09-18 Joseph Myers <joseph@codesourcery.com>
4136
2e071de0
JM
4137 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
4138 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4139 (__longjmp): Use LOAD_GP to load saved GPRs.
4140 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
4141 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4142 (__sigsetjmp): Use SAVE_GP to save GPRs.
4143
d13ef066
JM
4144 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
4145 Do not append -msoft-float.
4146 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
4147
97a0650b
SP
41482013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4149
4150 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
4151
11ca09e9
JM
41522013-09-17 Joseph Myers <joseph@codesourcery.com>
4153
4154 [BZ #15966]
4155 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
4156 (_FPU_GETCW): Use initial "__" on variable and field names but not
4157 on macro parameter name.
4158 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
4159 parentheses around reference to macro parameter.
4160
08ffcf34
RS
41612013-09-13 Richard Sandiford <richard@codesourcery.com>
4162
4163 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
4164 prototype.
4165 (ctype_startup): Use uint32_t in cast and sizeof for
4166 ctype->charnames.
4167
ae7080d3
JL
41682013-09-11 Jia Liu <proljc@gmail.com>
4169
4170 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
4171 __daddr_t_defined.
4172 [__FreeBSD__]: Likewise.
4173
5905e7b3
OB
41742013-09-11 Ondřej Bílka <neleai@seznam.cz>
4175
4176 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4177 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
4178 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
4179 (strchr): Remove __strchr_sse42 ifunc selection.
4180 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
4181 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
4182
b987c776
WN
41832013-09-11 Will Newton <will.newton@linaro.org>
4184
4185 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
4186 parameter to RES. Remove hardcoded 1000 value.
4187 * benchtests/bench-skeleton.c (main): Pass RES parameter
4188 to TIMING_INIT and multiply result by 1000.
4189
ddf985af
AZ
41902013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4191
4192 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4193
ffdd3181
AS
41942013-09-11 Andreas Schwab <schwab@suse.de>
4195
4196 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
4197 if not defined.
4198 (O_TMPFILE) [__USE_GNU]: Define.
4199 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
4200 Define.
4201
b73ed247
WN
42022013-09-11 Will Newton <will.newton@linaro.org>
4203
4204 [BZ #15857]
4205 * malloc/malloc.c (__libc_memalign): Check the value of bytes
4206 does not overflow.
4207
55e17aad
WN
42082013-09-11 Will Newton <will.newton@linaro.org>
4209
4210 [BZ #15856]
4211 * malloc/malloc.c (__libc_valloc): Check the value of bytes
4212 does not overflow.
4213
1159a193
WN
42142013-09-11 Will Newton <will.newton@linaro.org>
4215
4216 [BZ #15855]
4217 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
4218 does not overflow.
4219
5905e7b3 42202013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
4221
4222 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
4223 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4224 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4225 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4226 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4227
cdfc721b
AM
42282013-09-10 Allan McRae <allan@archlinux.org>
4229
aa04af00
AM
4230 [BZ #15748]
4231 * manual/arith.texi (Parsing of Floats): Clarify
4232 cross-reference.
4233
cdfc721b
AM
4234 [BZ #15849]
4235 * manual/install.texi (Running make install): Mention
4236 --enable-pt-chown.
4237 * INSTALL: Regenerated.
4238
95e7cf29
MR
42392013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4240
4241 * csu/init-first.c (_init): Remove the !SHARED condition around
4242 FPU control word initialization.
4243 * elf/dl-support.c (_dl_fpu_control): New variable.
4244 (_dl_aux_init) <AT_FPUCW>: Initialize it.
4245 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
4246 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
4247 * math/test-fpucw-static.c: New file.
4248 * math/test-fpucw-ieee.c: New file.
4249 * math/test-fpucw-ieee-static.c: New file.
4250 * math/Makefile (tests): Add `test-fpucw-ieee' and
4251 `$(tests-static)'.
4252 (tests-static): New variable.
4253 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
4254 dependency to...
4255 [($(build-shared),yes)]
4256 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4257 ... this.
4258 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
4259 New dependency.
4260
83e43bf0
AM
42612013-09-09 Allan McRae <allan@archlinux.org>
4262
a9f5ce09
AM
4263 [BZ #15939]
4264 * manual/string.texi (Collation Functions): Fix typo in
4265 strcoll example.
4266 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
4267
34829bc2
AM
4268 [BZ #15893]
4269 * stdlib/isomac.c (get_null_defines): Fix memory leak.
4270
3932737d
AM
4271 [BZ #15892]
4272 * libio/memstream.c (open_memstream): Fix memory leak.
4273 * libio/wmemstream.c (open_wmemstream): Likewise.
4274
83e43bf0
AM
4275 [BZ #15895]
4276 * nscd/netgroupcache.c: Fix nesting of ifdefs.
4277
0c66b8e9
WN
42782013-09-09 Will Newton <will.newton@linaro.org>
4279
4280 * malloc/Makefile: Add tst-realloc to tests.
4281 * malloc/tst-realloc.c: New file.
4282
f6b00fd1
AM
42832013-09-09 Allan McRae <allan@archlinux.org>
4284
4285 [BZ #15844]
4286 * COPYING: Update from GNU website to fix FSF address.
4287 * COPYING.LIB: Likewise.
4288
eec55e16
DM
42892013-09-06 David S. Miller <davem@davemloft.net>
4290
4291 * po/zh_TW.po: Update Chinese (traditional) translation from
4292 translation project.
4293
1ecbb381
RS
42942013-09-06 Richard Sandiford <richard@codesourcery.com>
4295 Joseph Myers <joseph@codesourcery.com>
4296
4297 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
4298 "localeinfo.h".
4299 (obstack_chunk_alloc): New macro.
4300 (obstack_chunk_free): Likewise.
4301 (record_offset): New function.
4302 (init_locale_data): Likewise.
4303 (align_locale_data): Likewise.
4304 (add_locale_empty): Likewise.
4305 (add_locale_raw_data): Likewise.
4306 (add_locale_raw_obstack): Likewise.
4307 (add_locale_string): Likewise.
4308 (add_locale_wstring): Likewise.
4309 (add_locale_uint32): Likewise.
4310 (add_locale_uint32_array): Likewise.
4311 (add_locale_char): Likewise.
4312 (start_locale_structure): Likewise.
4313 (end_locale_structure): Likewise.
4314 (start_locale_prelude): Likewise.
4315 (end_locale_prelude): Likewise.
4316 (write_locale_data): Take locale_file structure rather than an
4317 iovec.
4318 * locale/programs/locfile.h: Include "obstack.h".
4319 (struct locale_file): Change to store locale file contents instead
4320 of header.
4321 (init_locale_data): New prototype.
4322 (align_locale_data): Likewise.
4323 (add_locale_empty): Likewise.
4324 (add_locale_raw_data): Likewise.
4325 (add_locale_raw_obstack): Likewise.
4326 (add_locale_string): Likewise.
4327 (add_locale_wstring): Likewise.
4328 (add_locale_uint32): Likewise.
4329 (add_locale_uint32_array): Likewise.
4330 (add_locale_char): Likewise.
4331 (start_locale_structure): Likewise.
4332 (end_locale_structure): Likewise.
4333 (start_locale_prelude): Likewise.
4334 (end_locale_prelude): Likewise.
4335 (write_locale_data): Update prototype.
4336 * locale/programs/3level.h (struct TABLE): Remove result field.
4337 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
4338 Use new locale_file interface.
4339 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
4340 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
4341 * locale/programs/ld-address.c (address_output): Use new
4342 locale_file interface.
4343 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
4344 NO_ADD_LOCALE.
4345 (collate_finish): Don't call collseq_table_finalize.
4346 (collate_output): Use new locale_file interface.
4347 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
4348 in file.
4349 (NO_FINALIZE): Change to NO_ADD_LOCALE.
4350 (TABLE): Move defines earlier in file.
4351 (ELEMENT): Likewise.
4352 (DEFAULT): Likewise.
4353 (wctrans_table_add): Move macro and inline function earlier in
4354 file.
4355 (struct wctype_table): Move type earlier in file.
4356 (add_locale_wctype_table): New static prototype.
4357 (struct locale_ctype_t): Use logical types instead of struct iovec
4358 pointers for members.
4359 (ctype_output): Use new locale_file interface.
4360 (wctype_table_finalize): Change to add_locale_wctype_table. Use
4361 new locale_file interface.
4362 (allocate_arrays): Update for use of new locale_file interface.
4363 * locale/programs/ld-identification.c (identification_output): Use
4364 new locale_file interface.
4365 * locale/programs/ld-measurement.c (measurement_output): Likewise.
4366 * locale/programs/ld-messages.c (messages_output): Likewise.
4367 * locale/programs/ld-monetary.c (monetary_output): Likewise.
4368 * locale/programs/ld-name.c (name_output): Likewise.
4369 * locale/programs/ld-numeric.c (numeric_output): Likewise.
4370 * locale/programs/ld-paper.c (paper_output): Likewise.
4371 * locale/programs/ld-telephone.c (telephone_output): Likewise.
4372 * locale/programs/ld-time.c (time_output): Likewise.
4373
e029e2e5
AZ
43742013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4375
4376 * benchtests/Makefile: Add memrchr benchmark.
4377 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
4378 benchmark as memrchr.
4379 * benchtests/bench-memrchr-ifunc.c: New file.
4380 * benchtests/bench-memrchr.c: New file.
4381
bbf6e8e4
WN
43822013-09-06 Will Newton <will.newton@linaro.org>
4383
4384 * benchtests/Makefile (string-bench): Add memcpy.
4385
6c82a2f8
CD
43862013-09-05 Carlos O'Donell <carlos@redhat.com>
4387 Cong Wang <amwang@redhat.com>
4388
4389 * sysdeps/unix/sysv/linux/bits/in.h
4390 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
4391 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
4392 before __USE_KERNEL_IPV6_DEFS uses.
4393 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
4394 IPPROTO_BEETPH.
4395 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
4396 sockaddr_in6, or ipv6_mreq.
4397
5430fc65
AZ
43982013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4399
4400 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
4401 memory access for final bytes in some large inputs.
4402 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
4403
4660856c
AZ
44042013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4405
4406 * string/test-memrchr.c: New file.
4407 * string/test-memrchr-ifunc.c: New file.
4408 * string/Makefile: Add new memrchr testcase.
4409
bb8ea713
MF
44102013-09-05 Mike Frysinger <vapier@gentoo.org>
4411
4412 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
4413 fanotify_init returns EPERM.
4414
b92a20b5
JM
44152013-09-04 Joseph Myers <joseph@codesourcery.com>
4416
4417 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
4418 errors.
4419 (top level): Treat second token from macro or constant entries for
4420 allowed headers as allowed.
4421 * include/complex.h: Condition internal declarations on
4422 [!_ISOMAC].
4423 * include/fenv.h: Condition include of <stdbool.h> and internal
4424 declarations on [!_ISOMAC].
7447ccd9
CL
4425
44262013-09-04 Chris Leonard <cjl@sugarlabs,.org>
4427
3e181dda 4428 [BZ #15923]
7447ccd9
CL
4429 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
4430
3f2e46a4
JM
44312013-09-04 Joseph Myers <joseph@codesourcery.com>
4432
4433 * configure.in (--enable-versioning): Remove configure option.
4434 (libc_cv_asm_symver_directive): Remove configure test.
4435 (libc_cv_ld_version_script_option): Likewise.
4436 (VERSIONING): Remove variable and AC_SUBST.
4437 (DO_VERSIONING): Remove AC_DEFINE.
4438 * configure: Regenerated.
4439 * config.h.in (DO_VERSIONING): Remove macro.
4440 * Makerules [$(versioning) = yes]: Change conditionals to
4441 [$(build-shared) = yes].
4442 * config.make.in (versioning): Remove variable.
4443 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
4444 [$(build-shared) = yes].
4445 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
4446 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
4447 * elf/Makefile [$(versioning) = yes]: Change conditionals to
4448 [$(build-shared) = yes].
4449 * extra-lib.mk [$(versioning) = yes]: Likewise.
4450 * hurd/Makefile [$(versioning) = yes]: Likewise.
4451 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
4452 [SHARED].
4453 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
4454 [SHARED].
4455 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4456 [SHARED && !NO_HIDDEN].
4457 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
4458 [SHARED].
4459 [SHARED && DO_VERSIONING]: Likewise..
4460 * libio/Makefile [$(versioning) = yes]: Change conditionals to
4461 [$(build-shared) = yes].
4462 * manual/install.texi (--disable-versioning): Remove
4463 documentation.
4464 * INSTALL: Regenerated.
4465 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
4466 to [SHARED].
4467 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
4468 [$(build-shared) = yes].
4469 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
4470 * sysdeps/i386/i686/multiarch/strstr-c.c
4471 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4472 [SHARED && !NO_HIDDEN].
4473 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
4474 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
4475 * sysdeps/powerpc/powerpc32/dl-machine.c
4476 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
4477 * sysdeps/powerpc/powerpc32/sysdep.h
4478 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
4479 to [SHARED && PIC && !NO_HIDDEN].
4480 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
4481 conditional to [SHARED].
4482
44558701
WN
44832013-09-04 Will Newton <will.newton@linaro.org>
4484
4485 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
4486 * benchtests/bench-string.h: Include bench-timing.h instead
4487 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
4488 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
4489 call to HP_TIMING_DIFF_INIT.
4490 * benchtests/bench-memccpy.c: Use bench-timing.h macros
4491 instead of hp-timing.h macros.
4492 * benchtests/bench-memchr.c: Likewise.
4493 * benchtests/bench-memcmp.c: Likewise.
4494 * benchtests/bench-memcpy.c: Likewise.
4495 * benchtests/bench-memmem.c: Likewise.
4496 * benchtests/bench-memmove.c: Likewise.
4497 * benchtests/bench-memset.c: Likewise.
4498 * benchtests/bench-rawmemchr.c: Likewise.
4499 * benchtests/bench-strcasecmp.c: Likewise.
4500 * benchtests/bench-strcasestr.c: Likewise.
4501 * benchtests/bench-strcat.c: Likewise.
4502 * benchtests/bench-strchr.c: Likewise.
4503 * benchtests/bench-strcmp.c: Likewise.
4504 * benchtests/bench-strcpy.c: Likewise.
4505 * benchtests/bench-strcpy_chk.c: Likewise.
4506 * benchtests/bench-strlen.c: Likewise.
4507 * benchtests/bench-strncasecmp.c: Likewise.
4508 * benchtests/bench-strncat.c: Likewise.
4509 * benchtests/bench-strncmp.c: Likewise.
4510 * benchtests/bench-strncpy.c: Likewise.
4511 * benchtests/bench-strnlen.c: Likewise.
4512 * benchtests/bench-strpbrk.c: Likewise.
4513 * benchtests/bench-strrchr.c: Likewise.
4514 * benchtests/bench-strspn.c: Likewise.
4515 * benchtests/bench-strstr.c: Likewise.
4516
cae16d66
WN
45172013-09-04 Will Newton <will.newton@linaro.org>
4518
4519 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
4520
ffa3cd7f
JM
45212013-09-03 Joseph Myers <joseph@codesourcery.com>
4522
4523 [BZ #15427]
4524 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
4525 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
4526 * math/libm-test.inc (lgamma_test_data): Add more tests.
4527 * sysdeps/i386/fpu/libm-test-ulps: Update.
4528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4529
8f02859f
OB
45302013-09-03 Ondřej Bílka <neleai@seznam.cz>
4531
4532 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
4533 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4534 Add ifunc.
4535 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4536 Add strcmp-sse2-unaligned
4537 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
4538
18d43716
MF
45392013-09-02 Mike Frysinger <vapier@gentoo.org>
4540
4541 * Versions.def (libc): Add GLIBC_2.19.
4542
ac444012
MF
45432013-09-02 Mike Frysinger <vapier@gentoo.org>
4544
4545 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
4546 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
4547
b7835e32
JM
45482013-09-02 Joseph Myers <joseph@codesourcery.com>
4549
4550 [BZ #14155]
4551 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
4552 intermediate calculations in recurrence.
4553 (__ieee754_ynf): Likewise.
4554 * math/libm-test.inc (jn_test_data): Do not allow spurious
4555 underflow exception. Add more tests.
4556 (yn_test_data): Add more tests.
4557 * sysdeps/i386/fpu/libm-test-ulps: Update.
4558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4559
8220f4f0
OB
45602013-09-02 Ondřej Bílka <neleai@seznam.cz>
4561
4562 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
4563
f24a6d08
OB
45642013-08-30 Ondřej Bílka <neleai@seznam.cz>
4565
4566 * csu/init-first.c: Fix then/than typos.
4567 * locale/programs/ld-collate.c: Likewise.
4568 * locale/programs/linereader.h: Likewise.
4569 * manual/charset.texi: Likewise.
4570 * manual/filesys.texi: Likewise.
4571 * manual/stdio.texi: Likewise.
4572 * manual/string.texi: Likewise.
4573 * stdlib/fmtmsg.c: Likewise.
4574 * sysdeps/i386/stpncpy.S: Likewise.
4575 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4576 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4577 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4578 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4579
382466e0
OB
45802013-08-30 Ondřej Bílka <neleai@seznam.cz>
4581
4582 * elf/dl-open.c: Fix typos.
4583 * iconvdata/gbbig5.c: Likewise.
4584 * iconvdata/iso-2022-jp.c: Likewise.
4585 * iconv/gconv_int.h: Likewise.
4586 * iconv/loop.c: Likewise.
4587 * nis/rpcsvc/nis.h: Likewise.
4588 * resolv/ns_name.c: Likewise.
4589 * stdio-common/vfscanf.c: Likewise.
4590 * streams/stropts.h: Likewise.
4591 * sunrpc/rpc_thread.c: Likewise.
4592 * sysdeps/i386/strpbrk.S: Likewise.
4593 * sysdeps/ieee754/k_standard.c: Likewise.
4594 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4595 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4596 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
4597 * sysdeps/mach/hurd/profil.c: Likewise.
4598 * sysdeps/s390/dl-procinfo.h: Likewise.
4599 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
4600 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4601 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
4602 * sysdeps/x86_64/dl-trampoline.S: Likewise.
4603 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4604
0186c6e9
OB
46052013-08-30 Ondřej Bílka <neleai@seznam.cz>
4606
4607 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
4608 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
4609
d4e16af1
OB
46102013-08-29 Ondřej Bílka <neleai@seznam.cz>
4611
4612 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
4613 aix specific files.
4614 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
4615 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
4616 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
4617 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
4618 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
4619 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
4620 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
4621 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
4622
88335980
TS
46232013-08-29 Thomas Schwinge <thomas@codesourcery.com>
4624 Roland McGrath <roland@hack.frob.com>
4625
4626 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
4627 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
4628
ed479b02
ST
46292013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
4630
4631 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
4632 __executable_start symbol instead of _start.
4633
f1cc4c86
TS
46342013-08-29 Thomas Schwinge <thomas@codesourcery.com>
4635
d821f07c
TS
4636 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
4637 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
4638 Move macros to...
4639 * sysdeps/gnu/ldsodefs.h: ... this new file.
4640
c54290cf
TS
4641 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
4642 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
4643 instead of ELFOSABI_LINUX.
4644
0007fc9b 4645 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
4646 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
4647 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
4648 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
4649 Likewise.
4650 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
4651 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
4652 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
4653 Likewise.
4654 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4655 (ibm_extended_long_double): Add ieee_nan member.
4656 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
4657 (do_test): New function.
4658
f1cc4c86
TS
4659 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
4660 TEST_TRUNC.
4661 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
4662 functions, renamed from truncdfsf_test, trunctfsf_test,
4663 trunctfdf_test.
4664 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
4665 functions.
4666 (do_test): Run all these.
4667
6f65e668
OB
46682013-08-29 Ondřej Bílka <neleai@seznam.cz>
4669
4670 * argp/argp-help.c: Fix typos.
4671 * argp/argp-parse.c: Likewise.
4672 * debug/backtracesyms.c: Likewise.
4673 * elf/elf.h: Likewise.
4674 * malloc/malloc.c: Likewise.
4675 * nis/nis_print.c: Likewise.
4676 * resolv/res_comp.c: Likewise.
4677 * stdlib/stdlib.h: Likewise.
4678 * sunrpc/clnt_tcp.c: Likewise.
4679 * sunrpc/clnt_udp.c: Likewise.
4680 * sunrpc/clnt_unix.c: Likewise.
4681 * sysdeps/unix/bsd/ptsname.c: Likewise.
4682 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4683 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
4684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
4685 Likewise.
4686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
4687 Likewise.
4688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4689 Likewise.
6f65e668
OB
4690 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4691
3a309239
SP
46922013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4693
4694 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
4695 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4696
3b813b29
MF
46972013-08-27 Mike Frysinger <vapier@gentoo.org>
4698
4699 [BZ #15897]
4700 * dlfcn/Makefile (tests): Add bug-dl-leaf.
4701 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
4702 ($(objpfx)bug-dl-leaf): New rule.
4703 ($(objpfx)bug-dl-leaf.so): Likewise.
4704 ($(objpfx)bug-dl-leaf.out): Likewise.
4705 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
4706 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
4707 * dlfcn/bug-dl-leaf.c: New test.
4708 * dlfcn/bug-dl-leaf-lib.c: Likewise.
4709 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
4710 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
4711 (dlclose): Likewise.
4712 (dlmopen): Likewise.
4713
8cc3269f
RM
47142013-08-27 Roland McGrath <roland@hack.frob.com>
4715
7f9d0034
RM
4716 * include/netdb.h [!_ISOMAC]:
4717 Don't include <tls.h>.
4718 (h_errno, __libc_h_errno): Move declaration and macros out of
4719 [_LIBC_REENTRANT].
4720
fb431262
RM
4721 * include/resolv.h [_RESOLV_H_]:
4722 Don't include <tls.h>.
4723 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
4724 * resolv/res_libc.c: Don't include <tls.h>.
4725 (_res): Use __attribute__ ((nocommon)) in place of
4726 __attribute__ ((section (".bss"))).
4727
bd81123a
RM
4728 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
4729 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
4730
c4e42566
RM
4731 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
4732
f890a59b
RM
4733 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
4734 only under [SIOCGIFCONF && SIOCGIFNETMASK].
4735
4736 * resolv/res_mkquery.c: Include <sys/time.h>.
4737
5d1f0a09
RM
4738 * inet/ifreq.c: Moved to ...
4739 * sysdeps/unix/ifreq.c: ... here.
4740 * inet/ifreq.c: New file, true stub version.
4741
6fcf28b3
RM
4742 * socket/sa_len.c: New file.
4743 * socket/Makefile (aux): Add it.
4744 * sysdeps/unix/sysv/linux/Makefile
4745 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
4746 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
4747 and #include <socket/sa_len.c>.
4748 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
4749 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
4750
e041fb8b
RM
4751 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
4752 * bits/socket.h: ... here.
4753
8cc3269f
RM
4754 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
4755 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
4756 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
4757
5d228a43
AS
47582013-08-27 Andreas Schwab <schwab@suse.de>
4759
45b8accc
AS
4760 [BZ #15736]
4761 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
4762 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
4763 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
4764 * string/test-strcasecmp.c (test_main): Run tests in several
4765 locales.
4766 * string/test-strncasecmp.c (test_main): Likewise.
4767
5d228a43
AS
4768 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
4769 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
4770 to __strcasecmp_nonascii and __strncasecmp_nonascii.
4771 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
4772 (__strncasecmp_ssse3) [PIC]: Likewise.
4773
59d112a4
RM
47742013-08-26 Roland McGrath <roland@hack.frob.com>
4775
53234cc3
RM
4776 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
4777
59d112a4
RM
4778 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
4779 instead of explicitly declaring xdecrypt.
4780 * nis/nss_nis/nis-publickey.c: Likewise.
4781
595aba70
SP
47822013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4783
4784 [BZ #15890]
4785 * nscd/aicache.c: Include res_hconf.h.
4786 (addhstaiX): Initialize res_hconf.
4787
ffabd393
AS
47882013-08-26 Andreas Schwab <schwab@suse.de>
4789
4790 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
4791 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
4792
e0a69f5c
SP
47932013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4794
4795 * nscd/aicache.c (addhstaiX): Fix indentation.
4796
8c12f01d
MF
47972013-08-25 Mike Frysinger <vapier@gentoo.org>
4798
4799 * configure.ac: Quote $build_pt_chown test.
4800 * configure: Regenerated.
4801
8fe89494
JM
48022013-08-23 Joseph Myers <joseph@codesourcery.com>
4803
4804 [BZ #15532]
4805 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
4806 * math/s_cexpf.c (__cexpf): Likewise.
4807 * math/s_cexpl.c (__cexpl): Likewise.
4808 * math/libm-test.inc (cexp_test_data): Correct expected return
4809 value for NaN + i0. Add another test.
4810
75b181d6
DM
48112013-08-22 David S. Miller <davem@davemloft.net>
4812
4813 * po/ca.po: Update Catalan translation from translation project.
936241e4 4814 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 4815
acd06bb1
JM
48162013-08-21 Joseph Myers <joseph@codesourcery.com>
4817
4818 [BZ #15797]
4819 * math/s_fdim.c (__fdim): Check for infinite arguments if result
4820 is infinite, not alongside NaN test.
4821 * math/s_fdimf.c (__fdimf): Likewise.
4822 * math/s_fdiml.c (__fdiml): Likewise.
4823 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
4824 errno is unchanged.
4825
c0c3f78a
OB
48262013-08-21 Ondřej Bílka <neleai@seznam.cz>
4827
4828 * argp/argp-help.c: Fix typos.
4829 * crypt/speeds.c: Likewise.
4830 * csu/check_fds.c: Likewise.
4831 * elf/dl-load.c: Likewise.
4832 * elf/dl-open.c: Likewise.
4833 * elf/reldep3.c: Likewise.
4834 * elf/reldep.c: Likewise.
4835 * elf/sprof.c: Likewise.
4836 * iconv/iconv_charmap.c: Likewise.
4837 * iconv/skeleton.c: Likewise.
4838 * iconv/strtab.c: Likewise.
4839 * io/lockf64.c: Likewise.
4840 * libio/libioP.h: Likewise.
4841 * resolv/gai_notify.c: Likewise.
4842 * resolv/ns_name.c: Likewise.
4843 * resolv/ns_samedomain.c: Likewise.
4844 * resolv/res_send.c: Likewise.
4845 * stdlib/random.c: Likewise.
4846 * sunrpc/rpc/xdr.h: Likewise.
4847 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
4848 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4849 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4850 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4851 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4852 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4853 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4854 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4855 * sysdeps/mach/hurd/check_fds.c: Likewise.
4856 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4857 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4858 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4859 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4860 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4861 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4862 * sysdeps/pthread/aio_notify.c: Likewise.
4863 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
4864 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
4865 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
4866 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4867 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4868
46ed1038
LD
48692013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4870
4871 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
4872 version if bit_Slow_SSE4_2 is set.
4873 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4874 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4875
d400dcac
AZ
48762013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4877
4878 [BZ #15867]
4879 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
4880 trampoline stack frame information.
4881 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
4882 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
4883 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
4884 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
4885 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
4886 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4887 (_libc_vdso_platform_setup): Initialize the signal trampolines.
4888 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
4889 sa_flags value.
4890 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
4891 interrupting a syscall and set with option SA_SIGINFO.
4892
42c8fdd8
JM
48932013-08-20 Joseph Myers <joseph@codesourcery.com>
4894
c980f2f4
JM
4895 [BZ #15531]
4896 * math/s_cproj.c (__cproj): Only return an infinity if one part of
4897 argument is infinite.
4898 * math/s_cprojf.c (__cprojf): Likewise.
4899 * math/s_cprojl.c (__cprojl): Likewise.
4900 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
4901 * math/libm-test.inc (cproj_test_data): Add more tests.
4902
0716c4fc
JM
4903 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
4904
42c8fdd8
JM
4905 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
4906 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
4907 size. Use __ffs to determine corresponding shift.
4908
b31469d0
JM
49092013-08-20 Joseph Myers <joseph@codesourcery.com>
4910 Roland McGrath <roland@hack.frob.com>
4911
4912 * Makefile (INSTALL): Remove trailing blank lines from output of
4913 makeinfo.
4914
4e39af6e
AK
49152013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4916
4917 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
4918 Align 32 bit compat elf_greg to 8 bytes.
4919
f315524e
AA
49202013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
4921
4922 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
4923
1326ba1a
SP
49242013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4925
4926 * string/strcoll_l.c (coll_seq): New structure.
4927 (get_next_seq_cached): New function.
4928 (get_next_seq): New function.
4929 (do_compare): New function.
4930 (STRCOLL): Use GNU style definition. Simplify implementation
4931 by using get_next_seq, get_next_seq_cached and do_compare.
4932
91ce4085
FW
49332013-08-16 Florian Weimer <fweimer@redhat.com>
4934
4935 [BZ #14699]
4936 CVE-2013-4237
4937 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
4938 member.
4939 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
4940 member.
4941 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
4942 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
4943 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
4944 conditional.
4945 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
4946 GETDENTS_64BIT_ALIGNED.
4947 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4948 * manual/filesys.texi (Reading/Closing Directory): Document
4949 ENAMETOOLONG return value of readdir_r. Recommend readdir more
4950 strongly.
4951 * manual/conf.texi (Limits for Files): Add portability note to
4952 NAME_MAX, PATH_MAX.
4953 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
4954
ca0a6bc4
AS
49552013-08-13 Andreas Schwab <schwab@suse.de>
4956
4957 [BZ #15749]
4958 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
4959 of fabs.
4960 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
4961 LDBL_MAX_EXP >= 16384]: Add tests for it.
4962
6c1fd795
DM
49632013-08-12 David S. Miller <davem@davemloft.net>
4964
4965 * version.h (RELEASE): Set to "development".
4966 (VERSION): Set to "2.18.90".
4967 * NEWS: Add 2.19 section.
4968
31ad488d
DM
49692013-08-03 David S. Miller <davem@davemloft.net>
4970
4971 * po/ko.po: Update Korean translation from translation project.
4972
db24e684
DM
49732013-08-01 David S. Miller <davem@davemloft.net>
4974
4975 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
4976 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
4977 Bilka.
4978
f723285b
DM
49792013-07-30 David S. Miller <davem@davemloft.net>
4980
4981 * po/fr.po: Update French translation from translation project.
4982
3cbc52db
DM
49832013-07-28 David S. Miller <davem@davemloft.net>
4984
30bbc0cc
DM
4985 * po/cs.po: Update Czech translation from translation project.
4986
3cbc52db
DM
4987 * po/sv.po: Update Swedish translation from translation project.
4988
d492e6d0
DM
49892013-07-27 David S. Miller <davem@davemloft.net>
4990
f1a7f492
DM
4991 * po/eo.po: Update Esperanto translation from translation project.
4992
90e62a4a
DM
4993 * po/vi.po: Update Vietnamese translation from translation project.
4994
d492e6d0
DM
4995 * po/de.po: Update German translation from translation project.
4996
d4baa62d
DM
49972013-07-26 David S. Miller <davem@davemloft.net>
4998
641aa7b4
DM
4999 * po/bg.po: Update Bulgarian translation from translation project.
5000
d4baa62d
DM
5001 * po/nl.po: Update Dutch translation from translation project.
5002 * po/pl.po: Update Polish translation from translation project.
5003 * po/ru.po: Update Russian translation from translation project.
5004
61a9dcb9
DM
50052013-07-24 David S. Miller <davem@davemloft.net>
5006
5007 * po/libc.pot: Update.
5008
7b1f8b58
AZ
50092013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5010
5011 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
5012 variable page size.
5013 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
5014 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
5015 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
5016
a8fc7a03
AK
50172013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5018
5019 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
5020
e4608715
CD
50212013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5022 Andreas Schwab <schwab@suse.de>
5023 Roland McGrath <roland@hack.frob.com>
5024 Joseph Myers <joseph@codesourcery.com>
5025 Carlos O'Donell <carlos@redhat.com>
5026
5027 [BZ #15755]
5028 * config.h.in: Define HAVE_PT_CHOWN.
5029 * config.make.in (build-pt-chown): New variable.
5030 * configure.in (--enable-pt_chown): New configure option.
5031 * configure: Regenerate.
5032 * login/Makefile: Include Makeconfig. Build pt_chown only if
5033 build-pt-chown is enabled.
5034 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
5035 pt_chown to fix pty ownership.
5036 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
5037 CLOSE_ALL_FDS.
5038 * manual/install.texi (Configuring and compiling): Mention
5039 --enable-pt_chown. Add @findex for grantpt.
5040 * INSTALL: Regenerate.
5041
da2d62df
DM
50422013-07-20 David S. Miller <davem@davemloft.net>
5043
5044 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
5045 difference between 32-bit and 64-bit.
5046
d7e06450
CD
50472013-07-15 Carlos O'Donell <carlos@redhat.com>
5048
5049 [BZ #15711]
5050 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
5051 Avoid system header dependency with -ffreestanding.
5052 ($(objpfx)bits/syscall%d): Likewise.
5053
f959cfd7
DM
50542013-07-13 David S. Miller <davem@davemloft.net>
5055
5056 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
5057 underflows from atanl/atan2l due to bug 15319.
5058 (casinh_test_data): Likewise.
5059
c61f8513
DM
50602013-07-07 David S. Miller <davem@davemloft.net>
5061
5062 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
5063
72c90ed0
JA
50642013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
5065
5066 * sysdeps/i386/fpu/libm-test-ulps: Update.
5067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5068
52dfbe13
SP
50692013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5070
5071 * configure.in (--enable-lock-elision): Fix message text.
5072 * INSTALL: Regenerate.
5073 * configure: Regenerate.
5074
3f169543
AZ
50752013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5076
5077 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5078
521c6785
AJ
50792013-07-03 Andreas Jaeger <aj@suse.de>
5080
5081 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
5082 define.
5083 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
5084 (ptrace_peeksiginfo_args): Add.
5085 (__ptrace_peeksiginfo_flags): Add.
5086 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5087 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5088 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5089
d2cc15cb
AM
50902013-07-03 Allan McRae <allan@archlinux.org>
5091
5092 * sysdeps/i386/fpu/libm-test-ulps: Update.
5093
3aaeeca7
DM
50942013-07-02 David S. Miller <davem@davemloft.net>
5095
5096 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5097
5314ed1a
MT
50982013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
5099
5100 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5101
67338156
JM
51022013-07-02 Joseph Myers <joseph@codesourcery.com>
5103
5104 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5106
1717da59
AK
51072013-07-02 Andi Kleen <ak@linux.intel.com>
5108
5109 * config.h.in (ENABLE_LOCK_ELISION): Add.
5110 * configure.in (--enable-lock-elision): Add option.
5111 * manual/install.texi: Document --enable lock elision.
5112 * configure: Regenerate
5113 * INSTALL: Regenerate.
5114
1c81621c
L
51152013-07-02 H.J. Lu <hongjiu.lu@intel.com>
5116
5117 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
5118 SSE4.2 strcasecmp for libc.a.
5119 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5120
77f01ab5
JM
51212013-07-02 Joseph Myers <joseph@codesourcery.com>
5122
5123 [BZ #13304]
5124 * soft-fp/op-common.h (_FP_FMA): New macro.
5125 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
5126 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
5127 (_FP_MUL_MEAT_1_imm): ... here.
5128 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
5129 (_FP_MUL_MEAT_1_wide): ... here.
5130 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
5131 (_FP_MUL_MEAT_1_hard): ... here.
5132 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
5133 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
5134 (_FP_MUL_MEAT_2_wide): ... here.
5135 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
5136 (_FP_MUL_MEAT_2_wide_3mul): ... here.
5137 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
5138 (_FP_MUL_MEAT_2_gmp): ... here.
5139 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
5140 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
5141 (_FP_MUL_MEAT_4_wide): ... here.
5142 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
5143 (_FP_MUL_MEAT_4_gmp): ... here.
5144 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
5145 (_FP_WFRACBITS_DW_S): Likewise.
5146 (_FP_WFRACXBITS_DW_S): Likewise.
5147 (_FP_HIGHBIT_DW_S): Likewise.
5148 (FP_FMA_S): Likewise.
5149 (_FP_FRAC_HIGH_DW_S): Likewise.
5150 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
5151 (_FP_WFRACBITS_DW_D): Likewise.
5152 (_FP_WFRACXBITS_DW_D): Likewise.
5153 (_FP_HIGHBIT_DW_D): Likewise.
5154 (FP_FMA_D): Likewise.
5155 (_FP_FRAC_HIGH_DW_D): Likewise.
5156 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
5157 (_FP_WFRACBITS_DW_E): Likewise.
5158 (_FP_WFRACXBITS_DW_E): Likewise.
5159 (_FP_HIGHBIT_DW_E): Likewise.
5160 (FP_FMA_E): Likewise.
5161 (_FP_FRAC_HIGH_DW_E): Likewise.
5162 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
5163 (_FP_WFRACBITS_DW_Q): Likewise.
5164 (_FP_WFRACXBITS_DW_Q): Likewise.
5165 (_FP_HIGHBIT_DW_Q): Likewise.
5166 (FP_FMA_Q): Likewise.
5167 (_FP_FRAC_HIGH_DW_Q): Likewise.
5168 * soft-fp/fmasf4.c: New file.
5169 * soft-fp/fmadf4.c: Likewise.
5170 * soft-fp/fmatf4.c: Likewise.
5171
6308fd9a
LD
51722013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5173
5174 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
5175 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
5176 Silvermont.
5177 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
5178 macro.
5179 (index_Slow_SSE4_2): Likewise.
5180 (index_Prefer_PMINUB_for_stringop): Likewise.
5181 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
5182 bit_Slow_SSE4_2 is set.
5183 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5184 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5185
89cd9569
RA
51862013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5187
5188 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
5189 rtld_global._dl_hwcap2.
5190 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
5191 POWER8.
5192 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
5193 POWER8 feature descriptions defined in _dl_hwcap2.
5194 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
5195 string handling for POWER8 feature bits.
5196 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
5197 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
5198 _dl_powerpc_cap_flags.
5199 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
5200 * sysdeps/powerpc/rtld-global-offsets.sym
5201 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
5202 _dl_hwcap2 in the rtld_global_ro structure.
5203
1ae8bfe0
RA
52042013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5205
5206 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
5207 hardware capabilities in support of AT_HWCAP2.
5208 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
5209 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
5210 GLRO(dl_hwcap2).
5211 (_dl_show_auxv): Add support for calling _dl_procinfo to display
5212 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
5213 explicitly the unknown a_type display mechanism is used.
5214 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
5215 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
5216 struct member.
5217 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
5218 to macro prototype for AT_HWCAP2 support.
5219 * sysdeps/i386/dl-procinfo.h: Likewise.
5220 * sysdeps/s390/dl-procinfo.h: Likewise.
5221 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
5222 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
5223 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
5224 return -1 for unknown a_type display fallback.
5225 * sysdeps/sparc/dl-procinfo.h: Likewise.
5226 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
5227 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
5228
8fbec010
JM
52292013-06-28 Joseph Myers <joseph@codesourcery.com>
5230
5231 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
5232 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
5233
0432680e
PY
52342013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
5235
5236 [BZ #12492]
5237 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
5238 mprotect making __stack_prot writable.
5239
ce61a2ad
NF
52402013-06-28 Nathan Froyd <froydnj@codesourcery.com>
5241 Joseph Myers <joseph@codesourcery.com>
5242
5243 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
5244 as being properly aligned.
5245
f91f1c0f
MR
52462013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
5247
3d0f5d0c
MR
5248 * dlfcn/modstatic5.c: New file.
5249 * dlfcn/tststatic5.c: New file.
5250 * dlfcn/Makefile (tests): Add tststatic5.
5251 (tests-static): Likewise.
5252 (modules-names): Add modstatic5.
5253 (tststatic5-ENV): New variable.
5254 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
5255
f91f1c0f
MR
5256 [BZ #15022]
5257 * elf/dl-support.c (_dl_main_map): New variable.
5258 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
5259 (_dl_nns, _dl_load_adds): Set to 1.
5260 (_dl_initial_searchlist): Refer to _dl_main_map.
5261 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
5262 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
5263 call to _dl_get_origin.
5264 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
5265 around call_map.
5266 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
5267 * dlfcn/modstatic3.c: New file.
5268 * dlfcn/tststatic3.c: New file.
5269 * dlfcn/tststatic4.c: New file.
5270 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
5271 (tests-static): Likewise.
5272 (modules-names): Add modstatic3.
5273 (tststatic3-ENV, tststatic4-ENV): New variables.
5274 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
5275 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
5276
cbe7d24b
JM
52772013-06-26 Joseph Myers <joseph@codesourcery.com>
5278
5279 * configure.in (CC): Require GCC version 4.4 or later.
5280 * configure: Regenerated.
5281 * manual/install.texi (Tools for Compilation): Update GCC version
5282 requirement.
5283 * INSTALL: Regenerated.
5284
11b8a0e1
LD
52852013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5286
5287 [BZ #15674]
bb5bb87c
L
5288 * string/test-memcmp.c (check2): New.
5289 (main): Call check2.
5290
11b8a0e1
LD
5291 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
5292
b0037103
MR
52932013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
5294
5295 [BZ #15022]
5296 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
5297 over to...
5298 (dl_open_worker) [!SHARED]: ... here.
5299
c18c701d
RA
53002013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5301
5302 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
5303
1d17fa5f
RH
53042013-06-25 Richard Henderson <rth@redhat.com>
5305
5306 * locale/programs/locarchive.c: Include <libc-internal.h>
5307
8fcb833a
JM
53082013-06-25 Joseph Myers <joseph@codesourcery.com>
5309
5310 * manual/texinfo.tex: Update to version 2013-06-21.17, with
5311 trailing whitespace removed.
5312
17db6e8d
MF
53132013-06-24 Mike Frysinger <vapier@gentoo.org>
5314
5315 [BZ #10283]
17db6e8d
MF
5316 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
5317 * locale/programs/locarchive.c: Include libc-mmap.h.
5318 (prepare_address_space): Take two new outputs (the mmap base and len).
5319 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
5320 values.
5321 (create_archive): Declare new mmap base and len values for
5322 prepare_address_space, and store the result in ah.
5323 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
5324 (enlarge_archive): If ah->mmap_base is not NULL, use that and
5325 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5326 Declare new mmap base and len values for
5327 prepare_address_space, and store the result in new_ah.
5328 (open_archive): Declare new mmap base and len values for
5329 prepare_address_space, and store the result in ah.
5330 (close_archive): If ah->mmap_base is not NULL, use that and
5331 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5332 * sysdeps/generic/libc-mmap.h: New file.
5333
d605071e
MF
53342013-06-24 Mike Frysinger <vapier@gentoo.org>
5335
5336 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
5337 (ALIGN_UP): Likewise.
5338 (PTR_ALIGN_DOWN): Likewise.
5339 (PTR_ALIGN_UP): Likewise.
5340
2f063a6e
RA
53412013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5342
5343 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
5344 entry mapped to PPC_PLATFORM_POWER8.
5345 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
5346 POWER8.
5347 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
5348 (_dl_string_platform): Add case for exporting platform position for
5349 POWER8.
5350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
5351 search path to sysdeps/powerpc/powerpc32/power8 directory.
5352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
5353 search path to sysdeps/powerpc/powerpc64/power8 directory.
5354 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
5355 power7 directories.
5356 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
5357 power7 directories.
5358
a31ee4b3
SP
53592013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5360
a74ca98f
SP
5361 * INSTALL: Regenerate.
5362
a31ee4b3
SP
5363 * nscd/connections.c (nscd_init): Fix comment.
5364
695c378f
JM
53652013-06-22 Joseph Myers <joseph@codesourcery.com>
5366
d8412221
JM
5367 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
5368
695c378f
JM
5369 [BZ #15667]
5370 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
5371 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
5372
d1d54715
MR
53732013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
5374
5375 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
5376 DL_DST_REQ_STATIC.
5377 (DL_DST_REQ_STATIC): Remove macro.
5378
8fdda7af
JM
53792013-06-21 Joseph Myers <joseph@codesourcery.com>
5380
5381 [BZ #7006]
5382 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
5383 with a shift of 0 bits.
5384
f3bc5e5a
MR
53852013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
5386
5387 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
5388 $(tststatic-ENV).
5389
be09e8c9
KK
53902013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5391
5392 [BZ #15655]
5393 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
5394
85c2e611
AZ
53952013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5396
5397 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
5398 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
5399 accepts -fno-tree-loop-distribute-patterns.
5400 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
5401 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
5402 recursive call.
5403 * string/memset.c (memset): Likewise.
5404 * string/test-memmove.c (simple_memmove): Disable loop transformation
5405 to library calls.
5406 * string/test-memset.c (simple_memset): Likewise.
5407 * benchtests/bench-memmove.c (simple_memmove): Likewise.
5408 * benchtests/bench-memset.c (simple_memset): Likewise.
5409 * configure: Regenerated.
5410
c91e0825
JM
54112013-06-20 Joseph Myers <joseph@codesourcery.com>
5412
b8c792af
JM
5413 * math/test-misc.c (main): Ignore fesetround failure when failures
5414 of subsequent rounding tests would be ignored.
5415
c91e0825
JM
5416 [BZ #15654]
5417 * math/fedisblxcpt.c (fedisableexcept): Return 0.
5418 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
5419 * math/fegetenv.c (__fegetenv): Return 0.
5420 * math/fegetexcept.c (fegetexcept): Return 0.
5421 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
5422 FE_TONEAREST.
5423 * math/feholdexcpt.c (feholdexcept): Return 0.
5424 * math/fesetenv.c (__fesetenv): Return 0.
5425 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
5426 argument FE_TONEAREST.
5427 * math/feupdateenv.c (__feupdateenv): Return 0.
5428 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
5429
bfcacbde
RM
54302013-06-18 Roland McGrath <roland@hack.frob.com>
5431
5432 * elf/rtld-Rules (rtld-compile-command.S): New variable.
5433 (rtld-compile-command.s, rtld-compile-command.c): New variables.
5434 ($(objpfx)rtld-%.os rules): Use them.
5435
e55a9b25
AZ
54362013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5437
5438 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
5439 fields.
5440
346d65b3
RM
54412013-06-17 Roland McGrath <roland@hack.frob.com>
5442
12086fb4
RM
5443 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
5444 length of target pattern, then descending length of dependency pattern.
5445 * configure.in (AWK): Require gawk 3.1.2 or newer.
5446 * manual/install.texi (Tools for Compilation): Say that we do.
5447 * configure: Regenerated.
5448
346d65b3
RM
5449 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
5450 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
5451 * scripts/sysd-rules.awk: ... this new script.
5452 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
5453 than a glob-style pattern.
5454
1a846317
JM
54552013-06-17 Joseph Myers <joseph@codesourcery.com>
5456
5457 * math/test-misc.c (main): Do not treat incorrectly rounded
5458 conversions as failure unless ROUNDING_TESTS passes.
5459
8fc75e6f
JM
54602013-06-15 Joseph Myers <joseph@codesourcery.com>
5461
3711a167
JM
5462 [BZ #15631]
5463 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
5464 restore exception state around main square root computation, then
5465 check for inexactness explicitly.
5466
8fc75e6f
JM
5467 * math/libm-test.inc (fma_test_data): Add another test.
5468
61dd6208
SP
54692013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5470
adf23d2c
SP
5471 * manual/threads.texi (Non-POSIX Extensions): New document
5472 node. Document pthread_getattr_default_np and
5473 pthread_setattr_default_np.
5474
61dd6208
SP
5475 * Versions.def (libpthread): Add GLIBC_2.18.
5476 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
5477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5478 Likewise.
5479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5480 Likewise.
5481 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5482 Likewise.
5483 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5484 Likewise.
5485 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
5486 Likewise.
5487 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5488 Likewise.
5489 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5490 Likewise.
5491 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5492 Likewise.
5493 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5494 Likewise.
5495
d086fc7b
LD
54962013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5497
5498 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5499 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
5500
747ef469
SP
55012013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5502 H.J. Lu <hjl.tools@gmail.com>
5503
5504 [BZ #15627]
5505 * sysdeps/x86_64/rtld-memset.c: Remove file.
5506 * sysdeps/x86_64/rtld-memset.S: New file.
5507
1b2feed2
JM
55082013-06-14 Joseph Myers <joseph@codesourcery.com>
5509
5510 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
5511 (test_in_one_mode): Take arguments for whether the rounding mode
5512 is supported for each floating-point type.
5513 (do_test): Pass new arguments to test_in_one_mode using
5514 ROUNDING_TESTS.
5515
a58ad3f8
RM
55162013-06-13 Roland McGrath <roland@hack.frob.com>
5517
5518 * posix/tst-waitid.c (do_test): Distinguish different instances of
5519 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
5520 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
5521 before entering the kernel for waitpid.
5522
c204ab28
SP
55232013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5524
5525 * NEWS: Fix note on clock function precision. Text by Roland
5526 McGrath.
5527
f4a29fba
RM
55282013-06-13 Roland McGrath <roland@hack.frob.com>
5529
5530 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
5531 it into place only when and if the sanity check passes.
5532
1f24b9ad
JM
55332013-06-13 Joseph Myers <joseph@codesourcery.com>
5534
5535 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
5536 output for whether conversion result is exact. Take argument
5537 indicating whether type is IBM long double.
5538 (round_for_all): Change need_exact field to ibm_ld.
5539 * stdlib/tst-strtod-round.c (struct exactness): New type.
5540 (struct test): Change bool ld_ok field to struct exactness exact.
5541 (TEST): Update all definitions for change to field.
5542 (tests): Regenerate array contents.
5543 (test_in_one_mode): Take pointer to new field instead of old ld_ok
5544 field value. Check for IBM long double here.
5545 (do_test): Update calls to test_in_one_mode.
5546
58206c68
SP
55472013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5548
5549 [BZ #12515]
5550 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
5551 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
5552
2d6f4c5b 55532013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
5554
5555 [BZ #15605]
5556 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
5557 generated by the compiler on loop optimizations.
5558 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
5559 general definitions.
5560
94f2c076
JM
55612013-06-12 Joseph Myers <joseph@codesourcery.com>
5562
5563 * math/bug-nextafter.c: Include <math-tests.h>.
5564 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5565 the relevant type.
5566 * math/bug-nexttoward.c: Include <math-tests.h>.
5567 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5568 the relevant type.
5569 * math/test-misc.c: Include <math-tests.h>.
5570 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5571 the relevant type.
5572
e0e50a0a
AJ
55732013-06-12 Andreas Jaeger <aj@suse.de>
5574
5575 * po/ia.po: Update Interlingua translation from translation
5576 project.
5577
25061094
SP
55782013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5579
5580 * include/fenv.h: Include stdbool.h.
5581 (struct rm_ctx): New structure.
5582 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
5583 Define macro.
5584 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
5585 (SET_RESTORE_ROUNDF): Likewise.
5586 (SET_RESTORE_ROUNDL): Likewise.
5587 (SET_RESTORE_ROUND_NOEX): Likewise.
5588 (SET_RESTORE_ROUND_NOEXF): Likewise.
5589 (SET_RESTORE_ROUND_NOEXL): Likewise.
5590 (SET_RESTORE_ROUND_53BIT): Likewise.
5591 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
5592 (libc_feresetround_noexf_ctx): Likewise.
5593 (libc_feresetround_noexl_ctx): Likewise.
5594 (libc_feholdsetround_53bit_ctx): Likewise.
5595 (libc_feresetround_53bit_ctx): Likewise.
5596 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
5597 (libc_feholdexcept_setround_sse_ctx): New function.
5598 (libc_fesetenv_sse_ctx): Likewise.
5599 (libc_feupdateenv_sse_ctx): Likewise.
5600 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
5601 (libc_feholdexcept_setround_387_ctx): Likewise.
5602 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
5603 (libc_feholdsetround_387_prec_ctx): Likewise.
5604 (libc_feholdsetround_387_ctx): Likewise.
5605 (libc_feholdsetround_387_53bit_ctx): Likewise.
5606 (libc_feholdsetround_sse_ctx): Likewise.
5607 (libc_feresetround_sse_ctx): Likewise.
5608 (libc_feresetround_387_ctx): Likewise.
5609 (libc_feupdateenv_387_ctx): Likewise.
5610 (libc_feholdexcept_setroundf_ctx): Define macro.
5611 (libc_fesetenvf_ctx): Likewise.
5612 (libc_feupdateenvf_ctx): Likewise.
5613 (libc_feholdsetroundf_ctx): Likewise.
5614 (libc_feresetroundf_ctx): Likewise.
5615 (libc_feholdexcept_setround_ctx): Likewise.
5616 (libc_fesetenv_ctx): Likewise.
5617 (libc_feupdateenv_ctx): Likewise.
5618 (libc_feholdsetround_ctx): Likewise.
5619 (libc_feresetround_ctx): Likewise.
5620 (libc_feholdexcept_setroundl_ctx): Likewise.
5621 (libc_feupdateenvl_ctx): Likewise.
5622 (libc_feholdsetroundl_ctx): Likewise.
5623 (libc_feresetroundl_ctx): Likewise.
5624 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
5625 (libc_feresetround_53bit_ctx): Likewise.
5626
59b30555
SP
56272013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5628
5629 * locale/iso-639.def: Convert to UTF-8.
5630
f1d73d30
JM
56312013-06-11 Joseph Myers <joseph@codesourcery.com>
5632
5633 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
5634 (EXCEPTION_TESTS_double): Likewise.
5635 (EXCEPTION_TESTS_long_double): Likewise.
5636 (EXCEPTION_TESTS): Likewise.
5637 * math/libm-test.inc (test_exceptions): Only test exceptions if
5638 EXCEPTION_TESTS (FLOAT).
5639
94aca5e7
SP
56402013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5641
5642 * benchtests/Makefile (string-bench): Add strcpy_chk and
5643 stpcpy_chk.
5644 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
5645 * benchtests/bench-stpcpy_chk.c: New file.
5646 * benchtests/bench-strcpy_chk-ifunc.c: New file.
5647 * benchtests/bench-strcpy_chk.c: New file.
5648 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
5649 code.
5650 (do_test): Likewise.
5651
fac0c5f2
RA
56522013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5653
5654 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
5655 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
5656 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
5657 with tabs where appropriate.
5658 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
5659 dl-procinfo.h.
5660 [PPC_PLATFORM_PPC440]: Likewise.
5661 [PPC_PLATFORM_PPC464]: Likewise.
5662 [PPC_PLATFORM_PPC476]: Likewise.
5663 (_dl_string_platform): Add support for detecting ppc405, ppc440,
5664 ppc464, and ppc476 platform strings merging from ports/
5665 dl-procinfo.h.
5666
f22bc486
AS
56672013-06-11 Andreas Schwab <schwab@suse.de>
5668
5669 [BZ #14991]
5670 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
5671 (from_ucs4_idx): Regenerate.
5672 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
5673 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
5674 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
5675 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
5676 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
5677 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
5678 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
5679 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
5680 from FROM_LOOP and TO_LOOP specific macros.
5681 (BODY): Handle combining characters.
5682 * iconvdata/BIG5HKSCS.irreversible: Update.
5683 * iconvdata/BIG5HKSCS.precomposed: New file.
5684 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
5685 characters.
5686 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
5687
c1f75dc3
SP
56882013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5689
4eacded2
SP
5690 * include/sys/time.h: Fix indentation and add copyright header.
5691
fec799f8
SP
5692 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
5693 (do_test): Likewise.
5694 * string/test-memchr.c (do_one_test): Likewise.
5695 (do_test): Likewise.
5696 * string/test-memcmp.c (do_one_test): Likewise.
5697 (do_test): Likewise.
5698 * string/test-memcpy.c (do_one_test): Likewise.
5699 (do_test): Likewise.
5700 * string/test-memmem.c (do_one_test): Likewise.
5701 (do_test): Likewise.
5702 (do_random_tests): Likewise.
5703 * string/test-memmove.c (do_one_test): Likewise.
5704 (do_test): Likewise.
5705 * string/test-memset.c (do_one_test): Likewise.
5706 (do_test): Likewise.
5707 * string/test-rawmemchr.c (do_one_test): Likewise.
5708 (do_test): Likewise.
5709 * string/test-strcasecmp.c (do_one_test): Likewise.
5710 (do_test): Likewise.
5711 * string/test-strcasestr.c (do_one_test): Likewise.
5712 (do_test): Likewise.
5713 * string/test-strcat.c (do_one_test): Likewise.
5714 (do_test): Likewise.
5715 * string/test-strchr.c (do_one_test): Likewise.
5716 (do_test): Likewise.
5717 * string/test-strcmp.c (do_one_test): Likewise.
5718 (do_test): Likewise.
5719 * string/test-strcpy.c (do_one_test): Likewise.
5720 (do_test): Likewise.
5721 * string/test-string.h: Likewise.
5722 (test_init): Likewise.
5723 * string/test-strlen.c (do_one_test): Likewise.
5724 (do_test): Likewise.
5725 * string/test-strncasecmp.c (do_one_test): Likewise.
5726 (do_test): Likewise.
5727 * string/test-strncat.c (do_one_test): Likewise.
5728 (do_test): Likewise.
5729 * string/test-strncmp.c (do_one_test): Likewise.
5730 (do_test_limit): Likewise.
5731 (do_test): Likewise.
5732 * string/test-strncpy.c (do_one_test): Likewise.
5733 (do_test): Likewise.
5734 * string/test-strnlen.c (do_one_test): Likewise.
5735 (do_test): Likewise.
5736 * string/test-strpbrk.c (do_one_test): Likewise.
5737 (do_test): Likewise.
5738 * string/test-strrchr.c (do_one_test): Likewise.
5739 (do_test): Likewise.
5740 * string/test-strspn.c (do_one_test): Likewise.
5741 (do_test): Likewise.
5742 * string/test-strstr.c (do_one_test): Likewise.
5743 (do_test): Likewise.
5744
97020474
SP
5745 * benchtests/Makefile (string-bench): Add string benchmarks.
5746 * benchtests/bench-bcopy-ifunc.c: New file.
5747 * benchtests/bench-bcopy.c: New file.
5748 * benchtests/bench-bzero-ifunc.c: New file.
5749 * benchtests/bench-bzero.c: New file.
5750 * benchtests/bench-memccpy-ifunc.c: New file.
5751 * benchtests/bench-memccpy.c: New file.
5752 * benchtests/bench-memchr-ifunc.c: New file.
5753 * benchtests/bench-memchr.c: New file.
5754 * benchtests/bench-memcmp-ifunc.c: New file.
5755 * benchtests/bench-memcmp.c: New file.
5756 * benchtests/bench-memmem-ifunc.c: New file.
5757 * benchtests/bench-memmem.c: New file.
5758 * benchtests/bench-memmove-ifunc.c: New file.
5759 * benchtests/bench-memmove.c: New file.
5760 * benchtests/bench-mempcpy-ifunc.c: New file.
5761 * benchtests/bench-mempcpy.c: New file.
5762 * benchtests/bench-memset-ifunc.c: New file.
5763 * benchtests/bench-memset.c: New file.
5764 * benchtests/bench-rawmemchr-ifunc.c: New file.
5765 * benchtests/bench-rawmemchr.c: New file.
5766 * benchtests/bench-stpcpy-ifunc.c: New file.
5767 * benchtests/bench-stpcpy.c: New file.
5768 * benchtests/bench-stpncpy-ifunc.c: New file.
5769 * benchtests/bench-stpncpy.c: New file.
5770 * benchtests/bench-strcasecmp-ifunc.c: New file.
5771 * benchtests/bench-strcasecmp.c: New file.
5772 * benchtests/bench-strcasestr-ifunc.c: New file.
5773 * benchtests/bench-strcasestr.c: New file.
5774 * benchtests/bench-strcat-ifunc.c: New file.
5775 * benchtests/bench-strcat.c: New file.
5776 * benchtests/bench-strchr-ifunc.c: New file.
5777 * benchtests/bench-strchr.c: New file.
5778 * benchtests/bench-strchrnul-ifunc.c: New file.
5779 * benchtests/bench-strchrnul.c: New file.
5780 * benchtests/bench-strcmp-ifunc.c: New file.
5781 * benchtests/bench-strcmp.c: New file.
5782 * benchtests/bench-strcpy-ifunc.c: New file.
5783 * benchtests/bench-strcpy.c: New file.
5784 * benchtests/bench-strcspn-ifunc.c: New file.
5785 * benchtests/bench-strcspn.c: New file.
5786 * benchtests/bench-strlen-ifunc.c: New file.
5787 * benchtests/bench-strlen.c: New file.
5788 * benchtests/bench-strncasecmp-ifunc.c: New file.
5789 * benchtests/bench-strncasecmp.c: New file.
5790 * benchtests/bench-strncat-ifunc.c: New file.
5791 * benchtests/bench-strncat.c: New file.
5792 * benchtests/bench-strncmp-ifunc.c: New file.
5793 * benchtests/bench-strncmp.c: New file.
5794 * benchtests/bench-strncpy-ifunc.c: New file.
5795 * benchtests/bench-strncpy.c: New file.
5796 * benchtests/bench-strnlen-ifunc.c: New file.
5797 * benchtests/bench-strnlen.c: New file.
5798 * benchtests/bench-strpbrk-ifunc.c: New file.
5799 * benchtests/bench-strpbrk.c: New file.
5800 * benchtests/bench-strrchr-ifunc.c: New file.
5801 * benchtests/bench-strrchr.c: New file.
5802 * benchtests/bench-strspn-ifunc.c: New file.
5803 * benchtests/bench-strspn.c: New file.
5804 * benchtests/bench-strstr-ifunc.c: New file.
5805 * benchtests/bench-strstr.c: New file.
5806
c1f75dc3
SP
5807 * benchtests/Makefile: Disable parallel execution of targets.
5808 (string-bench): Add memcpy.
5809 (benchset): New variable to store a list of benchmark sets.
5810 (bench-func): Renamed from bench.
5811 (bench-set): New target.
5812 (bench): Depend on bench-func and bench-set.
5813 * benchtests/README: Add section on benchmark sets.
5814 * benchtests/bench-memcpy-ifunc.c: New file.
5815 * benchtests/bench-memcpy.c: New file.
5816 * benchtests/bench-string.h: New file.
5817
50fd745b
AS
58182013-06-11 Andreas Schwab <schwab@suse.de>
5819
5820 [BZ #15577]
5821 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
5822 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
5823 values in the triple.
5824 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
5825 terminator in the group key.
5826
3ee7e9fe
AJ
58272013-06-11 Andreas Jaeger <aj@suse.de>
5828
5829 * po/zh_TW.po: Update Chinese (traditional) translation from
5830 translation project.
5831
89fb6835
SP
58322013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5833
5834 * include/time.h (__clock_gettime): Add libc_hidden_proto.
5835 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
5836 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
5837 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5838 (clock_getcpuclockid): Likewise.
5839 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
5840 Add weak_alias and libc_hidden_def.
5841 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
5842 * rt/clock_gettime.c (clock_gettime): Rename to
5843 __clock_gettime. Add weak_alias and libc_hidden_def.
5844 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
5845 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
5846 __clock_nanosleep. Add weak_alias and libc_hidden_def.
5847 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
5848 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
5849 Likewise.
5850 * rt/clock_settime.c (clock_settime): Rename to
5851 __clock_settime. Add weak_alias and libc_hidden_def.
5852 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
5853
0efa6f8b
JM
58542013-06-10 Joseph Myers <joseph@codesourcery.com>
5855
b8c61b4b
JM
5856 * mach/err_boot.sub: Remove trailing whitespace.
5857 * mach/err_ipc.sub: Likewise.
5858 * mach/err_mach.sub: Likewise.
5859
0efa6f8b
JM
5860 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
5861 (ROUNDING_TESTS_double): Likewise.
5862 (ROUNDING_TESTS_long_double): Likewise.
5863 (ROUNDING_TESTS): Likewise.
5864 * math/libm-test.inc: Include <math-tests.h>.
5865 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
5866 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5867 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5868 (IF_ROUND_INIT_FE_UPWARD): Likewise.
5869
50b818bf
SP
58702013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5871
5872 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
5873 of assigning.
5874
60d2f8f3
JM
58752013-06-08 Joseph Myers <joseph@codesourcery.com>
5876
4902d2c3
JM
5877 * sysdeps/gnu/errlist.awk: Do not generate space at end of
5878 otherwise empty TRANS lines.
5879 * sysdeps/gnu/errlist.c: Regenerated.
5880
60d2f8f3
JM
5881 * catgets/gencat.c (error_print): Use (void) in function
5882 definition.
5883 * crypt/crypt_util.c (__init_des): Likewise.
5884 * crypt/speeds.c (Stop): Likewise.
5885 (main): Likewise.
5886 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
5887 * inet/ruserpass.c (token): Likewise.
5888 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
5889 * intl/localealias.c (extend_alias_table): Likewise.
5890 * intl/plural-exp.c (init_germanic_plural): Likewise.
5891 * libio/fcloseall.c (__fcloseall): Likewise.
5892 * libio/genops.c (_IO_flush_all): Likewise.
5893 (_IO_flush_all_linebuffered): Likewise.
5894 (_IO_cleanup): Likewise.
5895 (_IO_iter_begin): Likewise.
5896 (_IO_iter_end): Likewise.
5897 (_IO_list_lock): Likewise.
5898 (_IO_list_unlock): Likewise.
5899 (_IO_list_resetlock): Likewise.
5900 * libio/getchar.c (getchar): Likewise.
5901 * libio/getchar_u.c (getchar_unlocked): Likewise.
5902 * libio/getwchar.c (getwchar): Likewise.
5903 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
5904 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
5905 * login/getpt.c (__getpt): Likewise.
5906 * login/tst-utmp.c (main): Likewise.
5907 * malloc/hooks.c (__malloc_check_init): Likewise.
5908 * malloc/malloc.c (__malloc_stats): Likewise.
5909 * malloc/mtrace.c (tr_break): Likewise.
5910 (mtrace): Likewise.
5911 (muntrace): Likewise.
5912 * misc/fstab.c (endfsent): Likewise.
5913 * misc/getclktck.c (__getclktck): Likewise.
5914 * misc/getdtsz.c (__getdtablesize): Likewise.
5915 * misc/gethostid.c (gethostid): Likewise.
5916 * misc/getpagesize.c (__getpagesize): Likewise.
5917 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
5918 (__get_nprocs): Likewise.
5919 (__get_phys_pages): Likewise.
5920 (__get_avphys_pages): Likewise.
5921 * misc/getttyent.c (getttyent): Likewise.
5922 (setttyent): Likewise.
5923 (endttyent): Likewise.
5924 * misc/getusershell.c (getusershell): Likewise.
5925 (endusershell): Likewise.
5926 (setusershell): Likewise.
5927 (initshells): Likewise.
5928 * misc/hsearch.c (__hdestroy): Likewise.
5929 * misc/sync.c (sync): Likewise.
5930 * misc/syslog.c (closelog_internal): Likewise.
5931 (closelog): Likewise.
5932 * misc/ttyslot.c (ttyslot): Likewise.
5933 * misc/vhangup.c (vhangup): Likewise.
5934 * posix/fork.c (__fork): Likewise.
5935 * posix/getegid.c (__getegid): Likewise.
5936 * posix/geteuid.c (__geteuid): Likewise.
5937 * posix/getgid.c (__getgid): Likewise.
5938 * posix/getpid.c (__getpid): Likewise.
5939 * posix/getppid.c (__getppid): Likewise.
5940 * posix/getuid.c (__getuid): Likewise.
5941 * posix/pause.c (pause): Likewise.
5942 * posix/setpgrp.c (setpgrp): Likewise.
5943 * posix/setsid.c (__setsid): Likewise.
5944 * posix/test-vfork.c (noop): Likewise.
5945 * resolv/gethnamaddr.c (_endhtent): Likewise.
5946 (_gethtent): Likewise.
5947 (ht_endhostent): Likewise.
5948 (gethostent): Likewise.
5949 (dns_service): Likewise.
5950 * stdlib/drand48.c (drand48): Likewise.
5951 * stdlib/lrand48.c (lrand48): Likewise.
5952 * stdlib/mrand48.c (mrand48): Likewise.
5953 * stdlib/rand.c (rand): Likewise.
5954 * stdlib/random.c (__random): Likewise.
5955 * stdlib/setenv.c (clearenv): Likewise.
5956 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
5957 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
5958 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
5959 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
5960 (__get_nprocs): Likewise.
5961 (__get_phys_pages): Likewise.
5962 (__get_avphys_pages): Likewise.
5963 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
5964 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
5965 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
5966 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
5967 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
5968 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
5969 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
5970 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
5971 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
5972 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
5973 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
5974 * sysdeps/mach/hurd/sync.c (sync): Likewise.
5975 * sysdeps/posix/clock.c (clock): Likewise.
5976 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
5977 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
5978 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
5979 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
5980 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
5981 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
5982 (__get_nprocs_conf): Likewise.
5983 (__get_phys_pages): Likewise.
5984 (__get_avphys_pages): Likewise.
5985 * time/clock.c (clock): Likewise.
5986 * time/tzset.c (__tzname_max): Likewise.
5987
2e09a79a
JM
59882013-06-07 Joseph Myers <joseph@codesourcery.com>
5989
5990 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
5991 (__bswap_32): Do not use "register".
5992 * crypt/crypt.c (_ufc_doit_r): Likewise.
5993 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5994 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5995 * gmon/gmon.c (__monstartup): Likewise.
5996 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
5997 * hurd/hurdmalloc.c (more_memory): Likewise.
5998 (malloc): Likewise.
5999 (free): Likewise.
6000 (realloc): Likewise.
6001 (malloc_fork_prepare): Likewise.
6002 (malloc_fork_parent): Likewise.
6003 (malloc_fork_child): Likewise.
6004 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
6005 (_svcauth_des): Likewise.
6006 * inet/inet_lnaof.c (inet_lnaof): Likewise.
6007 * inet/inet_net.c (inet_network): Likewise.
6008 * inet/inet_netof.c (inet_netof): Likewise.
6009 * inet/rcmd.c (__validuser2_sa): Likewise.
6010 * io/fts.c (fts_open): Likewise.
6011 (fts_load): Likewise.
6012 (fts_close): Likewise.
6013 (fts_read): Likewise.
6014 (fts_children): Likewise.
6015 (fts_build): Likewise.
6016 (fts_stat): Likewise.
6017 (fts_sort): Likewise.
6018 (fts_alloc): Likewise.
6019 (fts_lfree): Likewise.
6020 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
6021 (_IO_file_xsgetn): Likewise.
6022 (_IO_file_xsgetn_mmap): Likewise.
6023 * libio/iofopncook.c (_IO_cookie_read): Likewise.
6024 (_IO_cookie_write): Likewise.
6025 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
6026 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
6027 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
6028 * malloc/obstack.c (_obstack_begin): Likewise.
6029 (_obstack_begin_1): Likewise.
6030 (_obstack_newchunk): Likewise.
6031 (_obstack_allocated_p): Likewise.
6032 (obstack_free): Likewise.
6033 (_obstack_memory_used): Likewise.
6034 * misc/getttyent.c (getttynam): Likewise.
6035 (getttyent): Likewise.
6036 (skip): Likewise.
6037 (value): Likewise.
6038 * misc/getusershell.c (initshells): Likewise.
6039 * misc/syslog.c (__vsyslog_chk): Likewise.
6040 * misc/ttyslot.c (ttyslot): Likewise.
6041 * nis/nis_hash.c (__nis_hash): Likewise.
6042 * posix/fnmatch_loop.c (FCT): Likewise.
6043 * posix/getconf.c (print_all): Likewise.
6044 (main): Likewise.
6045 * posix/getopt.c (exchange): Likewise.
6046 * posix/glob.c (globfree): Likewise.
6047 (prefix_array): Likewise.
6048 (__glob_pattern_type): Likewise.
6049 * resolv/arpa/nameser.h (NS_GET16): Likewise.
6050 (NS_GET32): Likewise.
6051 (NS_PUT16): Likewise.
6052 (NS_PUT32): Likewise.
6053 * resolv/gethnamaddr.c (getanswer): Likewise.
6054 (gethostbyname2): Likewise.
6055 (gethostbyaddr): Likewise.
6056 (_gethtent): Likewise.
6057 (_gethtbyname2): Likewise.
6058 (_gethtbyaddr): Likewise.
6059 * resolv/ns_print.c (dst_s_get_int16): Likewise.
6060 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6061 * resolv/res_init.c (__res_vinit): Likewise.
6062 (net_mask): Likewise.
6063 * resolv/res_mkquery.c (outchar): Likewise.
6064 (PRINT): Likewise.
6065 * stdio-common/printf_fp.c (outchar): Likewise.
6066 (PRINT): Likewise.
6067 * stdio-common/printf_fphex.c (outchar): Likewise.
6068 (PRINT): Likewise.
6069 * stdio-common/printf_size.c (outchar): Likewise.
6070 (PRINT): Likewise.
6071 * stdio-common/test_rdwr.c (main): Likewise.
6072 * stdio-common/tfformat.c (matches): Likewise.
6073 * stdio-common/vfprintf.c (outchar): Likewise.
6074 (printf_unknown): Likewise.
6075 (buffered_vfprintf): Likewise.
6076 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6077 * stdio-common/xbug.c (AppendToBuffer): Likewise.
6078 (ReadFile): Likewise.
6079 * stdlib/qsort.c (SWAP): Likewise.
6080 (_quicksort): Likewise.
6081 * stdlib/setenv.c (__add_to_environ): Likewise.
6082 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6083 * stdlib/strtol_l.c (__strtol_l): Likewise.
6084 * stdlib/tst-strtod.c (main): Likewise.
6085 * stdlib/tst-strtol.c (main): Likewise.
6086 * stdlib/tst-strtoll.c (main): Likewise.
6087 * string/bits/string2.h (__strcmp_cc): Likewise.
6088 (__strcmp_cg): Likewise.
6089 (__strcspn_c1): Likewise.
6090 (__strcspn_c2): Likewise.
6091 (__strcspn_c3): Likewise.
6092 (__strspn_c1): Likewise.
6093 (__strspn_c2): Likewise.
6094 (__strspn_c3): Likewise.
6095 (__strsep_1c): Likewise.
6096 (__strsep_2c): Likewise.
6097 (__strsep_3c): Likewise.
6098 * string/memccpy.c (__memccpy): Likewise.
6099 * string/stpcpy.c (__stpcpy): Likewise.
6100 * string/strcmp.c (strcmp): Likewise.
6101 * string/strrchr.c (strrchr): Likewise.
6102 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
6103 Likewise.
6104 * sysdeps/mach/hurd/getcwd.c
6105 (_hurd_canonicalize_directory_name_internal): Likewise.
6106 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
6107 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
6108 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
6109 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
6110 Likewise, in both definitions.
6111 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
6112 definitions.
6113 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
6114 64] (__bswap_64): Likewise.
6115 * time/test_time.c (main): Likewise.
6116 * time/tzfile.c (__tzfile_read): Likewise.
6117 (__tzfile_compute): Likewise.
6118 * time/tzset.c (__tzset_parse_tz): Likewise.
6119 (tzset_internal): Likewise.
6120 (compute_change): Likewise.
6121 * wcsmbs/wcscat.c (__wcscat): Likewise.
6122 * wcsmbs/wcschr.c (wcschr): Likewise.
6123 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
6124 * wcsmbs/wcscspn.c (wcscspn): Likewise.
6125 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
6126 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
6127 * wcsmbs/wcsspn.c (wcsspn): Likewise.
6128 * wcsmbs/wcsstr.c (wcsstr): Likewise.
6129 * wcsmbs/wmemchr.c (wmemchr): Likewise.
6130 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6131 * wcsmbs/wmemset.c (wmemset): Likewise.
6132
9e54314b
JM
61332013-06-06 Joseph Myers <joseph@codesourcery.com>
6134
6135 * scripts/config.guess: Update to version 2013-05-16.
6136 * scripts/config.sub: Update to version 2013-04-24.
6137 * scripts/install-sh: Update to version 2011-11-20.07.
6138 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
6139 * scripts/move-if-change: Update to version 2012-01-06 07:23.
6140
350635a5
OB
61412013-06-06 Ondřej Bílka <neleai@seznam.cz>
6142
6143 * debug/fgetws_u_chk.c: Fix leading whitespaces.
6144 * elf/sln.c: Likewise.
6145 * hurd/hurd/ioctl.h: Likewise.
6146 * hurd/hurdmalloc.c: Likewise.
6147 * hurd/xattr.c: Likewise.
6148 * include/shlib-compat.h: Likewise.
6149 * inet/ruserpass.c: Likewise.
6150 * libio/iofgets_u.c: Likewise.
6151 * libio/iofgetws_u.c: Likewise.
6152 * locale/programs/ld-identification.c: Likewise.
6153 * locale/programs/ld-time.c: Likewise.
6154 * mach/msg-destroy.c: Likewise.
6155 * nss/nss_files/files-netgrp.c: Likewise.
6156 * resolv/res_data.c: Likewise.
6157 * soft-fp/op-1.h: Likewise.
6158 * soft-fp/op-2.h: Likewise.
6159 * soft-fp/op-4.h: Likewise.
6160 * soft-fp/op-common.h: Likewise.
6161 * stdio-common/printf_fphex.c: Likewise.
6162 * stdlib/strtod_l.c: Likewise.
6163 * sunrpc/rpc/clnt.h: Likewise.
6164 * sysdeps/generic/framestate.c: Likewise.
6165 * sysdeps/i386/bsd-_setjmp.S: Likewise.
6166 * sysdeps/i386/bsd-setjmp.S: Likewise.
6167 * sysdeps/i386/__longjmp.S: Likewise.
6168 * sysdeps/i386/setjmp.S: Likewise.
6169 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6170 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6171 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6172 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6173 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6174 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6175 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6176 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6177 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6178 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
6179 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6180 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6181 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6182 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6183 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6184 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6185 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6186 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
6187 * sysdeps/ieee754/support.c: Likewise.
6188 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6189 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
6190 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
6191 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
6192 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
6193 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
6194 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
6195 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
6196 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
6197 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
6198 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
6199 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
6200 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
6201 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
6202 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
6203 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
6204 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6206
44a988af
OB
62072013-06-05 Ondřej Bílka <neleai@seznam.cz>
6208
25506f09 6209 * posix/transbug.c: Remove executable mode.
44a988af 6210
9c84384c
JM
62112013-06-05 Joseph Myers <joseph@codesourcery.com>
6212
6213 * crypt/speeds.c: Remove trailing whitespace.
6214 * dlfcn/default.c: Likewise.
6215 * elf/ifuncdep2.c: Likewise.
6216 * elf/ifuncmain1.c: Likewise.
6217 * elf/ifuncmain1vis.c: Likewise.
6218 * elf/testobj.h: Likewise.
6219 * elf/tst-stackguard1.c: Likewise.
6220 * gmon/sys/gmon.h: Likewise.
6221 * hurd/hurdmsg.c: Likewise.
6222 * hurd/new-fd.c: Likewise.
6223 * hurd/ports-get.c: Likewise.
6224 * iconvdata/ibm1008_420.c: Likewise.
6225 * inet/tst-getni1.c: Likewise.
6226 * inet/tst-getni2.c: Likewise.
6227 * libio/ioungetc.c: Likewise.
6228 * libio/wfiledoalloc.c: Likewise.
6229 * manual/libm-err-tab.pl: Likewise.
6230 * math/w_dremf.c: Likewise.
6231 * misc/ftruncate.c: Likewise.
6232 * posix/bug-glob2.c: Likewise.
6233 * posix/tst-pcre.c: Likewise.
6234 * posix/wait4.c: Likewise.
6235 * resolv/README: Likewise.
6236 * resolv/res_debug.h: Likewise.
6237 * resolv/tst-inet_ntop.c: Likewise.
6238 * setjmp/bug269-setjmp.c: Likewise.
6239 * soft-fp/extended.h: Likewise.
6240 * soft-fp/op-1.h: Likewise.
6241 * soft-fp/op-2.h: Likewise.
6242 * soft-fp/op-4.h: Likewise.
6243 * soft-fp/op-8.h: Likewise.
6244 * soft-fp/testit.c: Likewise.
6245 * stdio-common/bug16.c: Likewise.
6246 * stdlib/random.c: Likewise.
6247 * sunrpc/rpcsvc/rquota.x: Likewise.
6248 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
6249 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6250 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6251 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6252 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6253 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6254 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6255 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6256 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6257 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6258 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6259 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6260 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6261 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6262 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6263 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6264 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6265 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6266 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6267 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6268 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6269 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6270 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6271 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6272 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6273 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6274 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6275 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6276 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6277 * sysdeps/ieee754/s_lib_version.c: Likewise.
6278 * sysdeps/mach/hurd/check_fds.c: Likewise.
6279 * sysdeps/mach/hurd/getsockname.c: Likewise.
6280 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
6281 * sysdeps/mach/hurd/recvfrom.c: Likewise.
6282 * sysdeps/powerpc/bits/link.h: Likewise.
6283 * sysdeps/powerpc/dl-procinfo.c: Likewise.
6284 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
6285 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
6286 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
6287 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6288 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6289 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
6290 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6291 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
6292 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6293 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
6294 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6295 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
6296 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6297 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6298 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6299 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6300 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6301 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6302 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6303 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6304 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
6305 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6306 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6307 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
6308 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6309 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6310 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6311 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6312 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6313 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6314 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6315 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6316 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6317 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
6318 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6319 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
6320 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6321 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
6322 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
6323 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
6324 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
6325 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
6326 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
6327 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6328 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
6329 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
6330 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6331 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
6332 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
6333 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6334 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6335 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6336 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6337 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
6338 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
6339 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
6340 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6341 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
6342 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
6343 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
6344 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
6345 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6346 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6347 * sysdeps/powerpc/sysdep.h: Likewise.
6348 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6349 * sysdeps/s390/s390-64/sub_n.S: Likewise.
6350 * sysdeps/sh/dl-trampoline.S: Likewise.
6351 * sysdeps/sh/memset.S: Likewise.
6352 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
6353 * sysdeps/sh/strlen.S: Likewise.
6354 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
6355 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
6356 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
6357 * sysdeps/sparc/sparc32/rem.S: Likewise.
6358 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
6359 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
6360 * sysdeps/sparc/sparc32/strchr.S: Likewise.
6361 * sysdeps/sparc/sparc32/udiv.S: Likewise.
6362 * sysdeps/sparc/sparc32/urem.S: Likewise.
6363 * sysdeps/sparc/sparc64/add_n.S: Likewise.
6364 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6365 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
6366 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
6367 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
6368 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
6369 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6370 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
6371 * sysdeps/unix/bsd/times.c: Likewise.
6372 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
6373 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
6374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6377 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6378 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6379 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
6380 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
6381 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
6382 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
6383 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6384 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6385 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6386 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6387 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
6388 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6389 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
6390 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
6391 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
6392 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
6393 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
6394 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6395 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
6396 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
6397 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6398 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
6399 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6400 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
6401 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
6402 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
6403 * sysdeps/x86_64/strcspn.S: Likewise.
6404
869378a5
RA
64052013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6406
6407 * locale/C-translit.h: Revert #include <stdint.h> because this is a
6408 generated file. Regenerate properly from gen-translit.pl.
6409 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
6410 locale/C-translit.h.
6411
840e2943
AS
64122013-06-05 Andreas Schwab <schwab@suse.de>
6413
6414 [BZ #15100]
6415 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
6416 week as 6 instead of -1.
6417 * time/tst-strptime.c (day_tests): Add test case.
6418
4c60cb0c
SP
64192013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6420
6421 * sysdeps/generic/math_private.h
6422 (libc_feholdexcept_setround_53bit): Replace with
6423 libc_feholdsetround_53bit.
6424 (libc_feupdateenv_53bit): Replace with
6425 libc_feresetround_53bit.
6426 (SET_RESTORE_ROUND_53BIT): Adjust.
6427
d180203e
SP
64282013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6429
96df079a
SP
6430 * string/test-strchrnul.c: Add copyright header.
6431
d180203e
SP
6432 * posix/tst-getaddrinfo4.c: Increase test timeout.
6433
8b0ccb2d
CD
64342013-06-03 Carlos O'Donell <carlos@redhat.com>
6435
6436 [BZ #15536]
6437 * math/libm-test.inc (MAX_EXP): Remove
6438 (MIN_EXP): Define.
6439 (ulp): Use MIN_EXP - MANT_DIG.
6440 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
6441
3b3c4d40
CD
64422013-05-31 Carlos O'Donell <carlos@redhat.com>
6443
6444 * po/be.po: Revert last change.
6445 * po/zh_CN.po: Likewise.
6446 * po/header.pot: Likewise.
6447
fab7ce3f
JM
64482013-05-31 Joseph Myers <joseph@codesourcery.com>
6449
6450 * Makefile ($(common-objpfx)linkobj/libc.so): Define
6451 link-libc-deps to empty as target-specific variable.
6452 * Makerules (link-libc-args): New variable.
6453 (libc-for-link): Likewise.
6454 (link-libc-deps): Likewise.
6455 (lib%.so): Depend on $(link-libc-deps). Link with
6456 $(link-libc-args).
6457 (build-module): Link with $(link-libc-args).
6458 (build-module-asneeded): Likewise.
6459 (build-module-helper-objlist): Filter out $(link-libc-deps) from
6460 list of objects.
6461 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
6462 target-specific variable.
6463 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
6464 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
6465 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
6466 libc.
6467 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
6468 libc and ld.so.
6469 ($(objpfx)libpcprofile.so): Likewise.
6470 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
6471 libc_nonshared.a.
6472 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
6473 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
6474 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
6475 $(link-libc-deps).
6476 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
6477 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
6478 * login/Makefile ($(objpfx)libutil.so): Likewise.
6479 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
6480 * math/Makefile ($(objpfx)libm.so): Likewise.
6481 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
6482 $(objpfx)libnsl.so): Define libc-for-link as target-specific
6483 variable instead of depending directly on libc.
6484 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
6485 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
6486 $(link-libc-deps).
6487 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
6488 libc.
6489 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
6490 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
6491 ($(objpfx)libanl.so): Likewise.
6492 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
6493 ld.so.
6494 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
6495 $(link-libc-deps).
6496 * sysdeps/i386/fpu/Makefile: Remove file.
6497 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
6498 ($(objpfx)libm.so): Remove dependency on ld.so.
6499
eca5920c
PF
65002013-05-30 Patsy Franklin <pfrankli@redhat.com>
6501
6502 [BZ # 15553]
6503 * nis/yp_xdr.c (XDRMAXNAME): Define.
6504 (XDRMAXRECORD): Define.
6505 (xdr_domainname): Use XDRMAXNAME.
6506 (xdr_mapname): Likewise.
6507 (xdr_peername): Likewise.
6508 (xdr_keydat): Use XDRMAXRECORD.
6509 (xdr_valdat): Likewise.
6510
65112013-05-30 Jeff Law <law@redhat.com>
96945714
JL
6512
6513 [BZ #14256]
6514 * manual/errno.texi (ESTALE): Update to account for more than
6515 just NFS file systems.
6516 * sysdeps/gnu/errlist.c: Regenerated.
6517
b9375348
SP
65182013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6519
6520 [BZ #15465]
6521 * elf/Makefile (tests): Add tst-null-argv.
6522 (modules-names): Add tst-null-argv-lib.
6523 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
6524 (tst-null-argv-ENV): Set environment for tst-null-argv.
6525 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
6526 (RTLD_PROGNAME): New macro.
6527 * elf/tst-null-argv.c: New test case.
6528 * elf/tst-null-argv-lib.c: Library for test case.
6529 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
6530 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6531 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
6532 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
6533 * elf/dl-init.c (call_init): Likewise.
6534 (_dl_init): Likewise.
6535 * elf/dl-load.c (print_search_path): Likewise.
6536 (_dl_map_object): Likewise.
6537 * elf/dl-lookup.c (do_lookup_x): Likewise.
6538 (add_dependency): Likewise.
6539 (_dl_lookup_symbol_x): Likewise.
6540 (_dl_debug_bindings): Likewise.
6541 * elf/dl-open.c (_dl_show_scope): Likewise.
6542 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6543 * elf/dl-version.c (match_symbol): Likewise.
6544 (_dl_check_map_versions): Likewise.
6545 * elf/rtld.c (dl_main): Likewise.
6546 (print_unresolved): Use RTLD_PROGNAME.
6547 (print_missing_version): Likewise.
6548 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
6549 (elf_machine_rela): Likewise.
6550 * sysdeps/powerpc/powerpc32/dl-machine.c
6551 (__process_machine_rela): Likewise.
6552 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6553 Likewise.
6554 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6555 Likewise.
6556 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
6557 Likewise.
6558 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6559 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
6560 Likewise.
6561 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
6562 Likewise.
6563 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6564
8a9f20c8
CD
65652013-05-28 Carlos O'Donell <carlos@redhat.com>
6566
6567 * po/be.po: Add descriptive title.
6568 * po/zh_CN.po: Likewise.
6569 * po/header.pot: Likewise.
6570
0e60d68e
MF
65712013-05-28 Mike Frysinger <vapier@gentoo.org>
6572
6573 * locale/programs/locarchive.c (create_archive): Inlucde fname in
6574 error message.
6575 (enlarge_archive): Likewise.
6576
56b672e9
BN
65772013-05-28 Ben North <ben@redfrontdoor.org>
6578
6579 * manual/arith.texi (frexp): It is the magnitude of the return
6580 value which lies in [0.5, 1), not the return value itself.
6581
5e056687
AZ
65822013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6583
6584 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6585
2b66ef5d
TS
65862013-05-26 Thomas Schwinge <thomas@codesourcery.com>
6587
528c2405
TS
6588 * stdio-common/bug26.c (main): Correct fscanf template.
6589
07b4c13d
TS
6590 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
6591 declare _dl_skip_args.
6592
ec9dd97c
TS
6593 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
6594 Don't declare.
6595
2b66ef5d
TS
6596 * manual/platform.texi: Add missing @end deftypefun.
6597
4f8dfe27
JM
65982013-05-24 Joseph Myers <joseph@codesourcery.com>
6599
0323d086
JM
6600 [BZ #15529]
6601 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
6602 bit of mantissa of 2^16382.
6603 * math/libm-test.inc (hypot_test_data): Add more tests.
6604
dd4259b9
JM
6605 * math/libm-test.inc: Add drem and pow10 to list of tested
6606 functions.
6607 (pow10_test): New function.
6608 (drem_test): Likewise.
6609 (drem_test_tonearest): Likewise.
6610 (drem_test_towardzero): Likewise.
6611 (drem_test_downward): Likewise.
6612 (drem_test_upward): Likewise.
6613 (main): Call the new functions.
6614
4f8dfe27
JM
6615 * math/libm-test.inc (finite_test_data): Remove.
6616 (finite_test): Run tests from isfinite_test_data.
6617 (gamma_test_data): Remove.
6618 (gamma_test): Run tests from lgamma_test_data.
6619 * sysdeps/i386/fpu/libm-test-ulps: Update.
6620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6621
d116b7c4
AZ
66222013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6623
6624 * manual/platform.texi: Add PowerPC PPR function set documentation.
6625 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
6626 implementation.
6627
e96e3767
CD
66282013-05-24 Carlos O'Donell <carlos@redhat.com>
6629
6630 * math/libm-test.inc (MAX_EXP): Define.
6631 (ULPDIFF): Define.
6632 (ulp): New function.
6633 (check_float_internal): Use ULPDIFF.
6634 (cpow_test): Disable failing test.
6635 (check_ulp): Test ulp() implemetnation.
6636 (main): Call check_ulp before starting tests.
6637
b679a606
JM
66382013-05-24 Joseph Myers <joseph@codesourcery.com>
6639
e8bdba36
JM
6640 * math/gen-libm-test.pl (generate_testfile): Do not handle
6641 START_DATA and END_DATA.
6642 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
6643 END_DATA.
6644 (acos_tonearest_test_data): Likewise.
6645 (acos_towardzero_test_data): Likewise.
6646 (acos_downward_test_data): Likewise.
6647 (acos_upward_test_data): Likewise.
6648 (acosh_test_data): Likewise.
6649 (asin_test_data): Likewise.
6650 (asin_tonearest_test_data): Likewise.
6651 (asin_towardzero_test_data): Likewise.
6652 (asin_downward_test_data): Likewise.
6653 (asin_upward_test_data): Likewise.
6654 (asinh_test_data): Likewise.
6655 (atan_test_data): Likewise.
6656 (atanh_test_data): Likewise.
6657 (atan2_test_data): Likewise.
6658 (cabs_test_data): Likewise.
6659 (cacos_test_data): Likewise.
6660 (cacosh_test_data): Likewise.
6661 (carg_test_data): Likewise.
6662 (casin_test_data): Likewise.
6663 (casinh_test_data): Likewise.
6664 (catan_test_data): Likewise.
6665 (catanh_test_data): Likewise.
6666 (cbrt_test_data): Likewise.
6667 (ccos_test_data): Likewise.
6668 (ccosh_test_data): Likewise.
6669 (ceil_test_data): Likewise.
6670 (cexp_test_data): Likewise.
6671 (cimag_test_data): Likewise.
6672 (clog_test_data): Likewise.
6673 (clog10_test_data): Likewise.
6674 (conj_test_data): Likewise.
6675 (copysign_test_data): Likewise.
6676 (cos_test_data): Likewise.
6677 (cos_tonearest_test_data): Likewise.
6678 (cos_towardzero_test_data): Likewise.
6679 (cos_downward_test_data): Likewise.
6680 (cos_upward_test_data): Likewise.
6681 (cosh_test_data): Likewise.
6682 (cosh_tonearest_test_data): Likewise.
6683 (cosh_towardzero_test_data): Likewise.
6684 (cosh_downward_test_data): Likewise.
6685 (cosh_upward_test_data): Likewise.
6686 (cpow_test_data): Likewise.
6687 (cproj_test_data): Likewise.
6688 (creal_test_data): Likewise.
6689 (csin_test_data): Likewise.
6690 (csinh_test_data): Likewise.
6691 (csqrt_test_data): Likewise.
6692 (ctan_test_data): Likewise.
6693 (ctan_tonearest_test_data): Likewise.
6694 (ctan_towardzero_test_data): Likewise.
6695 (ctan_downward_test_data): Likewise.
6696 (ctan_upward_test_data): Likewise.
6697 (ctanh_test_data): Likewise.
6698 (ctanh_tonearest_test_data): Likewise.
6699 (ctanh_towardzero_test_data): Likewise.
6700 (ctanh_downward_test_data): Likewise.
6701 (ctanh_upward_test_data): Likewise.
6702 (erf_test_data): Likewise.
6703 (erfc_test_data): Likewise.
6704 (exp_test_data): Likewise.
6705 (exp_tonearest_test_data): Likewise.
6706 (exp_towardzero_test_data): Likewise.
6707 (exp_downward_test_data): Likewise.
6708 (exp_upward_test_data): Likewise.
6709 (exp10_test_data): Likewise.
6710 (exp2_test_data): Likewise.
6711 (expm1_test_data): Likewise.
6712 (fabs_test_data): Likewise.
6713 (fdim_test_data): Likewise.
6714 (finite_test_data): Likewise.
6715 (floor_test_data): Likewise.
6716 (fma_test_data): Likewise.
6717 (fma_towardzero_test_data): Likewise.
6718 (fma_downward_test_data): Likewise.
6719 (fma_upward_test_data): Likewise.
6720 (fmax_test_data): Likewise.
6721 (fmin_test_data): Likewise.
6722 (fmod_test_data): Likewise.
6723 (fpclassify_test_data): Likewise.
6724 (frexp_test_data): Likewise.
6725 (gamma_test_data): Likewise.
6726 (hypot_test_data): Likewise.
6727 (ilogb_test_data): Likewise.
6728 (isfinite_test_data): Likewise.
6729 (isgreater_test_data): Likewise.
6730 (isgreaterequal_test_data): Likewise.
6731 (isinf_test_data): Likewise.
6732 (isless_test_data): Likewise.
6733 (islessequal_test_data): Likewise.
6734 (islessgreater_test_data): Likewise.
6735 (isnan_test_data): Likewise.
6736 (isnormal_test_data): Likewise.
6737 (issignaling_test_data): Likewise.
6738 (isunordered_test_data): Likewise.
6739 (j0_test_data): Likewise.
6740 (j1_test_data): Likewise.
6741 (jn_test_data): Likewise.
6742 (ldexp_test_data): Likewise.
6743 (lgamma_test_data): Likewise.
6744 (lrint_test_data): Likewise.
6745 (lrint_tonearest_test_data): Likewise.
6746 (lrint_towardzero_test_data): Likewise.
6747 (lrint_downward_test_data): Likewise.
6748 (lrint_upward_test_data): Likewise.
6749 (llrint_test_data): Likewise.
6750 (llrint_tonearest_test_data): Likewise.
6751 (llrint_towardzero_test_data): Likewise.
6752 (llrint_downward_test_data): Likewise.
6753 (llrint_upward_test_data): Likewise.
6754 (log_test_data): Likewise.
6755 (log10_test_data): Likewise.
6756 (log1p_test_data): Likewise.
6757 (log2_test_data): Likewise.
6758 (logb_test_data): Likewise.
6759 (logb_downward_test_data): Likewise.
6760 (lround_test_data): Likewise.
6761 (llround_test_data): Likewise.
6762 (modf_test_data): Likewise.
6763 (nearbyint_test_data): Likewise.
6764 (nextafter_test_data): Likewise.
6765 (nexttoward_test_data): Likewise.
6766 (pow_test_data): Likewise.
6767 (pow_tonearest_test_data): Likewise.
6768 (pow_towardzero_test_data): Likewise.
6769 (pow_downward_test_data): Likewise.
6770 (pow_upward_test_data): Likewise.
6771 (remainder_test_data): Likewise.
6772 (remainder_tonearest_test_data): Likewise.
6773 (remainder_towardzero_test_data): Likewise.
6774 (remainder_downward_test_data): Likewise.
6775 (remainder_upward_test_data): Likewise.
6776 (remquo_test_data): Likewise.
6777 (rint_test_data): Likewise.
6778 (rint_tonearest_test_data): Likewise.
6779 (rint_towardzero_test_data): Likewise.
6780 (rint_downward_test_data): Likewise.
6781 (rint_upward_test_data): Likewise.
6782 (round_test_data): Likewise.
6783 (scalb_test_data): Likewise.
6784 (scalbn_test_data): Likewise.
6785 (scalbln_test_data): Likewise.
6786 (signbit_test_data): Likewise.
6787 (sin_test_data): Likewise.
6788 (sin_tonearest_test_data): Likewise.
6789 (sin_towardzero_test_data): Likewise.
6790 (sin_downward_test_data): Likewise.
6791 (sin_upward_test_data): Likewise.
6792 (sincos_test_data): Likewise.
6793 (sinh_test_data): Likewise.
6794 (sinh_tonearest_test_data): Likewise.
6795 (sinh_towardzero_test_data): Likewise.
6796 (sinh_downward_test_data): Likewise.
6797 (sinh_upward_test_data): Likewise.
6798 (sqrt_test_data): Likewise.
6799 (tan_test_data): Likewise.
6800 (tan_tonearest_test_data): Likewise.
6801 (tan_towardzero_test_data): Likewise.
6802 (tan_downward_test_data): Likewise.
6803 (tan_upward_test_data): Likewise.
6804 (tanh_test_data): Likewise.
6805 (tgamma_test_data): Likewise.
6806 (trunc_test_data): Likewise.
6807 (y0_test_data): Likewise.
6808 (y1_test_data): Likewise.
6809 (yn_test_data): Likewise.
6810 (significand_test_data): Likewise.
6811
b679a606
JM
6812 * math/gen-libm-test.pl (@functions): Remove variable.
6813 (generate_testfile): Don't handle START and END lines.
6814 * math/libm-test.inc (START): New macro.
6815 (END): Likewise.
6816 (END_COMPLEX): Likewise.
6817 (acos_test): Use END macro without arguments.
6818 (acos_test_tonearest): Likewise.
6819 (acos_test_towardzero): Likewise.
6820 (acos_test_downward): Likewise.
6821 (acos_test_upward): Likewise.
6822 (acosh_test): Likewise.
6823 (asin_test): Likewise.
6824 (asin_test_tonearest): Likewise.
6825 (asin_test_towardzero): Likewise.
6826 (asin_test_downward): Likewise.
6827 (asin_test_upward): Likewise.
6828 (asinh_test): Likewise.
6829 (atan_test): Likewise.
6830 (atanh_test): Likewise.
6831 (atan2_test): Likewise.
6832 (cabs_test): Likewise.
6833 (cacos_test): Use END_COMPLEX macro without arguments.
6834 (cacosh_test): Likewise.
6835 (carg_test): Use END macro without arguments.
6836 (casin_test): Use END_COMPLEX macro without arguments.
6837 (casinh_test): Likewise.
6838 (catan_test): Likewise.
6839 (catanh_test): Likewise.
6840 (cbrt_test): Use END macro without arguments.
6841 (ccos_test): Use END_COMPLEX macro without arguments.
6842 (ccosh_test): Likewise.
6843 (ceil_test): Use END macro without arguments.
6844 (cexp_test): Use END_COMPLEX macro without arguments.
6845 (cimag_test): Use END macro without arguments.
6846 (clog_test): Use END_COMPLEX macro without arguments.
6847 (clog10_test): Likewise.
6848 (conj_test): Likewise.
6849 (copysign_test): Use END macro without arguments.
6850 (cos_test): Likewise.
6851 (cos_test_tonearest): Likewise.
6852 (cos_test_towardzero): Likewise.
6853 (cos_test_downward): Likewise.
6854 (cos_test_upward): Likewise.
6855 (cosh_test): Likewise.
6856 (cosh_test_tonearest): Likewise.
6857 (cosh_test_towardzero): Likewise.
6858 (cosh_test_downward): Likewise.
6859 (cosh_test_upward): Likewise.
6860 (cpow_test): Use END_COMPLEX macro without arguments.
6861 (cproj_test): Likewise.
6862 (creal_test): Use END macro without arguments.
6863 (csin_test): Use END_COMPLEX macro without arguments.
6864 (csinh_test): Likewise.
6865 (csqrt_test): Likewise.
6866 (ctan_test): Likewise.
6867 (ctan_test_tonearest): Likewise.
6868 (ctan_test_towardzero): Likewise.
6869 (ctan_test_downward): Likewise.
6870 (ctan_test_upward): Likewise.
6871 (ctanh_test): Likewise.
6872 (ctanh_test_tonearest): Likewise.
6873 (ctanh_test_towardzero): Likewise.
6874 (ctanh_test_downward): Likewise.
6875 (ctanh_test_upward): Likewise.
6876 (erf_test): Use END macro without arguments.
6877 (erfc_test): Likewise.
6878 (exp_test): Likewise.
6879 (exp_test_tonearest): Likewise.
6880 (exp_test_towardzero): Likewise.
6881 (exp_test_downward): Likewise.
6882 (exp_test_upward): Likewise.
6883 (exp10_test): Likewise.
6884 (exp2_test): Likewise.
6885 (expm1_test): Likewise.
6886 (fabs_test): Likewise.
6887 (fdim_test): Likewise.
6888 (finite_test): Likewise.
6889 (floor_test): Likewise.
6890 (fma_test): Likewise.
6891 (fma_test_towardzero): Likewise.
6892 (fma_test_downward): Likewise.
6893 (fma_test_upward): Likewise.
6894 (fmax_test): Likewise.
6895 (fmin_test): Likewise.
6896 (fmod_test): Likewise.
6897 (fpclassify_test): Likewise.
6898 (frexp_test): Likewise.
6899 (gamma_test): Likewise.
6900 (hypot_test): Likewise.
6901 (ilogb_test): Likewise.
6902 (isfinite_test): Likewise.
6903 (isgreater_test): Likewise.
6904 (isgreaterequal_test): Likewise.
6905 (isinf_test): Likewise.
6906 (isless_test): Likewise.
6907 (islessequal_test): Likewise.
6908 (islessgreater_test): Likewise.
6909 (isnan_test): Likewise.
6910 (isnormal_test): Likewise.
6911 (issignaling_test): Likewise.
6912 (isunordered_test): Likewise.
6913 (j0_test): Likewise.
6914 (j1_test): Likewise.
6915 (jn_test): Likewise.
6916 (ldexp_test): Likewise.
6917 (lgamma_test): Likewise.
6918 (lrint_test): Likewise.
6919 (lrint_test_tonearest): Likewise.
6920 (lrint_test_towardzero): Likewise.
6921 (lrint_test_downward): Likewise.
6922 (lrint_test_upward): Likewise.
6923 (llrint_test): Likewise.
6924 (llrint_test_tonearest): Likewise.
6925 (llrint_test_towardzero): Likewise.
6926 (llrint_test_downward): Likewise.
6927 (llrint_test_upward): Likewise.
6928 (log_test): Likewise.
6929 (log10_test): Likewise.
6930 (log1p_test): Likewise.
6931 (log2_test): Likewise.
6932 (logb_test): Likewise.
6933 (logb_test_downward): Likewise.
6934 (lround_test): Likewise.
6935 (llround_test): Likewise.
6936 (modf_test): Likewise.
6937 (nearbyint_test): Likewise.
6938 (nextafter_test): Likewise.
6939 (nexttoward_test): Likewise.
6940 (pow_test): Likewise.
6941 (pow_test_tonearest): Likewise.
6942 (pow_test_towardzero): Likewise.
6943 (pow_test_downward): Likewise.
6944 (pow_test_upward): Likewise.
6945 (remainder_test): Likewise.
6946 (remainder_test_tonearest): Likewise.
6947 (remainder_test_towardzero): Likewise.
6948 (remainder_test_downward): Likewise.
6949 (remainder_test_upward): Likewise.
6950 (remquo_test): Likewise.
6951 (rint_test): Likewise.
6952 (rint_test_tonearest): Likewise.
6953 (rint_test_towardzero): Likewise.
6954 (rint_test_downward): Likewise.
6955 (rint_test_upward): Likewise.
6956 (round_test): Likewise.
6957 (scalb_test): Likewise.
6958 (scalbn_test): Likewise.
6959 (scalbln_test): Likewise.
6960 (signbit_test): Likewise.
6961 (sin_test): Likewise.
6962 (sin_test_tonearest): Likewise.
6963 (sin_test_towardzero): Likewise.
6964 (sin_test_downward): Likewise.
6965 (sin_test_upward): Likewise.
6966 (sincos_test): Likewise.
6967 (sinh_test): Likewise.
6968 (sinh_test_tonearest): Likewise.
6969 (sinh_test_towardzero): Likewise.
6970 (sinh_test_downward): Likewise.
6971 (sinh_test_upward): Likewise.
6972 (sqrt_test): Likewise.
6973 (tan_test): Likewise.
6974 (tan_test_tonearest): Likewise.
6975 (tan_test_towardzero): Likewise.
6976 (tan_test_downward): Likewise.
6977 (tan_test_upward): Likewise.
6978 (tanh_test): Likewise.
6979 (tgamma_test): Likewise.
6980 (trunc_test): Likewise.
6981 (y0_test): Likewise.
6982 (y1_test): Likewise.
6983 (yn_test): Likewise.
6984 (significand_test): Likewise.
6985
bae143d2
OB
69862013-05-24 Ondřej Bílka <neleai@seznam.cz>
6987
6988 [BZ #15381]
6989 * libio/genops.c (_IO_no_init): Initialize wide struct info.
6990
9323d39b
EM
69912013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
6992
d4ea44a0 6993 [BZ #14894]
9323d39b
EM
6994 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
6995 __ppc_mdoio and __ppc_mdoom.
6996 * manual/platform.texi: Document new functions __ppc_yield,
6997 __ppc_mdoio and __ppc_mdoom.
6998
13e23af7
CD
69992013-05-22 Carlos O'Donell <carlos@redhat.com>
7000
7001 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
7002 (main): Mention "tls" pseudo-hwcap is legacy.
7003 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
7004
351fe550
JM
70052013-05-22 Joseph Myers <joseph@codesourcery.com>
7006
7007 * math/gen-libm-test.pl (parse_args): Output only string of
7008 arguments as text for test name, not full call or descriptions of
7009 tests for extra outputs.
7010 (generate_testfile): Do not pass function name to parse_args.
7011 Generate this_func variable from START.
7012 * math/libm-test.inc (struct test_f_f_data): Rename test_name
7013 field to arg_str.
7014 (struct test_ff_f_data): Likewise.
7015 (test_ff_f_data_nexttoward): Likewise.
7016 (struct test_fi_f_data): Likewise.
7017 (struct test_fl_f_data): Likewise.
7018 (struct test_if_f_data): Likewise.
7019 (struct test_fff_f_data): Likewise.
7020 (struct test_c_f_data): Likewise.
7021 (struct test_f_f1_data): Likewise. Remove field extra_name.
7022 (struct test_fF_f1_data): Likewise.
7023 (struct test_ffI_f1_data): Likewise.
7024 (struct test_c_c_data): Rename test_name field to arg_str.
7025 (struct test_cc_c_data): Likewise.
7026 (struct test_f_i_data): Likewise.
7027 (struct test_ff_i_data): Likewise.
7028 (struct test_f_l_data): Likewise.
7029 (struct test_f_L_data): Likewise.
7030 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
7031 and extra2_name.
7032 (COMMON_TEST_SETUP): New macro.
7033 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
7034 (COMMON_TEST_CLEANUP): Likewise.
7035 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
7036 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
7037 macros.
7038 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
7039 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
7040 macros.
7041 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
7042 (RUN_TEST_fff_f): Take argument string. Call new setup and
7043 cleanup macros.
7044 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
7045 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
7046 macros.
7047 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
7048 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
7049 macros.
7050 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7051 (RUN_TEST_fF_f1): Take argument string. Call new setup and
7052 cleanup macros.
7053 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7054 (RUN_TEST_fI_f1): Take argument string. Call new setup and
7055 cleanup macros.
7056 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7057 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
7058 cleanup macros.
7059 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7060 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
7061 macros.
7062 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
7063 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
7064 macros.
7065 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
7066 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
7067 macros.
7068 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
7069 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
7070 cleanup macros.
7071 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
7072 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
7073 cleanup macros.
7074 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
7075 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
7076 macros.
7077 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
7078 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
7079 cleanup macros.
7080 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
7081 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
7082 macros.
7083 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
7084 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
7085 macros.
7086 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
7087 (RUN_TEST_fFF_11): Take argument string. Call new setup and
7088 cleanup macros.
7089 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
7090
85118d4d
EBM
70912013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7092
7093 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
7094 to _sifields.sigfault.
7095 (si_addr_lsb): Define new macro.
7096 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7097 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7098 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
7099
7a44c18f
CD
71002013-05-03 Carlos O'Donell <carlos at redhat.com>
7101
7102 [BZ #15441]
7103 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
7104 returns -1.
7105 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
7106 null return -1.
7107 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
7108 loading the domain.
7109
b50a7181
JM
71102013-05-22 Joseph Myers <joseph@codesourcery.com>
7111
7112 * math/gen-libm-test.pl (parse_args): Do not include expected
7113 result in test name.
7114 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
7115 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7116 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7117 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7118 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7120
051063c8
SP
71212013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7122
3ce9e010
SP
7123 * benchtests/Makefile: Sort function entries.
7124
051063c8
SP
7125 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
7126 tanh, asinh, acosh, atanh.
7127 * benchtests/acos-inputs: New file.
7128 * benchtests/acosh-inputs: New file.
7129 * benchtests/asin-inputs: New file.
7130 * benchtests/asinh-inputs: New file.
7131 * benchtests/atanh-inputs: New file.
7132 * benchtests/cosh-inputs: New file.
7133 * benchtests/log-inputs: New file.
7134 * benchtests/sinh-inputs: New file.
7135 * benchtests/tanh-inputs: New file.
7136
47c22455
DL
71372013-05-21 Dmitry V. Levin <ldv@altlinux.org>
7138
7139 [BZ #15339]
7140 * posix/tst-getaddrinfo4.c: New test.
7141 * posix/Makefile (tests): Add it.
7142
3d04f5db
SP
71432013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7144
7145 [BZ #15339]
7146 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
7147 when no services were used.
7148 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
7149 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
7150
d5dd6189
AS
71512013-05-21 Andreas Schwab <schwab@suse.de>
7152
7153 [BZ #15014]
7154 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
7155 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
7156 successful.
7157 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
7158 redundant variable declarations and reallocation of buffer when
7159 parsing as IPv6 address. Always set NSS status when called from
7160 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
7161 buffer too small. Correct computation of needed size.
7162 * nss/Makefile (tests): Add test-digits-dots.
7163 * nss/test-digits-dots.c: New test.
7164
fef94eab
SP
71652013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7166
7167 * benchtests/Makefile: Remove instructions for adding
7168 benchmark tests.
7169 * benchtests/README: New file to explain how to execute and
7170 enhance the benchmark tests.
7171
e39adf43
AS
71722013-05-21 Andreas Schwab <schwab@suse.de>
7173
7174 [BZ #15493]
7175 * setjmp/Makefile (tests): Add tst-sigsetjmp.
7176 * setjmp/tst-sigsetjmp.c: New test.
7177
b2b671b6
OB
71782013-05-20 Ondřej Bílka <neleai@seznam.cz>
7179
7180 * sysdeps/x86_64/memset.S (memset): New implementation.
7181 (__bzero): Likewise.
7182 (__memset_tail): New function.
7183
2d48b41c
OB
71842013-05-20 Ondřej Bílka <neleai@seznam.cz>
7185
7186 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
7187 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
7188 __memcpy_sse2_unaligned ifunc selection.
7189 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7190 Add memcpy-sse2-unaligned.S.
7191 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7192 Add: __memcpy_sse2_unaligned.
7193
f16cc3eb
JM
71942013-05-19 Joseph Myers <joseph@codesourcery.com>
7195
3e694268
JM
7196 [BZ #15490]
7197 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7198 math_force_eval before restoring floating-point envrionment.
7199 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
7200 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
7201 Likewise.
7202 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
7203 <math_private.h>.
7204 (__nearbyintl): Use math_force_eval before restoring
7205 floating-point environment.
7206 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
7207
db62a907
JM
7208 * math/gen-libm-test.pl (special_functions): Remove.
7209 (parse_args): Don't handle TEST_extra. Handle functions with no
7210 return value.
7211 * math/libm-test.inc (struct test_sincos_data): Replace with
7212 struct test_fFF_11_data.
7213 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
7214 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
7215 (sincos_test_data): Change element type to struct
7216 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
7217 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
7218 RUN_TEST_LOOP_sincos.
7219 * math/README.libm-test: Don't mention special handling of
7220 individual functions.
7221 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
7222 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7223 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7224 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7225 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7227
f16cc3eb
JM
7228 * math/gen-libm-test.pl (get_variable): Remove function.
7229 (parse_args): Don't show pointer parameters to call in test
7230 names. Use "extra output N" in test names for extra outputs
7231 rather than naming variables.
7232
3779b5b6
JM
72332013-05-18 Joseph Myers <joseph@codesourcery.com>
7234
2ee094ff
JM
7235 [BZ #15488]
7236 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
7237 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
7238 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
7239 double tests.
7240 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
7241 disable.
7242 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
7243 check_long_double.
7244
3779b5b6
JM
7245 * math/gen-libm-test.pl (@tests): Remove variable.
7246 ($count): Likewise.
7247 (new_test): Remove function.
7248 (show_exceptions): New function.
7249 (special_functions): Use show_exceptions instead of new_test.
7250 (parse_args): Likewise.
7251 (generate_testfile): Pass only function name in generated call to
7252 print_max_error or print_complex_max_error.
7253 (get_ulps): Do not handle complex tests specially.
7254 (output_test): Rename to ...
7255 (get_all_ulps_for_test): ... this. Return a string rather than
7256 printing to a file. Require ulps to be present.
7257 (output_ulps): Generate arrays rather than #defines.
7258 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
7259 (struct ulp_data): New type.
7260 (BUILD_COMPLEX_ULP): Remove macro.
7261 (compare_ulp_data): New function.
7262 (find_ulps): Likewise.
7263 (find_test_ulps): Likewise.
7264 (find_function_ulps): Likewise.
7265 (find_complex_function_ulps): Likewise.
7266 (print_max_error): Determine allowed ulps using
7267 find_function_ulps.
7268 (print_complex_max_error): Determine allowed ulps using
7269 find_complex_function_ulps.
7270 (check_float_internal): Determine max ulps using find_test_ulps.
7271 (check_float): Do not take max_ulp parameter. Update call to
7272 check_float_internal.
7273 (check_complex): Likewise.
7274 (check_int): Do not take max_ulp parameter.
7275 (check_long): Likewise.
7276 (check_bool): Likewise.
7277 (check_longlong): Likewise.
7278 (struct test_f_f_data): Remove max_ulp field.
7279 (struct test_ff_f_data): Likewise.
7280 (struct test_ff_f_data_nexttoward): Likewise.
7281 (struct test_fi_f_data): Likewise.
7282 (struct test_fl_f_data): Likewise.
7283 (struct test_if_f_data): Likewise.
7284 (struct test_fff_f_data): Likewise.
7285 (struct test_c_f_data): Likewise.
7286 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
7287 (struct test_fF_f1_data): Likewise.
7288 (struct test_ffI_f1_data): Likewise.
7289 (struct test_c_c_data): Remove max_ulp field.
7290 (struct test_cc_c_data): Likewise.
7291 (struct test_f_i_data): Likewise.
7292 (struct test_ff_i_data): Likewise.
7293 (struct test_f_l_data): Likewise.
7294 (struct test_f_L_data): Likewise.
7295 (struct test_sincos_data): Likewise.
7296 (RUN_TEST_f_f): Do not handle ulps.
7297 (RUN_TEST_LOOP_f_f): Likewise.
7298 (RUN_TEST_2_f): Likewise.
7299 (RUN_TEST_LOOP_2_f): Likewise.
7300 (RUN_TEST_fff_f): Likewise.
7301 (RUN_TEST_LOOP_fff_f): Likewise.
7302 (RUN_TEST_c_f): Likewise.
7303 (RUN_TEST_LOOP_c_f): Likewise.
7304 (RUN_TEST_f_f1): Likewise.
7305 (RUN_TEST_LOOP_f_f1): Likewise.
7306 (RUN_TEST_fF_f1): Likewise.
7307 (RUN_TEST_LOOP_fF_f1): Likewise.
7308 (RUN_TEST_fI_f1): Likewise.
7309 (RUN_TEST_LOOP_fI_f1): Likewise.
7310 (RUN_TEST_ffI_f1): Likewise.
7311 (RUN_TEST_LOOP_ffI_f1): Likewise.
7312 (RUN_TEST_c_c): Likewise.
7313 (RUN_TEST_LOOP_c_c): Likewise.
7314 (RUN_TEST_cc_c): Likewise.
7315 (RUN_TEST_LOOP_cc_c): Likewise.
7316 (RUN_TEST_f_i): Likewise.
7317 (RUN_TEST_LOOP_f_i): Likewise.
7318 (RUN_TEST_f_i_tg): Likewise.
7319 (RUN_TEST_LOOP_f_i_tg): Likewise.
7320 (RUN_TEST_ff_i_tg): Likewise.
7321 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7322 (RUN_TEST_f_b): Likewise.
7323 (RUN_TEST_LOOP_f_b): Likewise.
7324 (RUN_TEST_f_b_tg): Likewise.
7325 (RUN_TEST_LOOP_f_b_tg): Likewise.
7326 (RUN_TEST_f_l): Likewise.
7327 (RUN_TEST_LOOP_f_l): Likewise.
7328 (RUN_TEST_f_L): Likewise.
7329 (RUN_TEST_LOOP_f_L): Likewise.
7330 (RUN_TEST_sincos): Likewise.
7331 (RUN_TEST_LOOP_sincos): Likewise.
7332
8269107f
JM
73332013-05-17 Joseph Myers <joseph@codesourcery.com>
7334
bb38759d
JM
7335 [BZ #15480]
7336 [BZ #15485]
7337 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
7338 main case of finite arguments, set rounding mode to FE_TONEAREST
7339 and discard exceptions.
7340 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
7341 exceptions.
7342 (remainder_tonearest_test_data): New variable.
7343 (remainder_test_tonearest): New function.
7344 (remainder_towardzero_test_data): New variable.
7345 (remainder_test_towardzero): New function.
7346 (remainder_downward_test_data): New variable.
7347 (remainder_test_downward): New function.
7348 (remainder_upward_test_data): New variable.
7349 (remainder_test_upward): New function.
7350 (main): Call the new test functions.
7351
a00bdcf0
JM
7352 * math/libm-test.inc (struct test_f_f1_data): Remove field
7353 extra_init.
7354 (struct test_fF_f1_data): Likewise.
7355 (struct test_ffI_f1_data): Likewise.
7356 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
7357 based on value of EXTRA_EXPECTED.
7358 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7359 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
7360 EXTRA_VAR based on value of EXTRA_EXPECTED.
7361 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7362 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
7363 EXTRA_VAR based on value of EXTRA_EXPECTED.
7364 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7365 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
7366 EXTRA_VAR based on value of EXTRA_EXPECTED.
7367 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7368 * math/gen-libm-test.pl (parse_args): Don't output initializers
7369 for extra output values.
7370
de407f79
JM
7371 * math/libm-test.inc (check_int): Expect result to be exactly
7372 equal to expected value and do not handle ulps.
7373 (check_long): Likewise.
7374 (check_longlong): Likewise.
7375
8269107f
JM
7376 * math/libm-test.inc (ceil_test_data): Test for "inexact"
7377 exceptions.
7378 (cimag_test_data): Likewise.
7379 (conj_test_data): Likewise.
7380 (copysign_test_data): Likewise.
7381 (cproj_test_data): Likewise.
7382 (creal_test_data): Likewise.
7383 (fabs_test_data): Likewise.
7384 (fdim_test_data): Likewise.
7385 (finite_test_data): Likewise.
7386 (floor_test_data): Likewise.
7387 (fmax_test_data): Likewise.
7388 (fmin_test_data): Likewise.
7389 (fmod_test_data): Likewise.
7390 (fpclassify_test_data): Likewise.
7391 (frexp_test_data): Likewise.
7392 (ilogb_test_data): Likewise.
7393 (isfinite_test_data): Likewise.
7394 (isgreater_test_data): Likewise.
7395 (isgreaterequal_test_data): Likewise.
7396 (isinf_test_data): Likewise.
7397 (isless_test_data): Likewise.
7398 (islessequal_test_data): Likewise.
7399 (islessgreater_test_data): Likewise.
7400 (isnan_test_data): Likewise.
7401 (isnormal_test_data): Likewise.
7402 (issignaling_test_data): Likewise.
7403 (isunordered_test_data): Likewise.
7404 (ldexp_test_data): Likewise.
7405 (lrint_test_data): Likewise.
7406 (lrint_test_data) [TEST_FLOAT]: Disable one test.
7407 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
7408 (lrint_tonearest_test_data): Test for "inexact" exceptions.
7409 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7410 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
7411 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7412 test input.
7413 (lrint_towardzero_test_data): Test for "inexact" exceptions.
7414 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7415 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
7416 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
7417 that test input.
7418 (lrint_downward_test_data): Test for "inexact" exceptions.
7419 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7420 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
7421 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7422 test input.
7423 (lrint_upward_test_data): Test for "inexact" exceptions.
7424 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
7425 test input.
7426 (llrint_test_data): Test for "inexact" exceptions.
7427 (llrint_test_data) [TEST_FLOAT]: Disable one test.
7428 (llrint_tonearest_test_data): Test for "inexact" exceptions.
7429 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7430 (llrint_towardzero_test_data): Test for "inexact" exceptions.
7431 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7432 (llrint_downward_test_data): Test for "inexact" exceptions.
7433 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7434 (llrint_upward_test_data): Test for "inexact" exceptions.
7435 (logb_test_data): Likewise.
7436 (logb_downward_test_data): Likewise.
7437 (nextafter_test_data): Likewise.
7438 (nexttoward_test_data): Likewise.
7439 (remainder_test_data): Likewise.
7440 (remquo_test_data): Likewise.
7441 (scalbn_test_data): Likewise.
7442 (scalbln_test_data): Likewise.
7443 (signbit_test_data): Likewise.
7444 (sqrt_test_data): Likewise.
7445 (significand_test_data): Likewise.
7446
48a18de1
SP
74472013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7448
7449 [BZ #15424]
7450 * benchtests/bench-modf.c (struct args): Mark arg0 as
7451 volatile.
7452 * scripts/bench.pl: Mark members of struct args as volatile.
7453
13d3b41a
AZ
74542013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7455
68191c1d 7456 [BZ # 15497]
13d3b41a
AZ
7457 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
7458 negative infinity on POWER6 or lower.
7459 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
7460
2848b105
MR
74612013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
7462
7463 [BZ #15442]
7464 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
7465 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
7466 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
7467 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
7468 (_FP_SETQNAN): New macro.
7469 (_FP_SETQNAN_SEMIRAW): Likewise.
7470 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
7471 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
7472 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
7473 (FP_EXTEND): Use _FP_FRAC_SNANP.
7474 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
7475 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
7476 into account.
7477 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7478 New macro.
7479 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7480 Likewise.
7481
323e5cb7
JM
74822013-05-16 Joseph Myers <joseph@codesourcery.com>
7483
c58b274f
JM
7484 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
7485 with DIVIDE_BY_ZERO_EXCEPTION.
7486 (gamma_test_data): Likewise.
7487 (lgamma_test_data): Likewise.
7488 (log_test_data): Likewise.
7489 (log10_test_data): Likewise.
7490 (log2_test_data): Likewise.
7491 (tgamma_test_data): Likewise.
7492
0ab34904
JM
7493 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
7494 (acos_test_tonearest): Likewise.
7495 (acos_test_towardzero): Likewise.
7496 (acos_test_downward): Likewise.
7497 (acos_test_upward): Likewise.
7498 (acosh_test): Likewise.
7499 (asin_test): Likewise.
7500 (asin_test_tonearest): Likewise.
7501 (asin_test_towardzero): Likewise.
7502 (asin_test_downward): Likewise.
7503 (asin_test_upward): Likewise.
7504 (asinh_test): Likewise.
7505 (atan_test): Likewise.
7506 (atanh_test): Likewise.
7507 (atan2_test): Likewise.
7508 (cabs_test): Likewise.
7509 (cacos_test): Likewise.
7510 (cacosh_test): Likewise.
7511 (casin_test): Likewise.
7512 (casinh_test): Likewise.
7513 (catan_test): Likewise.
7514 (catanh_test): Likewise.
7515 (cbrt_test): Likewise.
7516 (ccos_test): Likewise.
7517 (ccosh_test): Likewise.
7518 (cexp_test): Likewise.
7519 (clog_test): Likewise.
7520 (clog10_test): Likewise.
7521 (cos_test): Likewise.
7522 (cos_test_tonearest): Likewise.
7523 (cos_test_towardzero): Likewise.
7524 (cos_test_downward): Likewise.
7525 (cos_test_upward): Likewise.
7526 (cosh_test): Likewise.
7527 (cosh_test_tonearest): Likewise.
7528 (cosh_test_towardzero): Likewise.
7529 (cosh_test_downward): Likewise.
7530 (cosh_test_upward): Likewise.
7531 (cpow_test): Likewise.
7532 (csin_test): Likewise.
7533 (csinh_test): Likewise.
7534 (csqrt_test): Likewise.
7535 (ctan_test): Likewise.
7536 (ctan_test_tonearest): Likewise.
7537 (ctan_test_towardzero): Likewise.
7538 (ctan_test_downward): Likewise.
7539 (ctan_test_upward): Likewise.
7540 (ctanh_test): Likewise.
7541 (ctanh_test_tonearest): Likewise.
7542 (ctanh_test_towardzero): Likewise.
7543 (ctanh_test_downward): Likewise.
7544 (ctanh_test_upward): Likewise.
7545 (erf_test): Likewise.
7546 (erfc_test): Likewise.
7547 (exp_test): Likewise.
7548 (exp_test_tonearest): Likewise.
7549 (exp_test_towardzero): Likewise.
7550 (exp_test_downward): Likewise.
7551 (exp_test_upward): Likewise.
7552 (exp10_test): Likewise.
7553 (exp2_test): Likewise.
7554 (expm1_test): Likewise.
7555 (fmod_test): Likewise.
7556 (gamma_test): Likewise.
7557 (hypot_test): Likewise.
7558 (j0_test): Likewise.
7559 (j1_test): Likewise.
7560 (jn_test): Likewise.
7561 (lgamma_test): Likewise.
7562 (log_test): Likewise.
7563 (log10_test): Likewise.
7564 (log1p_test): Likewise.
7565 (log2_test): Likewise.
7566 (logb_test_downward): Likewise.
7567 (pow_test): Likewise.
7568 (pow_test_tonearest): Likewise.
7569 (pow_test_towardzero): Likewise.
7570 (pow_test_downward): Likewise.
7571 (pow_test_upward): Likewise.
7572 (remainder_test): Likewise.
7573 (remquo_test): Likewise.
7574 (sin_test): Likewise.
7575 (sin_test_tonearest): Likewise.
7576 (sin_test_towardzero): Likewise.
7577 (sin_test_downward): Likewise.
7578 (sin_test_upward): Likewise.
7579 (sincos_test): Likewise.
7580 (sinh_test): Likewise.
7581 (sinh_test_tonearest): Likewise.
7582 (sinh_test_towardzero): Likewise.
7583 (sinh_test_downward): Likewise.
7584 (sinh_test_upward): Likewise.
7585 (sqrt_test): Likewise.
7586 (tan_test): Likewise.
7587 (tan_test_tonearest): Likewise.
7588 (tan_test_towardzero): Likewise.
7589 (tan_test_downward): Likewise.
7590 (tan_test_upward): Likewise.
7591 (tanh_test): Likewise.
7592 (tgamma_test): Likewise.
7593 (y0_test): Likewise.
7594 (y1_test): Likewise.
7595 (yn_test): Likewise.
7596
323e5cb7
JM
7597 * math/gen-libm-test.pl (adjust_arg): Remove function.
7598 (special_function): Remove argument $in_func. Only handle
7599 generating output for tables of tests, not inside functions.
7600 (parse_args): Likewise.
7601 (generate_testfile): Remove variable $in_func. Update call to
7602 parse_args.
7603 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
7604 (MINUS_ZERO_INIT): Rename macro to minus_zero.
7605 (PLUS_INFTY_INIT): Rename macro to plus_infty.
7606 (MINUS_INFTY_INIT): Rename macro to minus_infty.
7607 (QNAN_VALUE_INIT): Rename macro to qnan_value.
7608 (MAX_VALUE_INIT): Rename macro to max_value.
7609 (MIN_VALUE_INIT): Rename macro to min_value.
7610 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
7611 (plus_zero): Remove variable.
7612 (minus_zero): Likewise.
7613 (plus_infty): Likewise.
7614 (minus_infty): Likewise.
7615 (qnan_value): Likewise.
7616 (max_value): Likewise.
7617 (min_value): Likewise.
7618 (min_subnorm_value): Likewise.
7619
e054f494
RA
76202013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7621
7622 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
7623 uint64_t or uint32_t usage.
7624 * crypt/sha256-block.c: Likewise.
7625 * crypt/sha256-crypt.c: Likewise.
7626 * crypt/sha256.c: Likewise.
7627 * crypt/sha512-block.c: Likewise.
7628 * crypt/sha512-crypt.c: Likewise.
7629 * crypt/sha512.c: Likewise.
7630 * debug/backtrace-tst.c: Likewise.
7631 * debug/pcprofiledump.c: Likewise.
7632 * elf/cache.c: Likewise.
7633 * elf/dl-cache.c: Likewise.
7634 * elf/dl-misc.c: Likewise.
7635 * elf/dl-profile.c: Likewise.
7636 * elf/dl-support.c: Likewise.
7637 * elf/ldconfig.c: Likewise.
7638 * elf/sprof.c: Likewise.
7639 * iconv/dummy-repertoire.c: Likewise.
7640 * iconv/iconv_charmap.c: Likewise.
7641 * iconv/skeleton.c: Likewise.
7642 * iconvdata/8bit-generic.c: Likewise.
7643 * iconvdata/cp737.h: Likewise.
7644 * iconvdata/cp775.h: Likewise.
7645 * iconvdata/ibm1008.h: Likewise.
7646 * iconvdata/ibm1025.h: Likewise.
7647 * iconvdata/ibm1046.h: Likewise.
7648 * iconvdata/ibm1097.h: Likewise.
7649 * iconvdata/ibm1112.h: Likewise.
7650 * iconvdata/ibm1122.h: Likewise.
7651 * iconvdata/ibm1123.h: Likewise.
7652 * iconvdata/ibm1124.h: Likewise.
7653 * iconvdata/ibm1129.h: Likewise.
7654 * iconvdata/ibm1130.h: Likewise.
7655 * iconvdata/ibm1132.h: Likewise.
7656 * iconvdata/ibm1133.h: Likewise.
7657 * iconvdata/ibm1137.h: Likewise.
7658 * iconvdata/ibm1140.h: Likewise.
7659 * iconvdata/ibm1141.h: Likewise.
7660 * iconvdata/ibm1142.h: Likewise.
7661 * iconvdata/ibm1143.h: Likewise.
7662 * iconvdata/ibm1144.h: Likewise.
7663 * iconvdata/ibm1145.h: Likewise.
7664 * iconvdata/ibm1146.h: Likewise.
7665 * iconvdata/ibm1147.h: Likewise.
7666 * iconvdata/ibm1148.h: Likewise.
7667 * iconvdata/ibm1149.h: Likewise.
7668 * iconvdata/ibm1153.h: Likewise.
7669 * iconvdata/ibm1154.h: Likewise.
7670 * iconvdata/ibm1155.h: Likewise.
7671 * iconvdata/ibm1156.h: Likewise.
7672 * iconvdata/ibm1157.h: Likewise.
7673 * iconvdata/ibm1158.h: Likewise.
7674 * iconvdata/ibm1160.h: Likewise.
7675 * iconvdata/ibm1161.h: Likewise.
7676 * iconvdata/ibm1162.h: Likewise.
7677 * iconvdata/ibm1163.h: Likewise.
7678 * iconvdata/ibm1164.h: Likewise.
7679 * iconvdata/ibm1166.h: Likewise.
7680 * iconvdata/ibm1167.h: Likewise.
7681 * iconvdata/ibm12712.h: Likewise.
7682 * iconvdata/ibm1390.h: Likewise.
7683 * iconvdata/ibm1399.h: Likewise.
7684 * iconvdata/ibm16804.h: Likewise.
7685 * iconvdata/ibm4517.h: Likewise.
7686 * iconvdata/ibm4899.h: Likewise.
7687 * iconvdata/ibm4909.h: Likewise.
7688 * iconvdata/ibm4971.h: Likewise.
7689 * iconvdata/ibm5347.h: Likewise.
7690 * iconvdata/ibm803.h: Likewise.
7691 * iconvdata/ibm856.h: Likewise.
7692 * iconvdata/ibm901.h: Likewise.
7693 * iconvdata/ibm902.h: Likewise.
7694 * iconvdata/ibm9030.h: Likewise.
7695 * iconvdata/ibm9066.h: Likewise.
7696 * iconvdata/ibm921.h: Likewise.
7697 * iconvdata/ibm922.h: Likewise.
7698 * iconvdata/ibm9448.h: Likewise.
7699 * iconvdata/isiri-3342.h: Likewise.
7700 * iconvdata/jis0201.h: Likewise.
7701 * include/link.h: Likewise.
7702 * include/netdb.h: Likewise.
7703 * inet/check_native.c: Likewise.
7704 * inet/check_pf.c: Likewise.
7705 * inet/getipv4sourcefilter.c: Likewise.
7706 * inet/getnameinfo.c: Likewise.
7707 * inet/getsourcefilter.c: Likewise.
7708 * inet/htonl.c: Likewise.
7709 * inet/setipv4sourcefilter.c: Likewise.
7710 * inet/setsourcefilter.c: Likewise.
7711 * inet/test-inet6_opt.c: Likewise.
7712 * inet/tst-network.c: Likewise.
7713 * locale/C-collate.c: Likewise.
7714 * locale/C-ctype.c: Likewise.
7715 * locale/C-time.c: Likewise.
7716 * locale/C-translit.h: Likewise.
7717 * locale/loadarchive.c: Likewise.
7718 * locale/programs/3level.h: Likewise.
7719 * locale/programs/charmap.c: Likewise.
7720 * locale/programs/charmap.h: Likewise.
7721 * locale/programs/ld-address.c: Likewise.
7722 * locale/programs/ld-collate.c: Likewise.
7723 * locale/programs/ld-ctype.c: Likewise.
7724 * locale/programs/ld-identification.c: Likewise.
7725 * locale/programs/ld-measurement.c: Likewise.
7726 * locale/programs/ld-messages.c: Likewise.
7727 * locale/programs/ld-monetary.c: Likewise.
7728 * locale/programs/ld-name.c: Likewise.
7729 * locale/programs/ld-numeric.c: Likewise.
7730 * locale/programs/ld-paper.c: Likewise.
7731 * locale/programs/ld-telephone.c: Likewise.
7732 * locale/programs/ld-time.c: Likewise.
7733 * locale/programs/linereader.c: Likewise.
7734 * locale/programs/locale.c: Likewise.
7735 * locale/programs/locarchive.c: Likewise.
7736 * locale/programs/locfile.h: Likewise.
7737 * locale/programs/repertoire.c: Likewise.
7738 * locale/programs/simple-hash.c: Likewise.
7739 * locale/programs/simple-hash.h: Likewise.
7740 * malloc/memusage.c: Likewise.
7741 * malloc/memusagestat.c: Likewise.
7742 * nis/nis_defaults.c: Likewise.
7743 * nis/nis_hash.c: Likewise.
7744 * nis/nis_print.c: Likewise.
7745 * nis/nis_xdr.c: Likewise.
7746 * nscd/connections.c: Likewise.
7747 * nscd/hstcache.c: Likewise.
7748 * nscd/nscd_gethst_r.c: Likewise.
7749 * nscd/nscd_getserv_r.c: Likewise.
7750 * nscd/nscd_helper.c: Likewise.
7751 * nscd/servicescache.c: Likewise.
7752 * nss/makedb.c: Likewise.
7753 * nss/nss_db/db-XXX.c: Likewise.
7754 * nss/nss_db/db-initgroups.c: Likewise.
7755 * nss/nss_db/db-netgrp.c: Likewise.
7756 * nss/nss_files/files-network.c: Likewise.
7757 * nss/nss_files/files-parse.c: Likewise.
7758 * posix/bug-regex5.c: Likewise.
7759 * posix/fnmatch_loop.c: Likewise.
7760 * posix/regcomp.c: Likewise.
7761 * posix/regexec.c: Likewise.
7762 * posix/tst-rfc3484-2.c: Likewise.
7763 * posix/tst-rfc3484-3.c: Likewise.
7764 * posix/tst-rfc3484.c: Likewise.
7765 * resolv/nss_dns/dns-canon.c: Likewise.
7766 * resolv/nss_dns/dns-network.c: Likewise.
7767 * resolv/res_init.c: Likewise.
7768 * resolv/res_mkquery.c: Likewise.
7769 * resolv/tst-aton.c: Likewise.
7770 * stdlib/cxa_atexit.c: Likewise.
7771 * stdlib/cxa_finalize.c: Likewise.
7772 * stdlib/gen-fpioconst.c: Likewise.
7773 * stdlib/strtol_l.c: Likewise.
7774 * string/tst-endian.c: Likewise.
7775 * sunrpc/auth_des.c: Likewise.
7776 * sunrpc/clnt_udp.c: Likewise.
7777 * sunrpc/rtime.c: Likewise.
7778 * sunrpc/svcauth_des.c: Likewise.
7779 * sunrpc/xdr.c: Likewise.
7780 * sunrpc/xdr_intXX_t.c: Likewise.
7781 * sunrpc/xdr_rec.c: Likewise.
7782 * sysdeps/generic/ldconfig.h: Likewise.
7783 * sysdeps/generic/ldsodefs.h: Likewise.
7784 * sysdeps/generic/memusage.h: Likewise.
7785 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7786 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
7787 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
7788 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7789 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7790 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7791 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7792 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7793 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7794 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7795 * sysdeps/posix/getaddrinfo.c: Likewise.
7796 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7797 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7798 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7799 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7800 * sysdeps/powerpc/test-gettimebase.c: Likewise.
7801 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7802 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
7803 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
7804 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7805 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
7806 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7807 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7808 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
7809 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
7810 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
7811 * sysdeps/x86_64/dl-tls.h: Likewise.
7812 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
7813 * time/alt_digit.c: Likewise.
7814 * time/era.c: Likewise.
7815 * wcsmbs/tst-c16c32-1.c: Likewise.
7816
8c75f674
JM
78172013-05-16 Joseph Myers <joseph@codesourcery.com>
7818
7819 * math/libm-test.inc (struct test_sincos_data): New type.
7820 (RUN_TEST_LOOP_sincos): New macro.
7821 (sincos_test_data): New variable.
7822 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
7823
e6e49e59
RH
78242013-05-16 Richard Henderson <rth@redhat.com>
7825
7826 * math/atest-exp2.c (LIMB64): New macro.
7827 (CONSTSZ): New macro.
7828 (mp_exp1, mp_exp_m1, mp_log2): New variables.
7829 (hexdig): Move ...
7830 (print_mpn_fp): ... to function scope.
7831 (read_mpn_hex): Remove.
7832 (get_log2): Remove.
7833 (exp2_mpn): Use mp_log2.
7834 (main): Use mp_exp1.
7835
15c7c18d
JM
78362013-05-16 Joseph Myers <joseph@codesourcery.com>
7837
105a07df
JM
7838 * math/libm-test.inc: Remove comment about not testing "inexact"
7839 exceptions.
7840 (INEXACT_EXCEPTION): New macro.
7841 (NO_INEXACT_EXCEPTION): Likewise.
7842 (INVALID_EXCEPTION_OK): Update value.
7843 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7844 (OVERFLOW_EXCEPTION_OK): Likewise.
7845 (UNDERFLOW_EXCEPTION_OK): Likewise.
7846 (IGNORE_ZERO_INF_SIGN): Likewise.
7847 (ERRNO_UNCHANGED): Likewise.
7848 (ERRNO_EDOM): Likewise.
7849 (ERRNO_ERANGE): Likewise.
7850 (test_exceptions): Handle testing "inexact" exceptions.
7851 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
7852 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
7853 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
7854 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
7855 INEXACT_EXCEPTION.
7856 (rint_towardzero_test_data): Likewise.
7857 (rint_downward_test_data): Likewise.
7858 (rint_upward_test_data): Likewise.
7859
e9eee333
JM
7860 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
7861 with OVERFLOW_EXCEPTION.
7862 (exp10_test_data): Likewise.
7863 (exp2_test_data): Likewise.
7864 (expm1_test_data): Likewise.
7865 (lgamma_test_data): Likewise.
7866 (pow_test_data): Likewise.
7867 (tgamma_test_data): Likewise.
7868 (yn_test_data): Remove duplicate test of overflow.
7869
1c38ff73
JM
7870 * math/libm-test.inc (struct test_cc_c_data): New type.
7871 (RUN_TEST_LOOP_cc_c): New macro.
7872 (cpow_test_data): New variable.
7873 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
7874
15c7c18d
JM
7875 * math/libm-test.inc (struct test_f_L_data): New type.
7876 (RUN_TEST_LOOP_f_L): New macro.
7877 (llrint_test_data): New variable.
7878 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
7879 (llrint_tonearest_test_data): New variable.
7880 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
7881 (llrint_towardzero_test_data): New variable.
7882 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
7883 (llrint_downward_test_data): New variable.
7884 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
7885 (llrint_upward_test_data): New variable.
7886 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
7887 (llround_test_data): New variable.
7888 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
7889
f137ff13
PC
78902013-05-13 Peter Collingbourne <pcc@google.com>
7891
7892 * math/atest-exp2.c (get_log2): Remove const attribute.
7893
3608cb24
JM
78942013-05-15 Joseph Myers <joseph@codesourcery.com>
7895
7896 * math/libm-test.inc (struct test_f_l_data): New type.
7897 (RUN_TEST_LOOP_f_l): New macro.
7898 (lrint_test_data): New variable.
7899 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
7900 (lrint_tonearest_test_data): New variable.
7901 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
7902 (lrint_towardzero_test_data): New variable.
7903 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
7904 (lrint_downward_test_data): New variable.
7905 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
7906 (lrint_upward_test_data): New variable.
7907 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
7908 (lround_test_data): New variable.
7909 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
7910
39b1f617
PC
79112013-05-15 Peter Collingbourne <pcc@google.com>
7912
1deff3dc
PC
7913 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
7914 (EXTRACT_WORDS64) Use where appropriate.
7915 (INSERT_WORDS64) Likewise.
7916
791f3ba0
PC
7917 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
7918 constraints with x constraints.
7919 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
7920
39b1f617
PC
7921 * malloc/obstack.c (_obstack_compat): Add initializer.
7922
12fba011
EM
79232013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
7924
7925 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
7926 si_trapno and add si_addr_lsb to _sifields.sigfault.
7927 (si_trapno): Remove macro.
7928 (si_addr_lsb): Define new macro.
7929 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7930
d369f531
JM
79312013-05-15 Joseph Myers <joseph@codesourcery.com>
7932
b861c6c4
JM
7933 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
7934 instead of TEST_f_l.
7935 (llrint_test_tonearest): Likewise.
7936 (llrint_test_towardzero): Likewise.
7937 (llrint_test_downward): Likewise.
7938 (llrint_test_upward): Likewise.
7939 (llround_test): Likewise.
7940
7abeee12
JM
7941 * math/libm-test.inc (struct test_f_i_data): Add comment.
7942 (RUN_TEST_LOOP_f_b): New macro.
7943 (RUN_TEST_LOOP_f_b_tg): Likewise.
7944 (finite_test_data): New variable.
7945 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
7946 (isfinite_test_data): New variable.
7947 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7948 (isinf_test_data): New variable.
7949 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7950 (isnan_test_data): New variable.
7951 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7952 (isnormal_test_data): New variable.
7953 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7954 (issignaling_test_data): New variable.
7955 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7956 (signbit_test_data): New variable.
7957 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7958
cbe8c4d3
JM
7959 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
7960 with INVALID_EXCEPTION.
7961 (acosh_test_data): Likewise.
7962 (asin_test_data): Likewise.
7963 (atanh_test_data): Likewise.
7964 (fmod_test_data): Likewise.
7965 (log_test_data): Likewise.
7966 (log10_test_data): Likewise.
7967 (log2_test_data): Likewise.
7968 (pow_test_data): Likewise.
7969 (sqrt_test_data): Likewise.
7970 (y0_test_data): Likewise.
7971 (y1_test_data): Likewise.
7972 (yn_test_data): Likewise.
7973
5575c0e5
JM
7974 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
7975 function contents.
7976
d369f531
JM
7977 * math/libm-test.inc (struct test_ff_i_data): New type.
7978 (RUN_TEST_LOOP_ff_i_tg): New macro.
7979 (isgreater_test_data): New variable.
7980 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7981 (isgreaterequal_test_data): New variable.
7982 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7983 (isless_test_data): New variable.
7984 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7985 (islessequal_test_data): New variable.
7986 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7987 (islessgreater_test_data): New variable.
7988 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7989 (isunordered_test_data): New variable.
7990 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7991
781fd748
DM
79922013-05-14 David S. Miller <davem@davemloft.net>
7993
7994 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7995
87aa21df
JM
79962013-05-14 Joseph Myers <joseph@codesourcery.com>
7997
5e908270
JM
7998 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
7999
f71172e5
JM
8000 * math/libm-test.inc (struct test_fF_f1_data): Change type of
8001 extra_test to int.
8002 (struct test_f_i_data): Change type of max_ulp to int.
8003
8cfa635a
JM
8004 * math/libm-test.inc (test_ffI_f1_data): New type.
8005 (RUN_TEST_LOOP_ffI_f1): New macro.
8006 (remquo_test_data): New variable.
8007 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
8008
2bcb36b2
JM
8009 * setjmp/tst-setjmp-fp.c: New file.
8010 * setjmp/Makefile (tests): Add tst-setjmp-fp.
8011 (link-libm): New variable.
8012 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
8013
acbd839a
JM
8014 * math/libm-test.inc (struct test_f_i_data): New type.
8015 (RUN_TEST_LOOP_f_i): New macro.
8016 (RUN_TEST_LOOP_f_i_tg): Likewise.
8017 (fpclassify_test_data): New variable.
8018 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
8019 (ilogb_test_data): New variable.
8020 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
8021
e414d745
JM
8022 * math/libm-test.inc (scalbln_test): Correct function name in END
8023 call.
8024
d9c2a0fd
JM
8025 * math/libm-test.inc (struct test_f_f1_data): Add comment.
8026 (RUN_TEST_LOOP_fI_f1): New macro.
8027 (frexp_test_data): New variable.
8028 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
8029
9dc9095d
JM
8030 * math/libm-test.inc (struct test_fF_f1_data): New type.
8031 (RUN_TEST_LOOP_fF_f1): New macro.
8032 (modf_test_data): New variable.
8033 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
8034
87aa21df
JM
8035 * math/libm-test.inc (struct test_f_f1_data): New type.
8036 (RUN_TEST_LOOP_f_f1): New macro.
8037 (gamma_test_data): New variable.
8038 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8039 (lgamma_test_data): New variable.
8040 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8041
141af660
CD
80422013-05-13 Carlos O'Donell <carlos@redhat.com>
8043
8044 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
8045 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
8046 (main): Comment "tls" pseudo-hwcap.
8047
6d33265c
JM
80482013-05-13 Joseph Myers <joseph@codesourcery.com>
8049
68fc074c
JM
8050 * math/libm-test.inc (struct test_fl_f_data): New type.
8051 (RUN_TEST_LOOP_fl_f): New variable.
8052 (scalbln_test_data): New variable.
8053 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
8054
243216e1
JM
8055 * math/libm-test.inc (struct test_fi_f_data): New type.
8056 (RUN_TEST_LOOP_fi_f): New macro.
8057 (ldexp_test_data): New variable.
8058 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
8059 (scalbn_test_data): New variable.
8060 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
8061
6a1992e2
JM
8062 * math/libm-test.inc (struct test_c_f_data): New type.
8063 (RUN_TEST_LOOP_c_f): New macro.
8064 (cabs_test_data): New variable.
8065 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
8066 (carg_test_data): New variable.
8067 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
8068 (cimag_test_data): New variable.
8069 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
8070 (creal_test_data): New variable.
8071 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
8072
0e400df5
JM
8073 * math/libm-test.inc (struct test_if_f_data): New type.
8074 (RUN_TEST_LOOP_if_f): New macro.
8075 (jn_test_data): New variable.
8076 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
8077 (yn_test_data): New variable.
8078 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
8079
6d33265c
JM
8080 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
8081
f98ece5f
AZ
80822013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8083
8084 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
8085 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
8086
0f7d347b
SP
80872013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8088
43fe811b
SP
8089 * benchtests/Makefile (CPPFLAGS-nonlib): Add
8090 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
8091 (bench-deps): Add bench-timing.h.
8092 * benchtests-bench-skeleton.c: Include bench-timing.h.
8093 (main): Use TIMING_* macros instead of clock_gettime.
8094 * benchtests/bench-timing.h: New file.
8095
0f7d347b
SP
8096 [BZ #14582]
8097 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
8098 Renamed from _LIB_VERSION.
8099 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
8100
601a3a5f
JM
81012013-05-12 Joseph Myers <joseph@codesourcery.com>
8102
4f184d30
JM
8103 * math/libm-test.inc (struct test_fff_f_data): New type.
8104 (RUN_TEST_LOOP_fff_f): New macro.
8105 (fma_test_data): New variable.
8106 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
8107 (fma_towardzero_test_data): New variable.
8108 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
8109 (fma_downward_test_data): New variable.
8110 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
8111 (fma_upward_test_data): New variable.
8112 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
8113
08198877
JM
8114 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
8115 (struct test_c_c_data): New type.
8116 (RUN_TEST_LOOP_c_c): New macro.
8117 (cacos_test_data): New variable.
8118 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
8119 (cacosh_test_data): New variable.
8120 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
8121 (casin_test_data): New variable.
8122 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
8123 (casinh_test_data): New variable.
8124 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
8125 (catan_test_data): New variable.
8126 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
8127 (catanh_test_data): New variable.
8128 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
8129 (ccos_test_data): New variable.
8130 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
8131 (ccosh_test_data): New variable.
8132 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
8133 (cexp_test_data): New variable.
8134 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
8135 (clog_test_data): New variable.
8136 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
8137 (clog10_test_data): New variable.
8138 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
8139 (conj_test_data): New variable.
8140 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
8141 (cproj_test_data): New variable.
8142 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
8143 (csin_test_data): New variable.
8144 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
8145 (csinh_test_data): New variable.
8146 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
8147 (csqrt_test_data): New variable.
8148 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
8149 (ctan_test_data): New variable.
8150 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
8151 (ctan_tonearest_test_data): New variable.
8152 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8153 (ctan_towardzero_test_data): New variable.
8154 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8155 (ctan_downward_test_data): New variable.
8156 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8157 (ctan_upward_test_data): New variable.
8158 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8159 (ctanh_test_data): New variable.
8160 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
8161 (ctanh_tonearest_test_data): New variable.
8162 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8163 (ctanh_towardzero_test_data): New variable.
8164 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8165 (ctanh_downward_test_data): New variable.
8166 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8167 (ctanh_upward_test_data): New variable.
8168 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8169 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
8170 of BUILD_COMPLEX.
8171
601a3a5f
JM
8172 * math/libm-test.inc (struct test_ff_f_data): New type.
8173 (struct test_ff_f_data_nexttoward): Likewise.
8174 (RUN_TEST_LOOP_2_f): New macro.
8175 (RUN_TEST_LOOP_ff_f): Likewise.
8176 (atan2_test_data): New variable.
8177 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
8178 (copysign_test_data): New variable.
8179 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
8180 (fdim_test_data): New variable.
8181 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
8182 (fmax_test_data): New variable.
8183 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
8184 (fmin_test_data): New variable.
8185 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
8186 (fmod_test_data): New variable.
8187 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
8188 (hypot_test_data): New variable.
8189 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
8190 (nextafter_test_data): New variable.
8191 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
8192 (nexttoward_test_data): New variable.
8193 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
8194 (pow_test_data): New variable.
8195 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
8196 (pow_tonearest_test_data): New variable.
8197 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
8198 (pow_towardzero_test_data): New variable.
8199 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
8200 (pow_downward_test_data): New variable.
8201 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
8202 (pow_upward_test_data): New variable.
8203 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
8204 (remainder_test_data): New variable.
8205 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
8206 (scalb_test_data): New variable.
8207 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
8208 * sysdeps/i386/fpu/libm-test-ulps: Update.
8209
74c57478
JM
82102013-05-11 Joseph Myers <joseph@codesourcery.com>
8211
8329e4da
JM
8212 * math/libm-test.inc (fma_test): Use max_value instead of local
8213 variable fltmax.
8214 (nextafter_test): Likewise.
8215
74c57478
JM
8216 * math/libm-test.inc (acos_towardzero_test_data): New variable.
8217 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8218 (acos_downward_test_data): New variable.
8219 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8220 (acos_upward_test_data): New variable.
8221 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8222 (acosh_test_data): New variable.
8223 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
8224 (asin_test_data): New variable.
8225 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
8226 (asin_tonearest_test_data): New variable.
8227 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8228 (asin_towardzero_test_data): New variable.
8229 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8230 (asin_downward_test_data): New variable.
8231 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8232 (asin_upward_test_data): New variable.
8233 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8234 (asinh_test_data): New variable.
8235 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
8236 (atan_test_data): New variable.
8237 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
8238 (atanh_test_data): New variable.
8239 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
8240 (cbrt_test_data): New variable.
8241 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
8242 (ceil_test_data): New variable.
8243 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
8244 (cos_test_data): New variable.
8245 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
8246 (cos_tonearest_test_data): New variable.
8247 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8248 (cos_towardzero_test_data): New variable.
8249 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8250 (cos_downward_test_data): New variable.
8251 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8252 (cos_upward_test_data): New variable.
8253 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8254 (cosh_test_data): New variable.
8255 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
8256 (cosh_tonearest_test_data): New variable.
8257 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8258 (cosh_towardzero_test_data): New variable.
8259 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8260 (cosh_downward_test_data): New variable.
8261 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8262 (cosh_upward_test_data): New variable.
8263 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8264 (erf_test_data): New variable.
8265 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
8266 (erfc_test_data): New variable.
8267 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
8268 (exp_test_data): New variable.
8269 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
8270 (exp_tonearest_test_data): New variable.
8271 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8272 (exp_towardzero_test_data): New variable.
8273 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8274 (exp_downward_test_data): New variable.
8275 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8276 (exp_upward_test_data): New variable.
8277 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8278 (exp10_test_data): New variable.
8279 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
8280 (exp2_test_data): New variable.
8281 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
8282 (expm1_test_data): New variable.
8283 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
8284 (fabs_test_data): New variable.
8285 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
8286 (floor_test_data): New variable.
8287 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
8288 (j0_test_data): New variable.
8289 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
8290 (j1_test_data): New variable.
8291 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
8292 (log_test_data): New variable.
8293 (log_test): Run tests with RUN_TEST_LOOP_f_f.
8294 (log10_test_data): New variable.
8295 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
8296 (log1p_test_data): New variable.
8297 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
8298 (log2_test_data): New variable.
8299 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
8300 (logb_test_data): New variable.
8301 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
8302 (logb_downward_test_data): New variable.
8303 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8304 (nearbyint_test_data): New variable.
8305 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
8306 (rint_test_data): New variable.
8307 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
8308 (rint_tonearest_test_data): New variable.
8309 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8310 (rint_towardzero_test_data): New variable.
8311 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8312 (rint_downward_test_data): New variable.
8313 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8314 (rint_upward_test_data): New variable.
8315 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8316 (round_test_data): New variable.
8317 (round_test): Run tests with RUN_TEST_LOOP_f_f.
8318 (sin_test_data): New variable.
8319 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
8320 (sin_tonearest_test_data): New variable.
8321 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8322 (sin_towardzero_test_data): New variable.
8323 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8324 (sin_downward_test_data): New variable.
8325 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8326 (sin_upward_test_data): New variable.
8327 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8328 (sinh_test_data): New variable.
8329 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
8330 (sinh_tonearest_test_data): New variable.
8331 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8332 (sinh_towardzero_test_data): New variable.
8333 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8334 (sinh_downward_test_data): New variable.
8335 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8336 (sinh_upward_test_data): New variable.
8337 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8338 (sqrt_test_data): New variable.
8339 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
8340 (tan_test_data): New variable.
8341 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
8342 (tan_tonearest_test_data): New variable.
8343 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8344 (tan_towardzero_test_data): New variable.
8345 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8346 (tan_downward_test_data): New variable.
8347 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8348 (tan_upward_test_data): New variable.
8349 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8350 (tanh_test_data): New variable.
8351 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
8352 (tgamma_test_data): New variable.
8353 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
8354 (trunc_test_data): New variable.
8355 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
8356 (y0_test_data): New variable.
8357 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
8358 (y1_test_data): New variable.
8359 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
8360 (significand_test_data): New variable.
8361 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
8362
7187d844
CG
83632013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
8364
8365 [BZ #12387]
8366 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
8367
f63fae73
PT
83682013-05-10 Pino Toscano <toscano.pino@tiscali.it>
8369
8370 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
8371
8a67a4b3
AJ
83722013-05-10 Andreas Jaeger <aj@suse.de>
8373
8374 [BZ #15448]
8375 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
8376 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
8377
51df539d
JM
83782013-05-10 Joseph Myers <joseph@codesourcery.com>
8379
8380 * math/gen-libm-test.pl (adjust_arg): New function.
8381 (special_functions): Handle generating output in both functions
8382 and arrays.
8383 (parse_args): Likewise.
8384 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
8385 $in_func argument to parse_args.
8386 * math/libm-test.inc (struct test_f_f_data): New type.
8387 (IF_ROUND_INIT_): New macro.
8388 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
8389 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8390 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8391 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8392 (ROUND_RESTORE_): Likewise.
8393 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
8394 (ROUND_RESTORE_FE_TONEAREST): Likewise.
8395 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
8396 (ROUND_RESTORE_FE_UPWARD): Likewise.
8397 (RUN_TEST_LOOP_f_f): New macro.
8398 (acos_test_data): New variable.
8399 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
8400 (acos_tonearest_test_data): New variable.
8401 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8402
5c637fe5
SP
84032013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8404
8405 * benchtests/bench-skeleton.c (startup): Fix coding style.
8406
ab2b9461
JM
84072013-05-10 Joseph Myers <joseph@codesourcery.com>
8408
8409 [BZ #6809]
8410 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
8411 negative infinity argument.
8412 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
8413 negative infinity argument.
8414 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
8415 negative infinity argument.
8416 * math/libm-test.inc (tgamma_test): Expect errno to be set for
8417 domain errors.
8418
4c0fe6fe
FW
84192013-05-10 Florian Weimer <fweimer@redhat.com>
8420
8421 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
8422 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
8423 * iconv/iconv_prog.c (main): Likewise.
8424 * locale/programs/charmap-dir.c (charmap_readdir)
8425 (fopen_uncompressed): Likewise.
8426 * locale/programs/locfile.c (siblings_uncached)
8427 (write_locale_data): Use lstat64 instead of lstat.
8428 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
8429 stat.
8430
a3375d29
AJ
84312013-05-10 Andreas Jaeger <aj@suse.de>
8432
8433 [BZ #15395]
8434 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
8435 localization.
8436 Include <locale.h>.
8437
36129722
CD
84382013-05-09 Carlos O'Donell <carlos@redhat.com>
8439
8440 * elf/dl-close.c (_dl_close_worker): Add comments.
8441
faa7f811
JM
84422013-05-09 Joseph Myers <joseph@codesourcery.com>
8443
ed41ffef
JM
8444 [BZ #15359]
8445 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
8446 high part of pi/2.
8447 (__ieee754_rem_pio2l): Update comments.
8448
d0213cd0
JM
8449 [BZ #15429]
8450 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
8451 high part of pi/2.
8452 (__ieee754_rem_pio2l): Update comments.
8453
0d3e777a
JM
8454 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
8455 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
8456
24f56066
JM
8457 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
8458 M_PI_4l.
8459
faa7f811
JM
8460 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
8461 (M_PI_34_LOG10El): Likewise.
8462 (M_PI2_LOG10El): Likewise.
8463 (M_PI4_LOG10El): Likewise.
8464 (M_PI_LOG10El): Likewise.
8465
e9a5e0fd
AZ
84662013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8467
8468 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8469
d8cd06db
JM
84702013-05-08 Joseph Myers <joseph@codesourcery.com>
8471
a0d9f9d7
JM
8472 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
8473 (MINUS_ZERO_INIT): Likewise.
8474 (PLUS_INFTY_INIT): Likewise.
8475 (MINUS_INFTY_INIT): Likewise.
8476 (QNAN_VALUE_INIT): Likewise.
8477 (MAX_VALUE_INIT): Likewise.
8478 (MIN_VALUE_INIT): Likewise.
8479 (MIN_SUBNORM_VALUE_INIT): Likewise.
8480 (plus_zero): Initialize with PLUS_ZERO_INIT.
8481 (minus_zero): Initialize with MINUS_ZERO_INIT.
8482 (plus_infty): Initialize with PLUS_INFTY_INIT.
8483 (minus_infty): Initialize with MINUS_INFTY_INIT.
8484 (qnan_value): Initialize with QNAN_VALUE_INIT.
8485 (max_value): Initialize with MAX_VALUE_INIT.
8486 (min_value): Initialize with MIN_VALUE_INIT.
8487 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
8488
ae08db3b
JM
8489 * math/libm-test.inc (RUN_TEST_if_f): New macro.
8490 (jn_test): Use TEST_if_f instead of TEST_ff_f.
8491 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
8492 (yn_test): Use TEST_if_f instead of TEST_ff_f.
8493
f44bf14a
JM
8494 * math/libm-test.inc (RUN_TEST_f_f): New macro.
8495 (RUN_TEST_2_f): Likewise.
8496 (RUN_TEST_ff_f): Likewise.
8497 (RUN_TEST_fi_f): Likewise.
8498 (RUN_TEST_fl_f): Likewise.
8499 (RUN_TEST_fff_f): Likewise.
8500 (RUN_TEST_c_f): Likewise.
8501 (RUN_TEST_f_f1): Likewise.
8502 (RUN_TEST_fF_f1): Likewise.
8503 (RUN_TEST_fI_f1): Likewise.
8504 (RUN_TEST_ffI_f1): Likewise.
8505 (RUN_TEST_c_c): Likewise.
8506 (RUN_TEST_cc_c): Likewise.
8507 (RUN_TEST_f_i): Likewise.
8508 (RUN_TEST_f_i_tg): Likewise.
8509 (RUN_TEST_ff_i_tg): Likewise.
8510 (RUN_TEST_f_b): Likewise.
8511 (RUN_TEST_f_b_tg): Likewise.
8512 (RUN_TEST_f_l): Likewise.
8513 (RUN_TEST_f_L): Likewise.
8514 (RUN_TEST_sincos): Likewise.
8515 * math/gen-libm-test.pl (new_test): Take new argument to indicate
8516 whether to show exceptions. Do not include ");\n" in return
8517 value.
8518 (special_functions): Output call to RUN_TEST_sincos instead of
8519 check_float calls. Update calls to new_test.
8520 (parse_args): Output call to single RUN_TEST_* macro instead of
8521 check_* calls and other assignments. Update calls to new_test.
8522
d8cd06db
JM
8523 [BZ #2546]
8524 [BZ #2560]
8525 [BZ #5159]
8526 [BZ #15426]
8527 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
8528 input to result for tgamma overflow.
8529 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
8530 (gamma_coeff): New variable.
8531 (NCOEFF): New macro.
8532 (gamma_positive): New function.
8533 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
8534 underflow here. Use gamma_positive instead of exp (lgamma) for
8535 other arguments.
8536 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
8537 (gamma_coeff): New variable.
8538 (NCOEFF): New macro.
8539 (gammaf_positive): New function.
8540 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
8541 underflow here. Use gamma_positive instead of exp (lgamma) for
8542 other arguments.
8543 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
8544 (gamma_coeff): New variable.
8545 (NCOEFF): New macro.
8546 (gammal_positive): New function.
8547 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
8548 underflow here. Use gamma_positive instead of exp (lgamma) for
8549 other arguments.
8550 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
8551 (gamma_coeff): New variable.
8552 (NCOEFF): New macro.
8553 (gammal_positive): New function.
8554 (__ieee754_gammal_r): Handle positive infinity, overflow and
8555 underflow here. Handle NaN the same as positive infinity. Remove
8556 check x < 0xffffffff for negative integers. Use gamma_positive
8557 instead of exp (lgamma) for other arguments.
8558 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
8559 (gamma_coeff): New variable.
8560 (NCOEFF): New macro.
8561 (gammal_positive): New function.
8562 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
8563 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
8564 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8565 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
8566 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
8567 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
8568 * sysdeps/generic/math_private.h (__gamma_productf): New
8569 prototype.
8570 (__gamma_product): Likewise.
8571 (__gamma_productl): Likewise.
8572 * math/Makefile (libm-calls): Add gamma_product.
8573 * math/libm-test.inc (tgamma_test): Add more tests.
8574 * sysdeps/i386/fpu/libm-test-ulps: Update.
8575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8576
bb7cf681
OB
85772013-05-08 Ondřej Bílka <neleai@seznam.cz>
8578
8579 * benchtests/bench-skeleton.c (main): Preheat CPU.
8580
ba853947
AJ
85812013-05-07 Aurelien Jarno <aurelien@aurel32.net>
8582
8583 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
8584
8347c74c
RM
85852013-05-07 Roland McGrath <roland@hack.frob.com>
8586
8587 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
8588 and _dl_skip_args_internal.
8589
e8dd4791
CD
85902013-05-07 Carlos O'Donell <carlos@redhat.com>
8591
8592 * manual/message.texi (Message Translation): Talk about users.
8593 Message to key mapping impacts design.
8594
c7405830
RM
85952013-05-06 Roland McGrath <roland@hack.frob.com>
8596
a9173057
RM
8597 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
8598
976e2f03
RM
8599 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
8600
9723ffc5
RM
8601 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
8602 * sysdeps/wordsize-64/glob64.c: ... here.
8603
962e6658
RM
8604 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
8605 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
8606 New macros.
8607
ee586a6d
RM
8608 * debug/getlogin_r_chk.c: Moved to ...
8609 * login/getlogin_r_chk.c: ... here.
8610 * debug/Makefile (routines): Move getlogin_r_chk to ...
8611 * login/Makefile (routines): ... here.
8612 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
8613 * login/Versions (libc: GLIBC_2.4): ... here.
8614
355f9165
RM
8615 * io/poll.c (__poll): Renamed from poll.
8616 Add libc_hidden_def.
8617 (poll): Define as weak alias.
8618
bd9ffde6
RM
8619 * debug/ptsname_r_chk.c: Moved to ...
8620 * login/ptsname_r_chk.c: ... here.
8621 * debug/Makefile (routines): Move ptsname_r_chk to ...
8622 * login/Makefile (routines): ... here.
8623 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
8624 * login/Versions (libc: GLIBC_2.4): ... here.
8625
8fb16a04
RM
8626 * posix/getlogin.c: Moved to ...
8627 * login/getlogin.c: ... here.
8628 * posix/getlogin_r.c: Moved to ...
8629 * login/getlogin_r.c: ... here.
8630 * posix/getlogin_r.c: Moved to ...
8631 * login/getlogin_r.c: ... here.
8632 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
8633 * login/Makefile (routines): ... here.
8634 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
8635 * login/Versions (libc: GLIBC_2.0): ... here.
8636
b99b892f
RM
8637 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
8638 (setrlimit): Define as weak alias.
8639
c7405830
RM
8640 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
8641 Call __ names for open, ftruncate, and close.
8642 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
8643 (truncate): Define as weak alias.
8644
5bf96de5
JM
86452013-05-06 Joseph Myers <joseph@codesourcery.com>
8646
9ea3513c
JM
8647 * math/gen-libm-test.pl (parse_args): Initialize x before each
8648 test of frexp, modf and remquo.
8649
5bf96de5
JM
8650 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
8651 test signgam value.
8652
16e616a7
AZ
86532013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8654
8655 [BZ #15418]
8656 [BZ #15419]
8657 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
8658 internal tests.
8659 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8660
d5e82754
RM
86612013-05-06 Roland McGrath <roland@hack.frob.com>
8662
8663 * elf/dl-writev.h: New file.
8664 * elf/dl-misc.c: Include it.
8665 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
8666 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
8667
a7548d41
JM
86682013-05-04 Joseph Myers <joseph@codesourcery.com>
8669
b7dab1e4
JM
8670 * math/libm-test.inc (noXFails): Remove variable.
8671 (noXPasses): Likewise.
8672 (BUILD_COMPLEX_INT): Remove macro.
8673 (print_screen): Remove xfail argument.
8674 (print_screen_max_error): Likewise.
8675 (update_stats): Likewise.
8676 (print_max_error): Likewise. Update calls to other affected
8677 functions.
8678 (print_complex_max_error): Likewise.
8679 (test_single_exception): Update calls to print_screen.
8680 (test_single_errno): Likewise.
8681 (check_float_internal): Remove xfail argument. Update calls to
8682 other affected functions.
8683 (check_float): Likewise.
8684 (check_complex): Likewise.
8685 (check_int): Likewise.
8686 (check_long): Likewise.
8687 (check_bool): Likewise.
8688 (check_longlong): Likewise.
8689 (main): Don't print noXFails and noXPasses.
8690 * math/gen-libm-test.pl (top level): Don't mention expected
8691 failure handling in comment.
8692 (new_test): Don't handle expected failures.
8693 (parse_args): Don't mention expected failure handling in comment.
8694 (generate_testfile): Don't handle expected failures.
8695 (parse_ulps): Likewise.
8696 (print_ulps_file): Likewise.
8697 (get_failure): Remove function.
8698 (output_test): Don't handle expected failures.
8699 * make/README.libm-test: Don't mention expected failure handling.
8700
a7548d41
JM
8701 * math/libm-test.inc (plus_zero): Make const. Add initializer.
8702 (minus_zero): Likewise.
8703 (plus_infty): Likewise.
8704 (minus_infty): Likewise.
8705 (qnan_value): Likewise.
8706 (max_value): Likewise.
8707 (min_value): Likewise.
8708 (min_subnorm_value): Likewise.
8709 (initialize): Do not initialize those variables dynamically.
8710
60bfd54c
RM
87112013-05-03 Roland McGrath <roland@hack.frob.com>
8712
cc0e6ed8
RM
8713 * io/open.c (__open_2): Moved to ...
8714 * io/open_2.c: ... this new file.
8715 * io/open64.c (__open64_2): Moved to ...
8716 * io/open64_2.c: ... this new file.
8717 * io/openat.c (__openat_2): Moved to ...
8718 * io/openat_2.c: ... this new file.
8719 * io/openat64.c (__openat64_2): Moved to ...
8720 * io/openat64_2.c: ... this new file.
8721 * io/Makefile (routines): Add them.
8722 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
8723 * sysdeps/unix/sysv/linux/open_2.c: File removed.
8724 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
8725 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
8726 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
8727 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
8728 (__openat64): Add hidden_ver.
8729 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
8730 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
8731
60bfd54c
RM
8732 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
8733 Separately conditionalize setting of GLRO(dl_sysinfo) so
8734 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
8735 as well, but the actual setting is only under [NEED_DL_SYSINFO].
8736
83e7640f
AZ
87372013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8738
8739 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
8740 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
8741 definition.
8742 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
8743 * sysdeps/unix/sysv/linux/powerpc/init-first.c
8744 (_libc_vdso_platform_setup): Add __vdso_time initialization.
8745 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
8746 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
8747
d5dc2af3
JM
87482013-05-03 Joseph Myers <joseph@codesourcery.com>
8749
c31a5b1e
JM
8750 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
8751 test signgam value.
8752
d5dc2af3
JM
8753 * math/libm-test.inc (hypot_test): Do not use
8754 IGNORE_ZERO_INF_SIGN.
8755
164fd39d
AJ
87562013-05-03 Andreas Jaeger <aj@suse.de>
8757
8758 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
8759 Linux 3.9.
8760 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
8761 (PF_MAX): Adjust for VSOCK change.
8762
8237f48c
AZ
87632013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8764
8765 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8766
9df02941
CD
87672013-05-02 Carlos O'Donell <carlos@redhat.com>
8768
8769 [BZ #15264]
8770 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
8771 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
8772 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
8773
d422395e
DM
87742013-05-02 David S. Miller <davem@davemloft.net>
8775
8776 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8777
a07c5731
OB
87782013-05-01 Ondřej Bílka <neleai@seznam.cz>
8779
8780 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
8781
1324e37f
RM
87822013-05-01 Roland McGrath <roland@hack.frob.com>
8783
8784 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
8785
0695940b
RS
87862013-05-01 Richard Smith <richard@metafoo.co.uk>
8787
bb5f27ad 8788 [BZ #14952]
0695940b
RS
8789 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
8790 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8791 Use __attribute__ ((__gnu_inline__)).
8792 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8793 Don't use __attribute__ ((__gnu_inline__)).
8794
10de07f5
JM
87952013-05-01 Joseph Myers <joseph@codesourcery.com>
8796
8797 [BZ #15423]
8798 * math/s_catan.c (__catan): Handle small real or imaginary part of
8799 input specially to avoid spurious underflow.
8800 * math/s_catanf.c (__catanf): Likewise.
8801 * math/s_catanh.c (__catanh): Likewise.
8802 * math/s_catanhf.c (__catanhf): Likewise.
8803 * math/s_catanhl.c (__catanhl): Likewise.
8804 * math/s_catanl.c (__catanl): Likewise.
8805 * math/libm-test.inc (catan_test): Add more tests.
8806 (catanh_test): Likewise.
8807 * sysdeps/i386/fpu/libm-test-ulps: Update.
8808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8809
cb4d5414
AZ
88102013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8811
8812 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8813
caf84319
JM
88142013-04-30 Joseph Myers <joseph@codesourcery.com>
8815
8816 [BZ #15416]
8817 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
8818 accurately for denominator in atan2.
8819 * math/s_catanf.c (__catanf): Likewise.
8820 * math/s_catanh.c (__catanh): Likewise.
8821 * math/s_catanhf.c (__catanhf): Likewise.
8822 * math/s_catanhl.c (__catanhl): Likewise.
8823 * math/s_catanl.c (__catanl): Likewise.
8824 * math/libm-test.inc (catan_test): Add more tests.
8825 (catanh_test): Likewise.
8826 * sysdeps/i386/fpu/libm-test-ulps: Update.
8827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8828
d569c6ee
SP
88292013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8830
6dbe713d
SP
8831 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
8832
f0ee064b
SP
8833 * benchtests/Makefile (bench): Remove slow benchmarks.
8834 * benchtests/atan-inputs: Add slow benchmark inputs.
8835 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
8836 (BENCH_FUNC): Accept variant offset.
8837 (VARIANT): Define.
8838 * benchtests/bench-skeleton.c (main): Run benchmark for each
8839 variant.
8840 * benchtests/cos-inputs: Add slow benchmark inputs.
8841 * benchtests/exp-inputs: Likewise.
8842 * benchtests/pow-inputs: Likewise.
8843 * benchtests/sin-inputs: Likewise.
8844 * benchtests/slowatan-inputs: Remove.
8845 * benchtests/slowatan.c: Remove.
8846 * benchtests/slowcos-inputs: Remove.
8847 * benchtests/slowcos.c: Remove.
8848 * benchtests/slowexp-inputs: Remove.
8849 * benchtests/slowexp.c: Remove.
8850 * benchtests/slowpow-inputs: Remove.
8851 * benchtests/slowpow.c: Remove.
8852 * benchtests/slowsin-inputs: Remove.
8853 * benchtests/slowsin.c: Remove.
8854 * benchtests/slowtan-inputs: Remove.
8855 * benchtests/slowtan.c: Remove.
8856 * benchtests/tan-inputs: Add slow benchmark inputs.
8857 * scripts/bench.pl: Parse comments and directives.
8858
d569c6ee
SP
8859 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
8860 in CPPFLAGS.
8861 ($(objpfx)bench-%.c): Remove *-ITER.
8862 * benchtests/bench-modf.c: Remove definition of ITER.
8863 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
8864 (main): Loop for DURATION seconds instead of fixed number of
8865 iterations.
8866 * scripts/bench.pl: Don't expect iterations in parameters.
8867
a6a242fe
RM
88682013-04-29 Roland McGrath <roland@hack.frob.com>
8869
8870 * io/fchdir.c (__fchdir): Renamed from fchdir.
8871 (fchdir): Define as weak alias.
8872
f2da7793
JM
88732013-04-29 Joseph Myers <joseph@codesourcery.com>
8874
8875 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
8876 (ERRNO_EDOM): Likewise.
8877 (ERRNO_ERANGE): Likewise.
8878 (noErrnoTests): New variable.
8879 (init_max_error): Set errno to 0.
8880 (test_single_errno): New function.
8881 (test_errno): Likewise.
8882 (check_float_internal): Call test_errno. Set errno to 0.
8883 (check_complex): Refer to errno tests in comment.
8884 (check_int): Call test_errno. Set errno to 0.
8885 (check_long): Likewise.
8886 (check_bool): Likewise.
8887 (check_longlong): Likewise.
8888 (cos_test): Use ERRNO_* flags for errno tests instead of
8889 check_int.
8890 (expm1_test): Likewise.
8891 (fmod_test): Likewise.
8892 (ilogb_test): Likewise.
8893 (lgamma_test): Likewise.
8894 (pow_test): Likewise.
8895 (remainder_test): Likewise.
8896 (sin_test): Likewise.
8897 (tan_test): Likewise.
8898 (yn_test): Likewise.
8899 (initialize): Set errno to 0.
8900 (main): Print number of errno tests.
8901 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
8902
b1a36ceb
AJ
89032013-04-29 Andreas Jaeger <aj@suse.de>
8904
c3ed8088
AJ
8905 [BZ #15084]
8906 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
8907 and RES_USEVC.
8908
f1a24198
AJ
8909 [BZ #15085]
8910 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
8911 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
8912 unimplemented.
8913
9ce3b2cb
AJ
8914 [BZ #15380]
8915 * stdlib/random.c (__initstate): Return NULL if
8916 __initstate fails.
8917
f1a24198 8918 [BZ #15086]
b1a36ceb
AJ
8919 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
8920 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
8921 RES_SNGLKUPREOP.
8922
7e7b6f36
AZ
89232013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8924
8925 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8926
4d14f449
JM
89272013-04-29 Joseph Myers <joseph@codesourcery.com>
8928
8929 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
8930 of individual tests.
8931 (casin_test): Likewise.
8932 (casinh_test): Likewise.
8933
5b4217d7
JM
89342013-04-27 Joseph Myers <joseph@codesourcery.com>
8935
8936 [BZ #15409]
8937 * math/s_catan.c (__catan): Handle arguments with large real or
8938 imaginary part separately without squaring.
8939 * math/s_catanf.c (__catanf): Likewise.
8940 * math/s_catanh.c (__catanh): Likewise.
8941 * math/s_catanhf.c (__catanhf): Likewise.
8942 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8943 and redefine.
8944 (__catanhl): Handle arguments with large real or imaginary part
8945 separately without squaring.
8946 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8947 and redefine.
8948 (__catanl): Handle arguments with large real or imaginary part
8949 separately without squaring.
8950 * math/libm-test.inc (catan_test): Add more tests.
8951 (catanh_test): Likewise.
8952 * sysdeps/i386/fpu/libm-test-ulps: Update.
8953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8954
4220c3ef
AJ
89552013-04-27 Andreas Jaeger <aj@suse.de>
8956
8957 [BZ #15007]
8958 * stdlib/stdlib.h: Update guards for qecvt.
8959 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
8960 <stdlib.h>.
8961
4721b2d1
AM
89622013-04-27 Allan McRae <allan@archlinux.org>
8963
8964 * sysdeps/i386/fpu/libm-test-ulps: Update.
8965
f0302940
JM
89662013-04-26 Joseph Myers <joseph@codesourcery.com>
8967
9457fd95
JM
8968 [BZ #15406]
8969 * math/s_catan.c: Include <float.h>.
8970 (__catan): Ensure underflow exception occurs for underflowed
8971 result.
8972 * math/s_catanf.c: Include <float.h>.
8973 (__catanf): Ensure underflow exception occurs for underflowed
8974 result.
8975 * math/s_catanh.c: Include <float.h>.
8976 (__catanh): Ensure underflow exception occurs for underflowed
8977 result.
8978 * math/s_catanhf.c: Include <float.h>.
8979 (__catanhf): Ensure underflow exception occurs for underflowed
8980 result.
8981 * math/s_catanhl.c: Include <float.h>.
8982 (__catanhl): Ensure underflow exception occurs for underflowed
8983 result.
8984 * math/s_catanl.c: Include <float.h>.
8985 (__catanl): Ensure underflow exception occurs for underflowed
8986 result.
8987 * math/libm-test.inc (catan_test): Add more tests.
8988 (catanh_test): Likewise.
8989
f0302940
JM
8990 [BZ #15405]
8991 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
8992 underflowed result.
8993 * math/s_ccoshf.c (__ccoshf): Likewise.
8994 * math/s_ccoshl.c (__ccoshl): Likewise.
8995 * math/s_csin.c (__csin): Likewise.
8996 * math/s_csinf.c (__csinf): Likewise.
8997 * math/s_csinh.c (__csinh): Likewise.
8998 * math/s_csinhf.c (__csinhf): Likewise.
8999 * math/s_csinhl.c (__csinhl): Likewise.
9000 * math/s_csinl.c (__csinl): Likewise.
9001 * math/libm-test.inc (ccos_test): Add more tests.
9002 (ccosh_test): Likewise.
9003 (csin_test): Likewise.
9004 (csinh_test): Likewise.
9005
aa630f59
AZ
90062013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9007
9008 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
9009 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
9010 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
9011 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
9012 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
9013 powerpc/power5+/fpu folders.
9014 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
9015
9016
1b835983
MT
90172013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
9018
9019 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9020
73709b26
JM
90212013-04-25 Joseph Myers <joseph@codesourcery.com>
9022
9023 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
9024 additions to variable.
9025 [$(config-machine) = x86_64] (modules-names): Likewise.
9026 ($(objpfx)tst-audit3): Remove dependency.
9027 ($(objpfx)tst-audit3.out): Likewise.
9028 ($(objpfx)tst-audit4): Likewise.
9029 ($(objpfx)tst-audit4.out): Likewise.
9030 ($(objpfx)tst-audit5): Likewise.
9031 ($(objpfx)tst-audit5.out): Likewise.
9032 ($(objpfx)tst-audit6): Likewise.
9033 ($(objpfx)tst-audit6.out): Likewise.
9034 ($(objpfx)tst-audit7): Likewise.
9035 ($(objpfx)tst-audit7.out): Likewise.
9036 (tst-audit3-ENV): Remove variable.
9037 (tst-audit4-ENV): Likewise.
9038 (tst-audit5-ENV): Likewise.
9039 (tst-audit6-ENV): Likewise.
9040 (tst-audit7-ENV): Likewise.
9041 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
9042 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
9043 addition to variable.
9044 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
9045 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
9046 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
9047 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
9048 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
9049 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
9050 tst-audit3, tst-audit4 and tst-audit5.
9051 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
9052 tst-audit6 and tst-audit7.
9053 [$(subdir) = elf] (modules-names): Add audit modules for those
9054 tests.
9055 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
9056 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
9057 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
9058 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
9059 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
9060 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
9061 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
9062 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
9063 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
9064 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
9065 [$(subdir) = elf] (tst-audit3-ENV): New variable.
9066 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
9067 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
9068 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
9069 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
9070 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
9071 Likewise.
9072 [$(subdir) = elf && $(config-cflags-avx) = yes]
9073 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
9074 [$(subdir) = elf && $(config-cflags-avx) = yes]
9075 (CFLAGS-tst-auditmod4a.c): Likewise.
9076 [$(subdir) = elf && $(config-cflags-avx) = yes]
9077 (CFLAGS-tst-auditmod4b.c): Likewise.
9078 [$(subdir) = elf && $(config-cflags-avx) = yes]
9079 (CFLAGS-tst-auditmod6b.c): Likewise.
9080 [$(subdir) = elf && $(config-cflags-avx) = yes]
9081 (CFLAGS-tst-auditmod6c.c): Likewise.
9082 [$(subdir) = elf && $(config-cflags-avx) = yes]
9083 (CFLAGS-tst-auditmod7b.c): Likewise.
9084 * elf/tst-audit3.c: Move to ...
9085 * sysdeps/x86_64/tst-audit3.c: ... here.
9086 * elf/tst-audit4.c: Move to ...
9087 * sysdeps/x86_64/tst-audit4.c: ... here.
9088 * elf/tst-audit5.c: Move to ...
9089 * sysdeps/x86_64/tst-audit5.c: ... here.
9090 * elf/tst-audit6.c: Move to ...
9091 * sysdeps/x86_64/tst-audit6.c: ... here.
9092 * elf/tst-audit7.c: Move to ...
9093 * sysdeps/x86_64/tst-audit7.c: ... here.
9094 * elf/tst-auditmod3a.c: Move to ...
9095 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
9096 * elf/tst-auditmod3b.c: Move to ...
9097 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
9098 * elf/tst-auditmod4a.c: Move to ...
9099 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
9100 * elf/tst-auditmod4b.c: Move to ...
9101 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
9102 * elf/tst-auditmod5a.c: Move to ...
9103 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
9104 * elf/tst-auditmod5b.c: Move to ...
9105 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
9106 * elf/tst-auditmod6a.c: Move to ...
9107 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
9108 * elf/tst-auditmod6b.c: Move to ...
9109 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
9110 * elf/tst-auditmod6c.c: Move to ...
9111 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
9112 * elf/tst-auditmod7a.c: Move to ...
9113 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
9114 * elf/tst-auditmod7b.c: Move to ...
9115 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
9116
1ef74943
PP
91172013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
9118
9119 [BZ #15366]
9120 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
9121 define unconditionally.
9122 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
9123 define unconditionally.
9124 (INT8_C, INT16_C, etc.): Likewise.
9125
93fd48c5
MR
91262013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
9127
ae9552cf
MR
9128 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
9129 __ehdr_start with hidden visibility.
9130
93fd48c5
MR
9131 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
9132
418601aa
CD
91332013-04-24 Carlos O'Donell <carlos@redhat.com>
9134
9135 * math/libm-test.inc (cos_test): Use accurate hex constants.
9136 (sincost_test): Likewise.
9137
2f38fbfe
JM
91382013-04-24 Joseph Myers <joseph@codesourcery.com>
9139
5e221800
JM
9140 * math/libm-test.inc (catan_test): Add more tests.
9141 (catanh_test): Likewise.
9142
77f143fd
JM
9143 * math/s_catanf.c (__catanf): Use suffixed floating-point
9144 constants.
9145 * math/s_catanhf.c (__catanhf): Likewise.
9146 * math/s_catanhl.c (__catanhl): Likewise.
9147 * math/s_catanl.c (__catanl): Likewise.
9148
2f38fbfe
JM
9149 [BZ #15394]
9150 * math/s_catan.c (__catan): Calculate imaginary part of result
9151 with log1p not log unless computing log of number close to 0.
9152 * math/s_catanf.c (__catanf): Likewise.
9153 * math/s_catanl.c (__catanl): Likewise.
9154 * math/s_catanh.c (__catanh): Calculate real part of result with
9155 log1p not log unless computing log of number close to 0.
9156 * math/s_catanhf.c (__catanhf): Likewise.
9157 * math/s_catanhl.c (__catanhl): Likewise.
9158 * math/libm-test.inc (catan_test): Add more tests.
9159 (catanh_test): Likewise.
9160 * sysdeps/i386/fpu/libm-test-ulps: Update.
9161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9162
45d69176
SP
91632013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9164
9165 * benchtests/Makefile: Mention files in which fast and slow
9166 paths of math functions are implemented.
9167
87f51853
RM
91682013-04-23 Roland McGrath <roland@hack.frob.com>
9169
9170 * sysdeps/posix/timespec_get.c: New file.
9171
3c026539
AZ
91722013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9173
9174 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
9175 POWER.
9176 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
9177 for POWER.
9178 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
9179 powerpc/power5/fpu folders.
9180 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
9181 * benchtests/Makefile: Add modf testcase.
9182 * benchtests/bench-modf.c: New file: Benchmark test for mo
9183
ff491d14
SP
91842013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9185
9186 [BZ #14888]
9187 * time/Makefile (tests): Add tst-strptime-whitespace.
9188 * time/strptime_l.c (get_number): Use ISSPACE.
9189 (__strptime_internal): Likewise.
9190 * time/tst-strptime-whitespace.c: New test case.
9191
7ed3f4e8
AS
91922013-04-23 Andreas Schwab <schwab@linux-m68k.org>
9193
9194 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
9195 member.
9196 (_nss_files_init): Set it here.
9197
5c95f7b6
HC
91982013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
9199
9200 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
9201 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
9202 unsigned.
9203
d34c9158
JBG
92042013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
9205
9206 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
9207
2169712d
SP
92082013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9209
9210 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
9211 size just once.
9212
29c5de99
DM
92132013-04-21 David S. Miller <davem@davemloft.net>
9214
9215 * po/ru.po: Update Russion translation from translation project.
9216
ccdad15d
AC
92172013-04-17 Adam Conrad <adconrad@0c3.net>
9218
9219 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
9220 and setfsgid.
9221
0f122b8d
CD
92222013-04-17 Carlos O'Donell <carlos@redhat.com>
9223
5c5b07da 9224 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 9225 * configure: Regenerate.
5c5b07da 9226 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
9227 Add example to error message.
9228 * sysdeps/i386/configure: Regenerate.
9229
037714dd
SP
92302013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9231
9232 * benchtests/Makefile (bench): Add cos, tan, slowcos and
9233 slowtan.
9234 * benchtests/cos-inputs: New file.
9235 * benchtests/slowcos-inputs: New file.
9236 * benchtests/slowcos.c: New file.
9237 * benchtests/slowtan-inputs: New file.
9238 * benchtests/slowtan.c: New file.
9239 * benchtests/tan-inputs: New file.
9240
e913141d
RM
92412013-04-16 Roland McGrath <roland@hack.frob.com>
9242
9243 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
9244 considered kosher.
9245
a2964074
SP
92462013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9247
4856bcd2
SP
9248 * benchtests/Makefile: Include cppflags-iterator.mk to add
9249 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
9250
a2964074
SP
9251 * Makefile.in (bench-clean): New target.
9252 * benchtests/Makefile (bench-clean): Likewise.
9253
9fbf9aca
DH
92542013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
9255
9256 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
9257
207d1e2a
TS
92582013-04-15 Thomas Schwinge <thomas@codesourcery.com>
9259
9260 * stdio-common/tstdiomisc.c: Fix coding-style violation.
9261
306dfba9
AS
92622013-04-15 Andreas Schwab <schwab@suse.de>
9263
9264 * nscd/grpcache.c (cache_addgr): Properly check for short write.
9265 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9266 * nscd/pwdcache.c (cache_addpw): Likewise.
9267 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
9268 more than recsize.
9269
206a6699
SP
92702013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9271
9272 * benchtests/Makefile (bench): Write all output to
9273 bench-out.tmp together.
9274
0582f6b3
AS
92752013-04-15 Andreas Schwab <schwab@suse.de>
9276
9277 * nscd/nscd.c (main): Don't fork again after closing files.
9278
acb4325f
SP
92792013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9280
5cb26d0a
SP
9281 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
9282
acb4325f
SP
9283 * benchtests/Rules (bench-deps): Collect dependencies into a
9284 single variable. Add Makefile to dependencies.
9285 ($(objpfx)bench-%.c): Depend on bench-deps.
9286
47792506
RM
92872013-04-12 Roland McGrath <roland@hack.frob.com>
9288 Xavier Roche <roche+kml2@exalead.com>
9289
9290 [BZ #15361]
9291 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
9292 just that it's a file descriptor.
9293 * manual/llio.texi (Synchronizing AIO Operations): Update description
9294 for EBADF error from aio_fsync.
9295
8fc1bee5
SP
92962013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9297
9298 * Rules (bench): Move target definition...
9299 * benchtests/Makefile: ... here.
9300
aba5e333
CD
93012013-04-11 Carlos O'Donell <carlos@redhat.com>
9302
9303 * math/libm-test.inc (cos_test): Fix PI/2 test.
9304 (sincos_test): Likewise.
9305 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9306 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9307
273cdee8
AS
93082013-04-11 Andreas Schwab <schwab@suse.de>
9309
6ecec3b6
AS
9310 [BZ #13988]
9311 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
9312 accept exponent character only when digits were seen.
9313 * stdio-common/Makefile (tests): Add bug26.
9314 * stdio-common/bug26.c: New file.
9315
273cdee8
AS
9316 [BZ #14293]
9317 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
9318 non-freeable.
9319
8da491f5
SP
93202013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9321
01dc6df9
SP
9322 * Makeconfig (rtld-prefix): Define built linker prefix.
9323 * Rules (run-bench): Use it.
9324 * math/Makefile (run-regen-ulps): Likewise.
9325
8da491f5
SP
9326 * Rules (bench): Remove eval.
9327
abe7f530
SP
93282013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9329 Roland McGrath <roland@hack.frob.com>
9330 Ondrej Bilka <neleai@seznam.cz>
9331
9332 [BZ #15346]
9333 * time/getdate.c: Include ctype.h and alloca.h.
9334 (__getdate_r): Trim leading and trailing spaces of input.
9335 * time/tst-getdate.c (tests): Add tests with leading and
9336 trailing spaces.
9337
61c23e62
RM
93382013-04-08 Roland McGrath <roland@hack.frob.com>
9339
9340 [BZ #14280]
9341 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
9342 when computing value.
9343
7208a313
CD
93442013-04-06 Carlos O'Donell <carlos@redhat.com>
9345
085b2d41
CD
9346 * math/README.libm-test (How can I generate "libm-test-ulps"?):
9347 Use testrun.sh to run libm tests.
9348
7208a313
CD
9349 [BZ #15309]
9350 * elf/dl-open.c (dl_open_worker): memset all of seen array.
9351
872c0acd
MM
93522013-04-06 Marko Myllynen <myllynen@redhat.com>
9353
9354 [BZ #15264]
9355 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
9356
26510bdd
CD
93572013-04-06 Carlos O'Donell <carlos@redhat.com>
9358
9359 * Makefile.in (regen-ulps): New target.
9360 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
9361 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
9362 [ifneq (no,$(PERL)] (regen-ulps): New target.
9363 [ifeq (no,$(PERL)] (regen-ulps): New target.
9364 * math/libm-test.inc (ulps_file_name): Define.
9365 (output_dir): New variable.
9366 (options): Add "output-dir" option.
9367 (parse_opt): Handle 'o' case.
9368 (main): If output_dir is non-NULL use it as a prefix
9369 otherwise use "".
9370 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
9371
a01f19c8
CD
93722013-04-06 Carlos O'Donell <carlos@redhat.com>
9373
9374 [BZ #10060, #10062]
9375 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
9376 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
9377 fail configure if __sync_val_compare_and_swap is not inlined.
9378 * sysdeps/i386/configure: Regenerate.
9379 * configure.in: Build for i686 when configured for i386.
9380 * configure: Regenerate.
9381 * README: Remove i386 reference.
9382
b7a329a5
CD
93832013-04-06 Carlos O'Donell <carlos@redhat.com>
9384
9385 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
9386 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9387
bf0f50df
TS
93882013-04-05 Thomas Schwinge <thomas@codesourcery.com>
9389
ee091edf
TS
9390 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
9391 (lmsnanval): New variables.
9392 (F): Add conversion tests.
9393 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
9394 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
9395
a8b792d6
TS
9396 * stdio-common/tstdiomisc.c (F): Properly collect individual
9397 tests' results.
9398
a1cbf437
TS
9399 [BZ #14686, #15336]
9400 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
9401 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
9402 Instead, use input NaN values or generate a qNaN by arithmetic
9403 operation. Also fix bugs to comply with the standard.
9404 * math/libm-test.inc (remainder_test): Add more tests.
9405
8b43a0c9
TS
9406 [BZ #15335, #15342]
9407 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
9408 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
9409 input NaN values or generate a qNaN by arithmetic operation.
9410
d91da4ce
TS
9411 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
9412 unreachable code.
9413
bf0f50df
TS
9414 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
9415 definitions.
9416
05e166c8
JM
94172013-04-03 Joseph Myers <joseph@codesourcery.com>
9418
9419 [BZ #14478]
9420 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
9421 underflowed result.
9422 * math/s_cexpf.c (__cexpf): Likewise.
9423 * math/s_cexpl.c (__cexpl): Likewise.
9424 * math/libm-test.inc (cexp_test): Add more tests.
9425
1cef1b19
AS
94262013-04-03 Andreas Schwab <schwab@suse.de>
9427
9428 [BZ #15330]
9429 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
9430 order arrays from heap if bigger than alloca cutoff.
9431
74d87055
TS
94322013-04-03 Thomas Schwinge <thomas@codesourcery.com>
9433
9434 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
9435 (SNAN_TESTS_double): Refer to GCC PR56831.
9436 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
9437 GCC PR56828.
9438
d755bba4
SP
94392013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9440
90d5d5bb
SP
9441 * Rules (bench): Move bench.out after the run is complete.
9442
73e0cd5d
SP
9443 * Rules (bench): Echo currently running benchmark.
9444
64aabd4b
SP
9445 * benchtests/Makefile (bench): Add atan and slowatan.
9446 * benchtests/atan-inputs: New file.
9447 * benchtests/slowatan-inputs: New file.
9448 * benchtests/slowatan.c: New file.
9449
c871eccd
SP
9450 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
9451 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
9452 its value.
9453
d755bba4
SP
9454 [BZ #15305]
9455 * sysdeps/unix/sysv/linux/kernel-features.h
9456 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
9457 __ASSUME_XFS_RESTRICTED_CHOWN.
9458 * sysdeps/unix/sysv/linux/pathconf.c
9459 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9460 Save and restore errno.
9461
52ce4860
JM
94622013-04-02 Joseph Myers <joseph@codesourcery.com>
9463
9464 [BZ #15327]
9465 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
9466 arguments using __kernel_casinh.
9467 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
9468 arguments using __kernel_casinhf.
9469 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
9470 arguments using __kernel_casinhl.
9471 * math/libm-test.inc (cacosh_test): Add more tests.
9472 * sysdeps/i386/fpu/libm-test-ulps: Update.
9473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9474
81f311c2
SP
94752013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9476
e7906a47
SP
9477 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
9478 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
9479
92e3664b
SP
9480 * bench/Makefile (bench): Add sin and slowsin.
9481 * benchtests/sin-inputs: New file.
9482 * benchtests/slowsin-inputs: New file.
9483 * benchtests/slowsin.c: New file.
9484
81f311c2
SP
9485 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
9486 (bench): Add slowexp and slowpow.
9487 (exp-ITER): Increase iterations.
9488 (pow-ITER): Likewise.
9489 * benchtests/exp-inputs: Change input.
9490 * benchtests/pow-inputs: Likewise.
9491 * benchtests/slowexp-inputs: New file.
9492 * benchtests/slowexp.c: New file.
9493 * benchtests/slowpow-inputs: New file.
9494 * benchtests/slowpow.c: New file.
9495
ab0f1aa9
AZ
94962013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9497
9498 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
9499 instructions.
9500 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9501 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
9502 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9503 * benchtests/Makefile: Add rint benchtest.
9504 * benchtests/rint-inputs: Input for rint benchtest.
9505
57267616
TS
95062013-04-02 Thomas Schwinge <thomas@codesourcery.com>
9507
9508 * Versions.def (libm): Add GLIBC_2.18.
9509 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
9510 hidden libm prototypes.
9511 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
9512 * math/Makefile (libm-calls): Add s_issignaling.
9513 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
9514 __issignalingf, __issignalingl. Adjust all libm.abilist files.
9515 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
9516 declaration.
9517 * math/math.h [__USE_GNU] (issignaling): New macro.
9518 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
9519 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
9520 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
9521 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
9522 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
9523 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
9524 * manual/arith.texi (issignaling): New section.
9525 * manual/libm-err-tab.pl (@all_functions): Update comment.
9526 * math/gen-libm-test.pl (parse_args): Apply special handling for
9527 issignaling.
9528 * math/libm-test.inc (print_float, issignaling_test): New
9529 functions.
9530 (check_float_internal): Add issignaling checks.
9531 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
9532 default definition.
9533 * sysdeps/powerpc/math-tests.h: New file.
9534 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
9535 tests.
9536 * math/test-snan.c (TEST_FUNC): Likewise.
9537
6142896d
DM
95382013-03-30 David S. Miller <davem@davemloft.net>
9539
9540 * po/de.po: Update from translation team.
9541
ccc8cadf
JM
95422013-03-30 Joseph Myers <joseph@codesourcery.com>
9543
9544 [BZ #10357]
9545 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9546 imaginary part less than 1.0 and real part less than 0.5
9547 specially.
9548 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9549 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9550 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
9551 (cacos_test): Add more tests.
9552 (casin_test): Likewise.
9553 (casinh_test): Likewise.
9554 * sysdeps/i386/fpu/libm-test-ulps: Update.
9555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9556
0f6a8d4b
SP
95572013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9558
0d1029de
SP
9559 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
9560 ONE with its value.
9561
c2d94018
SP
9562 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
9563 (__pow_mp): Replace ONE and MONE with their values.
9564 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9565 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
9566 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9567 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
9568 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9569 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9570
27ec37f1
SP
9571 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
9572
a64d7e0e
SP
9573 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
9574 (__pow_mp): Replace ZERO and MZERO with their values.
9575 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9576 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9577 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9578 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9579 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9580 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
9581 (__sqr): Likewise.
9582
d26dd3eb
SP
9583 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
9584
0f6a8d4b
SP
9585 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
9586
e57b0c61
RM
95872013-03-28 Roland McGrath <roland@hack.frob.com>
9588
9589 * include/stdlib.h [!SHARED] (__call_tls_dtors):
9590 Declare with __attribute__ ((weak)).
9591 * stdlib/exit.c (__libc_atexit) [!SHARED]:
9592 Call __call_tls_dtors only if it's not NULL.
9593
356b3480
RM
95942013-03-28 Roland McGrath <roland@hack.frob.com>
9595
288f7d79
RM
9596 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
9597 didn't do it already, then set _dl_phdr and _dl_phnum based on the
9598 magic __ehdr_start linker symbol if it's defined.
9599 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
9600 them up here if it was already done.
9601
dc0a0263
RM
9602 * elf/dl-support.c (_dl_phdr): Make pointer to const.
9603 (_dl_aux_init): Use const in cast when setting it.
9604 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
9605 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
9606 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
9607
3d3436ae
RM
9608 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
9609 Declare them here.
9610 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
9611 * csu/libc-tls.c: Nor here.
9612 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
9613
356b3480
RM
9614 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
9615 (__libc_message): Never call vsyslog.
9616
b0f1246a
AM
96172013-03-28 Alan Modra <amodra@gmail.com>
9618
9619 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
9620 Define as empty.
9621 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
9622 Likewise.
9623
fbbe2b9a
AZ
96242013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9625
9626 [BZ #15214]
9627 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
9628 underflow.
9629 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9630
1728ab37
SP
96312013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9632
7a86be6e
SP
9633 [BZ #15304]
9634 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9635 Don't add gid passed as argument.
9636
1728ab37
SP
9637 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
9638
3a7182a1
JM
96392013-03-27 Joseph Myers <joseph@codesourcery.com>
9640
9641 [BZ #15307]
9642 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9643 imaginary part between 1.0 and 1.5 and real part less than 0.5
9644 specially.
9645 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9646 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9647 * math/libm-test.inc (cacos_test): Add more tests.
9648 (casin_test): Likewise.
9649 (casinh_test): Likewise.
9650 * sysdeps/i386/fpu/libm-test-ulps: Update.
9651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9652
6f2e90e7
SP
96532013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9654
5739f705
SP
9655 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
9656 constants.
9657 (norm): Likewise.
9658 (denorm): Likewise.
9659 (__dbl_mp): Likewise.
9660 (add_magnitudes): Likewise.
9661 (sub_magnitudes): Likewise.
9662 (__add): Likewise.
9663 (__sub): Likewise.
9664 (__mul): Likewise.
9665 (__sqr): Likewise.
9666 (__inv): Likewise.
9667 (__dvd): Likewise.
9668
e375e83d
SP
9669 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
9670 commented code.
9671 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
9672 (__dubcos): Likewise.
9673 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
9674 (__ieee754_acos): Likewise.
9675 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9676 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
9677 (__exp1): Likewise.
9678 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9679 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9680 (log1): Likewise.
9681 (my_log2): Likewise.
9682 (checkint): Likewise.
9683 * sysdeps/ieee754/dbl-64/e_remainder.c
9684 (__ieee754_remainder): Likewise.
9685 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9686 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
9687 (bsloww): Likewise.
9688 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9689
6f2e90e7
SP
9690 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9691 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
9692 MANTISSA_STORE_T to store computations on mantissa. Use
9693 macros for rounding and division.
9694 (denorm): Likewise.
9695 (__dbl_mp): Likewise.
9696 (add_magnitudes): Likewise.
9697 (sub_magnitudes): Likewise.
9698 (__mul): Likewise.
9699 (__sqr): Likewise.
9700 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
9701 powers of two in terms of TWOPOW macro.
9702 (mp_no): Make type of mantissa as MANTISSA_T.
9703 [!RADIXI]: Define RADIXI.
9704 [!TWO52]: Define TWO52.
9705 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9706
fce14d4e
AZ
97072013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9708
9709 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
9710 llroundl symbol when building for PPC32.
9711
9ad027fb
MW
97122013-03-24 Mark H Weaver <mhw@netris.org>
9713
9714 * manual/arith.texi (Normalization Functions): Fix prototypes for
9715 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
9716
e42a38dd
AZ
97172013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9718
9719 [BZ #13889]
9720 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
9721 high value to check if expl overflow.
9722 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
9723 to check for underflow and overflow.
9724 * math/libm-test.inc: Add exp test.
9725
2e0fb521
DL
97262013-03-21 Dmitry V. Levin <ldv@altlinux.org>
9727
9728 [BZ #11120]
9729 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
9730 with NOT_IN_libc.
9731
b5784d95
AZ
97322013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9733
9734 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
9735 symbol.
9736
5aa4a1a1
TS
97372013-03-21 Thomas Schwinge <thomas@codesourcery.com>
9738
bdef0be7
TS
9739 * math/gen-libm-test.pl (parse_args, special_functions): Properly
9740 wrap blocks consisting of several statements.
9741
5aa4a1a1
TS
9742 * sysdeps/generic/math-tests.h: New file.
9743 * sysdeps/i386/fpu/math-tests.h: Likewise.
9744 * math/test-snan.c: Include it.
9745 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
9746
98c48fe5
JM
97472013-03-21 Joseph Myers <joseph@codesourcery.com>
9748
9749 [BZ #15285]
9750 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
9751 (__ieee754_j0l): Do not improve calculations using cos of twice
9752 input for inputs above LDBL_MAX / 2.0L.
9753 (__ieee754_y0l): Likewise.
9754 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
9755 (__ieee754_j1l): Do not improve calculations using cos of twice
9756 input for inputs above LDBL_MAX / 2.0L.
9757 (__ieee754_y1l): Likewise.
9758 * math/libm-test.inc (j0_test): Add another test.
9759 (j1_test): Likewise.
9760 (y0_test): Likewise.
9761 (y1_test): Likewise.
9762 * sysdeps/i386/fpu/libm-test-ulps: Update.
9763
3775a8bc
SP
97642013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9765
9766 * Rules ($(objpfx)bench-%.c): Include code from a C source
9767 file.
9768
0a1b2ae6
JM
97692013-03-21 Joseph Myers <joseph@codesourcery.com>
9770
9771 [BZ #15287]
9772 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9773 imaginary part 1.0 and real part less than 0.5 specially.
9774 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9775 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9776 * math/libm-test.inc (cacos_test): Add more tests.
9777 (casin_test): Likewise.
9778 (casinh_test): Likewise.
9779 * sysdeps/i386/fpu/libm-test-ulps: Update.
9780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9781
b33d4ce4
SP
97822013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9783
9784 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
9785 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
9786
bef0b507
JM
97872013-03-20 Joseph Myers <joseph@codesourcery.com>
9788
9789 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
9790 * config.make.in (config-cflags-sse4): Remove variable.
9791 (config-cflags-avx): Likewise.
9792 (config-cflags-sse2avx): Likewise.
9793 (config-cflags-novzeroupper): Likewise.
9794 (config-asflags-i686): Likewise.
9795 (have-mfma4): Likewise.
9796 (have-as-vis3): Likewise.
9797 (MIG): Likewise.
9798 * configure.in (MIG): Do not AC_SUBST.
9799 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
9800 (libc_cv_cc_sse4): Do not AC_SUBST.
9801 (libc_cv_cc_avx): Likewise.
9802 (libc_cv_cc_sse2avx): Likewise.
9803 (libc_cv_cc_novzeroupper): Likewise.
9804 (libc_cv_cc_fma4): Likewise.
9805 (libc_cv_as_i686): Likewise.
9806 (libc_cv_sparc_as_vis3): Likewise.
9807 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
9808 LIBC_CONFIG_VAR.
9809 (config-asflags-i686): Likewise.
9810 (config-cflags-avx): Likewise.
9811 (config-cflags-sse2avx): Likewise.
9812 (have-mfma4): Likewise.
9813 (config-cflags-novzeroupper): Likewise.
9814 * sysdeps/mach/configure.in (MIG): Likewise.
9815 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
9816 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
9817 LIBC_CONFIG_VAR.
9818 (config-cflags-avx): Likewise.
9819 (config-cflags-sse2avx): Likewise.
9820 (have-mfma4): Likewise.
9821 (config-cflags-novzeroupper): Likewise.
9822 * configure: Regenerated.
9823 * sysdeps/i386/configure: Likewise.
9824 * sysdeps/mach/configure: Likewise.
9825 * sysdeps/sparc/configure: Likewise.
9826 * sysdeps/x86_64/configure: Likewise.
9827
912cc4b3
RM
98282013-03-20 Roland McGrath <roland@hack.frob.com>
9829
9830 [BZ #14812]
9831 * locale/programs/localedef.c (options): Put N_ translation marker
9832 on argument names, not just descriptions.
9833
04eed2b0
MS
98342013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9835
9836 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
9837
a065ceff
OB
98382013-03-20 Ondřej Bílka <neleai@seznam.cz>
9839
9bb2a810 9840 [BZ #14176]
a065ceff
OB
9841 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
9842
a600e5ce
RM
98432013-03-19 Roland McGrath <roland@hack.frob.com>
9844
9845 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
9846 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
9847 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
9848 [!BEFORE_ABORT] (before_abort): New function.
9849 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
9850 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
9851 (writev_for_fatal): New function.
9852 (WRITEV_FOR_FATAL): New macro; call that.
9853 (backtrace_and_maps): New function.
9854 (BEFORE_ABORT): New macro; call that.
9855 (struct str_list): Type removed.
9856 (__libc_message, __libc_fatal): Functions removed.
9857 Include <sysdeps/posix/libc_fatal.c> instead.
9858
6b18bea6
JM
98592013-03-19 Joseph Myers <joseph@codesourcery.com>
9860
9861 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
9862 constants.
9863 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
9864 double constants.
9865
aaa8cb4b
AS
98662013-03-19 Andreas Schwab <schwab@suse.de>
9867
44673770
AS
9868 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
9869 * sysdeps/gnu/configure: Regenerate.
9870
aaa8cb4b
AS
9871 * configure.in: Substitute libc_cv_rtlddir.
9872 * configure: Regenerate.
9873 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
9874 * Makeconfig (rtlddir, inst_rtlddir): New variables.
9875 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
9876 * elf/Makefile (install-others, CFLAGS-interp.c)
9877 (ldso_install, common-ldd-rewrite): Likewise.
9878 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
9879 $(inst_slibdir)/$(rtld-installed-name).
9880 * scripts/rellns-sh: Add -p option.
9881 * Makerules (make-shlib-link): Use rellns-sh to get relative name
9882 for source.
9883
d3cfc668
SP
98842013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9885
9886 * manual/nptl.texi: Renamed to ...
9887 * manual/threads.texi: ... this.
9888 * manual/Makefile (chapters): Update.
9889
0e2b9cdd
RM
98902013-03-18 Roland McGrath <roland@hack.frob.com>
9891
9892 [BZ #14812]
9893 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
9894 on argument names, not just descriptions.
0e2b9cdd
RM
9895 * malloc/memusagestat.c (options): Likewise.
9896 * nss/getent.c (options): Likewise.
63270c24
RM
9897
98982013-03-18 Benno Schulenberg <bensberg@justemail.net>
9899
9900 [BZ #14812]
9901 * iconv/iconv_prog.c (options): Put N_ translation marker
9902 on argument names, not just descriptions.
9903 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 9904
b2e1393c
OB
99052013-03-18 Ondrej Bilka <neleai@seznam.cz>
9906
9907 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
9908 implementation which is faster on all x86_64 architectures.
9909 Tested on AMD, Intel Nehalem, SNB, IVB.
9910 * sysdeps/x86_64/strnlen.S: Likewise.
9911
9912 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9913 Remove all multiarch strlen and strnlen versions.
9914 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9915 Remove strlen and strnlen related parts.
9916
9917 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
9918 Inline strlen part.
9919 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9920
9921 * sysdeps/x86_64/multiarch/strlen.S: Remove.
9922 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
9923 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
9924 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
9925 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
9926 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
9927
ec4ff04d
CD
99282013-03-17 Carlos O'Donell <carlos@redhat.com>
9929
9930 * manual/memory.texi (Malloc Tunable Parameters):
9931 Sort parameters alphabetically. Add comments for missing entries.
9932
cd18e90a
DM
99332013-03-17 David S. Miller <davem@davemloft.net>
9934
9935 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9936
2a185d32
JM
99372013-03-16 Joseph Myers <joseph@codesourcery.com>
9938
d2f9799e
JM
9939 [BZ #15283]
9940 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
9941 for arguments at most half maximum finite value.
9942 * math/libm-test.inc (j0_test): Add more tests.
9943 (j1_test): Likewise.
9944 (y0_test): Likewise.
9945 (y1_test): Likewise.
9946 * sysdeps/i386/fpu/libm-test-ulps: Update.
9947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9948
2a185d32
JM
9949 [BZ #14155]
9950 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
9951 1 / x and functions P and Q for arguments above 0x1p256L.
9952 (__ieee754_y0l): Likewise.
9953 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
9954 (__ieee754_y1l): Likewise.
9955 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
9956 (j1_test): Likewise.
9957 (y0_test): Likewise.
9958 (y1_test): Likewise.
9959
6cbec759
TS
99602013-03-16 Thomas Schwinge <thomas@codesourcery.com>
9961
9962 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
9963 variable.
9964
bc16e260
RM
99652013-03-15 Roland McGrath <roland@hack.frob.com>
9966
aefc9b8c
RM
9967 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
9968 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
9969 zero since it's initialized to EXEC_PAGESIZE.
9970
bc16e260
RM
9971 * sysdeps/unix/sysv/linux/ldsodefs.h
9972 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
9973 * sysdeps/generic/ldsodefs.h: ... here.
9974
a57da955
TS
99752013-03-15 Thomas Schwinge <thomas@codesourcery.com>
9976
af00a34d
TS
9977 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
9978
495ded2c
TS
9979 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
9980 math/test-snan.c.
9981 * math/test-snan.c: Renamed from
9982 sysdeps/powerpc/fpu/test-powerpc-snan.c.
9983 * math/Makefile (tests): Add test-snan.
9984 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
9985 test-powerpc-snan.
9986
777b0332
TS
9987 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
9988 SUFFIX. Initialize qNaN_var with __builtin_nan family of
9989 functions.
9990 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
9991 __builtin_nan family of functions.
9992 * math/libm-test.inc (initialize): Initialize qnan_value with
9993 __builtin_nan family of functions.
9994 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
9995 Remove variables.
9996 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
9997 Remove functions.
9998 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
9999 storage class. Initialize qNaN_var and sNaN_var with
10000 __builtin_nan and __builtin_nans families of functions,
10001 respectively.
10002
64d063b8
TS
10003 * math/libm-test.inc (acosh_test): Also test with qNaN input.
10004 (sqrt_test): Remove duplicate test with qNaN input.
10005 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
10006 (round_test, signbit_test, significand_test): Note missing +/-Inf
10007 as well as qNaN tests.
10008
67e971f1
TS
10009 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
10010 qNaN_var. Fix a few strings, too.
10011 * math/libm-test.inc (nan_value): Rename to qnan_value.
10012 * math/gen-libm-test.pl (%beautify): Adjust to that.
10013 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
10014 * math/test-misc.c (main): Likewise.
10015 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
10016 to __qnan_bytes, and __qnan_union, respectively.
10017 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
10018 Likewise.
10019 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
10020 and lqnanval, respectively.
10021 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
10022 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
10023 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
10024 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
10025
64487e12
TS
10026 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
10027 * math/test-misc.c (main) [__x86_64__]: Enable test for long
10028 doubles.
10029
e015e27b
TS
10030 * math/test-misc.c (main): Fix copy'n'pastos.
10031 * misc/tst-efgcvt.c (special): Likewise.
10032
a57da955
TS
10033 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
10034 Remove declarations.
10035
1e380345
SP
100362013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10037
10038 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
10039 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
10040 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
10041 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
10042
ef26eece
AZ
100432013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10044
10045 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
10046 macro to return vdso values correctly in IFUNC implementations.
10047 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10048 Optimization by using IFUNC.
10049
8cfdb7e0
SP
100502013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10051 Richard Henderson <rth@redhat.com>
10052 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10053
10054 * Makefile.in (bench): New target.
10055 * NEWS: Mention the benchmark framework.
10056 * Rules (bench): Likewise.
10057 (binaries-bench): Generate binaries for functions to
10058 benchmark.
10059 * benchtests/Makefile: New makefile for benchmark tests.
10060 * benchtests/bench-skeleton.c: New skeleton file for benchmark
10061 programs.
10062 * benchtests/exp-inputs: New input file for EXP function.
10063 * benchtests/pow-inputs: New input file for POW function.
10064 * scripts/bench.pl: New script to generate source files for
10065 benchmark programs.
10066
bcda9880
SP
100672013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10068
d22ca8cd
SP
10069 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10070 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
10071 computations on mantissa. Use macros for rounding and
10072 division.
10073 (denorm): Likewise.
10074 (__dbl_mp): Likewise.
10075 (add_magnitudes): Likewise.
10076 (sub_magnitudes): Likewise.
10077 (__mul): Likewise.
10078 (__sqr): Likewise.
10079 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10080 powers of two in terms of TWOPOW macro.
10081 (mp_no): Make type of mantissa as MANTISSA_T.
10082 [!RADIXI]: Define RADIXI.
10083 [!TWO52]: Define TWO52.
10084 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10085
bcda9880
SP
10086 * manual/nptl.texi (cindex): Modify threads to pthreads.
10087
06d5adfb
JM
100882013-03-15 Joseph Myers <joseph@codesourcery.com>
10089
10090 * sysdeps/x86_64/preconfigure: Regenerated.
10091
41c7328e
JM
100922013-03-14 Joseph Myers <joseph@codesourcery.com>
10093
10094 [BZ #14155]
10095 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
10096 0x1p28 and above.
10097 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
10098 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
10099 0x1p28 and above.
10100 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
10101 * math/libm-test.inc (j0_test): Do not allow one spurious
10102 underflow exception.
10103 (y1_test): Likewise.
10104
e25cfa60
SP
101052013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10106
0409959c
SP
10107 * manual/Makefile (chapters): Add nptl.
10108 * manual/debug.texi (Debugging Support): Add link to Threads
10109 chapter.
10110 * manual/nptl.texi: New file.
10111
e25cfa60
SP
10112 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
10113
58a1335e
PB
101142013-03-14 Petr Baudis <pasky@ucw.cz>
10115
10116 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
10117 for non-NULL pointer before the memory validity test. Pointed
10118 out by Holger Brunck <holger.brunck@keymile.com>.
10119
9dc7c64f
AS
101202013-03-13 Andreas Schwab <schwab@suse.de>
10121
10122 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
10123 instead of .os.
10124
54206aa6
JM
101252013-03-13 Joseph Myers <joseph@codesourcery.com>
10126
10127 * timezone/zic.c: Update from tzcode 2013b.
10128
e98cdb38
CD
101292013-03-12 Carlos O'Donell <carlos@redhat.com>
10130
10131 * manual/install.texi (Configuring and compiling):
10132 Mention i686 and i586.
10133 * INSTALL: Regenerate.
10134
9967e003
RM
101352013-03-12 Roland McGrath <roland@hack.frob.com>
10136
10137 * sysdeps/init_array/elf-init.c: New file.
10138 * csu/elf-init.c
10139 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
10140 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
10141
10142 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
10143 __gmon_start__ as global, but as static with a .preinit_array pointer.
10144 * sysdeps/init_array/gmon-start.c: New file. Use that.
10145 * sysdeps/init_array/crti.S: New file, empty except for comments.
10146 * sysdeps/init_array/crtn.S: Likewise.
10147
e6b5a293 101482013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
10149
10150 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
10151 definining bcopy.
80f844c9
OB
10152 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10153 Remove Prefer_SSE_for_memop.
10154 * sysdeps/x86_64/multiarch/init-arch.h: Remove
10155 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
10156 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
10157 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10158 memset-x86-64.
80f844c9 10159 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 10160 Remove bzero, memset ifunc support.
80f844c9
OB
10161 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
10162 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
10163 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10164 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10165
fb6b0fcb
AS
101662013-03-11 Andreas Schwab <schwab@suse.de>
10167
10168 [BZ #15234]
10169 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
10170 by SHLIB_COMPAT.
10171 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
10172 (GLIBC_2.16): Remove pthread_atfork.
10173
3e6bd4b1
PP
101742013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
10175
10176 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
10177 (ptestcases.h): Likewise.
10178
222d7f00
RM
101792013-03-08 Roland McGrath <roland@hack.frob.com>
10180
10181 * Makeconfig ($(common-objpfx)config.status): Depend on
10182 sysdeps/*/preconfigure{,.in} too.
10183
1ba4f030
JM
101842013-03-08 Joseph Myers <joseph@codesourcery.com>
10185
a222d91a
JM
10186 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
10187 (__free_hook): Use void * instead of __malloc_ptr_t.
10188 (__malloc_hook): Likewise.
10189 (__realloc_hook): Likewise.
10190 (__memalign_hook): Likewise.
10191 (__after_morecore_hook): Likewise.
10192 * malloc/arena.c (save_malloc_hook): Likewise.
10193 (save_free_hook): Likewise.
10194 * malloc/hooks.c (malloc_hook_ini): Likewise.
10195 (realloc_hook_ini): Likewise.
10196 (memalign_hook_ini): Likewise.
10197 * malloc/malloc.c (malloc_hook_ini): Likewise.
10198 (realloc_hook_ini): Likewise.
10199 (memalign_hook_ini): Likewise.
10200 (__free_hook): Likewise.
10201 (__malloc_hook): Likewise.
10202 (__realloc_hook): Likewise.
10203 (__memalign_hook): Likewise.
10204 (__libc_malloc): Likewise.
10205 (__libc_free): Likewise.
10206 (__libc_realloc): Likewise.
10207 (__libc_memalign): Likewise.
10208 (__libc_valloc): Likewise.
10209 (__libc_pvalloc): Likewise.
10210 (__libc_calloc): Likewise.
10211 (__posix_memalign): Likewise.
10212 * malloc/morecore.c (__sbrk): Likewise.
10213 (__default_morecore): Likewise.
10214
5cc45e10
JM
10215 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
10216
dd54b864
JM
10217 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
10218 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
10219 __malloc_ptrdiff_t.
10220
1ba4f030
JM
10221 * malloc/malloc.h (__malloc_size_t): Remove macro.
10222 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
10223 __malloc_size_t.
10224 (old_memalign_hook): Likewise.
10225 (old_realloc_hook): Likewise.
10226 (struct hdr): Likewise.
10227 (flood): Likewise.
10228 (mallochook): Likewise.
10229 (memalignhook): Likewise.
10230 (reallochook): Likewise.
10231 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
10232 (tr_old_realloc_hook): Likewise.
10233 (tr_old_memalign_hook): Likewise.
10234 (tr_mallochook): Likewise.
10235 (tr_reallochook): Likewise.
10236 (tr_memalignhook): Likewise.
10237
edf66e57
AZ
102382013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10239
10240 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
10241 default_ldbl_pack and using as default implementation.
10242 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
10243 implementation.
10244 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
10245 redundant definition.
10246 (ldbl_insert_mantissa): Likewise.
10247 (ldbl_canonicalize): Likewise.
10248 (ldbl_nearbyint): Likewise.
10249 (ldbl_pack): Rename to ldbl_pack_ppc.
10250 (ldbl_unpack): Rename to ldbl_unpack_ppc.
10251 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
10252 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
10253
6d9145d8
SP
102542013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10255
10256 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
10257 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
10258 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
10259 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
10260 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
10261 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
10262 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
10263 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
10264
4dd4e157
AJ
102652013-03-07 Andreas Jaeger <aj@suse.de>
10266
10267 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10268 bits/mman-linux.h.
10269
adbb8027
SP
102702013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10271
ce544b5b
SP
10272 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
10273 Include mpa.h and declare __MPEXP.
10274 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
10275 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10276 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10277 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
10278 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10279 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10280 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
10281
4cc149fd
SP
10282 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
10283 (__slowpow): Use long double EXPL and LOGL functions to
10284 compute POW.
10285 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10286 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10287 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
10288 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10289 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10290 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
10291
e6ebd4a7
SP
10292 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
10293 intermediate variable to calculate exponent.
10294 (__sqr): Likewise.
10295 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10296 Likewise.
10297 (__sqr): Likewise.
10298
82a9811d
SP
10299 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
10300 [!NO__SQR]: Define __sqr.
10301 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
10302 and NO__SQR. Remove all code except __mul and __sqr. Include
10303 sysdeps/ieee754/dbl-64/mpa.c.
10304 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10305
adbb8027
SP
10306 [BZ #12723]
10307 * posix/Makefile (tests): Add tst-pathconf.
10308 * posix/tst-pathconf.c: New test case.
10309 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
10310 _PC_PIPE_BUF.
10311 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
10312
39120df9
PF
103132013-03-06 Patsy Franklin <pfrankli@redhat.com>
10314
10315 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
10316
67525cb8
AJ
103172013-03-06 Andreas Jaeger <aj@suse.de>
10318
664a9ce4
AJ
10319 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
10320 definition via __MAP_ANONYMOUS.
10321
8e39047d
AJ
10322 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
10323 it's not part of Linux headers.
10324
67525cb8
AJ
10325 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
10326 (MAP_HUGE_MASK): Define.
10327
10328 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10329 Define.
10330 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10331 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10332 Define.
10333 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10334 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10335 Define.
10336 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10337 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
10338 Define.
10339 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10340
10341 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
10342 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
10343 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
10344 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
10345 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
10346 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
10347
10348 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10349 Handle f2fs.
10350
10351 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10352 Handle f2fs and efivarfs.
10353
10354 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
10355 f2fs.
10356
10357 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
10358 (EFIVARFS_MAGIC): Add.
10359 (F2FS_LINK_MAX): Add.
10360
e1b42695
PP
103612013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10362
10363 * stdio-common/vfprintf.c: Replace __builtin_expect with
10364 __glibc_unlikely.
10365
2d67d91a
JM
103662013-03-06 Joseph Myers <joseph@codesourcery.com>
10367
10368 [BZ #13550]
10369 * sysdeps/generic/bp-sym.h: Remove file.
10370 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
10371 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
10372 <bp-sym.h> and <bp-asm.h>.
10373 (__longjmp): Don't use BP_SYM.
10374 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
10375 and <bp-asm.h>.
10376 (memcpy): Don't use BP_SYM.
10377 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
10378 <bp-sym.h> and <bp-asm.h>.
10379 (memcpy): Don't use BP_SYM.
10380 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
10381 <bp-asm.h>.
10382 (memcpy): Don't use BP_SYM.
10383 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
10384 <bp-asm.h>.
10385 (memset): Don't use BP_SYM.
10386 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10387 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10388 (__bzero): Don't use BP_SYM.
10389 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10390 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10391 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
10392 <bp-sym.h> and <bp-asm.h>.
10393 (memcmp): Don't use BP_SYM. Remove comment about bounded
10394 pointers.
10395 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
10396 <bp-sym.h> and <bp-asm.h>.
10397 (memcpy): Don't use BP_SYM.
10398 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
10399 <bp-sym.h> and <bp-asm.h>.
10400 (memset): Don't use BP_SYM.
10401 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10402 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10403 (__bzero): Don't use BP_SYM.
10404 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10405 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10406 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
10407 <bp-sym.h> and <bp-asm.h>.
10408 (strncmp): Don't use BP_SYM. Remove comment about bounded
10409 pointers.
10410 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
10411 <bp-sym.h> and <bp-asm.h>.
10412 (memcpy): Don't use BP_SYM.
10413 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
10414 <bp-sym.h> and <bp-asm.h>.
10415 (memset): Don't use BP_SYM.
10416 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10417 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10418 (__bzero): Don't use BP_SYM.
10419 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10420 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10421 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
10422 <bp-sym.h> and <bp-asm.h>.
10423 (__memchr): Don't use BP_SYM.
10424 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
10425 <bp-sym.h> and <bp-asm.h>.
10426 (memcmp): Don't use BP_SYM. Remove comment about bounded
10427 pointers.
10428 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
10429 <bp-sym.h> and <bp-asm.h>.
10430 (memcpy): Don't use BP_SYM.
10431 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
10432 <bp-sym.h> and <bp-asm.h>.
10433 (__mempcpy): Don't use BP_SYM.
10434 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
10435 <bp-sym.h> and <bp-asm.h>.
10436 (__memrchr): Don't use BP_SYM.
10437 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
10438 <bp-sym.h> and <bp-asm.h>.
10439 (memset): Don't use BP_SYM.
10440 (__bzero): Likewise.
10441 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
10442 <bp-sym.h> and <bp-asm.h>.
10443 (__rawmemchr): Don't use BP_SYM.
10444 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
10445 <bp-sym.h> and <bp-asm.h>.
10446 (__STRCMP): Don't use BP_SYM.
10447 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
10448 <bp-sym.h> and <bp-asm.h>.
10449 (strchr): Don't use BP_SYM.
10450 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
10451 <bp-sym.h> and <bp-asm.h>.
10452 (__strchrnul): Don't use BP_SYM.
10453 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
10454 <bp-sym.h> and <bp-asm.h>.
10455 (strlen): Don't use BP_SYM.
10456 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
10457 <bp-sym.h> and <bp-asm.h>.
10458 (strncmp): Don't use BP_SYM. Remove comment about bounded
10459 pointers.
10460 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
10461 <bp-sym.h> and <bp-asm.h>.
10462 (__strnlen): Don't use BP_SYM.
10463 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
10464 <bp-sym.h> and <bp-asm.h>.
10465 (__GI__setjmp): Don't use BP_SYM.
10466 (_setjmp): Likewise.
10467 (__sigsetjmp): Likewise.
10468 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
10469 (L(start_addresses)): Don't use BP_SYM.
10470 (_start): Likewise.
10471 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
10472 <bp-asm.h>.
10473 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
10474 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
10475 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10476 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10477 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
10478 <bp-asm.h>.
10479 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
10480 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
10481 about bounded pointers.
10482 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10483 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10484 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
10485 <bp-asm.h>.
10486 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
10487 about bounded pointers. Remove GKM FIXME comments.
10488 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10489 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
10490 <bp-asm.h>.
10491 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
10492 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
10493 Remove GKM FIXME comments.
10494 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10495 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10496 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
10497 <bp-asm.h>.
10498 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
10499 about bounded pointers. Remove GKM FIXME comment.
10500 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
10501 and <bp-asm.h>.
10502 (strncmp): Don't use BP_SYM. Remove comment about bounded
10503 pointers.
10504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
10505 <bp-sym.h> and <bp-asm.h>.
10506 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
10508 <bp-sym.h> and <bp-asm.h>.
10509 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
10510 comment.
10511
cdcf361f
PP
105122013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10513
10514 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
10515 call free(NULL).
10516
3c4a2b15
DM
105172013-03-05 David S. Miller <davem@davemloft.net>
10518
10519 * po/es.po: Update from translation team.
10520
cdcf361f 105212013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
10522
10523 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
10524 <bits/mman-linux.h>.
10525 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10526 is fine.
10527 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
10528 <bits/mman-linux.h> to end of file.
10529 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10530 is fine.
10531 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
10532 <bits/mman-linux.h> to end of file.
10533 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10534 is fine.
10535 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
10536 <bits/mman-linux.h> to end of file.
10537
10538 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
10539 (MCL_CURRENT, MCL_FUTURE): Define here.
10540
5f67c04f
AK
105412013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10542
8a4473cc 10543 [BZ #15232]
5f67c04f
AK
10544 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
10545 attribute_hidden.
10546 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10547
c3e94a95
AK
105482013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10549
10550 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
10551 fourth parameter needed for rt_sigprocmask syscall.
10552 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
10553 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
10554 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
10555 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
10556 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
10557 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
10558
cfb6382a
JM
105592013-03-04 Joseph Myers <joseph@codesourcery.com>
10560
10561 [BZ #13550]
10562 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
10563 comment about bounded pointers.
10564 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
10565 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
10566
539d8e01
AJ
105672013-03-04 Andreas Jaeger <aj@suse.de>
10568
10569 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
10570 common definitions.
10571
10572 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
10573 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
10574 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
10575 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10576 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
10577 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10578
2e167a70 105792013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
10580
10581 [BZ #15055]
10582 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
10583 __ieee754_sqrl instead of __sqrl.
10584
68508633
JM
105852013-03-01 Joseph Myers <joseph@codesourcery.com>
10586
10587 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
10588 * sysdeps/powerpc/fpu_control.h: ... here.
10589 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
10590 * sysdeps/powerpc/bits/fenvinline.h: ... here.
10591 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
10592 * sysdeps/powerpc/bits/mathinline.h: ... here.
10593
7775448e
RM
105942013-03-01 Roland McGrath <roland@hack.frob.com>
10595
10596 * elf/dl-hwcaps.c (_dl_important_hwcaps):
10597 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
10598 to just [NEED_DL_SYSINFO_DSO].
10599 * elf/dl-support.c: Likewise.
10600 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10601 * elf/rtld.c (dl_main): Likewise.
10602 * elf/setup-vdso.h (setup_vdso): Likewise.
10603 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
10604 * sysdeps/unix/sysv/linux/dl-sysdep.c
10605 (_dl_discover_osversion): Likewise.
10606
4e9b5995
CD
106072013-03-01 Carlos O'Donell <carlos@redhat.com>
10608
10609 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
10610 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10611
e23872c8
SP
106122013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
10613
e5c74c63
SP
10614 * NEWS: Mention libm performance improvements and non-x86 PI
10615 futex support.
10616
e23872c8
SP
10617 * csu/libc-start.c (__pthread_initialize_minimal): Change
10618 function arguments.
10619 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10620
b5510883
JM
106212013-02-28 Joseph Myers <joseph@codesourcery.com>
10622
10623 [BZ #13550]
10624 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
10625 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
10626 <bp-sym.h> and <bp-asm.h>.
10627 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10628 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
10629 and <bp-asm.h>.
10630 (memcpy): Don't use BP_SYM.
10631 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
10632 <bp-asm.h>.
10633 (__mpn_add_n): Don't use BP_SYM.
10634 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
10635 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
10636 and <bp-asm.h>.
10637 (__mpn_addmul_1): Don't use BP_SYM.
10638 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10639 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
10640 <bp-sym.h>.
10641 (_setjmp): Don't use BP_SYM.
10642 (__novmx_setjmp): Likewise.
10643 (__GI__setjmp): Likewise.
10644 (__vmx_setjmp): Likewise.
10645 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
10646 <bp-sym.h>.
10647 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
10648 (__bzero): Don't use BP_SYM.
10649 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10650 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10651 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
10652 <bp-sym.h> and <bp-asm.h>.
10653 (memcpy): Don't use BP_SYM.
10654 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
10655 <bp-sym.h> and <bp-asm.h>.
10656 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10657 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
10658 <bp-sym.h> and <bp-asm.h>.
10659 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10660 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
10661 <bp-asm.h>.
10662 (__mpn_lshift): Don't use BP_SYM.
10663 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10664 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
10665 <bp-asm.h>.
10666 (memset): Don't use BP_SYM.
10667 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10668 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10669 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
10670 <bp-asm.h>.
10671 (__mpn_mul_1): Don't use BP_SYM.
10672 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10673 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
10674 <bp-sym.h> and <bp-asm.h>.
10675 (memcmp): Don't use BP_SYM.
10676 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
10677 <bp-sym.h> and <bp-asm.h>.
10678 (memcpy): Don't use BP_SYM.
10679 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
10680 <bp-sym.h> and <bp-asm.h>.
10681 (memset): Don't use BP_SYM.
10682 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
10683 <bp-sym.h> and <bp-asm.h>.
10684 (strncmp): Don't use BP_SYM.
10685 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
10686 <bp-sym.h> and <bp-asm.h>.
10687 (memcpy): Don't use BP_SYM.
10688 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
10689 <bp-sym.h> and <bp-asm.h>.
10690 (memset): Don't use BP_SYM.
10691 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
10692 <bp-sym.h> and <bp-asm.h>.
10693 (__memchr): Don't use BP_SYM.
10694 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
10695 <bp-sym.h> and <bp-asm.h>.
10696 (memcmp): Don't use BP_SYM.
10697 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
10698 <bp-sym.h> and <bp-asm.h>.
10699 (memcpy): Don't use BP_SYM.
10700 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
10701 <bp-sym.h> and <bp-asm.h>.
10702 (__mempcpy): Don't use BP_SYM.
10703 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
10704 <bp-sym.h> and <bp-asm.h>.
10705 (__memrchr): Don't use BP_SYM.
10706 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
10707 <bp-sym.h> and <bp-asm.h>.
10708 (memset): Don't use BP_SYM.
10709 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
10710 <bp-sym.h> and <bp-asm.h>.
10711 (__rawmemchr): Don't use BP_SYM.
10712 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
10713 <bp-sym.h> and <bp-asm.h>.
10714 (__STRCMP): Don't use BP_SYM.
10715 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
10716 <bp-sym.h> and <bp-asm.h>.
10717 (strchr): Don't use BP_SYM.
10718 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
10719 <bp-sym.h> and <bp-asm.h>.
10720 (__strchrnul): Don't use BP_SYM.
10721 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
10722 <bp-sym.h> and <bp-asm.h>.
10723 (strlen): Don't use BP_SYM.
10724 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
10725 <bp-sym.h> and <bp-asm.h>.
10726 (strncmp): Don't use BP_SYM.
10727 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
10728 <bp-sym.h> and <bp-asm.h>.
10729 (__strnlen): Don't use BP_SYM.
10730 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
10731 <bp-asm.h>.
10732 (__mpn_rshift): Don't use BP_SYM.
10733 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10734 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
10735 <bp-sym.h> and <bp-asm.h>.
10736 (__sigsetjmp): Don't use BP_SYM.
10737 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
10738 (L(start_addresses)): Don't use BP_SYM.
10739 (_start): Likewise.
10740 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
10741 <bp-asm.h>.
10742 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
10743 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10744 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10745 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
10746 <bp-asm.h>.
10747 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
10748 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10749 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10750 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
10751 <bp-asm.h>.
10752 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
10753 comments.
10754 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10755 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
10756 <bp-asm.h>.
10757 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
10758 FIXME comments.
10759 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10760 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10761 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
10762 <bp-asm.h>.
10763 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
10764 comment.
10765 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
10766 and <bp-asm.h>.
10767 (strncmp): Don't use BP_SYM,
10768 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
10769 <bp-asm.h>.
10770 (__mpn_sub_n): Don't use BP_SYM.
10771 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10772 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
10773 and <bp-asm.h>.
10774 (__mpn_submul_1): Don't use BP_SYM.
10775 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
10777 <bp-sym.h> and <bp-asm.h>.
10778 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
10780 <bp-sym.h> and <bp-asm.h>.
10781 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
10782 comment.
10783
8d19fe64
SP
107842013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10785
10786 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
10787 Use ZK to minimize writes to Z.
10788 (sub_magnitudes): Simplify code a bit.
10789 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
10790 Use ZK to minimize writes to Z.
10791 (sub_magnitudes): Simplify code a bit.
10792
85bd816a
RM
107932013-02-27 Roland McGrath <roland@hack.frob.com>
10794
10795 * csu/gmon-start.c: Add special exception to license text.
10796
b5977bf2
RH
107972013-02-27 Richard Henderson <rth@redhat.com>
10798
10799 * scripts/config.guess: Update from config.git.
10800 * scripts/config.sub: Likewise.
10801
11d6e2f2
SP
108022013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10803
09c14ed2
SP
10804 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
10805
a688864e
SP
10806 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
10807
6295157a
SP
10808 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
10809
b8de2202
SP
10810 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
10811
11d6e2f2
SP
10812 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
10813
7e80ddb8
RM
108142013-02-26 Roland McGrath <roland@hack.frob.com>
10815
10816 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
10817 [$(build-shared = yes].
7e80ddb8 10818
7da6d9ed
SP
108192013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10820
45f05884
SP
10821 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
10822 (__mul): Reduce iterations for calculating mantissa.
10823
2236d359
SP
10824 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
10825 MPTWO.
10826 (__mpranred): Likewise.
10827
7da6d9ed
SP
10828 [BZ #15160]
10829 * malloc/memusagestat.c (main): Draw graphs for heap and stack
10830 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
10831
b7688c42
PE
108322013-02-26 Paul Eggert <eggert@cs.ucla.edu>
10833
10834 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
10835 Define __attribute__.
10836
53a5c423
SP
108372013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10838
10839 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
10840 unused.
10841 * posix/regex_internal.h (__attribute): Remove.
10842 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
10843 (re_string_context_at): Likewise.
10844 (bitset_not): Use __attribute__ and mark function as possibly
10845 unused.
10846 (bitset_merge): Likewise.
10847 (bitset_mask): Likewise.
10848 (re_string_char_size_at): Likewise.
10849 (re_string_wchar_at): Likewise.
10850 (re_string_elem_size_at): Likewise.
10851
60f5a8b5
SP
108522013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10853
2a983a2e
SP
10854 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
10855 code.
10856 (cc32): Likewise.
10857
e69804d1
SP
10858 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
10859 (__acr): Likewise.
10860 (__cpy): Likewise.
10861 (norm): Likewise.
10862 (denorm): Likewise.
10863 (__dbl_mp): Likewise.
10864 (add_magnitudes): Likewise.
10865 (sub_magnitudes): Likewise.
10866 (__mul): Likewise.
10867 (__inv): Likewise.
10868
2f22a1e8
SP
10869 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
10870 style.
10871
8930ddc7
SP
10872 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
10873 style.
10874
dc60cb11
SP
10875 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
10876 code.
10877
60f5a8b5
SP
10878 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
10879 up changes with default code.
10880 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
10881 Likewise.
10882
b4d1fd33
AM
108832013-02-24 Allan McRae <allan@archlinux.org>
10884
faf6f8bc
AM
10885 * manual/socket.texi (The Internet Namespace): Order menu items
10886 to match that in the file.
10887
b4d1fd33
AM
10888 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
10889 node listing of the info page menu.
10890
2366713d
JM
108912013-02-21 Joseph Myers <joseph@codesourcery.com>
10892
10893 [BZ #13550]
10894 * sysdeps/i386/bp-asm.h: Remove file.
10895 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
10896 (PARMS): Do not use macros from bp-asm.h.
10897 (S1): Likewise.
10898 (S2): Likewise.
10899 (SIZE): Likewise.
10900 (__mpn_add_n): Do not use BP_SYM
10901 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
10902 "bp-asm.h".
10903 (PARMS): Do not use macros from bp-asm.h.
10904 (S1): Likewise.
10905 (SIZE): Likewise.
10906 (__mpn_addmul_1): Do not use BP_SYM
10907 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
10908 "bp-asm.h".
10909 (PARMS): Do not use macros from bp-asm.h.
10910 (SIGMSK): Likewise.
10911 (_setjmp): Likewise. Do not use BP_SYM.
10912 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
10913 "bp-asm.h".
10914 (PARMS): Do not use macros from bp-asm.h.
10915 (SIGMSK): Likewise.
10916 (setjmp): Likewise. Do not use BP_SYM.
10917 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
10918 "bp-asm.h".
10919 (PARMS): Do not use macros from bp-asm.h.
10920 (__frexp): Do not use BP_SYM.
10921 (frexp): Likewise.
10922 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
10923 "bp-asm.h".
10924 (PARMS): Do not use macros from bp-asm.h.
10925 (__frexpf): Do not use BP_SYM.
10926 (frexpf): Likewise.
10927 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
10928 "bp-asm.h".
10929 (PARMS): Do not use macros from bp-asm.h.
10930 (__frexpl): Do not use BP_SYM.
10931 (frexpl): Likewise.
10932 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
10933 "bp-asm.h".
10934 (PARMS): Do not use macros from bp-asm.h.
10935 (__remquo): Do not use BP_SYM.
10936 (remquo): Likewise.
10937 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
10938 "bp-asm.h".
10939 (PARMS): Do not use macros from bp-asm.h.
10940 (__remquof): Do not use BP_SYM.
10941 (remquof): Likewise.
10942 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
10943 "bp-asm.h".
10944 (PARMS): Do not use macros from bp-asm.h.
10945 (__remquol): Do not use BP_SYM.
10946 (remquol): Likewise.
10947 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
10948 "bp-asm.h".
10949 (PARMS): Do not use macros from bp-asm.h.
10950 (DEST): Likewise.
10951 (SRC): Likewise.
10952 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
10953 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
10954 "bp-asm.h".
10955 (PARMS): Do not use macros from bp-asm.h.
10956 (strlen): Do not use BP_SYM.
10957 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
10958 "bp-asm.h".
10959 (PARMS): Do not use macros from bp-asm.h.
10960 (S1): Likewise.
10961 (S2): Likewise.
10962 (SIZE): Likewise.
10963 (__mpn_add_n): Do not use BP_SYM.
10964 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
10965 "bp-asm.h".
10966 (PARMS): Do not use macros from bp-asm.h.
10967 (S1): Likewise.
10968 (SIZE): Likewise.
10969 (__mpn_addmul_1): Do not use BP_SYM.
10970 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
10971 weak_alias.
10972 (bzero): Likewise.
10973 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
10974 "bp-asm.h".
10975 (PARMS): Do not use macros from bp-asm.h.
10976 (S): Likewise.
10977 (SIZE): Likewise.
10978 (__mpn_lshift): Do not use BP_SYM.
10979 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
10980 "bp-asm.h".
10981 (PARMS): Do not use macros from bp-asm.h.
10982 (DEST): Likewise.
10983 (SRC): Likewise.
10984 (LEN): Likewise.
10985 (memcpy): Likewise. Do not use BP_SYM.
10986 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
10987 libc_hidden_def and weak_alias.
10988 (mempcpy): Do not use BP_SYM in weak_alias.
10989 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
10990 "bp-asm.h".
10991 (PARMS): Do not use macros from bp-asm.h.
10992 (DEST): Likewise.
10993 (LEN): Likewise.
10994 [!BZERO_P] (CHR): Likewise.
10995 (memset): Likewise. Do not use BP_SYM.
10996 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
10997 "bp-asm.h".
10998 (PARMS): Do not use macros from bp-asm.h.
10999 (S1): Likewise.
11000 (SIZE): Likewise.
11001 (__mpn_mul_1): Do not use BP_SYM.
11002 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
11003 "bp-asm.h".
11004 (PARMS): Do not use macros from bp-asm.h.
11005 (S): Likewise.
11006 (SIZE): Likewise.
11007 (__mpn_rshift): Do not use BP_SYM.
11008 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
11009 "bp-asm.h".
11010 (PARMS): Do not use macros from bp-asm.h.
11011 (STR): Likewise.
11012 (CHR): Likewise.
11013 (strchr): Likewise. Do not use BP_SYM.
11014 (index): Do not use BP_SYM in weak_alias.
11015 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
11016 "bp-asm.h".
11017 (PARMS): Do not use macros from bp-asm.h.
11018 (DEST): Likewise.
11019 (SRC): Likewise.
11020 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
11021 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
11022 "bp-asm.h".
11023 (PARMS): Do not use macros from bp-asm.h.
11024 (strlen): Do not use BP_SYM.
11025 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
11026 "bp-asm.h".
11027 (PARMS): Do not use macros from bp-asm.h.
11028 (S1): Likewise.
11029 (S2): Likewise.
11030 (SIZE): Likewise.
11031 (__mpn_sub_n): Do not use BP_SYM.
11032 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
11033 "bp-asm.h".
11034 (PARMS): Do not use macros from bp-asm.h.
11035 (S1): Likewise.
11036 (SIZE): Likewise.
11037 (__mpn_submul_1): Do not use BP_SYM.
11038 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
11039 "bp-asm.h".
11040 (PARMS): Do not use macros from bp-asm.h.
11041 (S1): Likewise.
11042 (S2): Likewise.
11043 (SIZE): Likewise.
11044 (__mpn_add_n): Do not use BP_SYM.
11045 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
11046 weak_alias.
11047 (bzero): Likewise.
11048 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
11049 "bp-asm.h".
11050 (PARMS): Do not use macros from bp-asm.h.
11051 (BLK2): Likewise.
11052 (LEN): Likewise.
11053 (memcmp): Do not use BP_SYM.
11054 (bcmp): Do not use BP_SYM in weak_alias.
11055 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
11056 "bp-asm.h".
11057 (PARMS): Do not use macros from bp-asm.h.
11058 (DEST): Likewise.
11059 (SRC): Likewise.
11060 (LEN): Likewise.
11061 (memcpy): Likewise. Do not use BP_SYM.
11062 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
11063 "bp-asm.h".
11064 (PARMS): Do not use macros from bp-asm.h.
11065 (DEST): Likewise.
11066 (SRC): Likewise.
11067 (LEN): Likewise.
11068 (memmove): Likewise. Do not use BP_SYM.
11069 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
11070 "bp-asm.h".
11071 (PARMS): Do not use macros from bp-asm.h.
11072 (DEST): Likewise.
11073 (SRC): Likewise.
11074 (LEN): Likewise.
11075 (__mempcpy): Likewise. Do not use BP_SYM.
11076 (mempcpy): Do not use BP_SYM in weak_alias.
11077 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
11078 "bp-asm.h".
11079 (PARMS): Do not use macros from bp-asm.h.
11080 (DEST): Likewise.
11081 (LEN): Likewise.
11082 [!BZERO_P] (CHR): Likewise.
11083 (memset): Likewise. Do not use BP_SYM.
11084 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
11085 "bp-asm.h".
11086 (PARMS): Do not use macros from bp-asm.h.
11087 (STR2): Likewise.
11088 (strcmp): Do not use BP_SYM.
11089 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
11090 "bp-asm.h".
11091 (PARMS): Do not use macros from bp-asm.h.
11092 (STR): Likewise.
11093 (DELIM): Likewise.
11094 [USE_AS_STRTOK_R] (SAVE): Likewise.
11095 (FUNCTION): Likewise. Do not use BP_SYM.
11096 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
11097 aliases.
11098 (strtok_r): Likewise.
11099 (__GI___strtok_r): Likewise.
11100 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11101 (PARMS): Do not use macros from bp-asm.h.
11102 (S): Likewise.
11103 (SIZE): Likewise.
11104 (__mpn_lshift): Do not use BP_SYM.
11105 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11106 (PARMS): Do not use macros from bp-asm.h.
11107 (STR): Likewise.
11108 (CHR): Likewise.
11109 (__memchr): Do not use BP_SYM.
11110 (memchr): Do not use BP_SYM in weak_alias.
11111 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11112 (PARMS): Do not use macros from bp-asm.h.
11113 (BLK2): Likewise.
11114 (LEN): Likewise.
11115 (memcmp): Do not use BP_SYM.
11116 (bcmp): Do not use BP_SYM in weak_alias.
11117 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
11118 (PARMS): Do not use macros from bp-asm.h.
11119 (S1): Likewise.
11120 (SIZE): Likewise.
11121 (__mpn_mul_1): Do not use BP_SYM.
11122 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
11123 "bp-asm.h".
11124 (PARMS): Do not use macros from bp-asm.h.
11125 (STR): Likewise.
11126 (CHR): Likewise.
11127 (__rawmemchr): Do not use BP_SYM.
11128 (rawmemchr): Do not use BP_SYM in weak_alias.
11129 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11130 (PARMS): Do not use macros from bp-asm.h.
11131 (S): Likewise.
11132 (SIZE): Likewise.
11133 (__mpn_rshift): Do not use BP_SYM.
11134 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11135 (PARMS): Do not use macros from bp-asm.h.
11136 (SIGMSK): Likewise.
11137 (__sigsetjmp): Likewise. Do not use BP_SYM.
11138 * sysdeps/i386/start.S: Do not include "bp-sym.h".
11139 (_start): Do not use BP_SYM.
11140 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
11141 (PARMS): Do not use macros from bp-asm.h.
11142 (DEST): Likewise.
11143 (SRC): Likewise.
11144 (__stpcpy): Likewise. Do not use BP_SYM.
11145 (stpcpy): Do not use BP_SYM in weak_alias.
11146 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
11147 "bp-asm.h".
11148 (PARMS): Do not use macros from bp-asm.h.
11149 (DEST): Likewise.
11150 (SRC): Likewise.
11151 (LEN): Likewise.
11152 (__stpncpy): Likewise. Do not use BP_SYM.
11153 (stpncpy): Do not use BP_SYM in weak_alias.
11154 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11155 (PARMS): Do not use macros from bp-asm.h.
11156 (STR): Likewise.
11157 (CHR): Likewise.
11158 (strchr): Likewise. Do not use BP_SYM.
11159 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
11160 "bp-asm.h".
11161 (PARMS): Do not use macros from bp-asm.h.
11162 (STR): Likewise.
11163 (CHR): Likewise.
11164 (__strchrnul): Likewise. Do not use BP_SYM.
11165 (strchrnul): Do not use BP_SYM in weak_alias.
11166 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
11167 "bp-asm.h".
11168 (PARMS): Do not use macros from bp-asm.h.
11169 (STOP): Likewise.
11170 (strcspn): Do not use BP_SYM.
11171 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
11172 "bp-asm.h".
11173 (PARMS): Do not use macros from bp-asm.h.
11174 (STR): Likewise.
11175 (STOP): Likewise.
11176 (strpbrk): Likewise. Do not use BP_SYM.
11177 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
11178 "bp-asm.h".
11179 (PARMS): Do not use macros from bp-asm.h.
11180 (STR): Likewise.
11181 (CHR): Likewise.
11182 (strrchr): Likewise. Do not use BP_SYM.
11183 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
11184 (PARMS): Do not use macros from bp-asm.h.
11185 (SKIP): Likewise.
11186 (strspn): Do not use BP_SYM.
11187 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
11188 (PARMS): Do not use macros from bp-asm.h.
11189 (STR): Likewise.
11190 (DELIM): Likewise.
11191 (SAVE): Likewise.
11192 (FUNCTION): Likewise. Do not use BP_SYM.
11193 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
11194 aliases.
11195 (strtok_r): Likewise.
11196 (__GI___strtok_r): Likewise.
11197 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11198 (PARMS): Do not use macros from bp-asm.h.
11199 (S1): Likewise.
11200 (S2): Likewise.
11201 (SIZE): Likewise.
11202 (__mpn_sub_n): Do not use BP_SYM.
11203 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
11204 "bp-asm.h".
11205 (PARMS): Do not use macros from bp-asm.h.
11206 (S1): Likewise.
11207 (SIZE): Likewise.
11208 (__mpn_submul_1): Do not use BP_SYM.
11209 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
11210 <bp-sym.h>.
11211 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
11212 and <bp-asm.h>.
11213 (PARMS): Do not use macros from bp-asm.h.
11214 (FLAGS): Likewise.
11215 (PTID): Likewise.
11216 (TLS): Likewise.
11217 (CTID): Likewise.
11218 (__clone): Do not use BP_SYM.
11219 (clone): Do not use BP_SYM in weak_alias.
11220 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
11221 and <bp-asm.h>.
11222 (PARMS): Do not use macros from bp-asm.h.
11223 (LEN): Likewise.
11224 (__mmap64): Do not use BP_SYM.
11225 (mmap64): Do not use BP_SYM in weak_alias.
11226 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11227 <bp-sym.h> and <bp-asm.h>.
11228 (PARMS): Do not use macros from bp-asm.h.
11229 (__posix_fadvise64_l64): Do not use BP_SYM.
11230 * sysdeps/unix/sysv/linux/i386/semtimedop.S
11231 (PARMS): Do not use macros from bp-asm.h.
11232 (NSOPS): Likewise.
11233 (semtimedop): Do not use BP_SYM.
11234 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
11235 and <bp-asm.h>.
11236
582a3cff
AM
112372013-02-21 Allan McRae <allan@archlinux.org>
11238
11239 * manual/message.texi (Charset conversion in gettext):
11240 Move @end statement to beginning of line.
11241
bab8a695
SP
112422013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11243
80945231
SP
11244 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
11245 static.
11246 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11247 Likewise.
11248
bab8a695
SP
11249 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
11250 (denorm): Likewise.
11251 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
11252 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
11253
e21d7aa7
AK
112542013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11255
11256 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
11257 tail-call to the resolved function if pltexit isn't needed.
11258
4c7a4263
SP
112592013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11260
11261 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
11262 or Y being zero as being unlikely.
11263 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11264 Likewise.
11265
41f49342
CD
112662013-02-20 Carlos O'Donell <carlos@redhat.com>
11267
11268 * manual/nss.texi (System Databases and Name Service Switch):
11269 Remove frobnicate @pxref.
11270
50022a93
TS
112712013-02-20 Thomas Schwinge <thomas@codesourcery.com>
11272
11273 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11274 __attribute__ ((unused)) to __attribute__ ((__unused__)).
11275
08cbd996
PM
112762013-02-20 Petr Machata <pmachata@redhat.com>
11277
11278 * elf/elf.h (R_ARM_TARGET1): New macro.
11279 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
11280 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
11281 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
11282 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
11283 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
11284 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
11285 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
11286 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
11287 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
11288 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
11289 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
11290 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
11291 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
11292 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
11293 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
11294 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
11295 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
11296 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
11297 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
11298 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
11299 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
11300 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
11301 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
11302 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
11303 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
11304 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
11305 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
11306 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
11307 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
11308 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
11309 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
11310 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
11311 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
11312 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
11313 (R_ARM_THM_GOT_BREL12): Likewise.
11314 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
11315 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
11316 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
11317 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
11318 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
11319 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
11320 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
11321 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
11322 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
11323
c7b275d6
TS
113242013-02-20 Thomas Schwinge <thomas@codesourcery.com>
11325
11326 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11327 __attribute_used__ to __attribute__ ((unused)).
11328
20cd7fb3
SP
113292013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11330
11331 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
11332 powerpc mpa.c.
11333 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
11334 comment formatting.
11335 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
11336
92945b52
JM
113372013-02-19 Joseph Myers <joseph@codesourcery.com>
11338
11339 [BZ #13550]
11340 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
11341 Remove macro.
11342 (ENTER): Remove both macro definitions.
11343 (LEAVE): Likewise.
11344 (CHECK_BOUNDS_LOW): Likewise.
11345 (CHECK_BOUNDS_HIGH): Likewise.
11346 (CHECK_BOUNDS_BOTH): Likewise.
11347 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
11348 (RETURN_BOUNDED_POINTER): Likewise.
11349 (RETURN_NULL_BOUNDED_POINTER): Likewise.
11350 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
11351 (POP_ERRNO_LOCATION_RETURN): Likewise.
11352 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
11353 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11354 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
11355 macros.
11356 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11357 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
11358 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
11359 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
11360 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
11361 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
11362 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
11363 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
11364 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
11365 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
11366 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
11367 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
11368 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11369 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
11370 removed macros.
11371 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11372 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
11373 macros.
11374 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11375 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
11376 * sysdeps/i386/i586/memset.S (memset): Likewise.
11377 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
11378 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11379 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
11380 macros.
11381 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11382 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
11383 Change uses of L(2) to L(out).
11384 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
11385 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
11386 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
11387 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11388 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
11389 removed macros.
11390 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11391 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
11392 macros.
11393 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11394 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
11395 (RETURN): Do not use macro LEAVE.
11396 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
11397 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
11398 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
11399 * sysdeps/i386/i686/memset.S (memset): Likewise.
11400 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
11401 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
11402 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11403 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
11404 Likewise.
11405 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11406 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
11407 L(1_2) and L(1_3) into L(1).
11408 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11409 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
11410 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11411 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
11412 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11413 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
11414 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
11415 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11416 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
11417 macros.
11418 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
11419 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11420 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
11421 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
11422 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
11423 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11424 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
11425 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
11426 * sysdeps/i386/strcspn.S (strcspn): Likewise.
11427 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
11428 * sysdeps/i386/strrchr.S (strrchr): Likewise.
11429 * sysdeps/i386/strspn.S (strspn): Likewise.
11430 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
11431 conditional code.
11432 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11433 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
11434 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11435 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
11436 L(1_3) into L(1_1).
11437 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
11438 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11439 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
11440 macros.
11441 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11442
2389741a
JJ
114432013-02-19 Jakub Jelinek <jakub@redhat.com>
11444
11445 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
11446 macro.
11447
2016b3cd
SP
114482013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11449
e4f22324
SP
11450 * math/atest-exp.c (exp_mpn): Remove ROUND.
11451 * math/atest-exp2.c (exp_mpn): Likewise.
11452 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
11453
2016b3cd
SP
11454 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
11455 * stdlib/tst-tls-atexit-lib.c: Likewise.
11456 * stdlib/tst-tls-atexit.c: Likewise.
11457
4be9b544
MF
114582013-02-18 Mike Frysinger <vapier@gentoo.org>
11459
11460 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
11461 and __attribute_alloc_size__.
11462
2f62b9ee
MF
114632013-02-18 Mike Frysinger <vapier@gentoo.org>
11464
11465 * include/programs/xmalloc.h: Change __attribute_alloc_size to
11466 __attribute_alloc_size__.
11467 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
11468 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
11469
6ff444c4
MF
114702013-02-18 Mike Frysinger <vapier@gentoo.org>
11471
11472 * include/programs/xmalloc.h: New file.
11473 * catgets/gencat.c: Include it.
11474 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
11475 * elf/pldd.c: Likewise.
11476 * iconv/iconv_charmap.c: Likewise.
11477 * iconv/iconvconfig.c: Likewise.
11478 * iconv/strtab.c: Likewise.
11479 * locale/programs/locale.c: Likewise.
11480 * locale/programs/localedef.h: Likewise.
11481 * locale/programs/simple-hash.c: Likewise.
11482 * nscd/nscd.h: Likewise.
11483 * nss/makedb.c: Likewise.
11484 * sysdeps/generic/ldconfig.h: Likewise.
11485
be179c8a
SP
114862013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11487
ba384f6e
SP
11488 * Versions.def: Add GLIBC_2.18.
11489 * include/link.h (struct link_map): New member l_tls_dtor_count.
11490 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
11491 (__call_tls_dtors): Likewise.
11492 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
11493 __cxa_thread_atexit_impl.
11494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11495 Likewise.
11496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11497 Likewise.
11498 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11499 Likewise.
11500 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11501 Likewise.
11502 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11503 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
11504 Likewise.
11505 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
11506 Likewise.
11507 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11508 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11509 Likewise.
11510 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
11511 (tests): Add test case tst-tls-atexit.
11512 (modules-names): Add shared library for tst-tls-atexit.
85891aca 11513 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
11514 (GLIBC_PRIVATE): Add __call_tls_dtors.
11515 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
11516 for libstdc++.
11517 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
11518 * stdlib/tst-tls-atexit.c: New test case.
11519 * stdlib/tst-tls-atexit-lib.c: New test case.
11520
ffaa74cf 11521 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 11522
be179c8a
SP
11523 * elf/Versions (ld): Add _dl_find_dso_for_object.
11524 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
11525 * elf/dl-open.c (_dl_find_dso_for_object): New function.
11526 (dl_open_worker): Use _dl_find_dso_for_object.
11527 * elf/dl-sym.c (do_sym): Likewise.
11528 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
11529
f78b5caa
AK
115302013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11531
11532 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
11533 Syntactic changes only.
11534 (_dl_runtime_profile): Do a tail-call to the resolved function.
11535
29691210
JM
115362013-02-17 Joseph Myers <joseph@codesourcery.com>
11537
11538 [BZ #13550]
11539 * sysdeps/x86_64/bp-asm.h: Remove file.
11540 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
11541 <bp-sym.h> and <bp-asm.h>.
11542 (__clone): Do not use BP_SYM.
11543 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
11544 <bp-sym.h> and <bp-asm.h>.
11545 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11546 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
11547 "bp-asm.h".
11548 (_setjmp): Do not use BP_SYM.
11549 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
11550 "bp-asm.h".
11551 (setjmp): Do not use BP_SYM.
11552 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
11553 libc_hidden_def.
11554 (mempcpy): Do not use BP_SYM in weak_alias.
11555 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
11556 "bp-asm.h".
11557 (strchr): Do not use BP_SYM.
11558 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
11559 "bp-asm.h".
11560 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
11561 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
11562 (_start): Do not use BP_SYM.
11563 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
11564 "bp-asm.h".
11565 (strcat): Do not use BP_SYM.
11566 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
11567 "bp-asm.h".
11568 (STRCMP): Do not use BP_SYM.
11569 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
11570 "bp-asm.h".
11571 (STRCPY): Do not use BP_SYM.
11572 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
11573 "bp-asm.h".
11574 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
11575 "bp-asm.h".
11576 (FUNCTION): Do not use BP_SYM.
11577 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
11578 weak_alias.
11579 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
11580
f238fd19
AJ
115812013-02-17 Andreas Jaeger <aj@suse.de>
11582
11583 * time/Versions: Sort entries.
11584 * string/Versions: Likewise.
11585 * resolv/Versions: Likewise.
11586 * posix/Versions: Likewise.
11587 * iconv/Versions: Likewise.
11588 * elf/Versions: Likewise.
11589 * wcsmbs/Versions: Likewise.
11590
bd07f23c 115912013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 11592
22af19f9
SP
11593 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
11594 loop termination condition.
11595
4709fe76
SP
11596 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
11597 variable to calculate EZ.
11598 (__sqr): Likewise.
2d0e0f29
SP
11599
11600 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
11601 the lower precision input.
11602
daaa7713
JM
116032013-02-15 Joseph Myers <joseph@codesourcery.com>
11604
11605 [BZ #13550]
11606 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
11607 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
11608 (run-via-rtld-prefix): Do not handle %-bp tests.
11609 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
11610 (all-object-suffixes): Remove .ob.
11611 (bppfx): Remove variable.
11612 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
11613 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
11614 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
11615 [$(build-bounded) = yes] (libtype.ob): Likewise.
11616 * Makerules (elide-routines.ob): Remove variable.
11617 (do-tests-clean): Do not handle *-bp.out.
11618 (common-mostlyclean): Do not handle *-bp and *-bp.out.
11619 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
11620 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
11621 (tests): Do not include $(tests-bp.out).
11622 (xtests): Do not include $(xtests-bp.out).
11623 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
11624 [$(build-bounded) = yes] ($(addprefix
11625 $(objpfx),$(binaries-bounded))): Remove rule.
11626 ($(objpfx)%-bp.out): Remove rule.
11627 * config.make.in (build-bounded): Remove variable.
11628 * crypt/Makefile [$(build-bounded) = yes]
11629 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
11630 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
11631 append to variable.
11632 [$(build-bounded) = yes] (install-lib): Likewise.
11633 [$(build-bounded) = yes] (generated): Likewise.
11634 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
11635 Remove rule.
11636 * intl/Makefile [$(build-bounded) = yes]
11637 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
11638 * math/Makefile [$(build-bounded) = yes]
11639 ($(tests:%=$(objpfx)%-bp): Likewise.
11640 * misc/Makefile [$(build-bounded) = yes]
11641 ($(objpfx)tst-tsearch-bp): Likewise.
11642 * nptl/Makeconfig (bounded-thread-library): Remove variable.
11643 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
11644 Remove dependency.
11645 * string/Makefile (o-objects.ob): Remove variable.
11646 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
11647 (CFLAGS-.ob): Remove variable.
11648 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
11649 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
11650 both definitions of variable.
11651 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
11652 (ASFLAGS-.ob): Remove variable.
11653
e97ed6dd
JM
116542013-02-14 Joseph Myers <joseph@codesourcery.com>
11655
2bdd4ca6
JM
11656 [BZ #13550]
11657 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
11658 Remove __BOUNDED_POINTERS__ from condition.
11659 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
11660 * string/bits/string2.h [!__NO_STRING_INLINES &&
11661 !__BOUNDED_POINTERS__]: Likewise.
11662 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
11663 Likewise.
11664 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
11665 Remove conditional code.
11666 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
11667 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
11668 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
11669 condition.
11670
e97ed6dd
JM
11671 [BZ #13550]
11672 * csu/libc-start.c: Do not include <bp-sym.h>.
11673 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
11674 * elf/dl-open.c: Do not include <bp-sym.h>.
11675 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
11676 * math/fegetenv.c: Do not include <bp-sym.h>.
11677 (fegetenv): Do not use BP_SYM in versioned symbols.
11678 * nptl/sysdeps/pthread/bits/libc-lockP.h
11679 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
11680 <bp-sym.h>.
11681 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11682 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
11683 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11684 (__pthread_mutex_destroy): Likewise.
11685 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11686 (__pthread_mutex_lock): Likewise.
11687 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11688 (__pthread_mutex_trylock): Likewise.
11689 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11690 (__pthread_mutex_unlock): Likewise.
11691 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11692 (__pthread_mutexattr_init): Likewise.
11693 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11694 (__pthread_mutexattr_destroy): Likewise.
11695 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11696 (__pthread_mutexattr_settype): Likewise.
11697 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11698 (__pthread_rwlock_init): Likewise.
11699 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11700 (__pthread_rwlock_destroy): Likewise.
11701 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11702 (__pthread_rwlock_rdlock): Likewise.
11703 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11704 (__pthread_rwlock_tryrdlock): Likewise.
11705 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11706 (__pthread_rwlock_wrlock): Likewise.
11707 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11708 (__pthread_rwlock_trywrlock): Likewise.
11709 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11710 (__pthread_rwlock_unlock): Likewise.
11711 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11712 (__pthread_key_create): Likewise.
11713 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11714 (__pthread_setspecific): Likewise.
11715 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11716 (__pthread_getspecific): Likewise.
11717 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
11718 Likewise.
11719 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11720 (_pthread_cleanup_push_defer): Likewise.
11721 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11722 (_pthread_cleanup_pop_restore): Likewise.
11723 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11724 (pthread_setcancelstate): Likewise.
11725 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
11726 <bp-sym.h>.
11727 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
11728 (memchr): Do not use BP_SYM in weak_alias.
11729 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
11730 (fegetenv): Do not use BP_SYM in versioned symbols.
11731 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
11732 (fesetenv): Do not use BP_SYM in versioned symbols.
11733 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11734 (feupdateenv): Do not use BP_SYM in versioned symbols.
11735 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11736 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11737 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
11738 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
11739 (open64): Do not use BP_SYM in weak_alias.
11740 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
11741 (fegetenv): Do not use BP_SYM in versioned symbols.
11742 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
11743 (fesetenv): Do not use BP_SYM in versioned symbols.
11744 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11745 (feupdateenv): Do not use BP_SYM in versioned symbols.
11746 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
11747 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
11748 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
11749 (feraiseexcept): Do not use BP_SYM in versioned symbols.
11750 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11751 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11752 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
11753 <bp-sym.h>.
11754 (__libc_start_main): Do not use BP_SYM.
11755
d6752ccd
SP
117562013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11757
cb57ce60
SP
11758 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
11759 redundant return line.
11760 (norm): Likewise.
11761 (denorm): Likewise.
11762 (dbl_mp): Likewise.
11763 (sub_magnitudes): Likewise.
11764 (__add): Likewise.
11765 (__sub): Likewise.
11766 (__mul): Likewise.
11767 (__inv): Likewise.
11768 (__dvd): Likewise.
11769 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
11770 (norm): Likewise.
11771 (denorm): Likewise.
11772 (dbl_mp): Likewise.
11773 (sub_magnitudes): Likewise.
11774 (__add): Likewise.
11775 (__sub): Likewise.
11776 (__mul): Likewise.
11777 (__inv): Likewise.
11778 (__dvd): Likewise.
11779
f414520d
SP
11780 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
11781 instead of __mul.
11782 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11783 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
11784 (cc32): Likewise.
11785
d6752ccd
SP
11786 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
11787 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
11788 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
11789 of __mul for squares.
11790 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
11791 function
11792 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
11793 Likewise.
11794 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
11795 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11796
70d9946a
JM
117972013-02-13 Joseph Myers <joseph@codesourcery.com>
11798
11799 [BZ #13550]
11800 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
11801 code.
11802 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
11803 prototype or function definition. Rename ubp_* variables and
11804 parameters. Remove argv definitions conditional on
11805 [__BOUNDED_POINTERS__].
11806 * debug/backtrace.c (__backtrace): Do not use __unbounded.
11807 * elf/dl-runtime.c (_dl_fixup): Likewise.
11808 * include/set-hooks.h (RUN_HOOK): Likewise.
11809 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
11810 definition.
11811 * string/strcpy.c (strcpy): Do not use __unbounded.
11812 * sysdeps/generic/frame.h (struct layout): Likewise.
11813 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
11814 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
11815 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
11816 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
11817 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
11818 (__backtrace): Likewise.
11819 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
11820 use __ptrvalue.
11821 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
11822 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11823 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11824 Likewise.
11825 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
11826 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
11827 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11828 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11829 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
11830 Do not use __unbounded.
11831 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
11832 Rename __unboundedrlimits parameter to rlimits in prototype.
11833 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
11834 Do not use __unbounded.
11835 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
11836 not use __ptrvalue.
11837 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11838 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
11839 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11840 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
11841 __ptrvalue or __unbounded.
11842 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
11843 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
11844 use __unbounded.
11845 (__new_msgctl): Do not use __ptrvalue.
11846 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
11847 __unbounded.
11848 (__libc_msgrcv): Do not use __ptrvalue.
11849 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
11850 startup_info): Do not use __unbounded.
11851 (__libc_start_main): Likewise. Rename ubp_* variables and
11852 parameters. Remove argv definitions conditional on
11853 [__BOUNDED_POINTERS__].
11854 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
11855 __ptrvalue.
11856 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
11857 use __unbounded.
11858 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
11859 or __ptrvalue.
11860 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
11861 use __unbounded.
11862 (__new_shmctl): Do not use __ptrvalue.
11863 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
11864 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
11865 Likewise.
11866 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
11867 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
11868 (__libc_sigaction): Likewise.
11869 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
11870 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
11871 Likewise.
11872 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11873
cc7834d6
OB
118742013-02-13 Ondřej Bílka <neleai@seznam.cz>
11875
ffb1ec7b 11876 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
11877
11878 * string/mempcpy.c: Implement by calling memcpy.
11879
bdf02814
SP
118802013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11881
c2af38aa
SP
11882 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
11883
4e92d59e
SP
11884 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
11885 evaluation.
11886
909279a5
SP
11887 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
11888 values in the mantissa.
11889
bdf02814
SP
11890 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
11891 minimize writes to Z.
11892 (sub_magnitudes): Simplify code a bit.
11893
cd525923
RM
118942013-02-12 Roland McGrath <roland@hack.frob.com>
11895
11896 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
11897 from the message. The linker prefixes all warnings with that already.
11898
7e2f0d2d
AS
118992013-02-12 Andreas Schwab <schwab@suse.de>
11900
a445af0b
AS
11901 [BZ #15078]
11902 * posix/regexec.c (extend_buffers): Add parameter min_len.
11903 (check_matching): Pass minimum needed length.
11904 (clean_state_log_if_needed): Likewise.
11905 (get_subexp): Likewise.
11906 * posix/Makefile (tests): Add bug-regex34.
11907 (bug-regex34-ENV): Define.
11908 * posix/bug-regex34.c: New file.
11909
7e2f0d2d
AS
11910 [BZ #11561]
11911 * posix/regcomp.c (parse_bracket_exp): When looking up collating
11912 elements compare against the byte sequence of it, not its name.
11913 * posix/Makefile (tests): Add bug-regex35.
11914 (bug-regex35-ENV): Define.
11915 * posix/bug-regex35.c: New file.
11916
a175b684
TV
119172013-02-11 Tom de Vries <tom@codesourcery.com>
11918
11919 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
11920 comment.
11921 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
11922 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
11923 (CHECK_EOL): Add undef.
11924
310998fe 119252013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
11926
11927 * bits/stdlib-bsearch.h: New file.
11928 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 11929 * stdlib/stdlib.h: Likewise.
41eda41d 11930
8ded91fb
RM
119312013-02-11 Roland McGrath <roland@hack.frob.com>
11932
11933 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
11934 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
11935 declaration.
11936 * manual/search.texi (Array Search Function): Add missing const in
11937 lfind prototype.
11938 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
11939 declaration to use rlim_t.
11940 (Basic Scheduling Functions): Remove erroneous const from
11941 sched_getparam prototype. Remove erroneous * from
11942 sched_get_priority_max and sched_get_priority_min prototypes.
11943 (Resource Usage): Fix summary @comment on vtimes to refer to
11944 sys/vtimes.h rather than vtimes.h.
11945 Add missing *s in vtimes prototype.
11946 (Limits on Resources): Fix ulimit prototype to return long int.
11947 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
11948 prototypes to use long int rather than double.
11949 (BSD Random): Fix initstate and setstate to use char *, not void *.
11950 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
11951 prototype to make second argument 'struct aiocb64 *const[]'.
11952 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
11953 (Status of AIO Operations): Remove erroneous const in aio_return and
11954 aio_return64 prototypes.
11955 (Synchronizing I/O): Fix sync prototype to return void.
11956 * manual/startup.texi (Suboptions): Remove an erroneous const in
11957 getsubopt prototype.
11958 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
11959 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
11960 use size_t rather than int.
11961 (Scanning All Users): Likewise for getpwent_r.
11962 (Setting Groups): Add missing const to setgroups prototype.
11963 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
11964 * manual/socket.texi (Host Names): Fix gethostbyaddr and
11965 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
11966 'const void *' rather than 'const char *'.
11967 (Host Address Functions): Likewise for inet_ntop.
11968 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
11969 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
11970 ssize_t for return value.
11971 (Sending Data): Likewise for send, sendto, sendmsg.
11972 (Socket Option Functions): Add a missing const in setsockopt prototype.
11973 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
11974 use wchar_t for the argument.
11975 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
11976 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
11977 take no arguments.
11978 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
11979 double/float/long double for second argument.
11980 Fix return types of significand, significandf, significandl.
11981 * manual/filesys.texi (Setting Permissions): Use mode_t for second
11982 argument in fchmod prototype.
11983 (File Owner): Use uid_t and gid_t in fchown prototype.
11984 (File Times): Add const to utimes, futimes, and lutimes prototypes.
11985 (Making Special Files): Use mode_t and dev_t in mknod prototype.
11986 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
11987 use 'const struct dirent **' as argument types to CMP function pointer
11988 argument.
11989 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
11990 (File Times): Fix summary magic @comment for struct utimbuf and utime
11991 to refer to utime.h, not time.h.
11992 * manual/string.texi (Argz Functions): Add missing const in
11993 argz_extract and argz_next prototypes.
11994 (Finding Tokens in a String): Likewise for basename.
11995 (String/Array Comparison): Fix typo in wcscasecmp prototype.
11996 (Copying and Concatenation): Fix typo in wmemmove prototype.
11997 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
11998 (Signal Stack): Remove erroneous const in sigstack prototype.
11999 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
12000 prototype.
12001 (Simple Calendar Time): Likewise for stime.
12002 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
12003 prototype.
12004 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
12005 say sys/sysctl.h instead.
12006 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
12007 and vsyslog prototypes.
12008
fe77fe6d
TV
120092013-02-11 Tom de Vries <tom@codesourcery.com>
12010
12011 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
12012 Remove.
12013
3a09b620
RM
120142013-02-11 Roland McGrath <roland@hack.frob.com>
12015
12016 * misc/sys/mman.h: Fix typo in mremap comment.
12017
550a0b89
RM
120182013-02-08 Roland McGrath <roland@hack.frob.com>
12019
12020 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
12021 the '\0' terminator.
12022
a2da1673
JM
120232013-02-08 Joseph Myers <joseph@codesourcery.com>
12024
12025 [BZ #13550]
12026 * debug/segfault.c: Don't include <bp-checks.h>.
12027 * sysdeps/generic/bp-checks.h: Remove file.
12028 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
12029 (__GETDENTS): Don't use CHECK_N.
12030 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
12031 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12032 (__getgroups): Don't use CHECK_N.
12033 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
12034 (setgroups): Don't use CHECK_N.
12035 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
12036 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
12037 (__libc_msgrcv): Don't use CHECK_N.
12038 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
12039 (__libc_msgsnd): Don't use CHECK_N.
12040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
12041 <bp-checks.h>.
12042 (__libc_pread): Don't use CHECK_N.
12043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
12044 include <bp-checks.h>.
12045 (__libc_pread64): Don't use CHECK_N.
12046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
12047 include <bp-checks.h>.
12048 (__libc_pwrite): Don't use CHECK_N.
12049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
12050 include <bp-checks.h>.
12051 (__libc_pwrite64): Don't use CHECK_N.
12052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
12053 <bp-checks.h>.
12054 (__libc_pread): Don't use CHECK_N.
12055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
12056 include <bp-checks.h>.
12057 (__libc_pread64): Don't use CHECK_N.
12058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
12059 include <bp-checks.h>.
12060 (__libc_pwrite): Don't use CHECK_N.
12061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
12062 include <bp-checks.h>.
12063 (__libc_pwrite64): Don't use CHECK_N.
12064 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
12065 (do_pread): Don't use CHECK_N.
12066 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
12067 (do_pread64): Don't use CHECK_N.
12068 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
12069 (do_pwrite): Don't use CHECK_N.
12070 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
12071 (do_pwrite64): Don't use CHECK_N.
12072 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
12073 (__libc_readv): Don't use CHECK_N.
12074 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
12075 (semop): Don't use CHECK_N.
12076 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
12077 <bp-checks.h>.
12078 (semtimedop): Don't use CHECK_N.
12079 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
12080 (__libc_pread): Don't use CHECK_N.
12081 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
12082 <bp-checks.h>.
12083 (__libc_pread64): Don't use CHECK_N.
12084 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
12085 <bp-checks.h>.
12086 (__libc_pwrite): Don't use CHECK_N.
12087 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
12088 <bp-checks.h>.
12089 (__libc_pwrite64): Don't use CHECK_N.
12090 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
12091 <bp-checks.h>.
12092 (__libc_msgrcv): Don't use CHECK_N.
12093 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
12094 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
12095 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
12096 (__libc_writev): Don't use CHECK_N.
12097
b84660a8
RM
120982013-02-08 Roland McGrath <roland@hack.frob.com>
12099
7f3e75f8
RM
12100 * string/strcpy.c: Removed unused variable.
12101
b84660a8
RM
12102 * Makeconfig (+sysdep-includes): Define with := rather than =.
12103 Use an existing include/ subdir of each sysdeps dir before it.
12104
471514d3
CD
121052013-02-08 Carlos O'Donell <carlos@redhat.com>
12106
12107 * nscd/connection.c (register_traced_file): Comment function.
12108 [HAVE_INOTIFY] (union __inev): Define.
12109 [HAVE_INOTIFY] (inotify_check_files): New function.
12110 [HAVE_INOTIFY] (clear_db_cache): Likewise.
12111 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
12112 clear_db_cache.
12113 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
12114
b2d3c3be
CD
121152013-02-08 Carlos O'Donell <carlos@redhat.com>
12116
12117 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
12118 loaded if not already and that a failure is permanent.
12119
b39949d2
CD
121202013-02-08 Carlos O'Donell <carlos@redhat.com>
12121
ddacd1db 12122 [BZ #15006]
b39949d2
CD
12123 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
12124 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
12125
b2c9eff4
JM
121262013-02-08 Joseph Myers <joseph@codesourcery.com>
12127
f3aae3f3
JM
12128 [BZ #13550]
12129 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
12130 (CHECK_1_NULL_OK): Likewise.
12131 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
12132 (__fxstat): Do not use CHECK_1.
12133 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
12134 <bp-checks.h>.
12135 (___fxstat64): Do not use CHECK_1.
12136 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
12137 <bp-checks.h>.
12138 (__fxstatat): Do not use CHECK_1.
12139 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
12140 <bp-checks.h>.
12141 (__fxstatat64): Do not use CHECK_1.
12142 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
12143 <bp-checks.h>.
12144 (__fxstat): Do not use CHECK_1.
12145 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
12146 <bp-checks.h>.
12147 (__fxstatat): Do not use CHECK_1.
12148 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12149 <bp-checks.h>.
12150 (__getresgid): Do not use CHECK_1.
12151 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12152 <bp-checks.h>.
12153 (__getresuid): Do not use CHECK_1.
12154 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
12155 <bp-checks.h>.
12156 (__lxstat): Do not use CHECK_1.
12157 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12158 <bp-checks.h>.
12159 (__old_msgctl): Do not use CHECK_1.
12160 (__new_msgctl): Likewise.
12161 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
12162 <bp-checks.h>.
12163 (__new_setrlimit): Do not use CHECK_1.
12164 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12165 <bp-checks.h>.
12166 (__old_shmctl): Do not use CHECK_1.
12167 (__new_shmctl): Likewise.
12168 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
12169 <bp-checks.h>.
12170 (__xstat): Do not use CHECK_1.
12171 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
12172 (__lxstat): Do not use CHECK_1.
12173 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
12174 <bp-checks.h>.
12175 (___lxstat64): Do not use CHECK_1.
12176 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
12177 (__old_msgctl): Do not use CHECK_1.
12178 (__new_msgctl): Likewise.
12179 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
12180 <bp-checks.h>.
12181 (__gettimeofday): Do not use CHECK_1.
12182 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
12183 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
12184 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
12185 <bp-checks.h>.
12186 (__gettimeofday): Do not use CHECK_1.
12187 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
12188 (__old_shmctl): Do not use CHECK_1_NULL_OK.
12189 (__new_shmctl): Do not use CHECK_1.
12190 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
12191 <bp-checks.h>.
12192 (do_sigtimedwait): Do not use CHECK_1.
12193 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
12194 <bp-checks.h>.
12195 (do_sigwaitinfo): Do not use CHECK_1.
12196 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
12197 <bp-checks.h>.
12198 (msgctl): Do not use CHECK_1.
12199 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
12200 <bp-checks.h>.
12201 (shmctl): Do not use CHECK_1.
12202 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
12203 (ustat): Do not use CHECK_1.
12204 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
12205 <bp-checks.h>.
12206 (__fxstat): Do not use CHECK_1.
12207 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
12208 <bp-checks.h>.
12209 (__fxstatat): Do not use CHECK_1.
12210 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
12211 <bp-checks.h>.
12212 (__lxstat): Do not use CHECK_1.
12213 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
12214 <bp-checks.h>.
12215 (__xstat): Do not use CHECK_1.
12216 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
12217 (__xstat): Do not use CHECK_1.
12218 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
12219 (___xstat64): Do not use CHECK_1.
12220
b2c9eff4
JM
12221 [BZ #13550]
12222 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
12223 definitions.
12224 (CHECK_BOUNDS_HIGH): Likewise.
12225 * string/strcpy.c: Do not include <bp-checks.h>.
12226 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
12227
f1d70dad
RM
122282013-02-07 Roland McGrath <roland@hack.frob.com>
12229
12230 * nscd/nscd-client.h (__nscd_drop_map_ref):
12231 Add __attribute__ ((unused)).
12232 * nis/nss-nisplus.h (niserr2nss): Likewise.
12233
12234 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
12235 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
12236
12237 * csu/libc-tls.c (init_static_tls, init_slotinfo):
12238 Remove inline keyword.
12239 * include/rounding-mode.h (round_away): Likewise.
12240 * libio/wfileops.c (adjust_wide_data): Likewise.
12241 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
12242 (__m128i_strloadu_tolower): Likewise.
12243 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
12244 (__m128i_strloadu_tolower): Likewise.
12245 * time/mktime.c (ydhms_diff): Likewise.
12246 * locale/elem-hash.h (elem_hash): Likewise.
12247 * locale/setlocale.c (setdata): Likewise.
12248 * posix/regex_internal.h (re_string_char_size_at): Likewise.
12249 (re_string_wchar_at): Likewise.
12250 (bitset_not, bitset_merge, bitset_mask): Likewise.
12251 [!(__GNUC__ > 3)] (inline): Remove macro.
12252 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
12253 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
12254 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
12255 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
12256 * string/memcmp.c (memcmp_bytes): Likewise.
12257 * locale/programs/locarchive.c (compute_hashval): Likewise.
12258 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
12259 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
12260 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
12261 * nss/getent.c (print_rpc, print_protocols): Likewise.
12262 (print_passwd, print_group, print_aliases): Likewise.
12263 * nis/nss-nisplus.h (niserr2nss): Likewise.
12264 * nscd/connections.c (restart_p): Likewise.
12265 Change return type to bool.
12266
eab55bfb
RM
122672013-02-05 Roland McGrath <roland@hack.frob.com>
12268
7bd642f5
RM
12269 * Makeconfig (all-Depend-files): Add existing
12270 $(sorted-subdirs:=/Depend) files.
12271 (all-subdirs): Remove nss.
12272 * sysdeps/unix/inet/Subdirs: Add it here instead.
12273 * hesiod/Depend: New file.
12274
573c29b2
RM
12275 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
12276 instead of calling alloca.
12277
b2e25af0
RM
12278 * io/lseek.c (__lseek): Rename to __libc_lseek.
12279 Define __lseek as an alias.
12280
eab55bfb
RM
12281 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
12282
9a0d1941
CD
122832013-02-04 Carlos O'Donell <carlos@redhat.com>
12284
12285 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
12286 else clause and remove check for non-standard endianness.
12287
b83bbec4
DM
122882013-02-04 David S. Miller <davem@davemloft.net>
12289
12290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12291
6277fdab
JM
122922013-02-04 Joseph Myers <joseph@codesourcery.com>
12293
12294 [BZ #13550]
12295 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
12296 (__ubp_memchr): Remove prototype.
12297 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
12298 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12299 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
12300 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12301 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
12302 Remove alias.
12303 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
12304 (__ubp_memchr): Likewise.
12305 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
12306 (__ubp_memchr): Likewise.
12307 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
12308 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
12309 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
12310 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
12311 CHECK_STRING.
12312 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12313 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
12314 (__getcwd): Do not use CHECK_STRING.
12315 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12316 <bp-checks.h>.
12317 (__real_chown): Do not use CHECK_STRING.
12318 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
12319 <bp-checks.h>.
12320 (fchownat): Do not use CHECK_STRING.
12321 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
12322 CHECK_STRING.
12323 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12324 <bp-checks.h>.
12325 (__lchown): Do not use CHECK_STRING.
12326 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12327 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12328 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12329 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12331 include <bp-checks.h>.
12332 (truncate64): Do not use CHECK_STRING.
12333 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12334 <bp-checks.h>.
12335 (__real_chown): Do not use CHECK_STRING.
12336 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12337 <bp-checks.h>.
12338 (__lchown): Do not use CHECK_STRING.
12339 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12340 <bp-checks.h>.
12341 (__chown): Do not use CHECK_STRING.
12342 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
12343 <bp-checks.h>.
12344 (truncate64): Do not use CHECK_STRING.
12345 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
12346 Likewise.
12347 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
12348 (__xmknod): Do not use CHECK_STRING.
12349 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
12350 <bp-checks.h>.
12351 (__xmknodat): Do not use CHECK_STRING.
12352 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12353 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
12354
903ae060
AS
123552013-02-04 Andreas Schwab <schwab@suse.de>
12356
12357 [BZ #14142]
12358 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
12359 * include/netdb.h: Likewise for h_errno.
12360 * elf/tst-stackguard1.c: Include <tls.h>.
12361
542f9466
JK
123622013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12363
12364 * elf/link.h (struct link_map): Extend the l_addr comment.
12365 * include/link.h (struct link_map): Likewise.
12366
e782a927
JM
123672013-02-01 Joseph Myers <joseph@codesourcery.com>
12368
12369 [BZ #13550]
12370 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
12371 (BOUNDED_1): Remove macro.
12372 * debug/backtrace.c: Don't include <bp-checks.h>.
12373 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
12374 (__backtrace): Likewise.
12375 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
12376 <bp-checks.h>.
12377 (__backtrace): Don't use BOUNDED_1.
12378 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
12379 <bp-checks.h>.
12380 (__backtrace): Don't use BOUNDED_1.
12381 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
12382 (__backtrace): Don't use BOUNDED_1.
12383 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
12384 (shmat): Don't use BOUNDED_N.
12385
8cf28c5e
JM
123862013-01-31 Joseph Myers <joseph@codesourcery.com>
12387
3a7ac8a0
JM
12388 [BZ #13550]
12389 * sysdeps/generic/bp-start.h: Remove file.
12390 * csu/libc-start.c: Don't include <bp-start.h>.
12391 (LIBC_START_MAIN): Set up __environ directly instead of using
12392 INIT_ARGV_and_ENVIRON.
12393 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
12394 <bp-start.h>.
12395
f3499f95
JM
12396 [BZ #13550]
12397 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
12398 definitions.
12399 (CHECK_FCNTL): Likewise.
12400 (CHECK_N_PAGES): Likewise.
12401
32a45bea
JM
12402 [BZ #13550]
12403 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
12404 definitions.
12405 (CHECK_SIGSET_NULL_OK): Likewise.
12406 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
12407 <bp-checks.h>.
12408 (sigpending): Don't use CHECK_SIGSET.
12409 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
12410 <bp-checks.h>.
12411 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12412 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
12413 <bp-checks.h>.
12414 (do_sigsuspend): Don't use CHECK_SIGSET.
12415 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
12416 use CHECK_SIGSET.
12417 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
12418 (do_sigwait): Don't use CHECK_SIGSET.
12419 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
12420 use CHECK_SIGSET.
12421 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
12422 include <bp-checks.h>.
12423 (sigpending): Don't use CHECK_SIGSET.
12424 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
12425 include <bp-checks.h>.
12426 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12427 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
12428 <bp-checks.h>.
12429 (sigpending): Don't use CHECK_SIGSET.
12430 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
12431 <bp-checks.h>.
12432 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12433
2e8a5c8c
JM
12434 [BZ #13550]
12435 * sysdeps/generic/bp-semctl.h: Remove file.
12436 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
12437 <bp-checks.h> and <bp-semctl.h>.
12438 (__old_semctl): Don't use CHECK_SEMCTL.
12439 (__new_semctl): Likewise.
12440 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
12441 and <bp-semctl.h>.
12442 (__old_semctl): Don't use CHECK_SEMCTL.
12443 (__new_semctl): Likewise.
12444 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
12445 <bp-checks.h> and <bp-semctl.h>.
12446 (__old_semctl): Don't use CHECK_SEMCTL.
12447 (__new_semctl): Likewise.
12448 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
12449 <bp-checks.h> and <bp-semctl.h>.
12450 (semctl): Don't use CHECK_SEMCTL.
12451
c2d54929
JM
12452 [BZ #13550]
12453 * Makerules (elide-bp-thunks): Remove variable.
12454 (elide-routines.oS): Don't use $(elide-bp-thunks).
12455 (elide-routines.os): Likewise.
12456 (elide-routines.o): Likewise.
12457 (elide-routines.op): Likewise.
12458 (elide-routines.og): Likewise.
12459 (objects): Don't use $(bp-thunks).
12460 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
12461 include.
12462 (common-generated): Do not add s-proto-bp.d.
12463 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
12464 (int): Likewise.
12465 (typ): Likewise.
12466 Do not generate makefile rules for bounded-pointer thunks.
12467 * sysdeps/generic/bp-thunks.h: Remove file.
12468 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
12469 * sysdeps/unix/s-proto-bp.S: Likewise.
12470
8cf28c5e
JM
12471 [BZ #15062]
12472 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
12473 parts of result separately when argument is not close to line from
12474 -i to i and one part of argument is small.
12475 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12476 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12477 * math/libm-test.inc (cacos_test): Add more tests.
12478 (casin_test): Likewise.
12479 (casinh_test): Likewise.
12480 * sysdeps/i386/fpu/libm-test-ulps: Update.
12481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12482
c4e33b8d
DM
124832013-01-31 David S. Miller <davem@davemloft.net>
12484
12485 * po/de.po: Update from translation team.
12486
3b60b421
MK
124872013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
12488
12489 * time/tzfile.c: Include stdint.h for SIZE_MAX.
12490
bb931195
TS
124912013-01-25 Thomas Schwinge <thomas@codesourcery.com>
12492
b5a5da23
TS
12493 * configure.in (_AC_PROG_CC_C89): New definition.
12494 * configure: Regenerate.
12495
bb931195
TS
12496 * configure.in (AC_PROG_CPP): New definition.
12497 * configure: Regenerate.
12498
8c53a12c
JM
124992013-01-23 Joseph Myers <joseph@codesourcery.com>
12500
12501 * debug/tst-backtrace.h: New file.
12502 * debug/tst-backtrace2.c: Include tst-backtrace.h.
12503 (ret): Remove variable.
12504 (x): Likewise.
12505 (FAIL): Remove macro.
12506 (NO_INLINE): Likewise.
12507 (fn1): Use match function instead of strstr.
12508 * debug/tst-backtrace3.c: Include tst-backtrace.h.
12509 (ret): Remove variable.
12510 (x): Likewise.
12511 (FAIL): Remove macro.
12512 (NO_INLINE): Likewise.
12513 (fn): Use match function instead of strstr.
12514 * debug/tst-backtrace4.c: Include tst-backtrace.h.
12515 (ret): Remove variable.
12516 (x): Likewise.
12517 (FAIL): Remove macro.
12518 (NO_INLINE): Likewise.
12519 (handle_signal): Use match function instead of strstr.
12520 * debug/tst-backtrace5.c: Include tst-backtrace.h.
12521 (ret): Remove variable.
12522 (x): Likewise.
12523 (FAIL): Remove macro.
12524 (NO_INLINE): Likewise.
12525 (handle_signal): Use match function instead of strstr.
12526
4858fa2a
RM
125272013-01-23 Roland McGrath <roland@hack.frob.com>
12528
12529 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
12530
bae8e7f5
DM
125312013-01-23 David S. Miller <davem@davemloft.net>
12532
12533 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
12534 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
12535 argument of CAS if possible.
12536 * sysdeps/sparc/sparc64/bits/atomic.h
12537 (__arch_compare_and_exchange_val_32_acq): Likewise.
12538 (__arch_compare_and_exchange_val_64_acq): Likewise.
12539
9cbbc4ae
PT
125402013-01-23 Pino Toscano <toscano.pino@tiscali.it>
12541
12542 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
12543 * sysdeps/posix/ulimit.c: ... this.
92a601b8 12544 Include <limits.h>.
67b3f58c 12545 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 12546
5655a0b5
AC
125472013-01-23 Adam Conrad <adconrad@0c3.net>
12548
12549 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
12550 (LDFLAGS-tst-array5): Likewise.
12551
052aff95
JM
125522013-01-23 Joseph Myers <joseph@codesourcery.com>
12553
12554 [BZ #15036]
12555 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
12556 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
12557 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
12558 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
12559
7c1e01aa
DM
125602013-01-21 David S. Miller <davem@davemloft.net>
12561
12562 * sysdeps/sparc/backtrace.c: New file.
12563 * sysdeps/sparc/sparc32/backtrace.h: New file.
12564 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
12565 * sysdeps/sparc/sparc64/backtrace.h: New file.
12566 * sysdeps/sparc/sparc64/backtrace.c: Delete.
12567 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
12568 -funwind-tables.
12569
ab087e0a
AS
125702013-01-21 Andreas Schwab <schwab@suse.de>
12571
12572 [BZ #15020]
12573 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
12574 closed its stdout.
12575
ed689c2f
AS
125762013-01-20 Andreas Schwab <schwab@linux-m68k.org>
12577
12578 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
12579 "mpa2.h".
12580 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12581
31d470ac
JM
125822013-01-18 Joseph Myers <joseph@codesourcery.com>
12583 Mark Mitchell <mark@codesourcery.com>
12584 Tom de Vries <tom@codesourcery.com>
12585 Paul Pluzhnikov <ppluzhnikov@google.com>
12586
12587 * debug/tst-backtrace2.c: New file.
12588 * debug/tst-backtrace3.c: Likewise.
12589 * debug/tst-backtrace4.c: Likewise.
12590 * debug/tst-backtrace5.c: Likewise.
12591 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
12592 (CFLAGS-tst-backtrace3.c): Likewise.
12593 (CFLAGS-tst-backtrace4.c): Likewise.
12594 (CFLAGS-tst-backtrace5.c): Likewise.
12595 (LDFLAGS-tst-backtrace2): Likewise.
12596 (LDFLAGS-tst-backtrace3): Likewise.
12597 (LDFLAGS-tst-backtrace4): Likewise.
12598 (LDFLAGS-tst-backtrace5): Likewise.
12599 (tests): Add new tests tst-backtrace2, tst-backtrace3,
12600 tst-backtrace4 and tst-backtrace5.
12601
90567f30 126022013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
12603 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12604
12605 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
12606 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
12607 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
12608 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
12609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12610 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
12611 "+r" and remove output regs list as redundant. Add explicit inline
12612 asm to specify register of return val to work around compiler codegen
12613 bug. Remove (int) cast on return value. Add return type parameter to
12614 use in macro so that this macro does not truncate return value for
12615 64-bit values.
12616 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
12617 pass to INTERNAL_VSYSCALL_NCS.
12618 (INLINE_VSYSCALL): Add 'long int' as return type to
12619 INTERNAL_VSYSCALL_NCS macro invocation.
12620 (INTERNAL_VSYSCALL): Add 'long int' as return type to
12621 INTERNAL_VSYSCALL_NCS macro invocation.
12622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12623
d3b9ea61
SP
126242013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12625
0b57daeb
SP
12626 [BZ #14496]
12627 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
12628 Fix application of SIMD FP exception mask.
12629
caa99d06
SP
12630 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
12631 mp_no from a power of two.
12632 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
12633 __mpexp_twomm1. Use __pow_mp.
12634
d3b9ea61
SP
12635 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
12636 multiplication.
12637
1dbaee3c
DM
126382013-01-17 David S. Miller <davem@davemloft.net>
12639
12640 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12641
728d7b43
JM
126422013-01-17 Joseph Myers <joseph@codesourcery.com>
12643
12644 [BZ #15023]
12645 * include/complex.h: Condition contents on [!_COMPLEX_H].
12646 (__kernel_casinhf): New prototype.
12647 (__kernel_casinh): Likewise.
12648 (__kernel_casinhl): Likewise.
12649 * math/Makefile (libm_calls): Add k_casinh.
12650 * math/k_casinh.c: New file.
12651 * math/k_casinhf.c: Likewise.
12652 * math/k_casinhl.c: Likewise.
12653 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
12654 finite nonzero arguments.
12655 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
12656 finite nonzero arguments.
12657 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
12658 finite nonzero arguments.
12659 * math/s_casinh.c: Do not include <float.h>.
12660 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
12661 * math/s_casinhf.c: Do not include <float.h>.
12662 (__casinhf): Move code for finite nonzero arguments to
12663 k_casinhf.c.
12664 * math/s_casinhl.c: Do not include <float.h>.
12665 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
12666 redefine.
12667 (__casinhl): Move code for finite nonzero arguments to
12668 k_casinhl.c.
12669 * math/libm-test.inc (cacos_test): Add more tests.
12670 * sysdeps/i386/fpu/libm-test-ulps: Update.
12671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12672
2a26ef3a
PT
126732013-01-17 Pino Toscano <toscano.pino@tiscali.it>
12674
12675 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
12676 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
12677 [!HAVE_MREMAP]: Remove [defined linux] case.
12678 * malloc/arena.c: Do not include <malloc-sysdep.h>.
12679
a897655d
SP
126802013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12681
12682 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
12683
881ebe89 126842013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
12685
12686 * elf/elf.h (R_386_SIZE32): New relocation.
12687 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
12688 R_386_SIZE32.
12689 (elf_machine_rela): Likewise.
12690 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12691 R_X86_64_SIZE64 and R_X86_64_SIZE32.
12692
59981e9b
JM
126932013-01-17 Joseph Myers <joseph@codesourcery.com>
12694
12695 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
12696 (FP_FAST_FMA): Do not define.
12697 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
12698 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
12699 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
12700 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
12701 !_SOFT_FLOAT]: Likewise.
12702 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
12703 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
12704 value.
12705 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
12706 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
12707 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
12708 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
12709 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
12710 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
12711 file.
12712
cfa8054f
AS
127132013-01-16 Andreas Schwab <schwab@suse.de>
12714
12715 [BZ #14327]
12716 * include/stdlib.h (__mktemp): Add declaration.
12717 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
12718 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
12719
dd930cc5
SP
127202013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12721
881ebe89
SP
12722 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
12723 definitions.
12724 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12725 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
12726 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
12727 definitions here.
12728 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
12729 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
12730 definitions.
12731 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
12732 and ONE.
12733 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
12734 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
12735 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
12736 definitions.
12737 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
12738 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
12739 definitions.
12740 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 12741
dd930cc5
SP
12742 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
12743
c19a9f89
DM
127442013-01-15 David S. Miller <davem@davemloft.net>
12745
1aa61767
DM
12746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12747 trunc{,f} to libm-sysdep_routes.
12748 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
12750 file.
12751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
12752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
12753 file.
12754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
12755 file.
12756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
12757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
12758 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
12759 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
12760 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
12761 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
12762 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
12763 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
12764
c42d5e98
DM
12765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12766 nearbyint{,f} to libm-sysdep_routes.
12767 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
12769 New file.
12770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
12771 file.
12772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
12773 New file.
12774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
12775 file.
12776 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
12777 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
12778 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
12779 file.
12780 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
12781 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
12782 file.
12783 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
12784 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
12785 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
12786
c19a9f89
DM
12787 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12788 libc_feholdexcept and libc_fesetenv.
12789
357679d2
MF
127902013-01-15 Mike Frysinger <vapier@gentoo.org>
12791
12792 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
12793
65a82e3d
DM
127942013-01-14 David S. Miller <davem@davemloft.net>
12795
8b954ab9
DM
12796 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
12797 (SPARC_ASM_VIS2_IFUNC): Likewise.
12798 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
12799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
12800 use of 'siam' instruction.
12801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
12802 Likewise.
12803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
12804 Likewise.
12805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
12806 Likewise.
12807 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
12808 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
12809 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
12810 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
12811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
12812 file.
12813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
12814 file.
12815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
12816 file.
12817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
12818 file.
12819 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
12820 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
12821 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
12822 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
12823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
12824 new VIS2 routines.
12825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12828 Likewise.
12829 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12830 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12831 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12832 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
12834 routines to libm-sysdep_routines.
12835 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12836
65a82e3d
DM
12837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12838 fdim/fdimf to libm-sysdep_routines.
12839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
12840 file.
12841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
12842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
12843 file.
12844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
12845 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
12846 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
12847 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
12848 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
12849 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
12850 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
12851
e34ab705
SP
128522013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12853
2a91b573
SP
12854 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
12855 to optimize copies.
12856
1066a534
SP
12857 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
12858 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12859 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12860
e34ab705
SP
12861 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
12862 local variable MPTWO.
12863 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12864 Likewise.
12865
aba5e596
MF
128662013-01-13 Mike Frysinger <vapier@gentoo.org>
12867
12868 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
12869 GLOB_NOESCAPE.
12870
e557e9e5
MF
128712013-01-13 Mike Frysinger <vapier@gentoo.org>
12872
12873 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
12874
0428cec9
MF
128752013-01-13 Mike Frysinger <vapier@gentoo.org>
12876
12877 * manual/pattern.texi (glob_t): Document gl_flags.
12878 (glob64_t): Likewise.
12879
8794a964
DM
128802013-01-11 David S. Miller <davem@davemloft.net>
12881
66438c3f
RM
12882 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
12883 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
12884 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
12885 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
12886 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
12887 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
12888 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
12889 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
12890 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
12891 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
12892 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
12893 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
12894 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
12895
4ae4244d
DM
12896 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12897 sparc V9 rather than using V8 code.
12898 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12899 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12900
8794a964
DM
12901 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12902 Move to...
12903 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
12904 Here.
12905
6270516e
RM
129062013-01-11 Roland McGrath <roland@hack.frob.com>
12907
12908 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
12909 not in the main loop.
12910 * configure: Regenerated.
12911
6a57d931
JM
129122013-01-11 Joseph Myers <joseph@codesourcery.com>
12913
12914 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
12915 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
12916 to just #else.
12917 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
12918 [!__GLIBC_HAVE_LONG_LONG] case.
12919 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
12920 condition to just #else.
12921 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
12922 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
12923 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
12924 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
12925 unconditional.
12926 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
12927 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
12928 #elif condition to just #else.
12929 * sysdeps/unix/sysv/linux/sys/sysmacros.h
12930 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
12931 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
12932 #elif condition to just #else.
12933
0e8529e9
SE
129342013-01-11 Steve Ellcey <sellcey@mips.com>
12935
12936 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
12937 (EF_MIPS_ARCH_64): Fix value.
12938 (EF_MIPS_ARCH_32R2): New.
12939 (EF_MIPS_ARCH_64R2): New.
12940
740b3dbe
L
129412013-01-11 H.J. Lu <hongjiu.lu@intel.com>
12942
12943 * Makeconfig (+link-pie-before-libc): New.
12944 (+link-pie-after-libc): Likewise.
12945 (+link-pie-tests): Likewise.
12946 (+link-pie): Rewritten.
12947 (link-before-libc): Remove $(config-LDFLAGS).
12948 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
12949 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
12950 (config-LDFLAGS): Renamed to ...
12951 (rtld-LDFLAGS): This.
12952 (rtld-tests-LDFLAGS): New macro.
12953 (link-libc-rpath-link): Likewise.
12954 (link-libc-tests-rpath-link): Likewise.
12955 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
12956 (link-libc): Prepand $(link-libc-rpath-link).
12957 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
12958 (test-program-prefix): New macro.
12959 (test-via-rtld-prefix): Likewise.
12960 (test-program-cmd): Likewise.
12961 (host-test-program-cmd): Likewise.
12962 * Makefile ($(common-objpfx)testrun.sh): Replace
12963 $(run-program-prefix) with $(test-program-prefix).
12964 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
12965 $(rtld-LDFLAGS).
12966 ($(common-objpfx)shlib.lds): Likewise.
12967 (build-module-helper): Likewise.
12968 ($(common-objpfx)format.lds): Likewise.
12969 * Rules (binaries-pie-tests): New.
12970 (binaries-pie-notests): Likewise.
12971 (binaries-pie): Rewritten.
12972 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
12973 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
12974 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
12975 (make-test-out): Replace $(host-built-program-cmd) with
12976 $(host-test-program-cmd).
12977 * config.make.in (build-hardcoded-path-in-tests): New variable.
12978 * configure.in (--enable-hardcoded-path-in-tests): New configure
12979 option.
12980 (hardcoded_path_in_tests): New AC_SUBST.
12981 * configure: Regenerated.
12982 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
12983 $(built-program-cmd) with $(test-program-cmd).
12984 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
12985 (test_program_cmd): This.
12986 * elf/Makefile ($(objpfx)order.out): Run test with
12987 $(test-program-prefix).
12988 ($(objpfx)order2.out): Likewise.
12989 ($(objpfx)tst-initorder.out): Likewise.
12990 ($(objpfx)tst-initorder2.out): Likewise.
12991 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
12992 $(test-program-cmd).
12993 ($(objpfx)tst-array1-static.out): Likewise.
12994 ($(objpfx)tst-array2.out): Likewise.
12995 ($(objpfx)tst-array3.out): Likewise.
12996 ($(objpfx)tst-array4.out): Likewise.
12997 ($(objpfx)tst-array5.out): Likewise.
12998 ($(objpfx)tst-array5-static.out): Likewise.
12999 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
13000 $(test-program-cmd).
13001 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
13002 $(run-program-prefix) with $(test-program-prefix).
13003 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
13004 (test_program_prefix): This.
13005 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
13006 $(run-program-prefix) with $(test-program-prefix).
13007 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
13008 (test_program_prefix): This.
13009 * iconvdata/tst-tables.sh: Likewise.
13010 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
13011 $(run-program-prefix) with $(test-program-prefix).
13012 ($(objpfx)tst-translit.out): Likewise.
13013 ($(objpfx)tst-gettext2.out): Likewise.
13014 ($(objpfx)tst-gettext4.out): Likewise.
13015 ($(objpfx)tst-gettext6.out): Likewise.
13016 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
13017 (test_program_prefix): This.
13018 * intl/tst-gettext2.sh: Likewise.
13019 * intl/tst-gettext4.sh Likewise.
13020 * intl/tst-gettext6.sh: Likewise.
13021 * intl/tst-translit.sh: Likewise.
13022 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
13023 with $(test-program-cmd).
13024 * libio/Makefile ($(objpfx)test-freopen.out): Replace
13025 $(run-program-prefix) with $(test-program-prefix).
13026 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
13027 (test_program_prefix): This.
13028 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
13029 $(run-program-prefix) with $(test-program-prefix).
13030 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
13031 (test_program_prefix): This.
13032 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
13033 * posix/Makefile ($(objpfx)globtest.out): Replace
13034 $(run-via-rtld-prefix) and $(test-wrapper) with
13035 $(test-program-prefix) and $(test-via-rtld-prefix).
13036 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
13037 $(test-program-prefix).
13038 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
13039 $(host-test-program-cmd).
13040 (tst-spawn-ARGS): Likewise.
13041 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
13042 $(test-program-prefix).
13043 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
13044 (test_via_rtld_prefix): This.
13045 (test_wrapper): Renamed to ...
13046 (test_program_prefix): This.
13047 (run_program_prefix): Replaced by test_program_prefix.
13048 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
13049 (test_program_prefix): This.
13050 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
13051 with $(host-test-program-cmd).
13052 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
13053 $(run-program-prefix) with $(test-program-prefix).
13054 ($(objpfx)tst-printf.out): Likewise.
13055 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
13056 $(test-program-cmd).
13057 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
13058 (test_program_prefix): This.
13059 * stdio-common/tst-unbputc.sh: Likewise.
13060 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
13061 $(run-program-prefix) with $(test-program-prefix).
13062 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
13063 (test_program_prefix): This.
13064 * string/Makefile ($(objpfx)tst-svc.out): Replace
13065 $(built-program-cmd) with $(test-program-cmd).
13066
c6fe55cf
AJ
130672013-01-11 Andreas Jaeger <aj@suse.de>
13068
13069 [BZ #15003]
13070 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
13071 value. Sync with Linux 3.7.
13072
9e6919c8
DM
130732013-01-10 David S. Miller <davem@davemloft.net>
13074
13075 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
13076 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13077 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13078
1c9f1a02
RM
130792013-01-10 Roland McGrath <roland@hack.frob.com>
13080
13081 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
13082 never set.
13083 * configure: Regenerated.
13084
b9de2dde
DM
130852013-01-10 David S. Miller <davem@davemloft.net>
13086
13087 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13088 sparc V9 rather than using V8 code.
13089 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13090 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13091
e7f68ef4
RM
130922013-01-10 Roland McGrath <roland@hack.frob.com>
13093
13094 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
13095 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
13096 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
13097 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
13098 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
13099 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
13100 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
13101 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
13102 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
13103 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
13104 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
13105 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
13106 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
13107 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
13108 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
13109 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
13110 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
13111 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
13112 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
13113 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
13114 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
13115 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
13116 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
13117 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
13118 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
13119 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
13120 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
13121
5a47cc9c
DM
131222013-01-10 David S. Miller <davem@davemloft.net>
13123
13124 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13125
4cf8f209
L
131262013-01-10 H.J. Lu <hongjiu.lu@intel.com>
13127
13128 * posix/Makefile (tests-static): New variable.
13129 (tests): Add $(tests-static).
13130 (tst-exec-static-ARGS): New variable.
13131 (tst-spawn-static-ARGS): Likewise.
13132 * posix/tst-exec-static.c: New file.
13133 * posix/tst-spawn-static.c: Likewise.
13134 * posix/tst-exec.c: Support run directly.
13135 * posix/tst-spawn.c: Likewise.
13136
fed0faa1
JM
131372013-01-10 Joseph Myers <joseph@codesourcery.com>
13138
828beb13
JM
13139 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
13140 long.
13141 * math/bits/mathcalls.h (llrint): Likewise.
13142 (llround): Likewise.
13143 * stdlib/stdlib.h (struct drand48_data): Likewise.
13144 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
13145 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
13146 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
13147 Likewise.
13148 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
13149 Likewise.
13150 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
13151 (elf_greg_t): Likewise.
13152 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
13153 (__jmp_buf): Likewise.
13154 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
13155 definitions.
13156 (llrint): Likewise, for all definitions.
13157 (llrintl): Likewise.
13158
fed0faa1
JM
13159 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
13160 Remove [__GNUC__] condition.
13161 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
13162 condition to just [__USE_ISOC99].
13163 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
13164
1a20cb20
L
131652013-01-10 H.J. Lu <hongjiu.lu@intel.com>
13166
13167 [BZ #14200]
13168 * sysdeps/unix/sysv/linux/x86/bits/environments.h
13169 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
13170 defined.
13171 (_POSIX_V6_ILP32_OFF32): Likewise.
13172 (_XBS5_ILP32_OFF32): Likewise.
13173 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
13174 (__ILP32_OFFBIG_LDFLAGS): Likewise.
13175
751b85f7
SP
131762013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13177
7490eb81
SP
13178 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
13179
751b85f7
SP
13180 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
13181 doubles __mpexp_twomm1. Adjust usage.
13182 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
13183 Remove.
13184
988197f0
AS
131852013-01-10 Andreas Schwab <schwab@suse.de>
13186
13187 [BZ #14964]
13188 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
13189 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
13190
e83d7298
DM
131912013-01-09 David S. Miller <davem@davemloft.net>
13192
034ed64b 13193 [BZ #15003]
e83d7298
DM
13194 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
13195 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
13196 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
13197 TCP_FASTOPEN): Define.
13198 (tcp_repair_opt): New structure.
13199 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
13200 enum values.
13201 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
13202 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
13203 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
13204 (tcp_cookie_transactions): New structure.
13205
d5e0b9bd
AB
132062013-01-09 Anton Blanchard <anton@samba.org>
13207
13208 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
13209 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
13210 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
13211 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
13212
0c07e3ea
JM
132132013-01-09 Joseph Myers <joseph@codesourcery.com>
13214
13215 * include/features.h (__USE_ANSI): Remove.
13216
232f7002
RM
132172013-01-09 Roland McGrath <roland@hack.frob.com>
13218
ad98e30c
RM
13219 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
13220
232f7002
RM
13221 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
13222
950c99ca
SP
132232013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
13224
b5792741
SP
13225 * sysdeps/s390/fpu/libm-test-ulps: Update.
13226
47cf2278
SP
13227 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13228
950c99ca
SP
13229 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
13230 (__acr): Likewise.
13231 (__cpy): Likewise.
13232 (norm): Likewise.
13233 (denorm): Likewise.
13234 (__mp_dbl): Likewise.
13235 (__dbl_mp): Likewise.
13236 (add_magnitudes): Likewise.
13237 (sub_magnitudes): Likewise.
13238 (__add): Likewise.
13239 (__sub): Likewise.
13240 (__mul): Likewise.
13241 (__inv): Likewise.
13242 (__dvd): Likewise.
13243 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
13244 (__acr): Likewise.
13245 (__cpy): Likewise.
13246 (norm): Likewise.
13247 (denorm): Likewise.
13248 (__mp_dbl): Likewise.
13249 (__dbl_mp): Likewise.
13250 (add_magnitudes): Likewise.
13251 (sub_magnitudes): Likewise.
13252 (__add): Likewise.
13253 (__sub): Likewise.
13254 (__mul): Likewise.
13255 (__inv): Likewise.
13256 (__dvd): Likewise.
13257 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
13258 (__acr): Likewise.
13259 (__cpy): Likewise.
13260 (norm): Likewise.
13261 (denorm): Likewise.
13262 (__mp_dbl): Likewise.
13263 (__dbl_mp): Likewise.
13264 (add_magnitudes): Likewise.
13265 (sub_magnitudes): Likewise.
13266 (__add): Likewise.
13267 (__sub): Likewise.
13268 (__mul): Likewise.
13269 (__inv): Likewise.
13270 (__dvd): Likewise.
13271
eede9df9
JM
132722013-01-08 Joseph Myers <joseph@codesourcery.com>
13273
13274 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
13275 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
13276 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
13277 2 && __USE_EXTERN_INLINES]: Likewise.
13278
c40ea3d9
AJ
132792013-01-08 Andreas Jaeger <aj@suse.de>
13280
13281 [BZ# 14985]
13282 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
13283 Remove.
13284 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13285 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13286
2ccdea26
AB
132872013-01-07 Anton Blanchard <anton@samba.org>
13288
13289 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
13290 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13291 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
13292 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13293 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13294 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13295 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
13296 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13297 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13298 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13299 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13300 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13301 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13302 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13303 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13304 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13305 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13306 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13307 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13308 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13309 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13310 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
13311 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13312 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13313 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
13314 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13315 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13316 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13317 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
13318 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13319 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13320 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13321 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13322 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13323 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13324 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13325 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13326 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13327 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
13328 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13329 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
13330 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13331 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13332
a9708fed
JM
133332013-01-07 Joseph Myers <joseph@codesourcery.com>
13334
375607b9
JM
13335 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
13336 (__MALLOC_PMT): Likewise.
13337 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
13338 [__GNUC__], only on [_LIBC].
13339 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13340 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
13341 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13342 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
13343 forward declaration.
13344 (realloc_hook_ini): Likewise.
13345 (memalign_hook_ini): Likewise.
13346 (__libc_memalign): Do not use __MALLOC_PMT in variable
13347 declaration.
13348 (__libc_valloc): Likewise.
13349 (__libc_pvalloc): Likewise.
13350 (__libc_calloc): Likewise.
13351 (__posix_memalign): Likewise.
13352
a9708fed
JM
13353 [BZ #14996]
13354 * math/s_casinh.c: Include <float.h>.
13355 (__casinh): Do not do computation with squaring and square root
13356 for large arguments.
13357 * math/s_casinhf.c: Include <float.h>.
13358 (__casinhf): Do not do computation with squaring and square root
13359 for large arguments.
13360 * math/s_casinhl.c: Include <float.h>.
13361 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
13362 (__casinhl): Do not do computation with squaring and square root
13363 for large arguments.
13364 * math/libm-test.inc (casin_test): Add more tests.
13365 (casinh_test): Likewise.
13366 * sysdeps/i386/fpu/libm-test-ulps: Update.
13367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13368
afec409a
L
133692013-01-04 H.J. Lu <hongjiu.lu@intel.com>
13370
13371 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
13372 (__x86_64_raw_data_cache_size): Likewise.
13373 (__x86_64_data_cache_size_half): Likewise.
13374 (__x86_64_raw_data_cache_size_half): Likewise.
13375 (__x86_64_shared_cache_size): Likewise.
13376 (__x86_64_raw_shared_cache_size): Likewise.
13377 (__x86_64_shared_cache_size_half): Likewise.
13378 (__x86_64_raw_shared_cache_size_half): Likewise.
13379 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
13380 to ...
13381 (__x86_data_cache_size): This.
13382 (__x86_64_raw_data_cache_size): Renamed to ...
13383 (__x86_raw_data_cache_size): This.
13384 (__x86_64_data_cache_size_half): Renamed to ...
13385 (__x86_data_cache_size_half): This.
13386 (__x86_64_raw_data_cache_size_half): Renamed to ...
13387 (__x86_raw_data_cache_size_half): This.
13388 (__x86_64_shared_cache_size): Renamed to ...
13389 (__x86_shared_cache_size): This.
13390 (__x86_64_raw_shared_cache_size): Renamed to ...
13391 (__x86_raw_shared_cache_size): This.
13392 (__x86_64_shared_cache_size_half): Renamed to ...
13393 (__x86_shared_cache_size_half): This.
13394 (__x86_64_raw_shared_cache_size_half): Renamed to ...
13395 (__x86_raw_shared_cache_size_half): This.
13396 * sysdeps/x86_64/memcpy.S: Updated.
13397 * sysdeps/x86_64/memset.S: Likewise.
13398 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13399 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13400 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13401
0b3986d0
DM
134022013-01-04 David S. Miller <davem@davemloft.net>
13403
13404 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13405
e47686e9
AS
134062013-01-04 Andreas Schwab <schwab@linux-m68k.org>
13407
d643bac1
AS
13408 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
13409 1 to avoid redefinition warning.
13410 (__USE_GNU): Don't define.
13411 (init_signaling_nan): Protoize.
13412
e47686e9
AS
13413 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13414
b18decba
SP
134152013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13416
fffb407f
SP
13417 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
13418 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
13419 (__cpymn): Likewise.
13420 (norm): Remove commented code.
13421 (denorm): Likewise.
13422 (__mp_dbl): Likewise.
13423 (__inv): Likewise.
13424 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
13425 (__cpymn): Likewise.
13426 (norm): Remove commented code.
13427 (denorm): Likewise.
13428 (__mp_dbl): Likewise.
13429 (__inv): Likewise.
13430
b18decba
SP
13431 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
13432 mp_no value for 1.0 and 2.0.
13433 (norm): Use RADIXI instead of radixi.d.
13434 (denorm): Likewise.
13435 (__mul): Use 0.0 instead of zero.d.
13436 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
13437 mp_no value for 1.0 and 2.0.
13438 (norm): Use RADIXI instead of radixi.d.
13439 (denorm): Likewise.
13440 (__mul): Use 0.0 instead of zero.d.
13441
cdc1c96f
JM
134422013-01-04 Joseph Myers <joseph@codesourcery.com>
13443
13444 [BZ #14994]
13445 * math/s_casinh.c (__casinh): Reduce finite argument to first
13446 quadrant then set signs of results at the end.
13447 * math/s_casinhf.c (__casinhf): Likewise.
13448 * math/s_casinhl.c (__casinhl): Likewise.
13449 * math/libm-test.inc (casin_test): Add more tests.
13450 (casinh_test): Likewise.
13451 * sysdeps/i386/fpu/libm-test-ulps: Update.
13452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13453
302913e1
SP
134542013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13455
6420d207
SP
13456 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
13457
a9e48ab4
SP
13458 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
13459
b7837264
SP
13460 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
13461 declarations.
13462 (denorm): Likewise.
13463 (__mp_dbl): Likewise.
13464 (__inv): Likewise.
13465
f8af25d2
SP
13466 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
13467 and adjust the header comment.
13468
302913e1
SP
13469 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
13470 variable name from declaration.
13471
5d7dd1ca
L
134722013-01-03 H.J. Lu <hongjiu.lu@intel.com>
13473
13474 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13475 Initialize COMMON_CPUID_INDEX_7 element.
13476 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
13477 (CPUID_RTM): Likewise.
13478 (HAS_RTM): Likewise.
13479 (COMMON_CPUID_INDEX_7): New enum.
13480
2f5f40f4
AS
134812013-01-03 Andreas Schwab <schwab@linux-m68k.org>
13482
13483 [BZ #14981]
13484 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
13485 size is zero, record memory as freed.
13486
4056f4a0
AJ
134872013-01-03 Andreas Jaeger <aj@suse.de>
13488
13489 * po/ia.po: Add new Interlingua translation.
13490
ab15736f 134912012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
13492
13493 * locale/programs/localedef.c: Fix description of '--posix' flag.
13494
568035b7
JM
134952013-01-02 Joseph Myers <joseph@codesourcery.com>
13496
e6898b8d
JM
13497 * NEWS: Update dates in second copyright notice.
13498 * README: Update copyright dates in example.
13499 * manual/libc.texinfo: Update copyright dates.
13500 * scripts/test-installation.pl: Update copyright date in --version
13501 output.
13502
0e2f9562
JM
13503 * hurd/ctty-input.c: Fix copyright notice formatting.
13504 * hurd/ctty-output.c: Likewise.
13505 * hurd/dtable.c: Likewise.
13506 * hurd/hurd-raise.c: Likewise.
13507 * hurd/hurdprio.c: Likewise.
13508 * hurd/msgportdemux.c: Likewise.
13509 * misc/sys/file.h: Likewise.
13510 * misc/sys/ioctl.h: Likewise.
13511 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13512 * sysdeps/mach/hurd/chdir.c: Likewise.
13513 * sysdeps/mach/hurd/fchdir.c: Likewise.
13514 * sysdeps/mach/hurd/rename.c: Likewise.
13515 * sysdeps/mach/hurd/rmdir.c: Likewise.
13516 * sysdeps/mach/hurd/seekdir.c: Likewise.
13517 * sysdeps/mach/hurd/setsid.c: Likewise.
13518 * sysdeps/posix/wait3.c: Likewise.
13519
568035b7
JM
13520 * All files with FSF copyright notices: Update copyright dates
13521 using scripts/update-copyrights.
13522 * intl/plural.c: Regenerated.
13523 * locale/programs/charmap-kw.h: Likewise.
13524 * locale/programs/locfile-kw.h: Likewise.
13525
da08f647
SP
135262013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13527
0f5477af
SP
13528 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
13529 four values.
13530
44e0d4c2
SP
13531 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
13532 calculation loop and add branch prediction.
13533
4d55b4e5
SP
13534 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
13535 check access beyond bounds of m1np.
13536
da08f647
SP
13537 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13538 MPTWO.
13539 (__inv): Remove local variable MPTWO to use the global
13540 constant.
13541 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
13542 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13543 variable MPTWO.
13544 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
13545 MP3HALFS static const.
13546
8e051029
DM
135472013-01-01 David S. Miller <davem@davemloft.net>
13548
13549 * po/ca.po: Update from translation team.
13550
f4cf5f2d
JM
135512013-01-01 Joseph Myers <joseph@codesourcery.com>
13552
13553 * scripts/update-copyrights: New file.
13554 * Makeconfig: Reformat copyright notice.
13555 * ctype/ctype.h: Likewise.
13556 * debug/swprintf_chk.c: Likewise.
13557 * elf/dl-cache.c: Likewise.
13558 * elf/dl-debug.c: Likewise.
13559 * elf/dl-object.c: Likewise.
13560 * grp/initgroups.c: Likewise.
13561 * hurd/Makefile: Likewise.
13562 * hurd/hurd/signal.h: Likewise.
13563 * hurd/hurdfault.c: Likewise.
13564 * hurd/hurdioctl.c: Likewise.
13565 * hurd/hurdlookup.c: Likewise.
13566 * hurd/intr-msg.c: Likewise.
13567 * iconv/gconv_open.c: Likewise.
13568 * libio/swprintf.c: Likewise.
13569 * locale/lc-ctype.c: Likewise.
13570 * locale/nl_langinfo.c: Likewise.
13571 * mach/Machrules: Likewise.
13572 * mach/Makefile: Likewise.
13573 * malloc/obstack.h: Likewise.
13574 * manual/Makefile: Likewise.
13575 * manual/tsort.awk: Likewise.
13576 * misc/bits/stab.def: Likewise.
13577 * nis/nis_print_group_entry.c: Likewise.
13578 * nis/nis_table.c: Likewise.
13579 * nis/nss_compat/compat-pwd.c: Likewise.
13580 * nis/nss_compat/compat-spwd.c: Likewise.
13581 * po/Makefile: Likewise.
13582 * posix/fnmatch.c: Likewise.
13583 * posix/regex.h: Likewise.
13584 * resolv/Makefile: Likewise.
13585 * resolv/nss_dns/dns-network.c: Likewise.
13586 * resolv/res_hconf.c: Likewise.
13587 * scripts/gen-sorted.awk: Likewise.
13588 * soft-fp/soft-fp.h: Likewise.
13589 * stdio-common/printf.h: Likewise.
13590 * stdlib/monetary.h: Likewise.
13591 * stdlib/random.c: Likewise.
13592 * stdlib/random_r.c: Likewise.
13593 * sysdeps/generic/Makefile: Likewise.
13594 * sysdeps/gnu/Makefile: Likewise.
13595 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13596 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13597 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13598 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13599 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13600 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13601 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13602 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13603 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13604 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13605 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13606 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13607 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13608 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13609 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
13610 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13611 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13612 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13613 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13614 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13615 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13616 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13617 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13618 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13619 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
13620 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13621 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13622 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
13623 * sysdeps/mach/hurd/errnos.awk: Likewise.
13624 * sysdeps/mach/hurd/fork.c: Likewise.
13625 * sysdeps/mach/hurd/getcwd.c: Likewise.
13626 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
13627 * sysdeps/mach/hurd/mmap.c: Likewise.
13628 * sysdeps/mach/hurd/utimes.c: Likewise.
13629 * sysdeps/mach/hurd/xmknod.c: Likewise.
13630 * sysdeps/posix/profil.c: Likewise.
13631 * sysdeps/posix/readdir_r.c: Likewise.
13632 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13633 * sysdeps/powerpc/bits/setjmp.h: Likewise.
13634 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
13635 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13636 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13637 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13638 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13639 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13640 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13641 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13642 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13643 * sysdeps/pthread/lio_listio.c: Likewise.
13644 * sysdeps/sparc/dl-procinfo.h: Likewise.
13645 * sysdeps/unix/i386/sysdep.S: Likewise.
13646 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
13647 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
13648 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
13649 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
13650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13651 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
13652 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
13653 * sysdeps/unix/sysv/linux/speed.c: Likewise.
13654 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
13655 * sysdeps/wordsize-32/divdi3.c: Likewise.
13656 * time/sys/time.h: Likewise.
13657 * wcsmbs/Makefile: Likewise.
13658
0549fbba
DM
136592013-01-01 David S. Miller <davem@davemloft.net>
13660
a141f1a7
DM
13661 * po/fr.po: Update from translation team.
13662
0549fbba
DM
13663 * catgets/gencat.c: Update copyright year.
13664 * csu/version.c: Likewise.
13665 * debug/catchsegv.sh: Likewise.
13666 * debug/pcprofiledump.c: Likewise.
13667 * debug/xtrace.sh: Likewise.
13668 * elf/ldconfig.c: Likewise.
13669 * elf/ldd.bash.in: Likewise.
13670 * elf/pldd.c: Likewise.
13671 * elf/sotruss.ksh: Likewise.
13672 * elf/sprof.c: Likewise.
13673 * iconv/iconv_prog.c: Likewise.
13674 * iconv/iconvconfig.c: Likewise.
13675 * locale/programs/locale.c: Likewise.
13676 * locale/programs/localedef.c: Likewise.
13677 * login/programs/pt_chown.c: Likewise.
13678 * malloc/memusage.sh: Likewise.
13679 * malloc/memusagestat.c: Likewise.
13680 * malloc/mtrace.pl: Likewise.
13681 * nscd/nscd.c: Likewise.
13682 * nss/getent.c: Likewise.
13683 * nss/makedb.c: Likewise.
13684 * posix/getconf.c: Likewise.
13685
18ea052c
SP
136862012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13687
13688 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
13689 numbers.
13690
9c89fca6
MF
136912012-12-30 Mike Frysinger <vapier@gentoo.org>
13692
13693 * math/bits/mathcalls.h (modf): Use __nonnull.
13694
085ec079
SP
136952012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13696
13697 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
13698 (split): Use macro CN instead of the bare value.
13699 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
13700 could be used.
13701 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
13702 instead of the bare value.
13703 (power1): Likewise.
13704
6d9f97e1
SP
137052012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13706
d63f73be
SP
13707 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
13708 __ATAN_TWOM.
13709 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13710
6d9f97e1
SP
13711 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
13712 their values.
13713 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13714 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13715 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
13716 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13717
4c4febf5
AJ
137182012-12-28 Andreas Jaeger <aj@suse.de>
13719
af5843ef
AJ
13720 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
13721 values are from Linux 3.7.
13722
4c4febf5
AJ
13723 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
13724 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
13725
99136f82
SP
137262012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13727
2f216c3c 13728 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
13729 TRUE case.
13730
99136f82
SP
13731 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
13732 (norm): Likewise.
13733 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
13734 variables with preprocessor constants.
13735 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13736 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13737 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13738
7fffbdff
BH
137392012-12-27 Bruno Haible <bruno@clisp.org>
13740
13741 [BZ #14317]
13742 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
13743 only if needed.
13744
b76eb5f0
SP
137452012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13746
31a7fe5c
SP
13747 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
13748 and use variable directly.
13749 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
13750
b76eb5f0
SP
13751 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13752 MPONE.
13753 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
13754 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13755 variable MPONE.
13756 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
13757 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13758 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
13759 include directive. Remove local variable MPONE.
13760 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
13761 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
13762 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13763
2c8bfe7d
DM
137642012-12-25 David S. Miller <davem@davemloft.net>
13765
13766 * version.h (RELEASE): Set to "development".
13767 (VERSION): Set to "2.17.90".
13768 * NEWS: Add 2.18 section.
13769
147d03b0
DM
137702012-12-21 David S. Miller <davem@davemloft.net>
13771
13772 * po/hr.po: Update from translation team.
13773
a8ebb2b9
AK
137742012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13775
13776 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
13777
95b4f1b6
SE
137782012-12-19 Steve Ellcey <sellcey@mips.com>
13779
b2d94007 13780 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 13781
cedb2a90
MS
137822012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13783
13784 * manual/contrib.texi (Contributors): Spelling correction.
13785
bbf527d6
DM
137862012-12-15 David S. Miller <davem@davemloft.net>
13787
13788 * po/ru.po: Update from translation team.
13789
bc38c906
DM
137902012-12-13 David S. Miller <davem@davemloft.net>
13791
85429b1a
DM
13792 * NEWS: Mention IFUNC testsuite enhancements.
13793
d283e353
DM
13794 * po/pl.po: Update from translation team.
13795 * po/bg.po: Likewise.
13796
bc38c906
DM
13797 * manual/contrib.texi (Contributors): Update entries for Hongjiu
13798 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
13799
a181b0d7
DM
138002012-12-11 David S. Miller <davem@davemloft.net>
13801
4641d57e
DM
13802 * po/sv.po: Update from translation team.
13803
f7bc6495
DM
13804 * po/vi.po: Update from translation team.
13805
6fc9048f
DM
13806 * po/cs.po: Update from translation team.
13807
a181b0d7
DM
13808 * po/de.po: Update from translation team.
13809 * po/eo.po: Likewise.
13810 * po/nl.po: Likewise.
13811
f70bfe80
SP
138122012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13813
3c8b4190
SP
13814 [BZ #14246]
13815 * manual/argp.texi (Argp Helper Functions): Move node to follow
13816 Argp Parsing State.
13817
f70bfe80
SP
13818 [BZ #14872]
13819 * manual/conf.texi (Limits on File System Capacity): Mention if
13820 terminating null is included in the max size.
13821
188f0adf
AJ
138222012-12-10 Andreas Jaeger <aj@suse.de>
13823
13824 * po/cs.po: Update from translation team.
13825
56e7d3ad
SP
138262012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13827
13828 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
13829 void pointer and cast to uintptr_t.
13830 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
13831 path.
13832 * sysdeps/s390/s390-64/memcpy.S: Likewise.
13833 * sysdeps/s390/s390-64/memset.S: Likewise.
13834
76f2d2ea 138352012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
13836
13837 [BZ #14833]
13838 * menual/message.texi (Message Translation): Fix typos.
13839 (Helper programs for gettext): Likewise.
13840
67cbf9a2
AS
138412012-12-07 Andreas Schwab <schwab@linux-m68k.org>
13842
13843 [BZ #14898]
13844 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
13845 Change to -1.
13846
682d0e9a
DM
138472012-12-07 David S. Miller <davem@davemloft.net>
13848
13849 * po/libc.pot: Update.
13850
573cd484
RH
138512012-12-07 Richard Henderson <rth@redhat.com>
13852
7e9da188 13853 [BZ #10114]
573cd484
RH
13854 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
13855 normal/normal case to before the switch.
13856 (_FP_DIV): Likewise.
13857
e933a943
MF
138582012-12-06 Carlos O'Donell <carlos@systemhalted.org>
13859 Mike Frysinger <vapier@gentoo.org>
13860
13861 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
13862 check for __NR_fadvise64_64.
13863
82123268
CM
138642012-12-06 Chris Metcalf <cmetcalf@tilera.com>
13865
13866 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
13867 0, not just to plain "0" as a statement.
13868 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
13869 with cw.
13870
d9814526
JM
138712012-12-06 Joseph Myers <joseph@codesourcery.com>
13872
13873 * NEWS: Use sourceware.org in Bugzilla URL.
13874
7728c574
SP
138752012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13876
f16946dd
SP
13877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13878 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13879
5704bbcb
SP
13880 * stdio-common/tst-put-error.c (do_test): Add newline to the
13881 padded test to ensure flush.
13882
17aa0516
JL
138832012-12-05 Jeff Law <law@redhat.com>
13884
13885 * sunrpc/etc.rpc (fedfs_admin): Add entry.
13886
363313b5
JM
138872012-12-05 Joseph Myers <joseph@codesourcery.com>
13888
effbd42a
JM
13889 * README: Don't refer to ports add-on as distributed separately.
13890 Mention AArch64 in list of systems supported in the ports add-on.
13891
87600365
JM
13892 * LICENSES: Add more non-FSF copyright and license notices.
13893
a0d7066a
JM
13894 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
13895 ((unused)).
13896
66ca5a5b
JM
13897 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
13898
363313b5
JM
13899 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
13900 10000 as width of padded output.
13901
b37984ad
JM
139022012-12-04 Joseph Myers <joseph@codesourcery.com>
13903
9003570a
JM
13904 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
13905
b37984ad
JM
13906 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
13907 variable LX with __attribute__ ((unused)).
13908 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13909 Likewise.
13910 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13911 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13912 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
13913 with __attribute__ ((unused)).
13914
c8df52ec
DM
139152012-12-04 David S. Miller <davem@abraco.davemloft.net>
13916
13917 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
13918
b3b099af
JM
139192012-12-04 Joseph Myers <joseph@codesourcery.com>
13920
c33aa6e3
JM
13921 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
13922 (CFLAGS-nldbl-acos.c): New variable.
13923 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
13924 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
13925 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
13926 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
13927 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
13928 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
13929 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
13930 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
13931 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
13932 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
13933 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
13934 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
13935 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
13936 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
13937 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
13938 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
13939 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
13940 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
13941 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
13942 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
13943 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
13944 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
13945 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
13946 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
13947 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
13948 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
13949 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
13950 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
13951 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
13952 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
13953 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
13954 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
13955 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
13956 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
13957 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
13958 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
13959 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
13960 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
13961 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
13962 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
13963 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
13964 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
13965 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
13966 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
13967 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
13968 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
13969 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
13970 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
13971 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
13972 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
13973 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
13974 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
13975 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
13976 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
13977 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
13978 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
13979 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
13980 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
13981 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
13982 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
13983 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
13984 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
13985 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
13986 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
13987 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
13988 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
13989 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
13990 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
13991 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
13992 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
13993 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
13994 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
13995 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
13996 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
13997 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
13998 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
13999 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
14000 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
14001 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
14002 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
14003 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
14004 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
14005 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
14006 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
14007 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
14008 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
14009 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
14010 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
14011 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
14012 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
14013 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
14014 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
14015 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
14016 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
14017 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
14018 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
14019 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
14020
20f0018d
JM
14021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14022 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14023
b3b099af
JM
14024 [BZ #14914]
14025 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
14026 whole low double instead of just low 47 bits when splitting values
14027 into two parts.
14028
029264d1
AM
140292012-12-03 Allan McRae <allan@archlinux.org>
14030
14031 * manual/stdio.texi (Predefined Printf Handlers): Remove
14032 @hsep and @vsep usage.
14033
c9d6789e
MF
140342012-12-03 Mike Frysinger <vapier@gentoo.org>
14035
14036 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
14037 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
14038
4b7634a5
JL
140392012-12-03 Jeff Law <law@redhat.com>
14040
14041 * time/sys/time.h (settimeofday): Do not mark TV argument
14042 as __nonnull.
14043
eb6cbd24
MF
140442012-12-01 Mike Frysinger <vapier@gentoo.org>
14045
14046 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
14047 when currently writing and seek to current position when not.
14048 * libio/Makefile (tests): Remove bug-fclose1.
14049 * libio/bug-fclose1.c: Delete.
14050
f638872a
JM
140512012-12-01 Joseph Myers <joseph@codesourcery.com>
14052
14053 * manual/arith.texi (feenableexcept): Fix typo.
14054 (fedisableexcept): Likewise.
14055
48085d14
RM
140562012-11-30 Roland McGrath <roland@hack.frob.com>
14057
14058 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
14059 second, differently-typed declaration, rather than a cast.
14060
1a538b9f
SP
140612012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14062
14063 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
14064 * include/rpc/svc.h: ... here.
14065
d07f2ff1 140662012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
14067
14068 [BZ #13013]
14069 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
14070 depending n and resplen2 to catch cases where answer
14071 equals answerp2.
14072
c93ec1f0
CD
140732012-11-29 Carlos O'Donell <carlos@systemhalted.org>
14074
14075 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
14076 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
14077
37db69de
MF
140782012-11-29 Mike Frysinger <vapier@gentoo.org>
14079
14080 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
14081
e10c4e4f
RM
140822012-11-29 Roland McGrath <roland@hack.frob.com>
14083
14084 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
14085
2af1b328
JL
140862012-11-28 Jeff Law <law@redhat.com>
14087
14088 [BZ #13761]
14089 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
14090 dataset_temporary. Track alloca usage into alloca_used.
14091 If dataset is large allocate and release it via malloc/free.
14092
111db5b1
FW
140932012-06-04 Florian Weimer <fweimer@redhat.com>
14094
f06cc227 14095 [BZ #14197]
111db5b1
FW
14096 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
14097
dd694abd
DM
140982012-11-28 David S. Miller <davem@davemloft.net>
14099
14100 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14101
9984dd01
JM
141022012-11-28 Joseph Myers <joseph@codesourcery.com>
14103
14104 [BZ #14803]
14105 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
14106 of pi/2 rounded to nearest to 64 bits.
14107 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
14108 nearest to 64 bits.
14109 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
14110 bits.
14111
14bc93a9
JL
141122012-11-28 Jeff Law <law@redhat.com>
14113 Martin Osvald <mosvald@redhat.com>
14114
14115 [BZ #14889]
14116 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
14117 * sunrpc/svc.c: Include time.h.
14118 (__svc_accept_failed): New function.
14119 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
14120 any reason other than EINTR, call __svc_accept_failed.
14121 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
14122 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
14123
e3c6aa3a
AS
141242012-11-28 Andreas Schwab <schwab@suse.de>
14125
14126 * scripts/abilist.awk: Also handle indirect functions in .opd
14127 section.
14128
1bead169
JM
141292012-11-28 Joseph Myers <joseph@codesourcery.com>
14130
14131 [BZ #13881]
14132 * sysdeps/x86/fpu/powl_helper.c: New file.
14133 * sysdeps/x86/fpu/Makefile: Likewise.
14134 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
14135 (p3): New object.
14136 (__ieee754_powl): Use __powl_helper for finite arguments except
14137 integer exponents below 8.
14138 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
14139 (p3): New object.
14140 (__ieee754_powl): Use __powl_helper for finite arguments except
14141 integer exponents below 8.
14142 * math/libm-test.inc (pow_test): Add more tests and enable some
14143 previously disabled tests.
14144 * sysdeps/i386/fpu/libm-test-ulps: Update.
14145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14146
0817d63d
SP
141472012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14148 Carlos O'Donell <carlos_odonell@mentor.com>
14149
14150 * nss/makedb.c (is_prime): Assert that input is odd and greater
14151 than 4. Note that fact in a comment too.
14152 (next_prime): Add 4 to input.
14153
de2fd463
SP
141542012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14155
14156 [BZ #11741]
14157 * libio/Makefile (tests): Add test case tst-fwrite-error.
14158 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
14159 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
14160 * libio/tst-fwrite-error.c: New test case.
14161
c515fb51
L
141622012-11-26 H.J. Lu <hongjiu.lu@intel.com>
14163
14164 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
14165 before casting to void *.
14166 * include/libc-internal.h (__pointer_type): New macro.
14167 (__integer_if_pointer_type_sub): Likewise.
14168 (__integer_if_pointer_type): Likewise.
14169 (cast_to_integer): Likewise.
14170 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
14171 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
14172 before casting to atomic64_t.
14173 (atomic_exchange_acq): Likewise.
14174 (__arch_exchange_and_add_body): Likewise.
14175 (__arch_add_body): Likewise.
14176 (atomic_add_negative): Likewise.
14177 (atomic_add_zero): Likewise.
14178
4cf77aa9
JM
141792012-11-26 Joseph Myers <joseph@codesourcery.com>
14180
14181 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
14182 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
14183 (add_fdes): Likewise.
14184 (linear_search_fdes): Likewise.
14185 (binary_search_unencoded_fdes): Likewise.
14186
d260b3b4
AS
141872012-11-26 Andreas Schwab <schwab@linux-m68k.org>
14188
14189 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
14190
67060746
AC
141912012-11-24 Adam Conrad <adconrad@0c3.net>
14192
14193 * configure.in: Autodetect C++ header directories.
14194 * configure: Regenerated.
14195
800938a1
MF
141962012-11-23 Mike Frysinger <vapier@gentoo.org>
14197
14198 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
14199
4e6e34e6
AS
142002012-11-23 Andreas Schwab <schwab@linux-m68k.org>
14201
14202 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14203
7c7feb47
JM
142042012-11-22 Joseph Myers <joseph@codesourcery.com>
14205
7184dcdf
JM
14206 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
14207 LDBL_MANT_DIG == 106]: Disable some tests.
14208 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14209 Likewise.
14210 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14211 Likewise.
14212
0a42601f
JM
14213 [BZ #14871]
14214 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
14215 input for small inputs. Return +/- pi/2 for large inputs.
14216 * math/libm-test.inc (atan_test): Add more tests.
14217
79c9b9fe
JM
14218 * sysdeps/generic/unwind-dw2-fde-glibc.c
14219 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
14220 __attribute__ ((unused)).
14221
c60d3bf2
JM
14222 [BZ #14645]
14223 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
14224 x * y if x and y are nonzero and z is zero.
14225
ef1e0867
JM
14226 [BZ #14811]
14227 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
14228 nonzero exponents with absolute value below 0x1p-117 to +/-
14229 0x1p-117.
14230
1468ded3
JM
14231 [BZ #14869]
14232 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
14233 up arguments below 2**-450, not just those below 2**-500.
14234 * math/libm-test.inc (hypot_test): Add another test.
14235
8e27e3cc
JM
14236 [BZ #14868]
14237 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14238 Return a+b for ratio over 2**120, not 2**60.
14239 * math/libm-test.inc (hypot_test): Add another test.
14240
c9c0279b
JM
14241 * math/libm-test.inc (clog_test): Use
14242 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
14243 (clog10_test): Likewise.
14244
7c7feb47
JM
14245 [BZ #6778]
14246 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
14247
fff1530e
AS
142482012-11-22 Andreas Schwab <schwab@suse.de>
14249
14250 * sysdeps/i386/fpu/libm-test-ulps: Update.
14251
94558d30
PT
142522012-11-22 Pino Toscano <toscano.pino@tiscali.it>
14253
14254 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
14255 printf output with newline.
14256
7e1be741
L
142572012-11-21 H.J. Lu <hongjiu.lu@intel.com>
14258
6bfea974
L
14259 [BZ #14865]
14260 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
14261 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
14262 -z nodlopen, -z initfirst and -z execstack support.
14263 * configure: Regenerated.
14264
7e1be741
L
14265 * elf/elf.h (DF_1_NODIRECT): New macro.
14266 (DF_1_IGNMULDEF): Likewise.
14267 (DF_1_NOKSYMS): Likewise.
14268 (DF_1_NOHDR): Likewise.
14269 (DF_1_EDITED): Likewise.
14270 (DF_1_NORELOC): Likewise.
14271 (DF_1_SYMINTPOSE): Likewise.
14272 (DF_1_GLOBAUDIT): Likewise.
14273 (DF_1_SINGLETON): Likewise.
14274 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
14275 DT_1_SUPPORTED_MASK bits.
14276 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
14277
105ce2ce
CD
142782012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
14279
14280 * sysdeps/unix/make-syscalls.sh: Document prefixes.
14281
123be9de
TS
142822012-11-20 Thomas Schwinge <thomas@codesourcery.com>
14283
d072f3f7
TS
14284 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
14285 macro.
14286
123be9de
TS
14287 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
14288 (sendmmsg): Move declarations...
14289 * socket/sys/socket.h: ... here.
14290 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
14291 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
14292 include it from...
14293 * socket/recvmmsg.c: ... this new file.
14294 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
14295 (sendmmsg): Rename to __sendmmsg, create weak alias and make
14296 definition of __sendmmsg hidden.
14297 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
14298 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
14299 Move ENOSYS stub into and include it from...
14300 * socket/sendmmsg.c: ... this new file.
14301 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
14302 (sysdep_routines): Move recvmmsg and sendmmsg...
14303 * socket/Makefile (routines): ... here.
14304 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
14305 (GLIBC_PRIVATE): Add __sendmmsg.
14306 * include/sys/socket.h (__sendmmsg): Add declarations.
14307 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
14308 sendmmsg.
14309
cf9a5d18
JM
143102012-11-20 Joseph Myers <joseph@codesourcery.com>
14311
14312 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
14313 variable I1 with __attribute__ ((unused)).
14314 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14315
ecd4caf9
JM
143162012-11-19 Joseph Myers <joseph@codesourcery.com>
14317
be14d48f
JM
14318 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
14319 DUMMY variables with __attribute__ ((unused)).
14320
ecd4caf9
JM
14321 * bits/byteswap.h: Include <bits/types.h>.
14322 (__bswap_64): Use __uint64_t instead of unsigned long long int.
14323
986cab95
PT
143242012-11-19 Pino Toscano <toscano.pino@tiscali.it>
14325
14326 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
14327 string_t. Do not manually set errno.
14328 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
14329 length with __strnlen. Make sure to both set errno and return it on
14330 failure.
14331
6d33cc9d
DM
143322012-11-19 David S. Miller <davem@davemloft.net>
14333
14334 With help from Joseph Myers.
14335 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
14336 very large arguments properly.
14337 * math/libm-test.inc (atan_test): New tests.
14338 (atan2_test): New tests.
14339 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14340 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14341
ee663277
JM
143422012-11-19 Joseph Myers <joseph@codesourcery.com>
14343
877f2d8e
JM
14344 [BZ #14856]
14345 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
14346 Define to 3.
14347
116fc08a
JM
14348 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
14349 [POSIX] (EADDRNOTAVAIL): Likewise.
14350 [POSIX] (EAFNOSUPPORT): Likewise.
14351 [POSIX] (EALREADY): Likewise.
14352 [POSIX] (ECONNABORTED): Likewise.
14353 [POSIX] (ECONNREFUSED): Likewise.
14354 [POSIX] (ECONNRESET): Likewise.
14355 [POSIX] (EDESTADDRREQ): Likewise.
14356 [POSIX] (EDQUOT): Likewise.
14357 [POSIX] (EHOSTUNREACH): Likewise.
14358 [POSIX] (EIDRM): Likewise.
14359 [POSIX] (EISCONN): Likewise.
14360 [POSIX] (ELOOP): Likewise.
14361 [POSIX] (EMULTIHOP): Likewise.
14362 [POSIX] (ENETDOWN): Likewise.
14363 [POSIX] (ENETUNREACH): Likewise.
14364 [POSIX] (ENOBUFS): Likewise.
14365 [POSIX] (ENODATA): Likewise.
14366 [POSIX] (ENOLINK): Likewise.
14367 [POSIX] (ENOMSG): Likewise.
14368 [POSIX] (ENOPROTOOPT): Likewise.
14369 [POSIX] (ENOSR): Likewise.
14370 [POSIX] (ENOSTR): Likewise.
14371 [POSIX] (ENOTCONN): Likewise.
14372 [POSIX] (ENOTSOCK): Likewise.
14373 [POSIX] (EOPNOTSUPP): Likewise.
14374 [POSIX] (EOVERFLOW): Likewise.
14375 [POSIX] (EPROTO): Likewise.
14376 [POSIX] (EPROTONOSUPPORT): Likewise.
14377 [POSIX] (EPROTOTYPE): Likewise.
14378 [POSIX] (ESTALE): Likewise.
14379 [POSIX] (ETIME): Likewise.
14380 [POSIX] (ETXTBSY): Likewise.
14381 [POSIX] (EWOULDBLOCK): Likewise.
14382 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
14383 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
14384 [POSIX] (SEEK_CUR): Likewise.
14385 [POSIX] (SEEK_END): Likewise.
14386 [POSIX || UNIX98] (mode_t): Do not require.
14387 [POSIX] (off_t): Likewise.
14388 [POSIX] (pid_t): Likewise.
14389 [POSIX] (sys/stat.h): Do not allow header.
14390 [POSIX] (unistd.h): Likewise.
14391 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
14392 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
14393 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
14394 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
14395 require.
14396 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
14397 sigevent): Specify elements.
14398 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
14399 entry.
14400 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
14401 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
14402
a483863f
JM
14403 * conform/data/cpio.h-data [POSIX]: Disable whole file.
14404 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
14405 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
14406 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
14407 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
14408 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
14409 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
14410 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
14411 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
14412 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
14413 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
14414 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
14415 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
14416 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
14417 Likewise.
14418 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
14419 Likewise.
14420 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
14421 Likewise.
14422 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
14423 Likewise.
14424 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
14425 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
14426 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
14427 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
14428 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
14429 Specify lower bound on value.
14430 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
14431 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
14432 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
14433 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
14434 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
14435 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
14436 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
14437 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
14438 value.
14439 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
14440 as optional.
14441 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
14442 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
14443 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
14444 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
14445 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
14446 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
14447 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
14448 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
14449 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
14450 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
14451 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
14452 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
14453 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
14454 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
14455 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
14456 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
14457 entry.
14458 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
14459 optional.
14460 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
14461 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
14462 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
14463 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
14464 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
14465 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
14466 Likewise.
14467 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
14468 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
14469 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
14470 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
14471 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
14472 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
14473 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
14474 as optional.
14475 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
14476 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
14477 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
14478 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
14479 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
14480 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
14481 specify as optional.
14482 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
14483 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
14484 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
14485 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
14486 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
14487 [XPG3] (NL_LANGMAX): Likewise.
14488 [POSIX || XPG3] (NL_MSGMAX): Likewise.
14489 [POSIX || XPG3] (NL_NMAX): Likewise.
14490 [POSIX || XPG3] (NL_SETMAX): Likewise.
14491 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
14492 [XPG3] (NZERO): Likewise.
14493 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
14494 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
14495 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
14496 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
14497 (REG_ERANGE): Expect.
14498 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
14499 optional-constant.
14500 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
14501 Use (void) in prototype.
14502 [POSIX] (*_t): Allow.
14503 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
14504 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
14505 (WRDE_BADVAL): Expect.
14506
5ba924e3
JM
14507 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
14508 expect.
14509 [XPG3 || XPG4] (O_RSYNC): Likewise.
14510 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
14511 Likewise.
14512 [XPG3 || XPG4] (pthread_sigmask): Likewise.
14513 [XPG3 || XPG4] (sigqueue): Likewise.
14514 [XPG3 || XPG4] (sigtimedwait): Likewise.
14515 [XPG3 || XPG4] (sigwaitinfo): Likewise.
14516 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
14517 [XPG3 || XPG4] (vsnprintf): Likewise.
14518 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
14519 Likewise.
14520 [XPG3 || XPG4] (blksize_t): Likewise.
14521 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
14522 Likewise.
14523 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
14524 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
14525 [XPG3 || XPG4] (struct itimerspec): Likewise.
14526 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
14527 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
14528 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
14529 [XPG3 || XPG4] (clockid_t): Likewise.
14530 [XPG3 || XPG4] (timer_t): Likewise.
14531 [XPG3 || XPG4] (clock_getres): Likewise.
14532 [XPG3 || XPG4] (clock_gettime): Likewise.
14533 [XPG3 || XPG4] (clock_settime): Likewise.
14534 [XPG3 || XPG4] (nanosleep): Likewise.
14535 [XPG3 || XPG4] (timer_create): Likewise.
14536 [XPG3 || XPG4] (timer_delete): Likewise.
14537 [XPG3 || XPG4] (timer_gettime): Likewise.
14538 [XPG3 || XPG4] (timer_getoverrun): Likewise.
14539 [XPG3 || XPG4] (timer_settime): Likewise.
14540 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
14541 [XPG3 || XPG4] (getlogin_r): Likewise.
14542 [XPG3 || XPG4] (pread): Likewise.
14543 [XPG3 || XPG4] (pthread_atfork): Likewise.
14544 [XPG3 || XPG4] (pwrite): Likewise.
14545
ee663277
JM
14546 [BZ #14835]
14547 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
14548 <bits/siginfo.h>.
14549
942caa16
PT
145502012-11-19 Pino Toscano <toscano.pino@tiscali.it>
14551
e19af380
PT
14552 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
14553 finalizing MALLSTREAM.
14554
942caa16
PT
14555 * sysdeps/mach/hurd/syncfs.c: New file.
14556
cfde9b46
SP
145572012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14558
14559 [BZ #14719]
14560 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
14561 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
14562 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
14563 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
14564 (_nss_dns_gethostbyname4_r): Likewise.
14565 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
14566 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
14567
f6da27e5
PH
145682012-11-19 Peng Haitao <penght@cn.fujitsu.com>
14569
14570 [BZ #13763]
14571 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
14572
6665d4a2
SM
145732012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
14574
1f51ee92
SM
14575 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
14576 * elf/cache.c (print_entry): Print ",AArch64" for
14577 FLAG_AARCH64_LIB64
14578
6665d4a2
SM
14579 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
14580 * elf/cache.c (print_entry): Print ",hard-float" for
14581 FLAG_ARM_LIBHF.
14582
05b227bd
DM
145832012-11-18 David S. Miller <davem@davemloft.net>
14584
14585 With help from Joseph Myers.
14586 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
14587 cutoff to 2**-13.
14588 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
14589 cutoff to 2**-25.
14590 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
14591 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
14592 small.
14593 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
14594 * math/libm-test.inc (y0_test): New tests.
14595 (y1_test): New tests.
14596 * sysdeps/i386/fpu/libm-test-ulps: Update.
14597 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14598 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14599
786b0b67
AS
146002012-11-18 Andreas Schwab <schwab@linux-m68k.org>
14601
14602 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
14603 64-bit targets.
14604 * configure: Regenerated.
14605
8e18b86d
DM
146062012-11-17 David S. Miller <davem@davemloft.net>
14607
14608 [BZ #14811]
14609 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
14610 nonzero exponents with absolute value below 0x1p-128 to +/-
14611 0x1p-128.
14612
531f1ae0
JM
146132012-11-17 Joseph Myers <joseph@codesourcery.com>
14614
12df29e2
JM
14615 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
14616
150dc1a0
JM
14617 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
14618
531f1ae0
JM
14619 * posix/getconf-speclist.c: New file.
14620 * posix/posix-envs.def: Likewise.
14621 * posix/confstr.c (START_ENV_GROUP): New macro.
14622 (END_ENV_GROUP): Likewise.
14623 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14624 (KNOWN_PRESENT_ENV_STRING): Likewise.
14625 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14626 (UNKNOWN_ENVIRONMENT): Likewise.
14627 (confstr): Include posix-envs.def instead of handling
14628 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
14629 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
14630 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
14631 (END_ENV_GROUP): Likewise.
14632 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14633 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14634 (UNKNOWN_ENVIRONMENT): Likewise.
14635 (__sysconf): Include posix-envs.def instead of handling associated
14636 cases directly here.
14637 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
14638 preprocessing getconf-speclist.c rather than running getconf or
14639 generating empty file.
14640
a93f9cbc
PT
146412012-11-16 Pino Toscano <toscano.pino@tiscali.it>
14642
14643 * scripts/check-local-headers.sh: Ignore 'mach' headers.
14644
d64d9f87
AL
146452012-11-16 Andrej Lajovic <natrij@gmail.com>
14646
14647 [BZ #14672]
14648 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
14649
447885eb
DM
146502012-11-16 David S. Miller <davem@davemloft.net>
14651
14652 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
14653 smaller than LDBL_EPSILON/2.0L, just return xm1.
14654
bcbf9830
L
146552012-11-16 H.J. Lu <hongjiu.lu@intel.com>
14656
14657 * elf/tst-array1.c (init): Set constructor priority to 1000.
14658 (fini): Set destructor priority to 1000.
14659 * elf/tst-array2dep.c: Likewise.
14660
2b766585
SP
146612012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14662
14663 [BZ #11741]
14664 * libio/fileops.c (_IO_new_file_write): Correctly return error.
14665 (_IO_new_file_xsputn): Also return EOF if none of the input
14666 data was written when overflow failed.
14667 * libio/iopadn.c (_IO_padn): Likewise.
14668 * libio/iowpadn.c (_IO_wpadn): Likewise.
14669 * stdio-common/tst-put-error.c: Add copyright notice.
14670 (do_test): Add case for printing padded string.
14671 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
14672 _IO_padn returned error.
14673 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
14674 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
14675 return EOF.
14676
b1848fde
SP
146772012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14678
14679 * libio/libioP.h: Add comment note that the references to C++
14680 bits are now obsolete.
14681
2fd89785
MS
146822012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14683
14684 * math/libm-test.inc (check_complex): Use asprintf.
14685
e3ea5409
JM
146862012-11-14 Joseph Myers <joseph@codesourcery.com>
14687
14688 * debug/pcprofiledump.c (print_version): Update copyright year.
14689 * malloc/memusagestat.c (print_version): Likewise.
14690
2e64d265
L
146912012-11-14 H.J. Lu <hongjiu.lu@intel.com>
14692
14693 [BZ #14831]
14694 * elf/Makefile (tests): Add tst-audit8.
14695 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
14696 ($(objpfx)tst-audit8.out): New target.
14697 (tst-audit8-ENV): New variable.
14698 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
14699 audit if l_reloc_result is NULL.
14700 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
14701 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
14702 * elf/tst-audit8.c: New file.
14703
c485e4d2
MS
147042012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14705
14706 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
14707 * misc/Makefile (CFLAGS-select.c): Define.
14708 * posix/Makefile (CFLAGS-pause.c): Define.
14709
3a0d900a
DM
147102012-11-13 David S. Miller <davem@davemloft.net>
14711
14712 * crypt/Makefile: Move test targets after toplevel Rules
14713 inclusion. Grab any necessary sysdep routines when linking.
14714 * crypt/md5.c (md5_process_block): Remove define, we will always
14715 name it __md5_process_block.
14716 (md5_finish_ctx): Update md5_process_block call.
14717 (md5_stream): Likewise.
14718 (md5_process_bytes): Likewise.
14719 (md5_process_block): Rename to __md5_process_block and move to ...
14720 * crypt/md5-block.c: ... here.
14721 * crypt/sha256.c (sha256_process_block): Move to ...
14722 * crypt/sha256-block.c: ... here.
14723 * crypt/sha512.c (sha512_process_block): Move to ...
14724 * crypt/sha512-block.c: ... here.
14725 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
14726 path.
14727 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
14728 * sysdeps/sparc/sparc64/multiarch/Makefile
14729 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
14730 crypt subdir.
14731 (localedef-aux): Add md5 crypto assembler when in locale subdir.
14732 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
14733 multiarch changes.
14734 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
14735 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
14736 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
14737 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
14738 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
14739 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
14740 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
14741 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
14742 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
14743 file.
14744 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
14745 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
14746 file.
14747 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
14748
8ca89318
JM
147492012-11-13 Joseph Myers <joseph@codesourcery.com>
14750
e27d476a
JM
14751 * timezone/tzselect.ksh: Update from tzcode git revision
14752 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
14753 * timezone/zdump.c: Likewise.
14754 * timezone/zic.c: Likewise.
14755 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
14756 in TZVERSION setting, not $(PKGVERSION).
14757 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
14758 REPORT_BUGS_TO settings.
14759
8ca89318
JM
14760 [BZ #14838]
14761 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
14762 macro.
14763
47594329
MS
147642012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14765
14766 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
14767 detection to immediately after _FP_ROUND().
14768 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
14769 bits are 0.
14770
640ac3f1
DM
147712012-11-11 David S. Miller <davem@davemloft.net>
14772
14773 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
14774 inttypes.h
14775 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
14776 __close rather than their public counterparts.
14777
3d2577bb
JM
147782012-11-10 Joseph Myers <joseph@codesourcery.com>
14779
14780 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
14781 file.
14782 [UNIX98] (sem_timedwait): Do not expect.
14783 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
14784 [XPG4 || UNIX98] (sockatmark): Do not expect.
14785 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
14786 (clock_getcpuclockid): Do not expect.
14787 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
14788 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
14789 Do not expect.
14790 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
14791 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
14792 [UNIX98] (vwscanf): Likewise.
14793 [UNIX98] (vswscanf): Likewise.
14794
fb1ae1ee
JM
147952012-11-09 Joseph Myers <joseph@codesourcery.com>
14796
9ec6f8bd
JM
14797 * timezone/version.h: Remove file.
14798 * timezone/README: Do not refer to version.h.
14799 * timezone/Makefile ($(objpfx)zic.o): New dependency on
14800 $(objpfx)version.h.
14801 ($(objpfx)zdump.o): Likewise.
c3f81911 14802 ($(objpfx)version.h): New target.
9ec6f8bd 14803
0aa8f8a1
JM
14804 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
14805 2012i.
14806 * timezone/README: Don't mention modification to tzselect.ksh.
14807 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
14808 work on unmodified tzselect.ksh. Substitute version numbers in
14809 tzselect.ksh.
14810
4e87147f
JM
14811 * Makefile (format-me): Remove.
14812 (INSTALL): Adjust indentation. Use commands directly instead of
14813 using $(format-me).
14814
8b748aed
JM
14815 * aclocal.m4 (ACX_PKGVERSION): New macro.
14816 (ACX_BUGURL): Likewise.
14817 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
14818 (PKGVERSION): New AC_DEFINE_UNQUOTED.
14819 (REPORT_BUGS_TO): Likewise.
14820 * configure: Regenerated.
14821 * config.h.in (PKGVERSION): New macro.
14822 (REPORT_BUGS_TO): Likewise.
14823 * config.make.in (PKGVERSION): New variable.
14824 (PKGVERSION_TEXI): Likewise.
14825 (REPORT_BUGS_TO): Likewise.
14826 (REPORT_BUGS_TEXI): Likewise.
14827 * Makefile (format-me): Use -I$(common-objpfx)manual.
14828 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
14829 ($(common-objpfx)manual/%): New target.
14830 (manual/%): Remove target.
14831 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
14832 (print_version): Use PKGVERSION.
14833 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
14834 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
14835 and REPORT_BUGS_TO.
14836 ($(objpfx)xtrace): Likewise.
14837 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
14838 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
14839 (print_version): Use PKGVERSION.
14840 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
14841 (do_version): Use PKGVERSION.
14842 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
14843 REPORT_BUGS_TO.
14844 (common-ldd-rewrite): Likewise.
14845 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
14846 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
14847 (print_version): Use PKGVERSION.
14848 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
14849 * elf/pldd.c (argp_program_bug_address): Remove variable.
14850 (more_help): New function.
14851 (argp): Use more_help.
14852 (print_version): Use PKGVERSION.
14853 * elf/sln.c (main): Use PKGVERSION.
14854 (usage): Use REPORT_BUGS_TO.
14855 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
14856 (top level): Use PKGVERSION.
14857 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
14858 (print_version): Use PKGVERSION.
14859 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
14860 (print_version): Use PKGVERSION.
14861 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
14862 (print_version): Use PKGVERSION.
14863 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
14864 (print_version): Use PKGVERSION.
14865 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
14866 (print_version): Use PKGVERSION.
14867 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
14868 (print_version): Use PKGVERSION.
14869 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
14870 and BUGURL.
14871 ($(objpfx)memusage): Likewise.
14872 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
14873 (do_version): Use PKGVERSION.
14874 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
14875 (print_version): Use PKGVERSION.
14876 * malloc/mtrace.pl ($PACKAGE): Remove variable.
14877 ($PKGVERSION): New variable.
14878 ($REPORT_BUGS_TO): Likewise.
14879 (usage): Use $REPORT_BUGS_TO.
14880 (top level): Use $PKGVERSION.
14881 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
14882 ($(objpfx)pkgvers.texi): New rule.
14883 ($(objpfx)stamp-pkgvers): Likewise.
14884 * manual/install.texi: Include pkgvers.texi.
14885 (--with-pkgversion): Document new configure option.
14886 (--with-bugurl): Likewise.
14887 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
14888 than necessarily for this particular distribution. Use
14889 REPORT_BUGS_TO for where to report bugs.
14890 * INSTALL: Regenerated.
14891 * manual/libc.texinfo: Include pkgvers.texi.
14892 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
14893 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
14894 (print_version): Use PKGVERSION.
14895 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
14896 (print_version): Use PKGVERSION.
14897 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
14898 (print_version): Use PKGVERSION.
14899 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
14900 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
14901 macro.
14902 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
14903 (print_version): Use PKGVERSION.
14904 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
14905 (print_version): Use PKGVERSION.
14906 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
14907 and PKGVERSION.
14908
92e4b6a9
JM
14909 * timezone/checktab.awk: Update from tzcode 2012i.
14910 * timezone/ialloc.c: Likewise.
14911 * timezone/private.h: Likewise.
14912 * timezone/scheck.c: Likewise.
14913 * timezone/tzfile.h: Likewise.
14914 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
14915 (TZVERSION): Hardcode tzcode version number.
14916 * timezone/zdump.c: Update from tzcode 2012i.
14917 * timezone/zic.c: Likewise.
14918 * timezone/version.h: New file.
14919 * timezone/README: Describe version.h. Update upstream location.
14920
9bde902c
JM
14921 [BZ #14824]
14922 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
14923 (mktemp): Enable declaration.
14924 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
14925 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
14926 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
14927 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
14928 Likewise.
14929 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
14930 Likewise.
14931 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
14932 Likewise.
14933 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
14934 Likewise.
14935 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
14936 Likewise.
14937 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
14938 Likewise.
14939
fb1ae1ee
JM
14940 [BZ #14821]
14941 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
14942 offset in buffer as u_int32_t not u_long. Consistently use memcpy
14943 for copies of such integer values.
14944 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14945 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14946
2c1adbcb
AJ
149472012-11-09 Andreas Jaeger <aj@suse.de>
14948
14949 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
14950 definitions and declarations that are provided by
14951 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14952
d0f8457e
AK
149532012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14954
3a235abb 14955 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
14956 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
14957 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
14958 definition.
14959
57241e26
MS
149602012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14961
14962 * elf/elf.h: Update comment before AArch64 relocations.
14963
60e8270d
DM
149642012-11-07 David S. Miller <davem@davemloft.net>
14965
14966 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
14967 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14968 (__start_context): Declare.
14969 (__makecontext_ret): Delete.
14970 (__makecontext): Hook up __start_context instead of
14971 __makecontext_ret.
14972 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
14973 (sysdep_routines): Add __start_context when in stdlib.
14974
0fbb0fbc
JM
149752012-11-07 Joseph Myers <joseph@codesourcery.com>
14976
14977 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
14978 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
14979 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
14980 hardcoded "nm".
14981 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
14982 (READELF): New variable. Use it instead of hardcoded "readelf".
14983
eb48db7e
L
149842012-11-07 H.J. Lu <hongjiu.lu@intel.com>
14985
14986 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
14987 * sysdeps/x86/Makefile: Here.
14988 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
14989 * sysdeps/x86/tst-xmmymm.sh: This.
14990
05bcf62a
JM
149912012-11-07 Joseph Myers <joseph@codesourcery.com>
14992
c4b6cf53
JM
14993 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
14994 expectations.
14995 [UNIX98] (pthread_barrier_t): Do not expect.
14996 [UNIX98] (pthread_barrierattr_t): Likewise.
14997 [UNIX98] (pthread_spinlock_t): Likewise.
14998 [UNIX98] (pthread_barrier_destroy): Likewise.
14999 [UNIX98] (pthread_barrier_init): Likewise.
15000 [UNIX98] (pthread_barrier_wait): Likewise.
15001 [UNIX98] (pthread_barrierattr_destroy): Likewise.
15002 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
15003 [UNIX98] (pthread_barrierattr_init): Likewise.
15004 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
15005 [UNIX98] (pthread_getcpuclockid): Likewise.
15006 [UNIX98] (pthread_mutex_timedlock): Likewise.
15007 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
15008 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
15009 [UNIX98] (pthread_sigmask): Likewise.
15010 [UNIX98] (pthread_spin_destroy): Likewise.
15011 [UNIX98] (pthread_spin_init): Likewise.
15012 [UNIX98] (pthread_spin_lock): Likewise.
15013 [UNIX98] (pthread_spin_trylock): Likewise.
15014 [UNIX98] (pthread_spin_unlock): Likewise.
15015 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
15016 Do not expect.
15017 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
15018 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
15019 [XPG3 || XPG4] (pthread_cond_t): Likewise.
15020 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
15021 [XPG3 || XPG4] (pthread_key_t): Likewise.
15022 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
15023 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
15024 [XPG3 || XPG4] (pthread_once_t): Likewise.
15025 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
15026 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
15027 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
15028 [XPG3 || XPG4] (pthread_t): Likewise.
15029
cbe6e120
JM
15030 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
15031 not expect.
15032 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
15033
1b126443
JM
15034 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
15035 Change function return type to int.
15036
b961a573
JM
15037 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
15038 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
15039 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
15040 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
15041 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
15042 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
15043 [!POSIX] (posix_madvise): Likewise.
15044 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
15045 && !UNIX98].
15046 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
15047 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
15048 (mode_t): Likewise.
15049 (posix_mem_offset): Likewise.
15050 (posix_typed_mem_get_info): Likewise.
15051 (posix_typed_mem_open): Likewise.
15052
9e188909
JM
15053 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
15054 Change condition to [XOPEN2K8].
15055
05bcf62a
JM
15056 * conform/conformtest.pl: Preprocess allow-header data with -x c
15057 instead of from stdin.
15058 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
15059 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
15060 [C99-based standards] (cerfc): Likewise.
15061 [C99-based standards] (cexp2): Likewise.
15062 [C99-based standards] (cexpm1): Likewise.
15063 [C99-based standards] (clog10): Likewise.
15064 [C99-based standards] (clog1p): Likewise.
15065 [C99-based standards] (clog2): Likewise.
15066 [C99-based standards] (clgamma): Likewise.
15067 [C99-based standards] (ctgamma): Likewise.
15068 [C99-based standards] (cerff): Likewise.
15069 [C99-based standards] (cerfcf): Likewise.
15070 [C99-based standards] (cexp2f): Likewise.
15071 [C99-based standards] (cexpm1f): Likewise.
15072 [C99-based standards] (clog10f): Likewise.
15073 [C99-based standards] (clog1pf): Likewise.
15074 [C99-based standards] (clog2f): Likewise.
15075 [C99-based standards] (clgammaf): Likewise.
15076 [C99-based standards] (ctgammaf): Likewise.
15077 [C99-based standards] (cerfl): Likewise.
15078 [C99-based standards] (cerfcl): Likewise.
15079 [C99-based standards] (cexp2l): Likewise.
15080 [C99-based standards] (cexpm1l): Likewise.
15081 [C99-based standards] (clog10l): Likewise.
15082 [C99-based standards] (clog1pl): Likewise.
15083 [C99-based standards] (clog2l): Likewise.
15084 [C99-based standards] (clgammal): Likewise.
15085 [C99-based standards] (ctgammal): Likewise.
15086 * conform/data/inttypes.h-data [C99-based standards]: Include
15087 stdint.h-data. Remove all expectations for stdint.h contents.
15088 [C99-based standards] (PRI*): Do not allow.
15089 [C99-based standards] (SCN*): Likewise.
15090 [C99-based standards] (*_t): Likewise.
15091 [C99-based-standards] (PRId8): Expect macro.
15092 [C99-based-standards] (PRIi8): Likewise.
15093 [C99-based-standards] (PRIo8): Likewise.
15094 [C99-based-standards] (PRIu8): Likewise.
15095 [C99-based-standards] (PRIx8): Likewise.
15096 [C99-based-standards] (PRIX8): Likewise.
15097 [C99-based-standards] (SCNd8): Likewise.
15098 [C99-based-standards] (SCNi8): Likewise.
15099 [C99-based-standards] (SCNo8): Likewise.
15100 [C99-based-standards] (SCNu8): Likewise.
15101 [C99-based-standards] (SCNx8): Likewise.
15102 [C99-based-standards] (PRIdLEAST8): Likewise.
15103 [C99-based-standards] (PRIiLEAST8): Likewise.
15104 [C99-based-standards] (PRIoLEAST8): Likewise.
15105 [C99-based-standards] (PRIuLEAST8): Likewise.
15106 [C99-based-standards] (PRIxLEAST8): Likewise.
15107 [C99-based-standards] (PRIXLEAST8): Likewise.
15108 [C99-based-standards] (SCNdLEAST8): Likewise.
15109 [C99-based-standards] (SCNiLEAST8): Likewise.
15110 [C99-based-standards] (SCNoLEAST8): Likewise.
15111 [C99-based-standards] (SCNuLEAST8): Likewise.
15112 [C99-based-standards] (SCNxLEAST8): Likewise.
15113 [C99-based-standards] (PRIdFAST8): Likewise.
15114 [C99-based-standards] (PRIiFAST8): Likewise.
15115 [C99-based-standards] (PRIoFAST8): Likewise.
15116 [C99-based-standards] (PRIuFAST8): Likewise.
15117 [C99-based-standards] (PRIxFAST8): Likewise.
15118 [C99-based-standards] (PRIXFAST8): Likewise.
15119 [C99-based-standards] (SCNdFAST8): Likewise.
15120 [C99-based-standards] (SCNiFAST8): Likewise.
15121 [C99-based-standards] (SCNoFAST8): Likewise.
15122 [C99-based-standards] (SCNuFAST8): Likewise.
15123 [C99-based-standards] (SCNxFAST8): Likewise.
15124 [C99-based-standards] (PRId16): Likewise.
15125 [C99-based-standards] (PRIi16): Likewise.
15126 [C99-based-standards] (PRIo16): Likewise.
15127 [C99-based-standards] (PRIu16): Likewise.
15128 [C99-based-standards] (PRIx16): Likewise.
15129 [C99-based-standards] (PRIX16): Likewise.
15130 [C99-based-standards] (SCNd16): Likewise.
15131 [C99-based-standards] (SCNi16): Likewise.
15132 [C99-based-standards] (SCNo16): Likewise.
15133 [C99-based-standards] (SCNu16): Likewise.
15134 [C99-based-standards] (SCNx16): Likewise.
15135 [C99-based-standards] (PRIdLEAST16): Likewise.
15136 [C99-based-standards] (PRIiLEAST16): Likewise.
15137 [C99-based-standards] (PRIoLEAST16): Likewise.
15138 [C99-based-standards] (PRIuLEAST16): Likewise.
15139 [C99-based-standards] (PRIxLEAST16): Likewise.
15140 [C99-based-standards] (PRIXLEAST16): Likewise.
15141 [C99-based-standards] (SCNdLEAST16): Likewise.
15142 [C99-based-standards] (SCNiLEAST16): Likewise.
15143 [C99-based-standards] (SCNoLEAST16): Likewise.
15144 [C99-based-standards] (SCNuLEAST16): Likewise.
15145 [C99-based-standards] (SCNxLEAST16): Likewise.
15146 [C99-based-standards] (PRIdFAST16): Likewise.
15147 [C99-based-standards] (PRIiFAST16): Likewise.
15148 [C99-based-standards] (PRIoFAST16): Likewise.
15149 [C99-based-standards] (PRIuFAST16): Likewise.
15150 [C99-based-standards] (PRIxFAST16): Likewise.
15151 [C99-based-standards] (PRIXFAST16): Likewise.
15152 [C99-based-standards] (SCNdFAST16): Likewise.
15153 [C99-based-standards] (SCNiFAST16): Likewise.
15154 [C99-based-standards] (SCNoFAST16): Likewise.
15155 [C99-based-standards] (SCNuFAST16): Likewise.
15156 [C99-based-standards] (SCNxFAST16): Likewise.
15157 [C99-based-standards] (PRId32): Likewise.
15158 [C99-based-standards] (PRIi32): Likewise.
15159 [C99-based-standards] (PRIo32): Likewise.
15160 [C99-based-standards] (PRIu32): Likewise.
15161 [C99-based-standards] (PRIx32): Likewise.
15162 [C99-based-standards] (PRIX32): Likewise.
15163 [C99-based-standards] (SCNd32): Likewise.
15164 [C99-based-standards] (SCNi32): Likewise.
15165 [C99-based-standards] (SCNo32): Likewise.
15166 [C99-based-standards] (SCNu32): Likewise.
15167 [C99-based-standards] (SCNx32): Likewise.
15168 [C99-based-standards] (PRIdLEAST32): Likewise.
15169 [C99-based-standards] (PRIiLEAST32): Likewise.
15170 [C99-based-standards] (PRIoLEAST32): Likewise.
15171 [C99-based-standards] (PRIuLEAST32): Likewise.
15172 [C99-based-standards] (PRIxLEAST32): Likewise.
15173 [C99-based-standards] (PRIXLEAST32): Likewise.
15174 [C99-based-standards] (SCNdLEAST32): Likewise.
15175 [C99-based-standards] (SCNiLEAST32): Likewise.
15176 [C99-based-standards] (SCNoLEAST32): Likewise.
15177 [C99-based-standards] (SCNuLEAST32): Likewise.
15178 [C99-based-standards] (SCNxLEAST32): Likewise.
15179 [C99-based-standards] (PRIdFAST32): Likewise.
15180 [C99-based-standards] (PRIiFAST32): Likewise.
15181 [C99-based-standards] (PRIoFAST32): Likewise.
15182 [C99-based-standards] (PRIuFAST32): Likewise.
15183 [C99-based-standards] (PRIxFAST32): Likewise.
15184 [C99-based-standards] (PRIXFAST32): Likewise.
15185 [C99-based-standards] (SCNdFAST32): Likewise.
15186 [C99-based-standards] (SCNiFAST32): Likewise.
15187 [C99-based-standards] (SCNoFAST32): Likewise.
15188 [C99-based-standards] (SCNuFAST32): Likewise.
15189 [C99-based-standards] (SCNxFAST32): Likewise.
15190 [C99-based-standards] (PRId64): Likewise.
15191 [C99-based-standards] (PRIi64): Likewise.
15192 [C99-based-standards] (PRIo64): Likewise.
15193 [C99-based-standards] (PRIu64): Likewise.
15194 [C99-based-standards] (PRIx64): Likewise.
15195 [C99-based-standards] (PRIX64): Likewise.
15196 [C99-based-standards] (SCNd64): Likewise.
15197 [C99-based-standards] (SCNi64): Likewise.
15198 [C99-based-standards] (SCNo64): Likewise.
15199 [C99-based-standards] (SCNu64): Likewise.
15200 [C99-based-standards] (SCNx64): Likewise.
15201 [C99-based-standards] (PRIdLEAST64): Likewise.
15202 [C99-based-standards] (PRIiLEAST64): Likewise.
15203 [C99-based-standards] (PRIoLEAST64): Likewise.
15204 [C99-based-standards] (PRIuLEAST64): Likewise.
15205 [C99-based-standards] (PRIxLEAST64): Likewise.
15206 [C99-based-standards] (PRIXLEAST64): Likewise.
15207 [C99-based-standards] (SCNdLEAST64): Likewise.
15208 [C99-based-standards] (SCNiLEAST64): Likewise.
15209 [C99-based-standards] (SCNoLEAST64): Likewise.
15210 [C99-based-standards] (SCNuLEAST64): Likewise.
15211 [C99-based-standards] (SCNxLEAST64): Likewise.
15212 [C99-based-standards] (PRIdFAST64): Likewise.
15213 [C99-based-standards] (PRIiFAST64): Likewise.
15214 [C99-based-standards] (PRIoFAST64): Likewise.
15215 [C99-based-standards] (PRIuFAST64): Likewise.
15216 [C99-based-standards] (PRIxFAST64): Likewise.
15217 [C99-based-standards] (PRIXFAST64): Likewise.
15218 [C99-based-standards] (SCNdFAST64): Likewise.
15219 [C99-based-standards] (SCNiFAST64): Likewise.
15220 [C99-based-standards] (SCNoFAST64): Likewise.
15221 [C99-based-standards] (SCNuFAST64): Likewise.
15222 [C99-based-standards] (SCNxFAST64): Likewise.
15223 [C99-based-standards] (PRIdMAX): Likewise.
15224 [C99-based-standards] (PRIiMAX): Likewise.
15225 [C99-based-standards] (PRIoMAX): Likewise.
15226 [C99-based-standards] (PRIuMAX): Likewise.
15227 [C99-based-standards] (PRIxMAX): Likewise.
15228 [C99-based-standards] (PRIXMAX): Likewise.
15229 [C99-based-standards] (SCNdMAX): Likewise.
15230 [C99-based-standards] (SCNiMAX): Likewise.
15231 [C99-based-standards] (SCNoMAX): Likewise.
15232 [C99-based-standards] (SCNuMAX): Likewise.
15233 [C99-based-standards] (SCNxMAX): Likewise.
15234 [C99-based-standards] (PRIdPTR): Likewise.
15235 [C99-based-standards] (PRIiPTR): Likewise.
15236 [C99-based-standards] (PRIoPTR): Likewise.
15237 [C99-based-standards] (PRIuPTR): Likewise.
15238 [C99-based-standards] (PRIxPTR): Likewise.
15239 [C99-based-standards] (PRIXPTR): Likewise.
15240 [C99-based-standards] (SCNdPTR): Likewise.
15241 [C99-based-standards] (SCNiPTR): Likewise.
15242 [C99-based-standards] (SCNoPTR): Likewise.
15243 [C99-based-standards] (SCNuPTR): Likewise.
15244 [C99-based-standards] (SCNxPTR): Likewise.
15245 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
15246 allow.
15247 * conform/data/stdint.h-data: Update comments to clarify
15248 requirements.
15249 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
15250 type.
15251 [C99-based standards] (INT8_MAX): Likewise.
15252 [C99-based standards] (INT16_MIN): Likewise.
15253 [C99-based standards] (INT16_MAX): Likewise.
15254 [C99-based standards] (INT32_MIN): Likewise.
15255 [C99-based standards] (INT32_MAX): Likewise.
15256 [C99-based standards] (INT64_MIN): Likewise.
15257 [C99-based standards] (INT64_MAX): Likewise.
15258 [C99-based standards] (UINT8_MAX): Likewise.
15259 [C99-based standards] (UINT16_MAX): Likewise.
15260 [C99-based standards] (UINT32_MAX): Likewise.
15261 [C99-based standards] (UINT64_MAX): Likewise.
15262 [C99-based standards] (INT_LEAST8_MIN): Likewise.
15263 [C99-based standards] (INT_LEAST8_MAX): Likewise.
15264 [C99-based standards] (INT_LEAST16_MIN): Likewise.
15265 [C99-based standards] (INT_LEAST16_MAX): Likewise.
15266 [C99-based standards] (INT_LEAST32_MIN): Likewise.
15267 [C99-based standards] (INT_LEAST32_MAX): Likewise.
15268 [C99-based standards] (INT_LEAST64_MIN): Likewise.
15269 [C99-based standards] (INT_LEAST64_MAX): Likewise.
15270 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
15271 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
15272 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
15273 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
15274 [C99-based standards] (INT_FAST8_MIN): Likewise.
15275 [C99-based standards] (INT_FAST8_MAX): Likewise.
15276 [C99-based standards] (INT_FAST16_MIN): Likewise.
15277 [C99-based standards] (INT_FAST16_MAX): Likewise.
15278 [C99-based standards] (INT_FAST32_MIN): Likewise.
15279 [C99-based standards] (INT_FAST32_MAX): Likewise.
15280 [C99-based standards] (INT_FAST64_MIN): Likewise.
15281 [C99-based standards] (INT_FAST64_MAX): Likewise.
15282 [C99-based standards] (UINT_FAST8_MAX): Likewise.
15283 [C99-based standards] (UINT_FAST16_MAX): Likewise.
15284 [C99-based standards] (UINT_FAST32_MAX): Likewise.
15285 [C99-based standards] (UINT_FAST64_MAX): Likewise.
15286 [C99-based standards] (INTPTR_MIN): Likewise.
15287 [C99-based standards] (INTPTR_MAX): Likewise.
15288 [C99-based standards] (UINTPTR_MAX): Likewise.
15289 [C99-based standards] (INTMAX_MIN): Likewise.
15290 [C99-based standards] (INTMAX_MAX): Likewise.
15291 [C99-based standards] (UINTMAX_MAX): Likewise.
15292 [C99-based standards] (PTRDIFF_MIN): Likewise.
15293 [C99-based standards] (PTRDIFF_MAX): Likewise.
15294 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
15295 [C99-based standards] (SIZE_MAX): Likewise.
15296 [C99-based standards] (WCHAR_MAX): Likewise.
15297 [C99-based standards] (WINT_MAX): Likewise.
15298 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
15299 constraint on value.
15300 [C99-based standards] (WCHAR_MIN): Likewise.
15301 [C99-based standards] (WINT_MIN): Likewise.
15302 [C99-based standards] (*_t): Allow.
15303 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
15304 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
15305 Include math.h-data and complex.h-data. Remove all expectations
15306 of math.h and complex.h contents.
15307 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
15308 at end of line.
15309 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
15310 (struct tm): Expect tag.
15311 [C99-based-standards] (wcstof): Expect function.
15312 [C99-based-standards] (wcstold): Likewise.
15313 [C99-based-standards] (wcstoll): Likewise.
15314 [C99-based-standards] (wcstoull): Likewise.
15315 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
15316 macro-int-constant. Specify type.
15317 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
15318 constraint on value.
15319 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15320 Specify type.
15321 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
15322 Specify value.
15323 [ISO C standards]: Do not allow headers.
15324 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
15325 wcs[abcdefghijklmnopqrstuvwxyz]*.
15326 [ISO C standards] (*_t): Do not allow.
15327 * conform/data/wctype.h-data [C99-based standards] (iswblank):
15328 Expect function.
15329 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
15330 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15331 Specify type.
15332 [ISO C standards]: Do not allow headers.
15333 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
15334 is[abcdefghijklmnopqrstuvwxyz]*.
15335 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
15336 to[abcdefghijklmnopqrstuvwxyz]*.
15337 [ISO C standards] (*_t): Do not allow.
15338 * conform/data/stdalign.h-data: New file.
15339 * conform/data/stdbool.h-data: Likewise.
15340 * conform/data/stdnoreturn.h-data: Likewise.
15341
7514feb8
RM
153422012-11-07 Roland McGrath <roland@hack.frob.com>
15343
15344 [BZ #14815]
15345 * manual/filesys.texi (Directory Entries): Typo fix.
15346 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
15347
19b2ecfc
MS
153482012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15349
15350 * elf/elf.h (EM_AARCH64): New macro.
15351 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
15352 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
15353 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
15354 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
15355 (R_AARCH64_TLSDESC): Likewise.
15356 (NT_ARM_TLS): Likewise.
15357 (NT_ARM_HW_BREAK): Likewise.
15358 (NT_ARM_HW_WATCH): Likewise.
15359
60e235ee
JM
153602012-11-07 Joseph Myers <joseph@codesourcery.com>
15361
15362 [BZ #14811]
15363 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
15364 (__ieee754_powl): Saturate nonzero exponents with absolute value
15365 below 0x1p-79 to +/- 0x1p-79.
15366 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
15367 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
15368 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
15369 nonzero exponents with absolute value below 0x1p-32 to +/-
15370 0x1p-32.
15371 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
15372 (__ieee754_powl): Saturate nonzero exponents with absolute value
15373 below 0x1p-79 to +/- 0x1p-79.
15374 * math/libm-test.inc (pow_test): Add more tests.
15375
0ab234b7
AK
153762012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15377
15378 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
15379 _dl_s390_cap_flags with kernel. Increase string length.
15380 (_dl_s390_platforms): Add z196 and zEC12.
15381
45832f74
JM
153822012-11-07 Joseph Myers <joseph@codesourcery.com>
15383
15384 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
15385 Change XOPEN21K to XOPEN2K.
15386
19218757
MK
153872012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
15388
15389 * string/memmove.c: Use memcpy when possible.
15390
c5f45721
AJ
153912012-11-06 Andreas Jaeger <aj@suse.de>
15392
15393 * po/eo.po: Update from translation team.
15394
82477c28
JM
153952012-11-06 Joseph Myers <joseph@codesourcery.com>
15396
15397 [BZ #14793]
15398 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
15399 exponent and small x and y exponents, scale x or y up. Increase
15400 by 2 the exponent used in scaling up.
15401 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15402 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15403 * math/libm-test.inc (fma_test): Add more tests.
15404 (fma_test_towardzero): Likewise.
15405 (fma_test_downward): Likewise.
15406 (fma_test_upward): Likewise.
15407
99252c8c
JM
154082012-11-05 Joseph Myers <joseph@codesourcery.com>
15409
acfa885f
JM
15410 [BZ #14805]
15411 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
15412 fenv_t *.
15413
99252c8c
JM
15414 [BZ #14801]
15415 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
15416 namespace for names of struct fields.
15417 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
15418 fenv_t fields.
15419 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
15420 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
15421
d6d98dea
ST
154222012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15423
15424 [BZ #3665]
15425 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
15426
e10bb107
TS
154272012-11-04 Thomas Schwinge <thomas@codesourcery.com>
15428
15429 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
15430 PTR_DEMANGLE.
15431
15432 [BZ #5246]
15433 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
15434 PTR_DEMANGLE.
15435
a0c2940d
JM
154362012-11-04 Joseph Myers <joseph@codesourcery.com>
15437
15438 [BZ #14797]
15439 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
15440 definitely overflow as x * y not x * y + z.
15441 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15442 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15443 * math/libm-test.inc (fma_test): Add more tests.
15444 (fma_test_towardzero): Likewise.
15445 (fma_test_downward): Likewise.
15446 (fma_test_upward): Likewise.
15447
b830319d
TS
154482012-11-04 Thomas Schwinge <thomas@codesourcery.com>
15449
15450 [BZ #157]
15451
15452 * include/stub-tag.h: Remove file.
15453 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
15454 '#include' of it.
15455 * manual/maint.texi (Porting): Don't reference it.
15456 * Makerules ($(objpfx)stubs): Likewise.
15457 * dirent/closedir.c: Don't include <stub-tag.h>.
15458 * dirent/dirfd.c: Likewise.
15459 * dirent/fdopendir.c: Likewise.
15460 * dirent/getdents.c: Likewise.
15461 * dirent/getdents64.c: Likewise.
15462 * dirent/opendir.c: Likewise.
15463 * dirent/readdir.c: Likewise.
15464 * dirent/readdir64.c: Likewise.
15465 * dirent/readdir64_r.c: Likewise.
15466 * dirent/readdir_r.c: Likewise.
15467 * dirent/rewinddir.c: Likewise.
15468 * dirent/seekdir.c: Likewise.
15469 * dirent/telldir.c: Likewise.
15470 * gmon/profil.c: Likewise.
15471 * grp/setgroups.c: Likewise.
15472 * inet/if_index.c: Likewise.
15473 * io/access.c: Likewise.
15474 * io/chdir.c: Likewise.
15475 * io/chmod.c: Likewise.
15476 * io/chown.c: Likewise.
15477 * io/close.c: Likewise.
15478 * io/dup.c: Likewise.
15479 * io/dup2.c: Likewise.
15480 * io/dup3.c: Likewise.
15481 * io/euidaccess.c: Likewise.
15482 * io/faccessat.c: Likewise.
15483 * io/fchdir.c: Likewise.
15484 * io/fchmod.c: Likewise.
15485 * io/fchmodat.c: Likewise.
15486 * io/fchown.c: Likewise.
15487 * io/fchownat.c: Likewise.
15488 * io/fcntl.c: Likewise.
15489 * io/flock.c: Likewise.
15490 * io/fstatfs.c: Likewise.
15491 * io/fstatfs64.c: Likewise.
15492 * io/fstatvfs.c: Likewise.
15493 * io/fstatvfs64.c: Likewise.
15494 * io/futimens.c: Likewise.
15495 * io/fxstat.c: Likewise.
15496 * io/fxstat64.c: Likewise.
15497 * io/fxstatat.c: Likewise.
15498 * io/fxstatat64.c: Likewise.
15499 * io/getcwd.c: Likewise.
15500 * io/isatty.c: Likewise.
15501 * io/lchmod.c: Likewise.
15502 * io/lchown.c: Likewise.
15503 * io/link.c: Likewise.
15504 * io/linkat.c: Likewise.
15505 * io/lseek.c: Likewise.
15506 * io/lseek64.c: Likewise.
15507 * io/lxstat64.c: Likewise.
15508 * io/mkdir.c: Likewise.
15509 * io/mkdirat.c: Likewise.
15510 * io/mkfifo.c: Likewise.
15511 * io/mkfifoat.c: Likewise.
15512 * io/open.c: Likewise.
15513 * io/open64.c: Likewise.
15514 * io/openat.c: Likewise.
15515 * io/openat64.c: Likewise.
15516 * io/pipe.c: Likewise.
15517 * io/pipe2.c: Likewise.
15518 * io/poll.c: Likewise.
15519 * io/posix_fadvise.c: Likewise.
15520 * io/posix_fadvise64.c: Likewise.
15521 * io/posix_fallocate.c: Likewise.
15522 * io/posix_fallocate64.c: Likewise.
15523 * io/read.c: Likewise.
15524 * io/readlink.c: Likewise.
15525 * io/readlinkat.c: Likewise.
15526 * io/rmdir.c: Likewise.
15527 * io/sendfile.c: Likewise.
15528 * io/sendfile64.c: Likewise.
15529 * io/statfs.c: Likewise.
15530 * io/statfs64.c: Likewise.
15531 * io/statvfs.c: Likewise.
15532 * io/statvfs64.c: Likewise.
15533 * io/symlink.c: Likewise.
15534 * io/symlinkat.c: Likewise.
15535 * io/ttyname.c: Likewise.
15536 * io/ttyname_r.c: Likewise.
15537 * io/umask.c: Likewise.
15538 * io/unlink.c: Likewise.
15539 * io/unlinkat.c: Likewise.
15540 * io/utime.c: Likewise.
15541 * io/utimensat.c: Likewise.
15542 * io/write.c: Likewise.
15543 * io/xmknod.c: Likewise.
15544 * io/xmknodat.c: Likewise.
15545 * io/xstat.c: Likewise.
15546 * io/xstat64.c: Likewise.
15547 * login/getpt.c: Likewise.
15548 * login/grantpt.c: Likewise.
15549 * login/unlockpt.c: Likewise.
15550 * math/e_acoshl.c: Likewise.
15551 * math/e_acosl.c: Likewise.
15552 * math/e_asinl.c: Likewise.
15553 * math/e_atan2l.c: Likewise.
15554 * math/e_atanhl.c: Likewise.
15555 * math/e_coshl.c: Likewise.
15556 * math/e_expl.c: Likewise.
15557 * math/e_fmodl.c: Likewise.
15558 * math/e_gammal_r.c: Likewise.
15559 * math/e_hypotl.c: Likewise.
15560 * math/e_j0l.c: Likewise.
15561 * math/e_j1l.c: Likewise.
15562 * math/e_jnl.c: Likewise.
15563 * math/e_lgammal_r.c: Likewise.
15564 * math/e_log10l.c: Likewise.
15565 * math/e_log2l.c: Likewise.
15566 * math/e_logl.c: Likewise.
15567 * math/e_powl.c: Likewise.
15568 * math/e_rem_pio2l.c: Likewise.
15569 * math/e_sinhl.c: Likewise.
15570 * math/e_sqrtl.c: Likewise.
15571 * math/fclrexcpt.c: Likewise.
15572 * math/fedisblxcpt.c: Likewise.
15573 * math/feenablxcpt.c: Likewise.
15574 * math/fegetenv.c: Likewise.
15575 * math/fegetexcept.c: Likewise.
15576 * math/fegetround.c: Likewise.
15577 * math/feholdexcpt.c: Likewise.
15578 * math/fesetenv.c: Likewise.
15579 * math/fesetround.c: Likewise.
15580 * math/feupdateenv.c: Likewise.
15581 * math/fgetexcptflg.c: Likewise.
15582 * math/fraiseexcpt.c: Likewise.
15583 * math/fsetexcptflg.c: Likewise.
15584 * math/ftestexcept.c: Likewise.
15585 * math/k_cosl.c: Likewise.
15586 * math/k_rem_pio2l.c: Likewise.
15587 * math/k_sinl.c: Likewise.
15588 * math/k_tanl.c: Likewise.
15589 * math/s_asinhl.c: Likewise.
15590 * math/s_atanl.c: Likewise.
15591 * math/s_cbrtl.c: Likewise.
15592 * math/s_erfl.c: Likewise.
15593 * math/s_expm1l.c: Likewise.
15594 * math/s_log1pl.c: Likewise.
15595 * math/s_tanhl.c: Likewise.
15596 * misc/acct.c: Likewise.
15597 * misc/brk.c: Likewise.
15598 * misc/chflags.c: Likewise.
15599 * misc/chroot.c: Likewise.
15600 * misc/fchflags.c: Likewise.
15601 * misc/fgetxattr.c: Likewise.
15602 * misc/flistxattr.c: Likewise.
15603 * misc/fremovexattr.c: Likewise.
15604 * misc/fsetxattr.c: Likewise.
15605 * misc/fsync.c: Likewise.
15606 * misc/ftruncate.c: Likewise.
15607 * misc/futimes.c: Likewise.
15608 * misc/futimesat.c: Likewise.
15609 * misc/getdomain.c: Likewise.
15610 * misc/getdtsz.c: Likewise.
15611 * misc/gethostid.c: Likewise.
15612 * misc/gethostname.c: Likewise.
15613 * misc/getloadavg.c: Likewise.
15614 * misc/getpagesize.c: Likewise.
15615 * misc/getsysstats.c: Likewise.
15616 * misc/getxattr.c: Likewise.
15617 * misc/gtty.c: Likewise.
15618 * misc/ioctl.c: Likewise.
15619 * misc/lgetxattr.c: Likewise.
15620 * misc/listxattr.c: Likewise.
15621 * misc/llistxattr.c: Likewise.
15622 * misc/lremovexattr.c: Likewise.
15623 * misc/lsetxattr.c: Likewise.
15624 * misc/lutimes.c: Likewise.
15625 * misc/madvise.c: Likewise.
15626 * misc/mincore.c: Likewise.
15627 * misc/mlock.c: Likewise.
15628 * misc/mlockall.c: Likewise.
15629 * misc/mmap.c: Likewise.
15630 * misc/mprotect.c: Likewise.
15631 * misc/msync.c: Likewise.
15632 * misc/munlock.c: Likewise.
15633 * misc/munlockall.c: Likewise.
15634 * misc/munmap.c: Likewise.
15635 * misc/preadv.c: Likewise.
15636 * misc/preadv64.c: Likewise.
15637 * misc/ptrace.c: Likewise.
15638 * misc/pwritev.c: Likewise.
15639 * misc/pwritev64.c: Likewise.
15640 * misc/readv.c: Likewise.
15641 * misc/reboot.c: Likewise.
15642 * misc/remap_file_pages.c: Likewise.
15643 * misc/removexattr.c: Likewise.
15644 * misc/revoke.c: Likewise.
15645 * misc/select.c: Likewise.
15646 * misc/setdomain.c: Likewise.
15647 * misc/setegid.c: Likewise.
15648 * misc/seteuid.c: Likewise.
15649 * misc/sethostid.c: Likewise.
15650 * misc/sethostname.c: Likewise.
15651 * misc/setregid.c: Likewise.
15652 * misc/setreuid.c: Likewise.
15653 * misc/setxattr.c: Likewise.
15654 * misc/sstk.c: Likewise.
15655 * misc/stty.c: Likewise.
15656 * misc/swapoff.c: Likewise.
15657 * misc/swapon.c: Likewise.
15658 * misc/sync.c: Likewise.
15659 * misc/syncfs.c: Likewise.
15660 * misc/syscall.c: Likewise.
15661 * misc/truncate.c: Likewise.
15662 * misc/ualarm.c: Likewise.
15663 * misc/usleep.c: Likewise.
15664 * misc/ustat.c: Likewise.
15665 * misc/utimes.c: Likewise.
15666 * misc/vhangup.c: Likewise.
15667 * misc/writev.c: Likewise.
15668 * posix/_exit.c: Likewise.
15669 * posix/alarm.c: Likewise.
15670 * posix/execve.c: Likewise.
15671 * posix/fexecve.c: Likewise.
15672 * posix/fork.c: Likewise.
15673 * posix/fpathconf.c: Likewise.
15674 * posix/getaddrinfo.c: Likewise.
15675 * posix/getegid.c: Likewise.
15676 * posix/geteuid.c: Likewise.
15677 * posix/getgid.c: Likewise.
15678 * posix/getgroups.c: Likewise.
15679 * posix/getlogin.c: Likewise.
15680 * posix/getlogin_r.c: Likewise.
15681 * posix/getpgid.c: Likewise.
15682 * posix/getpid.c: Likewise.
15683 * posix/getppid.c: Likewise.
15684 * posix/getresgid.c: Likewise.
15685 * posix/getresuid.c: Likewise.
15686 * posix/getsid.c: Likewise.
15687 * posix/getuid.c: Likewise.
15688 * posix/glob64.c: Likewise.
15689 * posix/nanosleep.c: Likewise.
15690 * posix/pathconf.c: Likewise.
15691 * posix/pause.c: Likewise.
15692 * posix/posix_madvise.c: Likewise.
15693 * posix/pread.c: Likewise.
15694 * posix/pread64.c: Likewise.
15695 * posix/pwrite.c: Likewise.
15696 * posix/pwrite64.c: Likewise.
15697 * posix/sched_getaffinity.c: Likewise.
15698 * posix/sched_getp.c: Likewise.
15699 * posix/sched_gets.c: Likewise.
15700 * posix/sched_primax.c: Likewise.
15701 * posix/sched_primin.c: Likewise.
15702 * posix/sched_rr_gi.c: Likewise.
15703 * posix/sched_setaffinity.c: Likewise.
15704 * posix/sched_setp.c: Likewise.
15705 * posix/sched_sets.c: Likewise.
15706 * posix/sched_yield.c: Likewise.
15707 * posix/setgid.c: Likewise.
15708 * posix/setlogin.c: Likewise.
15709 * posix/setpgid.c: Likewise.
15710 * posix/setresgid.c: Likewise.
15711 * posix/setresuid.c: Likewise.
15712 * posix/setsid.c: Likewise.
15713 * posix/setuid.c: Likewise.
15714 * posix/sleep.c: Likewise.
15715 * posix/spawni.c: Likewise.
15716 * posix/sysconf.c: Likewise.
15717 * posix/times.c: Likewise.
15718 * posix/wait.c: Likewise.
15719 * posix/wait3.c: Likewise.
15720 * posix/wait4.c: Likewise.
15721 * posix/waitpid.c: Likewise.
15722 * resolv/gai_sigqueue.c: Likewise.
15723 * resource/getpriority.c: Likewise.
15724 * resource/getrlimit.c: Likewise.
15725 * resource/getrusage.c: Likewise.
15726 * resource/nice.c: Likewise.
15727 * resource/setpriority.c: Likewise.
15728 * resource/setrlimit.c: Likewise.
15729 * resource/ulimit.c: Likewise.
15730 * rt/aio_cancel.c: Likewise.
15731 * rt/aio_fsync.c: Likewise.
15732 * rt/aio_read.c: Likewise.
15733 * rt/aio_sigqueue.c: Likewise.
15734 * rt/aio_suspend.c: Likewise.
15735 * rt/aio_write.c: Likewise.
15736 * rt/clock_getres.c: Likewise.
15737 * rt/clock_gettime.c: Likewise.
15738 * rt/clock_nanosleep.c: Likewise.
15739 * rt/clock_settime.c: Likewise.
15740 * rt/lio_listio.c: Likewise.
15741 * rt/mq_close.c: Likewise.
15742 * rt/mq_getattr.c: Likewise.
15743 * rt/mq_notify.c: Likewise.
15744 * rt/mq_open.c: Likewise.
15745 * rt/mq_receive.c: Likewise.
15746 * rt/mq_send.c: Likewise.
15747 * rt/mq_setattr.c: Likewise.
15748 * rt/mq_timedreceive.c: Likewise.
15749 * rt/mq_timedsend.c: Likewise.
15750 * rt/mq_unlink.c: Likewise.
15751 * rt/shm_open.c: Likewise.
15752 * rt/shm_unlink.c: Likewise.
15753 * rt/timer_create.c: Likewise.
15754 * rt/timer_delete.c: Likewise.
15755 * rt/timer_getoverr.c: Likewise.
15756 * rt/timer_gettime.c: Likewise.
15757 * rt/timer_settime.c: Likewise.
15758 * setjmp/__longjmp.c: Likewise.
15759 * setjmp/setjmp.c: Likewise.
15760 * signal/kill.c: Likewise.
15761 * signal/killpg.c: Likewise.
15762 * signal/raise.c: Likewise.
15763 * signal/sigaction.c: Likewise.
15764 * signal/sigaltstack.c: Likewise.
15765 * signal/sigblock.c: Likewise.
15766 * signal/sigignore.c: Likewise.
15767 * signal/sigintr.c: Likewise.
15768 * signal/signal.c: Likewise.
15769 * signal/sigpause.c: Likewise.
15770 * signal/sigpending.c: Likewise.
15771 * signal/sigqueue.c: Likewise.
15772 * signal/sigreturn.c: Likewise.
15773 * signal/sigset.c: Likewise.
15774 * signal/sigsetmask.c: Likewise.
15775 * signal/sigstack.c: Likewise.
15776 * signal/sigsuspend.c: Likewise.
15777 * signal/sigtimedwait.c: Likewise.
15778 * signal/sigvec.c: Likewise.
15779 * signal/sigwait.c: Likewise.
15780 * signal/sigwaitinfo.c: Likewise.
15781 * signal/sysv_signal.c: Likewise.
15782 * socket/accept.c: Likewise.
15783 * socket/accept4.c: Likewise.
15784 * socket/bind.c: Likewise.
15785 * socket/connect.c: Likewise.
15786 * socket/getpeername.c: Likewise.
15787 * socket/getsockname.c: Likewise.
15788 * socket/getsockopt.c: Likewise.
15789 * socket/isfdtype.c: Likewise.
15790 * socket/listen.c: Likewise.
15791 * socket/recv.c: Likewise.
15792 * socket/recvfrom.c: Likewise.
15793 * socket/recvmsg.c: Likewise.
15794 * socket/send.c: Likewise.
15795 * socket/sendmsg.c: Likewise.
15796 * socket/sendto.c: Likewise.
15797 * socket/setsockopt.c: Likewise.
15798 * socket/shutdown.c: Likewise.
15799 * socket/sockatmark.c: Likewise.
15800 * socket/socket.c: Likewise.
15801 * socket/socketpair.c: Likewise.
15802 * stdio-common/ctermid.c: Likewise.
15803 * stdio-common/cuserid.c: Likewise.
15804 * stdio-common/remove.c: Likewise.
15805 * stdio-common/rename.c: Likewise.
15806 * stdio-common/renameat.c: Likewise.
15807 * stdio-common/tempname.c: Likewise.
15808 * stdlib/getcontext.c: Likewise.
15809 * stdlib/makecontext.c: Likewise.
15810 * stdlib/setcontext.c: Likewise.
15811 * stdlib/swapcontext.c: Likewise.
15812 * stdlib/system.c: Likewise.
15813 * streams/fattach.c: Likewise.
15814 * streams/fdetach.c: Likewise.
15815 * streams/getmsg.c: Likewise.
15816 * streams/getpmsg.c: Likewise.
15817 * streams/putmsg.c: Likewise.
15818 * streams/putpmsg.c: Likewise.
15819 * sysdeps/unix/bsd/getpt.c: Likewise.
15820 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
15821 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
15822 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15824 Likewise.
15825 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
15826 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15827 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
15828 * sysvipc/msgctl.c: Likewise.
15829 * sysvipc/msgget.c: Likewise.
15830 * sysvipc/msgrcv.c: Likewise.
15831 * sysvipc/msgsnd.c: Likewise.
15832 * sysvipc/semctl.c: Likewise.
15833 * sysvipc/semget.c: Likewise.
15834 * sysvipc/semop.c: Likewise.
15835 * sysvipc/semtimedop.c: Likewise.
15836 * sysvipc/shmat.c: Likewise.
15837 * sysvipc/shmctl.c: Likewise.
15838 * sysvipc/shmdt.c: Likewise.
15839 * sysvipc/shmget.c: Likewise.
15840 * termios/tcdrain.c: Likewise.
15841 * termios/tcflow.c: Likewise.
15842 * termios/tcflush.c: Likewise.
15843 * termios/tcgetattr.c: Likewise.
15844 * termios/tcgetpgrp.c: Likewise.
15845 * termios/tcsendbrk.c: Likewise.
15846 * termios/tcsetattr.c: Likewise.
15847 * termios/tcsetpgrp.c: Likewise.
15848 * time/adjtime.c: Likewise.
15849 * time/clock.c: Likewise.
15850 * time/getitimer.c: Likewise.
15851 * time/gettimeofday.c: Likewise.
15852 * time/setitimer.c: Likewise.
15853 * time/settimeofday.c: Likewise.
15854 * time/stime.c: Likewise.
15855 * time/time.c: Likewise.
15856
158572012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 15858
a20492cf
PT
15859 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
15860 /usr/old/bin.
15861
72e182e3
PT
15862 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
15863 instead of spaces.
15864 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
15865
fbeafede
JM
158662012-11-03 Joseph Myers <joseph@codesourcery.com>
15867
5b5b04d6
JM
15868 [BZ #14796]
15869 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
15870 FE_TONEAREST before applying Dekker multiplication and Knuth
15871 addition. Clear inexact exceptions and check for exact zero
15872 results afterwards.
15873 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15874 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15875 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15876 * math/libm-test.inc (fma_test): Add more tests.
15877 (fma_test_towardzero): Likewise.
15878 (fma_test_downward): Likewise.
15879 (fma_test_upward): Likewise.
15880 * sysdeps/generic/math_private.h (default_libc_fesetround): New
15881 function.
15882 (libc_fesetround): New macro.
15883 (libc_fesetroundf): Likewise.
15884 (libc_fesetroundl): Likewise.
15885 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
15886 function.
15887 (libc_fesetround_387): Likewise.
15888 (libc_fesetroundf): New macro.
15889 (libc_fesetround): Likewise.
15890 (libc_fesetroundl): Likewise.
15891 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
15892 function.
15893 (libc_fesetroundf): New macro.
15894 (libc_fesetround): Likewise.
15895 (libc_fesetroundl): Likewise.
15896 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
15897 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
15898 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
15899 libm_hidden_ver.
15900 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
15901 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
15902 libm_hidden_def.
15903 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
15904 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
15905 libm_hidden_ver.
15906 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
15907 libm_hidden_def.
15908
fbeafede
JM
15909 [BZ #3439]
15910 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
15911 integer constant usable in #if and use that to give value to enum
15912 constant.
15913 (FE_DIVBYZERO): Likewise.
15914 (FE_UNDERFLOW): Likewise.
15915 (FE_OVERFLOW): Likewise.
15916 (FE_INVALID): Likewise.
15917 (FE_INVALID_SNAN): Likewise.
15918 (FE_INVALID_ISI): Likewise.
15919 (FE_INVALID_IDI): Likewise.
15920 (FE_INVALID_ZDZ): Likewise.
15921 (FE_INVALID_IMZ): Likewise.
15922 (FE_INVALID_COMPARE): Likewise.
15923 (FE_INVALID_SOFTWARE): Likewise.
15924 (FE_INVALID_SQRT): Likewise.
15925 (FE_INVALID_INTEGER_CONVERSION): Likewise.
15926 (FE_TONEAREST): Likewise.
15927 (FE_TOWARDZERO): Likewise.
15928 (FE_UPWARD): Likewise.
15929 (FE_DOWNWARD): Likewise.
15930 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
15931 (FE_DIVBYZERO): Likewise.
15932 (FE_OVERFLOW): Likewise.
15933 (FE_UNDERFLOW): Likewise.
15934 (FE_INEXACT): Likewise.
15935 (FE_TONEAREST): Likewise.
15936 (FE_DOWNWARD): Likewise.
15937 (FE_UPWARD): Likewise.
15938 (FE_TOWARDZERO): Likewise.
15939 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
15940 (FE_UNDERFLOW): Likewise.
15941 (FE_OVERFLOW): Likewise.
15942 (FE_DIVBYZERO): Likewise.
15943 (FE_INVALID): Likewise.
15944 (FE_TONEAREST): Likewise.
15945 (FE_TOWARDZERO): Likewise.
15946 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
15947 (FE_OVERFLOW): Likewise.
15948 (FE_UNDERFLOW): Likewise.
15949 (FE_DIVBYZERO): Likewise.
15950 (FE_INEXACT): Likewise.
15951 (FE_TONEAREST): Likewise.
15952 (FE_TOWARDZERO): Likewise.
15953 (FE_UPWARD): Likewise.
15954 (FE_DOWNWARD): Likewise.
15955 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
15956 (FE_DIVBYZERO): Likewise.
15957 (FE_OVERFLOW): Likewise.
15958 (FE_UNDERFLOW): Likewise.
15959 (FE_INEXACT): Likewise.
15960 (FE_TONEAREST): Likewise.
15961 (FE_DOWNWARD): Likewise.
15962 (FE_UPWARD): Likewise.
15963 (FE_TOWARDZERO): Likewise.
15964
105ca950
CM
159652012-11-02 Chris Metcalf <cmetcalf@tilera.com>
15966
15967 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
15968
a542b389
AS
159692012-11-03 Andreas Schwab <schwab@linux-m68k.org>
15970
15971 * scripts/cross-test-ssh.sh (command): Use newlines to separate
15972 commands. Quote $PWD.
15973 (blacklist_exports): Don't use remove_newlines. Replace "declare
15974 -x" by "export".
15975 (remove_newlines): Remove.
15976
f62c8abc
L
159772012-11-02 H.J. Lu <hongjiu.lu@intel.com>
15978
15979 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
15980 * stdlib/stdlib.h (atof): Moved to ...
15981 * include/bits/stdlib-float.h: Here. New file.
15982 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
15983 * stdlib/bits/stdlib-float.h: New file.
15984 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
15985 -mno-sse -mno-mmx.
15986 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
15987 <xmmintrin.h>.
15988
0155d5b2
JM
159892012-11-02 Joseph Myers <joseph@codesourcery.com>
15990
a68d0680
JM
15991 * conform/conformtest.pl (@headers): Add fenv.h.
15992 * conform/data/fenv.h-data: New file.
15993 * include/fenv.h [_ISOMAC]: Disable all contents of file except
15994 include of <math/fenv.h>.
15995
caf7f573
JM
15996 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
15997 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
15998 && !UNIX98]. Enables tests for XOPEN2K8.
15999 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
16000 POSIX2008]: Likewise.
16001
6c073ad6
JM
16002 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
16003 (struct rusage): Do not expect type or its members.
16004
0155d5b2
JM
16005 [BZ #3439]
16006 * math/math.h (FP_NAN): Define macro to integer constant usable in
16007 #if and use that to give value to enum constant.
16008 (FP_INFINITE): Likewise.
16009 (FP_ZERO): Likewise.
16010 (FP_SUBNORMAL): Likewise.
16011 (FP_NORMAL): Likewise.
16012
b5dcacb4
AS
160132012-11-02 Andreas Schwab <schwab@linux-m68k.org>
16014
16015 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
16016 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
16017 arguments.
16018
f7934be8
RM
160192012-11-02 Roland McGrath <roland@hack.frob.com>
16020
16021 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
16022 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
16023 autoconf-time if not.
16024 * configure.in: Remove AC_PREREQ.
16025
d7d08bde
TMQMF
160262012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16027
16028 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
16029 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
16030 of the internal implementation.
16031
dcdae19a
JM
160322012-11-02 Joseph Myers <joseph@codesourcery.com>
16033
16034 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
16035 except include of <misc/sys/syslog.h>.
16036
d6cffd3e
AS
160372012-11-01 Andreas Schwab <schwab@linux-m68k.org>
16038
16039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
16040 function returns with a NULL context exit with zero.
16041
b3563932
TMQMF
160422012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16043
16044 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
16045
b288a93d
L
160462012-11-01 H.J. Lu <hongjiu.lu@intel.com>
16047
16048 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
16049 (run_program_cmd): This.
16050 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
16051 (tst_langinfo): New variable. Use it.
16052
a2421a68
SAS
160532012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
16054
16055 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
16056 floating point opcodes.
16057
6f796e1b
TS
160582012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16059
7402596b
TS
16060 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
16061 variable.
16062
d0d4f868
TS
16063 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
16064
6f796e1b
TS
16065 * sysdeps/mach/hurd/powerpc: Remove directory.
16066 * sysdeps/mach/powerpc: Likewise.
16067
4da224a2
AS
160682012-11-01 Andreas Schwab <schwab@linux-m68k.org>
16069
16070 * scripts/check-local-headers.sh: Ignore c++ headers.
16071
341dd673
TS
160722012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16073
16074 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
16075 __libc_cleanup_region_start argument.
16076
473611b2
JM
160772012-11-01 Joseph Myers <joseph@codesourcery.com>
16078
16079 [BZ #14784]
16080 [BZ #14785]
16081 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
16082 x * y using scaling, not as x * y + z.
16083 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16084 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16085 * math/libm-test.inc (fma_test): Add more tests.
16086 (fma_test_towardzero): Likewise.
16087 (fma_test_downward): Likewise.
16088 (fma_test_upward): Likewise.
16089
4078da3d
TS
160902012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16091
16092 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
16093
903252aa
JM
160942012-10-31 Joseph Myers <joseph@codesourcery.com>
16095
16096 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
16097 New variable.
16098
cbc818d0
TS
160992012-10-31 Thomas Schwinge <thomas@codesourcery.com>
16100
16101 * rt/tst-shm.c (worker): Correct checking for mmap failure.
16102
5a03cb1e
AS
161032012-10-31 Andreas Schwab <schwab@linux-m68k.org>
16104
16105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16106 Fix sort order.
16107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16108 Likewise.
16109
90aff2ff
TMQMF
161102012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16111
16112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16113 Fix the order of the list for glibc 2.17.
16114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16115 Likewise.
16116
1818fcb7
AS
161172012-10-31 Andreas Schwab <schwab@linux-m68k.org>
16118
16119 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16120
ef82f4da
JM
161212012-10-31 Joseph Myers <joseph@codesourcery.com>
16122
16a0e2ec
JM
16123 [BZ #14610]
16124 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
16125 for low part of x being zero before using __atanl (y).
16126 * math/libm-test.inc (atan2_test): Add another test.
16127
0eb69512
JM
16128 * manual/install.texi (Configuring and compiling): Document
16129 general use of test-wrapper and test-wrapper-env.
16130 * INSTALL: Regenerated.
16131
ef82f4da
JM
16132 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
16133 (__fma): Do not extract and scale down low bits on after-rounding
16134 systems when result rounded to normal precision would have normal
16135 exponent.
16136 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
16137 (__fmal): Do not extract and scale down low bits on after-rounding
16138 systems when result rounded to normal precision would have normal
16139 exponent.
16140 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
16141 (__fmal): Do not extract and scale down low bits on after-rounding
16142 systems when result rounded to normal precision would have normal
16143 exponent.
16144 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
16145 macro.
16146 (fma_test): Add more tests.
16147 (fma_test_towardzero): Likewise.
16148 (fma_test_downward): Likewise.
16149 (fma_test_upward): Likewise.
16150
954ef0d9
L
161512012-10-30 H.J. Lu <hongjiu.lu@intel.com>
16152
16153 * sysdeps/i386/tininess.h: Renamed to ...
16154 * sysdeps/x86/tininess.h: This.
16155 * sysdeps/x86_64/tininess.h: Removed.
16156
df61ffb2
JM
161572012-10-30 Joseph Myers <joseph@codesourcery.com>
16158
16159 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
16160 input. Use $(build-program-cmd).
16161 ($(objpfx)tst-array1-static.out): Likewise.
16162 ($(objpfx)tst-array2.out): Likewise.
16163 ($(objpfx)tst-array3.out): Likewise.
16164 ($(objpfx)tst-array4.out): Likewise.
16165 ($(objpfx)tst-array5.out): Likewise.
16166 ($(objpfx)tst-array5-static.out): Likewise.
16167
01767843
CM
161682012-10-30 Chris Metcalf <cmetcalf@tilera.com>
16169
47cc1490
CM
16170 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
16171 if defined.
16172
01767843
CM
16173 * nss/nsswitch.h (nss_interface_function): Provide new
16174 macro for use with NSS functions.
16175 * grp/initgroups.c: Use new macro.
16176 * nss/getXXbyYY.c: Likewise.
16177 * nss/getXXbyYY_r.c: Likewise.
16178 * nss/getXXent.c: Likewise.
16179 * nss/getXXent_r.c: Likewise.
16180 * sysdeps/posix/getaddrinfo.c: Likewise.
16181
8321aa97
AJ
161822012-10-30 Andreas Jaeger <aj@suse.de>
16183
16184 * po/ru.po: Update Russion translation from translation project.
16185
2a27fd6d
JM
161862012-10-30 Joseph Myers <joseph@codesourcery.com>
16187
8627a232
JM
16188 [BZ #14152]
16189 [BZ #14783]
16190 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
16191 result and shift together with sticky bit instead of replicating
16192 round-to-nearest rounding.
16193 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16194 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16195 * math/libm-test.inc (fma_test): Add more tests. Do not permit
16196 missing underflow exceptions.
16197 (fma_test_towardzero): Add more tests.
16198 (fma_test_downward): Likewise.
16199 (fma_test_upward): Likewise.
16200
2a27fd6d
JM
16201 [BZ #14047]
16202 * sysdeps/generic/tininess.h: New file.
16203 * sysdeps/i386/tininess.h: Likewise.
16204 * sysdeps/sh/tininess.h: Likewise.
16205 * sysdeps/x86_64/tininess.h: Likewise.
16206 * stdlib/tst-strtod-underflow.c: Likewise.
16207 * stdlib/tst-tininess.c: Likewise.
16208 * stdlib/strtod_l.c: Include <tininess.h>.
16209 (round_and_return): Do not set errno for exact underflow cases.
16210 Force an underflow exception when setting errno for underflow.
16211 Determine underflow based on rounding to normal precision if
16212 TININESS_AFTER_ROUNDING.
16213 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
16214 ERANGE for exact underflow cases.
16215 * stdlib/Makefile (tests): Add tst-tininess and
16216 tst-strtod-underflow.
16217 ($(objpfx)tst-tininess): Use $(link-libm).
16218 ($(objpfx)tst-strtod-underflow): Likewise.
16219
e7170363
AJ
162202012-10-30 Andreas Jaeger <aj@suse.de>
16221
e5088dc6
AJ
16222 [BZ#14767]
16223 * elf/Makefile (tests): Remove conditional for have-initfini-array
16224 since this is now always required and the variable does not exist
16225 anymore.
16226 (tests-static): Likewise.
16227 (modules-names): Likewise.
16228
e7170363 16229 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
16230
16231 * elf/tst-array1.c (fini_array): Make writeable so that it can be
16232 merged with constructor/destructor.
16233 (init_array): Likewise.
16234 * elf/tst-array2dep.c (fini_array): Likewise.
16235 (init_array): Likewise.
16236
60457d8a
MF
162372012-10-29 Mike Frysinger <vapier@gentoo.org>
16238
16239 * manual/message.texi: Delete @cartouche tags.
16240
8bece752
PT
162412012-10-29 Pino Toscano <toscano.pino@tiscali.it>
16242
94ce799f
PT
16243 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
16244 EOPNOTSUPP.
16245 * sysdeps/mach/hurd/fsync.c: Likewise.
16246
8bece752
PT
16247 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
16248 [_POSIX_REALTIME_SIGNALS]: Change condition to
16249 [_POSIX_REALTIME_SIGNALS > 0].
16250
86ebe6b1
AJ
162512012-10-27 Andreas Jaeger <aj@suse.de>
16252
16253 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
16254 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
16255 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
16256 [__WORDSIZE != 64]: Likewise.
16257
54399c08
L
162582012-10-26 H.J. Lu <hongjiu.lu@intel.com>
16259
16260 * iconvdata/tst-table.sh: Remove ${SHELL}.
16261 * iconvdata/tst-tables.sh: Likewise.
16262
e2211bed
DM
162632012-10-25 David S. Miller <davem@davemloft.net>
16264
16265 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16266 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
16267 of strtoull.
16268
f303f97c
DM
16269 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
16270 ifunc-impl-list.c
16271 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16272 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
16273 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
16274 file.
16275
1e9d84cd
RM
162762012-10-25 Roland McGrath <roland@hack.frob.com>
16277
16278 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16279 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
16280 __getdirentries.
16281
df381762
JM
162822012-10-25 Joseph Myers <joseph@codesourcery.com>
16283 Jim Blandy <jimb@codesourcery.com>
16284
16285 * scripts/cross-test-ssh.sh: New file.
16286 * manual/install.texi (Configuring and compiling): Document use of
16287 cross-test-ssh.sh.
16288 * INSTALL: Regenerated.
16289
bff64913
PT
162902012-10-25 Pino Toscano <toscano.pino@tiscali.it>
16291
16292 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
16293 EOPNOTSUPP.
16294
25fe8932
JM
162952012-10-25 Joseph Myers <joseph@codesourcery.com>
16296
16297 * Makeconfig (run-program-prefix): Fix comment.
16298
cc1290d0
JM
162992012-10-24 Joseph Myers <joseph@codesourcery.com>
16300 Jim Blandy <jimb@codesourcery.com>
16301
16302 * Makeconfig (test-wrapper): New variable,
16303 (test-wrapper-env): Likewise.
16304 [$(cross-compiling) = yes && $(test-wrapper) != ""]
16305 (run-built-tests): Define to yes.
16306 (run-program-prefix): Use $(test-wrapper).
16307 (built-program-cmd): Likewise.
16308 * Rules (make-test-out): Use $(test-wrapper-env) and
16309 $(host-built-program-cmd).
16310 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
16311 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
16312 tst-pathopt.sh.
16313 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
16314 $(test-wrapper-env) to tst-rtld-load-self.sh.
16315 ($(objpfx)order2.out): Use $(test-wrapper).
16316 ($(objpfx)tst-initorder.out): Likewise.
16317 ($(objpfx)tst-initorder2.out): Likewise.
16318 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
16319 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
16320 (test_wrapper_env): New variable. Use it to run ld.so.
16321 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
16322 Use it to run ld.so.
16323 (test_wrapper_env): Likewise.
16324 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
16325 $(test-wrapper) to run-iconv-test.sh.
16326 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
16327 (ICONV): Use $test_wrapper.
16328 * posix/Makefile ($(objpfx)globtest.out): Pass
16329 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
16330 globtest.sh, not $(run-program-prefix).
16331 * posix/globtest.sh (run_via_rtld_prefix): New variable.
16332 (test_wrapper): Likewise.
16333 (test_wrapper_env): Likewise. Use it to run globtest with HOME
16334 set together with run_via_rtld_prefix.
16335 (run_program_prefix): Define in terms of test_wrapper and
16336 run_via_rtld_prefix.
16337
6e6249d0
RM
163382012-10-24 Roland McGrath <roland@hack.frob.com>
16339
16340 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
16341 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
16342 Targets removed.
16343
16344 [BZ #14743]
16345 * include/time.h: Remove librt_hidden_proto (clock_gettime).
16346 Declare __clock_getres, __clock_gettime, __clock_settime,
16347 __clock_nanosleep, and __clock_getcpuclockid.
16348 * rt/clock_gettime.c: Define __clock_gettime as an alias.
16349 Remove librt_hidden_def (clock_gettime).
16350 * sysdeps/unix/clock_gettime.c: Likewise.
16351 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
16352 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16353 * rt/clock_getres.c: Define __clock_getres as an alias.
16354 * sysdeps/posix/clock_getres.c: Likewise.
16355 * rt/clock_settime.c: Define __clock_settime as an alias.
16356 * sysdeps/unix/clock_settime.c: Likewise.
16357 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
16358 * sysdeps/unix/clock_nanosleep.c: Likewise.
16359 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16360 * rt/clock-compat.c: New file.
16361 * rt/Makefile (librt-routines): Add clock-compat and move
16362 $(clock-routines) to ...
16363 (routines): ... here, new variable.
16364 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
16365 Don't add get_clockfreq here.
16366 * rt/Versions (libc: GLIBC_2.17): New version set.
16367 Add clock_* symbols here.
16368 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
16369 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
16370 (GLIBC_2.17): Add clock_* symbols.
16371 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16372 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16373 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16375 Likewise.
16376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16377 Likewise.
16378 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16379 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16380 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16381 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16382 * NEWS: Mention the move.
16383
16384 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16385 Use __open, __read, __close rather than their public counterparts.
16386 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16387 (__get_clockfreq_via_cpuinfo): Likewise.
16388 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
16389 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
16390
16391 * config.h.in (HAVE_IFUNC): New #undef.
16392 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
16393 was successful.
16394 * configure: Regenerated.
16395
0cae3f4b
MF
163962012-10-24 Mike Frysinger <vapier@gentoo.org>
16397
16398 * configure.in: Move READELF check to start of file.
16399 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
16400 libc_cv_asm_gnu_indirect_function in the process.
16401 * configure: Regenerated.
16402
8175a253
MF
164032012-10-24 Mike Frysinger <vapier@gentoo.org>
16404
16405 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
16406 send the output to /dev/null.
16407 (libc_cv_cc_with_libunwind): Likewise.
16408 (libc_cv_as_noexecstack): Likewise.
16409 * configure: Regenerate.
16410
0708a7d1
JM
164112012-10-24 Joseph Myers <joseph@codesourcery.com>
16412
10b40d85
JM
16413 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
16414
0708a7d1
JM
16415 * posix/globtest.sh (TMPDIR): Do not set.
16416 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
16417 (testout): Likewise.
16418
9fddec1a
AJ
164192012-10-24 Andreas Jaeger <aj@suse.de>
16420
3a8db22f
AJ
16421 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
16422 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
16423 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
16424 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
16425 posix_fadvise64, posix_fallocate64.
16426
9fddec1a
AJ
16427 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
16428 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
16429 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
16430 Likewise.
16431 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
16432 Likewise.
16433 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
16434
16435 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
16436 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
16437 <bits/fcntl-linux.h>.
16438 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
16439
16440 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
16441 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
16442 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
16443 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
16444 [__WORDSIZE != 64]: Likewise.
16445
ebfd1bbd
JM
164462012-10-23 Joseph Myers <joseph@codesourcery.com>
16447
03ac099f
JM
16448 * Makeconfig (run-built-tests): New variable.
16449 * Rules [$(cross-compiling) = yes]: Change condition to
16450 [$(run-built-tests) = no].
16451 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
16452 to [$(run-built-tests) = yes].
16453 * elf/Makefile [$(cross-compiling) = no]: Likewise
16454 * grp/Makefile [$(cross-compiling) = no]: Likewise.
16455 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
16456 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
16457 * intl/Makefile [$(cross-compiling) = no]: Likewise.
16458 * io/Makefile [$(cross-compiling) = no]: Likewise.
16459 * libio/Makefile [$(cross-compiling) = no]: Likewise.
16460 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
16461 * misc/Makefile [$(cross-compiling) = no]: Likewise.
16462 * posix/Makefile [$(cross-compiling) = no]: Likewise.
16463 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
16464 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
16465 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
16466 * string/Makefile [$(cross-compiling) = no]: Likewise.
16467
ebfd1bbd
JM
16468 * posix/Makefile ($(objpfx)globtest.out): Pass
16469 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
16470 $(rtld-installed-name).
16471 * posix/globtest.sh (elf_objpfx): Remove variable.
16472 (rtld_installed_name): Likewise.
16473 (library_path): Likewise.
16474 (run_program_prefix): New variable. Use for running globtest
16475 binary.
16476
166bca24
JB
164772012-10-23 Jim Blandy <jimb@codesourcery.com>
16478 Joseph Myers <joseph@codesourcery.com>
16479
16480 * Makeconfig (host-built-program-cmd): New variable.
16481 * elf/Makefile (tst-stackguard1-ARGS): Use
16482 $(host-built-program-cmd).
16483 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
16484 (tst-spawn-ARGS): Likewise.
16485 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
16486
88866099
JM
164872012-10-23 Joseph Myers <joseph@codesourcery.com>
16488 Jim Blandy <jimb@codesourcery.com>
16489
16490 * Makeconfig (run-via-rtld-prefix): New variable.
16491 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
16492 (built-program-cmd): Likewise.
16493
b4b4c296
AJ
164942012-10-22 Andreas Jaeger <aj@suse.de>
16495
16496 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
16497 __O_RSYNC if it exists, otherwise to O_SYNC.
16498
6fb54a22
JB
164992012-10-22 Jim Blandy <jimb@codesourcery.com>
16500 Joseph Myers <joseph@codesourcery.com>
16501
16502 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
16503 /dev/null.
16504 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
16505 from /dev/null
16506 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
16507 /dev/null.
16508
481b90b9
AJ
165092012-10-22 Andreas Jaeger <aj@suse.de>
16510
2a0e2669
AJ
16511 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
16512 Define always.
16513 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
16514
76e38f9a
AJ
16515 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16516 bits/fcntl-linux.h.
16517
7cd37b43
AJ
16518 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
16519 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
16520
481b90b9
AJ
16521 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
16522 to __O_LARGEFILE.
16523 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
16524 to __O_LARGEFILE.
16525
aba75984
JB
165262012-10-21 Jim Blandy <jimb@codesourcery.com>
16527 Joseph Myers <joseph@codesourcery.com>
16528
16529 * config.make.in (NM): New variable.
16530
88d4247f
AJ
165312012-10-21 Andreas Jaeger <aj@suse.de>
16532
16533 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
16534 definitions and declarations that are provided by
16535 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16536
f2eed205
L
165372012-10-20 H.J. Lu <hongjiu.lu@intel.com>
16538
16539 [BZ #14683]
16540 * elf/Makefile (tests-static): Add tst-leaks1-static.
16541 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
16542 ($(objpfx)tst-leaks1-static): New rule.
16543 ($(objpfx)tst-leaks1-static-mem): Likewise.
16544 (tst-leaks1-static-ENV): New macro.
16545 * elf/dl-open.c (dl_open_worker): Check the main application
16546 only if SHARED is defined.
16547 * elf/tst-leaks1-static.c: New file.
16548
335e6931
AJ
165492012-10-20 Andreas Jaeger <aj@suse.de>
16550
16551 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
16552 generic values for Linux.
16553 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
16554 and declarations that are provided by <bits/fcntl-linux.h> and
16555 include <bits/fcntl-linux.h>.
16556 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16557 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16558
ac5c94d3
RM
165592012-10-20 Roland McGrath <roland@hack.frob.com>
16560
16561 * io/fcntl.h: Move include of <bits/types.h> to the top and
16562 include it unconditionally.
16563
de54b33a
L
165642012-10-20 H.J. Lu <hongjiu.lu@intel.com>
16565
228cfb01
L
16566 * wcsmbs/Makefile (tests-ifunc): New variable.
16567 (tests): Add $(tests-ifunc).
16568 * wcsmbs/test-wcschr-ifunc.c: New file.
16569 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
16570 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
16571 * wcsmbs/test-wcslen-ifunc.c: Likewise.
16572 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
16573 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
16574
69f07e5f
L
16575 * string/Makefile (tests-ifunc): New variable.
16576 (tests): Add $(tests-ifunc).
16577 * string/test-memccpy.c (TEST_NAME): New macro.
16578 * string/test-memchr.c (TEST_NAME): Likewise.
16579 * string/test-memcmp.c (TEST_NAME): Likewise.
16580 * string/test-memcpy.c (TEST_NAME): Likewise.
16581 * string/test-memmem.c (TEST_NAME): Likewise.
16582 * string/test-memmove.c (TEST_NAME): Likewise.
16583 * string/test-memset.c (TEST_NAME): Likewise.
16584 * string/test-rawmemchr.c (TEST_NAME): Likewise.
16585 * string/test-stpcpy.c (TEST_NAME): Likewise.
16586 * string/test-stpncpy.c (TEST_NAME): Likewise.
16587 * string/test-strcasecmp.c (TEST_NAME): Likewise.
16588 * string/test-strcasestr.c (TEST_NAME): Likewise.
16589 * string/test-strcat.c (TEST_NAME): Likewise.
16590 * string/test-strchr.c (TEST_NAME): Likewise.
16591 * string/test-strcmp.c(TEST_NAME): Likewise.
16592 * string/test-strcpy.c (TEST_NAME): Likewise.
16593 * string/test-strcspn.c (TEST_NAME): Likewise.
16594 * string/test-strlen.c (TEST_NAME): Likewise.
16595 * string/test-strncasecmp.c (TEST_NAME): Likewise.
16596 * string/test-strncmp.c (TEST_NAME): Likewise.
16597 * string/test-strncpy.c (TEST_NAME): Likewise.
16598 * string/test-strnlen.c (TEST_NAME): Likewise.
16599 * string/test-strpbrk.c (TEST_NAME): Likewise.
16600 * string/test-strrchr.c (TEST_NAME): Likewise.
16601 * string/test-strspn.c (TEST_NAME): Likewise.
16602 * string/test-strstr.c (TEST_NAME): Likewise.
16603 * string/test-bcopy-ifunc.c: New file.
16604 * string/test-bzero-ifunc.c: Likewise.
16605 * string/test-memccpy-ifunc.c: Likewise.
16606 * string/test-memchr-ifunc.c: Likewise.
16607 * string/test-memcmp-ifunc.c: Likewise.
16608 * string/test-memcpy-ifunc.c: Likewise.
16609 * string/test-memmem-ifunc.c: Likewise.
16610 * string/test-memmove-ifunc.c: Likewise.
16611 * string/test-mempcpy-ifunc.c: Likewise.
16612 * string/test-memset-ifunc.c: Likewise.
16613 * string/test-rawmemchr-ifunc.c: Likewise.
16614 * string/test-stpcpy-ifunc.c: Likewise.
16615 * string/test-stpncpy-ifunc.c: Likewise.
16616 * string/test-strcasecmp-ifunc.c: Likewise.
16617 * string/test-strcasestr-ifunc.c: Likewise.
16618 * string/test-strcat-ifunc.c: Likewise.
16619 * string/test-strchr-ifunc.c: Likewise.
16620 * string/test-strchrnul-ifunc.c: Likewise.
16621 * string/test-strcmp-ifunc.c: Likewise.
16622 * string/test-strcpy-ifunc.c: Likewise.
16623 * string/test-strcspn-ifunc.c: Likewise.
16624 * string/test-strlen-ifunc.c: Likewise.
16625 * string/test-strncasecmp-ifunc.c: Likewise.
16626 * string/test-strncat-ifunc.c: Likewise.
16627 * string/test-strncmp-ifunc.c: Likewise.
16628 * string/test-strncpy-ifunc.c: Likewise.
16629 * string/test-strnlen-ifunc.c: Likewise.
16630 * string/test-strpbrk-ifunc.c: Likewise.
16631 * string/test-strrchr-ifunc.c: Likewise.
16632 * string/test-strspn-ifunc.c: Likewise.
16633 * string/test-strstr-ifunc.c: Likewise.
16634
de54b33a
L
16635 * debug/Makefile (tests-ifunc): New variable.
16636 (tests): Add $(tests-ifunc).
16637 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
16638 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
16639 * debug/test-stpcpy_chk-ifunc.c: New file.
16640 * debug/test-strcpy_chk-ifunc.c: Likewise.
16641
88481c16
SP
166422012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16643
16644 [BZ #13601]
16645 * elf/dl-load.c (open_verify): Retry read if the entire ELF
16646 header is not read in.
16647
135948bd
JM
166482012-10-19 Joseph Myers <joseph@codesourcery.com>
16649
89f1c388
JM
16650 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
16651 script to $(SHELL) as $<. Pass $(common-objpfx) to script
16652 directly. Pass built executable to script as
16653 $(built-program-cmd).
16654 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
16655 $testprogram without using LD_LIBRARY_PATH and $ldso.
16656
e40a0d21
JM
16657 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
16658 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
16659 $(rtld-installed-name).
16660 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
16661 (rtld_installed_name): Likewise.
16662 (library_path): Likewise.
16663 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
16664 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
16665 $(run-program-prefix) to tst-tables.sh.
16666 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
16667 it to run tst-table-from and tst-table-to.
16668 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
16669 Pass it to tst-table.sh.
16670 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
16671 $(run-program-prefix) to tst-gettext.sh.
16672 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
16673 tst-translit.sh.
16674 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
16675 tst-gettext2.sh.
16676 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
16677 to run tst-gettext.
16678 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
16679 to run tst-gettext2.
16680 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
16681 to run tst-translit.
16682 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
16683 $(run-program-prefix) to tst-mtrace.sh.
16684 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
16685 to run tst-mtrace.
16686 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
16687 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
16688 $(rtld-installed-name).
16689 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
16690 (rtld_installed_name): Likewise.
16691 (run_program_prefix): New variable. Use it to run wordexp-test.
16692
728e272a
JM
16693 * Makeconfig (ARCH): Remove all definitions.
16694 (machine): Likewise.
16695 [ARCH]: Remove conditional code.
16696 [!objdir]: Give error.
16697 [!objdir] (objpfx): Remove.
16698 [!objdir] (common-objpfx): Likewise.
16699 [!objdir] (common-objdir): Likewise.
16700 * configure.in (config_makefile): Remove. Hardcode Makefile in
16701 AC_CONFIG_FILES call.
16702 * configure: Regenerated.
16703
d528cdcf
JM
16704 [BZ #13888]
16705 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
16706 or TMPDIR.
16707 (testout): Likewise.
16708
135948bd
JM
16709 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
16710 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
16711 $(rtld-installed-name).
16712 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
16713 (rtld_installed_name): Likwise.
16714 (runit): Remove function.
16715 (run_getconf): New variable, Use it for running getconf binary.
16716
38c78296
L
167172012-10-18 H.J. Lu <hongjiu.lu@intel.com>
16718
16719 [BZ #14716]
16720 * string/test-memmem.c (check_result): New function.
16721 (do_one_test): Use it.
16722 (check1): New function.
16723 (test_main): Use it.
16724
d077f65f
MT
167252012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
16726
16727 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
16728
ced52c71
JM
167292012-10-18 Joseph Myers <joseph@codesourcery.com>
16730
16731 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
16732 (_G_LSEEK64): Likewise.
16733 (_G_MMAP64): Likewise.
16734 (_G_FSTAT64): Likewise.
16735 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
16736 (_G_LSEEK64): Likewise.
16737 (_G_MMAP64): Likewise.
16738 (_G_FSTAT64): Likewise.
16739 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
16740 unconditional. Call __mmap64 directly.
16741 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
16742 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
16743 __lseek64 directly.
16744 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
16745 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
16746 __mmap64 directly.
16747 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
16748 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
16749 __lseek64 directly.
16750 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
16751 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
16752 __lseek64 directly.
16753 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
16754 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
16755 __lseek64 directly.
16756 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
16757 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
16758 __fxstat64 directly.
16759 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
16760 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
16761 unconditional.
16762 (freopen64) [!_G_OPEN64]: Remove conditional code.
16763 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
16764 unconditional.
16765 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
16766 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
16767 unconditional.
16768 (ftello64) [!_G_LSEEK64]: Remove conditional code.
16769 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
16770 unconditional.
16771 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16772 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
16773 unconditional.
16774 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
16775 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
16776 unconditional.
16777 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16778 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
16779 unconditional.
16780 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16781 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
16782 unconditional.
16783 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16784
b741de23
SP
167852012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16786
16787 [BZ #12140]
16788 * manual/memory.texi (Malloc Tunable Parameters): Add note
16789 about free list pointers overwriting some perturb bytes.
16790 Wording suggested by Roland McGrath.
16791
f9b9d9c9
JM
167922012-10-17 Joseph Myers <joseph@codesourcery.com>
16793
16794 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
16795 (lgamma_test): Likewise.
16796 (tgamma_test): Likewise.
16797
172a631a
FW
167982012-10-16 Florian Weimer <fweimer@redhat.com>
16799
16800 [BZ #14700]
16801 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
16802 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
16803
e9f37252
MK
168042012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
16805
16806 * NEWS: Mention BZ #14716.
16807 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
16808 when removing AVAILABLE1_USES_J macro.
16809
d394eb74
L
168102012-10-12 H.J. Lu <hongjiu.lu@intel.com>
16811
16812 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
16813 (__bswap_64): __uint64_t for unsigned 64-bit int.
16814
ca38dc17
AS
168152012-10-12 Andreas Schwab <schwab@linux-m68k.org>
16816
16817 * include/string.h (memmem): Declare libc hidden alias.
16818 * string/memmem.c (memmem): Define libc hidden alias.
16819 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
16820 __read, __close instead of open, read, close.
16821
9a387d1f
L
168222012-10-11 H.J. Lu <hongjiu.lu@intel.com>
16823
ac49ecaf
L
16824 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
16825 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
16826 global and hidden.
16827 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
16828 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
16829 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
16830 Likewise.
16831 (__rawmemchr_sse2): Likewise.
16832 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
16833 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
16834 (__strchr_sse2): Likewise.
16835 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
16836 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
16837 (__strcasecmp_sse2): Likewise.
16838 (__strncasecmp_sse2): Likewise.
16839 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
16840 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
16841 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
16842 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
16843 (__strrchr_sse2): Likewise.
16844 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
16845 ifunc-impl-list.c.
16846 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16847 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16848 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16849 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16850 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16851 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16852 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16853 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16854 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
16855 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
16856 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
16857 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
16858 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
16859 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16860 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16861 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16862 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16863 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16864 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
16865 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
16866 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
16867 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
16868 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
16869 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16870 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
16871 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16872 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16873 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16874 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16875 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16876
b090e8ea
L
16877 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
16878 global and hidden.
16879 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
16880 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
16881 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
16882 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
16883 Likewise.
16884 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
16885 Likewise.
16886 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
16887 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
16888 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
16889 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
16890 ifunc-impl-list.c.
16891 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16892 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16893 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16894 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16895 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16896 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16897 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16898 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16899 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16900 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16901 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16902 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16903 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16904 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
16905 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
16906 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16907 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
16908 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
16909 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16910 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16911 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16912 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16913 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16914 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16915 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16916 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
16917 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
16918 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
16919 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
16920 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16921 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
16922 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16923 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16924 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
16925 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16926 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16927 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16928 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16929 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16930 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16931 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
16932
11dd4af6
L
16933 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
16934 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
16935 * include/ifunc-impl-list.h: New file.
16936 * misc/ifunc-impl-list.c: Likewise.
16937 * misc/Makefile (routines): Add ifunc-impl-list.
16938 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
16939 * string/test-string.h: Include <ifunc-impl-list.h>.
16940 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
16941 impl_array): New variables.
16942 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
16943 are defined.
16944 (test_init): Call __libc_ifunc_impl_list to initialize
16945 func_list if TEST_IFUNC and TEST_NAME are defined.
16946
9a387d1f
L
16947 * string/Makefile (strop-tests): Add bcopy and bzero.
16948 * string/test-bcopy.c: New file.
16949 * string/test-bzero.c: Likewise.
16950 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
16951 defined.
16952 * string/test-memset.c: Support bzero test if TEST_BZERO is
16953 defined.
16954 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
16955 __libc_memmove.
16956 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
16957 __libc_memset.
16958 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
16959 of memset.
16960
472371b9
JM
169612012-10-10 Joseph Myers <joseph@codesourcery.com>
16962
1e4a9536
JM
16963 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
16964 * configure: Regenerated.
16965
d173d12e
JM
16966 * Makeconfig (+link-static-before-libc): Don't include
16967 $(link-static-libc).
16968
472371b9
JM
16969 * libio/libio.h (_IO_pos_t): Remove.
16970
89a3ad0b
AO
169712012-10-10 Alexandre Oliva <aoliva@redhat.com>
16972
16973 * NEWS: Add note about FIPS mode. Wording suggested by Roland
16974 McGrath.
16975
e7451425
AO
169762012-10-10 Alexandre Oliva <aoliva@redhat.com>
16977
16978 * crypt/crypt-entry.c: Include fips-private.h.
16979 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
16980 * crypt/md5c-test.c (main): Tolerate disabled MD5.
16981 * sysdeps/unix/sysv/linux/fips-private.h: New file.
16982 * sysdeps/generic/fips-private.h: New file, dummy fallback.
16983
4ba74a35
AO
169842012-10-10 Alexandre Oliva <aoliva@redhat.com>
16985
16986 * crypt/crypt-private.h: Include stdbool.h.
16987 (_ufc_setup_salt_r): Return bool.
16988 * crypt/crypt-entry.c: Include errno.h.
16989 (__crypt_r): Return NULL with EINVAL for bad salt.
16990 * crypt/crypt_util.c (bad_for_salt): New.
16991 (_ufc_setup_salt_r): Check that salt is long enough and within
16992 the specified alphabet.
16993 * crypt/badsalttest.c: New file.
16994 * crypt/Makefile (tests): Add it.
16995 ($(objpfx)badsalttest): New.
16996
f96f1242
MK
169972012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
16998
16999 * NEWS: Add entry for BZ #14602.
17000
0e8e0c1c
JM
170012012-10-09 Joseph Myers <joseph@codesourcery.com>
17002
17003 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
17004 type-generic.
17005 * math/libm-test.inc: Update comment listing what functions and
17006 macros are tested.
17007 (isgreater_test): New function.
17008 (isgreaterequal_test): Likewise.
17009 (isless_test): Likewise.
17010 (islessequal_test): Likewise.
17011 (islessgreater_test): Likewise.
17012 (isunordered_test): Likewise.
17013 (main): Call the new functions.
17014
273edc5e
RM
170152012-10-09 Roland McGrath <roland@hack.frob.com>
17016
b8493de0
RM
17017 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
17018 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
17019 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
17020 * sysdeps/i386/configure: Regenerated.
17021 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
17022 * sysdeps/mach/configure: Regenerated.
17023 * sysdeps/mach/hurd/configure: Regenerated.
17024 * sysdeps/powerpc/configure: Regenerated.
17025 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17026 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17027 * sysdeps/s390/s390-32/configure: Regenerated.
17028 * sysdeps/s390/s390-64/configure: Regenerated.
17029 * sysdeps/sh/configure: Regenerated.
17030 * sysdeps/sparc/configure: Regenerated.
17031 * sysdeps/unix/sysv/linux/configure: Regenerated.
17032 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
17033 * sysdeps/x86_64/configure: Regenerated.
17034
273edc5e
RM
17035 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
17036 defined. Don't check if MAP is NULL.
17037
c8450f70
JM
170382012-10-09 Joseph Myers <joseph@codesourcery.com>
17039
17040 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
17041 (_G_stat64): Likewise.
17042 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
17043 (_G_stat64): Likewise.
17044 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
17045 instead of struct _G_stat64.
17046 * libio/fileops.c (mmap_remap_check): Likewise.
17047 (decide_maybe_mmap): Likewise.
17048 (_IO_new_file_seekoff): Likewise.
17049 (_IO_file_stat): Likewise.
17050 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
17051 _G_off64_t.
17052 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
17053 instead of struct _G_stat64.
17054 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17055
57e605ba
MK
170562012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
17057
17058 [BZ #14602]
17059 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17060 Replace with ...
17061 (CHECK_EOL): New macro.
17062 (two_way_short_needle): Check beginning of haystack for EOL. Use
17063 CHECK_EOL.
17064 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17065 Replace with CHECK_EOL.
17066 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17067 Replace with CHECK_EOL.
17068
ef1bb361
JM
170692012-10-08 Joseph Myers <joseph@codesourcery.com>
17070
17071 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
17072 type-generic.
17073 * math/libm-test.inc: Update comment listing what functions and
17074 macros are tested.
17075 (finite_test): New function.
17076 (isinf_test): Likewise.
17077 (isnan_test): Likewise.
17078 (fpclassify_test): Test subnormal input.
17079 (isfinite_test): Likewise.
17080 (isnormal_test): Likewise.
17081 (main): Call the new functions.
17082
55f11534
JN
170832012-10-08 Jonathan Nieder <jrnieder@gmail.com>
17084
17085 [BZ #14660]
17086 * Makerules (%.dynsym): Force C locale when running
17087 $(OBJDUMP) --dynamic-syms.
17088
1ab29350
AS
170892012-10-08 Andreas Schwab <schwab@linux-m68k.org>
17090
17091 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
17092 <stdint.h>.
17093
f1ecb7ef
DM
170942012-10-06 David S. Miller <davem@davemloft.net>
17095
17096 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
17097 upper 32-bits of the length value in %o2 since we use branch-on-register
17098 tests which consider the entire 64-bit register.
17099
5d41d91a
L
171002012-10-06 H.J. Lu <hongjiu.lu@intel.com>
17101
17102 * string/test-strstr.c (check2): Add a test for page boundary.
17103
3baddb72
DM
171042012-10-05 David S. Miller <davem@davemloft.net>
17105
17106 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
17107 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
17108 file.
17109 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17110 sysdep_routines.
17111 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17112 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
17113 and bzero when HWCAP_SPARC_CRYPTO is present.
17114
9cee5585
L
171152012-10-05 H.J. Lu <hongjiu.lu@intel.com>
17116
d7e0dab9
L
17117 [BZ #14602]
17118 * string/test-strstr.c (check2): New function.
17119 (test_main): Call check2.
17120
03759f47
L
17121 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
17122 and bug-strchr1.
17123 * string/bug-strcasestr1.c (do_test): Moved to ...
17124 * string/test-strcasestr.c (check1): Here. New function.
17125 (do_one_test): Break out result checking code into ...
17126 (check_result): This. New function.
17127 (do_one_test): Call check_result.
17128 (test_main): Call check1.
17129 * string/bug-strchr1.c (do_test): Moved to ...
17130 * string/test-strchr.c (check1): Here. New function.
17131 (do_one_test): Break out result checking code into ...
17132 (check_result): This. New function.
17133 (do_one_test): Call check_result.
17134 (test_main): Call check1.
17135 * string/bug-strstr1.c (main): Moved to ...
046f153e 17136 * string/test-strstr.c (check1): Here. New function.
03759f47
L
17137 (do_one_test): Break out result checking code into ...
17138 (check_result): This. New function.
17139 (do_one_test): Call check_result.
17140 (test_main): Call check1.
17141 * string/bug-strcasestr1.c: Removed.
17142 * string/bug-strchr1.c: Likewise.
17143 * string/bug-strstr1.c: Likewise.
17144
53cea63e
L
17145 * elf/Makefile (dl-routines): Add hwcaps.
17146 * elf/dl-support.c (_dl_important_hwcaps): Removed.
17147 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
17148 (_dl_important_hwcaps): Moved to ...
17149 * elf/dl-hwcaps.c: Here. New file.
17150 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
17151
9cee5585 17152 [BZ #14557]
bb859b06
L
17153 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
17154 if IS_IN_rtld isn't defined.
17155
9cee5585
L
17156 * elf/dl-support.c (_dl_sysinfo_map): New.
17157 Include "get-dynamic-info.h" and "setup-vdso.h".
17158 (_dl_non_dynamic_init): Call setup_vdso.
17159 * elf/dynamic-link.h: Don't include <assert.h>.
17160 (elf_get_dynamic_info): Moved to ...
17161 * elf/get-dynamic-info.h: Here. New file.
17162 * elf/dynamic-link.h: Include "get-dynamic-info.h".
17163 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
17164 * elf/setup-vdso.h: Here. New file.
17165 * elf/rtld.c: Include "setup-vdso.h".
17166 (dl_main): Call setup_vdso.
17167
23c31b76
JM
171682012-10-05 Joseph Myers <joseph@codesourcery.com>
17169
28234b07
JM
17170 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
17171 creal in comment listing functions tested. List finite, isinf,
17172 isnan, isless, islessequal, isgreater, isgreaterequal,
17173 islessgreater, isunordered, lgamma_r and pow10 as functions and
17174 macros not tested. Mention which functions not tested are aliases
17175 for other functions. Fix typo. Note that signs of NaNs are not
17176 tested.
17177
23c31b76
JM
17178 * scripts/config.guess: Update from config.git.
17179 * scripts/config.sub: Likewise.
17180
9043e228
RM
171812012-10-04 Roland McGrath <roland@hack.frob.com>
17182
17183 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
17184 * misc/madvise.c (madvise): Renamed to __madvise.
17185 Make madvise a weak alias.
17186 * include/sys/mman.h: Declare __madvise.
17187 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
17188 * sysdeps/unix/syscalls.list
17189 (madvise): Make __madvise the strong name, and madvise a weak alias.
17190 * sysdeps/unix/sysv/linux/syscalls.list
17191 (madvise, mmap): Remove redundant entries.
17192 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
17193 * malloc/malloc.c (mtrim): Likewise.
17194 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
17195
f57f8055
RM
171962012-10-03 Roland McGrath <roland@hack.frob.com>
17197
17198 * sysdeps/mach/hurd/dl-cache.c: File removed.
17199 * config.h.in (USE_LDCONFIG): New #undef.
17200 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
17201 * configure: Regenerated.
17202 * elf/Makefile (dl-routines): Add dl-cache only under
17203 [$(use-ldconfig) = yes].
17204 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
17205 cache on [USE_LDCONFIG].
17206 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
17207 [USE_LDCONFIG].
17208 * elf/rtld.c (dl_main): Likewise.
17209
5bb0c10a
PT
172102012-10-03 Pino Toscano <toscano.pino@tiscali.it>
17211
17212 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
17213 _SC_LEVEL4_CACHE_LINESIZE.
17214
010188c6
RM
172152012-10-03 Roland McGrath <roland@hack.frob.com>
17216
17217 * sysdeps/unix/bsd/confstr.h: File removed.
17218
b6c5ec07
AO
172192012-10-02 Alexandre Oliva <aoliva@redhat.com>
17220
17221 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
17222 sys/sdt-config.h.
17223
408223d4
RM
172242012-10-02 Roland McGrath <roland@hack.frob.com>
17225
17226 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
17227 Make 'mapoff' field ElfW(Off) rather than off_t.
17228
bb9510dc
DL
172292012-10-02 Dmitry V. Levin <ldv@altlinux.org>
17230
fc997c6e
DL
17231 * nscd/Makefile: Remove nscd-cflags and all its users.
17232 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
17233 (CFLAGS-nonlib): Add compiler flags for nscd modules.
17234
bb9510dc
DL
17235 [BZ #10631]
17236 * malloc.c (malloc_printerr): Clarify error message.
17237
05699367
L
172382012-10-02 H.J. Lu <hongjiu.lu@intel.com>
17239
17240 [BZ #14648]
17241 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17242 Set bit_FMA_Usable if FMA is supported.
17243 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
17244 macro.
17245 (bit_FMA4_Usable): Updated.
17246 (index_FMA_Usable): New macro.
17247 (CPUID_FMA): Likewise
17248 (HAS_FMA): Defined with bit_FMA_Usable.
17249
51367701
RM
172502012-10-01 Roland McGrath <roland@hack.frob.com>
17251
17252 * bits/types.h (__swblk_t): Type removed.
17253 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
17254 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
17255 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17256 (__SWBLK_T_TYPE): Likewise.
17257 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17258 (__SWBLK_T_TYPE): Likewise.
17259 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17260 (__SWBLK_T_TYPE): Likewise.
17261 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17262 (__SWBLK_T_TYPE): Likewise.
17263
4d57bf63 172642012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 17265 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
17266
17267 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
17268 (xdr_mapname): Use YPMAXMAP as maxsize.
17269 (xdr_peername): Use YPMAXPEER as maxsize.
17270 (xdr_keydat): Use YPAXRECORD as maxsize.
17271 (xdr_valdat): Use YPMAXRECORD as maxsize.
17272
93c65d43
RM
172732012-10-01 Roland McGrath <roland@hack.frob.com>
17274
497a03d6
RM
17275 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
17276
93c65d43
RM
17277 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
17278 * csu/init-first.c: ... here.
17279 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
17280 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
17281 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
17282 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17283 * sysdeps/i386/init-first.c: File removed.
17284 * sysdeps/sh/init-first.c: File removed.
17285
bec749fd
JM
172862012-10-01 Joseph Myers <joseph@codesourcery.com>
17287
17288 [BZ #14645]
17289 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
17290 if x * y might underflow to zero and z is zero.
17291 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17292 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17293 * math/libm-test.inc (min_subnorm_value): New variable.
17294 (fma_test): Add more tests.
17295 (fma_test_towardzero): Likewise.
17296 (fma_test_downward): Likewise
17297 (fma_test_upward): Likewise.
17298 (initialize): Set min_subnorm_value.
17299
8ec5b013
JM
173002012-09-29 Joseph Myers <joseph@codesourcery.com>
17301
17302 [BZ #14638]
17303 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
17304 0 + 0.
17305 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
17306 mode for addition resulting in exact zero.
17307 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
17308 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
17309 exact 0 + 0.
17310 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17311 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17312 * math/libm-test.inc (fma_test): Add more tests.
17313 (fma_test_towardzero): New function.
17314 (fma_test_downward): Likewise.
17315 (fma_test_upward): Likewise.
17316 (main): Call the new functions.
17317
b1fa802e
DM
173182012-09-28 David S. Miller <davem@davemloft.net>
17319
17320 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
17321
d3b9fd9e
RM
173222012-09-28 Roland McGrath <roland@hack.frob.com>
17323
ea4d37b3
RM
17324 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
17325 instead of SIGALRM.
17326
ac51c949
RM
17327 * sysdeps/gnu/_G_config.h: Moved to ...
17328 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
17329 * sysdeps/mach/hurd/_G_config.h: Moved to ...
17330 * sysdeps/generic/_G_config.h: ... here.
17331
28c195f7
RM
17332 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
17333
848917f9
RM
17334 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
17335
6bacf05b
RM
17336 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
17337 Conditionalize target on [libnss_test1.so-version].
17338
91363dbb
RM
17339 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
17340
cc87f7d8
RM
17341 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
17342 (elfobjdir): Move out of conditionals.
17343
b1c608fe
RM
17344 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
17345 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
17346 (__nss_lookup_function): Conditionalize label remove_from_tree on
17347 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 17348
1d9a6d96
DM
173492012-09-28 David S. Miller <davem@davemloft.net>
17350
17351 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
17352 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
17353 file.
17354 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17355 sysdep_routines.
17356 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17357 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
17358 when HWCAP_SPARC_CRYPTO is present.
17359
72581615
PT
173602012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17361
17362 * io/tst-mknodat.c: Create a FIFO instead of a socket.
17363
715a900c
JL
173642012-09-28 Andreas Schwab <schwab@linux-m68k.org>
17365
17366 [BZ #6530]
17367 * stdio-common/vfprintf.c (process_string_arg): Revert
17368 2000-07-22 change.
17369
173702011-09-28 Jonathan Nieder <jrnieder@gmail.com>
17371
17372 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
17373 for testcase.
17374 * stdio-common/tst-sprintf.c: Include <locale.h>
17375 (main): Test sprintf's handling of incomplete multibyte
17376 characters.
17377
9bac1d86
L
173782012-09-28 H.J. Lu <hongjiu.lu@intel.com>
17379
17380 * elf/dl-runtime.c (VERSYMIDX): Removed.
17381 * elf/dl-version.c (VERSYMIDX): Likewise.
17382 * elf/do-rel.h (VERSYMIDX): Likewise.
17383 (VALIDX): Likewise.
17384 * elf/dynamic-link.h (VERSYMIDX): Likewise.
17385 * elf/rtld.c (VALIDX): Likewise.
17386 (ADDRIDX): Likewise.
9bac1d86
L
17387 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
17388 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
17389 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
17390 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
17391 (VALIDX): Likewise.
17392 (ADDRIDX): Likewise.
9bac1d86 17393
b31606c0
PT
173942012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17395
17396 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
17397
11541177
JL
173982012-09-28 Dmitry V. Levin <ldv@altlinux.org>
17399
17400 [BZ #11438]
17401 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
17402 to global scope.
17403 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
17404 addresses are in the same scope as 192.0.2/24.
17405 * posix/gai.conf: Document new scope table defaults.
17406
adb26fae
SP
174072012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17408
17409 [BZ #5298]
17410 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
17411 for ftell. Compute offsets from write pointers instead.
17412 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17413
4573c6b0
SP
174142012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17415
17416 [BZ #14543]
17417 * libio/Makefile (tests): New test case tst-fseek.
17418 * libio/tst-fseek.c: New test case to verify that fseek/ftell
17419 combination works in wide mode.
17420 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
17421 state when the external buffer state changes.
17422
aa9bbfe6
DM
174232012-09-27 David S. Miller <davem@davemloft.net>
17424
17425 [BZ #14376]
17426 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
17427 pass reloc->r_addend in as the 'high' argument to
17428 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
17429
784421e7
DM
17430 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17431
c39bc8b8
PT
174322012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17433
17434 * rt/tst-aio2.c: Include <pthread.h>.
17435 * rt/tst-aio3.c: Likewise.
17436
1ccc2399
SE
174372012-09-27 Steve Ellcey <sellcey@mips.com>
17438
17439 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
17440
31ed4153
L
174412012-09-27 H.J. Lu <hongjiu.lu@intel.com>
17442
25f5f885
L
17443 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
17444 contents on [SHARED].
31ed4153 17445
b7bfe116
MP
174462012-09-26 Marek Polacek <polacek@redhat.com>
17447
17448 [BZ #14530]
17449 [BZ #13741]
17450 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
17451 for C++ and GCC <4.3 as well as for non GCC compilers.
17452
43c4edba
MT
174532012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
17454
17455 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17456
6a1bf82f
RM
174572012-09-25 Roland McGrath <roland@hack.frob.com>
17458
17459 * Makefile.in (all, install): Declare with .PHONY.
17460 Reported by Michael Hope <michael.hope@linaro.org>.
17461
8ad11b9a
TMQMF
174622012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17463
17464 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
17465 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
17466 system header.
17467 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
17468 Likewise.
17469 (sydep_routines): Add the new and the internal functions.
17470 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
17471 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
17472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
17473 (GLIBC_2.17): Add the new function.
17474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17475 (GLIBC_2.17): Likewise.
17476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
17477 (GLIBC_2.17): Likewise.
17478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
17479 (GLIBC_2.17): Likewise.
17480 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
17481
7e2fca8d
AM
174822012-09-25 Alan Modra <amodra@gmail.com>
17483
17484 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
17485 Add release barrier before setting once_control to say
17486 initialisation is done. Add hints on lwarx. Use macro in
17487 place of isync.
17488 (clear_once_control): Add release barrier.
17489
b87c4b24
JM
174902012-09-25 Joseph Myers <joseph@codesourcery.com>
17491
d032e0d2
JM
17492 [BZ #13629]
17493 * math/s_clog.c (__clog): Handle more values close to |z| = 1
17494 specially.
17495 * math/s_clog10.c (__clog10): Likewise.
17496 * math/s_clog10f.c (__clog10f): Likewise.
17497 * math/s_clog10l.c (__clog10l): Likewise.
17498 * math/s_clogf.c (__clogf): Likewise.
17499 * math/s_clogl.c (__clogl): Likewise.
17500 * math/Makefile (libm-calls): Add x2y2m1.
17501 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
17502 (__x2y2m1): Likewise.
17503 (__x2y2m1l): Likewise.
17504 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
17505 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
17506 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17507 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17508 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
17509 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
17510 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
17511 * sysdeps/i386/fpu/libm-test-ulps: Update.
17512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17513
b87c4b24
JM
17514 [BZ #14621]
17515 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
17516 int as type of variable DEPTH.
17517 (glob): Use size_t instead of int as type of variables NEWCOUNT
17518 and OLD_PATHC.
17519
6d3bf199
LD
175202012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17521
22bf5c17
LD
17522 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17523 Add s_sincosf-sse2.
17524 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
17525 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
17526 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
17527 macros for using routine as __sincosf_ia32.
17528 Use macro for function declaration and weak_alias.
17529 * sysdeps/i386/fpu/libm-test-ulps: Update.
17530
17531 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
17532 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17533
17534 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
17535 subnormal argument.
17536 * math/s_cexpf.c (__cexpf): Likewise.
17537 * math/s_csinf.c (__csinf): Likewise.
17538 * math/s_csinhf.c (__csinhf): Likewise.
17539 * math/s_ctanf.c (__ctanf): Likewise.
17540 * math/s_ctanhf.c (__ctanhf): Likewise.
17541 * math/s_ccosh.c (__ccoshf): Likewise.
17542 * math/s_cexp.c (__cexpl): Likewise.
17543 * math/s_csin.c (__csin): Likewise.
17544 * math/s_csinh.c (__csinh): Likewise.
17545 * math/s_ctan.c (__ctan): Likewise.
17546 * math/s_ctanh.c (ctanh): Likewise.
17547 * math/s_ccoshl.c (__ccoshl): Likewise.
17548 * math/s_cexpl.c (__cexpl): Likewise.
17549 * math/s_csinl.c (__csinl): Likewise.
17550 * math/s_csinhl.c (__csinhl): Likewise.
17551 * math/s_ctanl.c (__ctanl): Likewise.
17552 * math/s_ctanhl.c (__ctanhl): Likewise.
17553
203e5603
JM
175542012-09-25 Joseph Myers <joseph@codesourcery.com>
17555
17556 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
17557 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
17558 (_IO_off_t): Define to __off_t, not _G_off_t.
17559 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
17560 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
17561 (_IO_wint_t): Define to wint_t, not _G_wint_t.
17562 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
17563 type of __dummy and __dummy2 fields.
17564 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
17565 (_G_ssize_t): Likewise.
17566 (_G_off_t): Likewise.
17567 (_G_pid_t): Likewise.
17568 (_G_uid_t): Likewise.
17569 (_G_wchar_t): Likewise.
17570 (_G_wint_t): Likewise.
17571 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
17572 (_G_ssize_t): Likewise.
17573 (_G_off_t): Likewise.
17574 (_G_pid_t): Likewise.
17575 (_G_uid_t): Likewise.
17576 (_G_wchar_t): Likewise.
17577 (_G_wint_t): Likewise.
17578 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
17579 (_G_ssize_t): Likewise.
17580 (_G_off_t): Likewise.
17581 (_G_pid_t): Likewise.
17582 (_G_uid_t): Likewise.
17583 (_G_wchar_t): Likewise.
17584 (_G_wint_t): Likewise.
17585
9fab36eb
SP
175862012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17587
17588 * malloc/arena.c: Include malloc-sysdep.h.
17589 (shrink_heap): Use check_may_shrink_heap to decide if madvise
17590 is sufficient to shrink the heap or an unmap is needed.
17591 * sysdeps/generic/malloc-sysdep.h: New file. Define
17592 new function check_may_shrink_heap.
17593 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
17594 new function check_may_shrink_heap.
17595
2b4f00d1
SP
175962012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17597
17598 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
17599 comments.
17600
9a9028b1
DL
176012012-09-24 Dmitry V. Levin <ldv@altlinux.org>
17602
57c69bef
DL
17603 * catgets/test-gencat.sh: Add "set -e".
17604 * elf/tst-pathopt.sh: Likewise.
17605 * grp/tst_fgetgrent.sh: Likewise.
17606 * iconvdata/run-iconv-test.sh: Likewise.
17607 * intl/tst-gettext.sh: Likewise.
17608 * intl/tst-gettext2.sh: Likewise.
17609 * intl/tst-gettext4.sh: Likewise.
17610 * intl/tst-gettext6.sh: Likewise.
17611 * intl/tst-translit.sh: Likewise.
17612 * io/ftwtest-sh: Likewise.
17613 * libio/test-freopen.sh: Likewise.
17614 * malloc/tst-mtrace.sh: Likewise.
17615 * posix/globtest.sh: Likewise.
17616 * posix/tst-getconf.sh: Likewise.
17617 * posix/wordexp-tst.sh: Likewise.
17618 * stdio-common/tst-printf.sh: Likewise.
17619 * stdio-common/tst-unbputc.sh: Likewise.
17620 * stdlib/tst-fmtmsg.sh: Likewise.
17621 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17622 * catgets/Makefile: Do not specify -e option when running
17623 testsuite shell scripts.
17624 * elf/Makefile: Likewise.
17625 * grp/Makefile: Likewise.
17626 * iconvdata/Makefile: Likewise.
17627 * intl/Makefile: Likewise.
17628 * io/Makefile: Likewise.
17629 * libio/Makefile: Likewise.
17630 * malloc/Makefile: Likewise.
17631 * posix/Makefile: Likewise.
17632 * stdio-common/Makefile: Likewise.
17633 * stdlib/Makefile: Likewise.
17634 * sysdeps/x86_64/Makefile: Likewise.
17635
9a9028b1
DL
17636 * io/ftwtest-sh: Add copyright header.
17637 * posix/globtest.sh: Likewise.
17638 * posix/tst-getconf.sh: Likewise.
17639 * posix/wordexp-tst.sh: Likewise.
17640 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17641
ced6f16e
L
176422012-09-24 H.J. Lu <hongjiu.lu@intel.com>
17643
94b32c39
L
17644 [BZ #13679]
17645 * Makeconfig (+link): Defined as $(+link-static) if
17646 $(build-shared) isn't yes.
17647 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
17648 isn't yes.
17649 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
17650
189e935b
L
17651 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
17652
ced6f16e
L
17653 [BZ #14562]
17654 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
17655 new chunk size with MALLOC_ALIGN_MASK.
17656
a9f8e53a
JM
176572012-09-24 Joseph Myers <joseph@codesourcery.com>
17658
17659 [BZ #5044]
17660 * stdio-common/printf_fphex.c: Include <stdbool.h> and
17661 <rounding-mode.h>.
17662 (__printf_fphex): Determine rounding using get_rounding_mode and
17663 round_away.
17664 * stdio-common/tst-printf-round.c (struct hex_test): New
17665 structure.
17666 (hex_tests): New variable.
17667 (test_hex_in_one_mode): New function.
17668 (do_test): Also run tests for hex float output.
17669
43153109
JM
176702012-09-21 Joseph Myers <joseph@codesourcery.com>
17671
17672 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17673 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17674 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
17675 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17676 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17677 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
17678 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17679 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17680
8a26625d
JM
176812012-09-20 Joseph Myers <joseph@codesourcery.com>
17682
17683 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
17684 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
17685 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
17686 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
17687
f3fd569c
DL
176882012-09-19 Dmitry V. Levin <ldv@altlinux.org>
17689
17690 [BZ #14579]
17691 * elf/rtld.c (dl_main): Limit the check for self loading to normal
17692 mode only.
17693 * elf/tst-rtld-load-self.sh: New test.
17694 * elf/Makefile: Run it.
17695
63bbedd4
JM
176962012-09-18 Joseph Myers <joseph@codesourcery.com>
17697
17698 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
17699 (tst-writev-ENV): Remove.
17700 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
17701
626f8b6a
CM
177022012-09-17 Chris Metcalf <cmetcalf@tilera.com>
17703
17704 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
17705
b7aaa4d6
JM
177062012-09-17 Joseph Myers <joseph@codesourcery.com>
17707
17708 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
17709 unconditional.
17710 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
17711 Likewise.
17712 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
17713 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
17714 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
17715 Likewise.
17716
65513990
L
177172012-09-14 H.J. Lu <hongjiu.lu@intel.com>
17718
17719 [BZ #14587]
17720 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
17721 * config.make.in (have-cpp-asm-debuginfo): Removed.
17722 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
17723 * configure: Regenerated.
17724
784761be
JM
177252012-09-14 Joseph Myers <joseph@codesourcery.com>
17726
17727 [BZ #5044]
17728 * stdio-common/printf_fp.c: Include <stdbool.h> and
17729 <rounding-mode.h>.
17730 (___printf_fp): Determine rounding using get_rounding_mode and
17731 round_away.
17732 * stdio-common/tst-printf-round.c: New file.
17733 * stdio-common/Makefile (tests): Add tst-printf-round.
17734 (link-libm): New variable.
17735 ($(objpfx)tst-printf-round): Depend in $(link-libm).
17736
9503345f
L
177372012-09-13 H.J. Lu <hongjiu.lu@intel.com>
17738
17739 [BZ #14576]
17740 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
17741 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
17742 Likewise.
17743 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
17744 Likewise.
17745
ad35fc00
JM
177462012-09-13 Joseph Myers <joseph@codesourcery.com>
17747
17748 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
17749 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17750 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17751 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17752
6c9b0f68
JM
177532012-09-12 Joseph Myers <joseph@codesourcery.com>
17754
17755 [BZ #14518]
17756 * include/rounding-mode.h: New file.
17757 * sysdeps/generic/get-rounding-mode.h: Likewise.
17758 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
17759 * stdlib/strtod_l.c: Include <rounding-mode.h>.
17760 (MAX_VALUE): New macro.
17761 (MIN_VALUE): Likewise.
17762 (overflow_value): New function.
17763 (underflow_value): Likewise.
17764 (round_and_return): Use overflow_value and underflow_value to
17765 determine return values in overflow and underflow cases. Use
17766 round_away to determine rounding depending on rounding mode.
17767 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
17768 determine return values in overflow and underflow cases.
17769 * stdlib/tst-strtod-round.c: Include <fenv.h>.
17770 (struct test_results): New structure.
17771 (struct test): Use struct test_results to store expected results
17772 for all rounding modes.
17773 (TEST): Include expected results for all rounding modes.
17774 (test_in_one_mode): New function.
17775 (do_test): Use test_in_one_mode to compute and check results.
17776 Check results for all rounding modes.
17777 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
17778 $(link-libm).
17779
19fcedd5
AM
177802012-12-09 Allan McRae <allan@archlinux.org>
17781
1e9d84cd 17782 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 17783
8bbfd2f1
JM
177842012-09-11 Joseph Myers <joseph@codesourcery.com>
17785
17786 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
17787 (_G_int32_t): Likewise.
17788 (_G_uint16_t): Likewise.
17789 (_G_uint32_t): Likewise.
17790 (_G_HAVE_BOOL): Likewise.
17791 (_G_HAVE_ATEXIT): Likewise.
17792 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17793 (_G_HAVE_IO_FILE_OPEN): Likewise.
17794 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
17795 (_G_int32_t): Likewise.
17796 (_G_uint16_t): Likewise.
17797 (_G_uint32_t): Likewise.
17798 (_G_HAVE_BOOL): Likewise.
17799 (_G_HAVE_ATEXIT): Likewise.
17800 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17801 (_G_HAVE_IO_FILE_OPEN): Likewise.
17802 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
17803 (_G_int32_t): Likewise.
17804 (_G_uint16_t): Likewise.
17805 (_G_uint32_t): Likewise.
17806 (_G_HAVE_BOOL): Likewise.
17807 (_G_HAVE_ATEXIT): Likewise.
17808 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17809 (_G_HAVE_IO_FILE_OPEN): Likewise.
17810
b1dc5912
L
178112012-09-11 H.J. Lu <hongjiu.lu@intel.com>
17812
17813 * csu/libc-tls.c: Update copyright years.
17814
0e886ef9
JM
178152012-09-10 Joseph Myers <joseph@codesourcery.com>
17816
28361c5e
JM
17817 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
17818 [!_G_USING_THUNKS]: Remove conditional code.
17819 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
17820 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
17821
0e886ef9
JM
17822 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
17823 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
17824 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17825 (_G_VTABLE_LABEL_PREFIX): Likewise.
17826 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17827 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17828 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17829 (_G_VTABLE_LABEL_PREFIX): Likewise.
17830 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17831 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17832 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17833 (_G_VTABLE_LABEL_PREFIX): Likewise.
17834 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17835
bcba7aa2
L
178362012-09-10 H.J. Lu <hongjiu.lu@intel.com>
17837
17838 * libio/Makefile: Include ../Makeconfig before tests.
17839 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
17840 only if $(build-shared) is yes.
17841
06585ee8
L
17842 * iconv/gconv_db.c: Update copyright years.
17843
80ccd52c
LD
178442012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17845
17846 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
17847 unwind info if defined PIC. Fix special cases description.
17848 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
17849
17850 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
17851 DP_HI_MASK entry.
17852 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
17853
691bc9c1
L
178542012-09-07 H.J. Lu <hongjiu.lu@intel.com>
17855
3d9b46b3
L
17856 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
17857
de2139a9
L
17858 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
17859 is NULL.
17860
5ca78dd0
L
17861 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
17862 (LDLIBS-tst-chk4): This.
17863 (LDFLAGS-tst-chk5): Renamed to ...
17864 (LDLIBS-tst-chk5): This.
17865 (LDFLAGS-tst-chk6): Renamed to ...
17866 (LDLIBS-tst-chk6): This.
17867 (LDFLAGS-tst-lfschk4): Renamed to ...
17868 (LDLIBS-tst-lfschk4): This.
17869 (LDFLAGS-tst-lfschk5): Renamed to ...
17870 (LDLIBS-tst-lfschk5): This.
17871 (LDFLAGS-tst-lfschk6): Renamed to ...
17872 (LDLIBS-tst-lfschk6): This.
17873
691bc9c1
L
17874 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
17875 on $(common-objpfx)soversions.mk.
17876
65cafb1c
JM
178772012-09-07 Joseph Myers <joseph@codesourcery.com>
17878
17879 [BZ #10014]
17880 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
17881 example host name.
17882
c78ab094
SP
178832012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17884
17885 * malloc/arena.c (arena_get_retry): New function that gets
17886 another arena for the caller to try its request on.
17887 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
17888 current arena cannot fulfill the request.
17889 (__libc_memalign): Likewise.
17890 (__libc_memalign): Likewise.
17891 (__libc_pvalloc): Likewise.
17892 (__libc_calloc): Likewise.
17893
01f49f59
JT
178942012-09-05 John Tobey <john.tobey@gmail.com>
17895
17896 [BZ #13542]
17897 * manual/arith.texi (Operations on Complex): Fix description
17898 of carg branch cut.
17899
4c23fed5
JM
179002012-09-06 Joseph Myers <joseph@codesourcery.com>
17901
1d3c8572
JM
17902 [BZ #10014]
17903 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
17904 host name.
17905
4c23fed5
JM
17906 [BZ #10038]
17907 * manual/memory.texi (Memory): Make order of menu items match
17908 order of sections.
17909
04570aaa
L
179102012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17911
17912 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
17913 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
17914 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
17915
b80af2f4
L
179162012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17917
17918 * csu/libc-tls.c (static_dtv): Renamed to ...
17919 (_dl_static_dtv): This. Make it global.
17920 (_dl_initial_dtv): Removed.
17921 (__libc_setup_tls): Updated.
17922 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
17923 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
17924 DL_INITIAL_DTV.
17925
2abe9f15
PM
179262012-09-06 Petr Machata <pmachata@redhat.com>
17927
17928 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
17929 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
17930 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
17931 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
17932
0948c3af
L
179332012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17934
17935 [BZ #14545]
17936 * csu/libc-tls.c (_dl_initial_dtv): New variable.
17937 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
17938 freeing dtv[-1].
17939
a5055ad1
L
179402012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17941
17942 [BZ #14544]
17943 * Makeconfig (link-static-before-libc): Replace $(+prector)
17944 with $(+prectorT).
17945 (link-static-after-libc): Replace $(+postctor) with
17946 $(+postctorT).
17947 (link-bounded): Replace $(+prector)/$(+postctor) with
17948 $(+prectorT)/$(+postctorT).
17949 (+prectorT): New macro.
17950 (+postctorT): Likewise.
17951
ed8c2ecd
JM
179522012-09-06 Joseph Myers <joseph@codesourcery.com>
17953
17954 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
17955 (round_str): Handle values above the maximum for IBM long double
17956 as inexact.
17957 * stdlib/tst-strtod-round.c (tests): Regenerated.
17958
14c996c8
AK
179592012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17960
17961 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
17962 assembler flag.
17963 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
17964 zarch_nohighgprs around the zarch optimized routines.
17965 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
17966 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
17967 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
17968 for zarch.
17969
430d6ce6
DM
179702012-09-05 David S. Miller <davem@davemloft.net>
17971
17972 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17973
ff04dda4
DM
17974 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
17975 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
17976 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
17977 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
17978 entries.
17979
24d4e01b
AO
179802012-09-05 Alexandre Oliva <aoliva@redhat.com>
17981
17982 * malloc/arena.c: Fold copyright years.
17983 * malloc/mcheck.c, malloc/memusage.c: Likewise.
17984
61d58174
AO
179852012-09-05 Alexandre Oliva <aoliva@redhat.com>
17986
17987 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
17988
20196a5e
AO
179892012-09-05 Alexandre Oliva <aoliva@redhat.com>
17990
17991 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
17992
5c447383
AO
179932012-09-05 Alexandre Oliva <aoliva@redhat.com>
17994
17995 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
17996 change internal state upon failure.
17997
fad64255
AO
179982012-09-05 Alexandre Oliva <aoliva@redhat.com>
17999
18000 * malloc/mcheck.c (mcheck_check_all): Fix typo.
18001 * malloc/memusage.c (mmap): Likewise.
18002 (mmap64, mremap): Likewise. Adjust name in comment.
18003
1ffb8c90
SP
180042012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18005
18006 * libio/fileops.c: Fix typos in comments.
18007 * libio/oldfileops.c: Likewise.
18008 * libio/wfileops.c: Likewise.
18009
6ef9cc37
SP
180102012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18011
18012 [BZ #1349]
18013 * malloc/Makefile (tests): Add tst-malloc-usable test case.
18014 (tst-malloc-usable-ENV): Set environment for test case.
18015 * malloc/hooks.c (malloc_check_get_size): New function to get
18016 requested size.
18017 * malloc/malloc.c (musable): Use malloc_check_get_size.
18018 * malloc/tst-malloc-usable.c: New test case.
18019
4d038ae3
AS
180202012-09-05 Andreas Schwab <schwab@linux-m68k.org>
18021
18022 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
18023
c4e85184
AM
180242012-09-05 Allan McRae <allan@archlinux.org>
18025
b9dafc56 18026 [BZ #13966]
c4e85184
AM
18027 * configure.in (CXX_SYSINCLUDES): Use compiler output to
18028 determine header location.
18029 * configure: Regenerated.
18030
e1343020
AS
180312012-09-05 Andreas Schwab <schwab@linux-m68k.org>
18032
18033 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
18034 float format.
18035 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
18036 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
18037 format.
e1343020
AS
18038 (test): Regenerate.
18039
0a9f1987
DM
180402012-09-04 David S. Miller <davem@davemloft.net>
18041
18042 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
18043 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
18044 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
18045
29237804
FW
180462012-09-04 Florian Weimer <fweimer@redhat.com>
18047
18048 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
18049 failures.
18050
edb3cb88
FW
18051 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
18052
60160d83
JM
180532012-09-04 Joseph Myers <joseph@codesourcery.com>
18054
18055 [BZ #9914]
18056 * libio/iogetdelim.c: Include <limits.h>.
18057 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
18058 + len + 1 would overflow.
18059
bcd6c8dc
AJ
180602012-09-03 Andreas Jaeger <aj@suse.de>
18061
18062 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18063 * sysdeps/i386/fpu/libm-test-ulps: Update.
18064
4ffffbd2
LD
180652012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18066
18067 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18068 Add s_sinf-sse2, s_conf-sse2.
18069
18070 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
18071 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
18072 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
18073 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
18074
18075 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
18076 for using routine as __sinf_ia32.
18077 Use macro for function declaration and weak_alias.
18078 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
18079 for using routine as __cosf_ia32.
18080 Use macro for function declaration and weak_alias.
18081
18082 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
18083 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
18084
18085 * sysdeps/x86_64/fpu/s_sinf.S: New file.
18086 * sysdeps/x86_64/fpu/s_cosf.S: New file.
18087 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18088
18089 * math/libm-test.inc (cos_test): Add more test cases.
18090 (sin_test): Likewise.
18091 (sincos_test): Likewise.
18092
511fa286
AK
180932012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18094
18095 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
18096 (IFUNC_RESOLVE): Make pointers to the specialized implementations
18097 hidden.
18098 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18099
5f30cfec
L
181002012-09-02 H.J. Lu <hongjiu.lu@intel.com>
18101
18102 [BZ #14538]
18103 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
18104 first element of the GOT.
18105 (elf_machine_load_address): Return the difference between
18106 the runtime address of _DYNAMIC and elf_machine_dynamic ().
18107
0786794f
AM
181082012-09-01 Allan McRae <allan@archlinux.org>
18109
5f30cfec
L
18110 [BZ #13412]
18111 * configure.in (AWK): Require gawk version 3.0 or later.
18112 * configure: Regenerated.
0786794f 18113
26889eac
JM
181142012-09-01 Joseph Myers <joseph@codesourcery.com>
18115
18116 * sysdeps/unix/sysv/linux/kernel-features.h
18117 (__ASSUME_POSIX_CPU_TIMERS): Remove.
18118 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18119 [__NR_clock_getres]: Make code unconditional.
18120 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
18121 (clock_getcpuclockid): Remove code left unreachable by removal of
18122 conditionals.
18123 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
18124 code unconditional.
18125 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18126 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18127 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
18128 Make code unconditional.
18129 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18130 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18131 * sysdeps/unix/sysv/linux/clock_settime.c
18132 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
18133 conditional code.
18134 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
18135 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18136
d22e28b0
L
181372012-08-29 H.J. Lu <hongjiu.lu@intel.com>
18138
18139 [BZ #14476]
18140 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
18141 scripts/test-installation.pl.
18142
18143 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
18144 and $ld_so_version if it is set.
18145
050af9c4
SP
181462012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18147
18148 [BZ #14516]
18149 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
18150 failure if reading from procfs failed.
18151 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
18152
ad845c0b
JM
181532012-08-27 Joseph Myers <joseph@codesourcery.com>
18154
18155 * sysdeps/unix/sysv/linux/kernel-features.h
18156 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
18157 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18158 Remove conditional code.
18159 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18160 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
18161 Remove conditional code.
18162 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18163 * sysdeps/unix/sysv/linux/i386/fxstat.c
18164 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18165 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18166 * sysdeps/unix/sysv/linux/i386/fxstatat.c
18167 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18168 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18169 * sysdeps/unix/sysv/linux/i386/lxstat.c
18170 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18171 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18172 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
18173 Remove conditional code.
18174 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18175 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18176 Remove conditional code.
18177 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18178 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
18179 <kernel-features.h>.
18180 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
18181 Remove.
18182 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
18183 Remove conditional code.
18184 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18185 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
18186 Remove conditional.
18187
5dbf56af
MF
181882012-08-27 Mike Frysinger <vapier@gentoo.org>
18189
18190 [BZ #5400]
18191 * NEWS: Add fixed bug number.
18192
d6e70f43
JM
181932012-08-27 Joseph Myers <joseph@codesourcery.com>
18194
7efb4737
JM
18195 [BZ #14519]
18196 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
18197 underflowing exponent in case of negative sign.
18198 * stdlib/tst-strtod-round-data: Add more tests.
18199 * stdlib/tst-strtod-round.c (tests): Regenerated.
18200
af92131a
JM
18201 [BZ #3479]
18202 * stdlib/strtod_l.c (NDIG): Remove.
18203 (HEXNDIG): Likewise.
18204 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
18205 smallest representable value.
18206 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
18207 lie within an exact representation of 1/2 ulp of the result.
18208 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
18209 unconditionally.
18210 (TENS_P9_IDX): Define unconditionally.
18211 (TENS_P9_SIZE): Likewise.
18212 (TENS_P10_IDX): Likewise.
18213 (TENS_P10_SIZE): Likewise.
18214 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
18215 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
18216 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
18217 entries for 10^2^13 and 10^2^14.
18218 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
18219 (TENS_P13_IDX): Define.
18220 (TENS_P13_SIZE): Likewise.
18221 (TENS_P14_IDX): Likewise.
18222 (TENS_P14_SIZE): Likewise.
18223 (_fpioconst_pow10): Change array size to
18224 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
18225 unconditional.
18226 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
18227 1024]: Add entries for 10^2^13 and 10^2^14.
18228 [LAST_POW10 > _LAST_POW10]: Remove #error.
18229 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
18230 (_fpioconst_pow10): Change array size to
18231 FPIOCONST_POW10_ARRAY_SIZE.
18232 * stdlib/gen-fpioconst.c: New file.
18233 * stdlib/gen-tst-strtod-round.c: Likewise.
18234 * stdlib/tst-strtod-round-data: Likewise.
18235 * stdlib/tst-strtod-round.c: Likewise.
18236 * stdlib/Makefile (tests): Add tst-strtod-round.
18237
d6e70f43
JM
18238 [BZ #14459]
18239 * stdlib/strtod_l.c: Include <stdint.h>.
18240 (NDEBUG): Do not define.
18241 (round_and_return): Change EXPONENT parameter to type intmax_t.
18242 Rearrange calculations to avoid internal overflow possibilities.
18243 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
18244 Rearrange calculations to avoid internal overflow possibilities.
18245 Assert that number fits inside MPNSIZE limbs.
18246 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
18247 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
18248 calculations and add assertions to avoid internal overflow
18249 possibilities. Add casts to avoid signed/unsigned operations.
18250 * stdlib/tst-strtod-overflow.c: New file.
18251 * stdlib/Makefile (tests): Add tst-strtod-overflow.
18252
1f529f7d
MP
182532012-08-25 Marek Polacek <polacek@redhat.com>
18254
18255 * time/time.h: Fix some typos in comments.
18256
59a629f1
RM
182572012-08-23 Roland McGrath <roland@hack.frob.com>
18258
18259 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
18260 * posix/tst-rfc3484-2.c: Likewise.
18261 * posix/tst-rfc3484-3.c: Likewise.
18262
d3bafbc9
SM
182632012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
18264
18265 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
18266 (EF_ARM_ABI_FLOAT_HARD): Likewise.
18267
4efcc022
JM
182682012-08-23 Joseph Myers <joseph@codesourcery.com>
18269
18270 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
18271 #include of fxstatat64.c.
18272
3cc3ef96
RM
182732012-08-22 Roland McGrath <roland@hack.frob.com>
18274
f04e2132
RM
18275 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
18276 * shadow/getspent_r.c: Likewise.
18277 * shadow/getspnam.c: Likewise.
18278 * shadow/getspnam_r.c: Likewise.
18279 * gshadow/getsgent.c: Likewise.
18280 * gshadow/getsgent_r.c: Likewise.
18281 * gshadow/getsgnam.c: Likewise.
18282 * gshadow/getsgnam_r.c: Likewise.
18283 * inet/getnetbyad.c: Likewise.
18284 * inet/getnetbyad_r.c: Likewise.
18285 * inet/getnetbynm.c: Likewise.
18286 * inet/getnetbynm_r.c: Likewise.
18287 * inet/getnetent.c: Likewise.
18288 * inet/getnetent_r.c: Likewise.
18289 * inet/getproto.c: Likewise.
18290 * inet/getproto_r.c: Likewise.
18291 * inet/getprtent.c: Likewise.
18292 * inet/getprtent_r.c: Likewise.
18293 * inet/getprtname.c: Likewise.
18294 * inet/getprtname_r.c: Likewise.
18295 * inet/getrpcbyname.c: Likewise.
18296 * inet/getrpcbyname_r.c: Likewise.
18297 * inet/getrpcbynumber.c: Likewise.
18298 * inet/getrpcbynumber_r.c: Likewise.
18299 * inet/getrpcent.c: Likewise.
18300 * inet/getrpcent_r.c: Likewise.
18301 * inet/getaliasent.c: Likewise.
18302 * inet/getaliasent_r.c: Likewise.
18303 * inet/getaliasname.c: Likewise.
18304 * inet/getaliasname_r.c: Likewise.
18305 * nscd/getgrgid_r.c: Likewise.
18306 * nscd/getgrnam_r.c: Likewise.
18307 * nscd/gethstbyad_r.c: Likewise.
18308 * nscd/gethstbynm3_r.c: Likewise.
18309 * nscd/getpwnam_r.c: Likewise.
18310 * nscd/getpwuid_r.c: Likewise.
18311 * nscd/getsrvbynm_r.c: Likewise.
18312 * nscd/getsrvbypt_r.c: Likewise.
18313 * nscd/gai.c: Likewise.
18314
c53d909c
RM
18315 * configure.in (build_nscd): New substituted variable, set
18316 by --disable-build-nscd and defaults to $use_nscd.
18317 * configure: Regenerated.
18318 * config.make.in (build-nscd): New substituted variable.
18319 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
18320 Change conditional to require [$(build-nscd) = yes] as well.
18321 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
18322
3cc3ef96
RM
18323 [BZ# 13696]
18324 * configure.in (use_nscd): New substituted variable, set by
18325 --disable-nscd. If enabled, define USE_NSCD.
18326 * configure: Regenerated.
18327 * config.h.in: Add USE_NSCD.
18328 * config.make.in (use-nscd): New substituted variable.
18329 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18330 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
18331 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
18332 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
18333 (CFLAGS-getgrnam_r.c): Likewise.
18334 (CFLAGS-initgroups.c): Likewise.
18335 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
18336 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
18337 Variables removed.
18338 * inet/getnetgrent_r.c
18339 (nscd_setnetgrent): New function, broken out of ...
18340 (setnetgrent): ... here. Call it.
18341 (innetgr): Conditionalize nscd bits on [USE_NSCD].
18342 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
18343 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
18344 * nscd/Makefile (routines, aux): Move definitions after include of
18345 Makeconfig. Conditionalize on [$(use-nscd) != no].
18346 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
18347 Conditionalize on [USE_NSCD].
18348 (is_nscd, nscd_init_cb): Likewise.
18349 (nss_load_library): Conditionalize init callback on [USE_NSCD].
18350 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
18351 * nss/nss_db/db-init.c: Likewise.
18352 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
18353 [USE_NSCD].
18354 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
18355 (make_request): Use it.
18356 (cache_valid_p): New function.
18357 (__check_pf): Use it.
18358 * NEWS: Add item for --disable-nscd.
18359
07e51550
DL
183602012-08-22 Dmitry V. Levin <ldv@altlinux.org>
18361
18362 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
18363 to support sed >= 4.2.1-20-ga9bf076.
18364 * configure: Regenerated.
18365
35a5b08b
RM
183662012-08-22 Roland McGrath <roland@hack.frob.com>
18367
18368 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
18369 Conditionalize whole body on [IREL].
18370
8479f23a
JL
183712012-08-22 Jeff Law <law@redhat.com>
18372
18373 [BZ #14505]
18374 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
18375 if the family is PF_UNSPEC.
18376
48da0b21
MF
183772012-08-22 Mike Frysinger <vapier@gentoo.org>
18378
18379 * Makerules (lib-version): Rename from V.
18380 (install-lib-nosubdir): Change V to lib-version.
18381
15d0da8c
WS
183822012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
18383
18384 [BZ #14252]
18385 * powerpc32/power6/wcschr.c: New file.
18386 * powerpc32/power6/wcscpy.c: New file.
18387 * powerpc32/power6/wcsrchr.c: New file.
18388 * powerpc64/power6/wcschr.c: New file.
18389 * powerpc64/power6/wcscpy.c: New file.
18390 * powerpc64/power6/wcsrchr.c: New file.
18391
bcca0895
MK
183922012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
18393
18394 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
18395 (two_way_short_needle): Use it.
5a4aaa33
RM
18396 * string/strstr.c (AVAILABLE1_USES_J): Define.
18397 * string/strcasestr.c: Likewise.
99677e57
MK
18398
18399 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
18400 array references.
18401 * string/strcasestr.c (TOLOWER): Make side-effect safe.
18402
400726de
MK
18403 [BZ #11607]
18404 * NEWS: Add an entry.
18405 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
18406 define their defaults.
18407 (two_way_short_needle): Detect end-of-string on-the-fly.
18408 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
18409 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
18410 * string/bug-strcasestr1.c: New test.
18411 * string/Makefile: Run it.
18412
20a71f2c
MK
184132012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
18414
18415 [BZ #11607]
18416 * string/str-two-way.h (two_way_short_needle): Optimize matching of
18417 the first character.
18418
21ad0558
RM
184192012-08-21 Roland McGrath <roland@hack.frob.com>
18420
18421 * csu/elf-init.c (__libc_csu_irel): Function removed.
18422 * csu/libc-start.c (apply_irel): New function.
18423 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
18424
0e1d9911
JM
184252012-08-21 Joseph Myers <joseph@codesourcery.com>
18426
18427 * sysdeps/unix/sysv/linux/kernel-features.h
18428 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
18429 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18430 <kernel-features.h>.
18431 [__NR_fadvise64_64]: Make code unconditional.
18432 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
18433 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18434 !__NR_fadvise64_64)]: Likewise.
18435 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18436 !__NR_fadvise64_64))]: Likewise.
18437 [__NR_fadvise64]: Make code unconditional.
18438 [!__NR_fadvise64]: Remove conditional code.
18439 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
18440 <kernel-features.h>.
18441 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18442 unconditional.
18443 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18444 conditional code.
18445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
18446 not include <kernel-features.h>.
18447 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18448 unconditional.
18449 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18450 conditional code.
18451 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
18452 include <kernel-features.h>.
18453 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18454 unconditional.
18455 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18456 conditional code.
18457
14a50c9d
WS
184582012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
18459
18460 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
18461 slight instruction rearrangements per scrollpipe analysis.
18462 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18463
c0f4faf0
RM
184642012-08-20 Roland McGrath <roland@hack.frob.com>
18465
696da859
RM
18466 * manual/syslog.texi (syslog; vsyslog, closelog):
18467 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
18468 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
18469
c0f4faf0
RM
18470 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
18471 DSOCAPS to match condition on defining it.
18472
348363b2
JM
184732012-08-20 Joseph Myers <joseph@codesourcery.com>
18474
a35cbf28
JM
18475 * sysdeps/unix/sysv/linux/kernel-features.h
18476 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
18477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
18478 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18479 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
18481 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18482 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
18484 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18485 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18486
445f7ecd
JM
18487 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
18488 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
18489
348363b2
JM
18490 * sysdeps/unix/sysv/linux/kernel-features.h
18491 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
18492 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
18493 unconditional.
18494 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18495 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
18496 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18497 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18498 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
18499 Make code unconditional.
18500 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18501 (__mmap64) [!__NR_mmap2]: Likewise.
18502 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
18503 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18504 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18505 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
18506 [__NR_mmap2]: Make code unconditional.
18507 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18508 (__mmap64) [!__NR_mmap2]: Likewise.
18509
bc5bc0e5
AK
185102012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18511
18512 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
18513
88d506de
AJ
185142012-08-18 Andreas Jaeger <aj@suse.de>
18515
18516 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
18517
493387d2
MF
185182012-08-18 Mike Frysinger <vapier@gentoo.org>
18519
18520 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
18521 * include/unistd.h (__have_sock_cloexec): Likewise.
18522 (__have_pipe2): Likewise.
18523 (__have_dup3): Likewise.
18524
a277af22
MF
185252012-08-18 Mike Frysinger <vapier@gentoo.org>
18526
18527 [BZ #9685]
18528 * include/unistd.h (__have_pipe2): Change define into an extern int.
18529 (__have_dup3): Likewise.
18530 * socket/have_sock_cloexec.c: Include fcntl.h.
18531 (__have_pipe2): New variable.
18532 (__have_dup3): Likewise.
18533
fdab8fd3
MF
185342012-08-17 Mike Frysinger <vapier@gentoo.org>
18535
18536 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
18537
31035e80
MP
185382012-08-17 Marek Polacek <polacek@redhat.com>
18539
18540 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
18541 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
18542
3bd9e993
RM
185432012-08-17 Roland McGrath <roland@hack.frob.com>
18544
c91c505f
RM
18545 * configure.in: Add AC_SUBST for sysheaders.
18546 * configure: Regenerated.
18547 * config.make.in (sysheaders): New substituted variable.
18548
7c6f9d53
RM
18549 * sysdeps/unix/mkfifo.c: Moved ...
18550 * sysdeps/posix/mkfifo.c: ... here.
18551 * sysdeps/unix/mkfifoat.c: Moved ...
18552 * sysdeps/posix/mkfifoat.c: ... here.
18553
18554 * sysdeps/unix/utime.c: Moved ...
18555 * sysdeps/posix/utime.c: ... here.
18556
18557 * sysdeps/unix/time.c: Moved ...
18558 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
18559 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
18560 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
18561
18562 * sysdeps/unix/nice.c: Moved ...
18563 * sysdeps/posix/nice.c: ... here.
18564
18565 * sysdeps/unix/alarm.c: Moved ...
18566 * sysdeps/posix/alarm.c: ... here.
18567
3bd9e993
RM
18568 * intl/Makefile ($(codeset_mo)): Depend on the input file.
18569
d1f09384
JL
185702012-08-17 Jeff Law <law@redhat.com>
18571
18572 * intl/Makefile (codeset_mo): New variable.
18573 ($(codeset_mo)): New target.
18574 (tst-codeset.out): Depend on that. Remove explicit rule.
18575 (tst-gettext3.out, tst-gettext5.out): Likewise.
18576 (LOCPATH-ENV, tst-codeset-ENV): New variables.
18577 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
18578 * intl/tst-codeset.sh: Remove.
18579 * intl/tst-gettext3.sh: Likewise.
18580 * intl/tst-gettext5.sh: Likewise.
18581
2ae1ae5c
RM
185822012-08-17 Roland McGrath <roland@hack.frob.com>
18583
c31fdb83
RM
18584 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
18585 * sysdeps/unix/syscalls.list: ... here.
18586
a0844057
RM
18587 * sysdeps/posix/getaddrinfo.c
18588 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
18589 (gaiconf_init, gaiconf_reload): Use them.
18590 [!_STATBUF_ST_NSEC]
18591 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
18592 Define using time_t rather than struct timespec.
18593
750c1f2a
RM
18594 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
18595 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
18596 Macros removed.
18597 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
18598 [!NO_THREADS].
18599 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
18600 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
18601 Likewise.
18602
2ae1ae5c
RM
18603 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
18604 __libc_cleanup_push argument.
18605
e66a42f5
RM
18606 * bits/param.h: New file.
18607 * misc/sys/param.h: New file.
18608 * include/sys/param.h: New file.
18609 * misc/Makefile (headers): Add bits/param.h.
18610 * sysdeps/generic/sys/param.h: File removed.
18611 * sysdeps/unix/sysv/linux/bits/param.h: New file.
18612 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
18613 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 18614 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 18615
b7c08a66
RM
18616 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
18617 last change.
18618
b2e1c562
RM
18619 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
18620 [_IO_MTSAFE_IO].
18621 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
18622 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
18623 New macros.
18624
c75ccd4c
RM
18625 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
18626 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
18627 rather than -D_IO_MTSAFE_IO conditionally.
18628 * stdio-common/Makefile (CPPFLAGS): Likewise.
18629 * wcsmbs/Makefile (CPPFLAGS): Likewise.
18630 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
18631 Use $(libio-mtsafe).
18632 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
18633 of -D_IO_MTSAFE_IO.
18634 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
18635 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
18636 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
18637 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
18638 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
18639 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
18640 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
18641 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
18642 (CFLAGS-fread_u_chk.c): Likewise.
18643 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
18644 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
18645 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
18646 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
18647 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
18648 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
18649 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
18650 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
18651 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
18652
18653 * libio/Makefile: Test [$(libc-reentrant) = yes]
18654 instead of [$(filter %REENTRANT, $(defines)) nonempty].
18655
18656 * Makeconfig
18657 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
18658 * sysdeps/pthread/configure: File removed.
18659 * sysdeps/pthread/Makeconfig: New file.
18660 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
18661 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
18662
d9195db8
GB
186632012-08-16 Gary Benson <gbenson@redhat.com>
18664
18665 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
18666 unmapping the first object in a namespace.
18667
86466cd9
RM
186682012-08-16 Roland McGrath <roland@hack.frob.com>
18669
18670 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
18671 (__internal_setnetgrent): ... this. Add internal_function to
18672 definition. Add libc_hidden_def.
18673 (setnetgrent): Update caller.
18674 (internal_endnetgrent): Renamed to ...
18675 (__internal_endnetgrent): ... this. Add internal_function to
18676 definition. Add libc_hidden_def.
18677 (endnetgrent): Update caller.
18678 (internal_getnetgrent_r): Renamed to ...
18679 (__internal_getnetgrent_r): ... this. Add internal_function to
18680 definition. Add libc_hidden_def.
18681 (__getnetgrent_r): Update caller.
18682 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
18683
c3c8283c
JM
186842012-08-16 Joseph Myers <joseph@codesourcery.com>
18685
18686 * stdlib/longlong.h: Update from GCC.
18687
db1ee0a8
RM
186882012-08-16 Roland McGrath <roland@hack.frob.com>
18689
18690 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
18691 on _QL, which is set by umul_ppmm but never used.
18692 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
18693 variables, which are set by GMP macros but never used.
18694 * stdio-common/_itowa.c (_itowa): Likewise.
18695 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
18696 * stdlib/mod_1.c (mpn_mod_1): Likewise.
18697
30f69637
CD
186982012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
18699
18700 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
18701 struct La_sh_regs is not constant.
18702 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
18703 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
18704 and struct La_sparc64_regs are not constant.
18705
93a78ac4
JM
187062012-08-16 Joseph Myers <joseph@codesourcery.com>
18707
18708 * sysdeps/unix/sysv/linux/kernel-features.h
18709 (__ASSUME_POSIX_TIMERS): Remove.
18710 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18711 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18712 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
18713 Make code unconditional.
18714 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18715 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
18716 Make code unconditional.
18717 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18718 * sysdeps/unix/sysv/linux/clock_nanosleep.c
18719 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
18720 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18721 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
18722 Make code unconditional.
18723 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18724 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
18725 (__libc_missing_posix_timers): Remove.
18726
dd924cd7
RM
187272012-08-15 Roland McGrath <roland@hack.frob.com>
18728
4b4f2771
RM
18729 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
18730 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
18731
601c888b
RM
18732 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
18733
176790a7
RM
18734 * elf/dl-sym.c: Include <stdlib.h>.
18735
329bc018
RM
18736 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
18737 constants, which avoids warnings in 32-bit builds.
18738
e04e272d
RM
18739 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
18740 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
18741
952bf94a
RM
18742 * misc/lseek.c: File moved to ...
18743 * io/lseek.c: ... here.
18744
7c99b50a
RM
18745 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
18746
dd924cd7
RM
18747 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
18748 shifting LEN more than 31 bits at once.
18749
b3f479a8
LD
187502012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18751
18752 [BZ #14195]
8c4ae0d4
RM
18753 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
18754 segmentation fault for a case of two empty input strings.
b3f479a8
LD
18755 * string/test-strncasecmp.c (check1): Renamed to...
18756 (bz12205): ...this.
18757 (bz14195): Add new testcase for two empty input strings and N > 0.
18758 (test_main): Call new testcase, adapt for renamed function.
18759
9c55864e
AJ
187602012-08-15 Andreas Jaeger <aj@suse.de>
18761
18762 [BZ #14090]
18763 * crypt/md5test2.c: New test, based on test supplied by Serge
18764 Belyshev <belyshev@depni.sinp.msu.ru>.
18765 * crypt/Makefile (xtests): Add md5test-giant..
18766 * crypt/Makefile ($(objpfx)md5test-giant): Add.
18767
02dcb6c5
PE
187682012-08-15 Paul Eggert <eggert@cs.ucla.edu>
18769
18770 [BZ #14090]
18771 * crypt/md5.c (md5_process_block): Don't assume the buffer
18772 length is less than 2**32.
18773 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
18774 length is less than 2**64.
18775
a3f95dcc
RM
187762012-08-15 Roland McGrath <roland@hack.frob.com>
18777
be75d758
RM
18778 * string/str-two-way.h: Include <sys/param.h>.
18779 (MAX): Macro removed.
18780
7312ca90
RM
18781 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
18782 Move #define and #undef of memmove to just before and after
18783 including <string.h>.
18784
9a0a5486
RM
18785 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
18786 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
18787 and after including <string.h>. Move declarations of
18788 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
18789 to before #include "string/memmove.c".
18790
67cc348d
RM
18791 * include/dirent.h: Declare __getdirentries.
18792
a3f95dcc
RM
18793 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
18794 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
18795
ca98e171
MF
187962012-08-14 Mike Frysinger <vapier@gentoo.org>
18797
18798 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
18799 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
18800 * sysdeps/i386/configure: Regenerated.
18801 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
18802 STABS_CURRENT_FILE, and STABS_FUN.
18803 (END): Remove call to STABS_FUN_END.
18804 (STABS_CURRENT_FILE1): Delete.
18805 (STABS_CURRENT_FILE): Likewise.
18806 (STABS_FUN): Likewise.
18807 (STABS_FUN_END): Likewise.
18808 (STABS_FUN2): Likewise.
18809 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
18810 * sysdeps/x86_64/configure: Regenerated.
18811
5908bf46
RM
188122012-08-14 Roland McGrath <roland@hack.frob.com>
18813
18814 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 18815 * elf/dl-lookup.c: Likewise.
5908bf46 18816
f2c05b9e
JM
188172012-08-14 Joseph Myers <joseph@codesourcery.com>
18818
18819 * sysdeps/unix/sysv/linux/kernel-features.h
18820 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
18821 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
18822 unconditionally.
18823 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
18824 unconditionally.
18825 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
18826 condition on __ASSUME_CLONE_THREAD_FLAGS.
18827
e11f5155
AJ
188282012-08-14 Andreas Jaeger <aj@suse.de>
18829
18830 * sysdeps/i386/fpu/libm-test-ulps: Update.
18831
51a9ba86
MK
188322012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
18833
2fdd4f78
AJ
18834 * include/atomic.h (atomic_exchange_and_add): Split into ...
18835 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
18836 New atomic macros.
51a9ba86 18837
ba6cba9e
MT
188382012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
18839
18840 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18841
42443a47
JL
188422012-08-13 Jeff Law <law@redhat.com>
18843
18844 * manual/stdio.texi (snprintf): Clarify handling of the trailing
18845 null byte in the output string.
18846
121dce05
JM
188472012-08-10 Joseph Myers <joseph@codesourcery.com>
18848
18849 * sysdeps/unix/sysv/linux/kernel-features.h
18850 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
18851 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
18852 (__ASSUME_ARG_MAX_STACK_BASED): Define.
18853 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18854 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
18855 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
18856 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
18857
bf51f568
JL
188582012-08-09 Jeff Law <law@redhat.com>
18859
18860 [BZ #13939]
18861 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
18862 When avoid_arena is set, don't retry in the that arena. Pick the
18863 next one, whatever it might be.
18864 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
18865 (arena_lock): Pass in new parameter to arena_get2.
18866 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
18867 arena_get2.
18868 (__libc_malloc): Unify retrying after main arena failure with
18869 __libc_memalign version.
18870 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
18871
f85fa270
L
188722012-08-09 H.J. Lu <hongjiu.lu@intel.com>
18873
18874 [BZ #14166]
18875 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
18876 to __redirect_strstr.
18877 (__strstr_sse42): Use typeof __redirect_strstr.
18878 (__strstr_ia32): Likewise.
18879 (__libc_strstr): New prototype.
18880 (strstr): Renamed to ...
18881 (__libc_strstr): This.
18882 (strstr): New strong alias of __libc_strstr.
18883 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18884 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
18885 __redirect_time.
18886 Include <time.h>.
18887 (__libc_time): New prototype.
18888 (time_ifunc): Replace time with __libc_time.
18889 (time): New strong alias and hidden definition of __libc_time.
18890 (__GI_time): Remove strong alias.
18891 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
18892 Include <stddef.h>.
18893 (memmove): Redefined to __redirect_memmove.
18894 (__memmove_sse2): Use typeof __redirect_memmove.
18895 (__memmove_ssse3): Likewise.
18896 (__memmove_ssse3_back): Likewise.
18897 (__libc_memmove): New prototype.
18898 (memmove): Renamed to ...
18899 (__libc_memmove): This.
18900 (memmove): New strong alias of __libc_memmove.
18901
33b4a91e
MS
189022012-08-08 Mark Salter <msalter@redhat.com>
18903
18904 * elf/elf.h
18905 (R_MN10300_TLS_GD): Define.
18906 (R_MN10300_TLS_LD): Likewise.
18907 (R_MN10300_TLS_LDO): Likewise.
18908 (R_MN10300_TLS_GOTIE): Likewise.
18909 (R_MN10300_TLS_IE): Likewise.
18910 (R_MN10300_TLS_LE): Likewise.
18911 (R_MN10300_TLS_DTPMOD): Likewise.
18912 (R_MN10300_TLS_DTPOFF): Likewise.
18913 (R_MN10300_TLS_TPOFF): Likewise.
18914 (R_MN10300_SYM_DIFF): Likewise.
18915 (R_MN10300_ALIGN): Likewise.
18916 (R_MN10300_NUM): Update.
18917
b36137f1
JM
189182012-08-08 Joseph Myers <joseph@codesourcery.com>
18919
18920 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
18921 Remove.
18922
cdd915fd
RM
189232012-08-08 Roland McGrath <roland@hack.frob.com>
18924
a2433aac
RM
18925 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
18926
cdd915fd
RM
18927 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
18928 sysdeps/unix -> sysdeps/posix move.
18929 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18930
bf9b740a
AM
189312012-08-07 Allan McRae <allan@archlinux.org>
18932
18933 [BZ #14303]
18934 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
18935 (SUNOS_CPP): Likewise.
18936 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
18937 not found.
18938 (open_input): Call CPP using execvp.
18939
93df14ee
JM
189402012-08-07 Joseph Myers <joseph@codesourcery.com>
18941
18942 * sysdeps/unix/sysv/linux/kernel-features.h
18943 (__ASSUME_PROT_GROWSUPDOWN): Remove.
18944 (__ASSUME_NO_CLONE_DETACHED): Likewise.
18945 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18946 (__ASSUME_WAITID_SYSCALL): Likewise.
18947 * sysdeps/unix/sysv/linux/dl-execstack.c
18948 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
18949 code unconditional.
18950 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
18951 conditional code.
18952 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
18953 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
18954 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
18955 code.
18956 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
18957 unconditional.
18958 [__ASSUME_WAITID_SYSCALL]: Likewise.
18959 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
18960
d34689de
RM
189612012-08-07 Roland McGrath <roland@hack.frob.com>
18962
a281decc
RM
18963 * sysdeps/unix/closedir.c: Renamed to ...
18964 * sysdeps/posix/closedir.c: ... here.
18965 * sysdeps/unix/dirfd.c: Renamed to ...
18966 * sysdeps/posix/dirfd.c: ... here.
18967 * sysdeps/unix/dirstream.h: Renamed to ...
18968 * sysdeps/posix/dirstream.h: ... here.
18969 * sysdeps/unix/fdopendir.c: Renamed to ...
18970 * sysdeps/posix/fdopendir.c: ... here.
18971 * sysdeps/unix/opendir.c: Renamed to ...
18972 * sysdeps/posix/opendir.c: ... here.
18973 * sysdeps/unix/readdir.c: Renamed to ...
18974 * sysdeps/posix/readdir.c: ... here.
18975 * sysdeps/unix/readdir_r.c: Renamed to ...
18976 * sysdeps/posix/readdir_r.c: ... here.
18977 * sysdeps/unix/rewinddir.c: Renamed to ...
18978 * sysdeps/posix/rewinddir.c: ... here.
18979 * sysdeps/unix/seekdir.c: Renamed to ...
18980 * sysdeps/posix/seekdir.c: ... here.
18981 * sysdeps/unix/telldir.c: Renamed to ...
18982 * sysdeps/posix/telldir.c: ... here.
18983 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
18984 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
18985 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
18986 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
18987
22895b47
RM
18988 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
18989 * bits/fcntl.h: ... here.
18990
707a53b6
RM
18991 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
18992 not 0.
18993 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
18994 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
18995 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
18996 (struct flock): Move l_start, l_len to the beginning.
18997 Use __pid_t for l_pid.
18998 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
18999 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
19000 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
19001 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
19002 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
19003 [__USE_LARGEFILE64] (struct flock64): New type.
19004 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
19005
f0bd3e25
RM
19006 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
19007 * bits/dirent.h: ... here.
19008
d34689de
RM
19009 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
19010 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
19011
6dad2c06
JM
190122012-08-07 Joseph Myers <joseph@codesourcery.com>
19013
19014 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19015 Change from 2.6.0 to 2.6.16.
19016 * sysdeps/unix/sysv/linux/configure: Regenerated.
19017 * sysdeps/unix/sysv/linux/kernel-features.h
19018 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
19019 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
19020 version.
19021 (__ASSUME_UTIMES): Likewise.
19022 (__ASSUME_CLONE_STOPPED): Remove.
19023 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
19024 architectures, not kernel version.
19025 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
19026 (__ASSUME_NO_CLONE_DETACHED): Likewise.
19027 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19028 (__ASSUME_WAITID_SYSCALL): Likewise.
19029 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
19030 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
19031 * README: State 2.6.16 as minimum Linux kernel version. Do not
19032 refer to older versions.
19033
03af9520
RM
190342012-08-06 Roland McGrath <roland@hack.frob.com>
19035
8e49df1d
RM
19036 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
19037 Define alphasort64 as an alias.
19038 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
19039 Define versionsort64 as an alias.
19040 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
19041 Define scandir64 as an alias.
19042 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
19043 Define scandirat64 as an alias.
19044 * dirent/alphasort64.c (alphasort64):
19045 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
19046 * dirent/versionsort64.c: Likewise.
19047 * dirent/scandir64.c: Likewise.
19048 * dirent/scandirat64.c: Likewise.
19049 * sysdeps/wordsize-64/alphasort.c: File removed.
19050 * sysdeps/wordsize-64/alphasort64.c: File removed.
19051 * sysdeps/wordsize-64/scandir.c: File removed.
19052 * sysdeps/wordsize-64/scandir64.c: File removed.
19053 * sysdeps/wordsize-64/scandirat.c: File removed.
19054 * sysdeps/wordsize-64/scandirat64.c: File removed.
19055 * sysdeps/wordsize-64/versionsort.c: File removed.
19056 * sysdeps/wordsize-64/versionsort64.c: File removed.
19057 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
19058 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
19059 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
19060 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
19061 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
19062 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
19063 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
19064 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
19065
19066 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
19067 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19068 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
19069 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19070 [defined __arch64__ || defined __sparcv9]
19071 (__INO_T_MATCHES_INO64_T): New macro.
19072 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19073 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
19074 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
19075 * sysdeps/unix/sysv/linux/bits/dirent.h
19076 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
19077 (_DIRENT_MATCHES_DIRENT64): New macro.
19078
03af9520
RM
19079 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
19080 Define lockf64 as an alias.
19081 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
19082 Define fseeko64 as an alias.
19083 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
19084 Define ftello64 as an alias.
19085 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
19086 Define _IO_fgetpos64 and fgetpos64 as aliases.
19087 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
19088 Define _IO_fsetpos64 and fsetpos64 as aliases.
19089 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
19090 Conditionalize body on this.
19091 * libio/fseeko64.c: Likewise.
19092 * libio/ftello64.c: Likewise.
19093 * libio/iofgetpos64.c: Likewise.
19094 * libio/iofsetpos64.c: Likewise.
19095 * sysdeps/wordsize-64/lockf.c: File removed.
19096 * sysdeps/wordsize-64/lockf64.c: File removed.
19097 * sysdeps/wordsize-64/fseeko.c: File removed.
19098 * sysdeps/wordsize-64/fseeko64.c: File removed.
19099 * sysdeps/wordsize-64/ftello.c: File removed.
19100 * sysdeps/wordsize-64/ftello64.c: File removed.
19101 * sysdeps/wordsize-64/iofgetpos.c: File removed.
19102 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
19103 * sysdeps/wordsize-64/iofsetpos.c: File removed.
19104 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
19105 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
19106 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
19107 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
19108 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
19109 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
19110 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
19111 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
19112 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
19113 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
19114 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
19115
19116 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19117 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19118 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
19119 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19120 [defined __arch64__ || defined __sparcv9]
19121 (__OFF_T_MATCHES_OFF64_T): New macro.
19122 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19123 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19124 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19125 (__OFF_T_MATCHES_OFF64_T): New macro.
19126
c5757acd
L
191272012-08-06 H.J. Lu <hongjiu.lu@intel.com>
19128
19129 * stdlib/secure-getenv.c (__secure_getenv): Replace
19130 GLIBC_2_16 with GLIBC_2_17.
19131
3a31811e
L
191322012-08-06 H.J. Lu <hongjiu.lu@intel.com>
19133
19134 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
19135 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19136
faa2bccb
DM
191372012-08-03 David S. Miller <davem@davemloft.net>
19138
19139 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19140
85fe1997
JM
191412012-08-03 Joseph Myers <joseph@codesourcery.com>
19142
19143 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
19144 Remove.
19145 (__ASSUME_CORRECT_SI_PID): Likewise.
19146 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
19147 (__ASSUME_TMPFS_NAME): Likewise.
19148 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
19149 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
19150 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
19151 (HAVE_AUX_SECURE): Make definition unconditional.
19152 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
19153 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
19154
4f75b7a0
RM
191552012-08-03 Roland McGrath <roland@hack.frob.com>
19156
19157 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
19158 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
19159 * sysdeps/mach/hurd/eloop-threshold.h: New file.
19160 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19161 __eloop_threshold instead of SYMLOOP_MAX.
19162
19163 * sysdeps/generic/eloop-threshold.h: New file.
19164 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
19165 of MAXSYMLINKS.
19166 * elf/chroot_canon.c (chroot_canon): Likewise.
19167
7aab07e4
JM
191682012-08-03 Joseph Myers <joseph@codesourcery.com>
19169
19170 [BZ #13717]
19171 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19172 Change to 2.6.0 everywhere.
19173 * sysdeps/unix/sysv/linux/configure: Regenerated.
19174 * sysdeps/unix/sysv/linux/kernel-features.h
19175 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
19176 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
19177 kernel versions.
19178 (__ASSUME_POSIX_TIMERS): Define unconditionally.
19179 (__ASSUME_FUTEX_REQUEUE): Remove.
19180 (__ASSUME_STATFS64): Define unconditionally.
19181 (__ASSUME_AT_SECURE): Likewise.
19182 (__ASSUME_CORRECT_SI_PID): Likewise.
19183 (__ASSUME_TGKILL): Define without depending on kernel version for
19184 i386.
19185 (__ASSUME_UTIMES): Likewise.
19186 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
19187 kernel version.
19188 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
19189 (__ASSUME_TMPFS_NAME): Likewise.
19190 * README: Update reference to Linux kernel versions.
19191
b67e9372
MP
191922012-08-02 Marek Polacek <polacek@redhat.com>
19193
1f529f7d 19194 [BZ# 14150]
b67e9372
MP
19195 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
19196 libc_cv_asm_type_prefix with %.
19197 * configure: Regenerated.
d2441631
RM
19198 * include/libc-symbols.h: Remove comment about
19199 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
19200 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
19201 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
19202 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
19203 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
19204 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19205 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
19206 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
19207 * elf/tst-unique2mod1.c: Likewise.
19208 * elf/tst-unique1mod2.c: Likewise.
19209 * elf/tst-unique1mod1.c: Likewise.
19210 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
19211 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
19212 Replace ASM_TYPE_DIRECTIVE with .type.
19213 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19214 * sysdeps/i386/sysdep.h: Likewise.
19215 * sysdeps/x86_64/sysdep.h: Likewise.
19216 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
19217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19218 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 19219 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
19220 * sysdeps/powerpc/powerpc32/sysdep.h:
19221 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
19222 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19223 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19224 * sysdeps/i386/fpu/e_powf.S: Likewise.
19225 * sysdeps/i386/fpu/e_expl.S: Likewise.
19226 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19227 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19228 * sysdeps/i386/fpu/e_pow.S: Likewise.
19229 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19230 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19231 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19232 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19233 * sysdeps/i386/fpu/e_log2.S: Likewise.
19234 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19235 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19236 * sysdeps/i386/fpu/e_powl.S: Likewise.
19237 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19238 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19239 * sysdeps/i386/fpu/e_logl.S: Likewise.
19240 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19241 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19242 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19243 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19244 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19245 * sysdeps/i386/fpu/e_log.S: Likewise.
19246 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19247 * sysdeps/i386/fpu/e_logf.S: Likewise.
19248 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19249 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19250 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19251 * sysdeps/i386/fpu/e_log10.S: Likewise.
19252 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19253 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19254 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19255 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19256 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19257 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
19258 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19259 * sysdeps/i386/i686/strtok.S: Likewise.
19260 * sysdeps/i386/i386-mcount.S: Likewise.
19261 * sysdeps/i386/strtok.S: Likewise.
19262 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
19263 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19264 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19265 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19266 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19267 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19268 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19269 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19270 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19271 * sysdeps/x86_64/_mcount.S: Likewise.
19272 * sysdeps/x86_64/strtok.S: Likewise.
19273 * sysdeps/sh/_mcount.S: Likewise.
19274
2747bf9a
RM
192752012-08-01 Roland McGrath <roland@hack.frob.com>
19276
19277 * libio/iofopen.c: Include <fcntl.h>.
19278 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
19279 (_IO_fopen64, fopen64): Define as aliases.
19280 * libio/iofopen64.c: Include <fcntl.h>.
19281 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
19282 Conditionalize body on this.
19283 * sysdeps/wordsize-64/iofopen.c: File removed.
19284 * sysdeps/wordsize-64/iofopen64.c: File removed.
19285
3fb791b8
MP
192862012-08-01 Marek Polacek <polacek@redhat.com>
19287
19288 * libc/Makeconfig: Use elf in place of binfmt-subdir.
19289 Use dlfcn directly instead of a variable.
19290 (binfmt-subdir): Do not define.
19291 (dlfcn): Likewise.
19292
a9f1039f
JM
192932012-08-01 Joseph Myers <joseph@codesourcery.com>
19294
23bddc06
JM
19295 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
19296 Remove all definitions.
19297 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
19298 <kernel-features.h>.
19299 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19300 (miss_F_GETOWN_EX): Remove all definitions.
19301 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
19302 macro definition.
19303 [!__ASSUME_FCNTL64]: Remove conditional code.
19304 [__ASSUME_FCNTL64]: Make code unconditional.
19305 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
19306 <kernel-features.h>.
19307 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19308 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
19309 (lockf64) [__NR_fcntl64]: Make code unconditional.
19310 (lockf64) [__ASSUME_FCNTL64]: Likewise.
19311
a9f1039f
JM
19312 * sysdeps/unix/sysv/linux/kernel-features.h
19313 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
19314 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
19315 Make code unconditional.
19316 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19317 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
19319 [__NR_vfork]: Make code unconditional.
19320 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19321 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
19323 [__NR_vfork]: Make code unconditional.
19324 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19325 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19326
09c0ee5f
RM
193272012-08-01 Roland McGrath <roland@hack.frob.com>
19328
48aec5b9
RM
19329 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
19330 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
19331
cd97c966
RM
19332 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19333 Define mkstemp64 as an alias.
3f55550c
RM
19334 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19335 Define mkstemps64 as an alias.
cd97c966
RM
19336 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19337 Define mkostemp64 as an alias.
b8625cfc
RM
19338 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19339 Define mkostemps64 as an alias.
cd97c966
RM
19340 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
19341 Conditionalize body on this.
19342 * misc/mkostemp64.c: Likewise.
b8625cfc 19343 * misc/mkostemps64.c: Likewise.
3f55550c 19344 * misc/mkstemps64.c: Likewise.
cd97c966
RM
19345 * sysdeps/wordsize-64/mkstemp64.c: File removed.
19346 * sysdeps/wordsize-64/mkostemp64.c: File removed.
19347 * sysdeps/wordsize-64/mkostemp.c: File removed.
19348 * sysdeps/wordsize-64/mkstemp.c: File removed.
19349 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
19350 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
19351 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
19352 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
19353
09c0ee5f
RM
19354 [BZ #14138]
19355 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
19356 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
19357 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
19358 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
19359
19360 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
19361 compat_symbol macros from <shlib-compat.h> rather than the underlying
19362 default_symbol_version and symbol_version macros, so that DEFAULT
19363 lines in shlib-versions are respected.
19364 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
19365
7e66ee51
FW
193662012-08-01 Florian Weimer <fweimer@redhat.com>
19367
19368 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
19369 Declare with warn_unused_result.
19370 (setgid, setregid, setegid, setresgid): Likewise.
19371 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
19372 Likewise.
19373 * WUR-REPORT: Remove set*id functions.
19374
d2a54255
PT
193752012-07-31 Pino Toscano <toscano.pino@tiscali.it>
19376
19377 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
19378
7ecdb005
RM
193792012-07-31 Roland McGrath <roland@hack.frob.com>
19380
b4180a5e 19381 [BZ #10191]
789bd351
RM
19382 * include/sys/socket.h (__libc_accept, __libc_accept4):
19383 Add attribute_hidden.
19384 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
19385
40ce302d
RM
19386 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
19387 use of PTR_MANGLE.
19388 * inet/getnetgrent_r.c (setup): Likewise.
19389
7ecdb005
RM
19390 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
19391
e2eabb2c
DM
193922012-07-31 David S. Miller <davem@davemloft.net>
19393
19394 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19395
d0419dbf
JM
193962012-07-31 Joseph Myers <joseph@codesourcery.com>
19397
19398 [BZ #13629]
19399 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
19400 value between 1.0 and 2.0 and smaller part has absolute value less
19401 than 1.0.
19402 * math/s_clog10.c (__clog10): Likewise.
19403 * math/s_clog10f.c (__clog10f): Likewise.
19404 * math/s_clog10l.c (__clog10l): Likewise.
19405 * math/s_clogf.c (__clogf): Likewise.
19406 * math/s_clogl.c (__clogl): Likewise.
19407 * math/libm-test.inc (clog_test): Add more tests.
19408 (clog10_test): Likewise.
19409 * sysdeps/i386/fpu/libm-test-ulps: Update.
19410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19411
2bc13872
FW
194122012-07-31 Florian Weimer <fweimer@redhat.com>
19413
19414 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
19415 Exit with zero in case no suitable GID is found, and write a
19416 message to standard error.
19417
bea9b193
RM
194182012-07-30 Roland McGrath <roland@hack.frob.com>
19419
19420 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
19421 rather than to 1.
19422 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
19423 (MAXPATHLEN): Removed.
19424 (NOGROUP, NODEV): New macros.
19425 (setbit, clrbit, isset, isclr): New macros.
19426 (howmany, roundup, powerof2): New macros.
19427 (DEV_BSIZE): New macro.
19428
19429 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
19430 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
19431
19432 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
19433 definition on [!__NO_LONG_DOUBLE_MATH].
19434
19435 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
19436 PTR_MANGLE and PTR_DEMANGLE.
19437
19438 * socket/accept4.c (accept4): Rename to __libc_accept4.
19439 Define accept4 as a weak alias.
19440
19441 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
19442 on [_DIRENT_HAVE_D_TYPE].
19443 * io/ftw.c (ftw_dir): Likewise.
19444
19445 * io/xmknod.c (__xmknod): Don't check PATH for being null.
19446
19447 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
19448
19449 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
19450 Use the BSD numbers rather than the arbitrary ones we had.
19451 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
19452 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
19453 (SIGXCPU, SIGXFSZ): New macros.
19454 (_NSIG): Now 32.
19455
19456 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
19457 initializer on [_LIBC_REENTRANT].
19458
19459 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
19460 definitions inside [_POSIX_MAPPED_FILES].
19461
19462 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
19463
19464 * dirent/opendir.c: Include <fcntl.h>.
19465
19466 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
19467 (__libc_getspecific): Likewise.
19468 (__libc_key_create): Likewise.
19469
19470 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
19471 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
19472 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
19473 (tmpfile64): Define as alias.
19474 * sysdeps/wordsize-64/tmpfile.c: File removed.
19475 * sysdeps/wordsize-64/tmpfile64.c: File removed.
19476 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
19477 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
19478
19479 * stdio-common/vfscanf.c: Include <stdbool.h>.
19480 * nss/makedb.c: Likewise.
19481 * stdio-common/_i18n_number.h: Likewise.
19482 * argp/argp-help.c: Likewise.
19483 * posix/wordexp.c: Likewise.
19484 * sysdeps/posix/spawni.c: Likewise.
19485 * nss/nss_files/files-initgroups.c: Likewise.
19486 * stdio-common/reg-modifier.c: Include <stdlib.h>.
19487 * nss/nss_files/files-initgroups.c: Likewise.
19488 * nss/nss_db/db-netgrp.c: Likewise.
19489 * nss/nss_db/db-initgroups.c: Likewise.
19490 * io/fchmodat.c: Include <sys/stat.h>.
19491
19492 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
19493 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
19494
19495 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
19496 [HAVE_MMAP].
19497
19498 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
19499 Add multiple inclusion protection.
19500
e5abc686
DM
195012012-07-27 David S. Miller <davem@davemloft.net>
19502
19503 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19504
815e6fa3
GB
195052012-07-27 Gary Benson <gbenson@redhat.com>
19506
19507 [BZ #14298]
19508 * elf/rtld.c: Include <stap-probe.h>.
19509 (dl_main): Added static probes "init_start" and "init_complete".
19510 * elf/dl-load.c: Include <stap-probe.h>.
19511 (lose): Take new parameter "nsid".
19512 Added static probe "map_failed".
19513 (_dl_map_object_from_fd): Pass namespace id to lose.
19514 Added static probe "map_start".
19515 (open_verify): Pass namespace id to lose.
19516 * elf/dl-open.c: Include <stap-probe.h>.
19517 (dl_open_worker) Added static probes "map_complete", "reloc_start"
19518 and "reloc_complete".
19519 * elf/dl-close.c: Include <stap-probe.h>.
19520 (_dl_close_worker): Added static probes "unmap_start" and
19521 "unmap_complete".
19522 * elf/rtld-debugger-interface.txt: New file documenting the above.
19523
9f98c16c
RM
195242012-07-26 Roland McGrath <roland@hack.frob.com>
19525
19526 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
19527 rather than a string variable.
19528 * sunrpc/rpc_main.c (h_output): Likewise.
19529 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
19530
f3c22df3
PT
195312012-07-26 Pino Toscano <toscano.pino@tiscali.it>
19532
19533 * inet/check_native.c: New file.
19534
3129cfc6
JM
195352012-07-26 Joseph Myers <joseph@codesourcery.com>
19536
da865e95
JM
19537 [BZ #13629]
19538 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
19539 if larger part has absolute value 1.0.
19540 * math/s_clog10.c (__clog10): Likewise.
19541 * math/s_clog10f.c (__clog10f): Likewise.
19542 * math/s_clog10l.c (__clog10l): Likewise.
19543 * math/s_clogf.c (__clogf): Likewise.
19544 * math/s_clogl.c (__clogl): Likewise.
19545 * math/libm-test.inc (clog_test): Add more tests.
19546 (clog10_test): Likewise.
19547 * sysdeps/i386/fpu/libm-test-ulps: Update.
19548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19549
3129cfc6
JM
19550 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
19551 (pltexit): Likewise.
19552 (La_regs): Likewise.
19553 (La_retval): Likewise.
19554 (int_retval): Likewise.
19555 Update #error for removed macros to refer only to definitions in
19556 tst-audit.h.
19557 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
19558 macro.
19559 (pltexit): Likewise.
19560 (La_regs): Likewise.
19561 (La_retval): Likewise.
19562 (int_retval): Likewise.
19563 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
19564 macro.
19565 (pltexit): Likewise.
19566 (La_regs): Likewise.
19567 (La_retval): Likewise.
19568 (int_retval): Likewise.
19569 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
19570 macro.
19571 (pltexit): Likewise.
19572 (La_regs): Likewise.
19573 (La_retval): Likewise.
19574 (int_retval): Likewise.
19575 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
19576 macro.
19577 (pltexit): Likewise.
19578 (La_regs): Likewise.
19579 (La_retval): Likewise.
19580 (int_retval): Likewise.
19581 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
19582 macro.
19583 (pltexit): Likewise.
19584 (La_regs): Likewise.
19585 (La_retval): Likewise.
19586 (int_retval): Likewise.
19587 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
19588 macro.
19589 (pltexit): Likewise.
19590 (La_regs): Likewise.
19591 (La_retval): Likewise.
19592 (int_retval): Likewise.
19593 * sysdeps/generic/tst-audit.h: Update comment to refer only to
19594 macro definitions in tst-audit.h.
19595 * sysdeps/i386/tst-audit.h: New file.
19596 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
19597 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
19598 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
19599 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
19600 * sysdeps/sh/tst-audit.h: Likewise.
19601 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
19602 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
19603 * sysdeps/x86_64/tst-audit.h: Likewise.
19604
bfc07087
AJ
196052012-07-26 Andreas Jaeger <aj@suse.de>
19606
b1b2aaf8
AJ
19607 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
19608 ptrace.
19609
19610 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
19611 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
19612 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
19613 PTRACE_O_MASK.
19614 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
19615 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
19616 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
19617
bfc07087
AJ
19618 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
19619 value.
19620
19621 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
19622 _sigsys.
19623 (si_call_addr, si_syscall, si_arch): Define new macro.
19624 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
19625 _sigsys.
19626 (si_call_addr, si_syscall, si_arch): Define new marcro.
19627 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
19628 _sigsys.
19629 (si_call_addr, si_syscall, si_arch): Define new macro.
19630 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
19631 _sigsys.
19632 (si_call_addr, si_syscall, si_arch): Define new macro.
19633
89b4b02f
JM
196342012-07-25 Joseph Myers <joseph@codesourcery.com>
19635
19636 [BZ #13717]
19637 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19638 Change to 2.4.21 where previously 2.4.1.
19639 * sysdeps/unix/sysv/linux/configure: Regenerated.
19640 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
19641 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
19642 Linux kernel version.
19643 (__ASSUME_STD_AUXV): Remove.
19644 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
19645 kernel version.
19646 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
19647 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
19648 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
19649 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
19650 (__ASSUME_NETLINK_SUPPORT): Likewise.
19651 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
19652 (__no_netlink_support): Remove conditional definition.
19653 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
19654 Remove.
19655 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19656 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
19657 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
19658 (if_nameindex_ioctl): Remove.
19659 (if_nameindex_netlink): Do not handle __no_netlink_support.
19660 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19661 code.
19662 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
19663 Remove conditional code.
19664 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19665 code.
19666 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
19667 unconditional.
19668 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19669 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
19670 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
19671 Remove.
19672 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
19673 [!__ASSUME_STD_AUXV]: Remove conditional code.
19674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
19675 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
19676 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
19677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
19678 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
19679 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19680 code.
19681 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19683 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
19684 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19685 conditional code.
19686 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19688 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19689 code.
19690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19691 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19692 conditional code.
19693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
19694 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19695 code unconditional.
19696 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19697 conditional code.
19698 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19699 unconditional.
19700 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19701 conditional code.
19702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19703 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19704 unconditional.
19705 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19706 conditional code.
19707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
19708 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19709 code unconditional.
19710 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19711 conditional code.
19712 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19713 unconditional.
19714 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19715 conditional code.
19716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
19717 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19718 code unconditional.
19719 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19720 conditional code.
19721 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19722 unconditional.
19723 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19724 conditional code.
19725
842a39cd
AS
197262012-07-25 Andreas Schwab <schwab@linux-m68k.org>
19727
19728 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
19729 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
19730 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
19731 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
19732 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
19733 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
19734 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
19735 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
19736 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
19737 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
19738 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
19739 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
19740 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
19741 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
19742 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
19743 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
19744 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
19745 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
19746 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
19747 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
19748 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
19749 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
19750 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19751
84b3fd84
FW
197522012-07-25 Florian Weimer <fweimer@redhat.com>
19753
19754 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
19755 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
19756 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
19757 Introduce __libc_secure_getenv.
0c7936d5
FW
19758 * stdlib/Versions (2.17): Add secure_getenv
19759 (GLIBC_PRIVATE): Add __libc_secure_getenv.
19760 * stdlib/secure-getenv.c: Rename __secure_getenv to
19761 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
19762 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
19763 * stdlib/tst-secure-getenv.c: New.
19764 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
19765 * manual/startup.texi (Environment Access): Document
19766 secure_getenv.
84b3fd84
FW
19767 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
19768 __libc_secure_getenv.
19769 * inet/ruserpass.c (ruserpass): Likewise.
19770 * malloc/mtrace.c (mtrace): Likewise.
19771 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 19772 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
19773 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
19774 * sysdeps/posix/tempname.c: Likewise. Evaluate
19775 HAVE_SECURE_GETENV.
19776 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 19777 __secure_getenv to __libc_secure_getenv.
84b3fd84 19778 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
19779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19780 Likewise.
19781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19782 Likewise.
19783 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19784 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19785 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19786 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19787 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19788 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19789 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 19790
56e49b71
JM
197912012-07-25 Joseph Myers <joseph@codesourcery.com>
19792
19793 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
19794 (struct La_i86_retval): Likewise.
19795 (struct La_x86_64_regs): Likewise.
19796 (struct La_x86_64_retval): Likewise.
19797 (struct La_x32_regs): Likewise.
19798 (struct La_x32_retval): Likewise.
19799 (struct La_ppc32_regs): Likewise.
19800 (struct La_ppc32_retval): Likewise.
19801 (struct La_ppc64_regs): Likewise.
19802 (struct La_ppc64_retval): Likewise.
19803 (struct La_sh_regs): Likewise.
19804 (struct La_sh_retval): Likewise.
19805 (struct La_s390_32_regs): Likewise.
19806 (struct La_s390_32_retval): Likewise.
19807 (struct La_s390_64_regs): Likewise.
19808 (struct La_s390_64_retval): Likewise.
19809 (struct La_sparc32_regs): Likewise.
19810 (struct La_sparc32_retval): Likewise.
19811 (struct La_sparc64_regs): Likewise.
19812 (struct La_sparc64_retval): Likewise.
19813 (struct audit_ifaces): Remove architecture-specific pltenter and
19814 pltexit members.
19815 * sysdeps/i386/ldsodefs.h: New file.
19816 * sysdeps/powerpc/ldsodefs.h: Likewise.
19817 * sysdeps/s390/ldsodefs.h: Likewise.
19818 * sysdeps/sh/ldsodefs.h: Likewise.
19819 * sysdeps/sparc/ldsodefs.h: Likewise.
19820 * sysdeps/x86_64/ldsodefs.h: Likewise.
19821
354691b7
MP
198222012-07-25 Marek Polacek <polacek@redhat.com>
19823
19824 [BZ #6808]
19825 * math/libm-test.inc (yn_test): Add another test.
19826 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
19827 to ERANGE when the result is +-Inf.
19828 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19829 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
19830 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
19831 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
19832
bf9e2071
JM
198332012-07-24 Joseph Myers <joseph@codesourcery.com>
19834
19835 * conform/data/time.h-data (NULL): Use macro-constant. Require
19836 equal to 0.
19837 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
19838 clock_t.
19839 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
19840
57633811
TS
198412012-07-23 Thomas Schwinge <thomas@codesourcery.com>
19842
19843 * configure.in <sysdeps resolving>: Correct printing
19844 Implies_before.
19845 * configure: Regenerate.
19846
c23c33b0
TS
198472012-07-22 Thomas Schwinge <thomas@codesourcery.com>
19848
19849 * math/w_ilogb.c: Include <limits.h>.
19850 * math/w_ilogbl.c: Likewise.
19851
b5982523
JM
198522012-07-20 Joseph Myers <joseph@codesourcery.com>
19853
19854 * manual/lang.texi (__va_copy): Document primarily as ISO C99
19855 va_copy. Document allowing for unavailable va_copy only as
19856 pre-C99 compatibility.
19857 * manual/string.texi (Copying and Concatenation): Use va_copy
19858 instead of __va_copy in concat example.
19859
ac4ea442
PT
198602012-07-20 Pino Toscano <toscano.pino@tiscali.it>
19861
19862 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
19863 (__sendto): Use create_address_port. Initialize APORT and deallocate
19864 it if not null.
19865
f98eafbd
PT
19866 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
19867 with O_NOLINK passed to __file_name_lookup.
19868
898c7aab
PT
19869 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
19870 with O_NOLINK passed to __file_name_lookup.
19871
0ced335a
PT
19872 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
19873 negative N or less than NGIDS.
19874
b3404dbd
PT
19875 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
19876 type to string_t. Set ERANGE as errno and return it if NAME is not big
19877 enough. Use memcpy instead of strncpy.
19878
0f48659e
JM
198792012-07-20 Joseph Myers <joseph@codesourcery.com>
19880
19881 * elf/Makefile (check-data): Remove.
19882 (localplt.data): New vpath directive.
19883 ($(objpfx)check-localplt.out): Use localplt.data from vpath
19884 instead of $(check-data).
19885 * scripts/data/localplt-generic.data: Move to ...
19886 * sysdeps/generic/localplt.data: ... here.
19887 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
19888 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
19889 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
19890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
19891 ... here.
19892 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
19893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
19894 ... here.
19895 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
19896 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
19897 ... here.
19898 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
19899 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
19900 ... here.
19901 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
19902 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
19903 ... here.
19904 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
19905 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
19906 ... here.
19907
d37cbdaa
AZ
199082012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19909
19910 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
19911 PPC32 and PPC64 files.
19912 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
19913 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
19914
46f85fc2
AK
199152012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19916
19917 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
19918 __makecontext_ret to ...
19919 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
19920 ... here and call exit if uc_link is NULL. New file.
19921 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
19922 __makecontext_ret.S.
19923 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
19924 __makecontext_ret to ...
19925 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
19926 ... here and call exit if uc_link is NULL. New file.
19927 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
19928 __makecontext_ret.S.
19929
08f43f9b
AK
199302012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19931
19932 * elf/elf.h (R_390_IRELATIVE): New definition.
19933 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
19934 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
19935 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
19936 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19937 (elf_machine_lazy_rel): Likewise.
19938 * sysdeps/s390/dl-irel.h: New file.
19939 * sysdeps/s390/s390-64/memcpy.S: New asm code.
19940 * sysdeps/s390/s390-64/memset.S: New asm code.
19941 * sysdeps/s390/s390-64/memcmp.S: New asm code.
19942 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
19943 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
19944 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
19945 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
19946 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
19947 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
19948 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
19949 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
19950 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
19951 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
19952 * sysdeps/s390/s390-32/memcpy.S: New asm code.
19953 * sysdeps/s390/s390-32/memset.S: New asm code.
19954 * sysdeps/s390/s390-32/memcmp.S: New asm code.
19955
3b05db33
MP
199562012-07-17 Marek Polacek <polacek@redhat.com>
19957
19958 [BZ #14349]
19959 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
19960 * sysdeps/s390/s390-64/configure.in: Likewise.
19961 * sysdeps/sparc/configure.in: Likewise.
19962 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
19963 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
19964 * sysdeps/i386/configure.in: Likewise.
19965 * sysdeps/x86_64/configure.in: Likewise.
19966 * sysdeps/sh/configure.in: Likewise.
19967 * sysdeps/s390/s390-32/configure: Regenerated.
19968 * sysdeps/s390/s390-64/configure: Likewise.
19969 * sysdeps/x86_64/configure: Likewise.
19970 * sysdeps/sh/configure: Likewise.
19971 * sysdeps/powerpc/powerpc64/configure: Likewise.
19972 * sysdeps/powerpc/powerpc32/configure: Likewise.
19973 * sysdeps/sparc/configure: Likwise.
19974 * sysdeps/i386/configure: Likewise.
19975
a66877c6
MP
19976 * elf/dl-open.c: Comment fixes.
19977
cfc82fd8
JM
199782012-07-17 Joseph Myers <joseph@codesourcery.com>
19979
bd29910a
JM
19980 * Makefile [CXX] (check-data): Remove.
19981 [CXX] (c++-types.data): New vpath directive.
19982 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
19983 vpath. Do not allow for C++ type data being missing.
19984 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
19985 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
19986 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
19987 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
19988 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
19989 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
19990 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
19991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
19992 ... here.
19993 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
19994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
19995 ... here.
19996 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
19997 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
19998 ... here.
19999 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
20000 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
20001 ... here.
20002 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
20003 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
20004 ... here.
20005 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
20006 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
20007 ... here.
20008 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
20009 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
20010 ... here.
20011 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
20012 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
20013
cfc82fd8
JM
20014 * elf/tls-macros.h (TLS_LE): Move architecture-specific
20015 definitions to architecture-specific files.
20016 (TLS_IE): Likewise.
20017 (TLS_LD): Likewise.
20018 (TLS_GD): Likewise.
20019 * sysdeps/i386/tls-macros.h: New file.
20020 * sysdeps/powerpc/tls-macros.h: Likewise.
20021 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
20022 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
20023 * sysdeps/sh/tls-macros.h: Likewise.
20024 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
20025 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
20026 * sysdeps/x86_64/tls-macros.h: Likewise.
20027
f7db3170
TS
200282012-07-17 Thomas Schwinge <thomas@codesourcery.com>
20029
07cbfc23
TS
20030 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
20031 zero value for regular exit case.
20032
f7db3170
TS
20033 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20034 (__start_context): Preserve zero value for regular exit case.
20035
dc97c227
TS
200362012-07-17 Thomas Schwinge <thomas@codesourcery.com>
20037 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20038
20039 * manual/setjmp.texi (setcontext): Clarify normal process
20040 termination when uc_link is the null pointer.
20041 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
20042 exit call.
20043
d0cd7d02
AS
200442012-07-16 Andreas Schwab <schwab@linux-m68k.org>
20045
20046 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
20047 preprocessor. Test for each exception mask separately.
20048
dd318934
AJ
200492012-07-16 Andreas Jaeger <aj@suse.de>
20050
20051 * po/ru.po: Update from translation team.
20052
8048311a
JM
200532012-07-15 Joseph Myers <joseph@codesourcery.com>
20054
20055 * conform/data/string.h-data (NULL): Use macro-constant. Require
20056 equal to 0.
20057 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20058 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20059 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
20060 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
20061 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20062
b637d46e
AJ
200632012-07-13 Andreas Jaeger <aj@suse.de>
20064
20065 * po/fr.po: Update from translation team.
20066
541428fe
MP
200672012-07-12 Marek Polacek <polacek@redhat.com>
20068
20069 [BZ #14173]
20070 * math/libm-test.inc (yn_test): Add test for BZ #14173.
20071 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
20072 loop condition.
20073
ec332e94
JM
200742012-07-12 Joseph Myers <joseph@codesourcery.com>
20075
20076 [BZ #13717]
20077 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20078 Change to 2.4.1 where previously 2.4.0.
20079 * sysdeps/unix/sysv/linux/configure: Regenerated.
20080 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
20081 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
20082 version.
20083 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
20084 (__ASSUME_AT_CLKTCK): Remove.
20085 (__ASSUME_AT_PAGESIZE): Likewise.
20086 (__ASSUME_AT_XID): Likewise.
20087 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
20088 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
20089 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
20090 unconditionally.
20091 (HAVE_AUX_PAGESIZE): Likewise.
20092 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
20093 [__ASSUME_AT_CLKTCK]: Make code unconditional.
20094 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
20095
7b6e99be
JB
200962012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
20097
20098 [BZ #14307]
20099 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
20100 the temporary buffer used to invoke __gethostbyname2_r,
20101 __gethostbyaddr_r and gethostbyname4_r to make room for struct
20102 host_data / struct gaih_addrtuple.
20103 * resolv/nss_dns/dns-host.c (global scope): Move definition of
20104 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
20105 header file nss/nsswitch.h.
20106 * nss/nsswitch.h (global scope): Add definition of implementation
20107 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
20108 resolv/nss_dns/dns-host.c).
20109
608404eb
AJ
201102012-07-11 Andreas Jaeger <aj@suse.de>
20111
20112 * po/fr.po: Update from translation team.
20113
71220aca
AJ
20114 * po/sv.po: Update from translation team
20115 * po/fr.po: Another update from translation team.
20116
28cfe843
AZ
201172012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20118
20119 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
20120 for subnormals or multiply small sinh result by itself.
20121 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20122 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20123
6b90f981
DM
201242012-07-11 David S. Miller <davem@davemloft.net>
20125
20126 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20127
c6825772
AS
201282012-07-10 Andreas Schwab <schwab@linux-m68k.org>
20129
20130 [BZ #14347]
20131 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
20132 (INTERNAL_MARK): Shift it here.
20133
7b8e0d49
MP
201342012-07-10 Marek Polacek <polacek@redhat.com>
20135
20136 [BZ #14151]
20137 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
20138 libc_cv_asm_global_directive with .globl.
20139 * configure: Regenerated.
20140 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
20141 with .globl.
20142 * sysdeps/i386/configure: Regenerated.
20143 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
20144 with .globl.
20145 * sysdeps/x86_64/configure: Regenerated.
20146 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
20147 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
20148 * elf/tst-unique2mod2.c: Likewise.
20149 * elf/tst-unique2mod1.c: Likewise.
20150 * elf/tst-unique1mod2.c: Likewise.
20151 * elf/tst-unique1mod1.c: Likewise.
20152 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20153 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20154 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20155 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20156 * sysdeps/mach/sysdep.h: Likewise.
20157 * sysdeps/i386/sysdep.h: Likewise.
20158 * sysdeps/i386/i386-mcount.S: Likewise.
20159 * sysdeps/x86_64/_mcount.S: Likewise.
20160 * sysdeps/x86_64/sysdep.h: Likewise.
20161 * sysdeps/sh/_mcount.S: Likewise.
20162 * sysdeps/sh/sysdep.h: Likewise.
20163 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
20164 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
20165 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
20166 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20167 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
20168 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
20169 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
20170 * locale/localeinfo.h: Likewise.
20171 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
20172 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
20173
6c55cda3
RM
201742012-07-09 Roland McGrath <roland@hack.frob.com>
20175
20176 [BZ #14336]
20177 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
20178 system".
20179 * manual/message.texi (The Uniforum approach): Likewise.
20180 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
20181 (glibc iconv Implementation): Likewise.
20182
638a572e
JM
201832012-07-09 Joseph Myers <joseph@codesourcery.com>
20184
20185 [BZ #14337]
20186 * math/s_clog.c (__clog): Avoid scaling a value down where that
20187 could result in underflow.
20188 * math/s_clog10.c (__clog10): Likewise.
20189 * math/s_clog10f.c (__clog10f): Likewise.
20190 * math/s_clog10l.c (__clog10l): Likewise.
20191 * math/s_clogf.c (__clogf): Likewise.
20192 * math/s_clogl.c (__clogl): Likewise.
20193 * math/libm-test.inc (clog_test): Add more tests.
20194 (clog10_test): Likewise.
20195 * sysdeps/i386/fpu/libm-test-ulps: Update.
20196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20197
261f4859
AS
201982012-07-06 Andreas Schwab <schwab@linux-m68k.org>
20199
0abaf3e4
AS
20200 [BZ #14283]
20201 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
20202 by 7 not 8 to examine high bit of fractional part.
20203
261f4859
AS
20204 [BZ #14042]
20205 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
20206 for call to __mcount_internal.
20207 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
20208 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
20209 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
20210
f17ac40d
JM
202112012-07-06 Joseph Myers <joseph@codesourcery.com>
20212
9ad63c23
JM
20213 [BZ #14154]
20214 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
20215 approximation for values within 0x1p-13f of an odd multiple of
20216 pi/4.
20217 * math/libm-test.inc (tan_test): Do not allow spurious underflow
20218 exception. Add more tests.
20219 * sysdeps/i386/fpu/libm-test-ulps: Update.
20220
f17ac40d
JM
20221 [BZ #6778]
20222 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
20223 inputs and return -1 for them. Do not check for +Inf in case not
20224 reachable for +Inf.
20225 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20226 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
20227 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20228 and return -1 for them. Do not check for +Inf in case not
20229 reachable for +Inf.
20230 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
20231 define.
20232 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20233 and return -1 for them. Do not check for +Inf in case not
20234 reachable for +Inf.
20235 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
20236 spurious underflow.
20237 * sysdeps/i386/fpu/libm-test-ulps: Update.
20238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20239
fb21f89b
MF
202402012-07-06 Mike Frysinger <vapier@gentoo.org>
20241
20242 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
20243
cdfe2c5e
JM
202442012-07-05 Joseph Myers <joseph@codesourcery.com>
20245
20246 [BZ #14157]
20247 [BZ #14331]
20248 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
20249 could result in spurious underflow. Scale down values above
20250 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
20251 * math/s_csqrtf.c (__csqrtf): Likewise.
20252 * math/s_csqrtl.c (__csqrtl): Likewise.
20253 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
20254 spurious underflow.
20255 * sysdeps/i386/fpu/libm-test-ulps: Update.
20256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20257
70d35b67
AS
202582012-07-04 Andreas Schwab <schwab@linux-m68k.org>
20259
704bc459
AS
20260 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
20261 xopen-msg.sed.
20262 * catgets/xopen-msg.awk: New file.
20263 * catgets/xopen-msg.sed: Removed.
20264
70d35b67
AS
20265 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
20266 po2text.sed.
20267 * intl/po2test.awk: New file.
20268 * intl/po2test.sed: Removed.
20269
ca61cf32
JM
202702012-07-04 Joseph Myers <joseph@codesourcery.com>
20271
20272 [BZ #14328]
20273 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
20274 or multiply small sinh result by itself.
20275 * math/s_ctanf.c (__ctanf): Likewise.
20276 * math/s_ctanh.c (__ctanh): Likewise.
20277 * math/s_ctanhf.c (__ctanhf): Likewise.
20278 * math/s_ctanhl.c (__ctanhl): Likewise.
20279 * math/s_ctanl.c (__ctanl): Likewise.
20280 * math/libm-test.inc (ctan_test_tonearest): New function.
20281 (ctan_test_towardzero): Likewise.
20282 (ctan_test_downward): Likewise.
20283 (ctan_test_upward): Likewise.
20284 (ctanh_test_tonearest): Likewise.
20285 (ctanh_test_towardzero): Likewise.
20286 (ctanh_test_downward): Likewise.
20287 (ctanh_test_upward): Likewise.
20288 (main): Call these new functions.
20289 * sysdeps/i386/fpu/libm-test-ulps: Update.
20290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20291
ca48a46a
MF
202922012-07-03 Mike Frysinger <vapier@gentoo.org>
20293
20294 * .gitignore: Delete /ports entry.
20295
9d63d37d
AJ
202962012-07-03 Andreas Jaeger <aj@suse.de>
20297
20298 * po/bg.po: Update from translation team.
20299 * po/cs.po: Likewise.
20300 * po/de.po: Likewise.
20301 * po/hr.po: Likewise.
20302 * po/nl.pl: Likewise.
20303 * po/pl.po: Likewise.
20304 * po/vi.po: Likewise.
20305
370ca3d2
JM
203062012-07-03 Joseph Myers <joseph@codesourcery.com>
20307
95f5a9a8
JM
20308 * Makeconfig [!+link] (+link-before-libc): New variable.
20309 [!+link] (+link-after-libc): Likewise.
20310 [!+link] (+link-tests): Likewise.
20311 [!+link] (+link): Define in terms of $(+link-before-libc) and
20312 $(+link-after-libc).
20313 [!+link-static] (+link-static-before-libc): New variable.
20314 [!+link-static] (+link-static-after-libc): Likewise.
20315 [!+link-static] (+link-static-tests): Likewise.
20316 [!+link-static] (+link-static): Define in terms of
20317 $(+link-static-before-libc) and $(+link-static-after-libc).
20318 [build-shared] (link-libc-before-gnulib): New variable.
20319 [build-shared] (link-libc-tests): Likewise.
20320 [build-shared] (link-libc): Define in terms of
20321 $(link-libc-before-gnulib).
20322 [!build-shared] (link-libc-tests): New variable.
20323 (link-libc-static-tests): New variable.
20324 [!gnulib] (gnulib-arch): New variable.
20325 [!gnulib] (gnulib-tests): Likewise.
20326 [!gnulib] (static-gnulib-arch): Likewise.
20327 [!gnulib] (static-gnulib-tests): Likewise.
20328 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
20329 Define with "=" instead of ":=".
20330 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
20331 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
20332 * Rules (binaries-all-notests): New variable.
20333 (binaries-all-tests): Likewise.
20334 (binaries-static-notests): Likewise.
20335 (binaries-static-tests): Likewise.
20336 (binaries-all): Define using $(binaries-all-notests) and
20337 $(binaries-all-tests).
20338 (binaries-static): Define using $(binaries-static-notests) and
20339 $(binaries-static-tests).
20340 (binaries-shared-tests): New variable.
20341 (binaries-shared-notests): Likewise.
20342 (binaries-shared): Remove variable.
20343 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
20344 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
20345 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
20346 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
20347 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
20348 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
20349 * elf/Makefile (sln-modules): New variable.
20350 (extra-objs): Add $(sln-modules:=.o).
20351 (ldconfig-modules): Add static-stubs.
20352 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
20353 * elf/static-stubs.c: New file.
20354
7a845b2c
JM
20355 [BZ #14283]
20356 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
20357 by 7 not 8 to examine high bit of fractional part. Use volatile
20358 variables when splitting into final array of floats if
20359 __FLT_EVAL_METHOD__ != 0.
20360 * math/libm-test.inc (cos_test): Add another test.
20361 (sin_test): Likewise.
20362 * sysdeps/i386/fpu/libm-test-ulps: Update.
20363
e2283f38
JM
20364 [BZ #14273]
20365 * math/libm-test.inc (cosh_test): Add more tests.
20366
370ca3d2
JM
20367 * version.h (RELEASE): Set to "development".
20368 (VERSION): Set to "2.16.90".
20369
ee9247c3
CD
203702012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
20371
20372 * NEWS: Update copyright. Remove last-updated date.
20373 Mention math library bug fixes and timezone data changes.
20374 * README: Mention GNU/Hurd, x32, and HPPA support status.
20375
4648c381
TS
203762012-06-28 Thomas Schwinge <thomas@codesourcery.com>
20377
20378 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
20379
aac78a43
AJ
203802012-06-27 Andreas Jaeger <aj@suse.de>
20381
20382 * manual/contrib.texi (Contributors): Add Samuel Thibault.
20383
ed3dbfad
AJ
203842012-06-25 Andreas Jaeger <aj@suse.de>
20385
20386 * sysdeps/s390/fpu/libm-test-ulps: Update.
20387
4d0ee855
AS
203882012-06-23 Andreas Schwab <schwab@linux-m68k.org>
20389 Thomas Schwinge <thomas@codesourcery.com>
20390
20391 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
20392 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
20393 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
20394 fanotify_mark.
20395
af1bce34
TS
203962012-06-23 Thomas Schwinge <thomas@codesourcery.com>
20397
a9fa33ba
TS
20398 * sysdeps/mach/start.c: Remove file.
20399 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
20400 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
20401 * sysdeps/sh/init-first.c: Likewise.
20402
58f902b8
TS
20403 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
20404 registers for frame unwinding purposes, add CFI directives.
20405 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20406 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
20407 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
20408 Likewise.
20409
1518f58b
TS
20410 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
20411 __fortify_fail returning.
20412 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20413
db9b5059
TS
20414 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
20415 sysdeps/sh/____longjmp_chk.S.
20416 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
20417 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
20418 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
20419 (gen-as-const-headers): Append sigaltstack-offsets.sym.
20420
967705fe
TS
20421 * sysdeps/sh/abort-instr.h: New file.
20422 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
20423 process in case exit returns.
20424
a9def8c4
TS
20425 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
20426 initialize the GOT register before use.
20427
2a649725
TS
20428 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
20429 calculation of ARGC > 4.
20430
af1bce34
TS
20431 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
20432 meaningful names to some local labels.
20433
d230f50a
KK
204342012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20435 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20436
20437 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
20438 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
20439 (__arch_compare_and_exchange_val_16_acq): Likewise.
20440 (__arch_compare_and_exchange_val_32_acq): Likewise.
20441 (atomic_exchange_and_add): Fix gUSA sequence.
20442 (atomic_add): Likewise.
20443 (atomic_add_negative): Likewise.
20444 (atomic_add_zero): Likewise.
20445 (atomic_bit_test_set): Likewise.
20446
0479b305
AS
204472012-06-22 Andreas Schwab <schwab@redhat.com>
20448
20449 [BZ #13579]
20450 * include/link.h (struct link_map): Add l_free_initfini.
20451 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
20452 l_initfini.
20453 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
20454 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
20455 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
20456 set.
20457
0e3933b9
CD
204582012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
20459
20460 * configure.in: Use AC_LANG_SOURCE.
20461 * configure: Regenerate.
20462
4248b1b1
RM
204632012-06-22 Roland McGrath <roland@hack.frob.com>
20464
20465 * configure.in (libc_cv_localstatedir): New substituted variable.
20466 * configure: Regenerated.
20467 * config.make.in (localstatedir): New variable, substituted from
20468 libc_cv_localstatedir.
20469 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
20470 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
20471 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
20472 * sysdeps/gnu/configure: Regenerated.
20473
006dd861
JL
204742012-06-21 Jeff Law <law@redhat.com>
20475
20476 [BZ #14277]
20477 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
20478 free. Simplify list management for _LIBC case.
20479
79662d42
JM
204802012-06-21 Joseph Myers <joseph@codesourcery.com>
20481
b7abb4bf
JM
20482 [BZ #14273]
20483 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
20484 Clear sign bit of 64-bit integer value before comparing against
20485 overflow value.
20486
79662d42
JM
20487 * sysdeps/mach/configure: Regenerated.
20488
1f150908
L
204892012-06-21 H.J. Lu <hongjiu.lu@intel.com>
20490
20491 [BZ #14278]
20492 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
20493
28363bbf
JL
204942012-06-21 Jeff Law <law@redhat.com>
20495
20496 [BZ #13882]
20497 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
20498 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 20499 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
20500 * elf/dl-open.c (dl_open_worker): Likewise.
20501
09615db4
CD
205022012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
20503
20504 * scripts/list-sources.sh: Scan PORTS for translations.
20505 * po/libc.pot: Regenerated.
20506
2174c6dd
AJ
205072012-06-21 Andreas Jaeger <aj@suse.de>
20508
20509 [BZ #12194]
20510 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
20511 warning.
20512 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
20513 * bits/byteswap-16.h (__bswap_16): Likewise.
20514 * bits/byteswap.h (__bswap_constant_16): Likewise.
20515
3ee947b1
L
205162012-06-18 H.J. Lu <hongjiu.lu@intel.com>
20517
20518 [BZ #14117]
a2f34833
L
20519 * sysdeps/i386/fpu_control.h: Removed.
20520 * sysdeps/x86_64/fpu_control.h: Moved to ...
20521 * sysdeps/x86/fpu_control.h: Here.
20522
3ee947b1
L
20523 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
20524 (_FPU_SETCW): Likewise.
20525
ed1825f8
L
205262012-06-15 H.J. Lu <hongjiu.lu@intel.com>
20527
25f1282a
L
20528 [BZ #14117]
20529 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
20530 * sysdeps/x86/fpu/bits/mathinline.h: This.
20531 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
20532
ed1825f8
L
20533 [BZ #14050]
20534 [BZ #14117]
20535 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
20536 functions if __x86_64__ is defined.
20537
36d54b74
CLT
205382012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
20539
20540 * string/endian.h: Add !__ASSEMBLER__ condition for including
20541 conversion interfaces.
20542
10285c21
JM
205432012-06-15 Joseph Myers <joseph@codesourcery.com>
20544
20545 [BZ #14241]
20546 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
20547 of ABS(x) in calculating zero to negative powers other than odd
20548 integers.
20549 * math/libm-test.inc (pow_test): Add more tests.
20550
06c5abbd
AJ
205512012-06-15 Andreas Jaeger <aj@suse.de>
20552
20553 * manual/contrib.texi (Contributors): Update entry of Liubov
20554 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
20555 Machado Filho.
20556
a3aeac40
CH
205572012-06-15 Cyril Hrubis <metan@ucw.cz>
20558
20559 * string/string.h: Add __wur to GNU version of strerror_r.
20560
49bdf4c1
L
205612012-06-14 H.J. Lu <hongjiu.lu@intel.com>
20562
20563 [BZ #14229]
20564 * string/Makefile (tests): Add tst-strtok_r.
20565 * string/tst-strtok_r.c: New file.
20566 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
20567 RAX_LP/RDX_LP on SAVE_PTR.
20568
834f9b8d
RM
205692012-06-14 Roland McGrath <roland@hack.frob.com>
20570
20571 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
20572
75fa1921
JM
205732012-06-14 Joseph Myers <joseph@codesourcery.com>
20574
20575 * libm_test.inc (csqrt_test): Allow more spurious underflow
20576 exceptions.
20577 (j0_test): Likewise.
20578 (j1_test): Likewise.
20579 (y0_test): Likewise.
20580 (y1_test): Likewise.
20581
771766df
CD
205822012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
20583
20584 * po/Makefile (libc.pot): Use UTF-8 charset.
20585
ceb9e56b
PP
205862012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
20587
20588 [BZ #14210]
20589 Suppress sign-conversion warning from FD_SET.
20590 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
20591 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
20592 not unsigned long int.
20593 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
20594
ddb28975
L
205952012-06-12 H.J. Lu <hongjiu.lu@intel.com>
20596
20597 [BZ #14050]
20598 [BZ #14117]
20599 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
20600 __extern_always_inline instead of __extern_inline.
20601 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
20602 (__signbit): Likewise.
20603 (__signbitl): Support C++ namespace.
20604 (lrintf): New inline function.
20605 (lrint): Likewise.
20606 (llrintf): Likewise.
20607 (llrint): Likewise.
20608 (fmaxf): Likewise.
20609 (fmax): Likewise.
20610 (fminf): Likewise.
20611 (fmin): Likewise.
20612 (rint): Likewise.
20613 (rintf): Likewise.
20614 (ceil): Likewise.
20615 (ceilf): Likewise.
20616 (floor): Likewise.
20617 (floorf): Likewise.
20618 (nearbyint): Likewise.
20619 (nearbyintf): Likewise.
20620
d7b4fb26
TS
206212012-06-12 Thomas Schwinge <thomas@codesourcery.com>
20622
20623 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
20624 non-default versions.
20625
eb55f5c2
RM
206262012-06-11 Roland McGrath <roland@hack.frob.com>
20627
20628 [BZ #14218]
20629 * manual/argp.texi (Argp): Reword argp_parse description slightly.
20630
366af02c
TS
206312012-06-09 Thomas Schwinge <thomas@codesourcery.com>
20632
99ff6e5c
TS
20633 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
20634 (FE_UPWARD, FE_DOWNWARD): Don't define.
20635 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
20636 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20637
366af02c
TS
20638 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
20639 reading it.
20640 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
20641 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20642
793ea851
KK
206432012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20644
20645 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20646 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
20647 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
20648 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
20649
a728a38f
L
206502012-06-06 H.J. Lu <hongjiu.lu@intel.com>
20651
20652 [BZ #14117]
c08010c7
L
20653 * sysdeps/i386/fpu/bits/fenv.h: Removed.
20654 * sysdeps/i386/fpu/Implies: New file.
20655 * sysdeps/x86_64/fpu/Implies: Likewise.
20656 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
20657 * sysdeps/x86/fpu/bits/fenv.h: This.
20658
a728a38f
L
20659 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
20660 __SSE_MATH__.
20661
6e230d11
SP
206622012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20663
20664 [BZ #14134]
20665 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
20666 character 0xffff that matches the last element of the
20667 conversion table.
20668
1b671feb
AZ
206692012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20670
20671 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
20672 fmodl commit.
20673
6043738b
AZ
206742012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20675
20676 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
20677 values higher than 25.6283.
20678
34ae0b32
AZ
206792012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20680
20681 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
20682 subnormal exponent extraction and add some __builtin_expect.
20683 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
20684 Fix for subnormal mantissa calculation.
20685
1214ec8f
MF
206862012-06-04 Mike Frysinger <vapier@gentoo.org>
20687
20688 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
20689 cpu2 is -1 and errno is not ENOSYS.
20690
f3d1f93c
L
206912012-06-04 H.J. Lu <hongjiu.lu@intel.com>
20692
20693 [BZ #14117]
0e4a3cd7
L
20694 * sysdeps/i386/i486/bits/string.h: Renamed to ...
20695 * sysdeps/x86/bits/string.h: This.
20696 * sysdeps/x86_64/bits/string.h: Removed.
20697
6704c645
L
20698 * sysdeps/i386/i486/bits/string.h: Define inline functions only
20699 if not compiling for x86-64, but compiling for >= i486.
20700
48495318
L
20701 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
20702 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
20703
14adcbfc
L
20704 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
20705 New macro from Linux kernel 3.4.0.
20706 (FP_XSTATE_MAGIC2): Likewise.
20707 (FP_XSTATE_MAGIC2_SIZE): Likewise.
20708 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
20709 (struct _fpx_sw_bytes): New struct.
20710 (struct _xsave_hdr): Likewise.
20711 (struct _ymmh_state): Likewise.
20712 (struct _xstate): Likewise.
20713
68e408ab
L
20714 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
20715 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
20716 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
20717 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
20718 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
20719 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
20720
f3d1f93c
L
20721 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
20722 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
20723 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
20724 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
20725 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
20726 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
20727
d9dc34cd
TMQMF
207282012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20729
20730 [BZ #13743]
20731 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
20732 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
20733 (sysdep_headers): Include sys/platform/ppc.h.
20734 * sysdeps/powerpc/test-gettimebase.c: Test for
20735 __ppc_get_timebase() to catch future ISA opcode/insn changes.
20736 * manual/Makefile (appendices): Include platform.texi.
20737 * manual/contrib.texi (Contributors): Update @node pointers.
20738 * manual/maint.texi (Maintenance): Likewise.
20739 (Platform): New node.
20740 * manual/platform.texi: New file. Document the new features.
20741
4af3879c
SP
207422012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20743 Jakub Jelinek <jakub@redhat.com>
20744
20745 [BZ #14188]
20746 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
20747 where __builtin_expect is unavailable.
20748
2fd6ff13
DM
207492012-06-03 David S. Miller <davem@davemloft.net>
20750
20751 * stdlib/longlong.h: Updated from GCC.
20752
173f7220
AS
207532012-06-02 Andreas Schwab <schwab@linux-m68k.org>
20754
20755 [BZ #14042]
20756 * sysdeps/powerpc/powerpc32/mcount.c: New file.
20757 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
20758 __mcount_internal.
20759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20760 (GLIBC_2.16): Likewise.
20761
f34a1c6f
L
207622012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20763
20764 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
20765
88a4576f
JM
207662012-06-01 Joseph Myers <joseph@codesourcery.com>
20767
ea32bcdd
JM
20768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
20769 (default-abi): New variable.
20770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
20771 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
20772 variable.
20773 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
20774 Likewise.
20775 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
20776 Likewise.
20777 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
20778 Likewise.
20779
88a4576f
JM
20780 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
20781 definition. Document in comment.
20782
402fe938
DM
207832012-06-01 David S. Miller <davem@davemloft.net>
20784
20785 * stdlib/longlong.h: Updated from GCC.
20786
3553723f
L
207872012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20788
20789 [BZ #14117]
3bd872c4
L
20790 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
20791 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
20792 sys/debugreg.h sys/io.h here.
20793 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
20794 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
20795 sys/io.h.
20796 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
20797 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
20798 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
20799 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
20800 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
20801 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
20802
3553723f
L
20803 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
20804 Define only if __x86_64__ is defined.
20805
4842e4fe
JM
208062012-06-01 Joseph Myers <joseph@codesourcery.com>
20807
c5bfe3d5
JM
20808 [BZ #14048]
20809 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
20810 Use int64_t for variable i.
20811 * math/libm-test.inc (fmod_test): Add more tests.
20812
4842e4fe
JM
20813 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
20814 z computation is not scheduled after fetestexcept.
20815 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
20816 Use math_force_eval instead of asm to ensure calculation scheduled
20817 before exception test.
20818 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
20819 Ensure a1 + u.d computation is not scheduled after fetestexcept.
20820
efb73488
AJ
208212012-06-01 Aurelien Jarno <aurelien@aurel32.net>
20822
20823 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
20824 computation is not scheduled after fetestexcept.
20825
29bcce7c
L
208262012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20827
20828 [BZ #14117]
20829 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
20830 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
20831
73a68f94
AZ
208322012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20833
20834 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
20835 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
20836
67b6df78
L
208372012-05-31 H.J. Lu <hongjiu.lu@intel.com>
20838
edf2933a 20839 [BZ #14117]
ebc64a18
L
20840 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
20841 <bits/wordsize.h>.
20842 (__WCHAR_MIN): Support __WORDSIZE == 64.
20843 (__WCHAR_MAX): Likewise.
20844
edf2933a
L
20845 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
20846 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
20847
57c6cf40
L
20848 [BZ #14183]
20849 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
20850 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
20851
67b6df78 20852 [BZ #14117]
8eb6281e
L
20853 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
20854 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
20855
aac639f4
L
20856 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
20857 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
20858
67b6df78
L
20859 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
20860 Defined to 1 if __x86_64__ isn't defined.
20861 (_STAT_VER_LINUX_OLD): New.
20862 (st_atime): Remove duplicate.
20863 (st_mtime): Likewise.
20864 (st_ctime): Likewise.
20865
1c2cfe81
DM
208662012-05-31 David S. Miller <davem@davemloft.net>
20867
20868 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
20869 entries.
20870
5be8418c
AS
208712012-06-01 Andreas Schwab <schwab@linux-m68k.org>
20872
e7725326
AS
20873 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
20874 gen-libm-test.pl.
20875
5be8418c
AS
20876 [BZ #14132]
20877 * elf/dl-reloc.c: Include <_itoa.h>.
20878 (_dl_reloc_bad_type): Remove use of INTUSE.
20879 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
20880 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
20881 * stdio-common/psiginfo.c (psiginfo): Likewise.
20882 * stdio-common/psignal.c (psignal): Likewise.
20883 * string/strsignal.c (strsignal): Likewise.
20884 * include/signal.h (_sys_siglist): Declare hidden proto.
20885 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
20886 INTVARDEF with libc_hidden_data_def.
20887 * stdio-common/itoa-udigits.c: Likewise.
20888 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
20889 (_itoa_lower_digits_internal): Remove declaration.
20890 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
20891 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
20892 (_sys_sigabbrev_internal): Remove aliases.
20893 (_sys_siglist): Define hidden alias.
20894
507352f1
MT
208952012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
20896
20897 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20898 bits/sysctl.h.
20899
42bbb1c3
L
209002012-05-31 H.J. Lu <hongjiu.lu@intel.com>
20901
20902 [BZ #14117]
6bd784b6
L
20903 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
20904 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
20905
8bca20f0
L
20906 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
20907 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
20908 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
20909 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
20910 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
20911 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
20912
f9e890a9
L
20913 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
20914 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
20915 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
20916
471101a1
L
20917 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
20918 with __addr.
20919 (insw): Likewise.
20920 (insl): Likewise.
20921 (outsb): Likewise.
20922 (outsw): Likewise.
20923 (outsl): Likewise.
20924
6451c862
L
20925 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
20926 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
20927 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
20928
a254b8c9
L
20929 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
20930 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
20931 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
20932 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
20933 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
20934 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
20935
b8dfdd92
L
20936 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
20937 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
20938
578cd270
L
20939 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
20940 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
20941
de662f5f
L
20942 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
20943 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
20944 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
20945
25653439
L
20946 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
20947 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
20948 to ...
20949 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
20950
6bad24a0
L
20951 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
20952 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
20953 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
20954
42bbb1c3
L
20955 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
20956 for x86-64.
20957 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
20958
2d10d547
JM
209592012-05-31 Joseph Myers <joseph@codesourcery.com>
20960
20961 * math/math.h (M_El): Use two more decimal places.
20962 (M_LOG2El): Likewise.
20963 (M_LOG10El): Likewise.
20964 (M_LN2l): Likewise.
20965 (M_LN10l): Likewise.
20966 (M_PIl): Likewise.
20967 (M_PI_2l): Likewise.
20968 (M_PI_4l): Likewise.
20969 (M_1_PIl): Likewise.
20970 (M_2_PIl): Likewise.
20971 (M_2_SQRTPIl): Likewise.
20972 (M_SQRT2l): Likewise.
20973 (M_SQRT1_2l): Likewise.
20974
f230c29b
DM
209752012-05-31 David S. Miller <davem@davemloft.net>
20976
20977 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
20978 values between float registers.
20979 * sysdeps/sparc/sparc64/memset.S: Likewise.
20980 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20981
fed806c3
MF
209822012-05-31 Mike Frysinger <vapier@gentoo.org>
20983
20984 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
20985 -D_FORTIFY_SOURCE=1.
20986 (CPPFLAGS-tst-longjmp_chk.c): Define.
20987 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
20988 (CPPFLAGS-tst-longjmp_chk2.c): Define.
20989 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
20990 CFLAGS-tst-wchar-h.c.
20991
30917259
MP
209922012-05-31 Marek Polacek <polacek@redhat.com>
20993
20994 [BZ #14132]
20995 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
20996 __endmntent_internal): Remove declaration.
20997 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
20998 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
20999 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
21000
1c58d5dc
DM
210012012-05-30 David S. Miller <davem@davemloft.net>
21002
21003 * sysdeps/sparc/sparc32/soft-fp/q_util.c
21004 (___Q_simulate_exceptions): Use real FP ops rather than writing
21005 into the %fsr.
21006 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
21007 Likewise.
21008
7dc00e0d
L
210092012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21010
21011 [BZ #14117]
0bd53985
L
21012 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
21013 * sysdeps/x86/bits/xtitypes.h: This.
21014
3a257e66
L
21015 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
21016 * sysdeps/x86/bits/wordsize.h: This.
21017
62f62904
L
21018 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
21019 * sysdeps/x86/bits/huge_vall.h: This.
21020
404fe9d9
L
21021 * sysdeps/i386/bits/select.h: Removed.
21022 * sysdeps/x86_64/bits/select.h: Renamed to ...
21023 * sysdeps/x86/bits/select.h: This.
21024
d48d0446
L
21025 * sysdeps/i386/bits/setjmp.h: Removed.
21026 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
21027 * sysdeps/x86/bits/setjmp.h: This.
21028
7dc00e0d
L
21029 * sysdeps/i386/bits/mathdef.h: Removed.
21030 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
21031 * sysdeps/x86/bits/mathdef.h: This.
21032
03277f8f
AS
210332012-05-30 Andreas Schwab <schwab@linux-m68k.org>
21034
21035 [BZ #14132]
21036 * include/sys/socket.h (__connect_internal)
21037 (__libc_sa_len_internal): Remove declaration.
21038 (__connect, __libc_sa_len): Declare hidden_proto.
21039 (SA_LEN): Remove use of INTUSE.
21040 * socket/connect.c: Add libc_hidden_def.
21041 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
21042 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
21043 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
21044 alias.
21045 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
21046 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
21047 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
21048 of adding _internal alias.
21049
13764867
L
210502012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21051
21052 [BZ #14117]
6bd97696
L
21053 * sysdeps/i386/bits/link.h: Removed.
21054 * sysdeps/i386/bits/linkmap.h: Likewise.
21055 * sysdeps/x86_64/bits/link.h: Renamed to ...
21056 * sysdeps/x86/bits/link.h: This.
21057 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
21058 * sysdeps/x86/bits/linkmap.h: This.
21059
f726f0bb
L
21060 * sysdeps/i386/bits/endian.h: Removed.
21061 * sysdeps/x86_64/bits/endian.h: Renamed to ...
21062 * sysdeps/x86/bits/endian.h: This.
21063
13764867
L
21064 * sysdeps/i386/bits/byteswap.h: Removed.
21065 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21066 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
21067 * sysdeps/x86/bits/byteswap.h: This.
21068 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
21069 * sysdeps/x86/bits/byteswap-16.h: This.
21070 * sysdeps/i386/Implies: Add x86.
21071 * sysdeps/x86_64/Implies: Likewise.
21072
ae251b0b
DM
210732012-05-30 David S. Miller <davem@davemloft.net>
21074
21075 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
21076 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
21077 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
21078 (FP_TRAPPING_EXCEPTIONS): Define.
21079 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
21080 (FP_TRAPPING_EXCEPTIONS): Define.
21081 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
21082 subnormals only when inexact has been signalled or underflow
21083 exceptions are enabled.
21084 (_FP_PACK_CANONICAL): Likewise.
21085
d5c90867
L
210862012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21087
21088 [BZ #14183]
21089 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
21090 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
21091
63f1549e
RH
210922012-05-30 Richard Henderson <rth@twiddle.net>
21093
8d8f2279
RH
21094 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
21095 with #ifndef NOT_IN_libc.
21096
63f1549e
RH
21097 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
21098 marked to avoid plt entry.
21099
0ab0291b
L
211002012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21101
21102 [BZ #14112]
21103 * Makeconfig (default-abi): New macro.
21104 (abi-includes): Likewise.
21105 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
21106 $(abi-$(default-abi)-lib-soname) for soname if defined.
21107 ($(common-objpfx)gnu/lib-names.stmp): Generate from
21108 abi-variants.
21109 * Makefile (installed-stubs): Likewise.
21110 * include/stubs-biarch.h: Removed.
21111 * scripts/lib-names.awk: Only handle one library at a time.
21112 * scripts/soversions.awk: Remove WORDSIZE support.
21113 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
21114 entries.
21115 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
21116 Removed.
21117 (syscall-list-default-condition): Likewise.
21118 (syscall-list-default-condition): Likewise.
21119 (syscall-list-includes): Likewise.
21120 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
21121 syscall-list-* with abi-*. Handle undefined abi-variants.
21122 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
21123 * sysdeps/unix/sysv/linux/i386/Implies: New file.
21124 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
21125 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
21126 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
21127 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
21128 Removed.
21129 (syscall-list-32-options): Likewise.
21130 (syscall-list-32-condition): Likewise.
21131 (syscall-list-64-options): Likewise.
21132 (syscall-list-64-condition): Likewise.
21133 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
21134 macro.
21135 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
21136 Renamed to ...
21137 (abi-*): This.
21138 (abi-64-ld-soname): New macro.
21139 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
21140 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
21141 Renamed to ...
21142 (abi-*): This.
21143 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
21144 * sysdeps/x86_64/x32/shlib-versions: Likewise.
21145
4da0431d
JM
211462012-05-30 Joseph Myers <joseph@codesourcery.com>
21147
3a85279c
JM
21148 * sysdeps/unix/sysv/linux/kernel-features.h
21149 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
21150 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
21151 include <kernel-features.h>.
21152 [!__NR_ftruncate64]: Remove conditional code.
21153 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21154 [__NR_ftruncate64]: Make code unconditional.
21155 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21156 * sysdeps/unix/sysv/linux/truncate64.c: Do not
21157 include <kernel-features.h>.
21158 [!__NR_ftruncate64]: Remove conditional code.
21159 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21160 [__NR_ftruncate64]: Make code unconditional.
21161 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
21163 include <kernel-features.h>.
21164 [!__NR_ftruncate64]: Remove conditional code.
21165 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21166 [__NR_ftruncate64]: Make code unconditional.
21167 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21169 include <kernel-features.h>.
21170 [!__NR_ftruncate64]: Remove conditional code.
21171 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21172 [__NR_ftruncate64]: Make code unconditional.
21173 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21174
4da0431d
JM
21175 * configure.in (libc_cv_fpie): Weaken to a compile test using
21176 LIBC_TRY_CC_OPTION.
21177 * configure: Regenerated.
21178
11ef492c
AK
211792012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21180
21181 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
21182 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
21183 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
21184 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21185 Refreshed.
21186 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
21187 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
21188 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
21189 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
21190 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
21191 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21192 Refreshed.
21193
d66ef399
DM
211942012-05-27 David S. Miller <davem@davemloft.net>
21195
21196 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
21197 (___Q_zero): New.
21198 (__Q_simulate_exceptions): Return void. Change to simulate
21199 exceptions by writing into the %fsr.
21200 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
21201 (__Qp_handle_exceptions): Likewise.
21202 (numbers): Delete.
21203 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
21204 __Qp_handle_exceptions.
21205 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
21206 __Qp_handle_exceptions.
21207 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21208 as unused and give dummy FP_RND_NEAREST initializer.
21209 (FP_INHIBIT_RESULTS): Define.
21210 (___Q_simulate_exceptions): Update declaration.
21211 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
21212 formatting.
21213 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21214 as unused and give dummy FP_RND_NEAREST initializer.
21215 (__Qp_handle_exceptions): Update declaration.
21216 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
21217 formatting.
21218
04fb54b5
TS
212192012-05-27 Thomas Schwinge <thomas@codesourcery.com>
21220
21221 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
21222 the temporary FPU control word.
21223 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21224 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
21225 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
21226 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21227 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21228 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
21229 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
21230 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21231 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21232 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
21233 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21234
3f99608f
KK
212352012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21236
21237 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
21238 fields.
21239
65a4de4e
CLT
212402012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
21241
21242 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
21243 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
21244 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
21245 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
21246 Likewise.
21247 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
21248 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
21249 Likewise.
21250
15749d40
UD
212512012-05-27 Ulrich Drepper <drepper@gmail.com>
21252
21253 * po/h.po: Update from translation team.
21254
25dbcb27
AS
212552012-05-26 Andreas Schwab <schwab@linux-m68k.org>
21256
3d3f8e55
AS
21257 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
21258
25dbcb27
AS
21259 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
21260 handling of denormals.
21261 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21262 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21263 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21264 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21265 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21266 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
21267 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
21268 Likewise.
21269
7ad47a80 212702012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
21271
21272 [BZ #14152]
21273 * math/libm-test.inc (fma_test): Don't always expect underflow
21274 exception.
21275
9c6ea9fa
SP
212762012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21277
21278 [BZ #12416]
21279 * elf/tst-execstack.c: Include stackinfo.h.
21280 (do_test): Adjust test case to ensure that pthread_getattr_np
21281 behaviour remains the same after marking stack executable.
21282
a8239222
JM
212832012-05-25 Joseph Myers <joseph@codesourcery.com>
21284
21285 * sysdeps/unix/sysv/linux/kernel-features.h
21286 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
21287 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
21288 kernel-features.h.
21289 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21290 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21291 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
21292 kernel-features.h.
21293 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21294 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21295
918b5606
L
212962012-05-25 H.J. Lu <hongjiu.lu@intel.com>
21297
21298 * configure.in: Define the default includes to being none.
21299 * configure: Regenerated.
21300
3a097cc7
RM
213012012-05-25 Roland McGrath <roland@hack.frob.com>
21302
8422c9a5
RM
21303 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
21304 * sysdeps/x86_64/setjmp.S: Likewise.
21305 * sysdeps/i386/bsd-setjmp.S: Likewise.
21306 * sysdeps/i386/bsd-_setjmp.S: Likewise.
21307 * sysdeps/i386/setjmp.S: Likewise.
21308 * sysdeps/i386/__longjmp.S: Likewise.
21309 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21310 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
21311
3a097cc7
RM
21312 * include/stap-probe.h: New file.
21313 * configure.in: Handle --enable-systemtap.
21314 * configure: Regenerated.
21315 * config.h.in (USE_STAP_PROBE): New #undef.
21316 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
21317 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
21318 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21319
21708942
JM
213202012-05-25 Joseph Myers <joseph@codesourcery.com>
21321
21322 [BZ #13717]
21323 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21324 to 2.4.0 where earlier.
21325 * sysdeps/unix/sysv/linux/configure: Regenerated.
21326 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21327 <kernel-features.h>.
21328 [__ASSUME_32BITUIDS]: Make code unconditional.
21329 [!__ASSUME_32BITUIDS]: Remove conditional code.
21330 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
21331 <kernel-features.h>.
21332 [__ASSUME_32BITUIDS]: Make code unconditional.
21333 [!__ASSUME_32BITUIDS]: Remove conditional code.
21334 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
21335 [__ASSUME_32BITUIDS]: Make code unconditional.
21336 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
21337 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
21338 <kernel-features.h>.
21339 [__ASSUME_32BITUIDS]: Make code unconditional.
21340 [!__ASSUME_32BITUIDS]: Remove conditional code.
21341 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
21342 <kernel-features.h>.
21343 [__ASSUME_32BITUIDS]: Make code unconditional.
21344 [!__ASSUME_32BITUIDS]: Remove conditional code.
21345 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
21346 <kernel-features.h>.
21347 [__ASSUME_32BITUIDS]: Make code unconditional.
21348 [!__ASSUME_32BITUIDS]: Remove conditional code.
21349 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
21350 <kernel-features.h>.
21351 [__ASSUME_32BITUIDS]: Make code unconditional.
21352 [!__ASSUME_32BITUIDS]: Remove conditional code.
21353 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21354 <kernel-features.h>.
21355 [__ASSUME_32BITUIDS]: Make code unconditional.
21356 [!__ASSUME_32BITUIDS]: Remove conditional code.
21357 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21358 <kernel-features.h>.
21359 [__ASSUME_32BITUIDS]: Make code unconditional.
21360 [!__ASSUME_32BITUIDS]: Remove conditional code.
21361 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
21362 <kernel-features.h>.
21363 [__ASSUME_32BITUIDS]: Make code unconditional.
21364 [!__ASSUME_32BITUIDS]: Remove conditional code.
21365 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21366 <kernel-features.h>.
21367 [__ASSUME_32BITUIDS]: Make code unconditional.
21368 [!__ASSUME_32BITUIDS]: Remove conditional code.
21369 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21370 <kernel-features.h>.
21371 [__ASSUME_32BITUIDS]: Make code unconditional.
21372 [!__ASSUME_32BITUIDS]: Remove conditional code.
21373 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
21374 <kernel-features.h>.
21375 [__ASSUME_32BITUIDS]: Make code unconditional.
21376 [!__ASSUME_32BITUIDS]: Remove conditional code.
21377 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
21378 <kernel-features.h>.
21379 [__NR_setresgid] (__setresgid): Do not declare.
21380 [__ASSUME_32BITUIDS]: Make code unconditional.
21381 [!__ASSUME_32BITUIDS]: Remove conditional code.
21382 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
21383 <kernel-features.h>.
21384 [__NR_setresuid] (__setresuid): Do not declare.
21385 [__ASSUME_32BITUIDS]: Make code unconditional.
21386 [!__ASSUME_32BITUIDS]: Remove conditional code.
21387 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.c: Do not include
21416 <kernel-features.h>.
21417 [__ASSUME_32BITUIDS]: Make code unconditional.
21418 [!__ASSUME_32BITUIDS]: Remove conditional code.
21419 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
21420 <kernel-features.h>.
21421 [__ASSUME_32BITUIDS]: Make code unconditional.
21422 [!__ASSUME_32BITUIDS]: Remove conditional code.
21423 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21424 <kernel-features.h>.
21425 [__ASSUME_32BITUIDS]: Make code unconditional.
21426 [!__ASSUME_32BITUIDS]: Remove conditional code.
21427 * sysdeps/unix/sysv/linux/kernel-features.h
21428 (__ASSUME_SETRESUID_SYSCALL): Remove.
21429 (__ASSUME_SETRESGID_SYSCALL): Likewise.
21430 (__ASSUME_32BITUIDS): Likewise.
21431 (__ASSUME_LDT_WORKS): Likewise.
21432 (__ASSUME_O_DIRECTORY): Likewise.
21433 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
21434 architecture but not kernel version.
21435 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
21436 (__ASSUME_MMAP2_SYSCALL): Likewise.
21437 (__ASSUME_STAT64_SYSCALL): Likewise.
21438 (__ASSUME_IPC64): Likewise.
21439 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
21440 <kernel-features.h>.
21441 [__ASSUME_32BITUIDS]: Make code unconditional.
21442 [!__ASSUME_32BITUIDS]: Remove conditional code.
21443 * sysdeps/unix/sysv/linux/opendir.c: Do not include
21444 <kernel-features.h>.
21445 [__ASSUME_O_DIRECTORY]: Make code unconditional.
21446 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
21447 132096]: Remove conditional code.
21448 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
21449 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
21458 <kernel-features.h>.
21459 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
21460 unconditional.
21461 (__setresgid): Do not declare.
21462 [__ASSUME_32BITUIDS]: Make code unconditional.
21463 [!__ASSUME_32BITUIDS]: Remove conditional code.
21464 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
21465 <kernel-features.h>.
21466 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
21467 unconditional.
21468 (__setresuid): Do not declare.
21469 [__ASSUME_32BITUIDS]: Make code unconditional.
21470 [!__ASSUME_32BITUIDS]: Remove conditional code.
21471 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21472 <kernel-features.h>.
21473 [__ASSUME_32BITUIDS]: Make code unconditional.
21474 [!__ASSUME_32BITUIDS]: Remove conditional code.
21475 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
21476 <kernel-features.h>.
21477 [__ASSUME_32BITUIDS]: Make code unconditional.
21478 [!__ASSUME_32BITUIDS]: Remove conditional code.
21479
a386f1cc
RH
214802012-05-25 Richard Henderson <rth@twiddle.net>
21481
21482 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
21483 dl_hwcap to ifunc resolver.
21484 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
21485 elf_ifunc_invoke.
21486 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
21487 dl_hwcap to ifunc resolver.
21488 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
21489
b6550497
JM
214902012-05-24 Joseph Myers <joseph@codesourcery.com>
21491
21492 [BZ #14153]
21493 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
21494 for |x| <= 2**-26, not 2**-57.
21495 * math/libm-test.inc (acos_test): Do not allow spurious underflow
21496 exception.
21497
b0bc23a1
JL
214982012-05-24 Jeff Law <law@redhat.com>
21499
21500 * stdio-common/Makefile (tests): Add bug25.
21501 * stdio-common/bug25.c: New test.
21502
347c92e9
L
215032012-05-24 H.J. Lu <hongjiu.lu@intel.com>
21504
21505 [BZ #13576]
21506 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
21507 multiple of MALLOC_ALIGNMENT in size.
21508 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
21509
6bcc8b3f
JM
215102012-05-24 Joseph Myers <joseph@codesourcery.com>
21511
21512 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
21513 Require >= 256.
21514 (FILENAME_MAX): Use macro-int-constant.
21515 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
21516 (_IOFBF): Use macro-int-constant.
21517 (_IOLBF): Likewise.
21518 (_IONBF): Likewise.
21519 (SEEK_CUR): Likewise.
21520 (SEEK_END): Likewise.
21521 (SEEK_SET): Likewise.
21522 (TMP_MAX): Likewise.
21523 (EOF): Use macro-int-constant. Require < 0.
21524 (NULL): Use macro-constant. Require == 0.
21525 (stdin): Require type to be FILE *.
21526 (stdout): Likewise.
21527 (stderr): Likewise.
21528 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
21529 macro-int-constant.
21530 (EXIT_SUCCESS): Likewise.
21531 (NULL): Use macro-constant. Require == 0.
21532 (RAND_MAX): Use macro-int-constant.
21533 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
21534 [C99-based standards] (strtof): Require function.
21535 [C99-based standards] (strtold): Likewise.
21536 [C99-based standards] (strtoll): Likewise.
21537 [C99-based standards] (strtoull): Likewise.
21538 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21539 [ISO || ISO99 || ISO11] (limits.h): Likewise.
21540 [ISO || ISO99 || ISO11] (math.h): Likewise.
21541 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
21542 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21543 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21544
d18ea0c5
AS
215452012-05-24 Andreas Schwab <schwab@linux-m68k.org>
21546
21547 [BZ #14132]
56d25bb8
AS
21548 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
21549 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
21550 * intl/dgettext.c (DCGETTEXT): Likewise.
21551 * intl/gettext.c (DCGETTEXT): Likewise.
21552 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
21553 * posix/regex_internal.h (gettext): Likewise.
21554 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
21555 Remove declaration.
21556 * include/argz.h (__argz_count_internal)
21557 (__argz_stringify_internal): Remove declaration.
21558 (__argz_count, __argz_stringify): Declare hidden proto.
21559 * intl/dcgettext.c: Remove use of INTDEF.
21560 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
21561 * string/argz-stringify.c: Likewise.
21562 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21563 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21564 Declare hidden proto.
d18ea0c5
AS
21565 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21566 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21567 Declare hidden proto.
21568 * include/stdio.h (__asprintf_internal): Don't declare.
21569 (__asprintf): Don't define as macro. Declare hidden proto.
21570 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
21571 (__fsetlocking): Declare hidden proto.
21572 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
21573 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
21574 hidden proto.
21575 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
21576 (_IO_setlinebuf): Remove use of INTUSE.
21577 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
21578 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
21579 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
21580 Remove declaration.
21581 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
21582 (_IO_do_flush): Remove use of INTUSE.
21583 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
21584 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
21585 (_IO_adjust_column, _IO_least_wmarker)
21586 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
21587 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
21588 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
21589 (_IO_default_doallocate, _IO_wdefault_doallocate)
21590 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
21591 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
21592 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
21593 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
21594 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
21595 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
21596 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
21597 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
21598 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
21599 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
21600 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
21601 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
21602 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
21603 proto.
21604 (_IO_flush_all_internal, _IO_adjust_column_internal)
21605 (_IO_default_uflow_internal, _IO_default_finish_internal)
21606 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
21607 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
21608 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
21609 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
21610 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
21611 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
21612 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
21613 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
21614 (_IO_file_close_internal, _IO_file_close_it_internal)
21615 (_IO_file_underflow_internal, _IO_file_overflow_internal)
21616 (_IO_file_init_internal, _IO_file_attach_internal)
21617 (_IO_file_fopen_internal, _IO_file_read_internal)
21618 (_IO_file_sync_internal, _IO_file_seek_internal)
21619 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
21620 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
21621 (_IO_str_underflow_internal, _IO_str_overflow_internal)
21622 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
21623 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
21624 (_IO_list_all_internal, _IO_link_in_internal)
21625 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
21626 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
21627 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
21628 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
21629 (_IO_do_write_internal, _IO_padn_internal)
21630 (_IO_getline_info_internal, _IO_getline_internal)
21631 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
21632 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
21633 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
21634 (_IO_vfscanf_internal, _IO_vfprintf_internal)
21635 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
21636 (_IO_init_internal, _IO_un_link_internal): Don't declare.
21637 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
21638 with libc_hidden_ver, remove use of INTUSE.
21639 * libio/genops.c: Likewise.
21640 * libio/freopen.c: Likewise.
21641 * libio/freopen64.c: Likewise.
21642 * libio/iofclose.c: Likewise.
21643 * libio/iofdopen.c: Likewise.
21644 * libio/iofflush.c: Likewise.
21645 * libio/iofflush_u.c: Likewise.
21646 * libio/iofgets.c: Likewise.
21647 * libio/iofgets_u.c: Likewise.
21648 * libio/iofopen.c: Likewise.
21649 * libio/iofopncook.c: Likewise.
21650 * libio/iofread.c: Likewise.
21651 * libio/iofread_u.c: Likewise.
21652 * libio/ioftell.c: Likewise.
21653 * libio/iofwrite.c: Likewise.
21654 * libio/iogetline.c: Likewise.
21655 * libio/iogets.c: Likewise.
21656 * libio/iogetwline.c: Likewise.
21657 * libio/iopadn.c: Likewise.
21658 * libio/iopopen.c: Likewise.
21659 * libio/ioseekoff.c: Likewise.
21660 * libio/ioseekpos.c: Likewise.
21661 * libio/iosetbuffer.c: Likewise.
21662 * libio/iosetvbuf.c: Likewise.
21663 * libio/ioungetc.c: Likewise.
21664 * libio/ioungetwc.c: Likewise.
21665 * libio/iovdprintf.c: Likewise.
21666 * libio/iovsprintf.c: Likewise.
21667 * libio/iovsscanf.c: Likewise.
21668 * libio/memstream.c: Likewise.
21669 * libio/obprintf.c: Likewise.
21670 * libio/oldfileops.c: Likewise.
21671 * libio/oldiofclose.c: Likewise.
21672 * libio/oldiofdopen.c: Likewise.
21673 * libio/oldiofopen.c: Likewise.
21674 * libio/oldiopopen.c: Likewise.
21675 * libio/oldstdfiles.c: Likewise.
21676 * libio/putc.c: Likewise.
21677 * libio/setbuf.c: Likewise.
21678 * libio/setlinebuf.c: Likewise.
21679 * libio/stdfiles.c: Likewise.
21680 * libio/strops.c: Likewise.
21681 * libio/vasprintf.c: Likewise.
21682 * libio/vscanf.c: Likewise.
21683 * libio/vsnprintf.c: Likewise.
21684 * libio/vswprintf.c: Likewise.
21685 * libio/wfiledoalloc.c: Likewise.
21686 * libio/wfileops.c: Likewise.
21687 * libio/wgenops.c: Likewise.
21688 * libio/wmemstream.c: Likewise.
21689 * libio/wstrops.c: Likewise.
21690 * libio/__fpurge.c: Likewise.
21691 * libio/__fsetlocking.c: Likewise.
21692 * assert/assert.c: Likewise.
21693 * debug/fgets_chk.c: Likewise.
21694 * debug/fgets_u_chk.c: Likewise.
21695 * debug/fread_chk.c: Likewise.
21696 * debug/fread_u_chk.c: Likewise.
21697 * debug/gets_chk.c: Likewise.
21698 * debug/obprintf_chk.c: Likewise.
21699 * debug/vasprintf_chk.c: Likewise.
21700 * debug/vdprintf_chk.c: Likewise.
21701 * debug/vsnprintf_chk.c: Likewise.
21702 * debug/vsprintf_chk.c: Likewise.
21703 * malloc/mtrace.c: Likewise.
21704 * misc/error.c: Likewise.
21705 * misc/syslog.c: Likewise.
21706 * stdio-common/asprintf.c: Likewise.
21707 * stdio-common/fxprintf.c: Likewise.
21708 * stdio-common/getw.c: Likewise.
21709 * stdio-common/isoc99_fscanf.c: Likewise.
21710 * stdio-common/isoc99_scanf.c: Likewise.
21711 * stdio-common/isoc99_vfscanf.c: Likewise.
21712 * stdio-common/isoc99_vscanf.c: Likewise.
21713 * stdio-common/isoc99_vsscanf.c: Likewise.
21714 * stdio-common/printf-prs.c: Likewise.
21715 * stdio-common/printf_fp.c: Likewise.
21716 * stdio-common/printf_fphex.c: Likewise.
21717 * stdio-common/printf_size.c: Likewise.
21718 * stdio-common/putw.c: Likewise.
21719 * stdio-common/scanf.c: Likewise.
21720 * stdio-common/sprintf.c: Likewise.
21721 * stdio-common/tmpfile.c: Likewise.
21722 * stdio-common/vfprintf.c: Likewise.
21723 * stdio-common/vfscanf.c: Likewise.
21724 * stdlib/strfmon_l.c: Likewise.
21725 * sunrpc/openchild.c: Likewise.
21726 * sunrpc/xdr_stdio.c: Likewise.
21727 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
21728 * sysdeps/mach/hurd/tmpfile.c: Likewise.
21729
d6c33fda
RM
217302012-05-24 Roland McGrath <roland@hack.frob.com>
21731
c1487492
RM
21732 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21733
21734 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
21735 in the third column, to generate for the shared library an IFUNC
21736 that uses _dl_vdso_vsym.
21737 * Makerules (COMPILE.c, compile-stdin.c): New variables.
21738 * Makeconfig (object-suffixes-noshared): New variable.
21739
21740 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
21741 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
21742 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
21743 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
21744
d6c33fda
RM
21745 [BZ #14132]
21746 * include/sys/time.h (__gettimeofday): Remove macro.
21747 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
21748 * time/gettimeofday.c (__gettimeofday): Remove #undef.
21749 Remove INTDEF.
21750 (__gettimeofday): Add libc_hidden_def.
21751 (gettimeofday): Add libc_hidden_weak.
21752 * sysdeps/mach/gettimeofday.c: Likewise.
21753 * sysdeps/posix/gettimeofday.c: Likewise.
21754 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
21755 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
21756 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
21757 (__gettimeofday_internal): Remove strong_alias.
21758 (__gettimeofday): Add libc_hidden_def.
21759 (gettimeofday): Add libc_hidden_weak.
21760 * sysdeps/unix/syscalls.list (gettimeofday):
21761 Remove __gettimeofday_internal alias.
21762
b5a2bbe6
L
217632012-05-24 Daniel Jacobowitz <drow@false.org>
21764 H.J. Lu <hongjiu.lu@intel.com>
21765
21766 [BZ #12495]
21767 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
21768 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
21769 (largebin_index_32_big): New.
21770 (largebin_index): Use it for 16-byte alignment.
21771 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
21772 correction with front_misalign.
21773
cfba4fda
L
217742012-05-24 H.J. Lu <hongjiu.lu@intel.com>
21775
7f907421
L
21776 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
21777 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
21778 Likewise.
21779 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
21780 Likewise.
21781 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21782 Likewise.
21783 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
21784 Likewise.
21785 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
21786 Likewise.
21787 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
21788 Likewise.
21789 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
21790 Likewise.
21791 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
21792 Likewise.
21793 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
21794 Likewise.
21795 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
21796 Likewise.
21797 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
21798 Likewise.
21799 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
21800 Likewise.
21801
cfba4fda
L
21802 * scripts/data/c++-types-x32-linux-gnu.data: New file.
21803 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
21804
80bad0cc
JM
218052012-05-24 Joseph Myers <joseph@codesourcery.com>
21806
7a25eb06
JM
21807 [BZ #10846]
21808 [BZ #14036]
21809 * math/libm-test.inc (exp_test): Add test from bug 14036.
21810 (pow_test): Add test from bug 10846.
21811
795405f9
JM
21812 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
21813 and other flags.
21814 (special_function): Do not include flags in test name.
21815 (parse_args): Likewise.
21816 * sysdeps/i386/fpu/libm-test-ulps: Update.
21817 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21818 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21819 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21821
80bad0cc
JM
21822 * math/gen-libm-test.pl (%beautify): Add entries for underflow
21823 exceptions.
21824 * math/libm-test.inc ("Philosophy"): Update comment about
21825 exception testing.
21826 (UNDERFLOW_EXCEPTION): New macro.
21827 (UNDERFLOW_EXCEPTION_OK): Likewise.
21828 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
21829 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
21830 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
21831 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
21832 (INVALID_EXCEPTION_OK): Update value.
21833 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21834 (OVERFLOW_EXCEPTION_OK): Likewise.
21835 (IGNORE_ZERO_INF_SIGN): Likewise.
21836 (test_exceptions): Handle underflow exceptions.
21837 (acos_test): Update for underflow exception expectations.
21838 (cexp_test): Likewise.
21839 (clog_test): Likewise.
21840 (clog10_test): Likewise.
21841 (csqrt_test): Likewise.
21842 (ctan_test): Likewise.
21843 (ctanh_test): Likewise.
21844 (exp_test): Likewise.
21845 (exp10_test): Likewise.
21846 (exp2_test): Likewise.
21847 (expm1_test): Likewise.
21848 (fma_test): Likewise.
21849 (j0_test): Likewise.
21850 (jn_test): Likewise.
21851 (nexttoward_test): Likewise.
21852 (pow_test): Likewise.
21853 (scalbn_test): Likewise.
21854 (scalbln_test): Likewise.
21855 (tan_test): Likewise.
21856 (y1_test): Likewise.
21857 * sysdeps/i386/fpu/libm-test-ulps: Update.
21858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21859
9e0e3d0b
DM
218602012-05-23 David S. Miller <davem@davemloft.net>
21861
21862 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21863 (__libc_sigaction): Remove unused local variables.
21864
ccd0a08f
L
218652012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21866
21867 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
21868
62bdf9a6
PE
218692012-05-23 Paul Eggert <eggert@cs.ucla.edu>
21870
f8591f80
PE
21871 mktime: avoid signed integer overflow
21872 * time/mktime.c (__mktime_internal): Do not mishandle the case
21873 where diff == INT_MIN.
21874
94c7d826
PE
21875 mktime: simplify computation of average
21876 * time/mktime.c (ranged_convert): Use new time_t_avg function
21877 instead of rolling our own (probably-slower) code.
21878
ce73d683
PE
21879 mktime: do not assume signed right shift propagates sign bit
21880 * time/mktime.c (isdst_differ): New static function.
21881 (__mktime_internal): No need to normalize tm_isdst now.
21882 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
21883 tm_isdst values.
21884
72a22e59
PE
21885 mktime: merge another wrapv change from gnulib
21886 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
21887 from some compilers.
21888
68605433
PE
21889 mktime: remove incorrect attempt at unusual arithmetics
21890 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
21891 The code didn't really work on such machines anyway.
21892 (TYPE_MINIMUM): Assume two's complement.
21893 (twos_complement_arithmetic): Verify that long_int and time_t
21894 are two's complement (or unsigned, in the latter case).
21895
03cf7fe3
PE
21896 mktime: check signed shifts on long_int and time_t, too
21897 * time/mktime.c (SHR): Check that shifts work as desired
21898 on the types long_int and time_t too, as SHR is used on
21899 such types.
21900
f04dfbc2
PE
21901 mktime: do not assume 'long' is wide enough
21902 * time/mktime.c (verify): Move decl up.
21903 (long_int): New type.
21904 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
21905 to remove assumption in the code that 'long' is wide enough to
21906 store year values. This assumption is not true on x32 and on
21907 some non-glibc platforms.
21908
62bdf9a6
PE
21909 mktime: merge wrapv change from gnulib
21910 * time/mktime.c (WRAPV): New macro.
21911 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
21912 (guess_time_tm, __mktime_internal): Do not assume that signed
21913 integer overflow wraps around; modern compilers generate code
21914 where this assumption is no longer valid.
21915
5e292e4f
L
219162012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21917
21918 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21919 Replace "jmp L(pseudo_end)" with "ret".
21920 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
21921 Likewise.
21922
8caf8c87
AJ
219232012-05-23 Andreas Jaeger <aj@suse.de>
21924
21925 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
21926 * sysdeps/unix/sysv/linux/poll.c: Remove file.
21927
1a09dc56
AJ
219282012-05-23 Andreas Jaeger <aj@suse.de>
21929 Maximilian Attems <max@stro.at>
21930
21931 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
21932 New macros.
21933
1c87aba0
L
219342012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21935
21936 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
21937 code so that pseudo_end is just ret and the stack pointer is
21938 correct also for static library in error case.
21939
40e45bd5
JM
219402012-05-23 Joseph Myers <joseph@codesourcery.com>
21941
c2670533
JM
21942 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
21943 move to syscalls.list.
21944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
21945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
21946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
21947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
21948
40e45bd5
JM
21949 * manual/install.texi (Running make install): Do not mention Linux
21950 kernel version for which pt_chown is not needed.
21951 (Linux): Do not mention problems with nscd with 2.0 kernels.
21952 * INSTALL: Regenerated.
21953
be08eda5
AJ
219542012-05-23 Andreas Jaeger <aj@suse.de>
21955
21956 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
21957 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
21958 macro.
21959 * sysdeps/unix/sysv/linux/s390/bits/mman.h
21960 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21961 * sysdeps/unix/sysv/linux/sh/bits/mman.h
21962 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21963 * sysdeps/unix/sysv/linux/i386/bits/mman.h
21964 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21965 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
21966 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21967 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
21968 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21969 * sysdeps/unix/sysv/linux/bits/in.h
21970 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
21971
a6a056bb
RM
219722012-05-22 Roland McGrath <roland@hack.frob.com>
21973
21974 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
21975 (PREPARE_VERSION): Just use assert instead, it will be elided
21976 under [NDEBUG] anyway.
21977
c9009328
L
219782012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21979
21980 * sysdeps/unix/sysv/linux/Makefile: Include
21981 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 21982 (sysdep_routines): Remove sysctl.
c9009328
L
21983 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
21984 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
21985 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
21986 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
21987 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
21988
73338355
AJ
219892012-05-22 Andreas Jaeger <aj@suse.de>
21990
21991 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
21992 that pseudo_end is just ret and the stack pointer is correct also
21993 for static library in error case.
21994
d44638b0
PP
219952012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
21996
21997 [BZ #14122]
21998 * nss/nsswitch.c (defconfig_entries): New variable.
21999 (__nss_database_lookup): Don't leak defconfig entries.
22000 (nss_parse_service_list): Don't leak on error paths.
22001 (free_database_entries): New function.
22002 (free_defconfig): New function.
22003 (free_mem): Move common code to free_database_entries.
22004
31a39bd8
L
220052012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22006
da0331a8
L
22007 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
22008 Add arch_prctl.
22009 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
22010
31a39bd8
L
22011 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22012 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
22013 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
22014 New macro.
22015 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
22016 (INTERNAL_SYSCALL_TYPES): Likewise.
22017 (LOAD_ARGS_TYPES_[1-6]): Likewise.
22018 (LOAD_REGS_TYPES_[1-6]): Likewise.
22019 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
22020 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
22021
45470df3
AZ
220222012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22023
22024 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
22025 copysignl for GLIBC_2_0.
22026 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
22027 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
22028 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
22029 logbl for GLIBC_2_0.
22030 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
22031 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
22032
98a61bcb
L
220332012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22034
a4f6e481
L
22035 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
22036 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22037
f63d5db6
L
22038 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22039 Use "neg %eax".
22040
98a61bcb
L
22041 * time/mktime.c: Update copyright years.
22042
95770f14
PE
220432012-05-22 Paul Eggert <eggert@cs.ucla.edu>
22044
6226efbd
PE
22045 mktime: merge comment-quoting-style change from gnulib
22046 * time/mktime.c: Quote 'like this' in comments.
22047 The GNU coding standards suggest that we no longer quote `like this',
22048 as "`" and "'" are typically rendered asymmetrically nowadays.
22049 The typical gnulib style is to quote 'like this' when quoting
22050 code, and "like this" when quoting English.
22051
b99e4f78
PE
22052 * time/mktime.c (compile-command): Add "-I.".
22053
643e01e6
PE
22054 mktime: merge mktime-internal.h change from gnulib
22055 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
22056
2554247d
PE
22057 mktime: merge time_r change from gnulib
22058 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
22059
826dd0ab
PE
22060 mktime: merge DEBUG change from gnulib
22061 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
22062 case system <time.h> has a #define.
22063
bd83aabe
PE
22064 mktime: merge <sys/types.h> change from gnulib
22065 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
22066 since <time.t> is now guaranteed to define time_t.
22067
95770f14
PE
22068 mktime: merge HAVE_CONFIG_H change from gnulib
22069 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
22070
5e1a27a9
L
220712012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22072
0e44a77e
L
22073 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22074 Use "neg %eax".
22075
5e1a27a9
L
22076 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
22077 __rlim_t cast.
22078 (struct rusage): Use anonymous union to pad each field to
22079 __syscall_slong_t.
22080
46259bec
DM
220812012-05-21 David S. Miller <davem@davemloft.net>
22082
22083 * Makefules (o-iterator): Remove .s cases.
22084 (compile-command.s): Delete.
22085 (COMPILE.s): Delete.
22086 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
22087
59f0c22e
JM
220882012-05-21 Joseph Myers <joseph@codesourcery.com>
22089
22090 * configure.in (libc_cv_predef_stack_protector): Only consider
22091 "foobar" and "__stack_chk_fail" lines in libc_undefs.
22092 * configure: Regenerated.
22093
20c07380
L
220942012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22095
bbb3154b
L
22096 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22097 New macro. Use R*LP on int and pointer.
22098 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
22099 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
22100 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
22101 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
22102
20c07380
L
22103 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
22104 [__WORDSIZE_TIME64_COMPAT32] instead of
22105 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
22106 (struct utmp): Likewise.
22107 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
22108 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
22109 Renamed to ...
22110 (__WORDSIZE_TIME64_COMPAT32): This.
22111 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
22112 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
22113 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
22114 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
22115 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
22116 (__WORDSIZE_TIME64_COMPAT32): New macro.
22117
d8d1017e
AJ
221182012-05-21 Andreas Jaeger <aj@suse.de>
22119
22120 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
22121 only if [SHARED]. Add prototype for __wcschr_ia32.
22122
6c7fb145
RM
221232012-05-21 Roland McGrath <roland@hack.frob.com>
22124
22125 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
22126 of %rbp unmolested in the jmp_buf while mangling the low bits.
22127 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
22128 unmolested high bits of %rbp while demangling the low bits.
22129 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22130
66274218
AJ
221312012-05-21 Andreas Jaeger <aj@suse.de>
22132
07c58f8f
AJ
22133 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
22134 * sunrpc/svc_simple.c: Use it for registerrpc.
22135 * sunrpc/xcrypt.c: Use it for passwd2des.
22136
66274218
AJ
22137 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
22138
61f65140
L
221392012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22140
22141 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
22142 Don't define if [__SYSCALL_WORDSIZE != 32].
22143 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
22144 New macro.
22145
5fefb436
AJ
221462012-05-21 Bruno Haible <bruno@clisp.org>
22147 Andreas Jaeger <aj@suse.de>
22148
22149 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
22150 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
22151 inptr and inend for must_buffer_ch.
22152 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
22153 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
22154 * stdio-common/Makefile (tests): Remove bug15.
22155 (bug15-ENV): Remove macro.
22156 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
22157 anymore.
22158
d8e272ab
AJ
221592012-05-19 Andreas Jaeger <aj@suse.de>
22160 Roland McGrath <roland@hack.frob.com>
22161
22162 * manual/contrib.texi: Completely rewritten. It contains now an
22163 alphabetical list of contributors and their contributions.
22164
4a56a162
RH
221652012-05-21 Richard Henderson <rth@twiddle.net>
22166
22167 * misc/getauxval.c (__getauxval): Use unsigned long int.
22168 * misc/sys/auxv.h: Include <sys/cdefs.h>.
22169 (getauxval): Use unsigned long int.
22170
d024d23c
L
221712012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22172
22173 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22174
cbc00a03
RM
221752012-05-21 Roland McGrath <roland@hack.frob.com>
22176
22177 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
22178 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
22179 __alignof__ (long double).
22180
478143fa
AZ
221812012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22182
22183 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22184
c7683a6d
RH
221852012-05-20 Richard Henderson <rth@twiddle.net>
22186
22187 * misc/getauxval.c: New file.
22188 * misc/sys/auxv.h: New file.
22189 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
22190 (routines): Add getauxval.
22191 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
22192 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
22193 * elf/dl-sysdep.c (_dl_auxv): Remove.
22194 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
22195 * elf/dl-support.c (_dl_auxv): New variable.
22196 (_dl_aux_init): Initialize it.
22197 * manual/startup.texi (Auxiliary Vector): New node.
22198 * sysdeps/generic/bits/hwcap.h: New file.
22199 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
22200 * sysdeps/powerpc/sysdep.h: ... here. Include it.
22201 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
22202 * sysdeps/sparc/sysdep.h: ... here. Include it.
22203 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
22204 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
22205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22206 Update.
c7683a6d
RH
22207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
22208 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
22209 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
22210 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
22211 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22212 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22213 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
22214 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
22215
a6f1845d
AZ
222162012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22217
22218 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22219
cbcbe830
DM
222202012-05-19 David S. Miller <davem@davemloft.net>
22221
22222 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22223
e0b16cc2
JM
222242012-05-19 Joseph Myers <joseph@codesourcery.com>
22225
22226 [BZ #14123]
22227 * math/s_ccosh.c: Include <float.h>
22228 (__ccosh): Avoid internal overflow calculating sinh and cosh
22229 values before multiplying by sin and cos values.
22230 * math/s_ccoshf.c: Likewise.
22231 * math/s_ccoshl.c: Likewise.
22232 * math/s_csin.c: Likewise.
22233 * math/s_csinf.c: Likewise.
22234 * math/s_csinl.c: Likewise.
22235 * math/s_csinh.c: Likewise.
22236 * math/s_csinhf.c: Likewise.
22237 * math/s_csinhl.c: Likewise.
22238 * math/libm-test.inc (ccos_test): Add more tests.
22239 (ccosh_test): Likewise.
22240 (csin_test): Likewise.
22241 (csinh_test): Likewise.
22242 * sysdeps/i386/fpu/libm-test-ulps: Update.
22243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22244
6ad13e08
L
222452012-05-19 H.J. Lu <hongjiu.lu@intel.com>
22246
f66f0ce8
L
22247 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
22248 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
22249
6ad13e08
L
22250 * sysdeps/x86_64/x32/_itoa.h: Add comment.
22251
b1d072a7
JM
222522012-05-19 Joseph Myers <joseph@codesourcery.com>
22253
22254 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
22255 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
22256 * sysdeps/powerpc/soft-fp/Versions: Likewise.
22257 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
22258 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
22259 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
22260 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
22261 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
22262 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
22263 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
22264 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
22265 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
22266 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
22267 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
22268 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
22269 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
22270 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
22271 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
22272 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
22273 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
22274 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
22275 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
22276 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
22277 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
22278 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
22279 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
22280 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
22281 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
22282 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
22283 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
22284 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
22285
9eae47cb
AJ
222862012-05-18 Andreas Jaeger <aj@suse.de>
22287
22288 * csu/.gitignore: Delete.
22289
bb07f69f
L
222902012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22291
22292 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
22293 (timex): Use __syscall_slong_t.
22294
e6bdb741
AJ
222952012-05-18 Andreas Jaeger <aj@suse.de>
22296 Carlos O'Donell <carlos_odonell@mentor.com>
22297
22298 * manual/install.texi (Configuring and compiling): Update
22299 description about files modified in the source directory.
d6c33fda 22300 * INSTALL: Regenerated.
e6bdb741 22301
1b74487e
L
223022012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22303
22304 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
22305 value. Use "or" to set return value to -1.
22306 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
22307 negate return value.
22308
a88b64b9
TMQMF
223092012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22310
22311 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
22312 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
22313 failure if the compiler has Graphite support disabled.
22314 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
22315 Likewise.
22316 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
22317 CFLAGS-memmove.c): Likewise.
22318 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
22319 Likewise.
22320
3707636e
L
223212012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22322
610b8622
L
22323 * sysdeps/x86_64/x32/_itoa.h: New file.
22324
7cd195df
L
22325 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
22326 getdents system call only if kernel and user dirents have the
22327 same d_ino and d_off.
22328
94b07d20
L
22329 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22330 LLONG_MAX != LONG_MAX.
22331 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22332 (_fitoa_word): Likewise.
22333
18298070
L
22334 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
22335 years.
22336 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
22337 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
22338 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
22339
553c7ea4
L
22340 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
22341 include <bits/wordsize.h>. Check __x86_64__ instead of
22342 __WORDSIZE.
22343 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
22344 if __x86_64__ is defined. Use anonymous union on fpstate.
22345
3707636e
L
22346 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
22347 anonymous union.
22348
b53ef01a
AS
223492012-05-18 Andreas Schwab <schwab@linux-m68k.org>
22350
37fb1dc0
AS
22351 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
22352 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
22353 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
22354 Refer to _rtld_local_ro instead of _rtld_global_ro.
22355 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
22356 Likewise.
22357 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
22358 Likewise.
22359 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
22360 Likewise.
22361 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
22362 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
22363 of _rtld_global, and rtld_progname instead of _dl_argv[0].
22364
b53ef01a
AS
22365 * sysdeps/powerpc/powerpc32/dl-machine.c
22366 (__elf_machine_runtime_setup) [PROF]: Don't reference
22367 _dl_prof_resolve.
22368
7a185db2
AJ
223692012-05-18 Andreas Jaeger <aj@suse.de>
22370
22371 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
22372 function only available for GCCs before 3.4 since GCC 3.4
22373 introduced a builtin.
22374 (lrint): Likewise.
22375 (llrintf): Likewise.
22376 (llrint): Likewise.
22377 (fmaxf): Likewise.
22378 (fmax): Likewise.
22379 (fminf): Likewise.
22380 (fmin): Likewise.
22381 (rint): Likewise.
22382 (rintf): Likewise.
22383 (nearbyint): Likewise.
22384 (nearbyintf): Likewise.
22385 (ceil): Likewise.
22386 (ceilf): Likewise.
22387 (floor): Likewise.
22388 (floorf): Likewise.
22389
3e5aef87
L
223902012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22391
428bd707
L
22392 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
22393 on both fields and cast pointer to __syscall_ulong_t.
22394
3e5aef87
L
22395 * bits/types.h (__fsword_t): New type.
22396 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
22397 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
22398 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22399 (__FSWORD_T_TYPE): Likewise.
22400 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22401 (__FSWORD_T_TYPE): Likewise.
22402 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22403 (__FSWORD_T_TYPE): Likewise.
22404 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
22405 (__FSWORD_T_TYPE): Likewise.
22406 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
22407 __SWORD_TYPE with __fsword_t.
22408 (statfs64): Likewise.
22409
1ba7c3dc
DM
224102012-05-17 David S. Miller <davem@davemloft.net>
22411
22412 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
22413
59910343
AJ
224142012-05-17 Andreas Jaeger <aj@suse.de>
22415
22416 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
22417 warning.
22418
2e4c1e9e
L
224192012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22420
22421 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
22422
de7f5ce7
AJ
224232012-05-17 Andreas Jaeger <aj@suse.de>
22424
22425 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
22426 when it is used.
22427
286abc3d
CM
224282012-05-17 Chris Metcalf <cmetcalf@tilera.com>
22429
22430 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
22431
477cc68e
L
224322012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22433
22434 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
22435 * sysdeps/x86_64/tst-mallocalign1.c: New file.
22436
1a0994f5
CD
224372012-05-17 Andreas Jaeger <aj@suse.de>
22438 Carlos O'Donell <carlos_odonell@mentor.com>
22439
22440 [BZ #14059]
22441 * sysdeps/x86_64/multiarch/init-arch.h
22442 (bit_YMM_Usable): Rename to...
22443 (bit_AVX_Usable): ... this.
22444 (bit_FMA4_Usable): New macro.
22445 (bit_XMM_state): New macro.
22446 (bit_YMM_state): New macro.
22447 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
22448 [__ASSEMBLER__] (index_AVX_Usable): ... this.
22449 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
22450 (CPUID_OSXSAVE): New macro.
22451 (CPUID_AVX): New macro.
22452 (CPUID_FMA4): New macro.
22453 (index_YMM_Usable): Rename to...
22454 (index_AVX_Usable): ... this.
22455 (HAS_AVX): Use HAS_ARCH_FEATURE.
22456 (HAS_FMA4): Likewise.
22457 (HAS_YMM_USABLE): Remove.
22458 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22459 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
22460 are present.
22461 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
22462 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
22463 * sysdeps/x86_64/multiarch/Makefile: Likewise.
22464 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
22465 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
22466
0af797de
CM
224672012-05-17 Chris Metcalf <cmetcalf@tilera.com>
22468
22469 * math/libm-test.c: Support platforms without multiple rounding modes.
22470 * math/bug-nextafter.c: Support platforms without FP exceptions.
22471 * math/bug-nexttoward.c: Likewise.
22472 * math/test-fenv.c: Likewise.
22473 * math/test-misc.c: Likewise.
22474 * stdlib/bug-getcontext.c: Likewise.
22475
e39745ff
AJ
224762012-05-17 Andreas Jaeger <aj@suse.de>
22477
22478 * manual/examples/search.c (critter_cmp): Change signature to
22479 avoid warnings.
22480 * manual/string.texi (Collation Functions): Likewise.
22481
48970aba
L
224822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22483
22484 * bits/types.h: Fold copyright years.
22485 * bits/typesizes.h: Likewise.
22486 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
22487 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
22488 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
22489 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
22490 * time/time.h: Likewise.
22491
bedee953
PP
224922012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
22493
22494 [BZ #208]
22495 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
22496 in instead of returning them. Return void.
22497 (__libc_mallinfo): Accumulate over all arenas.
22498 (__malloc_stats): Adjust for change in int_mallinfo interface.
22499
61653dfb
RM
225002012-05-16 Roland McGrath <roland@hack.frob.com>
22501
30b99d79
RM
22502 [BZ #10375]
22503 * configure.in (NM): Add AC_CHECK_TOOL for it.
22504 (libc_extra_cflags): New substituted variable.
22505 Check for -fstack-protector being used implicitly.
22506 * configure: Regenerated.
22507 * config.make.in (config-extra-cflags): New variable,
22508 gets @libc_extra_cflags@.
22509 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
22510
61653dfb
RM
22511 [BZ #10375]
22512 * configure.in: Check for _FORTIFY_SOURCE being predefined.
22513 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
22514 * configure: Regenerated.
22515 * config.make.in (CPPUNDEFS): New substituted variable.
22516 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
22517 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
22518 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
22519
661768bb
L
225202012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22521
22522 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
22523 (mq_attr): Use __syscall_slong_t.
22524
d4261567
L
225252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22526
22527 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
22528 Check __x86_64__ instead of __WORDSIZE.
22529 (_STAT_VER_LINUX): Likewise.
22530 (stat): Check __x86_64__ instead of __WORDSIZE. Use
22531 __syscall_ulong_t and __syscall_slong_t.
22532 (stat64): Likewise.
22533
cf3ff365
L
225342012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22535
22536 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
22537
76cf3e4d
L
225382012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22539
22540 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
22541
a637753a
L
225422012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22543
22544 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
22545 __syscall_ulong_t.
22546
d5e05119
L
22547 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
22548 include <bits/wordsize.h>. Check __x86_64__ instead of
22549 __WORDSIZE.
22550 (greg_t): Use "__extension__ long long int" if __x86_64__ is
22551 defined.
22552 (mcontext_t): Replace "unsigned long" with "unsigned long long".
22553
f62ee380
L
22554 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
22555 include <bits/wordsize.h>. Check __x86_64__ instead of
22556 __WORDSIZE.
22557 (user_regs_struct): Use "__extension__ unsigned long long"
22558 instead of "unsigned long" if __x86_64__ is defined.
22559 (user): Likewise. Pad after pointer field if __ILP32__ is
22560 defined.
22561
4e124ced
JM
225622012-05-16 Joseph Myers <joseph@codesourcery.com>
22563
6a3951a0
JM
22564 * configure.in (makeinfo): Require version 4.5 or later. Allow
22565 versions 5 to 9.
22566 * configure: Regenerated.
22567 * manual/install.texi (texinfo): Increase version requirement to
22568 4.5 or later.
22569 * INSTALL: Regenerated.
22570
4e124ced
JM
22571 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
22572
953ca31a
L
225732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22574
22575 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
22576
617aca05
L
22577 * sysdeps/x86_64/x32/ffs.c: New file.
22578
5762f7ae
L
22579 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
22580 __syscall_ulong_t.
22581 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
22582 defined. Use __syscall_ulong_t.
22583 (shminfo): Use __syscall_ulong_t.
22584 (shm_info): Likewise.
22585
a26b6856
L
22586 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
22587 __syscall_ulong_t.
22588
cb2b9ef7
L
22589 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
22590 <bits/wordsize.h>.
22591 (msgqnum_t): Use __syscall_ulong_t.
22592 (msglen_t): Likewise.
22593 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
22594 __syscall_ulong_t.
22595
34683bb0
L
22596 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
22597 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22598
84a68786
L
22599 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
22600
48baa5f1
L
22601 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
22602 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
22603
180be88b
L
22604 * sysvipc/sys/msg.h (msgbuf): Replace long int with
22605 __syscall_slong_t.
22606
5e90c8ad
L
22607 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
22608 include <bits/wordsize.h>. Check __x86_64__ instead of
22609 __WORDSIZE.
22610
23dfb58b
L
22611 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
22612 "unsigned long long int" if __x86_64__ is defined.
22613 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
22614
ce5d54b0
L
22615 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
22616 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22617 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
22618
13dc9eac
L
22619 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
22620 <stdint.h>.
22621 (GET_PC): Cast to uintptr_t first.
22622 (GET_FRAME): Likewise.
22623 (GET_STACK): Likewise.
22624
a7895d15
L
22625 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
22626 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
22627 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
22628 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
22629 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
22630 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
22631 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
22632 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
22633 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
22634 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
22635 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
22636 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
22637 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
22638 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
22639 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
22640 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
22641 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
22642 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
22643 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
22644 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
22645 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
22646 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
22647 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
22648 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
22649 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
22650 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
22651 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
22652 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
22653 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
22654
656416c9
AS
226552012-05-16 Andreas Schwab <schwab@linux-m68k.org>
22656
5bd66283
AS
22657 * Makerules (+depfiles): Also collect depfiles from .oS in
22658 $(extra-objs).
22659 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
22660 .oS, $(libnldbl-routines)).
22661
656416c9
AS
22662 * Makerules (native-compile-mkdep-flags): Define.
22663 * sunrpc/Makefile (extra-objs): Add $(addprefix
22664 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
22665 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
22666 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
22667 calling $(make-target-directory).
22668
a46f2169
L
226692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22670
22671 * bits/types.h (__snseconds_t): Removed.
22672 * time/time.h (struct timespec): Replace __snseconds_t with
22673 __syscall_slong_t.
22674 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
22675 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
22676 Likewise.
22677 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22678 (__SNSECONDS_T_TYPE): Likewise.
22679 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22680 (__SNSECONDS_T_TYPE): Likewise.
22681 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22682 (__SNSECONDS_T_TYPE): Likewise.
22683
6af6528b
L
226842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22685
22686 * sysdeps/mach/hurd/bits/typesizes.h
22687 (__SYSCALL_SLONG_TYPE): New macro.
22688 (__SYSCALL_ULONG_TYPE): Likewise.
22689
de986b56
L
226902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22691
22692 * bits/types.h (__syscall_slong_t): New type.
22693 (__syscall_ulong_t): Likewise.
22694
22695 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
22696 (__SYSCALL_ULONG_TYPE): Likewise.
22697 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22698 (__SYSCALL_SLONG_TYPE): Likewise.
22699 (__SYSCALL_ULONG_TYPE): Likewise.
22700 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22701 (__SYSCALL_SLONG_TYPE): Likewise.
22702 (__SYSCALL_ULONG_TYPE): Likewise.
22703 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22704 (__SYSCALL_SLONG_TYPE): Likewise.
22705 (__SYSCALL_ULONG_TYPE): Likewise.
22706
85736dc7
L
227072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22708
22709 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
22710 Add sigaltstack-offsets.sym.
22711 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
22712 <sigaltstack-offsets.h>.
22713 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
22714 longjmp_msg pointer.
22715 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
22716 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
22717 signal stack.
22718 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
22719
cc03b296
JM
227202012-05-15 Joseph Myers <joseph@codesourcery.com>
22721
a9538892
JM
22722 * elf/stackguard-macros.h: Remove file.
22723 * sysdeps/generic/stackguard-macros.h: New file.
22724 * sysdeps/i386/stackguard-macros.h: Likewise.
22725 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22726 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22727 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22728 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22729 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22730 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22731 * sysdeps/x86_64/stackguard-macros.h: Likewise.
22732 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
22733 <elf/stackguard-macros.h>.
22734
cc03b296
JM
22735 [BZ #14109]
22736 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
22737 __aligned__ in attribute.
22738 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
22739 (gregset_t): Likewise.
22740
93171016
L
227412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22742
22743 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
22744 * sysdeps/x86_64/64/Implies-after: Here. New file.
22745 * sysdeps/x86_64/x32/Implies-after: New file.
22746
d86813a0
L
227472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22748
22749 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
22750 and access return value for _dl_profile_fixup. Use R10_LP to
22751 load frame size.
22752
2953ec75
L
227532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22754
22755 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
22756
3b550e9e
L
227572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22758
22759 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
22760 * sysdeps/x86_64/x32/sysdep.h: New file.
22761
eda41706
L
227622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22763
22764 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
22765 * sysdeps/x86_64/setjmp.S: Likewise.
22766
9ea01d93
AZ
227672012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22768
22769 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
22770 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
22771 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
22772 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
22773 remove unused global constant.
22774
02a91938
CM
227752012-05-15 Chris Metcalf <cmetcalf@tilera.com>
22776
22777 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
22778 include of <not-cancel.h>.
22779
6540185f
RM
227802012-05-15 Roland McGrath <roland@hack.frob.com>
22781
22782 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
22783
509072a0
AJ
227842012-05-15 Jeff Law <law@redhat.com>
22785 Andreas Jaeger <aj@suse.de>
22786
22787 [BZ #13594]
22788 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
22789 out from...
22790 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
22791 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
22792 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
22793 code changing __hst_map_handle.map.
22794
ba75122d
RM
227952012-05-15 Roland McGrath <roland@hack.frob.com>
22796
22797 * configure.in (sysnames): Look for Implies-before and Implies-after
22798 files.
22799 * configure: Regenerated.
22800
890d8bd8
L
228012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22802
22803 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
22804 8-byte data alignment with LP_SIZE alignment.
22805
f6ee6623
L
228062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22807
22808 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
22809 into R10_LP.
22810
ea2626f6
L
228112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22812
22813 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
22814
085f715e
L
228152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22816
22817 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
22818 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
22819 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
22820 Likewise.
22821 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22822
be8498fc
L
228232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22824
22825 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
22826 (stackinfo_sub_sp): Likewise.
22827
70bc83b9
L
228282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22829
22830 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
22831 RAX_LP.
22832
9bc0b730
L
228332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22834
22835 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
22836 into R*_LP.
22837
6d2850e7
L
228382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22839
22840 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
22841 sizes into R*_LP.
22842
3cb84561
L
228432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22844
22845 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
22846
54e2ed81
L
228472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22848
22849 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
22850 into R11_LP and load __x86_64_shared_cache_size_half into
22851 R8_LP.
22852
8a17f349
L
228532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22854
22855 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
22856 R8_LP.
22857
777b1eea
AZ
228582012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22859
22860 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
22861 logb for POWER7.
22862 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
22863 logbf for POWER7.
22864 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
22865 logbl for POWER7.
22866 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
22867 powerpc32/power7/fpu/s_logb.c via #include.
22868 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
22869 powerpc32/power7/fpu/s_logbf.c via #include.
22870 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
22871 powerpc32/power7/fpu/s_logbl.c via #include.
22872
d20d4ac2
JM
228732012-05-15 Joseph Myers <joseph@codesourcery.com>
22874
22875 * README.libm: Remove file.
22876
6cdef1ab
L
228772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22878
22879 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
22880 count for x32. Use R*_LP and omit operand-size suffix.
22881
0b254d8f
L
228822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22883
22884 * shlib-versions: Move x86_64-.*-linux.* entries to ...
22885 * sysdeps/x86_64/64/shlib-versions: Here. New file.
22886 * sysdeps/x86_64/x32/shlib-versions: New file.
22887
ceb809dc
RM
228882012-05-14 Roland McGrath <roland@hack.frob.com>
22889
22890 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
22891 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
22892 Use _dl_fatal_printf instead.
22893
37f1abd4
JM
228942012-05-14 Joseph Myers <joseph@codesourcery.com>
22895
22896 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
22897 set if not set by the user. Do not allow for being unset.
22898 * sysdeps/unix/sysv/linux/configure: Regenerated.
22899
11de3a33
L
229002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22901
22902 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
22903 the `q' suffix from lea and replace .quad with ASM_ADDR.
22904
e02f153a
L
229052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22906
22907 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
22908 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
22909 instead of $17.
22910 (PTR_DEMANGLE): Likewise.
22911
520ae0fd
L
229122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22913
22914 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
22915 (LP_OP): Likewise.
22916 (ASM_ADDR): Likewise.
22917 (RAX_LP): Likewise.
22918 (RBP_LP): Likewise.
22919 (RBX_LP): Likewise.
22920 (RCX_LP): Likewise.
22921 (RDI_LP): Likewise.
22922 (RSI_LP): Likewise.
22923 (RSP_LP): Likewise.
22924 (R8_LP): Likewise.
22925 (R9_LP): Likewise.
22926 (R10_LP): Likewise.
22927 (R10_LP): Likewise.
22928 (R11_LP): Likewise.
22929 (R12_LP): Likewise.
22930 (R13_LP): Likewise.
22931 (R14_LP): Likewise.
22932 (R15_LP): Likewise.
22933
b985be81
L
229342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22935
22936 * sysdeps/x86_64/x32/dl-machine.h: New file.
22937
6a4888ff
AJ
229382012-05-14 Andreas Jaeger <aj@suse.de>
22939
22940 * manual/Makefile (subdir): Remove export of subdir.
22941 (all): Remove target.
22942 (.PHONY): Remove all from list.
22943 (mkinstalldirs): Remove.
22944 (.PHONY): Remove installdirs from list.
22945 ($(inst_infodir)/libc.info): Use make-target-directory.
22946 (installdirs): Remove.
22947 (subdir_%): Remove.
22948 (glibc-targets): Remove.
22949 (lib): Remove.
22950 (stubs): Remove.
22951 ($(objpfx)stubs ../po/manual.pot): Remove.
22952 ($(objpfx)stamp%): Remove.
22953 (make-target-directory): Remove.
22954 (subdir_install): Remove.
22955 (routines): Remove.
22956 (aux): Remove.
22957 (sources): Remove.
22958 (objects): Remove.
22959 (headers): Remove.
22960
22961 [BZ #13750]
22962 * manual/.gitignore: Remove, it's not needed anymore.
22963 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
22964 all files in it.
22965 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
22966 directory.
22967 (texis): Renamed to $(objpfx)texis.
22968 (texis-path): New, contains path to generated files.
22969 (chapters.%): Use texis-path for complete path, add extra argument
22970 libc-texinfo.sh.
22971 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
22972 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
22973 (summary,texi, stamp-summary): Use complete path of
22974 files. Generate files in build dir.
22975 (dir-add.texi): Build in build dir.
22976 (libm-err.texi,stamp-libm-err): Likewise.
22977 (version.texi, stamp-version): Likewise.
22978 (.%c.texi): Likewise.
22979 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
22980 (mostlyclean): Remove target.
22981 (realclean): Remove target.
22982 (generated): Add new variable with contents from mostlyclean and
22983 realclean, remove entries duplicated in common-mostlyclean, add
22984 stamp-libm-err and stamp-version.
22985 (generated-dirs): Add libc directory.
22986 ($(inst_infodir)/libc.info): Install files from build dir.
22987
22988 * manual/install.texi (Configuring and compiling): Adjust since
22989 the info files are not part of the tar ball anymore.
22990
7ac77294
AJ
229912012-05-14 Andreas Jaeger <aj@suse.de>
22992
22993 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
22994 variable.
22995
ffb7875d
JM
229962012-05-14 Joseph Myers <joseph@codesourcery.com>
22997
22998 [BZ #13717]
22999 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23000 to 2.2.0 where earlier.
23001 * sysdeps/unix/sysv/linux/configure: Regenerated.
23002 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
23003 Remove conditional code.
23004 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
23005 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
23006 Remove conditional code.
23007 [!__NR_lchown]: Likewise.
23008 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23009 [__NR_lchown]: Likewise.
23010 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
23011 comment referencing __ASSUME_LCHOWN_SYSCALL.
23012 * sysdeps/unix/sysv/linux/i386/sigaction.c
23013 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23014 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23015 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
23016 Remove conditional code.
23017 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
23018 (__protocol_available): Remove #if 0 code.
23019 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
23020 conditional code.
23021 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
23022 * sysdeps/unix/sysv/linux/kernel-features.h
23023 (__ASSUME_GETCWD_SYSCALL): Don't define.
23024 (__ASSUME_REALTIME_SIGNALS): Likewise.
23025 (__ASSUME_PREAD_SYSCALL): Likewise.
23026 (__ASSUME_PWRITE_SYSCALL): Likewise.
23027 (__ASSUME_POLL_SYSCALL): Likewise.
23028 (__ASSUME_LCHOWN_SYSCALL): Likewise.
23029 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
23030 non-SPARC.
23031 (__ASSUME_SIOCGIFNAME): Don't define.
23032 (__ASSUME_MSG_NOSIGNAL): Likewise.
23033 (__ASSUME_SENDFILE): Define unconditionally.
23034 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
23035 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
23036 conditional code.
23037 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
23038 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
23039 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23040 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23041 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
23042 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23043 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
23045 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23046 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23048 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23049 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
23051 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23052 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
23054 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23055 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
23057 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23058 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
23060 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23061 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
23063 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23064 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
23066 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23067 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23068 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
23069 Remove conditional code.
23070 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23071 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23072 Remove conditional code.
23073 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23074 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
23075 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
23076 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23077 Remove conditional code.
23078 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23079 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
23080 Remove conditional code.
23081 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23082 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
23083 Remove conditional code.
23084 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23085 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23086 Remove conditional code.
23087 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23088 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23089 Remove conditional code.
23090 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23091 * sysdeps/unix/sysv/linux/sh/pwrite64.c
23092 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23093 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23094 * sysdeps/unix/sysv/linux/sigaction.c
23095 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23096 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23097 * sysdeps/unix/sysv/linux/sigpending.c
23098 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23099 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23100 * sysdeps/unix/sysv/linux/sigprocmask.c
23101 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23102 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23103 * sysdeps/unix/sysv/linux/sigsuspend.c
23104 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23105 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23106 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23107 (__libc_missing_rt_sigs): Remove.
23108 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
23109 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
23110 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
23111 Remove conditional code.
23112 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
23113 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
23114 return 1.
23115 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
23116 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
23117 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
23118 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
23119
1bfb7291
AJ
231202012-05-14 Andreas Jaeger <aj@suse.de>
23121
caae5a81
AJ
23122 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
23123 it's not used in glibc.
23124 (__coshm1): Likewise.
23125 (__acosh1p): Likewise.
23126 (__sgn): Likewise.
23127
1bfb7291
AJ
23128 * manual/string.texi (Copying and Concatenation): Add missing
23129 variable in concat example.
23130 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
23131
c044d724
L
231322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23133
144c5467 23134 [BZ #14103]
c044d724
L
23135 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
23136 __builtin_clzl with __builtin_clzll.
23137
2523c62b
L
231382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23139
23140 [BZ #14104]
23141 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
23142 libc_freeres_ptr.
23143
d7bb4c42
LD
231442012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23145
23146 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
23147 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
23148 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
23149 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
23150
9dc4e1fb
MF
231512012-05-14 Mike Frysinger <vapier@gentoo.org>
23152
23153 * NEWS: Update ia64 info.
23154
c7df0112
AS
231552012-05-12 Andreas Schwab <schwab@linux-m68k.org>
23156
23157 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
23158 used as bcopy.
23159
dc70356c
TS
231602012-05-12 Thomas Schwinge <thomas@codesourcery.com>
23161
23162 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
23163 * sysdeps/unix/syscalls.list (dup3): Likewise.
23164 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
23165 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
23166
9fb1a21f
L
231672012-05-11 H.J. Lu <hongjiu.lu@intel.com>
23168
23169 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
23170 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
23171
4822a2a5
L
231722012-05-11 H.J. Lu <hongjiu.lu@intel.com>
23173
23174 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
23175 thread pointer.
23176 (TLS_IE): Use mov/add instead of movq/addq to load thread
23177 pointer.
23178 (TLS_GD_PREFIX): New.
23179 (TLS_GD): Use it.
23180
842b81d6
DM
231812012-05-11 David S. Miller <davem@davemloft.net>
23182
23183 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
23184 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
23185 (_FPU_SETCW): Likewise.
23186
1cf463cd
L
231872012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23188
23189 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
23190 is 32-byte aligned.
23191
60cc4a18
AS
231922012-05-11 Andreas Schwab <schwab@linux-m68k.org>
23193
23194 [BZ #11837]
23195 * iconvdata/gb18030.c: Update tables.
23196 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
23197 characters specially.
23198 (BODY for TO_LOOP): Add encoding of missing ranges.
23199
febb44a4
TS
232002012-05-11 Thomas Schwinge <thomas@codesourcery.com>
23201
23202 [BZ #13673]
23203 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
23204 * sysdeps/mach/hurd/dup3.c: Likewise.
23205 * sysdeps/mach/hurd/readlinkat.c: Likewise.
23206 * sysdeps/powerpc/memmove.c:: Likewise.
23207
0a10fb9e
L
232082012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23209
23210 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
23211 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
23212
df8a552f
L
232132012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23214
23215 * elf/elf.h (R_X86_64_RELATIVE64): New.
23216 (R_X86_64_NUM): Updated.
23217 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23218 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
23219 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
23220 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
23221 tst-quad1pie tst-quad2pie
23222 (modules-names): Add tst-quadmod1 tst-quadmod2.
23223 ($(objpfx)tst-quad1): New dependency.
23224 ($(objpfx)tst-quad2): Likewise.
23225 ($(objpfx)tst-quad1pie): Likewise.
23226 ($(objpfx)tst-quad2pie): Likewise.
23227 * sysdeps/x86_64/tst-quad1.c: New file.
23228 * sysdeps/x86_64/tst-quad1pie.c: New file.
23229 * sysdeps/x86_64/tst-quad2.c: Likewise.
23230 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
23231 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
23232 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
23233 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
23234 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
23235
f34d6f84
ST
232362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23237
f42d41d1
ST
23238 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
23239 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
23240 * streams/stropts.h (t_scalar_t): Define type.
23241
3c3571fc
ST
23242 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
23243 (_PATH_PRESERVE): Set to "/var/lib".
23244 (_PATH_RWHODIR): Set to "/var/spool/rwho".
23245
61f06bd3
ST
23246 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
23247 instead of int.
23248
918d4d71
ST
23249 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
23250 if __dir_mkfile succeeded.
23251
f34d6f84
ST
23252 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
23253 checking for _hurd_dtablesize. Unlock it right after having
23254 finished _hurd_dtable allocation.
23255
10589b4a
TS
232562012-05-10 Thomas Schwinge <thomas@schwinge.name>
23257
674cdbc7
TS
23258 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
23259 * sysdeps/mach/hurd/configure: Regenerated.
23260 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
23261 special-casing to...
23262 * sysdeps/gnu/configure.in: ... this new file.
23263 * sysdeps/unix/sysv/linux/configure: Regenerated.
23264 * sysdeps/gnu/configure: New generated file.
23265
8e41b99f
TS
23266 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
23267 for Linux: use nsec instead of usec, as well as:
23268 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
23269 members of type struct timespec.
23270 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
23271 New macros.
23272 (struct stat64): Likewise.
23273 (_STATBUF_ST_NSEC): New macro.
23274 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
23275
10589b4a
TS
23276 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
23277 __strtoul_internal rather than strtoul.
23278
63643c85
PT
232792012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23280
23281 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
23282 and reject them.
23283
3faebe6a
ST
232842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23285
23286 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
23287 which preserves existing values.
23288 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
23289
c6474b07
PT
232902012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23291
23292 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
23293 TIMEOUT values. Return EINVAL for NFDS values either negative or
23294 greater than FD_SETSIZE.
23295
1043890b
ST
232962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23297
23298 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
23299 allocated, call __vm_protect to finish enabling the existing space, and
23300 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
23301 allocate the remainder.
23302
37ed8b9b
PT
233032012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23304
23305 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
23306 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
23307
db653660
ST
233082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23309
37ed8b9b
PT
23310 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
23311 sysdeps/mach/hurd/readlink.c.
b29d4053 23312
db653660
ST
23313 * posix/tst-sysconf.c (posix_options): Only use
23314 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
23315 _POSIX_SYNCHRONIZED_IO when they are defined
23316 * sysdeps/mach/hurd/bits/posix_opt.h:
23317 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
23318 (_XOPEN_REALTIME): Undefine macro.
23319 (_XOPEN_REALTIME_THREADS): Undefine macro.
23320 (_XOPEN_SHM): Undefine macro.
23321 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
23322 macro to -1.
23323 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
23324 macro to -1.
23325 (_POSIX_ASYNC_IO): Undefine macro.
23326 (_POSIX_PRIORITIZED_IO): Undefine macro.
23327 (_POSIX_SPIN_LOCKS): Define macro to -1.
23328
ee16e894
ST
23329 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
23330 SA_NODEFER, SA_RESETHAND.
23331 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
23332 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
23333 F_DUPFD_CLOEXEC.
23334
6103ae3b
TS
233352012-05-10 Thomas Schwinge <thomas@schwinge.name>
23336
23337 * elf/Makefile (pldd-modules): Define unconditionally.
23338
80b4e5f3
TS
233392012-05-10 Thomas Schwinge <thomas@schwinge.name>
23340
23341 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
23342
edadcbd6
ST
233432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23344
23345 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
23346 Return ENOENT when name is empty.
23347 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
23348
80694780
TS
233492012-05-10 Thomas Schwinge <thomas@schwinge.name>
23350
1792c087
TS
23351 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
23352
80694780
TS
23353 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
23354
6b645f0d
ST
233552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23356
80694780
TS
23357 Fix mlock in all cases except non-readable pages.
23358 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
23359 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 23360
6b645f0d
ST
23361 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
23362 (__mkdir): When path is `/', just fail with EEXIST.
23363 * sysdeps/mach/hurd/mkdirat.c: Likewise.
23364
e468f8a3
TS
233652012-05-10 Thomas Schwinge <thomas@schwinge.name>
23366
23367 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
23368 <sys/uio.h> (for writev).
23369 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
23370 and <sys/param.h> (for MIN).
23371
a4186cff
PT
233722012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23373
23374 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
23375 REQUESTED_TIME. Properly set the remaining time and return EINTR
23376 if interrupted.
23377
510bbf14
TS
233782012-05-10 Thomas Schwinge <thomas@schwinge.name>
23379
23380 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
23381 Depend on against $(link-rpcuserlibs).
23382
5d5722e8
ST
233832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23384
a4186cff
PT
23385 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
23386 (__libc_stack_end): Do not use attribute_relro.
23387 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
23388 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 23389 to libthread-provided value.
a4186cff
PT
23390 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
23391 attribute_relro.
5d5722e8 23392
37233df9
TS
233932012-05-10 Thomas Schwinge <thomas@schwinge.name>
23394
be971a2b
TS
23395 [BZ #3748]
23396 * bits/libc-lock.h (__libc_once_get): New macro.
23397 * sysdeps/mach/bits/libc-lock.h: Likewise.
23398 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
23399 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
23400 instead of using implementation details.
23401
37233df9
TS
23402 * libio/fileops.c: Unconditionally include <kernel-features.h>.
23403 * libio/freopen.c: Likewise.
23404 * libio/freopen64.c: Likewise.
23405 * misc/syslog.c: Likewise.
23406 * nscd/connections.c: Likewise.
23407 * nscd/netgroupcache.c: Likewise.
23408 * sysdeps/posix/getcwd.c: Likewise.
23409
38de94a5
RM
234102012-05-10 Roland McGrath <roland@hack.frob.com>
23411
23412 * math/w_ilogbf.c: Add #include <limits.h>.
23413
67530489
ST
234142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23415
a4186cff 23416 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
23417 path instead of returning without unlocking.
23418
67530489
ST
23419 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
23420 immediate-write ioctls.
23421 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
23422
5aa3a74a
TS
234232012-05-10 Thomas Schwinge <thomas@schwinge.name>
23424
18bad2ae
TS
23425 * sysdeps/mach/hurd/i386/init-first.c (init): Use
23426 __builtin_frame_address instead of making assumptions about the
23427 location of the return address relative to DATA. Force early load of
23428 the return address.
23429 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
23430 __builtin_frame_address.
23431
5aa3a74a
TS
23432 dup3 for GNU Hurd.
23433 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
23434 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
23435 implement dup3 and do some further code clean-ups.
23436 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
23437 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
23438
ecd0de9a
ST
234392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23440
cd9fa985
ST
23441 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
23442
a4186cff
PT
23443 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
23444 HURD_CRITICAL_END around holding _hurd_dtable_lock.
23445 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
23446 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
23447 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
23448 d->port.lock.
802ca5a5 23449
a4186cff
PT
23450 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
23451 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
23452 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 23453
bcf55240
TS
234542012-05-10 Thomas Schwinge <thomas@schwinge.name>
23455
6960eb42
TS
23456 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
23457 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
23458 definitions.
23459
eb43375f
TS
23460 accept4 for GNU Hurd.
23461 * include/sys/socket.h (__libc_accept4): New prototype.
23462 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
23463 to implement __libc_accept4.
23464 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
23465 __libc_accept4.
23466 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
23467
bcf55240
TS
23468 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
23469 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
23470 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
23471 signal-defines.sym.
23472
6178c55b
ST
234732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23474
a4186cff 23475 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 23476
6f080c2f
TS
234772012-05-10 Thomas Schwinge <thomas@schwinge.name>
23478
23479 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
23480 assertion on O_CLOEXEC flag.
23481 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
23482 * hurd/intern-fd.c: Likewise.
23483 * hurd/port2fd.c: Likewise.
23484
bcfe3a54
ST
234852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23486
23487 [BZ #3906]
23488 * bits/in.h (IPV6_PKTINFO): Define new macro.
23489 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
23490
89c9aa49
AZ
234912012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23492
23493 [BZ #13954]
23494 [BZ #13955]
23495 [BZ #13956]
23496 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
23497 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23498 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
23499 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23500 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23501 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23502 * math/libm-test.inc (logb_test) : Additional logb tests.
23503
021db4be
AJ
235042012-05-09 Andreas Schwab <schwab@linux-m68k.org>
23505 Andreas Jaeger <aj@suse.de>
23506
23507 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
23508 * configure: Regenerated.
23509 * config.h.in (LINK_OBSOLETE_RPC): New macro.
23510 * config.make.in (link-obsolete-rpc): New substituted variable.
23511 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
23512 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
23513 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23514 (shared-only-routines): Don't set it under [link-obsolete-rpc],
23515 so that libc.a contains the symbols.
23516 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23517 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
23518 * sunrpc/auth_none.c: Likewise.
23519 * sunrpc/auth_unix.c: Likewise.
23520 * sunrpc/authdes_prot.c: Likewise.
23521 * sunrpc/authuxprot.c: Likewise.
23522 * sunrpc/clnt_gen.c: Likewise.
23523 * sunrpc/clnt_perr.c: Likewise.
23524 * sunrpc/clnt_raw.c: Likewise.
23525 * sunrpc/clnt_simp.c: Likewise.
23526 * sunrpc/clnt_tcp.c: Likewise.
23527 * sunrpc/clnt_udp.c: Likewise.
23528 * sunrpc/clnt_unix.c: Likewise.
23529 * sunrpc/des_crypt.c: Likewise.
23530 * sunrpc/des_soft.c: Likewise.
23531 * sunrpc/get_myaddr.c: Likewise.
23532 * sunrpc/key_call.c: Likewise.
23533 * sunrpc/key_prot.c: Likewise.
23534 * sunrpc/netname.c: Likewise.
23535 * sunrpc/pm_getmaps.c: Likewise.
23536 * sunrpc/pm_getport.c: Likewise.
23537 * sunrpc/pmap_clnt.c: Likewise.
23538 * sunrpc/pmap_prot.c: Likewise.
23539 * sunrpc/pmap_prot2.c: Likewise.
23540 * sunrpc/pmap_rmt.c: Likewise.
23541 * sunrpc/publickey.c: Likewise.
23542 * sunrpc/rpc_cmsg.c: Likewise.
23543 * sunrpc/rpc_common.c: Likewise.
23544 * sunrpc/rpc_dtable.c: Likewise.
23545 * sunrpc/rpc_prot.c: Likewise.
23546 * sunrpc/rpc_thread.c: Likewise.
23547 * sunrpc/rtime.c: Likewise.
23548 * sunrpc/svc.c: Likewise.
23549 * sunrpc/svc_auth.c: Likewise.
23550 * sunrpc/svc_raw.c: Likewise.
23551 * sunrpc/svc_run.c: Likewise.
23552 * sunrpc/svc_tcp.c: Likewise.
23553 * sunrpc/svc_udp.c: Likewise.
23554 * sunrpc/svc_unix.c: Likewise.
23555 * sunrpc/svcauth_des.c: Likewise.
23556 * sunrpc/xcrypt.c: Likewise.
23557 * sunrpc/xdr.c: Likewise.
23558 * sunrpc/xdr_array.c: Likewise.
23559 * sunrpc/xdr_float.c: Likewise.
23560 * sunrpc/xdr_intXX_t.c: Likewise.
23561 * sunrpc/xdr_mem.c: Likewise.
23562 * sunrpc/xdr_rec.c: Likewise.
23563 * sunrpc/xdr_ref.c: Likewise.
23564 * sunrpc/xdr_sizeof.c: Likewise.
23565 * sunrpc/xdr_stdio.c: Likewise.
23566
b5c086a2
RM
235672012-05-10 Roland McGrath <roland@hack.frob.com>
23568
23569 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
23570 change. Update copyright years.
23571
6d74dd09
JM
235722012-05-10 Joseph Myers <joseph@codesourcery.com>
23573
23574 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
23575
28e72501
MK
235762012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
23577 Joseph Myers <joseph@codesourcery.com>
23578 Paul Pluzhnikov <ppluzhnikov@google.com>
23579
23580 [BZ #14012]
23581 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
23582 requiring rpcgen.
23583 [cross-compiling] (extra-libs): Likewise.
23584 [cross-compiling] (extra-libs-others): Likewise.
23585 [cross-compiling] (librpcsvc-routines): Likewise.
23586 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
23587 [cross-compiling] (omit-deps): Likewise.
23588 (sunrpc-CPPFLAGS): New variable.
23589 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
23590 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
23591 (cross-rpcgen-objs): New variable.
23592 (extra-objs): Append $(cross-rpcgen-objs).
23593 ($(cross-rpcgen-objs)): New rule.
23594 ($(objpfx)cross-rpcgen): Likewise.
23595 (rpcgen-cmd): Define to use $(built-program-file). Expand
23596 comment.
23597 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
23598 ($(objpfx)x%.stmp): Likewise.
23599 * sunrpc/proto.h [IS_IN_build] (_): Define.
23600 [IS_IN_build] (_libc_intl_domainname): Likewise.
23601
c8c59454
L
236022012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23603
23604 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
23605 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
23606 and R_X86_64_TPOFF64.
23607
6f27cd16
JM
236082012-05-10 Joseph Myers <joseph@codesourcery.com>
23609
23610 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
23611 sysdeps/unix/sysv/syscalls.list.
23612 (stime): Likewise.
23613 (utime): Likewise.
23614 * sysdeps/unix/sysv/syscalls.list: Remove file.
23615
02467e1c
PE
236162012-05-10 Paul Eggert <eggert@cs.ucla.edu>
23617
23618 [BZ #3440]
23619 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
23620 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
23621 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
23622 (__LC_IDENTIFICATION): Make these macros useful in #if
23623 expressions, as required by C99.
23624
da392631
AS
236252012-05-10 Andreas Schwab <schwab@linux-m68k.org>
23626
23627 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
23628 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
23629 after this.
23630
8115f29b
L
236312012-05-09 H.J. Lu <hongjiu.lu@intel.com>
23632
23633 * stdlib/longlong.h: Updated from GCC.
23634
bdd74070
AJ
236352012-05-09 Andreas Jaeger <aj@suse.de>
23636
edfe0dbe
AJ
23637 * nscd/nscd.c (run_modes): Make named enum, reorder so that
23638 default is first entry.
23639 (run_mode): Set type.
23640 (main): Remove informal message about syslog.
23641 (options): Fix typo.
23642
bcfe3a54
ST
23643 [BZ #14053]
23644 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 23645 to asm.
bcfe3a54
ST
23646 (lrint): Likewise.
23647 (llrintf): Likewise.
23648 (llrint): Likewise.
23649 (rint): Likewise.
23650 (rintf): Likewise.
23651 (nearbyint): Likewise.
23652 (nearbyintf): Likewise.
bdd74070 23653
91d8d69e
AJ
236542012-05-09 Andreas Jaeger <aj@suse.de>
23655 Pedro Alves <palves@redhat.com>
23656
23657 * nscd/nscd.c (run_mode): Use enum.
23658 (main): Cleanup coding style issue.
23659
bb90b80b
AJ
236602012-05-09 Alexandre Oliva <aoliva@redhat.com>
23661 Andreas Jaeger <aj@suse.de>
23662
bcfe3a54
ST
23663 * nscd/nscd.c (go_background): Replaced with...
23664 (run_mode): ... this.
bb90b80b 23665 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
23666 (options): Add -F --foreground.
23667 (main): Implement it.
23668 (parse_opt): Parse it.
bb90b80b 23669
1a4b75a1
AJ
236702012-05-09 Andreas Jaeger <aj@suse.de>
23671
23672 [BZ #14083]
23673 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
23674 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
23675 -Wconversion warning.
23676 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
23677 Likewise.
23678
b1cc2472
JM
236792012-05-09 Joseph Myers <joseph@codesourcery.com>
23680
23681 * conform/data/locale.h-data (NULL): Use macro-constant. Require
23682 == 0.
23683 (LC_ALL): Use macro-int-constant.
23684 (LC_COLLATE): Likewise.
23685 (LC_CTYPE): Likewise.
23686 (LC_MESSAGES): Likewise.
23687 (LC_MONETARY): Likewise.
23688 (LC_NUMERIC): Likewise.
23689 (LC_TIME): Likewise.
23690 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
23691 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23692 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23693 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
23694 Specify type.
23695 [C99-based standards] (float_t): Expect type.
23696 [C99-based standards] (double_t): Expect type.
23697 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
23698 type.
23699 [C99-based standards] (HUGE_VALL): Likewise.
23700 [C99-based standards] (INFINITY): Likewise.
23701 [C99-based standards] (NAN): Likewise.
23702 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
23703 [C99-based standards] (FP_NAN): Likewise.
23704 [C99-based standards] (FP_NORMAL): Likewise.
23705 [C99-based standards] (FP_SUBNORMAL): Likewise.
23706 [C99-based standards] (FP_ZERO): Likewise.
23707 [C99-based standards] (FP_FAST_FMA): Use
23708 optional-macro-int-constant. Specify type. Require == 1.
23709 [C99-based standards] (FP_FAST_FMAF): Likewise.
23710 [C99-based standards] (FP_FAST_FMAL): Likewise.
23711 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
23712 [C99-based standards] (FP_ILOGBNAN): Likewise.
23713 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
23714 Specify type.
23715 [C99-based standards] (MATH_ERREXCEPT): Likewise.
23716 [C99-based standards] (math_errhandling): Specify type.
23717 [ISO99 || ISO11] (signgam): Do not allow.
23718 [non-C99-based standards] (copysignf): Do not allow.
23719 [non-C99-based standards] (exp2f): Likewise.
23720 [non-C99-based standards] (log2f): Likewise.
23721 [non-C99-based standards] (modff): Allow.
23722 [non-C99-based standards] (erff): Do not allow.
23723 [non-C99-based standards] (erfcf): Likewise.
23724 [non-C99-based standards] (gammaf): Likewise.
23725 [non-C99-based standards] (hypotf): Likewise.
23726 [non-C99-based standards] (j0f): Likewise.
23727 [non-C99-based standards] (j1f): Likewise.
23728 [non-C99-based standards] (jnf): Likewise.
23729 [non-C99-based standards] (lgammaf): Likewise.
23730 [non-C99-based standards] (tgammaf): Likewise.
23731 [non-C99-based standards] (y0f): Likewise.
23732 [non-C99-based standards] (y1f): Likewise.
23733 [non-C99-based standards] (ynf): Likewise.
23734 [non-C99-based standards] (isnanf): Likewise.
23735 [non-C99-based standards] (acoshf): Likewise.
23736 [non-C99-based standards] (asinhf): Likewise.
23737 [non-C99-based standards] (atanhf): Likewise.
23738 [non-C99-based standards] (cbrtf): Likewise.
23739 [non-C99-based standards] (expm1f): Likewise.
23740 [non-C99-based standards] (ilogbf): Likewise.
23741 [non-C99-based standards] (log1pf): Likewise.
23742 [non-C99-based standards] (logbf): Likewise.
23743 [non-C99-based standards] (nextafterf): Likewise.
23744 [non-C99-based standards] (remainderf): Likewise.
23745 [non-C99-based standards] (rintf): Likewise.
23746 [non-C99-based standards] (scalbf): Likewise.
23747 [non-C99-based standards] (copysignl): Likewise.
23748 [non-C99-based standards] (exp2l): Likewise.
23749 [non-C99-based standards] (log2l): Likewise.
23750 [non-C99-based standards] (modfl): Allow.
23751 [non-C99-based standards] (erfl): Do not allow.
23752 [non-C99-based standards] (erfcl): Likewise.
23753 [non-C99-based standards] (gammal): Likewise.
23754 [non-C99-based standards] (hypotl): Likewise.
23755 [non-C99-based standards] (j0l): Likewise.
23756 [non-C99-based standards] (j1l): Likewise.
23757 [non-C99-based standards] (jnl): Likewise.
23758 [non-C99-based standards] (lgammal): Likewise.
23759 [non-C99-based standards] (tgammal): Likewise.
23760 [non-C99-based standards] (y0l): Likewise.
23761 [non-C99-based standards] (y1l): Likewise.
23762 [non-C99-based standards] (ynl): Likewise.
23763 [non-C99-based standards] (isnanl): Likewise.
23764 [non-C99-based standards] (acoshl): Likewise.
23765 [non-C99-based standards] (asinhl): Likewise.
23766 [non-C99-based standards] (atanhl): Likewise.
23767 [non-C99-based standards] (cbrtl): Likewise.
23768 [non-C99-based standards] (expm1l): Likewise.
23769 [non-C99-based standards] (ilogbl): Likewise.
23770 [non-C99-based standards] (log1pl): Likewise.
23771 [non-C99-based standards] (logbl): Likewise.
23772 [non-C99-based standards] (nextafterl): Likewise.
23773 [non-C99-based standards] (remainderl): Likewise.
23774 [non-C99-based standards] (rintl): Likewise.
23775 [non-C99-based standards] (scalbl): Likewise.
23776 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23777 [non-C99-based standards] (FP_*): Do not allow.
23778 [C99-based standards] (FP_*): Change to
23779 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23780 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23781 allow.
23782 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
23783 (SIG_ERR): Likewise.
23784 [X/Open-based standards] (SIG_HOLD): Likewise.
23785 (SIG_IGN): Likewise.
23786 (SIGABRT): Use macro-int-constant. Specify type. Require
23787 positive value.
23788 (SIGFPE): Likewise.
23789 (SIGILL): Likewise.
23790 (SIGINT): Likewise.
23791 (SIGSEGV): Likewise.
23792 (SIGTER): Likewise.
23793 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
23794 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
23795 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
23796 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
23797 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
23798 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
23799 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
23800 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
23801 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
23802 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
23803 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
23804 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
23805 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
23806 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
23807 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
23808 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
23809 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
23810 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
23811 [X/Open-based standards] (SIGTRAP): Likewise.
23812 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
23813 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
23814 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
23815 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
23816 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23817 allow.
23818
b9f1922d
IW
238192012-05-08 Ian Wienand <ianw@vmware.com>
23820
23821 [BZ #14080]
23822 * time/tzset.c (__tzset_parse_tz): Update default rules for
23823 daylight time changes in the Energy Policy Act of 2005.
23824
1db86e88
AJ
238252012-05-09 Andreas Jaeger <aj@suse.de>
23826
23827 [BZ #13983]
23828 * elf/ldconfig.c (parse_conf): Change string to make clear that
23829 ldconfig only issued a warning if ld.so.conf does not exist.
23830
dee4a4e3
DM
238312012-05-08 David S. Miller <davem@davemloft.net>
23832
ee0db190
DM
23833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
23834 movxtod instead of popping the value on the stack.
23835
dee4a4e3
DM
23836 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23837
6a43ec98
CD
238382012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
23839
23840 * config.h.in: Add HAVE_ARM_PCS_VFP.
23841
05c2c961
RMG
238422012-05-08 Roland Mc Grath <roland@hack.frob.com>
23843
bcfe3a54
ST
23844 [BZ #13979]
23845 * include/features.h: Warn if user requests __FORTIFY_SOURCE
23846 checking but the checks are disabled for any reason.
05c2c961 23847
4b30f61a
L
238482012-05-08 H.J. Lu <hongjiu.lu@intel.com>
23849
23850 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
23851 and ELF64_R_TYPE with ELFW(R_TYPE).
23852
eee2bc67
JM
238532012-05-08 Joseph Myers <joseph@codesourcery.com>
23854
7ea5391a
JM
23855 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
23856 (ulimit): Likewise.
23857
eee2bc67
JM
23858 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
23859 (settimeofday): Likewise.
23860
abb66a67
MF
238612012-05-08 Mike Frysinger <vapier@gentoo.org>
23862
23863 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
23864 a struct th_u2 inside the union, and move tu_block/tu_code into
23865 a new th_u3 union of tu_block/tu_code inside of that. Move
23866 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
23867 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
23868 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
23869 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
23870 (th_stuff): Change to th_u1.tu_stuff.
23871 (th_data): Define.
23872 (th_msg): Change to th_u1.th_u2.tu_data.
23873
7f18b530
DM
238742012-05-07 David S. Miller <davem@davemloft.net>
23875
05760585
DM
23876 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23877
7f18b530
DM
23878 [BZ #14074]
23879 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
23880 (SETUP_PIC_REG): Use it.
23881 (SETUP_PIC_REG_LEAF): Use it.
23882
495fd99f
JM
238832012-05-07 Joseph Myers <joseph@codesourcery.com>
23884
23885 [BZ #13885]
23886 [BZ #13923]
23887 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23888 USE_AS_EXPM1L.
23889 (EXPL_FINITE): Likewise.
23890 (FLDLOG): Likewise.
23891 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23892 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23893 e_expl.S.
23894 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23895 USE_AS_EXPM1L.
23896 (EXPL_FINITE): Likewise.
23897 (FLDLOG): Likewise.
23898 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23899 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23900 e_expl.S.
23901 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
23902 test of -max_value argument for long double.
23903 * sysdeps/i386/fpu/libm-test-ulps: Update.
23904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23905
6693d694
DM
239062012-05-06 David S. Miller <davem@davemloft.net>
23907
23908 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
23909 quad soft-float symbols whose references which are compiler
23910 generated.
23911 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23912
6c23e11c
JM
239132012-05-06 Joseph Myers <joseph@codesourcery.com>
23914
d8b82cad
JM
23915 [BZ #13884]
23916 [BZ #13914]
23917 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23918 USE_AS_EXP10L.
23919 (EXPL_FINITE): Likewise.
23920 (FLDLOG): Likewise.
23921 (c0): Likewise.
23922 (c1): Likewise.
23923 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
23924 Adjust comments for base varying.
23925 (__expl_finite): Change alias to EXPL_FINITE.
23926 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
23927 e_expl.S.
23928 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
23929 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
23930 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23931 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
23932 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23933 USE_AS_EXP10L.
23934 (EXPL_FINITE): Likewise.
23935 (FLDLOG): Likewise.
23936 (c0): Likewise.
23937 (c1): Likewise.
23938 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
23939 Adjust comments for base varying.
23940 (__expl_finite): Change alias to EXPL_FINITE.
23941 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
23942 tests for bugs.
23943 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23944
6c23e11c
JM
23945 [BZ #14064]
23946 * math/libm-test.inc (check_float_internal): Correct ulp
23947 calculation for subnormal expected results.
23948
29ba805c
AJ
239492012-05-06 Andreas Jaeger <aj@suse.de>
23950
23951 * Makeconfig (+math-flags): New, set to -frounding-math.
23952 (+cflags): Add +math-flags so that all of glibc gets compiled with
23953 it.
23954
23955 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
23956
7b17aeda
JM
239572012-05-05 Joseph Myers <joseph@codesourcery.com>
23958
5779f134
JM
23959 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
23960 Disable one test.
23961
41498f4d
JM
23962 [BZ #13787]
23963 [BZ #13922]
23964 [BZ #14036]
23965 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
23966 (__ieee754_expl): Allow for and saturate large arguments.
23967 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
23968 (u_threshold): Likewise.
23969 (__exp): Call __ieee754_exp before checking for overflow and
23970 underflow.
23971 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
23972 (u_threshold): Likewise.
23973 (__expf): Call __ieee754_expf before checking for overflow and
23974 underflow.
23975 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
23976 (u_threshold): Likewise.
23977 (__expl): Call __ieee754_expl before checking for overflow and
23978 underflow.
23979 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
23980 (__ieee754_expl): Allow for and saturate large arguments.
23981 * math/libm-test.inc (exp_test): Add another test. Do not allow
23982 missing overflow exception on overflow.
23983 (expm1_test): Do not allow missing overflow exception on overflow.
23984
6698b8bf
JM
23985 * sysdeps/i386/fpu/e_expl.c: Move to ...
23986 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
23987 rather than using inline asm.
23988 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
23989 * sysdeps/x86_64/fpu/e_expl.S: Copy from
23990 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
23991
7b17aeda
JM
23992 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
23993 (nice): Likewise.
23994 (poll): Likewise.
23995 (signal): Likewise.
23996 (time): Likewise.
23997 (times): Likewise.
23998
f7c85819
JM
239992012-05-04 Joseph Myers <joseph@codesourcery.com>
24000
24001 * sysdeps/unix/syscalls.list (adjtime): Add entry from
24002 sysdeps/unix/common/syscalls.list.
24003 (fchmod): Likewise.
24004 (fchown): Likewise.
24005 (ftruncate): Likewise.
24006 (getrusage): Likewise.
24007 (gettimeofday): Likewise.
24008 (setpgid): Likewise.
24009 (setregid): Likewise.
24010 (setreuid): Likewise.
24011 (sigaction): Likewise.
24012 (truncate): Likewise.
24013 (vhangup): Likewise.
24014 * sysdeps/unix/common/syscalls.list: Remove file.
24015 * sysdeps/unix/bsd/Implies: Don't include unix/common.
24016 * sysdeps/unix/sysv/linux/Implies: Likewise.
24017
336270d0
L
240182012-05-04 H.J. Lu <hongjiu.lu@intel.com>
24019
24020 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
24021 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
24022 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
24023 Moved to ...
24024 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
24025 Here.
24026 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
24027 to ...
24028 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
24029 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
24030 to ...
24031 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
24032 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
24033 to ...
24034 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
24035 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
24036 to ...
24037 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
24038 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
24039 to ...
24040 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
24041 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
24042 to ...
24043 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
24044 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
24045 to ...
24046 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24047 Here.
24048 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
24049 to ...
24050 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
24051 Here.
24052 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
24053 to ...
24054 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
24055 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
24056 Moved to ...
24057 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
24058 Here.
24059 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
24060 to ...
24061 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
24062
d128e450
JM
240632012-05-04 Joseph Myers <joseph@codesourcery.com>
24064
fa8ee516
JM
24065 * sysdeps/unix/common/bits/dirent.h: Remove file.
24066 * sysdeps/unix/common/bits/fcntl.h: Likewise.
24067
d128e450
JM
24068 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
24069 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
24070 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
24071 * sysdeps/unix/bsd/isatty.c: Likewise.
24072 * sysdeps/unix/bsd/tcdrain.c: Likewise.
24073 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
24074 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
24075
ff8faaf0 240762012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 24077
62881be4 24078 [BZ #13563]
31dc8730
AZ
24079 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
24080 long double comparison inaccuracies.
24081 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24082 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24083
6fef930c
AS
240842012-05-04 Andreas Schwab <schwab@linux-m68k.org>
24085
24086 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
24087 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
24088
8f203e6c
JM
240892012-05-04 Joseph Myers <joseph@codesourcery.com>
24090
24091 [BZ #14049]
24092 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
24093 nonzero digits before rounding a hex value.
24094 * stdlib/tst-strtod.c (tests): Add another test.
24095
5197d9c2
AK
240962012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24097
24098 * sysdeps/s390/fpu/libm-test-ulps: Update.
24099
f0c1dedf
AJ
241002012-05-03 Andreas Jaeger <aj@suse.de>
24101
24102 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
24103 does not get optimized out.
24104 (malloc_opt_barrier): New.
24105
a65ef2ae 241062012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 24107 Roland McGrath <roland@hack.frob.com>
a65ef2ae 24108
2b942cb7 24109 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 24110 intermediate file deletion.
2b942cb7 24111 (generated): Add .symlist files.
a65ef2ae 24112
54b71e02
JM
241132012-05-03 Joseph Myers <joseph@codesourcery.com>
24114
24115 [BZ #13775]
24116 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
24117 Redirect under this condition.
24118 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24119 [__USE_GNU] (__dprintf_chk): Not under this condition.
24120 [__USE_GNU] (__vdprintf_chk): Likewise.
24121 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
24122 under this condition.
24123 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24124 [__USE_XOPEN2K8] (dprintf): Define under this condition.
24125 [__USE_XOPEN2K8] (vdprintf): Likewise.
24126 [__USE_GNU] (__dprintf_chk): Not under this condition.
24127 [__USE_GNU] (__vdprintf_chk): Likewise.
24128 [__USE_GNU] (dprintf): Likewise.
24129 [__USE_GNU] (vdprintf): Likewise.
24130
d3dfcc41
RM
241312012-05-03 Roland McGrath <roland@hack.frob.com>
24132
24133 * elf/Makefile (common-generated): Set this instead of generated for
24134 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
24135 $(all-built-dso)-derived lists.
24136
7ac30cc5
AJ
241372012-05-03 Andreas Jaeger <aj@suse.de>
24138
0c51e550
AJ
24139 * sysdeps/i386/fpu/libm-test-ulps: Update.
24140
7ac30cc5
AJ
24141 * FAQ: Removed.
24142 * FAQ.in: Likewise.
24143 * scripts/gen-FAQ.pl: Likewise.
24144 * manual/install.texi (Installation): Point to online location of
24145 FAQ.
24146 * Makefile (files-for-dist): Remove FAQ.
24147 (FAQ): Remove.
24148
d4c2917f
AM
241492012-05-02 Allan McRae <allan@archlinux.org>
24150
24151 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
24152 (LDFLAGS-reldepmod5.so): Likewise.
24153 (LDFLAGS-reldep6mod1.so): Likewise.
24154 (LDFLAGS-reldep6mod4.so): Likewise.
24155 (LDFLAGS-reldep8mod3.so): Likewise.
24156 (LDFLAGS-unload4mod1.so): Likewise.
24157 (LDFLAGS-unload4mod2.so): Likewise.
24158 (LDFLAGS-tst-initorder): Likewise.
24159 (LDFLAGS-tst-initordera2.so): Likewise.
24160 (LDFLAGS-tst-initordera3.so): Likewise.
24161 (LDFLAGS-tst-initordera4.so): Likewise.
24162 (LDFLAGS-tst-initorderb2.so): Likewise.
24163 (LDFLAGS-noload): Likewise.
24164 (LDFLAGS-next): Likewise.
24165 (LDFLAGS-order2mod1.so): Likewise.
24166 (LDFLAGS-order2mod2.so): Likewise.
24167 (LDFLAGS-tst-initorder2): Likewise.
24168 (LDFLAGS-tst-initorder2a.so): Likewise.
24169 (LDFLAGS-tst-initorder2b.so): Likewise.
24170 (LDFLAGS-tst-initorder2c.so): Likewise.
24171 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
24172
d77f993f
DM
241732012-05-02 David S. Miller <davem@davemloft.net>
24174
24175 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24176
171a70b4
PP
241772012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
24178
24179 [BZ #14055]
24180 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
24181
0be196ad
AJ
241822012-05-02 Andreas Jaeger <aj@suse.de>
24183
24184 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
24185 since we manipulate rounding mode.
24186 (CPPFLAGS-test-idouble.c): Likewise.
24187 (CPPFLAGS-test-ifloat.c): Likewise.
24188 (CFLAGS-test-ldouble.c): Likewise.
24189 (CFLAGS-test-double.c): Likewise.
24190 (CFLAGS-test-float.c): Likewise.
24191 (CFLAGS-test-misc.c): Likewise.
24192 (CFLAGS-test-test-fenv.c): Likewise.
24193
4f9d04aa
AZ
241942012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24195
2b942cb7
RM
24196 [BZ #2550]
24197 [BZ #2570]
24198 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
24199 comparisons to determine direction to adjust input.
4f9d04aa 24200
82a79e7d
RM
242012012-05-01 Roland McGrath <roland@hack.frob.com>
24202
f5a01ca9
RM
24203 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
24204 output to the target.
24205
90fe4186
RM
24206 * scripts/localplt.awk: New file.
24207 * elf/Makefile ($(objpfx)check-localplt): Target removed.
24208 (check-localplt-CFLAGS): Variable removed.
24209 ($(all-built-dso:=.jmprel)): New static pattern rule.
24210 (generated): Add those targets.
24211 (localplt-built-dso): New variable.
24212 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
24213
24214 * elf/check-localplt.c: File removed.
24215
82397ed6
RM
24216 * scripts/check-execstack.awk: New file.
24217 * elf/Makefile ($(objpfx)check-execstack): Target removed.
24218 (check-execstack-CFLAGS): Variable removed.
24219 ($(objpfx)check-execstack.h): Target removed.
24220 ($(objpfx)execstack-default): New target.
24221 (generated): Add that instead of check-execstack.h.
24222 ($(all-built-dso:=.phdr)): New static pattern rule.
24223 (generated): Add those targets.
24224 * elf/check-execstack.c: File removed.
24225
82a79e7d
RM
24226 * scripts/check-textrel.awk: New file.
24227 * elf/Makefile ($(objpfx)check-textrel): Target removed.
24228 (check-textrel-CFLAGS): Variable removed.
24229 (all-built-dso): Use := to define.o
24230 ($(all-built-dso:=.dyn)): New static pattern rule.
24231 (generated): Add those targets.
24232 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
24233 * config.make.in (READELF): New substituted variable.
24234 * elf/check-textrel.c: File removed.
24235
62fde54f 242362012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 24237
615605c9
JM
24238 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24239 allow.
24240 * conform/data/ctype.h-data [C99-based standards] (isblank):
24241 Expect function.
24242 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
24243 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
24244 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24245 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
24246 Specify type. Require positive value.
24247 (EILSEQ): Likewise.
24248 (ERANGE): Likewise.
24249 [ISO || POSIX] (EILSEQ): Do not expect.
24250 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
24251 Specify type. Require positive value.
24252 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
24253 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
24254 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
24255 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
24256 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
24257 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
24258 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
24259 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
24260 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
24261 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
24262 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
24263 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
24264 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
24265 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
24266 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
24267 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
24268 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
24269 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
24270 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
24271 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
24272 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
24273 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
24274 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
24275 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
24276 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
24277 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
24278 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
24279 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
24280 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
24281 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
24282 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
24283 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
24284 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
24285 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
24286 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
24287 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
24288 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
24289 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
24290 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
24291 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
24292 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
24293 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
24294 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
24295 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
24296 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
24297 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
24298 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
24299 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
24300 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
24301 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
24302 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
24303 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
24304 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
24305 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
24306 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
24307 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
24308 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
24309 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
24310 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
24311 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
24312 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
24313 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
24314 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
24315 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
24316 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
24317 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
24318 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
24319 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
24320 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
24321 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
24322 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
24323 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
24324 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
24325 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
24326 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
24327 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
24328 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
24329 Require >= 2.
24330 (FLT_ROUNDS): Expect as macro, not constant.
24331 (FLT_MANT_DIG): Use macro-int-constant.
24332 (DBL_MANT_DIG): Likewise.
24333 (LDBL_MANT_DIG): Likewise.
24334 (FLT_DIG): Likewise.
24335 (DBL_DIG): Likewise.
24336 (LDBL_DIG): Likewise.
24337 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
24338 (DBL_MIN_EXP): Likewise.
24339 (LDBL_MIN_EXP): Likewise.
24340 (FLT_MAX_EXP): Use macro-int-constant.
24341 (DBL_MAX_EXP): Likewise.
24342 (LDBL_MAX_EXP): Likewise.
24343 (FLT_MAX_10_EXP): Likewise.
24344 (DBL_MAX_10_EXP): Likewise.
24345 (LDBL_MAX_10_EXP): Likewise.
24346 (FLT_MAX): Use macro-constant.
24347 (DBL_MAX): Likewise.
24348 (LDBL_MAX): Likewise.
24349 (FLT_EPSILON): Use macro-constant. Give upper bound.
24350 (DBL_EPSILON): Likewise.
24351 (LDBL_EPSILON): Likewise.
24352 (FLT_MIN): Likewise.
24353 (DBL_MIN): Likewise.
24354 (LDBL_MIN): Likewise.
24355 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
24356 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
24357 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
24358 [ISO11] (FLT_HAS_SUBNORM): Likewise.
24359 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
24360 [ISO11] (DBL_DECIMAL_DIG): Likewise.
24361 [ISO11] (FLT_DECIMAL_DIG): Likewise.
24362 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
24363 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
24364 [ISO11] (FLT_TRUE_MIN): Likewise.
24365 [ISO11] (LDBL_TRUE_MIN): Likewise.
24366 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24367 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
24368 (SCHAR_MIN): Use macro-int-constant. Specify type.
24369 (SCHAR_MAX): Likewise.
24370 (UCHAR_MAX): Likewise.
24371 (CHAR_MIN): Likewise.
24372 (CHAR_MAX): Likewise.
24373 (MB_LEN_MAX): Use macro-int-constant.
24374 (SHRT_MIN): Use macro-int-constant. Specify type.
24375 (SHRT_MAX): Likewise.
24376 (USHRT_MAX): Likewise.
24377 (INT_MAX): Likewise.
24378 (INT_MIN): Use macro-int-constant. Specify type. Make upper
24379 bound negative.
24380 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
24381 bound with "U".
24382 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
24383 bound with "L".
24384 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
24385 bound negative. Suffix upper bound with "L".
24386 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
24387 bound with "UL".
24388 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
24389 Specify type.
24390 [C99-based standards] (LLONG_MAX): Likewise.
24391 [C99-based standards] (ULLONG_MAX): Likewise.
24392 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
24393 == 0.
24394 [ISO11] (max_align_t): Require type.
24395 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24396
c9140a62
JM
24397 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
24398 from $CFLAGS, without defining away __attribute__ calls.
24399 (checknamespace): Use $CFLAGS_namespace.
24400
9af0bf29
JM
24401 * conform/conformtest.pl (@keywords): Only include C99 keywords
24402 for standards based on C99 or C11.
24403
343222a2
JM
24404 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
24405 Disable tests.
24406 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
24407 UNIX98]: Likewise.
24408
661f8cf0
JM
24409 * conform/conformtest.pl: Handle "macro-int-constant" and test for
24410 usability of symbols in #if.
24411
ee74b9cb
JM
24412 * conform/conformtest.pl: If macro or constant types start
24413 "promoted:", expect the symbol to be of the following type
24414 promoted by the integer promotions.
62fde54f 24415
aafc49b3
JM
24416 * conform/conformtest.pl: Parse all "constant" and "macro" lines
24417 in one place. Also handle "macro-constant".
24418
fefdf574
JM
24419 * conform/conformtest.pl: Only accept expected macro values with
24420 "==". Parse all "macro" lines in one place.
24421 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
24422
f2d922fe
JM
24423 * conform/conformtest.pl: Handle braced types on "constant" lines
24424 instead of handling "typed-constant".
24425 * conform/data/signal.h-data: Use "constant" instead of
24426 "typed-constant".
24427
d22956c9
JM
24428 * conform/conformtest.pl: Handle "optional-" at start of lines in
24429 one place rather than duplicating several cases. Handle each
24430 format of "macro" line with initial "optional-".
24431
028e2e38
JM
24432 * conform/conformtest.pl: Only accept expected constant or
24433 optional-constant values with "==". Parse all "constant" lines in
24434 one place. Parse all "optional-constant" lines in one place.
24435 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
24436 * conform/data/fmtmsg.h-data: Likewise.
24437 * conform/data/netinet/in.h-data: Likewise.
24438 * conform/data/tar.h-data: Likewise.
24439 * conform/data/limits.h-data: Use "==" form on "constant" and
24440 "optional-constant" lines.
24441
1b8f2850
JM
24442 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
24443 Use -std=c99 for XOPEN2K.
24444 (@knownproblems): Remove.
24445 (newtoken): Don't check %isknown.
24446
a05a144b
JM
24447 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
24448 Do not expect macro.
24449 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
24450 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
24451 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
24452 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
24453 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
24454 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
24455 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
24456 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
24457 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
24458 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
24459 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
24460 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
24461 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
24462 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
24463 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
24464 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
24465 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
24466 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
24467 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
24468 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
24469 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
24470 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
24471 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
24472 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
24473 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
24474 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
24475 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
24476 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
24477 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
24478 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
24479 [XPG3] (acosh): Likewise.
24480 [XPG3] (asinh): Likewise.
24481 [XPG3] (atanh): Likewise.
24482 [XPG3] (cbrt): Likewise.
24483 [XPG3] (expm1): Likewise.
24484 [XPG3] (ilogb): Likewise.
24485 [XPG3] (log1p): Likewise.
24486 [XPG3] (logb): Likewise.
24487 [XPG3] (nextafter): Likewise.
24488 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
24489 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
24490 [XPG3] (remainder): Likewise.
24491 [XPG3] (rint): Likewise.
24492 [XPG3 || XPG4 || UNIX98] (round): Likewise.
24493 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
24494 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
24495 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
24496 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
24497 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
24498 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
24499 [UNIX98 || XOPEN2K] (scalb): Expect.
24500 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
24501 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
24502 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
24503 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
24504 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
24505 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
24506 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
24507 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
24508 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
24509 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
24510 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
24511 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
24512 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
24513 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
24514 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
24515 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
24516 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
24517 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
24518 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
24519 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
24520 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
24521 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
24522 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
24523 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
24524 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
24525 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
24526 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
24527 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
24528 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
24529 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
24530 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
24531 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
24532 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
24533 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
24534 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
24535 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
24536 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
24537 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
24538 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
24539 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
24540 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
24541 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
24542 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
24543 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
24544 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
24545 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
24546 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
24547 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
24548 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
24549 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
24550 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
24551 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
24552 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
24553 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
24554 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
24555 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
24556 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
24557 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
24558 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
24559 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
24560 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
24561 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
24562 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
24563 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
24564 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
24565 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
24566 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
24567 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
24568 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
24569 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
24570 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
24571 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
24572 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
24573 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
24574 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
24575 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
24576 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
24577 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
24578 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
24579 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
24580 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
24581 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
24582 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
24583 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
24584 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
24585 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
24586 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
24587 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
24588 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
24589 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
24590 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
24591 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
24592 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
24593 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
24594 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
24595 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
24596 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
24597 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
24598 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
24599 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
24600 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
24601 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
24602 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
24603 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
24604 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
24605 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
24606 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
24607 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
24608 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
24609 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
24610 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
24611 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
24612 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
24613 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
24614 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
24615 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
24616 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
24617 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
24618 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
24619 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
24620 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
24621 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
24622 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
24623 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
24624 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
24625 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
24626 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
24627 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
24628 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
24629 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
24630 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
24631 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
24632 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
24633 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
24634 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
24635 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
24636 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
24637
73c5ebe3
JM
24638 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
24639 _XOPEN_SOURCE_EXTENDED for XPG4.
24640
39c33b6c
JM
24641 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
24642
62fde54f
JM
24643 * Makeconfig (localtime): Remove variable.
24644 (inst_localtime-file): Likewise.
24645
0741d64c
AS
246462012-05-01 Andreas Schwab <schwab@linux-m68k.org>
24647
24648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
24649 Update.
24650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24651 Update.
24652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
24653 Update.
24654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24655 Update.
24656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
24657 Update.
24658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
24659 Update.
24660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24661 Update.
24662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
24663 Update.
24664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24665 Update.
24666
7cb029ee
JM
246672012-05-01 Joseph Myers <joseph@codesourcery.com>
24668
24669 [BZ #2550]
24670 [BZ #2570]
24671 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
24672 comparisons to determine direction to adjust input.
24673 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
24674 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
24675 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
24676 Likewise.
24677 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
24678 Likewise.
24679 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24680 Likewise.
24681 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
24682 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
24683 Likewise.
24684 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
24685 Likewise.
24686 * math/libm-test.inc (nexttoward_test): Add more tests.
24687
412bd966
AS
246882012-05-01 Andreas Schwab <schwab@linux-m68k.org>
24689
24690 [BZ #14040]
24691 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
24692 in version GLIBC_2.1, not GLIBC_2.0.
24693 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
24694 Likewise.
24695
9568c0c2
JM
246962012-04-30 Joseph Myers <joseph@codesourcery.com>
24697
adfbc8ac
JM
24698 [BZ #13942]
24699 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
24700 (1 - x) * (1 + x).
24701 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24702 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
24703 * math/libm-test.inc (acos_test): Add more tests.
24704 (asin_test): Likewise.
24705 * sysdeps/i386/fpu/libm-test-ulps: Update.
24706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24707
5ba3cc69
JM
24708 [BZ #14034]
24709 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
24710 of square root.
24711 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
24712 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24713 * math/libm-test.inc (acos_test_tonearest): New function.
24714 (acos_test_towardzero): Likewise.
24715 (acos_test_downward): Likewise.
24716 (acos_test_upward): Likewise.
24717 (asin_test_tonearest): Likewise.
24718 (asin_test_towardzero): Likewise.
24719 (asin_test_downward): Likewise.
24720 (asin_test_upward): Likewise.
24721 (main): Call the new functions.
24722 * sysdeps/i386/fpu/libm-test-ulps: Update.
24723 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24724
9568c0c2
JM
24725 [BZ #13884]
24726 [BZ #13924]
24727 * math/e_exp10.c: Include <float.h>.
24728 (__ieee754_exp10): Handle underflow here rather than multiplying
24729 large negative argument by M_LN10.
24730 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
24731 of __ieee754_expf.
24732 * math/e_exp10l.c: Include <float.h>.
24733 (__ieee754_exp10l): Handle underflow here rather than multiplying
24734 large negative argument by M_LN10l.
24735 * math/libm-test.inc (exp10_test): Add another test. Do not allow
24736 spurious overflow exception on underflow.
24737
5ac3ea17
MP
247382012-04-29 Marek Polacek <polacek@redhat.com>
24739
24740 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
24741 (__fortify_function): New macro.
24742 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
24743 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
24744 __extern_always_inline.
24745 * libio/bits/stdio2.h: Likewise.
24746 * libio/bits/stdio.h: Likewise.
24747 * string/string.h: Likewise.
24748 * string/bits/string3.h: Likewise.
24749 * include/stdio.h: Likewise.
24750 * stdlib/bits/stdlib.h: Likewise.
24751 * stdlib/stdlib.h: Likewise.
24752 * rt/bits/mqueue2.h: Likewise.
24753 * rt/mqueue.h: Likewise.
24754 * posix/bits/unistd.h: Likewise.
24755 * posix/unistd.h: Likewise.
24756 * io/bits/poll2.h: Likewise.
24757 * io/bits/fcntl2.h: Likewise.
24758 * io/fcntl.h: Likewise.
24759 * io/sys/poll.h: Likewise.
24760 * misc/bits/syslog.h: Likewise.
24761 * misc/bits/syslog-ldbl.h: Likewise.
24762 * misc/sys/syslog.h: Likewise.
24763 * socket/bits/socket2.h: Likewise.
24764 * socket/sys/socket.h: Likewise.
24765 * debug/tst-chk1.c: Likewise.
24766 * wcsmbs/bits/wchar2.h: Likewise.
24767 * wcsmbs/bits/wchar-ldbl.h: Likewise.
24768 * wcsmbs/wchar.h: Likewise.
24769
ecf0ebfb
AJ
247702012-04-29 Andreas Jaeger <aj@suse.de>
24771
24772 * Makerules (tests): Remove enable-check-abi protection.
24773 (check-abi-warn): Remove.
24774 (check-abi-%): Remove check-abi-warn usage.
24775
24776 * configure.in: Remove check-abi configure option.
24777 * configure: Regenerated.
24778 * config.make.in (enable-check-abi): Remove.
24779
6d5c57fa
AS
247802012-04-28 Andreas Schwab <schwab@linux-m68k.org>
24781
24c5d07e 24782 [BZ #14033]
ded5180a
AS
24783 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
24784 double functions to double *_finite functions.
24785
7e0d315d
AS
24786 [BZ #13941]
24787 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
24788 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
24789 LDBL_MIN_EXP.
24790 * stdio-common/Makefile (tests): Add tst-sprintf3.
24791 * stdio-common/tst-sprintf3.c: New file.
24792
6d5c57fa
AS
24793 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
24794 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
24795
0749ff8b
JM
247962012-04-28 Joseph Myers <joseph@codesourcery.com>
24797
24798 * conform/conformtest.pl: Remove duplicate typed-constant
24799 handling.
24800
8dbd5d7b
DM
248012012-04-28 David S. Miller <davem@davemloft.net>
24802
24803 * Makerules (%.abilist): Add vpath on sysdep_dirs.
24804 (check-abi-%): Remove AWK script prerequisite and explicit
24805 abilist directory.
24806 (check-abi): Rewrite to just diff the symlist with the abilist.
24807 (config-tls, config-abi-config): Delete, no longer used.
24808 (update-abi-%): Remove AWK script and explicit abilist directory.
24809 (update-abi): Rewrite to simply compare and conditionally copy the
24810 symlist and the sysdep abilist file. Remove update-abi-config
24811 checks.
24812 * abilist/ld.abilist: Remove.
24813 * abilist/libBrokenLocale.abilist: Remove.
24814 * abilist/libanl.abilist: Remove.
24815 * abilist/libcrypt.abilist: Remove.
24816 * abilist/libdl.abilist: Remove.
24817 * abilist/librt.abilist: Remove.
24818 * abilist/libthread_db.abilist: Remove.
24819 * abilist/libutil.abilist: Remove.
24820 * scripts/extract-abilist.awk: Remove.
24821 * scripts/merge-abilist.awk: Remove.
24822 * sysdeps/generic/libcidn.abilist: New file.
24823 * sysdeps/generic/libnss_compat.abilist: New file.
24824 * sysdeps/generic/libnss_db.abilist: New file.
24825 * sysdeps/generic/libnss_dns.abilist: New file.
24826 * sysdeps/generic/libnss_files.abilist: New file.
24827 * sysdeps/generic/libnss_hesiod.abilist: New file.
24828 * sysdeps/generic/libnss_nis.abilist: New file.
24829 * sysdeps/generic/libnss_nisplus.abilist: New file.
24830 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
24831 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
24832 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
24833 file.
24834 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
24835 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
24836 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
24837 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
24838 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
24839 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
24840 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
24841 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
24842 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
24843 file.
24844 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
24845 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
24846 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
24847 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
24848 file.
24849 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
24850 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
24851 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
24852 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
24853 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
24854 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
24855 file.
24856 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
24857 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
24858 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
24859 file.
24860 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
24861 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
24862 New file.
24863 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
24864 New file.
24865 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
24866 New file.
24867 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
24868 New file.
24869 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
24870 New file.
24871 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
24872 New file.
24873 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
24874 New file.
24875 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
24876 New file.
24877 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
24878 New file.
24879 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
24880 New file.
24881 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
24882 New file.
24883 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
24884 New file.
24885 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
24886 New file.
24887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
24888 file.
24889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
24890 New file.
24891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
24892 New file.
24893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
24894 file.
24895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
24896 New file.
24897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
24898 New file.
24899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
24900 file.
24901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
24902 New file.
24903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24904 New file.
24905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
24906 New file.
24907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
24908 New file.
24909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
24910 New file.
24911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
24912 New file.
24913 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
24914 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
24915 file.
24916 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
24917 New file.
24918 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
24919 file.
24920 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
24921 file.
24922 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
24923 file.
24924 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
24925 file.
24926 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
24927 file.
24928 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24929 New file.
24930 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
24931 file.
24932 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
24933 file.
24934 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
24935 New file.
24936 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
24937 file.
24938 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
24939 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
24940 file.
24941 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
24942 New file.
24943 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
24944 file.
24945 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
24946 file.
24947 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
24948 file.
24949 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
24950 file.
24951 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
24952 file.
24953 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24954 New file.
24955 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
24956 file.
24957 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
24958 file.
24959 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
24960 New file.
24961 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
24962 file.
24963 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
24964 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
24965 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
24966 file.
24967 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
24968 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
24969 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
24970 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
24971 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
24972 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
24973 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
24974 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
24975 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
24976 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
24977 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
24978 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
24979 file.
24980 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
24981 New file.
24982 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
24983 file.
24984 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
24985 file.
24986 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
24987 file.
24988 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
24989 file.
24990 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
24991 file.
24992 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24993 New file.
24994 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
24995 New file.
24996 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
24997 file.
24998 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
24999 New file.
25000 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
25001 file.
25002 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
25003 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
25004 file.
25005 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
25006 New file.
25007 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
25008 file.
25009 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
25010 file.
25011 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
25012 file.
25013 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
25014 file.
25015 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
25016 file.
25017 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25018 New file.
25019 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
25020 New file.
25021 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
25022 file.
25023 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
25024 New file.
25025 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
25026 file.
25027
41d73a1b
JM
250282012-04-28 Joseph Myers <joseph@codesourcery.com>
25029
25030 * conform/conformtest.pl: Fix typo in handling typed-constant from
25031 allow-header.
25032
28aeeda4
JM
250332012-04-27 Joseph Myers <joseph@codesourcery.com>
25034
adae8f5e
JM
25035 * README: Cut down references to pre-2.6 Linux kernels and
25036 Linuxthreads. Update lists of configurations in libc and ports
25037 and sort alphabetically. Say "or newer" with Linux kernel version
25038 requirements.
25039
28aeeda4
JM
25040 * config.h.in [IS_IN_build]: Allow compiling without optimization.
25041
a462cb63
RA
250422012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25043
25044 [BZ #887]
25045 * math/libm-test.inc (logb_test_downward): New test to expose
25046 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
25047 rounding mode.
25048
6ad3493e
JM
250492012-04-27 Joseph Myers <joseph@codesourcery.com>
25050
25051 [BZ #14027]
25052 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
25053 to be done.
25054 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
25055 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
25056
2ce4f015
JM
250572012-04-26 Joseph Myers <joseph@codesourcery.com>
25058
5aeb141a
JM
25059 * sysdeps/unix/i386/brk.S: Remove file.
25060 * sysdeps/unix/i386/dl-brk.S: Likewise.
25061 * sysdeps/unix/i386/pipe.S: Likewise.
25062 * sysdeps/unix/i386/sigreturn.S: Likewise.
25063 * sysdeps/unix/i386/syscall.S: Likewise.
25064 * sysdeps/unix/i386/vfork.S: Likewise.
25065 * sysdeps/unix/i386/wait.S: Likewise.
25066
7143acae
JM
25067 * sysdeps/unix/common/tcsendbrk.c: Move to ...
25068 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
25069
2ce4f015
JM
25070 * configure.in (arm*-none*): Do not allow without
25071 --enable-hacker-mode.
25072 (netbsd*): Remove case setting base_os.
25073 (386bsd*): Likewise.
25074 (freebsd*): Likewise.
25075 (bsdi*): Likewise.
25076 (osf*): Likewise.
25077 (sunos*): Likewise.
25078 (ultrix*): Likewise.
25079 (newsos*): Likewise.
25080 (dynix*): Likewise.
25081 (*bsd*): Likewise.
25082 (sysv*): Likewise.
25083 (isc*): Likewise.
25084 (esix*): Likewise.
25085 (sco*): Likewise.
25086 (minix*): Likewise.
25087 (irix4*): Likewise.
25088 (irix6*): Likewise.
25089 (solaris[2-9]*): Likewise.
25090 (none): Likewise.
25091 * configure: Regenerated.
25092
0ac229c8
AZ
250932012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25094
25095 [BZ #11521]
25096 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
25097 overflow or cancellation in calculating denominator.
25098 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
25099 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
25100 down expression to avoid unexpected rounding in newer GCCs.
25101 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
25102
33f244f4
DM
251032012-04-26 David S. Miller <davem@davemloft.net>
25104
25105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
25106 long-double compat symbols.
25107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
25111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
25113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
25114 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
25115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
25116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
25117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
25118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
25119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25120
cfa1f3e8
DM
251212012-04-25 David S. Miller <davem@davemloft.net>
25122
25123 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
25124 HWCAP_* values only after the memory barriers have been defined.
25125 (atomic_full_barrier): Define.
25126 (atomic_read_barrier): Define.
25127 (atomic_write_barrier): Define.
25128
6e236b92
SP
251292012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25130
25131 * shlib-versions: Add libgcc_s version information.
25132 * sysdeps/generic/libgcc_s.h: Remove.
25133 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
25134 libgcc_s.h.
25135 * sysdeps/gnu/unwind-resume.c: Likewise.
25136 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
25137
aab39a09
DM
251382012-04-25 David S. Miller <davem@davemloft.net>
25139
25140 * sysdeps/unix/sparc/brk.S: Delete.
25141 * sysdeps/unix/sparc/dl-brk.S: Delete.
25142 * sysdeps/unix/sparc/pipe.S: Delete.
25143 * sysdeps/unix/sparc/sysdep.S: Delete.
25144 * sysdeps/unix/sparc/sysdep.h: Delete.
25145 * sysdeps/unix/sparc/vfork.S: Delete.
25146 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
25147 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
25148 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
25149 ret_ERRVAL, r0, r1, MOVE): Define.
25150 (JUMPTARGET): Remove.
25151 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
25152 sysdeps/unix/sparc/sysdep.h
25153 (ENTRY, END): Remove.
25154 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25155
a3cc4f48
JM
251562012-04-25 Joseph Myers <joseph@codesourcery.com>
25157
2ed8cda2
JM
25158 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
25159 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
25160 -DIS_IN_build.
25161
35d76d59
JM
25162 * timezone/README: Update upstream location and email address for
25163 tzcode and tzdata.
25164 * timezone/zdump.c: Update from tzcode 2012b.
25165 * timezone/zic.c: Likewise.
25166
a3cc4f48
JM
25167 * configure.in (libc_cv_as_needed): Remove test.
25168 * configure: Regenerated.
25169 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
25170 conditional definition.
25171 [$(have-as-needed) != yes] (no-as-needed): Likewise.
25172 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
25173 * config.make.in (have-as-needed): Remove variable.
25174
ceab42c3
SP
251752012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25176 Paul Pluzhnikov <ppluzhnikov@google.com>
25177
25178 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
25179 strings correctly.
25180
3ce2865f
CLT
251812012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
25182
25183 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
25184 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
25185 * sysdeps/sh/strlen.S: Likewise.
25186
f37e0d68
JM
251872012-04-24 Joseph Myers <joseph@codesourcery.com>
25188
ae186e9a
JM
25189 * sysdeps/unix/fork.S: Remove file.
25190 * sysdeps/unix/i386/fork.S: Likewise.
25191 * sysdeps/unix/sparc/fork.S: Likewise.
25192
b96914af
JM
25193 * sysdeps/unix/system.c: Remove file.
25194 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
25195
f37e0d68
JM
25196 * sysdeps/unix/getegid.S: Remove file.
25197 * sysdeps/unix/geteuid.S: Likewise.
25198
87ef29ca
RM
251992012-04-24 Roland McGrath <roland@hack.frob.com>
25200
83bcd236
RM
25201 * scripts/check-localplt.awk: New file.
25202 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
25203 of diff.
25204 * scripts/data/localplt-generic.data: Add a comment.
25205
87ef29ca
RM
25206 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
25207 NODE when __dir_mkfile failed.
25208 * sysdeps/mach/hurd/symlinkat.c: Likewise.
25209 Reported by Ludovic Courtès <ludo@gnu.org>.
25210
e5a6e567
AJ
252112012-04-24 Andreas Jaeger <aj@suse.de>
25212
25213 * Makerules (common-clean): Also remove gen-as-const-headers
25214 files.
25215
c1820385
JM
252162012-04-24 Joseph Myers <joseph@codesourcery.com>
25217
25218 * Makerules (native-compile): Do not change working directory for
25219 build. Use $(OUTPUT_OPTION) in command.
25220 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
25221
94e02fc4
AZ
252222012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25223
25224 [BZ #13886]
25225 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
25226 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
25227 * math/libm-test.inc (floor_test): Add more tests.
25228 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
25229
3a533ca3
JM
252302012-04-24 Joseph Myers <joseph@codesourcery.com>
25231
940ab4b3
JM
25232 * sysdeps/unix/getdents.c: Remove file.
25233 * sysdeps/unix/sysv/getdents.c: Likewise.
25234 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
25235
90e037bd
JM
25236 * sysdeps/unix/syscalls.list (madvise): Add syscall from
25237 sysdeps/unix/mman/syscalls.list.
25238 (mmap): Likewise.
25239 (mprotect): Likewise.
25240 (msync): Likewise.
25241 (munmap): Likewise.
25242 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
25243 * sysdeps/unix/mman/syscalls.list: Remove.
25244 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
25245
3a533ca3
JM
25246 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
25247 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
25248 * configure: Regenerated.
25249 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
25250 $(libgcc_s_suffix).
25251 * config.make.in (libgcc_s_suffix): Remove variable.
25252
1ad743de
JM
252532012-04-23 Joseph Myers <joseph@codesourcery.com>
25254
4ad451e2
JM
25255 * sysdeps/unix/sysv/gethostname.c: Move to ...
25256 * sysdeps/posix/gethostname.c: ... here.
25257
5e37ce39
JM
25258 * sysdeps/unix/execve.S: Remove file.
25259
1ad743de
JM
25260 * sysdeps/unix/_exit.S: Remove file.
25261
4e681b5b
AJ
252622012-04-23 Andreas Jaeger <aj@suse.de>
25263
25264 [BZ #13739]
25265 * manual/Makefile: Remove make dist support, there's no
25266 need for a stand-alone documentation tar ball.
25267 (TEXI2DVI): Define always, it's not in Makeconfig.
25268 (dist): Removed.
25269 (tar-it): Removed.
25270 (edition): Removed.
25271 (glibc-doc-$(edition).tar): Removed
25272 (%.Z): Removed.
25273 (%.gz): Removed.
25274 (%.uu): Removed.
25275 (ETAGS): Remove, it's in Makeconfig.
25276 (move-if-change): Remove, it's in Makeconfig.
25277
38686a03 252782012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
25279
25280 [BZ #13970]
25281 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
25282 (strtod, strtof, strtold, strtol, strtoul, strtoq)
25283 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
25284 (strtod_l, strtof_l, strtold_l): Remove __wur.
25285 It is not necessarily an error to ignore strtol's return value.
25286 One can reliably look at the stored endptr to decide whether
25287 the number had valid syntax.
25288
7c0616fa
AJ
252892012-04-21 Andreas Jaeger <aj@suse.de>
25290
803cb6b7 25291 [BZ #13739]
7c0616fa
AJ
25292 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
25293
b0fe253f
JM
252942012-04-21 Joseph Myers <joseph@codesourcery.com>
25295
25296 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
25297 * sysdeps/unix/sysv/Versions: Remove file.
25298
8280f22d
MT
252992012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
25300
25301 [BZ #13927]
25302 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25303
75ce411f 253042012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
25305
25306 [BZ #7064]
25307 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
25308 version from __vm86.
25309
097d59fa
JM
253102012-04-20 Joseph Myers <joseph@codesourcery.com>
25311
a90f3bcb
JM
25312 * sysdeps/unix/common/lxstat.c: Remove file.
25313 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
25314
edc7ea78
JM
25315 * sysdeps/unix/sysv/Makefile: Remove file.
25316
cb78c221
JM
25317 * sysdeps/unix/sysv/direct.h: Remove file.
25318
efa6a45f
JM
25319 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
25320 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
25321 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
25322 * sysdeps/unix/sysv/bits/signum.h: Likewise.
25323 * sysdeps/unix/sysv/bits/stat.h: Likewise.
25324 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
25325 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
25326
9c9f2d0c
JM
25327 * sysdeps/unix/sysv/setrlimit.c: Remove file.
25328
4541c83b
JM
25329 * sysdeps/unix/xmknod.c: Remove file.
25330 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
25331
f5d153a0
JM
25332 * sysdeps/unix/sysv/settimeofday.c: Remove file.
25333
aa746595
JM
25334 * sysdeps/unix/sysv/i386/time.S: Remove file.
25335
cce5905e
JM
25336 * sysdeps/unix/fxstat.c: Remove file.
25337 * sysdeps/unix/xstat.c: Likewise.
25338 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
25339
37fa3841
JM
25340 * sysdeps/unix/sysv/sigaction.c: Remove file.
25341
ff1962a3
JM
25342 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
25343 (sysdep_headers): Remove variable.
25344 [termio.h not in sysdep_headers] (generated): Likewise.
25345 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
25346 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
25347 * sysdeps/unix/sysv/tcdrain.c: Likewise.
25348 * sysdeps/unix/sysv/tcflow.c: Likewise.
25349 * sysdeps/unix/sysv/tcflush.c: Likewise.
25350 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
25351 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
25352 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
25353 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
25354 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
25355
e7740d31
JM
25356 * sysdeps/unix/siglist.c: Remove file.
25357
ee06f18b
JM
25358 * sysdeps/unix/getppid.S: Remove file.
25359
097d59fa
JM
25360 * sysdeps/unix/mkdir.c: Remove file.
25361 * sysdeps/unix/rmdir.c: Likewise.
25362
ff3d51ec
AS
253632012-04-19 Andreas Schwab <schwab@linux-m68k.org>
25364
25365 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
25366 ERR_MAX value.
25367 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
25368 errlist-compat value.
25369
50f81fd7
DM
253702012-04-18 David S. Miller <davem@davemloft.net>
25371
25372 * sysdeps/generic/memcopy.h (reg_char): Delete.
25373 * debug/strcat_chk.c: Use char, not reg_char.
25374 * debug/strcpy_chk.c: Likewise.
25375 * debug/strncat_chk.c: Likewise.
25376 * debug/strncpy_chk.c: Likewise.
25377 * string/memchr.c: Likewise.
25378 * string/memrchr.c: Likewise.
25379 * string/rawmemchr.c: Likewise.
25380 * string/strcat.c: Likewise.
25381 * string/strchr.c: Likewise.
25382 * string/strchrnul.c: Likewise.
25383 * string/strcmp.c: Likewise.
25384 * string/strcpy.c: Likewise.
25385 * string/strncat.c: Likewise.
25386 * string/strncmp.c: Likewise.
25387 * string/strncpy.c: Likewise.
25388
8ff41c46
WS
253892012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25390
25391 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
25392 __builtin_memcopy is called when src and dest ranges are known to not
25393 overlap.
25394
6b652f46
WS
253952012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25396
25397 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
25398 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
25399 fwd_align_merge macro call.
25400 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
25401 bwd_align_merge macro call.
25402 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25403
b282631e
WS
254042012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25405
25406 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
25407 bwd_align_merge macros.
25408 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
25409 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
25410 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25411
95aa737c
DM
254122012-04-18 David S. Miller <davem@davemloft.net>
25413
25414 * sysdeps/sparc/sparc64/memcopy.h: Delete.
25415
7a99a614
AJ
254162012-04-18 Andreas Jaeger <aj@suse.de>
25417
25418 [BZ# 6794]
25419 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
25420 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
25421 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25422
25423 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
25424 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
25425 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25426
25427 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
25428 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
25429 Adjust for changed ldbl-128 files.
25430
25431 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
25432 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
25433 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25434
e5270c23
DM
254352012-04-17 David S. Miller <davem@davemloft.net>
25436
25437 * sysdeps/sparc/sparc32/memcopy.h: Delete.
25438
fb5e92c9
AS
254392012-04-17 Andreas Schwab <schwab@linux-m68k.org>
25440
25441 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
25442 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
25443 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
25444 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
25445 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25446 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
25447
76da7265
AZ
254482012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25449
25450 [BZ #6794]
25451 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
25452 * math/libm-test.inc: Add ilogb errno and exception tests.
25453 * math/w_ilogb.c: New file: ilogb wrapper.
25454 * math/w_ilogbf.c: New file: ilogbf wrapper.
25455 * math/w_ilogbl.c: New file: ilogbl wrapper.
25456 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
25457 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
25458 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
25459 exception being thrown with 0.0 as argument.
25460 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
25461 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
25462 exception being thrown with 0.0 as argument.
25463 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
25464 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25465 exception being thrown with 0.0 as argument.
25466 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
25467 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25468 exception being thrown with 0.0 as argument.
25469 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
25470 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 25471 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
25472 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
25473 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
25474 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
25475 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
25476 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
25477 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
25478
0396e69d
PB
254792012-04-17 Petr Baudis <pasky@ucw.cz>
25480
25481 * include/sys/uio.h: Change __vector to __iovec to avoid clash
25482 with altivec.
25483
750b5926
MP
254842012-04-16 Marek Polacek <polacek@redhat.com>
25485
25486 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
25487
751728a1
MP
254882012-04-16 Marek Polacek <polacek@redhat.com>
25489
25490 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
25491 operands of fdivp instruction.
25492
34a27407
L
254932012-04-13 H.J. Lu <hongjiu.lu@intel.com>
25494
25495 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
25496 * elf/tst-auditmod3b.c: Likewise.
25497 * elf/tst-auditmod4b.c: Likewise.
25498 * elf/tst-auditmod5b.c: Likewise.
25499 * elf/tst-auditmod6b.c: Likewise.
25500 * elf/tst-auditmod6c.c: Likewise.
25501 * elf/tst-auditmod7b.c: Likewise.
25502 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
25503 * sysdeps/x86_64/preconfigure.in: Likewise.
25504 * sysdeps/x86_64/preconfigure: Regenerated.
25505
7e73e17d
L
255062012-04-13 H.J. Lu <hongjiu.lu@intel.com>
25507
25508 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
25509 __ILP32__.
25510
c7a6ab72
AB
255112012-04-13 Antoine Balestrat <merkil33@gmail.com>
25512
25513 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25514 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
25515
a9e8e0e0
CL
255162012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
25517
25518 [BZ #13973]
25519 * locale/iso-639.def: Fix gl language name. Spotted by
25520 Yaron Shahrabani.
25521
ec98af7d
RM
255222012-04-12 Roland McGrath <roland@hack.frob.com>
25523
25524 [BZ #2074]
25525 * libio/libio.h (__io_write_fn): Update comment.
25526
247c3ede
PB
255272012-04-12 Petr Baudis <pasky@ucw.cz>
25528
25529 [BZ #2074]
25530 * stdio.texi (Hook Functions): The user provided writer function
25531 is not allowed to return -1.
25532
55939d6d
DM
255332012-04-11 David S. Miller <davem@davemloft.net>
25534
25535 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25536
90020f5a
MF
255372012-04-11 Mike Frysinger <vapier@gentoo.org>
25538
25539 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
25540 Add a leading slash to rtkaio.
25541
288f9098
JM
255422012-04-11 Jim Meyering <meyering@redhat.com>
25543
90020f5a
MF
25544 [BZ #11959]
25545 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
25546 It is not necessarily an error to ignore fwrite's return
25547 value. One can reliably use ferror to test for errors after
25548 the fact.
288f9098 25549
4be2b570
L
255502012-04-10 H.J. Lu <hongjiu.lu@intel.com>
25551
25552 * bits/types.h (__snseconds_t): New type.
25553 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
25554
25555 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
25556 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25557 (__SNSECONDS_T_TYPE): Likewise.
25558 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25559 (__SNSECONDS_T_TYPE): Likewise.
25560 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25561 (__SNSECONDS_T_TYPE): Likewise.
25562
288f9098 255632012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
25564
25565 [BZ #2636]
25566 * manual/time.texi (Processor Time): Return type of times is
25567 elapsed real time since an arbitrary point in the past.
25568 (CPU Time): Move CLK_TCK from here...
25569 (Processor Time): ...to here. Correct description.
25570 * manual/conf.texi (Constants for Sysconf): Correct description of
25571 _SC_CLK_TCK.
25572
d7dd4413
DM
255732012-04-10 David S. Miller <davem@davemloft.net>
25574
25575 [BZ #13967]
25576 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
25577 where the is a gap between DT_REL(A) and DT_JMPREL.
25578
b46068fc
L
255792012-04-10 H.J. Lu <hongjiu.lu@intel.com>
25580
25581 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
25582 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25583 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25584
73d65cc3
SP
255852012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25586
25587 * elf/dl-support.c (_dl_inhibit_cache): New variable.
25588 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
25589 (dl_main): Handle --inhibit-cache.
25590 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
25591 _dl_inhibit_cache.
25592 * elf/dl-load.c (_dl_map_object): Use it.
25593 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
25594
bcc8d661
JM
255952012-04-09 Joseph Myers <joseph@codesourcery.com>
25596
8f9a2fae
JM
25597 [BZ #13872]
25598 * sysdeps/i386/fpu/e_powl.S (p78): New object.
25599 (__ieee754_powl): Saturate large exponents rather than testing for
25600 overflow of y*log2(x).
25601 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25602 * math/libm-test.inc (pow_test): Do not permit spurious overflow
25603 exceptions.
25604
bcc8d661
JM
25605 [BZ #11521]
25606 * math/s_ctan.c: Include <float.h>.
25607 (__ctan): Avoid internal overflow or cancellation in calculating
25608 denominator.
25609 * math/s_ctanf.c: Likewise.
25610 * math/s_ctanl.c: Likewise.
25611 * math/s_ctanh.c: Likewise.
25612 * math/s_ctanhf.c: Likewise.
25613 * math/s_ctanhl.c: Likewise.
25614 * math/libm-test.inc (ctan_test): Add more tests.
25615 (ctanh_test): Likewise.
25616 * sysdeps/i386/fpu/libm-test-ulps: Update.
25617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25618
823fbbb4
AJ
256192012-04-09 Andreas Jaeger <aj@suse.de>
25620
03879793
AJ
25621 [BZ #6894]
25622 * manual/filesys.texi (Directory Entries): Mention that d_namlen
25623 is an optional BSD extension.
25624
823fbbb4
AJ
25625 [BZ #10254]
25626 * manual/stdio.texi (Opening Streams): Document additional fopen
25627 parameters.
25628
8de131cb
RM
256292012-04-09 Roland McGrath <roland@hack.frob.com>
25630
25631 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
25632 %eax without telling the compiler.
25633
c0ed9d7d
CD
256342012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
25635
25636 [BZ # 13963]
25637 * manual/install.texi: Use sourceware.org.
25638
c483f6b4
JM
256392012-04-09 Joseph Myers <joseph@codesourcery.com>
25640
d7dd9453
JM
25641 [BZ #13873]
25642 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
25643 (__ieee754_pow): Generate overflow and underflow using huge*huge
25644 and tiny*tiny rather than just returning constant infinity or zero
25645 for large exponents.
25646 * math/libm-test.inc (pow_test): Require overflow exceptions for
25647 applicable cases of large exponents.
25648
c483f6b4
JM
25649 [BZ #706]
25650 * sysdeps/i386/fpu/e_pow.S (p10): New object.
25651 (__ieee754_pow): Use iterative multiplication algorithm only for
25652 integer exponents with absolute value below 1024. Check for odd
25653 integer exponents when using algorithm for real exponents.
25654 * math/libm-test.inc (pow_test): Add more tests.
25655 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25656
d2de7579
JM
256572012-04-08 Joseph Myers <joseph@codesourcery.com>
25658
25659 [BZ #13705]
25660 * math/libm-test.inc (exp_test): Do not allow overflow exception
25661 on underflow test.
25662
f77f1232
AJ
256632012-04-08 Aurelien Jarno <aurelien@aurel32.net>
25664
25665 [BZ #13705]
25666 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
25667 instead of __kernel_standard_f.
25668
3884932b
MF
256692012-04-08 Mike Frysinger <vapier@gentoo.org>
25670
25671 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
25672 * sysdeps/x86_64/memset_chk.S: Likewise.
25673
54472e9c
AJ
256742012-04-08 Andreas Jaeger <aj@suse.de>
25675
6ab0fbfc
AJ
25676 [BZ #10153]
25677 * manual/startup.texi (Environment Access): Describe return value
25678 for putenv and setenv.
25679
61efba8c
AJ
25680 [BZ #6895]
25681 * manual/filesys.texi (Directory Entries): Add description for
25682 DT_LNK.
25683
95c3f29a
AJ
25684 [BZ #6890]
25685 * manual/filesys.texi (Directory Entries): Clarify that it's file
25686 system not operating system in the description of DT_UNKNOWN.
25687
54472e9c
AJ
25688 [BZ #6578]
25689 * manual/syslog.texi (closelog): Fix reference, it's openlog.
25690
624254b1
SC
256912012-04-08 Stephen Compall <s11@member.fsf.org>
25692
25693 [BZ #6649]
25694 * manual/llio.texi (Opening and Closing Files): Add cross
25695 reference to explain mode argument.
25696
1e4920e0
MF
256972012-04-07 Mike Frysinger <vapier@gentoo.org>
25698
25699 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
25700 * sysdeps/x86_64/memset_chk.S: Likewise.
25701
5ed848f3
DM
257022012-04-07 David S. Miller <davem@davemloft.net>
25703
25704 * elf/elf.h (R_SPARC_WDISP10): Define.
25705 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
25706 R_SPARC_SIZE32.
25707 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
25708 R_SPARC_SIZE64 and R_SPARC_H34.
25709
96154cd8
CD
257102012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
25711
25712 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
25713 conditions and remove no longer applicable assertion.
25714
9904dc47
L
257152012-04-06 H.J. Lu <hongjiu.lu@intel.com>
25716
25717 * bits/byteswap.h: Include <features.h>.
25718 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25719 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25720
f8887d0a
L
257212012-04-06 H.J. Lu <hongjiu.lu@intel.com>
25722
25723 * bits/byteswap.h (__bswap_16): Removed.
25724 Include <bits/byteswap-16.h> to get __bswap_16.
25725 * sysdeps/i386/bits/byteswap.h: Likewise.
25726 * sysdeps/s390/bits/byteswap.h: Likewise.
25727 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25728 * bits/byteswap-16.h: New file.
25729 * sysdeps/i386/bits/byteswap-16.h: Likewise.
25730 * sysdeps/s390/bits/byteswap-16.h: Likewise.
25731 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
25732 * string/Makefile (headers): Add bits/byteswap-16.h.
25733
62470f60
PP
257342012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25735
25736 [BZ #13895]
25737 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
25738 extra indirection.
25739 * nss/Makefile (tests-static, tests): Add tst-nss-static.
25740 * nss/tst-nss-static.c: New.
25741
4dad7bab
RM
257422012-04-06 Robert Millan <rmh@gnu.org>
25743
25744 [BZ #6486]
25745 * manual/llio.texi (File Position Primitive): lseek
25746 refers to WHENCE when it really means OFFSET.
25747
e9142a17
AJ
257482012-04-06 Andreas Jaeger <aj@suse.de>
25749
2c040eff
AJ
25750 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
25751 strncmp declarations.
25752
e9142a17
AJ
25753 * abilist/libc.abilist: Add __poll and __ppoll.
25754
ff9f1c5f
DM
257552012-04-05 David S. Miller <davem@davemloft.net>
25756
dcd2ae90
DM
25757 * scripts/check-local-headers.sh: Accept a host triplet in the
25758 path matched by the exclude regexp.
25759
993eb054
DM
25760 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
25761 definition.
25762 * sysdeps/powerpc/powerpc32/dl-machine.h
25763 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
25764 * sysdeps/s390/s390-32/dl-machine.h
25765 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25766 * sysdeps/sparc/sparc32/dl-machine.h
25767 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25768 * sysdeps/sparc/sparc64/dl-machine.h
25769 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25770
ff9f1c5f
DM
25771 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
25772 lazy binding.
48e2e132 25773 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
25774 undefined symbol errors.
25775
48e2e132 25776 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
25777 DT_NEEDED entries.
25778
e80d6f94
MM
257792012-04-05 Michael Matz <matz@suse.de>
25780
25781 [BZ #13592]
25782 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
25783
349fa79f
AJ
257842012-04-05 Andreas Jaeger <aj@suse.de>
25785
25786 [BZ #13908]
25787 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
25788 comment.
25789
f402708f
KK
257902012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25791
25792 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
25793 which ROUND is no valid rounding mode.
25794
2ecccfc9
KK
257952012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25796
25797 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
25798 read again.
25799 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
25800
8a53f50f
KK
258012012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25802
25803 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
25804 an exception using FPU order intentionally.
25805
258062012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25807
25808 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
25809 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
25810 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
25811 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
25812
d653abb7
SJ
258132012-04-05 Simon Josefsson <simon@josefsson.org>
25814
25815 [BZ #12340]
25816 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
25817 EINVAL when BUFLEN is too smal.
25818
c3b1bf7d
TS
258192012-04-05 Thomas Schwinge <thomas@codesourcery.com>
25820
25821 [BZ #13553]
25822 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
25823 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
25824
b1aa60f3
AJ
258252012-04-03 Andreas Jaeger <aj@suse.de>
25826
c3b1bf7d 25827 [BZ #13938]
67f60a26
AJ
25828 * manual/setjmp.texi (System V contexts): Fix sentence.
25829
b1aa60f3
AJ
25830 [BZ #13926]
25831 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
25832 New macro for this case.
25833 [!__GNUC__] (__bswap_64): New inline function for this case.
25834 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25835 * bits/byteswap.h: Likewise.
25836 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
25837 ull, guard with __GLIBC_HAVE_LONG_LONG.
25838
25839 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
25840 __GLIBC_HAVE_LONG_LONG.
25841
25842 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
25843 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
25844
39c59c35
TMQMF
258452012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25846
25847 [BZ #13691]
25848 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
25849 inptr and inend, rather than using last_ch.
25850
135ffda8
DM
258512012-04-02 David S. Miller <davem@davemloft.net>
25852
25853 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
25854 * stdio-common/printf-parse.h (read_int): Change return type to
25855 'int', return -1 on INT_MAX overflow.
25856 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
25857 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
25858 overflows INT_MAX. Check for overflow of in-format-string precision
25859 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
25860 SIZE_MAX not INT_MAX for integer overflow test.
25861 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
25862 skip the construct in the format string but do not record anything.
25863 * stdio-common/bug22.c: Adjust to test both width/prevision
25864 INT_MAX overflow as well as total length INT_MAX overflow. Check
25865 explicitly for proper errno values.
25866
228c019e
TS
258672012-04-02 Thomas Schwinge <thomas@codesourcery.com>
25868
302cadd3
TS
25869 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
25870 CHAR_MAX.
25871 * string/test-strcmp.c [! WIDE]: Likewise.
25872 * time/tst-mktime2.c: Likewise for INT_MAX.
25873 * string/test-string.h: #include <sys/param.h> for MIN.
25874
228c019e
TS
25875 * csu/init-first.c (__libc_init_first): Call __ctype_init.
25876 * sysdeps/i386/init-first.c (init): Likewise.
25877 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
25878 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
25879 * sysdeps/sh/init-first.c (init): Likewise.
25880
cfa633f5
UD
258812012-04-01 Ulrich Drepper <drepper@gmail.com>
25882
25883 * po/ru.po: Update from translation team.
d1635ef8 25884 * po/vi.po: Likewise.
cfa633f5 25885
6cd0a5ea
SP
258862012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25887
25888 * resolv/nss_dns/dns-host.c: Merge copyright years.
25889
4b43400f
LD
258902012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25891
25892 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25893 Optimize memcpy with prefetch if
25894 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
25895 src, dst pointers have unequal 16 byte alignments.
25896
48c41d04
SP
258972012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25898
25899 [BZ #13928]
25900 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
25901 from a CNAME entry and return the minimum ttl for the query.
25902 (gaih_getanswer_slice): Likewise.
25903
b8dc394d
JL
259042012-03-30 Jeff Law <law@redhat.com>
25905
25906 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
25907 due to long keys.
25908 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
25909 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
25910
2f5a5ed0
JL
25911 * resolv/nss_dns/dns-host.c: Update copyright year.
25912
1d39e359
UD
259132012-03-30 Ulrich Drepper <drepper@gmail.com>
25914
c030f70c 25915 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 25916 requests to save a system call. Fix check that all bytes are sent.
c030f70c 25917
1d39e359
UD
25918 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
25919 comments for sendmmsg.
25920
259212012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
25922
25923 [BZ #13691]
25924 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
25925 with only 1 character between 0x0041 and 0x01b0.
25926 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
25927 * wcsmbs/tst-mbsnrtowcs.c: New file.
25928
20fde227
DM
259292012-03-29 David S. Miller <davem@davemloft.net>
25930
25931 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
25932 small copies by hand.
25933
984a4237
JL
259342012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25935
25936 [BZ #13761]
25937 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
25938 _nss_compat_initgroups_dyn): Fall back to malloc/free
25939 for large group memberships.
25940
18c9d62b
DM
259412012-03-28 David S. Miller <davem@davemloft.net>
25942
88d85d4f
DM
25943 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
25944 that branches into memcpy.
25945 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25946 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
25947 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25948 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
25949 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
25950 bits.
25951 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
25952 implementation too.
25953 * sysdeps/sparc/mempcpy.S: New file.
25954
e5aa83e1
DM
25955 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
25956 the IFUNC routine in the libc case.
25957 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25958
88570753
DM
25959 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
25960 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
25961 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
25962 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
25963 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
25964 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
25965 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
25966 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
25967
249d7567
DM
25968 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
25969 loop to 256 bytes instead of 64 bytes and fix test signedness.
25970
18c9d62b
DM
25971 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
25972 * sysdeps/sparc/sparc32/Makefile: rather than here...
25973 * sysdeps/sparc/sparc64/Makefile: and here.
25974
05f3d1f6
UD
259752012-03-28 Ulrich Drepper <drepper@gmail.com>
25976
25977 * malloc/mallocbug.c: Avoid warnings about unused variables.
25978
86ae07a8
JL
259792012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25980
25981 [BZ #13760]
25982 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
25983 in the right place. Discard and retry query if response is
25984 larger than input buffer size.
25985
41bf21a1
JM
259862012-03-28 Joseph Myers <joseph@codesourcery.com>
25987
d6270972
JM
25988 [BZ #369]
25989 [BZ #2678]
25990 [BZ #3866]
25991 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
25992 x for large integer exponent.
25993 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25994 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
25995 sign of result as needed afterwards.
25996 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
25997 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
25998 result for underflowing pow the same as for overflow.
25999 (__kernel_standard_l): Handle powl overflow and underflow here
26000 rather than calling __kernel_standard.
26001 * math/libm-test.inc (pow_test): Add more tests.
26002
414fca03 26003 [BZ #3868]
41bf21a1
JM
26004 [BZ #13879]
26005 [BZ #13910]
26006 [BZ #13911]
26007 [BZ #13912]
26008 [BZ #13913]
26009 [BZ #13915]
26010 [BZ #13916]
26011 [BZ #13917]
26012 [BZ #13918]
26013 [BZ #13919]
26014 [BZ #13920]
26015 [BZ #13921]
26016 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
26017 * sysdeps/ieee754/k_standard.c: Include <float.h>.
26018 (__kernel_standard_l): New function.
26019 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
26020 __kernel_standard.
26021 * math/w_acosl.c (__acosl): Likewise.
26022 * math/w_asinl.c (__asinl): Likewise.
26023 * math/w_atan2l.c (__atan2l): Likewise.
26024 * math/w_atanhl.c (__atanhl): Likewise.
26025 * math/w_coshl.c (__coshl): Likewise.
26026 * math/w_exp10l.c (__exp10l): Likewise.
26027 * math/w_exp2l.c (__exp2l): Likewise.
26028 * math/w_fmodl.c (__fmodl): Likewise.
26029 * math/w_hypotl.c (__hypotl): Likewise.
26030 * math/w_j0l.c (__j0l, __y0l): Likewise.
26031 * math/w_j1l.c (__j1l, __y1l): Likewise.
26032 * math/w_jnl.c (__jnl, __ynl): Likewise.
26033 * math/w_lgammal.c (__lgammal): Likewise.
26034 * math/w_log10l.c (__log10l): Likewise.
26035 * math/w_log2l.c (__log2l): Likewise.
26036 * math/w_logl.c (__logl): Likewise.
26037 * math/w_powl.c (__powl): Likewise.
26038 * math/w_remainderl.c (__remainderl): Likewise.
26039 * math/w_scalbl.c (sysv_scalbl): Likewise.
26040 * math/w_sinhl.c (__sinhl): Likewise.
26041 * math/w_sqrtl.c (__sqrtl): Likewise.
26042 * math/w_tgammal.c (__tgammal): Likewise.
26043 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
26044 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
26045 * math/libm-test.inc (acos_test): Add more tests.
26046 (acosh_test): Likewise.
26047 (asin_test): Likewise.
26048 (atanh_test): Likewise.
26049 (exp_test): Likewise.
26050 (exp10_test): Likewise.
26051 (exp2_test): Likewise.
26052 (expm1_test): Likewise.
26053 (lgamma_test): Likewise.
26054 (log_test): Likewise.
26055 (log10_test): Likewise.
26056 (log1p_test): Likewise.
26057 (log2_test): Likewise.
26058 (pow_test): Do not allow some spurious overflow exceptions.
26059 (sqrt_test): Add more tests.
26060 (tgamma_test): Likewise.
26061 (y0_test): Likewise.
26062 (y1_test): Likewise.
26063 (yn_test): Likewise.
26064
dd62fda6
AB
260652012-03-27 Anton Blanchard <anton@samba.org>
26066
26067 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
26068 MAP_HUGETLB.
26069 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26070 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26071 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26072
1e3cdfda
AJ
260732012-03-27 David S. Miller <davem@davemloft.net>
26074
b855ab85
DM
26075 * conform/Makefile: Run run-conformtest.sh using $(BASH).
26076
1e3cdfda
AJ
26077 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
26078 have-as-vis3 check.
26079
260802012-03-27 Andreas Jaeger <aj@suse.de>
26081
26082 * sysdeps/x86_64/elf/configure.in: Moved to ...
26083 * sysdeps/x86_64/configure.in: ... here.
26084 * sysdeps/x86_64/elf/start.S: Moved to ...
26085 * sysdeps/x86_64/start.S: ... here.
26086 * sysdeps/x86_64/elf/configure: Delete.
26087
26088 * sysdeps/x86_64/configure.in: Merge contents from
26089 sysdeps/i386/configure.in (without i686 check).
26090
26091 * sysdeps/i386/elf/Versions: Merge into ...
26092 * sysdeps/i386/Versions: ... this.
26093 * sysdeps/i386/elf/Versions: Delete file.
26094 * sysdeps/i386/elf/start.S: Moved to ...
26095 * sysdeps/i386/start.S: ...here.
26096 * sysdeps/i386/elf/configure.in: Merge into...
26097 * sysdeps/i386/configure.in: ...here.
26098 * sysdeps/i386/elf/configure.in: Delete file.
26099 * sysdeps/i386/elf/configure: Delete file.
26100
26101 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
26102 * debug/backtracesyms.c: ... here.
26103 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
26104 * debug/backtracesymsfd.c: ... here.
26105 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
26106 * sysdeps/generic/ifunc-sel.h: ... here.
26107
26108 * sysdeps/unix/i386/start.c: Delete file.
26109 * sysdeps/unix/sparc/start.c: Delete file.
26110 * sysdeps/unix/start.c: Delete file.
26111
26112 * sysdeps/sh/elf/configure.in: Moved to ...
26113 * sysdeps/sh/configure.in: ... here.
26114 * sysdeps/sh/elf/start.S: Moved to ...
26115 * sysdeps/sh/start.S: ... here.
26116 * sysdeps/sh/elf/configure: Delete file.
26117
26118 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
26119 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
26120 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
26121 * sysdeps/powerpc/powerpc64/entry.h: ... here.
26122 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
26123 * sysdeps/powerpc/powerpc64/start.S: here.
26124 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
26125 * sysdeps/powerpc/powerpc64/Makefile: ... this.
26126 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
26127 * sysdeps/powerpc/powerpc64/configure.in: ... this.
26128 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
26129
26130 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
26131 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
26132 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
26133 * sysdeps/powerpc/powerpc32/start.S: ... here.
26134 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
26135 * sysdeps/powerpc/powerpc32/configure.in: ... this.
26136 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
26137
26138 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
26139 * sysdeps/powerpc/ifunc-sel.h: ... here.
26140 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
26141 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
26142
26143 * sysdeps/sparc/elf/configure.in: Moved to ...
26144 * sysdeps/sparc/configure.in: ... here.
26145 * sysdeps/sparc/elf/configure: Delete file.
26146 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
26147 * sysdeps/sparc/sparc32/start.S: ... here.
26148 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
26149 * sysdeps/sparc/sparc64/start.S: ... here.
26150 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
26151 * sysdeps/sparc/sparc32/Makefile: ... this.
26152 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
26153 * sysdeps/sparc/sparc64/Makefile: ... this.
26154
26155 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
26156 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
26157 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
26158 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
26159 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
26160 * sysdeps/s390/s390-32/setjmp.S: ... here.
26161 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
26162 * sysdeps/s390/s390-32/configure.in: ... here.
26163 * sysdeps/s390/s390-32/elf/configure: Delete file.
26164 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
26165 * sysdeps/s390/s390-32/start.S: ... here.
26166
26167 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
26168 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
26169 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
26170 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
26171 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
26172 * sysdeps/s390/s390-64/setjmp.S: ... here.
26173 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
26174 * sysdeps/s390/s390-64/configure.in: ... here
26175 * sysdeps/s390/s390-64/elf/configure: Delete file.
26176 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
26177 * sysdeps/s390/s390-64/start.S: ... here.
26178 * sysdeps/s390/s390-64/elf/configure: Delete.
26179
26180 * configure.in: Remove support for elf directories in sysdeps.
26181
26182 * configure: Regenerated.
26183 * sysdeps/i386/configure: Regenerated.
26184 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26185 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26186 * sysdeps/s390/s390-32/configure: Regenerated.
26187 * sysdeps/s390/s390-64/configure: Regenerated.
26188 * sysdeps/sh/configure: Regenerated.
26189 * sysdeps/sparc/configure: Regenerated.
26190 * sysdeps/x86_64/configure: Regenerated.
26191
a3f61311
AS
261922012-03-26 Andreas Schwab <schwab@linux-m68k.org>
26193
c876e002
AS
26194 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26195
a3f61311
AS
26196 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
26197 denormal result into account.
26198
ac4c54f0
RM
261992012-03-25 Roland McGrath <roland@hack.frob.com>
26200
26201 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
26202 Reported by Allan McRae <allan@archlinux.org>.
26203
6a9b9c02
JL
262042012-03-23 Jeff Law <law@redhat.com>
26205
26206 * nss/getnssent.c (__nss_getent): Fix typo.
26207
4c42a0c1
DM
262082012-03-23 David S. Miller <davem@davemloft.net>
26209
26210 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26211
1532c7ac
L
262122012-03-23 H.J. Lu <hongjiu.lu@intel.com>
26213
26214 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
26215 to pad to uint64_t for each field.
26216 (dl_tls_index): Replace unsigned long with uint64_t.
26217
3ff42526
PP
262182012-03-23 Daniel Jacobowitz <dmj@google.com>
26219 Paul Pluzhnikov <ppluzhnikov@google.com>
26220
26221 [BZ #6528]
26222 * grp/Makefile (otherlibs): Don't set it.
26223 * inet/Makefile (otherlibs): Likewise.
26224 * login/Makefile (otherlibs): Likewise.
26225 * nscd/Makefile (otherlibs): Likewise.
26226 * posix/Makefile (otherlibs): Likewise.
26227 * pwd/Makefile (otherlibs): Likewise.
26228 * rt/Makefile (otherlibs): Likewise.
26229 * sunrpc/Makefile (otherlibs): Likewise.
26230 * nss/Makefile (otherlibs): Likewise.
26231 Add libnss_files to routines and static-only-routines.
26232 ($(objpfx)getent): Remove rule.
26233 * resolv/Makefile: Add libnss_dns and libresolv to routines and
26234 static-only-routines.
26235
7c69cd14
JM
262362012-03-22 Joseph Myers <joseph@codesourcery.com>
26237
26238 [BZ #13892]
26239 * math/s_cexp.c: Include <float.h>.
26240 (__cexp): Handle exp result overflowing not necessarily
26241 overflowing both real and imaginary parts of result.
26242 * math/s_cexpf.c: Likewise.
26243 * math/s_cexpl.c: Likewise.
26244 * math/libm-test.inc (cexp_test): Add more tests.
26245 * sysdeps/i386/fpu/libm-test-ulps: Update.
26246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26247
81b035fe
L
262482012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26249
26250 * include/link.h (ELFW): New macro.
26251 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
26252 Replace ELF64_R_TYPE with ELFW(R_TYPE).
26253
1da7940c
L
262542012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26255
26256 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
26257 with uint64_t.
26258
b749dbb9
L
262592012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26260
26261 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
26262 declaration.
26263 (struct La_x32_retval): Likewise.
26264
2ff87f3f
L
262652012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26266
26267 * sysdeps/x86_64/preconfigure.in: New file.
26268 * sysdeps/x86_64/preconfigure: New generated file.
26269
c0df8e69
JM
262702012-03-22 Joseph Myers <joseph@codesourcery.com>
26271
48e44791
JM
26272 [BZ #13824]
26273 * math/e_exp2l.c: Include <float.h>.
26274 (__ieee754_exp2l): Handle overflow and underflow cases
26275 separately. Only pass fractional part of argument to
26276 __ieee754_expl.
26277 * math/libm-test.inc (exp2_test): Add more tests.
26278
c0df8e69
JM
26279 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
26280 negating x to take absolute value.
26281 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
26282 Likewise.
26283 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26284 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
26285 Likewise.
26286 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
26287 computing low part if x was negated.
26288 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26289
c8e43ba7
L
262902012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26291
26292 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
26293 la_x32_gnu_pltexit.
26294 (pltexit): Cast int_retval to ptrdiff_t.
26295 * elf/tst-auditmod3b.c: Likewise.
26296 * elf/tst-auditmod4b.c: Likewise.
26297 * elf/tst-auditmod5b.c: Likewise.
26298 * elf/tst-auditmod6b.c: Likewise.
26299 * elf/tst-auditmod6c.c: Likewise.
26300 * elf/tst-auditmod7b.c: Likewise.
26301
26302 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
26303 and x32_gnu_pltexit.
26304
26305 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
26306 __ELF_NATIVE_CLASS.
26307 (La_x32_regs): New macro.
26308 (La_x32_retval): Likewise.
26309 (la_x32_gnu_pltenter): New function prototype.
26310 (la_x32_gnu_pltexit): Likewise.
26311
7998fa78
AS
263122012-03-21 Andreas Schwab <schwab@linux-m68k.org>
26313
dcb33988
AS
26314 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
26315 exponent.
26316
233fc563
AS
26317 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26318
7998fa78
AS
26319 * configure.in (libc_cv_cc_nofma): Check for option to disable
26320 generation of FMA instructions.
26321 * configure: Regenerate.
26322 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
26323 * sysdeps/ieee754/dbl-64/Makefile: New file.
26324 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26325 Remove brandred-fma4.
26326 (CFLAGS-brandred-fma4.c): Remove.
26327 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
26328 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
26329 define.
26330 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
26331 define.
26332
8e95c99a
L
263332012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26334
26335 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
26336 LLONG_MAX != LONG_MAX.
26337 (_itoa_word): Use _ITOA_WORD_TYPE on value.
26338 (_fitoa_word): Likewise.
26339 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
26340 LLONG_MAX != LONG_MAX.
26341 * stdio-common/_itowa.h: Include <_itoa.h>.
26342 (_itowa_word): Use _ITOA_WORD_TYPE on value.
26343 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
26344 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
26345 only if not defined.
26346 (_ITOA_WORD_TYPE): Likewise.
26347 (_itoa_word): Use _ITOA_WORD_TYPE on value.
26348 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
26349
6f4db457
DM
263502012-03-21 David S. Miller <davem@davemloft.net>
26351
26352 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26353
7785fe5a
L
263542012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26355
26356 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
26357 of x86_64 when setting libc_cv_slibdir, libdir and
26358 libc_cv_localedir.
26359 * sysdeps/unix/sysv/linux/configure: Regenerated.
26360
4535cd55
JM
263612012-03-21 Joseph Myers <joseph@codesourcery.com>
26362
26363 * manual/lang.texi (Old Varargs): Remove section.
26364 (How Variadic): Update menu.
26365 (va_start): Do not mention varargs.h.
26366
17228132
TS
263672012-03-21 Thomas Schwinge <thomas@codesourcery.com>
26368 Joseph Myers <joseph@codesourcery.com>
26369
26370 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
26371 link test.
26372 * configure: Regenerated.
26373
8149f976
TS
263742012-03-21 Thomas Schwinge <thomas@codesourcery.com>
26375
05f3d1f6
UD
26376 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
26377 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
26378 conformtest.pl
8149f976 26379
1a4ac776
JM
263802012-03-21 Joseph Myers <joseph@codesourcery.com>
26381
be22ce65
JM
26382 * NOTES: Remove.
26383 * Makefile (files-for-dist): Remove NOTES.
26384 (NOTES): Remove rule.
26385 * README: Don't refer to NOTES.
26386 * manual/creature.texi: Don't include macros.texi.
26387 * manual/intro.texi (creature.texi): Remove comment referring to
26388 NOTES.
26389
40b601fb
JM
26390 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
26391 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
26392 * configure: Regenerated.
26393 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
26394 LIBC_TRY_CC_OPTION.
26395 (libc_cv_as_i686): Likewise.
26396 (libc_cv_cc_avx): Likewise.
26397 (libc_cv_cc_sse2avx): Likewise.
26398 (libc_cv_cc_fma4): Likewise.
26399 (libc_cv_cc_novzeroupper): Likewise.
26400 * sysdeps/i386/configure: Regenerated.
26401
1a4ac776
JM
26402 [BZ #13883]
26403 * sysdeps/i386/fpu/s_cexp.S: Remove.
26404 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26405 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26406 * math/libm-test.inc (cexp_test): Add more tests.
26407 * sysdeps/i386/fpu/libm-test-ulps: Update.
26408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26409
a458e7fe
AM
264102012-03-21 Allan McRae <allan@archlinux.org>
26411
26412 * timezone/Makefile: Do not install iso3166.tab and zone.tab
26413
0cb7efc5
JM
264142012-03-21 Joseph Myers <joseph@codesourcery.com>
26415
26416 [BZ #13871]
26417 * math/w_exp2.c: Do not include <float.h>.
26418 (o_threshold, u_threshold): Remove.
26419 (__exp2): Calculate result before checking finiteness and calling
26420 __kernel_standard.
26421 * math/w_exp2f.c: Likewise.
26422 * math/w_exp2l.c: Likewise.
26423 * math/libm-test.inc (exp2_test): Require overflow exception for
26424 1e6 input.
2460d3aa
JM
26425
26426 [BZ #3866]
26427 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
26428 range of signed 64-bit integers before using fistpll. Remove
26429 checks for whether integers fit in mantissa bits.
26430 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
26431 the range of signed 32-bit integers before using fistpl. Remove
26432 checks for whether integers fit in mantissa bits.
26433 * sysdeps/i386/fpu/e_powl.S (p64): New object.
26434 (__ieee754_powl): Test for y outside the range of signed 64-bit
26435 integers before using fistpll. Reduce 64-bit values to 63-bit
26436 ones as needed.
26437 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
26438 divide-by-zero is raised for zero to large negative powers.
26439 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
26440 (__ieee754_powl): Test for y outside the range of signed 64-bit
26441 integers before using fistpll. Reduce 64-bit values to 63-bit
26442 ones as needed.
26443 * math/libm-test.inc (pow_test): Add more tests.
26444
eb96ffb0
L
264452012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26446
26447 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
26448 <stdio-common/_itoa.h>.
26449 * debug/segfault.c: Likewise.
26450 * elf/dl-cache.c: Likewise.
26451 * elf/dl-minimal.c: Likewise.
26452 * elf/dl-misc.c: Likewise.
26453 * elf/dl-sysdep.c: Likewise.
26454 * elf/dl-version.c: Likewise.
26455 * elf/rtld.c: Likewise.
26456 * hurd/hurdsock.c: Likewise.
26457 * hurd/lookup-retry.c: Likewise.
26458 * malloc/malloc.c: Likewise.
26459 * malloc/mtrace.c: Likewise.
26460 * nscd/nscd_getgr_r.c: Likewise.
26461 * nscd/nscd_getpw_r.c: Likewise.
26462 * nscd/nscd_getserv_r.c: Likewise.
26463 * posix/getopt_init.c: Likewise.
26464 * posix/wordexp.c: Likewise.
26465 * stdio-common/_itoa.c: Likewise.
26466 * stdio-common/printf_fphex.c: Likewise.
26467 * stdio-common/vfprintf.c: Likewise.
26468 * string/_strerror.c: Likewise.
26469 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
26470 * sysdeps/i386/i686/hp-timing.h: Likewise.
26471 * sysdeps/mach/_strerror.c: Likewise.
26472 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
26473 * sysdeps/mach/hurd/sethostid.c: Likewise.
26474 * sysdeps/mach/hurd/xmknodat.c: Likewise.
26475 * sysdeps/mach/xpg-strerror.c: Likewise.
26476 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26477 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26478 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
26479 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
26480 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26481 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
26482 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
26483 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
26484 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
26485 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
26486 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
26487 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
26488 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
26489 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26490 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26491 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
26492 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
26493 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
26494 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
26495 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
26496 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
26497
26498 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
26499
26500 * stdio-common/_itoa.h: Moved to ...
26501 * sysdeps/generic/_itoa.h: Here.
26502
26503 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
26504
26505 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
26506 instead of "_itoa.h" and "_itowa.h".
26507 * stdio-common/vfprintf.: Likewise.
26508
d1af992d
L
265092012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26510
26511 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
26512 <bits/wordsize.h>.
26513 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
26514 (__signbit): Likwise.
26515 (llrintf): Likwise.
26516 (llrint): Likwise.
26517
114883e0
L
265182012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26519
26520 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
26521 __WORDSIZE != 64.
26522
c135cc1b
JM
265232012-03-20 Joseph Myers <joseph@codesourcery.com>
26524
26525 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
26526 OVERFLOW_EXCEPTION_OK.
26527 * math/libm-test.inc ("Philosophy"): Update comment about
26528 exception testing.
26529 (OVERFLOW_EXCEPTION): Define.
26530 (OVERFLOW_EXCEPTION_OK): Likewise.
26531 (INVALID_EXCEPTION_OK): Renumber.
26532 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26533 (IGNORE_ZERO_INF_SIGN): Likewise.
26534 (test_exceptions): Handle FE_OVERFLOW.
26535 (exp10_test): Expect overflow exceptions.
26536 (exp2_test): Likewise.
26537 (expm1_test): Likewise.
26538 (nextafter_test): Likewise.
26539 (pow_test): Likewise.
26540 (scalbn_test): Likewise.
26541 (scalbln_test): Likewise.
26542
95443d88
L
265432012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26544
26545 * sysdeps/x86_64/bits/atomic.h
26546 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
26547 64bit integer.
26548 (atomic_exchange_acq): Likewise.
26549 (__arch_exchange_and_add_body): Likewise.
26550 (__arch_add_body): Likewise.
26551 (atomic_add_negative): Likewise.
26552 (atomic_add_zero): Likewise.
26553
490df6c4
L
265542012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26555
c2722551 26556 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
26557 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
26558
5e52b189
L
265592012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26560
26561 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
26562 Check __x86_64__ instead of __WORDSIZE.
26563
a9879d4c
L
265642012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26565
26566 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
26567
5df98260
DM
265682012-03-19 David S. Miller <davem@davemloft.net>
26569
e1497744
DM
26570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26571
5df98260
DM
26572 * sysdeps/sparc/fpu/fenv_private.h: New file.
26573 * sysdeps/sparc/fpu/math_private.h: Use it.
26574 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
26575 Remove.
26576 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
26577 (libc_feholdexcept_setroundl): Remove.
26578 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
26579 Remove.
26580 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
26581 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
26582
b4c35121
L
265832012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26584
26585 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
26586 int64_t instead of long int.
26587 (INSERT_WORDS64): Likwise.
26588
56965fd7
L
265892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26590
26591 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
26592 _Unwind_GetCFA return to _Unwind_Ptr first.
26593
83d1aec8
JM
265942012-03-19 Joseph Myers <joseph@codesourcery.com>
26595
1897ad44
JM
26596 [BZ #13629]
26597 * math/s_clog.c: Include <float.h>.
26598 (__clog): Scale large or subnormal inputs.
26599 * math/s_clogf.c: Likewise.
26600 * math/s_clogl.c: Likewise.
26601 * math/s_clog10.c: Include <float.h>.
26602 (M_LOG10_2): Define.
26603 (__clog10): Scale large or subnormal inputs.
26604 * math/s_clog10f.c: Likewise.
26605 * math/s_clog10l.c: Likewise.
26606 * math/libm-test.inc (clog_test): Add more tests.
26607 (clog10_test): Likewise.
26608 * sysdeps/i386/fpu/libm-test-ulps: Update.
26609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26610
7726d6a9
JM
26611 [BZ #11451]
26612 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
26613 x and y.
26614 * math/libm-test.inc (atan2_test): Add another test.
26615
83d1aec8
JM
26616 * Makerules (common-objdir-compile): Remove.
26617 * sysdeps/unix/Makefile (config-generated): Do not add
26618 $(unix-generated) to variable.
26619 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
26620 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
26621 Remove rule.
26622 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
26623 Likewise.
26624 [generic bits/local_lim.h] (before-compile): Do not append to
26625 variable.
26626 [generic bits/local_lim.h] (common-generated): Likewise.
26627 [generic sys/param.h] (before-compile): Do not append to variable.
26628 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
26629 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
26630 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
26631 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
26632 include.
26633 [generic sys/param.h] (sys/param.h-includes): Remove variable.
26634 [generic sys/param.h] (sys/param.h-includes): Remove rule.
26635 [generic sys/param.h] ($(addprefix
26636 $(common-objpfx),$(sys/param.h-includes))): Likewise.
26637 [generic sys/param.h] (common-generated): Do not append to
26638 variable.
26639 [generic sys/param.h] (sysdep_headers): Likewise.
26640 [generic bits/errno.h] (before-compile): Do not append to
26641 variable.
26642 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
26643 rule.
26644 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
26645 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
26646 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
26647 [generic bits/errno.h] (common-generated): Do not append to
26648 variable.
26649 [generic bits/ioctls.h] (before-compile): Do not append to
26650 variable.
26651 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
26652 rule.
26653 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
26654 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
26655 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
26656 rule.
26657 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
26658 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
26659 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
26660 [generic bits/ioctls.h] (common-generated): Do not append to
26661 variable.
26662 [generic sys/syscall.h] (syscall.h): Remove variable.
26663 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
26664 rule.
26665 [generic sys/syscall.h] (before-compile): Do not append to
26666 variable.
26667 [generic sys/syscall.h] (common-generated): Likewise.
26668 * sysdeps/unix/errnos-tmpl.c: Remove file.
26669 * sysdeps/unix/errnos.awk: Likewise.
26670 * sysdeps/unix/ioctls-tmpl.c: Likewise.
26671 * sysdeps/unix/ioctls.awk: Likewise.
26672 * sysdeps/unix/mk-local_lim.c: Likewise.
26673 * sysdeps/unix/snarf-ioctls: Likewise.
26674
4851a949
RH
266752012-03-19 Richard Henderson <rth@twiddle.net>
26676
bd37f2ee
RH
26677 * sysdeps/i386/fpu/fenv_private.h: New file.
26678 * sysdeps/i386/fpu/math_private.h: Use it.
26679 (math_opt_barrier, math_force_eval): Remove.
26680 (libc_feholdexcept_setround_53bit): Remove.
26681 (libc_feupdateenv_53bit): Remove.
26682 * sysdeps/x86_64/fpu/math_private.h: Likewise.
26683 (math_opt_barrier, math_force_eval): Remove.
26684 (libc_feholdexcept): Remove.
26685 (libc_feholdexcept_setround): Remove.
26686 (libc_fetestexcept, libc_fesetenv): Remove.
26687 (libc_feupdateenv_test): Remove.
26688 (libc_feupdateenv, libc_feholdsetround): Remove.
26689 (libc_feresetround): Remove.
26690
d0adc922
RH
26691 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
26692 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26693
0fe0f1f8
RH
26694 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
26695 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
26696 (libc_feupdateenv_testl): New.
26697 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
26698 (libc_feupdateenv_testf): New.
26699 (libc_feupdateenv): Use libc_feupdateenv_test.
26700 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
26701 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
26702
eb92c487
RH
26703 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
26704 (libc_feholdsetroundf, libc_feholdsetroundl): New.
26705 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
26706 (libc_feresetround_noex): New.
26707 (libc_feresetround_noexf): New.
26708 (libc_feresetround_noexl): New.
26709 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
26710 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
26711 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
26712 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
26713 SET_RESTORE_ROUND.
26714 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26715 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
26716 (__cos): Likewise.
26717 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
26718 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
26719 SET_RESTORE_ROUND_NOEX.
26720 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
26721 SET_RESTORE_ROUND_NOEXF.
26722 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
26723 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
26724 (libc_feholdsetroundf): New.
26725 (libc_feresetround, libc_feresetroundf): New.
26726
7d2e8012
RH
26727 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
26728 (libc_feholdexcept_setround_53bit): Convert from macro to function.
26729 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
26730
b4dabbb4
RH
26731 * sysdeps/generic/math_private.h: Include <fenv.h>.
26732 (default_libc_feholdexcept): New.
26733 (default_libc_feholdexcept_setround): New.
26734 (default_libc_fesetenv, default_libc_feupdateenv): New.
26735 (libc_feholdexcept): Only define if undefined.
26736 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
26737 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
26738 (libc_feholdexcept_setroundl): Likewise.
26739 (libc_feholdexcept_setround_53bit): Likewise.
26740 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
26741 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
26742 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
26743 (libc_feupdateenv_53bit): Likewise.
26744 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
26745 (libc_feholdexcept): Convert from macro to inline function.
26746 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
26747 (libc_fesetenv, libc_feupdateenv): Likewise.
26748
4851a949
RH
26749 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
26750 not previously defined.
26751 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
26752 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
26753 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
26754 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
26755 * sysdeps/ieee754/flt-32/math_private.h: New file.
26756 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
26757 math_private.h below SET_FLOAT_WORD.
26758 (__isnan, __isinf_ns, __finite): Remove.
26759 (__isnanf, __isinf_nsf, __finitef): Remove.
26760
e79d442e
AS
267612012-03-18 Andreas Schwab <schwab@linux-m68k.org>
26762
26763 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26764
90b80344
DM
267652012-03-17 David S. Miller <davem@davemloft.net>
26766
26767 [BZ #6471]
26768 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
26769 for 2.16.
26770
edc21804
DM
267712012-03-16 David S. Miller <davem@davemloft.net>
26772
77e927af
DM
26773 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
26774 warnings.
26775
374976dd
DM
26776 [BZ #6471]
26777 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
26778 properly.
26779 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
26780 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
26781 sysdep_routines when subdir is sysvipc.
26782 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
26783 __getshmlba helper.
26784
edc21804
DM
26785 * sysdeps/sparc/fpu/libm-test/ulps: Update.
26786
473c3ef3
L
267872012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26788
26789 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
26790 [__LP64__].
26791
eb0f39b6
L
267922012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26793
26794 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
26795 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
26796 (__lround): Renamed to ...
26797 (__llround): This. Replace long int with long long int.
26798 Define lround functions as aliases of llround functions.
26799 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
26800
6b6cd74b
L
268012012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26802
26803 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
26804 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
26805 adresses to uintptr_t. Replace "long int" and "unsigned long
26806 int" with "greg_t" on va_arg.
26807
f1a77b01
L
268082012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26809
26810 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
26811 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
26812
26813 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
26814 Move e_machine check before EI_CLASS check. Handle x32
26815 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
26816 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
26817 SKIP_EM_IA_64 and include
26818 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
26819
26820 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
26821 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
26822 (add_system_dir): New macro.
26823
26824 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
26825 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
26826
11b90b9f
JM
268272012-03-16 Joseph Myers <joseph@codesourcery.com>
26828
c36e1d23
JM
26829 [BZ #2551]
26830 [BZ #2552]
26831 [BZ #2553]
26832 [BZ #2554]
26833 [BZ #2562]
26834 [BZ #2563]
26835 [BZ #2565]
26836 [BZ #2566]
26837 [BZ #2576]
26838 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
26839 (y0): Likewise.
26840 * math/w_j0f.c (j0f): Likewise.
26841 (y0f): Likewise.
26842 * math/w_j0l.c (__j0l): Likewise.
26843 (__y0l): Likewise.
26844 * math/w_j1.c (j1): Likewise.
26845 (y1): Likewise.
26846 * math/w_j1f.c (j1f): Likewise.
26847 (y1f): Likewise.
26848 * math/w_j1l.c (__j1l): Likewise.
26849 (__y1l): Likewise.
26850 * math/w_jn.c (jn): Likewise.
26851 (yn): Likewise.
26852 * math/w_jnf.c (jnf): Likewise.
26853 (ynf): Likewise.
26854 * math/w_jnl.c (__jnl): Likewise.
26855 (__ynl): Likewise.
26856 * math/libm-test.inc (j0_test): Add more tests.
26857 (j1_test): Likewise.
26858 (jn_test): Likewise. Add trailing semicolon to existing test.
26859 (y0_test): Likewise.
26860 (y1_test): Likewise.
26861 * sysdeps/i386/fpu/libm-test-ulps: Update.
26862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26863
11b90b9f
JM
26864 [BZ #13851]
26865 [BZ #13854]
26866 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
26867 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
26868 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
26869 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
26870 (__tanl): Set errno for infinite argument.
26871 * sysdeps/i386/fpu/mptan.c: Remove.
26872 * sysdeps/i386/fpu/s_tan.S: Likewise.
26873 * sysdeps/i386/fpu/s_tanl.S: Likewise.
26874 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
26875 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
26876 * math/libm-test.inc (tan_test): Add more tests and enable more
26877 tests for double and long double.
26878 * sysdeps/i386/fpu/libm-test-ulps: Update.
26879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26880
6a1bd2a1
JK
268812012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
26882
26883 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
26884 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
26885
10a803e0
RM
268862012-03-16 Roland McGrath <roland@hack.frob.com>
26887
26888 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
26889 * configure.in: Use it for both main tree and add-ons.
26890 * configure: Regenerated.
26891
f196c7f7
L
268922012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26893
26894 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
26895
8848d99d
JM
268962012-03-16 Joseph Myers <joseph@codesourcery.com>
26897
96cbe7f4
JM
26898 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
26899 in comment.
26900
8848d99d
JM
26901 [BZ #13851]
26902 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
26903 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
26904 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
26905 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
26906 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
26907 infinite argument.
26908 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
26909 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
26910 != 0 for prec == 2.
26911 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
26912 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
26913 * sysdeps/i386/fpu/s_cosl.S: Likewise.
26914 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
26915 * sysdeps/i386/fpu/s_sinl.S: Likewise.
26916 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
26917 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
26918 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
26919 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
26920 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
26921 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
26922 * math/libm-test.inc (cos_test): Add more tests and enable more
26923 tests for long double.
26924 (sin_test): Likewise.
26925 (sincos_test): Likewise.
26926 * sysdeps/i386/fpu/libm-test-ulps: Update.
26927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26928
dd7f4703
DM
269292012-03-16 David S. Miller <davem@davemloft.net>
26930
26931 * sysdeps/sparc/fpu/math_private.h: New file.
26932
006f1daa
DM
269332012-03-15 David S. Miller <davem@davemloft.net>
26934
c0c83bc8
DM
26935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
26936 file.
e6a62e18 26937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
26938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
26939 file.
e6a62e18
DM
26940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
26941 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
26942 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
26943 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
26944 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
26945 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
26946 sysdep routines.
26947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26948
88cb87d9
DM
26949 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
26950 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
26951
006f1daa 26952 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
26953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
26954 sparc-ifunc.h
006f1daa 26955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
26956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26957 Likewise.
26958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
26959 Likewise.
006f1daa
DM
26960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
26961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
26962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
26963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26964 Likewise.
006f1daa
DM
26965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
26967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
26969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
26970 Likewise.
26971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
26972 Likewise.
006f1daa
DM
26973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
26975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
26976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
26977 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26978 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26979 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
26980 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
26981 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26982 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26983 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
26984 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
26985 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
26986 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
26987 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
26988 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
26989 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
26990 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
26991 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
26992 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
26993 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
26994 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
26995 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
26996 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
26997
11e0098e
AS
269982012-03-15 Andreas Schwab <schwab@linux-m68k.org>
26999
27000 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
27001 scaling.
27002 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27003
e85b09d0
AJ
270042012-03-15 Andreas Jaeger <aj@suse.de>
27005
27006 [BZ #13852]
27007 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
27008 ieee754/flt-32 implementation for sin, cos and sincos.
27009 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
27010 * sysdeps/i386/fpu/s_cosf.S: Likewise.
27011 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
27012 * sysdeps/i386/fpu/s_sinf.S: Likewise.
27013 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
27014 ieee754/flt-32 implementation for tan.
27015
27016 * math/libm-test.inc (cos_test): Enable some large input tests for
27017 float as well
27018 (sin_test): Likewise.
27019 (sincos_test): Likewise.
27020 (tan_test): Add tests for large input.
27021
27022 * sysdeps/i386/fpu/libm-test-ulps: Update.
27023
81c64153
AJ
270242012-03-15 Andreas Jaeger <aj@suse.de>
27025
27026 [BZ #13658]
27027 * math/libm-test.inc (cos_test): Add more test cases.
27028 (sin_test): Likewise.
27029 (sincos_test): Likewise.
27030
7bbfa5c6
AJ
270312012-03-15 Andreas Jaeger <aj@suse.de>
27032
27033 [BZ #13837]
27034 * math/libm-test.inc (cos_test): Add a test case for large input
27035 value.
27036 (sin_test): Likewise.
27037 (sincos_test): Likewise.
27038
270392012-03-15 Andreas Jaeger <aj@suse.de>,
27040 Joseph Myers <joseph@codesourcery.com>
27041
27042 [BZ #13658]
0671f479 27043 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
27044 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
27045 * sysdeps/i386/fpu/branred.c: Likewise.
27046 * sysdeps/i386/fpu/dosincos.c: Likewise.
27047 * sysdeps/i386/fpu/mpa.c: Likewise.
27048 * sysdeps/i386/fpu/s_cos.S: Likewise.
27049 * sysdeps/i386/fpu/s_sin.S: Likewise.
27050 * sysdeps/i386/fpu/s_sincos.S: Likewise.
27051 * sysdeps/i386/fpu/sincos32.c: Likewise.
27052
27053 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
27054 Define.
27055 (libc_feupdateenv_53bit): Define.
27056 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
27057 Define.
27058 (libc_feupdateenv_53bit): Define.
27059
27060 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
27061 53 bit (without extend i386 double precision).
27062
27063 * math/libm-test.inc (sincos_test): Add tests for large input.
27064 (sin): Likewise.
27065 (cos): Likewise.
27066
27067 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27068
9cad04ea
AS
270692012-03-15 Andreas Schwab <schwab@linux-m68k.org>
27070
27071 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27072
f7062b9a
DM
270732012-03-15 David S. Miller <davem@davemloft.net>
27074
27075 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
27076 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
27077 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
27078 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
27079 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
27080 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
27081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
27082 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
27083 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
27084 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
27085 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
27086 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
27087 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
27088 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
27089 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
27090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
27091 file.
f7062b9a 27092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
27093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
27094 file.
f7062b9a 27095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
27096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
27097 file.
f7062b9a 27098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
27099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
27100 file.
f7062b9a
DM
27101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
27102 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
27103 fmin/fmax sysdep routines.
27104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27105
7bd951ff
DM
271062012-03-14 David S. Miller <davem@davemloft.net>
27107
559398ab
DM
27108 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
27109 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
27110 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
27111 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
27112 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
27113 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
27114 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
27115 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
27116 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
27117 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
27118 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
27119 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
27120 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
27121 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
27122 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
27123 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
27124 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
27125 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
27126 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
27127 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
27128 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
27129 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
27130 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
27131 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
27132 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
27133 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
27134 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
27135 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
27136 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
27137 routines.
27138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
27139 file.
559398ab 27140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
27141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
27142 file.
559398ab 27143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
27144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
27145 file.
559398ab 27146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
27147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
27148 file.
559398ab 27149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
27150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
27151 file.
559398ab 27152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
27153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
27154 file.
27155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
27156 file.
27157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
27158 file.
27159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
27160 file.
27161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
27162 New file.
27163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
27164 file.
27165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
27166 file.
559398ab 27167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
27168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
27169 file.
559398ab 27170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
27171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
27172 file.
559398ab 27173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
27174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
27175 file.
559398ab 27176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
27177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
27178 VIS3 routines.
559398ab
DM
27179
27180 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27181 New file.
27182
5a1c1e32
DM
27183 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27184
eae47a36
DM
27185 * sysdeps/sparc/configure.in: New file.
27186 * sysdeps/sparc/configure: Generate.
27187 * configure.in (libc_cv_sparc_as_vis3): Substitute.
27188 * configure: Regenerate.
27189 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
27190 * config.make.in (have-as-vis3): New.
27191 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
27192 available use -Av9d instead of -Av9a.
27193 * sysdeps/sparc/sparc64/Makefile: Likewise.
27194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
27195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
27196 New file.
27197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
27198 file.
27199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
27200 New file.
27201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
27202 file.
eae47a36
DM
27203 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
27204 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
27205 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
27206 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
27207 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
27208
c0c83bc8
DM
27209 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
27210 fzeros/fnegs to load 0x80000000 into a float register instead of
27211 using the stack.
7bd951ff
DM
27212 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
27213
bd951ccb
JM
272142012-03-14 Joseph Myers <joseph@codesourcery.com>
27215
27216 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27217 bits/syscall.h.
27218 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
27219 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
27220 ($(inst_includedir)/bits/syscall.h): Remove rule.
27221 ($(objpfx)bits/syscall.d): Include instead of
27222 $(objpfx)syscall-list.d.
27223 (generated): Change syscall-list.h and syscall-list.d to
27224 bits/syscall.h and bits/syscall.d.
27225
bb4e6db2
RM
272262012-03-14 Roland McGrath <roland@hack.frob.com>
27227
27228 [BZ #13846]
27229 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
27230
aa4a2ae1
JM
272312012-03-14 Joseph Myers <joseph@codesourcery.com>
27232
e456826d
JM
27233 [BZ #13841]
27234 * math/s_csqrt.c: Include <float.h>.
27235 (__csqrt): Scale large or subnormal inputs.
27236 * math/s_csqrtf.c: Likewise.
27237 * math/s_csqrtl.c: Likewise.
27238 * math/libm-test.inc (csqrt_test): Add more tests.
27239 * sysdeps/i386/fpu/libm-test-ulps: Update.
27240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27241
aa4a2ae1
JM
27242 [BZ #13840]
27243 * math/libm-test.inc (hypot_test): Add more tests.
27244
7c10fd35
DM
272452012-03-13 David S. Miller <davem@davemloft.net>
27246
27247 [BZ #13840]
27248 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
27249 double-precision for the calculation instead of scaling.
27250
f453b98b
JM
272512012-03-13 Joseph Myers <joseph@codesourcery.com>
27252
27253 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
27254 manipulate bits before adding and subtracting TWO52[sx].
27255 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
27256 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27257 Likewise.
27258 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
27259
09a3453f
DM
272602012-03-13 David S. Miller <davem@davemloft.net>
27261
8e59da90
DM
27262 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
27263 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
27264 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
27265 rtld-global-offsets.h
27266 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27267
2a8ab7f2
DM
27268 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
27269 large parameters.
27270
10f62770
DM
27271 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
27272
5f0bdb18
DM
27273 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
27274 'err' in the ifdef scope in which it is actually used.
27275
09a3453f
DM
27276 * nss/nss_db/db-init.c: Include string.h
27277
b4b2eb5e
DM
272782012-03-12 David S. Miller <davem@davemloft.net>
27279
98bb2f1c
DM
27280 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27281 masking out of the most significant byte of random value used.
27282 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27283 Fix coding style in previous change.
27284
b4b2eb5e
DM
27285 * sysdeps/unix/sysv/linux/kernel-features.h
27286 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
27287 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
27288 expression.
27289 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
27290 later.
27291
6e226b09
DM
272922012-03-11 David S. Miller <davem@davemloft.net>
27293
a1bcbd40
DM
27294 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27295 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
27296 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
27297 for 'resultvar' otherwise things get truncated on 64-bit.
27298
cb9d6174
DM
27299 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27300 Fix masking out of the most significant byte of random value used.
27301
6e226b09
DM
27302 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27303
058c132d
AS
273042012-03-10 Andreas Schwab <schwab@linux-m68k.org>
27305
27306 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27307
2d2cd515
DM
273082012-03-09 David S. Miller <davem@davemloft.net>
27309
27310 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
27311 variables with appropriate CPP guards.
27312 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
27313 frame pointer, not the stack pointer. Correct layout comments. Fix test
27314 on resulting framesize and the management of the outregs buffer for pltexit.
27315 Preserve floating point return values across _dl_call_pltexit call.
27316 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
27317 framesize and the management of the outregs buffer for pltexit.
27318 Preserve floating point return values across _dl_call_pltexit
27319 call.
27320 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
27321 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
27322 (print_exit): Fix format string for return register value.
27323
9a07f9d0
JM
273242012-03-10 Joseph Myers <joseph@codesourcery.com>
27325
27326 * sunrpc/Makefile (others): Add rpcgen.
27327 ($(objpfx)rpcgen): Remove special build rule and dependency on
27328 libc.
27329 * sunrpc/rpcgen.c: New file.
27330
547b5e30
PE
273312012-03-09 Paul Eggert <eggert@cs.ucla.edu>
27332
c524201a
PE
27333 [BZ #13673]
27334 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
27335 * stdio-common/bug-vfprintf-nargs.c: Likewise.
27336 * sysdeps/i386/crti.S: Likewise.
27337 * sysdeps/i386/crtn.S: Likewise.
27338 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
27339 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
27340 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
27341 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
27342 * sysdeps/sh/crti.S: Likewise.
27343 * sysdeps/sh/crtn.S: Likewise.
27344 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27345
7b6235f2
PE
27346 [BZ #13673]
27347 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
27348 with URL.
27349 * locale/programs/locfile-kw.gperf: Likewise.
27350 * locale/programs/charmap-kw.h: Regenerated.
27351 * locale/programs/locfile-kw.h: Likewise.
27352
547b5e30
PE
27353 [BZ #13673]
27354 * intl/plural.y: Replace FSF snail mail address with URL.
27355 * intl/plural.c: Regenerated.
27356
5f0a5dae
RH
273572012-03-09 Richard Henderson <rth@twiddle.net>
27358
27359 * include/math_private.h: Remove file.
27360 * math/math_private.h: Move file ...
27361 * sysdeps/generic/math_private.h: ... here.
27362
b8c03620
RH
27363 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
27364 * sysdeps/powerpc/fpu/math_private.h: Likewise.
27365 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27366
4e234f5d 27367 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
27368 and <math_private.h>.
27369 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27370 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27371 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27372 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27373 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27374 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
27375 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27376 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27377 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27378 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27379 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27380 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27381 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27382 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27383 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27384 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27385 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27386 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27387 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27388 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27389 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27390 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27391 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27392 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27393 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27394 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27395 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27396 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27397 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27398 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27399 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27400 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27401 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27402 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27403 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27404 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27405 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27406 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27407 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27408 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27409 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
27410 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27411 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27412 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27413 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27414 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27415 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
27416 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27417 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27418 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27419 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27420 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
27421 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27422 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27423 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27424 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27425 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27426 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27427 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27428 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
27429 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27430 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27431 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27432 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27433 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
27434 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27435 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27436 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27437 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
27438 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
27439 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27440 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27441 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27442 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27443 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
27444 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
27445 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
27446 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27447 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
27448 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
27449 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27450 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
27451 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27452 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27453 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27454 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
27455 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
27456 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
27457 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27458 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27459 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27460 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27461 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27462 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27463 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27464 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27465 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27466 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27467 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27468 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27469 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27470 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27471 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27472 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27473 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27474 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27475 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27476 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27477 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27478 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27479 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27480 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27481 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27482 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27483 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
27484 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27485 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27486 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27487 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27488 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27489 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27490 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27491 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27492 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
27493 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27494 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27495 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27496 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
27497 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27498 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
27499 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
27500 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27501 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27502 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
27503 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
27504 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27505 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27506 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27507 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
27508 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27509 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27510 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27511 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27512 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
27513 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
27514 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27515 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27516 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27517 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
27518 * sysdeps/ieee754/k_standard.c: Likewise.
27519 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27520 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27521 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27522 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27523 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27524 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27525 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27526 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27527 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27528 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27529 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27530 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27531 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27532 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27533 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27534 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27535 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27536 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27537 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27538 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
27539 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
27540 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
27541 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27542 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27543 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27544 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
27545 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27546 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27547 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27548 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27549 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27550 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27551 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27552 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27553 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27554 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27555 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27556 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
27557 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
27558 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27559 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27560 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27561 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27562 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27563 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27564 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27565 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27566 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27567 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27568 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27569 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27570 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27571 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27572 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
27573 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27574 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27575 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
27576 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
27577 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27578 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27579 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27580 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27581 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27582 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27583 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27584 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27585 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27586 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27587 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27588 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27589 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27590 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27591 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27592 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27593 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27594 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27595 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
27596 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27597 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27598 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27599 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27600 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27601 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27602 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27603 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
27604 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27605 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27606 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
27607 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27608 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27609 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
27610 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27611 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
27612 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27613 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27614 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27615 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
27616 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
27617 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
27618 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
27619 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27620 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27621 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27622 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27623 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
27624 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27625 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27626 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
27627 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
27628 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27629 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27630 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27631 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27632 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27633 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27634 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27635 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27636 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27637 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27638 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27639 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27640 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27641 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27642 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27643 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27644 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
27645 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27646 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27647 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27648 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27649 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27650 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27651 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27652 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
27653 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27654 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27655 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
27656 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
27657 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27658 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
27659 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
27660 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27661 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
27662 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
27663 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27664 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27665 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27666 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27667 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27668 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
27669 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27670 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27671 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27672 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27673 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
27674 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
27675 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27676 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27677 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27678 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
27679 * sysdeps/ieee754/s_lib_version.c: Likewise.
27680 * sysdeps/ieee754/s_matherr.c: Likewise.
27681 * sysdeps/ieee754/s_signgam.c: Likewise.
27682 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27683 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27684 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
27685 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
27686 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
27687 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27688 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
27689 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
27690 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
27691 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
27692 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27693 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
27694 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27695 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27696 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
27697 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27698 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27699 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27700 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27701 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27702 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 27703
1991fa03
JM
277042012-03-09 Joseph Myers <joseph@codesourcery.com>
27705
27706 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
27707 * sunrpc/rpc_main.c: Likewise.
27708 * sunrpc/rpc_svcout.c: Likewise.
27709
60d6f5a6
DM
277102012-03-09 David S. Miller <davem@davemloft.net>
27711
27712 * include/math_private.h: New file.
27713
4962050e
JM
277142012-03-09 Joseph Myers <joseph@codesourcery.com>
27715
02a6f887
JM
27716 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
27717 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
27718 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
27719 from <bits/socket_type.h>.
27720 (enum __socket_type): Don't define here.
27721 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
27722 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27723 bits/socket_type.h.
27724
c6e013c1
JM
27725 [BZ #13566]
27726 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
27727 checking __USE_GNU.
27728
4962050e
JM
27729 * Makerules ($(inst_includedir)/%.h): New rule.
27730 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
27731 (install-others): Remove variable setting.
27732 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
27733
38842f45
RH
277342012-03-08 Richard Henderson <rth@twiddle.net>
27735
67bb6da6
RH
27736 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
27737 from macro to inline function; merge with the
27738 !__LIBC_INTERNAL_MATH_INLINES version.
27739 (__ieee754_sqrtf): Likewise.
27740
15194b4b
RH
27741 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
27742 to inline function.
27743 (__rintf, __floor, __floorf): Likewise.
27744
64e21ede
RH
27745 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
27746 macro to inline function.
27747 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
27748
38842f45
RH
27749 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
27750 not <math/math_private.h>.
27751
c64bf5fe
DM
277522012-03-08 David S. Miller <davem@davemloft.net>
27753
27754 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
27755 copyright year.
27756 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
27757
82d86f28
TS
277582012-03-08 Thomas Schwinge <thomas@codesourcery.com>
27759
27760 * resolv/gai_misc.c (handle_requests): Fix struct timespec
27761 normalization.
27762 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
27763 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
27764
aea5d727
UD
277652012-03-08 Ulrich Drepper <drepper@gmail.com>
27766
27767 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
27768 be defined individually, they must be defined as a block. Define
27769 S for printing a string instead of hidint the different by using a
27770 macro for adding the 'l'.
27771 * stdio-common/tst-fphex-wide.c: Adjust.
27772
70bca0a3
MP
277732012-03-07 Marek Polacek <polacek@redhat.com>
27774
27775 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
27776
65b81130
MP
277772012-03-08 Marek Polacek <polacek@redhat.com>
27778
27779 [BZ #13806]
27780 * stdio-common/Makefile (tests): Add tst-fphex-wide.
27781 * stdio-common/tst-fphex.c: Define a few macros to make the
27782 test reusable. Use them.
27783 * stdio-common/tst-fphex-wide.c: New file.
27784
07037eeb
JM
277852012-03-08 Joseph Myers <joseph@codesourcery.com>
27786
a7a93d50
JM
27787 [BZ #6911]
27788 * manual/macros.texi (gnusystems): New macro.
27789 (nongnusystems): Likewise.
27790 (gnulinuxhurdsystems): Likewise.
27791 (gnuhurdsystems): Likewise..
27792 (gnulinuxsystems): Likewise.
27793 * manual/charset.texi: Use new macros or @theglibc{} to refer to
27794 variants of the GNU system, not "GNU system".
27795 * manual/conf.texi: Likewise.
27796 * manual/errno.texi: Likewise. Update example of errno macro
27797 expansion.
27798 * manual/filesys.texi: Likewise.
27799 (getumask): Document as specific to GNU/Hurd.
27800 * manual/install.texi: Likewise. Reword some references to
27801 GNU/Linux.
27802 * manual/intro.texi: Likewise.
27803 * manual/io.texi: Likewise.
27804 (File Name Portability): Detail which constraints are inapplicable
27805 to all GNU systems and which are only inapplicable to GNU/Hurd.
27806 * manual/job.texi: Likewise.
27807 * manual/llio.texi: Likewise.
27808 (O_NOCTTY): Document as present on GNU/Linux.
27809 * manual/maint.texi: Likewise.
27810 * manual/memory.texi: Likewise.
27811 * manual/pattern.texi: Likewise.
27812 * manual/pipe.texi: Likewise.
27813 * manual/process.texi: Likewise.
27814 * manual/resource.texi: Likewise.
27815 (RUSAGE_CHILDREN): Remove statement about specifying a particular
27816 child on GNU/Hurd.
27817 * manual/setjmp.texi: Likewise.
27818 * manual/signal.texi: Likewise.
27819 * manual/startup.texi: Likewise.
27820 * manual/stdio.texi: Likewise.
27821 * manual/terminal.texi: Likewise.
27822 (ONLCR): Document as POSIX.
27823 (OXTABS): Document availability on GNU/Linux as XTABS.
27824 (ONOEOT): Document availability separately from other bits.
27825 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
27826 * manual/time.texi: Likewise.
27827 * manual/users.texi: Likewise.
27828 * INSTALL: Regenerated.
27829 * sysdeps/gnu/errlist.c: Regenerated.
27830
07037eeb
JM
27831 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
27832 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
27833 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
27834 puts.
27835 * configure: Regenerated.
27836
d1d3431a
JM
278372012-03-07 Joseph Myers <joseph@codesourcery.com>
27838
af6a1e37
JM
27839 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
27840 default includes instead of AC_HEADER_CHECK.
27841 * sysdeps/i386/configure: Regenerated.
27842
d1d3431a
JM
27843 [BZ #10716]
27844 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
27845 * math/s_cacoshf.c (__cacoshf): Likewise.
27846 * math/s_cacoshl.c (__cacoshl): Likewise.
27847 * math/s_casinh.c (__casinh): Set signs of result from argument.
27848 * math/s_casinhf.c (__casinhf): Likewise.
27849 * math/s_casinhl.c (__casinhl): Likewise.
27850 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
27851 (casinh_test): Add more tests.
27852 * sysdeps/i386/fpu/libm-test-ulps: Update.
27853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27854
482ff4da
UD
278552012-03-07 Ulrich Drepper <drepper@gmail.com>
27856
872fda05
UD
27857 * po/zh_TW.po: Update from translation team.
27858
a4300c7a
UD
27859 * login/Makefile (distribute): Remove variable.
27860 * catgets/Makefile: Likewise.
27861 * mach/Makefile: Likewise.
27862 * malloc/Makefile: Likewise.
27863 * misc/Makefile: Likewise.
27864 * iconv/Makefile: Likewise.
27865 * nscd/Makefile: Likewise.
27866 * hurd/Makefile: Likewise.
27867 * manual/Makefile: Likewise.
27868 * locale/Makefile: Likewise.
27869 * intl/Makefile: Likewise.
27870 * conform/Makefile: Likewise.
27871 * nss/Makefile: Likewise.
27872 * time/Makefile: Likewise.
27873 * soft-fp/Makefile: Likewise.
27874 * dirent/Makefile: Likewise.
27875 * gmon/Makefile: Likewise.
27876 * po/Makefile: Likewise.
27877 * rt/Makefile: Likewise.
27878 * socket/Makefile: Likewise.
27879 * math/Makefile: Likewise.
27880 * signal/Makefile: Likewise.
27881 * debug/Makefile: Likewise.
27882 * elf/Makefile: Likewise.
27883 * timezone/Makefile: Likewise.
27884 * stdlib/Makefile: Likewise.
27885 * iconvdata/Makefile: Likewise.
27886 * sunrpc/Makefile: Likewise.
27887 * io/Makefile: Likewise.
27888 * argp/Makefile: Likewise.
27889 * inet/Makefile: Likewise.
27890 * hesiod/Makefile: Likewise.
27891 * grp/Makefile: Likewise.
27892 * csu/Makefile: Likewise.
27893 * wctype/Makefile: Likewise.
27894 * crypt/Makefile: Likewise.
27895 * libio/Makefile: Likewise.
27896 * string/Makefile: Likewise.
27897 * nis/Makefile: Likewise.
27898 * resolv/Makefile: Likewise.
27899 * stdio-common/Makefile: Likewise.
27900 * wcsmbs/Makefile: Likewise.
27901 * dlfcn/Makefile: Likewise.
27902 * posix/Makefile: Likewise.
27903
3b7c4e74 27904 [BZ #6959]
482ff4da
UD
27905 * timezone/Makefile: Don't install timezone files, just the programs
27906 and scripts.
27907
f72ed77d
UD
279082012-03-06 Ulrich Drepper <drepper@gmail.com>
27909
a000466f
UD
27910 * nss/databases.def: Add missing gshadow entry.
27911
f72ed77d
UD
27912 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
27913
a53b7a4e
MP
279142012-03-06 Marek Polacek <polacek@redhat.com>
27915
27916 [BZ #13726]
27917 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
27918 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
27919 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
27920 * stdio-common/tst-long-dbl-fphex.c: New file.
27921
e9258400
DM
279222012-03-06 David S. Miller <davem@davemloft.net>
27923
27924 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27925 (set_obp_int): New function.
27926 (get_obp_int): New function.
27927 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
27928 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
27929 Avoid unused variable warnings on 'val' and use builtin_expect.
27930 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
27931 __builtin_expect.
e9258400
DM
27932 (INLINE_CLONE_SYSCALL): Likewise.
27933
3bd2c723
DM
279342012-03-05 David S. Miller <davem@davemloft.net>
27935
27936 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27937
bbb78d03
AS
279382012-03-05 Andreas Schwab <schwab@linux-m68k.org>
27939
884c5db4
AS
27940 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27941
bbb78d03
AS
27942 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
27943 only for |x| >= 40.
27944 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27945
1c9f702a 279462012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
27947
27948 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
27949 Replace gettimeofday with __vdso_gettimeofday.
27950
7be16f82
RM
27951 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27952 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
27953 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
27954
27955 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
27956 time with __vdso_time.
27957
ed58a00f
JM
279582012-03-05 Joseph Myers <joseph@codesourcery.com>
27959
27960 * manual/lang.texi (size_t): Note types to which size_t may be
27961 equivalent with the GNU C Library, but do not describe when
27962 differences between them are significant.
27963
30ee4ced
AJ
279642012-03-05 Andreas Jaeger <aj@suse.de>
27965
27966 * sysdeps/i386/fpu/libm-test-ulps: Update.
27967
b7cd39e8
JM
279682012-03-05 Joseph Myers <joseph@codesourcery.com>
27969
27970 [BZ #3976]
27971 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
27972 (__ieee754_pow): Save and restore rounding mode and use
27973 round-to-nearest for main computations.
27974 * math/libm-test.inc (pow_test_tonearest): New function.
27975 (pow_test_towardzero): Likewise.
27976 (pow_test_downward): Likewise.
27977 (pow_test_upward): Likewise.
27978 (main): Call the new functions.
27979 * sysdeps/i386/fpu/libm-test-ulps: Update.
27980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
27981
27982 [BZ #3976]
27983 * math/libm-test.inc (cosh_test_tonearest): New function.
27984 (cosh_test_towardzero): Likewise.
27985 (cosh_test_downward): Likewise.
27986 (cosh_test_upward): Likewise.
27987 (sinh_test_tonearest): Likewise.
27988 (sinh_test_towardzero): Likewise.
27989 (sinh_test_downward): Likewise.
27990 (sinh_test_upward): Likewise.
27991 (main): Call the new functions.
27992 * sysdeps/i386/fpu/libm-test-ulps: Update.
27993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27994
6c6a98c9
TV
279952012-03-05 Tom de Vries <tom@codesourcery.com>
27996
27997 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
27998 default stack guard is set in last bytes.
27999 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
28000
21bb2d2e 280012012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 28002
21bb2d2e 28003 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 28004
21bb2d2e
AJ
28005 [BZ #13656]
28006 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
28007 possibly allocate from heap instead of stack.
28008 * stdio-common/bug-vfprintf-nargs.c: New file.
28009 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 28010
c6922934
AS
280112012-03-03 Andreas Schwab <schwab@linux-m68k.org>
28012
28013 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28014
bc957d53
MP
280152012-03-03 Marek Polacek <polacek@redhat.com>
28016
28017 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
28018 * math/math_private.h: Likewise.
28019 * stdlib/tst-strtod.c: Likewise.
28020 * sysdeps/i386/i486/bits/atomic.h: Likewise.
28021 * sysdeps/x86_64/bits/atomic.h: Likewise.
28022
6358490d
DM
280232012-03-02 David S. Miller <davem@davemloft.net>
28024
28025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
28026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
28027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
28028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
28029 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
28030 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
28031 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
28032 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
28033
01ae168d
RM
280342012-03-02 Roland McGrath <roland@hack.frob.com>
28035
d9a17c07
RM
28036 [BZ #13792]
28037 * manual/examples/README: New file, says the example source files
28038 can be used under GPL>=2.
28039 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
28040 line containing just "*/".
28041 * manual/examples/add.c: Add copyright header (GPL>=2).
28042 * manual/examples/argp-ex1.c: Likewise.
28043 * manual/examples/argp-ex2.c: Likewise.
28044 * manual/examples/argp-ex3.c: Likewise.
28045 * manual/examples/argp-ex4.c: Likewise.
28046 * manual/examples/atexit.c: Likewise.
28047 * manual/examples/db.c: Likewise.
28048 * manual/examples/dir.c: Likewise.
28049 * manual/examples/dir2.c: Likewise.
28050 * manual/examples/execinfo.c: Likewise.
28051 * manual/examples/filecli.c: Likewise.
28052 * manual/examples/filesrv.c: Likewise.
28053 * manual/examples/fmtmsgexpl.c: Likewise.
28054 * manual/examples/genpass.c: Likewise.
28055 * manual/examples/inetcli.c: Likewise.
28056 * manual/examples/inetsrv.c: Likewise.
28057 * manual/examples/isockad.c: Likewise.
28058 * manual/examples/longopt.c: Likewise.
28059 * manual/examples/memopen.c: Likewise.
28060 * manual/examples/memstrm.c: Likewise.
28061 * manual/examples/mkfsock.c: Likewise.
28062 * manual/examples/mkisock.c: Likewise.
28063 * manual/examples/mygetpass.c: Likewise.
28064 * manual/examples/pipe.c: Likewise.
28065 * manual/examples/popen.c: Likewise.
28066 * manual/examples/rprintf.c: Likewise.
28067 * manual/examples/search.c: Likewise.
28068 * manual/examples/select.c: Likewise.
28069 * manual/examples/setjmp.c: Likewise.
28070 * manual/examples/sigh1.c: Likewise.
28071 * manual/examples/sigusr.c: Likewise.
28072 * manual/examples/stpcpy.c: Likewise.
28073 * manual/examples/strdupa.c: Likewise.
28074 * manual/examples/strftim.c: Likewise.
28075 * manual/examples/strncat.c: Likewise.
28076 * manual/examples/subopt.c: Likewise.
28077 * manual/examples/swapcontext.c: Likewise.
28078 * manual/examples/termios.c: Likewise.
28079 * manual/examples/testopt.c: Likewise.
28080 * manual/examples/testpass.c: Likewise.
28081 * manual/examples/timeval_subtract.c: Likewise.
28082
01ae168d
RM
28083 [BZ #13792]
28084 * manual/time.texi (Elapsed Time): Move timeval_subtract example
28085 function to ...
28086 * manual/timeval_subtract.c.texi: ... here, new file.
28087
49efa33d
DM
280882012-03-02 David S. Miller <davem@davemloft.net>
28089
28090 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
28091
28afd92d
JM
280922012-03-02 Joseph Myers <joseph@codesourcery.com>
28093
804360ed
JM
28094 [BZ #3976]
28095 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
28096 (__sin): Save and restore rounding mode and use round-to-nearest
28097 for all computations.
28098 (__cos): Save and restore rounding mode and use round-to-nearest
28099 for all computations.
28100 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
28101 <fenv.h>.
28102 (tan): Save and restore rounding mode and use round-to-nearest for
28103 all computations.
28104 * math/libm-test.inc (cos_test_tonearest): New function.
28105 (cos_test_towardzero): Likewise.
28106 (cos_test_downward): Likewise.
28107 (cos_test_upward): Likewise.
28108 (sin_test_tonearest): Likewise.
28109 (sin_test_towardzero): Likewise.
28110 (sin_test_downward): Likewise.
28111 (sin_test_upward): Likewise.
28112 (tan_test_tonearest): Likewise.
28113 (tan_test_towardzero): Likewise.
28114 (tan_test_downward): Likewise.
28115 (tan_test_upward): Likewise.
28116 (main): Call the new functions.
28117 * sysdeps/i386/fpu/libm-test-ulps: Update.
28118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28119
a6d06d7b
JM
28120 [BZ #10135]
28121 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
28122 small n, then large n, before computing and testing k+n.
28123 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
28124 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
28125 Likewise.
28126 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
28127 Likewise.
28128 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
28129 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
28130 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
28131 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
28132 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28133 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28134 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
28135 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
28136 * math/libm-test.inc (scalbn_test): Add more tests.
28137 (scalbln_test): Likewise.
28138
07e12bb3
JM
28139 * manual/filesys.texi (mode_t): Describe constraints on size and
28140 signedness, not exact equivalence to a particular type.
28141 (ino_t): Likewise.
28142 (ino64_t): Likewise.
28143 (dev_t): Likewise.
28144 (nlink_t): Likewise.
28145 (blkcnt_t): Likewise.
28146 (blkcnt64_t): Likewise.
28147 * manual/llio.texi (off_t): Likewise.
28148
28afd92d
JM
28149 [BZ #3976]
28150 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
28151 (__ieee754_exp): Save and restore rounding mode and use
28152 round-to-nearest for all computations.
28153 * math/libm-test.inc (exp_test_tonearest): New function.
28154 (exp_test_towardzero): Likewise.
28155 (exp_test_downward): Likewise.
28156 (exp_test_upward): Likewise.
28157 (main): Call the new functions.
28158 * sysdeps/i386/fpu/libm-test-ulps: Update.
28159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28160
b1eeb65d
CD
281612012-03-01 Chris Demetriou <cgd@google.com>
28162
28163 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
28164 have predictable order.
28165
53362a4b
DM
281662012-03-01 David S. Miller <davem@davemloft.net>
28167
3c969083
DM
28168 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
28169
759707de
DM
28170 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
28171 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
28172 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
28173 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
28174
dfdb8ff2
DM
28175 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
28176 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
28177 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
28178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
28179 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
28180 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
28181 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
28182 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
28183 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
28184
ead89f96
DM
28185 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28186
7f66bd07
DM
28187 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
28188 * sysdeps/sparc/fpu/libm-test-ulps: to here.
28189 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
28190
53362a4b
DM
28191 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
28192 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28193 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28194 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
28195 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
28196 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
28197 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
28198 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28199 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28200 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
28201 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
28202 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28203 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28204 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28205 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28206 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28207 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
28208 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
28209 * sysdeps/sparc/elf/configure: Regenerated.
28210
7b1902cb
JM
282112012-03-01 Joseph Myers <joseph@codesourcery.com>
28212
bec039bc
JM
28213 * configure.in (AS, LD): Require binutils 2.20 or later.
28214 * configure: Regenerated.
28215 * manual/install.texi (Tools for Compilation): Give binutils 2.20
28216 as required minimum version.
28217 * INSTALL: Regenerated.
28218
7b1902cb
JM
28219 [BZ #2541]
28220 [BZ #4108]
28221 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
28222 before squaring exponent.
28223 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
28224 bottom long double and 27 bits of top long double before squaring
28225 exponent.
28226 * math/libm-test.inc (erfc_test): Add more tests.
28227 * sysdeps/i386/fpu/libm-test-ulps: Update.
28228 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28230
f775c276
KT
282312012-03-01 Kai Tietz <ktietz@redhat.com>
28232
28233 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
28234 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
28235 containing bit-fields.
28236 * soft-fp/extended.h (_FP_UNION_E): Likewise.
28237 * soft-fp/single.h (_FP_UNION_S): Likewise.
28238 * soft-fp/double.h (_FP_UNION_D): Likewise.
28239
5b8a4d4a
JM
282402012-02-29 Joseph Myers <joseph@codesourcery.com>
28241
0bab47b6
JM
28242 [BZ #13786]
28243 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
28244 not include ../strcmp.S.
28245 [USE_AS_STRNCASECMP_L]: Likewise.
28246 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
28247 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
28248 * sysdeps/i386/i686/multiarch/strncase_l-c.c
28249 (__strncasecmp_l_ia32): Define as alias to
28250 __strncasecmp_l_nonascii.
28251
0fcad3e2
JM
28252 [BZ #5794]
28253 * math/libm-test.inc (expm1_test): Add test for bug 5794.
28254 * sysdeps/i386/fpu/libm-test-ulps: Update.
28255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28256
5b8a4d4a
JM
28257 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
28258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28259
8fdceb2e
JL
282602012-02-29 Jeff Law <law@redhat.com>
28261
28262 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
28263 out of bounds read.
28264
1f393a11
MP
282652012-02-29 Marek Polacek <polacek@redhat.com>
28266
28267 [BZ #13706]
28268 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
28269 * elf/Makefile: Add rules to run tst-unused-dep.out.
28270
8847f037
DM
282712012-02-28 David S. Miller <davem@davemloft.net>
28272
28273 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
28274 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
28275 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
28276 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
28277 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
28278 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
28279
169d7f11
JM
282802012-02-29 Joseph Myers <joseph@codesourcery.com>
28281
28282 * math/libm-test.inc (llround_test): Move one test from
28283 lround_test. Use TEST_f_L in moved test.
28284 (lround_test): Move misplaced test to llround_test. Add testcase
28285 from bug 2561.
28286
39adf059
UD
282872012-02-28 Ulrich Drepper <drepper@gmail.com>
28288
28289 * sysdeps/x86_64/fpu/e_expf.S: New file.
28290 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
28291
71b5d1c5
SB
282922012-02-28 Stanislav Brabec <sbrabec@suse.cz>
28293
28294 [BZ #13637]
28295 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
28296 of remain_len that may cause incomplete multi-byte character and
28297 false match.
28298 * posix/bug-regex33.c: New file.
28299 * posix/Makefile (tests): Add bug-regex33.
28300
1f77f049
JM
283012012-02-28 Joseph Myers <joseph@codesourcery.com>
28302
28303 * manual/macros.texi: New file.
28304 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
28305 * manual/libc.texinfo: Include macros.texi.
28306 * manual/creatute.texi: Likewise.
28307 * manual/install.texi: Likewise.
28308 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
28309 @glibcadj{} in references to the GNU C Library.
28310 * manual/charset.texi: Likewise.
28311 * manual/conf.texi: Likewise.
28312 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
28313 when not using those macros.
28314 * manual/creature.texi: Likewise.
28315 * manual/crypt.texi: Likewise.
28316 * manual/errno.texi: Likewise.
28317 * manual/filesys.texi: Likewise.
28318 * manual/header.texi: Likewise.
28319 * manual/install.texi: Likewise.
28320 * manual/intro.texi: Likewise.
28321 * manual/io.texi: Likewise.
28322 * manual/job.texi: Likewise.
28323 * manual/lang.texi: Likewise.
28324 * manual/libc.texiinfo: Likewise.
28325 * manual/llio.texi: Likewise.
28326 * manual/locale.texi: Likewise.
28327 * manual/maint.texi: Likewise.
28328 * manual/math.texi: Likewise.
28329 * manual/memory.texi: Likewise.
28330 * manual/message.texi: Likewise.
28331 * manual/nss.texi: Likewise.
28332 * manual/pattern.texi: Likewise.
28333 * manual/process.texi: Likewise.
28334 * manual/resource.texi: Likewise.
28335 * manual/search.texi: Likewise.
28336 * manual/setjmp.texi: Likewise.
28337 * manual/signal.texi: Likewise.
28338 * manual/socket.texi: Likewise.
28339 * manual/startup.texi: Likewise.
28340 * manual/stdio.texi: Likewise.
28341 * manual/string.texi: Likewise.
28342 * manual/sysinfo.texi: Likewise.
28343 * manual/syslog.texi: Likewise.
28344 * manual/terminal.texi: Likewise.
28345 * manual/time.texi: Likewise.
28346 * manual/users.texi: Likewise.
28347 * INSTALL: Regenerated.
28348 * NOTES: Regenerated.
d40c5d54 28349 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 28350
450bf206
AS
283512012-02-28 Andreas Schwab <schwab@linux-m68k.org>
28352
28353 * include/dirent.h: Include <dirstream.h> before
28354 <dirent/dirent.h>.
28355
741a235b
DM
283562012-02-28 David S. Miller <davem@davemloft.net>
28357
28358 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
28359 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
28360 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
28361 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
28362
d6b5aa58
DM
283632012-02-27 David S. Miller <davem@davemloft.net>
28364
1aff59a3
DM
28365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
28366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
28367 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
28368 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
28369
d6b5aa58
DM
28370 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
28371 frame pointer instead of stack pointer relative arg slot.
28372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28373 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28374 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28375
433f48bf
CD
283762012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
28377
28378 [BZ #3992]
28379 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
28380
d674b76d
DM
283812012-02-27 David S. Miller <davem@davemloft.net>
28382
28383 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
28384 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28385 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28386 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
28387 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28388 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28389 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
28390 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
28391
0e7727f7
JM
283922012-02-27 Joseph Myers <joseph@codesourcery.com>
28393
28394 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
28395 later. Allow versions 5-9.
43be4ca2 28396 * configure: Regenerated.
0e7727f7
JM
28397 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
28398 required minimum version and 4.6 as recommended version. Do not
28399 mention bugs in GCC 2.7 and 2.8.
43be4ca2 28400 * INSTALL: Regenerated.
0e7727f7 28401
a78bc654
DM
284022012-02-27 David S. Miller <davem@davemloft.net>
28403
428d5830
DM
28404 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
28405 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
28406 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
28407 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
28408 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
28409 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
28410 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
28411 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
28412
a78bc654
DM
28413 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
28414 manipulate bits before adding and subtracting TWO112[sx].
28415 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28416
4579f81c
RM
284172012-02-27 Roland McGrath <roland@hack.frob.com>
28418
36c8acb4
RM
28419 [BZ #13775]
28420 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
28421 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
28422 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
28423 being in POSIX, because they are in 1003.1-2008.
28424
84ad622b
RM
28425 * rt/tst-aio.c: Include <fcntl.h>.
28426 * rt/tst-aio7.c: Likewise.
28427 * rt/tst-aio64.c: Likewise.
28428
4579f81c
RM
28429 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
28430
abd923db
JM
284312012-02-27 Joseph Myers <joseph@codesourcery.com>
28432
28433 * manual/install.texi (--with-headers): Describe headers as
28434 interface headers, not private headers.
28435 (Specific advice for GNU/Linux systems): Describe use of headers
28436 from "make headers_install", not private headers from older
28437 kernels.
43be4ca2 28438 * INSTALL: Regenerated.
abd923db
JM
28439 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
28440 Change to 2.6.19.
28441 * sysdeps/unix/sysv/linux/configure: Regenerated.
28442
6664049b
JM
28443 * manual/llio.texi (fclean): Remove documentation.
28444
bb8b6697
JM
28445 * manual/Makefile (libc-texi-generated): New variable. Include
28446 version.texi.
28447 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
28448 $(libc-texi-generated), not duplicated list of files.
28449 (version.texi, stamp-version): New rules.
28450 (realclean): Remove $(libc-texi-generated), not individual files
28451 from that list. Do not remove dir-add.texinfo.
28452 * manual/libc.texinfo: Comment out uses of edition numbers and
28453 references to printed manual. Remove last-updated dates.
28454 (EDITION): Comment out.
28455 (ISBN): Likewise.
28456 (VERSION, UPDATED): Remove.
28457 (version.texi): Include.
28458
12e5c3b9
AS
284592012-02-27 Andreas Schwab <schwab@linux-m68k.org>
28460
28461 * sysdeps/posix/spawni.c: Include <signal.h>.
28462 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
28463 * sysdeps/pthread/aio_fsync.c: Likewise.
28464
4efeffc1 284652012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 28466
ba63ba08
UD
28467 * conform/Makefile (tests): Run only when not cross-compiling and
28468 when fast-check is not defined.
28469
d94a4670
UD
28470 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
28471 * conform/data/limits.h-data: Fixes for POSIX2008.
28472 * conform/run-conformtest.sh: Run all tests.
28473 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
28474 headers.
28475 * include/bits/dlfcn.h: Likewise.
28476 * include/langinfo.h: Likewise.
28477 * include/monetary.h: Likewise.
28478 * include/sys/poll.h: Likewise.
28479
28480 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
28481 for __USE_GNU.
28482 * posix/spawn.h: Define __need_sigset_t.
28483 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
28484 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
28485 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
28486 to get sigevent_t only.
28487 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
28488 only for __USE_GNU.
28489 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28490 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28491 process_vm_writev only for __USE_GNU.
28492 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
28493
28494 * conform/Makefile: For now ignore errors from run-conformtest.
28495 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
28496 POSIX to avoid namespace pollution. Don't prepend headers.
28497 * conform/data/aio.h-data: Fixes for POSIX testing.
28498 * conform/data/fcntl.h-data: Likewise.
28499 * conform/data/glob.h-data: Likewise.
28500 * conform/data/grp.h-data: Likewise.
28501 * conform/data/pthread.h-data: Likewise.
28502 * conform/data/pwd.h-data: Likewise.
28503 * conform/data/signal.h-data: Likewise.
28504 * conform/data/spawn.h-data: Likewise.
28505 * conform/data/stdio.h-data: Likewise.
28506 * conform/data/stdlib.h-data: Likewise.
28507 * conform/data/stropts.h-data: Likewise.
28508 * conform/data/sys/mman.h-data: Likewise.
28509 * conform/data/sys/stat.h-data: Likewise.
28510 * conform/data/sys/types.h-data: Likewise.
28511 * conform/data/sys/wait.h-data: Likewise.
28512 * conform/data/time.h-data: Likewise.
28513 * conform/data/unistd.h-data: Likewise.
28514 * conform/data/utime.h-data: Likewise.
28515
28516 * io/sys/stat.h: fchmod was always in POSIX.
28517 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
28518 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
28519 * rt/aio.h: Define __need_timespec before including <time.h>.
28520 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
28521 struct. Add forward declaration of pthread_attr_t and use it in
28522 sigevent.
28523 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28524 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28525 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
28526 always remove CLK_TCK definition.
28527
c20105c3
AS
285282012-02-26 Andreas Schwab <schwab@linux-m68k.org>
28529
28530 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
28531
7a270350
UD
285322012-02-25 Ulrich Drepper <drepper@gmail.com>
28533
31341567
UD
28534 * conform/run-conformtest.sh: New file.
28535 * conform/Makefile: Run run-conformtest for tests.
28536 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
28537 support.
28538
28539 * conform/data/uchar.h-data: New file.
28540 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
28541 * conform/data/arpa/inet.h-data: Likewise.
28542 * conform/data/assert.h-data: Likewise.
28543 * conform/data/complex.h-data: Likewise.
28544 * conform/data/cpio.h-data: Likewise.
28545 * conform/data/ctype.h-data: Likewise.
28546 * conform/data/dirent.h-data: Likewise.
28547 * conform/data/dlfcn.h-data: Likewise.
28548 * conform/data/errno.h-data: Likewise.
28549 * conform/data/fcntl.h-data: Likewise.
28550 * conform/data/float.h-data: Likewise.
28551 * conform/data/fmtmsg.h-data: Likewise.
28552 * conform/data/fnmatch.h-data: Likewise.
28553 * conform/data/ftw.h-data: Likewise.
28554 * conform/data/glob.h-data: Likewise.
28555 * conform/data/grp.h-data: Likewise.
28556 * conform/data/iconv.h-data: Likewise.
28557 * conform/data/inttypes.h-data: Likewise.
28558 * conform/data/langinfo.h-data: Likewise.
28559 * conform/data/libgen.h-data: Likewise.
28560 * conform/data/limits.h-data: Likewise.
28561 * conform/data/locale.h-data: Likewise.
28562 * conform/data/math.h-data: Likewise.
28563 * conform/data/monetary.h-data: Likewise.
28564 * conform/data/mqueue.h-data: Likewise.
28565 * conform/data/ndbm.h-data: Likewise.
28566 * conform/data/net/if.h-data: Likewise.
28567 * conform/data/netdb.h-data: Likewise.
28568 * conform/data/netinet/in.h-data: Likewise.
28569 * conform/data/nl_types.h-data: Likewise.
28570 * conform/data/poll.h-data: Likewise.
28571 * conform/data/pthread.h-data: Likewise.
28572 * conform/data/pwd.h-data: Likewise.
28573 * conform/data/regex.h-data: Likewise.
28574 * conform/data/sched.h-data: Likewise.
28575 * conform/data/search.h-data: Likewise.
28576 * conform/data/semaphore.h-data: Likewise.
28577 * conform/data/setjmp.h-data: Likewise.
28578 * conform/data/signal.h-data: Likewise.
28579 * conform/data/spawn.h-data: Likewise.
28580 * conform/data/stdarg.h-data: Likewise.
28581 * conform/data/stdio.h-data: Likewise.
28582 * conform/data/stdlib.h-data: Likewise.
28583 * conform/data/string.h-data: Likewise.
28584 * conform/data/strings.h-data: Likewise.
28585 * conform/data/stropts.h-data: Likewise.
28586 * conform/data/sys/ipc.h-data: Likewise.
28587 * conform/data/sys/mman.h-data: Likewise.
28588 * conform/data/sys/msg.h-data: Likewise.
28589 * conform/data/sys/resource.h-data: Likewise.
28590 * conform/data/sys/select.h-data: Likewise.
28591 * conform/data/sys/sem.h-data: Likewise.
28592 * conform/data/sys/shm.h-data: Likewise.
28593 * conform/data/sys/socket.h-data: Likewise.
28594 * conform/data/sys/stat.h-data: Likewise.
28595 * conform/data/sys/statvfs.h-data: Likewise.
28596 * conform/data/sys/time.h-data: Likewise.
28597 * conform/data/sys/timeb.h-data: Likewise.
28598 * conform/data/sys/times.h-data: Likewise.
28599 * conform/data/sys/types.h-data: Likewise.
28600 * conform/data/sys/uio.h-data: Likewise.
28601 * conform/data/sys/un.h-data: Likewise.
28602 * conform/data/sys/utsname.h-data: Likewise.
28603 * conform/data/sys/wait.h-data: Likewise.
28604 * conform/data/syslog.h-data: Likewise.
28605 * conform/data/tar.h-data: Likewise.
28606 * conform/data/termios.h-data: Likewise.
28607 * conform/data/utime.h-data: Likewise.
28608 * conform/data/utmpx.h-data: Likewise.
28609 * conform/data/varargs.h-data: Likewise.
28610 * conform/data/wchar.h-data: Likewise.
28611 * conform/data/wctype.h-data: Likewise.
28612 * conform/data/wordexp.h-data: Likewise.
28613
28614 * include/stropts.h: New file.
28615 * include/uchar.h: New file.
28616 * include/aio.h: Changes to allow conformtest.pl to use the headers.
28617 * include/assert.h: Likewise.
28618 * include/ctype.h: Likewise.
28619 * include/dirent.h: Likewise.
28620 * include/dlfcn.h: Likewise.
28621 * include/fcntl.h: Likewise.
28622 * include/fnmatch.h: Likewise.
28623 * include/glob.h: Likewise.
28624 * include/grp.h: Likewise.
28625 * include/libio.h: Likewise.
28626 * include/locale.h: Likewise.
28627 * include/math.h: Likewise.
28628 * include/net/if.h: Likewise.
28629 * include/netdb.h: Likewise.
28630 * include/netinet/in.h: Likewise.
28631 * include/pthread.h: Likewise.
28632 * include/pwd.h: Likewise.
28633 * include/regex.h: Likewise.
28634 * include/sched.h: Likewise.
28635 * include/search.h: Likewise.
28636 * include/setjmp.h: Likewise.
28637 * include/signal.h: Likewise.
28638 * include/stdio.h: Likewise.
28639 * include/stdlib.h: Likewise.
28640 * include/string.h: Likewise.
28641 * include/sys/cdefs.h: Likewise.
28642 * include/sys/mman.h: Likewise.
28643 * include/sys/msg.h: Likewise.
28644 * include/sys/resource.h: Likewise.
28645 * include/sys/select.h: Likewise.
28646 * include/sys/socket.h: Likewise.
28647 * include/sys/stat.h: Likewise.
28648 * include/sys/statvfs.h: Likewise.
28649 * include/sys/time.h: Likewise.
28650 * include/sys/times.h: Likewise.
28651 * include/sys/uio.h: Likewise.
28652 * include/sys/utsname.h: Likewise.
28653 * include/sys/wait.h: Likewise.
28654 * include/termios.h: Likewise.
28655 * include/time.h: Likewise.
28656 * include/ulimit.h: Likewise.
28657 * include/unistd.h: Likewise.
28658 * include/utime.h: Likewise.
28659 * include/wchar.h: Likewise.
28660 * include/wctype.h: Likewise.
28661 * include/wordexp.h: Likewise.
28662
28663 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
28664
7a270350
UD
28665 * time/time.h: TIME_UTC must be a macro.
28666 Make timespec_get available for ISO C11 only as well.
28667
7724defc
UD
286682012-02-24 Ulrich Drepper <drepper@gmail.com>
28669
28670 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
28671 Reported by Peng Haitao <penght@cn.fujitsu.com>.
28672
6b1d1d46
JM
286732012-02-24 Joseph Myers <joseph@codesourcery.com>
28674
28675 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 28676
0f8bbd69
JM
286772012-02-24 Joseph Myers <joseph@codesourcery.com>
28678
28679 * manual/texinfo.tex: Update to version 2012-01-19.16.
28680
66ab80bc
JM
286812012-02-24 Joseph Myers <joseph@codesourcery.com>
28682
28683 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
28684
74981cc5
RM
286852012-02-24 Roland McGrath <roland@hack.frob.com>
28686
ee968201
RM
28687 [BZ #13738]
28688 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
28689 * manual/fdl-1.3.texi: New file.
28690 * manual/fdl-1.1.texi: File removed.
28691
74981cc5
RM
28692 [BZ #13738]
28693 * manual/libc.texinfo (FDL_VERSION): New @set.
28694 Use it for mention of FDL in cover text.
28695 (Documentation License): Use it in @include file name.
28696
7bb764bc
JM
286972012-02-22 Joseph Myers <joseph@codesourcery.com>
28698 Roland McGrath <roland@hack.frob.com>
28699
28700 [BZ #5461]
28701 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
28702 not LONG_LONG_MAX and LONG_LONG_MIN.
28703 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
28704 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
28705 name.
28706 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
28707
6cbeae47
JM
287082012-02-22 Joseph Myers <joseph@codesourcery.com>
28709
28710 [BZ #2547]
28711 [BZ #11365]
28712 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
28713 manipulate bits before adding and subtracting TWO23[sx].
28714 * math/libm-test.inc (nearbyint_test): Add more tests.
28715
fe45ce09
JM
287162012-02-22 Joseph Myers <joseph@codesourcery.com>
28717
28718 [BZ #2548]
28719 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
28720 bits before adding and subtracting TWO23[sx].
28721 * math/libm-test.inc (rint_test): Add more tests.
28722 (rint_test_tonearest): Likewise.
28723 (rint_test_towardzero): Likewise.
28724 (rint_test_downward): Likewise.
28725 (rint_test_upward: Likewise.
28726
ff3b3d82
JM
287272012-02-22 Joseph Myers <joseph@codesourcery.com>
28728
28729 [BZ #10110]
28730 * include/stdc-predef.h: New file. Extracted from features.h.
28731 * include/features.h: Include stdc-predef.h.
28732 * Makefile (headers): Add stdc-predef.h.
28733 * CONFORMANCE (Compiler limitations): Update.
28734
ef0aab35
JM
287352012-02-22 Joseph Myers <joseph@codesourcery.com>
28736
28737 * manual/libc.texinfo (VERSION, UPDATED): Revert.
28738
58639409
DM
287392012-02-21 David S. Miller <davem@davemloft.net>
28740
28741 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
28742 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28743
c0e70b25
DM
287442012-02-20 David S. Miller <davem@davemloft.net>
28745
28746 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
28747 using a normal save/restore sequence, rather than allocating a
28748 dummy stack frame just to store a frame pointer and restore.
28749 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28750
fb06851d
JM
287512012-02-21 Joseph Myers <joseph@codesourcery.com>
28752
28753 * manual/install.texi: Fix stray word in line-wrapped comment.
28754
7a8b71c3
DM
287552012-02-20 David S. Miller <davem@davemloft.net>
28756
d510c123
DM
28757 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
28758 both binutils and gcc support GOTDATA.
28759
0722d7c2
DM
28760 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
28761 "rd %pc" in the PIC register setup sequences.
28762
3d2b3019
DM
28763 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
28764 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
28765 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28766 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
28767 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28768 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28769 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28770 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28771 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
28772 (SYSCALL_ERROR_HANDLER): Likewise.
28773 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28774 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28775 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
28776 (SYSCALL_ERROR_HANDLER): Likewise.
28777
c80098a9
DM
28778 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
28779 (HAVE_GCC_GOTDATA): New.
28780 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
28781 relocation support in both binutils and gcc.
28782 * sysdeps/sparc/elf/configure: Regenerate.
28783
3a2545a0
DM
28784 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
28785 * sysdeps/sparc/sparc32/elf/configure: Delete.
28786 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
28787 * sysdeps/sparc/sparc64/elf/configure: Delete.
28788 * sysdeps/sparc/elf/configure.in: New file.
28789 * sysdeps/sparc/elf/configure: Generate.
28790
7a8b71c3
DM
28791 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
28792 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
28793 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28794 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
28795 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
28796
f1e86fca
JM
287972012-02-21 Joseph Myers <joseph@codesourcery.com>
28798
28799 * manual/install.texi: Do not mention specific glibc version
28800 numbers.
28801 * manual/libc.texinfo (VERSION, UPDATED): Update.
28802 (@copying): Use @copyright{} and range of years.
28803
0e7dfaef
JM
288042012-02-21 Joseph Myers <joseph@codesourcery.com>
28805
28806 [BZ #13695]
28807 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
28808 [crti.S not in sysdirs] (generated): Do not append.
28809 [crti.S not in sysdirs] (omit-deps): Likewise.
28810 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
28811 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
28812 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
28813 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
28814 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
28815 Likewise.
28816 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
28817 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
28818 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
28819 * csu/defs.awk: Remove file.
28820 * sysdeps/generic/initfini.c: Likewise.
28821 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
28822 variable.
28823 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
28824 Likewise.
28825
599af3ca
JM
288262012-02-20 Joseph Myers <joseph@codesourcery.com>
28827
28828 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
28829 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
28830 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
28831 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
28832 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28833 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
28834 <bits/epoll.h>.
28835 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
28836 (__EPOLL_PACKED): Define to empty if not defined by
28837 <bits/epoll.h>.
28838 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
28839 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28840 bits/epoll.h.
28841
0e499750
JM
288422012-02-20 Joseph Myers <joseph@codesourcery.com>
28843
28844 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
28845 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
28846 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
28847 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
28848 <bits/timerfd.h>.
28849 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
28850 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28851 bits/timerfd.h.
28852
5ad91f6e
JM
288532012-02-20 Joseph Myers <joseph@codesourcery.com>
28854
28855 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
28856 in C locale.
28857 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28858 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28859 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
28860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28861
06b99b02
AJ
288622012-02-20 Aurelien Jarno <aurelien@aurel32.net>
28863
28864 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28865 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28866
7638c0fd
AS
288672012-02-19 Andreas Schwab <schwab@linux-m68k.org>
28868
28869 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
28870 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
28871 defined.
28872 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
28873 Likewise.
28874 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
28875 entry for 2.16.
28876
92221550
AJ
288772012-02-19 Aurelien Jarno <aurelien@aurel32.net>
28878
28879 * math/w_acos.c: Use non-signaling floating-point comparisons.
28880 * math/w_acosf.c: Likewise.
28881 * math/w_acosh.c: Likewise.
28882 * math/w_acoshf.c: Likewise.
28883 * math/w_acoshl.c: Likewise.
28884 * math/w_acosl.c: Likewise.
28885 * math/w_asin.c: Likewise.
28886 * math/w_asinf.c: Likewise.
28887 * math/w_asinl.c: Likewise.
28888 * math/w_atanh.c: Likewise.
28889 * math/w_atanhf.c: Likewise.
28890 * math/w_atanhl.c: Likewise.
28891 * math/w_exp2.c: Likewise.
28892 * math/w_exp2f.c: Likewise.
28893 * math/w_exp2l.c: Likewise.
28894 * math/w_j0.c: Likewise.
28895 * math/w_j0f.c: Likewise.
28896 * math/w_j0l.c: Likewise.
28897 * math/w_j1.c: Likewise.
28898 * math/w_j1f.c: Likewise.
28899 * math/w_j1l.c: Likewise.
28900 * math/w_jn.c: Likewise.
28901 * math/w_jnf.c: Likewise.
28902 * math/w_log.c: Likewise.
28903 * math/w_log10.c: Likewise.
28904 * math/w_log10f.c: Likewise.
28905 * math/w_log10l.c: Likewise.
28906 * math/w_log2.c: Likewise.
28907 * math/w_log2f.c: Likewise.
28908 * math/w_log2l.c: Likewise.
28909 * math/w_logf.c: Likewise.
28910 * math/w_logl.c: Likewise.
28911 * math/w_sqrt.c: Likewise.
28912 * math/w_sqrtf.c: Likewise.
28913 * math/w_sqrtl.c: Likewise.
28914 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28915 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
28916 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28917 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28918 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28919
ebaf36eb
JM
289202012-02-19 Joseph Myers <joseph@codesourcery.com>
28921
28922 [BZ #9739]
28923 * manual/string.texi (strnlen): Use correct parameter name in
28924 equivalent expression.
28925
71c254a6
JM
289262012-02-19 Joseph Myers <joseph@codesourcery.com>
28927
28928 [BZ #11174]
28929 * manual/users.texi (seteuid): Consistently use neweuid for
28930 argument name.
28931
16d2c631
JM
289322012-02-19 Joseph Myers <joseph@codesourcery.com>
28933
28934 [BZ #13704]
28935 * manual/nss.texi (Services in the NSS configuration): Correct
28936 list of services in example configuration file.
28937
cd837b09
NB
289382012-02-19 Nick Bowler <nbowler@draconx.ca>
28939
28940 [BZ #11322]
28941 * manual/arith.texi: Remove statements about negative zero
28942 behaving identically to zero.
28943
02c4bbad
JM
289442012-02-18 Joseph Myers <joseph@codesourcery.com>
28945
28946 [BZ #5993]
28947 * manual/install.texi: Do not document upgrading from libc5.
28948
366842e7
JM
289492012-02-18 Joseph Myers <joseph@codesourcery.com>
28950
28951 [BZ #4596]
28952 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
28953
dd54084d
DM
289542012-02-18 David S. Miller <davem@davemloft.net>
28955
28956 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
28957 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
28958 %o7 across the call.
28959 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
28960 instead.
28961 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
28962 SETUP_PIC_REG_LEAF.
28963 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28964 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
28965 * sysdeps/sparc/crtn.S: Likewise.
28966
2bcc53a3
UD
289672012-02-17 Ulrich Drepper <drepper@gmail.com>
28968
28969 * aout/Makefile: Remove.
28970
09c093b5
RK
289712012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
28972
28973 [BZ #13058]
28974 * manual/examples/argp-ex1.c (main): Format definition in GNU
28975 style.
28976 * manual/examples/argp-ex2.c (main): Likewise.
28977 * manual/examples/argp-ex3.c (main): Likewise.
28978 * manual/examples/argp-ex4.c (main): Likewise.
28979 * manual/examples/longopt.c (main): Use new-style prototype
28980 definition.
28981 * manual/examples/strncat.c (main): Specify return type and use
28982 (void) for arguments.
28983 * manual/examples/subopt.c (main): Use char **argv argument.
28984
2ee633a2
JM
289852012-02-17 Joseph Myers <joseph@codesourcery.com>
28986
28987 [BZ #5077]
28988 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
28989 rounding modes.
28990
0520adde
FB
289912012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
28992
28993 [BZ #6907]
28994 * manual/string.texi (strchr): Change when strchrnul is
28995 recommended.
28996
3f4081cd
DGM
289972012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
28998
28999 [BZ #174]
29000 * manual/locale.texi (setlocale): Document LOCPATH.
29001
d1b10e78
JM
290022012-02-17 Joseph Myers <joseph@codesourcery.com>
29003
29004 [BZ #10210]
29005 * manual/process.texi (execle): Move @dots{} before last argument.
29006
79c6869c
PB
290072012-02-17 Paul Bolle <pebolle@tiscali.nl>
29008
29009 [BZ #12047]
29010 * manual/charset.texi (Generic Charset Conversion): Fix typo
29011 (LC_TYPE -> LC_CTYPE).
29012
cc6e48bc
NB
290132012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
29014
29015 [BZ #5805]
29016 * manual/arith.texi (scalbn): Use @var{} on parameter names.
29017 (scalbnf): Likewise.
29018 (scalbnl): Likewise.
29019 (scalbln): Likewise.
29020 (scalblnf): Likewise.
29021 (scalblnl): Likewise.
29022 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
29023 (vwarnx): Likewise.
29024 (verr): Likewise.
29025 (verrx): Likewise.
29026 * manual/filesys.texi (telldir): Use braces around return type.
29027 * manual/llio.texi (mmap): Add space after comma.
29028 (mmap64): Likewise.
29029 * manual/math.texi (jn): Use @var{} on parameter names.
29030 (jnf): Likewise.
29031 (jnl): Likewise.
29032 (yn): Likewise.
29033 (ynf): Likewise.
29034 (ynl): Likewise.
29035 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
29036 line.
29037 * manual/resource.texi (ulimit): Use @dots{} instead of literal
29038 "...".
29039 (sched_get_priority_min): Remove semicolon on @deftypefun line.
29040 (sched_get_priority_max): Likewise.
29041 * manual/signal.texi (sigvec): Add space after comma.
29042 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
29043 names.
29044 (if_indextoname): Likewise.
29045 (if_freenameindex): Likewise.
29046 (sendto): Use ',' instead of '.' in prototype.
29047 * manual/startup.texi (syscall): Use @dots{} instead of literal
29048 "...".
29049 * manual/stdio.texi (__fpending): Separate initial words of
29050 paragraph from @deftypefun line.
29051 * manual/syslog.texi (syslog): Use @dots{} instead of literal
29052 "...".
29053 (vsyslog): Use @var{} on parameter names.
29054 * manual/terminal.texi (stty): Use @var{} on parameter names.
29055 * manual/users.texi (getutmp): Use @var{} on parameter names.
29056 (getutmpx): Likewise.
29057
5b23062f
JM
290582012-02-17 Joseph Myers <joseph@codesourcery.com>
29059
29060 [BZ #6884]
29061 * manual/stdio.texi (fopen): Fix typos in description of
29062 ",ccs=STRING".
29063
8dee4833
AJ
290642012-02-17 Aurelien Jarno <aurelien@aurel32.net>
29065
29066 [BZ #4026]
29067 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
29068 get clock_id definition.
29069
9078ce93
TS
290702012-02-17 Thomas Schwinge <thomas@schwinge.name>
29071
29072 [BZ #4822]
29073 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
29074 (madvise): Cast every argument to void on its own.
29075
3835c55f
JM
290762012-02-17 Joseph Myers <joseph@codesourcery.com>
29077
29078 [BZ #9902]
29079 * manual/startup.texi (Exit Status): Fix typo.
29080
35c47e37
JM
290812012-02-17 Joseph Myers <joseph@codesourcery.com>
29082
29083 [BZ #10140]
29084 * manual/examples/argp-ex1.c: Include <stdlib.h>.
29085 * manual/examples/argp-ex2.c: Likewise.
29086 * manual/examples/argp-ex3.c: Likewise.
29087
e3b69ca7
RH
290882012-02-16 Richard Henderson <rth@redhat.com>
29089
29090 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
29091 * sysdeps/s390/s390-32/initfini.c: Remove.
29092 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
29093 * sysdeps/s390/s390-64/initfini.c: Remove.
29094
df83af67
KK
290952012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29096
29097 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
29098 compiler output for sysdeps/generic/initfini.c.
29099 * sysdeps/sh/elf/initfini.c: Remove file.
29100
f63f3380
DM
291012012-02-16 David S. Miller <davem@davemloft.net>
29102
fb59b3a4
DM
29103 [BZ #11494]
29104 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
29105
f63f3380
DM
29106 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
29107 * sysdeps/sparc/crti.S: New file.
29108 * sysdeps/sparc/crtn.S: New file.
29109 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
29110 * sysdeps/sparc/sparc64/Makefile: Likewise.
29111
df6a4a4a
MF
291122012-02-15 Mike Frysinger <vapier@gentoo.org>
29113
6dd8f3dc 29114 [BZ #3335]
df6a4a4a
MF
29115 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
29116
1cac7236
RM
291172012-02-15 Roland McGrath <roland@hack.frob.com>
29118
d2c736f8
RM
29119 [BZ #4822]
29120 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
29121
1cac7236
RM
29122 * mach/devstream.c (cookie_io_functions_t): Macro removed.
29123 (write, read, close): Likewise.
29124 Patch by Aurelien Jarno <aurelien@aurel32.net>.
29125
8e475601
JM
291262012-02-15 Joseph Myers <joseph@codesourcery.com>
29127
29128 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
29129 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
29130 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
29131 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
29132 <bits/signalfd.h>.
29133 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
29134 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29135 bits/signalfd.h.
29136
ed656b40
MP
291372012-02-14 Marek Polacek <polacek@redhat.com>
29138
29139 * sysdeps/x86_64/crti.S: New file.
29140 * sysdeps/x86_64/crtn.S: New file.
29141 * sysdeps/x86_64/elf/initfini.c: Remove file.
29142
2a979d3a
JM
291432012-02-13 Joseph Myers <joseph@codesourcery.com>
29144
29145 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
29146 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
29147 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
29148 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
29149 <bits/inotify.h>.
29150 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
29151 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29152 bits/inotify.h.
29153
2a418ac3
JM
291542012-02-13 Joseph Myers <joseph@codesourcery.com>
29155
29156 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
29157 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
29158 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
29159 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
29160 <bits/eventfd.h>.
29161 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
29162 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29163 bits/eventfd.h.
29164
fb779be7
TS
291652012-02-10 Thomas Schwinge <thomas@codesourcery.com>
29166
e19e83c5
RM
29167 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
29168 __feraiseexcept instead of feraiseexcept.
7c35ffed 29169
fb779be7
TS
29170 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
29171 nanosleep invocations.
29172 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
29173 strings, and add error checking for a nanosleep invocations.
29174
59ba27a6
PE
291752012-02-09 Paul Eggert <eggert@cs.ucla.edu>
29176
29177 Replace FSF snail mail address with URLs, as per GNU coding standards.
29178 Most of the snail mail addresses were wrong anyway, and omitting
29179 them makes the source code easier to maintain. Almost all of the
29180 changes are to license notices and to locale LC_IDENTIFICATION
29181 addresses, except for this one:
29182 * manual/libc.texinfo: In "Published by", give the FSF's URL,
29183 not its snail mail address.
29184
57b957eb
RH
291852012-02-09 Richard Henderson <rth@twiddle.net>
29186
af850b1c
RH
29187 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
29188 of kernel-features.h.
29189
57b957eb
RH
29190 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
29191
6b73181a
MP
291922012-02-08 Marek Polacek <polacek@redhat.com>
29193
29194 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
29195 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
29196 * sysdeps/gnu/_G_config.h: Likewise.
29197 * sysdeps/generic/_G_config.h: Likewise.
29198
26ecc33a
AS
291992012-02-08 Andreas Schwab <schwab@linux-m68k.org>
29200
6c6dbc63
AS
29201 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
29202 tests.
29203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29204
e216c012
AS
29205 * sysdeps/powerpc/powerpc32/crti.S: New file.
29206 * sysdeps/powerpc/powerpc32/crtn.S: New file.
29207 * sysdeps/powerpc/powerpc64/crti.S: New file.
29208 * sysdeps/powerpc/powerpc64/crtn.S: New file.
29209
26ecc33a
AS
29210 * Makeconfig (have-initfini): Don't set.
29211 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
29212 * configure.in (nopic_initfini): Don't substitute.
29213 * config.h.in (HAVE_INITFINI): Don't #undef.
29214 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
29215 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
29216
3add8e13
JM
292172012-02-08 Joseph Myers <joseph@codesourcery.com>
29218
29219 Support crti.S and crtn.S provided directly by architectures.
29220 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
29221 [crti.S in sysdirs] (omit-deps): Likewise.
29222 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
29223 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
29224 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
29225 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
29226 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
29227 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
29228 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
29229 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
29230 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
29231 compiler output for sysdeps/generic/initfini.c.
29232 * sysdeps/i386/elf/Makefile: Remove file.
29233 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
29234
a22f12b4
MP
292352012-02-07 Marek Polacek <polacek@redhat.com>
29236
29237 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
29238 * sysdeps/gnu/_G_config.h: Likewise.
29239 * sysdeps/mach/hurd/_G_config.h: Likewise.
29240
148cf100
MP
292412012-02-07 Marek Polacek <polacek@redhat.com>
29242
29243 * math/Makefile (tests): Add tst-CMPLX2.
29244 * math/tst-CMPLX2.c: New file.
29245
cfdc0dd7
AS
292462012-02-07 Andreas Schwab <schwab@linux-m68k.org>
29247
84ba42c4
AS
29248 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29249
cfdc0dd7
AS
29250 * math/libm-test.inc (jn_test): Add missing L suffix.
29251
622c86f4
MP
292522012-02-06 Marek Polacek <polacek@redhat.com>
29253
29254 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
29255 * sysdeps/i386/fpu/e_powf.S: Likewise.
29256 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29257 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29258 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29259 * sysdeps/i386/fpu/e_pow.S: Likewise.
29260 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29261 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29262 * sysdeps/i386/fpu/s_expm1.S: Likewise.
29263 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29264 * sysdeps/i386/fpu/e_log2.S: Likewise.
29265 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29266 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29267 * sysdeps/i386/fpu/e_powl.S: Likewise.
29268 * sysdeps/i386/fpu/s_log1p.S: Likewise.
29269 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29270 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29271 * sysdeps/i386/fpu/e_logl.S: Likewise.
29272 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29273 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
29274 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29275 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29276 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29277 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29278 * sysdeps/i386/fpu/e_log.S: Likewise.
29279 * sysdeps/i386/fpu/s_cexp.S: Likewise.
29280 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29281 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
29282 * sysdeps/i386/fpu/e_logf.S: Likewise.
29283 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29284 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29285 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
29286 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29287 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29288 * sysdeps/i386/fpu/e_log10.S: Likewise.
29289 * sysdeps/i386/fpu/s_frexp.S: Likewise.
29290 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29291 * sysdeps/i386/fpu/s_asinh.S: Likewise.
29292 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29293 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29294 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29295 * sysdeps/i386/asm-syntax.h: Likewise.
29296 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29297 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29298 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29299 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
29300 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
29301 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29302 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29303 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29304 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29305 * sysdeps/powerpc/sysdep.h: Likewise.
29306 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
29307 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29308
d4a54ac6
JM
293092012-02-06 Joseph Myers <joseph@codesourcery.com>
29310
29311 [BZ #411]
29312 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
29313
314054ea
JM
293142012-02-06 Joseph Myers <joseph@codesourcery.com>
29315
29316 * sysdeps/i386/sysdep.h: Include <features.h>.
29317 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
29318 version.
29319
d8e0ca50
JM
293202012-02-05 Joseph Myers <joseph@codesourcery.com>
29321
29322 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
29323 Define.
29324 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
29325 LOAD_PIC_REG_STR.
29326
b1da7dd9
JM
293272012-02-03 Joseph Myers <joseph@codesourcery.com>
29328
29329 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
29330 (SETUP_PIC_REG): Use GET_PC_THUNK.
29331 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
29332 macro.
29333
9a1d9254
JM
293342012-02-03 Joseph Myers <joseph@codesourcery.com>
29335
29336 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
29337 for non-PIC compilation.
29338 (SETUP_PIC_REG): Add .p2align directive.
29339 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
29340 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
29341 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29342 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29343 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29344 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29345 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
29346 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29347 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29348 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29349 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29350 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29351 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29352 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29353 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29354 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29355 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29356 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29357 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29358 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29359 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29360 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29361 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29362 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29363 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29364 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29365 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29366 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29367 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29368 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29369 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29370 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29371 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29372 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29373 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29374 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29375 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29376 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29377 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29378 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29379 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29380
65dc3b75
JM
293812012-02-03 Joseph Myers <joseph@codesourcery.com>
29382
29383 * math/tst-CMPLX.c: Include <stdio.h>.
29384
d55bf177
JM
293852012-01-31 Joseph Myers <joseph@codesourcery.com>
29386
29387 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
29388 float.
29389 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29390 * sysdeps/sparc/bits/mathdef.h: Likewise.
29391
69db4f8f
MP
293922012-01-31 Marek Polacek <polacek@redhat.com>
29393
29394 * libio/libio.h: Don't define _PARAMS.
29395 * locale/programs/config.h: Don't define PARAMS.
29396 * stdlib/strtol_l.c: Likewise.
29397 (__strtol_l): Remove PARAMS from the prototype.
29398
41b81892
UD
293992012-01-31 Ulrich Drepper <drepper@gmail.com>
29400
3b49edc0
UD
29401 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
29402 names. Just use the correct names. Remove unnecessary wrapper
29403 functions.
29404 * malloc/arena.c: Likewise.
29405 * malloc/hooks.c: Likewise.
29406
41b81892
UD
29407 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
29408 ARENA_TEST says not to. Simplify test for creation of a new arena.
29409 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
29410
27a25b6e
UD
294112012-01-30 Ulrich Drepper <drepper@gmail.com>
29412
29413 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
29414 into tail calls.
29415 (update_get_addr): New function.
29416 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
29417 GET_ADDR_MODULE parameter.
29418
c8a89e7d
JM
294192012-01-30 Joseph Myers <joseph@codesourcery.com>
29420
29421 * crypt/cert.c: Remove __STDC__ conditionals.
29422 * crypt/crypt-entry.c: Likewise.
29423 * crypt/crypt_util.c: Likewise.
29424 * libio/filedoalloc.c: Likewise.
29425 * libio/fileops.c: Likewise.
29426 * libio/genops.c: Likewise.
29427 * libio/iofclose.c: Likewise.
29428 * libio/iofdopen.c: Likewise.
29429 * libio/iofopen.c: Likewise.
29430 * libio/iofopen64.c: Likewise.
29431 * libio/iogetdelim.c: Likewise.
29432 * libio/iopopen.c: Likewise.
29433 * libio/obprintf.c: Likewise.
29434 * libio/oldfileops.c: Likewise.
29435 * libio/oldiofclose.c: Likewise.
29436 * libio/oldiofdopen.c: Likewise.
29437 * libio/oldiofopen.c: Likewise.
29438 * libio/oldiopopen.c: Likewise.
29439 * libio/wfiledoalloc.c: Likewise.
29440 * libio/wgenops.c: Likewise.
29441 * locale/programs/xmalloc.c: Likewise.
29442 * misc/syslog.c: Likewise.
29443 * stdio-common/xbug.c: Likewise.
29444 * string/memchr.c: Likewise.
29445 * string/memcmp.c: Likewise.
29446 * string/memrchr.c: Likewise.
29447 * string/rawmemchr.c: Likewise.
29448 * sysdeps/posix/getcwd.c: Likewise.
29449 * time/strftime_l.c: Likewise.
29450
3b100462
JM
294512012-01-30 Joseph Myers <joseph@codesourcery.com>
29452
29453 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
29454 * config.make.in (config-cflags-sse2avx): Define.
29455 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
29456 Fix typo.
29457
607998af
CM
294582012-01-29 Chris Metcalf <cmetcalf@tilera.com>
29459
29460 * scripts/config.guess: Update from upstream config git repository.
29461 * scripts/config.sub: Likewise.
29462
3601428f
CM
294632012-01-28 Chris Metcalf <cmetcalf@tilera.com>
29464
3ac8b282
CM
29465 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
29466 (EM_NUM): Update.
29467 (R_TILEPRO_*, R_TILEGX_*): New macros.
29468
e034841e
CM
29469 * scripts/firstversions.awk: Fix bug in version range handling.
29470
540d7568
CM
29471 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
29472
3601428f
CM
29473 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
29474
463de862
CM
29475 * include/sys/epoll.h: New file.
29476 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
29477 libc_hidden_def.
29478
73139a76
UD
294792012-01-28 Ulrich Drepper <drepper@gmail.com>
29480
96bc5b45
UD
29481 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
29482 Avoid unnecessary __WORDSIZE == 64 test.
29483 (fmaxf): Use VEX format if possible.
29484 (fmax): Likewise.
29485 (fminf): Likewise.
29486 (fmin): Likewise.
29487
56f6f6a2
UD
29488 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
29489 * math/math_private.h: Remove libc_fegetround* and
29490 libc_fesetround*.
29491 * sysdeps/i386/configure.in: Check for -msse2avx.
29492 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
29493 also if SSE2AVX is defined.
29494 Remove libc_fegetround* and libc_fesetround*.
29495 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
29496 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
29497 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
29498 of HAS_YMM_USABLE.
29499 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29500 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29501 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29502 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29503 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29504
73139a76
UD
29505 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
29506
d73f93a4
AZ
295072012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29508
29509 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
29510 size is not set.
29511 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
29512
6ee65ed6
UD
295132012-01-27 Ulrich Drepper <drepper@gmail.com>
29514
29515 [BZ #13618]
29516 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
29517 relocation.
29518 * Makeconfig (libm): Define.
29519 * elf/Makefile: Add rules to build and run tst-relsort1.
29520 * elf/tst-relsort1.c: New file.
29521 * elf/tst-relsort1mod1.c: New file.
29522 * elf/tst-relsort1mod2.c: New file.
29523
8db21882
JM
295242012-01-27 Joseph Myers <joseph@codesourcery.com>
29525
29526 * math/s_ldexp.c: Remove __STDC__ conditionals.
29527 * math/s_ldexpf.c: Likewise.
29528 * math/s_ldexpl.c: Likewise.
29529 * math/s_nextafter.c: Likewise.
29530 * math/s_nexttowardf.c: Likewise.
29531 * math/s_significand.c: Likewise.
29532 * math/s_significandf.c: Likewise.
29533 * math/s_significandl.c: Likewise.
29534 * math/w_jnl.c: Likewise.
29535 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29536 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29537 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29538 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29539 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29540 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29541 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
29542 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29543 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29544 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29545 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29546 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29547 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29548 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29549 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29550 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29551 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29552 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29553 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29554 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29555 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29556 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29557 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29558 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29559 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29560 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29561 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29562 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29563 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29564 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29565 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29566 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29567 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29568 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29569 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29570 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29571 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29572 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29573 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29574 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29575 * sysdeps/ieee754/k_standard.c: Likewise.
29576 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29577 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29578 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29579 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29580 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29581 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29582 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29583 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29584 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29585 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29586 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29587 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29588 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29589 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29590 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29591 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29592 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29593 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29594 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29595 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29596 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29597 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29598 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29599 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29600 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29601 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29602 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29603 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29604 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29605 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29606 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29607 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
29608 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29609 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29610 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29611 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29612 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
29613 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29614 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29615 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
29616 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
29617 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29618 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
29619 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
29620 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29621 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
29622 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
29623 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29624 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29625 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
29626 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
29627 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29628 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29629 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29630 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29631 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29632 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
29633 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29634 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29635 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29636 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29637 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29638 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29639 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29640 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29641 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29642 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29643 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29644 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29645 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29646 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29647 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29648 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29649 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29650 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29651 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29652 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29653 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29654 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29655 * sysdeps/ieee754/s_matherr.c: Likewise.
29656 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29657 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29658 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29659 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29660
965a54a4
JM
296612012-01-26 Joseph Myers <joseph@codesourcery.com>
29662
29663 * crypt/md5.h: Remove __STDC__ conditionals.
29664 * libio/libioP.h: Likewise.
29665 * locale/programs/config.h: Likewise.
29666 * sysdeps/generic/sysdep.h: Likewise.
29667 * sysdeps/i386/asm-syntax.h: Likewise.
29668 * sysdeps/s390/asm-syntax.h: Likewise.
29669 * sysdeps/unix/sysdep.h: Likewise.
29670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29672
7071ad79
JM
296732012-01-26 Joseph Myers <joseph@codesourcery.com>
29674
29675 * libio/libio.h: Remove __STDC__ conditionals.
29676 * malloc/obstack.h: Likewise.
29677 * math/complex.h: Likewise.
29678 * math/math.h: Likewise.
29679 * sysdeps/generic/_G_config.h: Likewise.
29680 * sysdeps/gnu/_G_config.h: Likewise.
29681 * sysdeps/mach/hurd/_G_config.h: Likewise.
29682 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29683 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29684 * sysdeps/sparc/bits/mathdef.h: Likewise.
29685
afc5ed09
UD
296862012-01-26 Ulrich Drepper <drepper@gmail.com>
29687
29688 [BZ #13583]
29689 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 29690 Clean up HAS_* macros.
afc5ed09 29691 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
29692 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
29693 possible.
29694 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
29695 HAS_AVX.
29696 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29697 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29698 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29699 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29700 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 29701
bdb6de1d
JM
297022012-01-25 Joseph Myers <joseph@codesourcery.com>
29703
29704 * elf/tst-unique3.cc (gets): Remove declaration.
29705 * elf/tst-unique3lib.cc (gets): Likewise.
29706 * elf/tst-unique3lib2.cc (gets): Likewise.
29707 * elf/tst-unique4.cc (gets): Likewise.
29708
b15549e6
UD
297092012-01-24 Ulrich Drepper <drepper@gmail.com>
29710
29711 * include/stdio.h: Add C++ protection. Add gets declarations and
29712 definitions.
29713 * debug/tst-chk1.c: Don't declare gets here.
29714 * stdio-common/tst-gets.c: Likewise.
29715
a037381f
JM
297162012-01-24 Joseph Myers <joseph@codesourcery.com>
29717
29718 * posix/glob: Remove directory.
29719
f1d4aa75
JM
297202012-01-24 Joseph Myers <joseph@codesourcery.com>
29721
29722 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
29723
81c0c964
PT
297242012-01-22 Pino Toscano <toscano.pino@tiscali.it>
29725
29726 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
29727 of the non-standard EPFNOSUPPORT.
29728
0ea698ae
ST
297292011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
29730
29731 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
29732 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
29733 ANYWHERE set to 1 only on KERN_NO_SPACE error.
29734
d220b117
UD
297352012-01-21 Ulrich Drepper <drepper@gmail.com>
29736
29737 * wcsmbs/uchar.h: Test __STDC_VERSION__.
29738
3e1aa84e
UD
297392012-01-20 Ulrich Drepper <drepper@gmail.com>
29740
29741 * nscd/aicache.c (addhstaiX): Do not cache negative results of
29742 transient errors.
29743 * nscd/grpcache.c (cache_addgr): Likewise.
29744 * nscd/hstcache.c (cache_addhst): Likewise.
29745 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29746 * nscd/pwdcache.c (cache_addpw): Likewise.
29747 * nscd/servicescache.c (cache_addserv): Likewise.
29748
400aa020
UD
297492012-01-16 Ulrich Drepper <drepper@gmail.com>
29750
d77e7869
UD
29751 * malloc/malloc.c: Various cleanups.
29752 * malloc/hooks.c: Likewise.
29753
400aa020
UD
29754 * stdlib/Makefile (tests): Add bug-fmtmsg1.
29755 * stdlib/bug-fmtmsg1.c: New file.
29756
29757 * stdlib/fmtmsg.c (init): Add missing unlock.
29758 Patch by Peng Haitao <penght@cn.fujitsu.com>.
29759
e0a309cf
MP
297602012-01-12 Marek Polacek <polacek@redhat.com>
29761
29762 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
29763 and _GNU_SOURCE.
29764
929d11c7
WS
297652012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29766
29767 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
29768 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
29769 macro to ensure uniqueness of label name.
29770 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29771 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29772
41d0e869
UD
297732012-01-11 Ulrich Drepper <drepper@gmail.com>
29774
0cc5ed3b
UD
29775 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
29776
41d0e869
UD
29777 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
29778 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29779 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29780 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
29781
a47a831a
UD
297822012-01-10 Ulrich Drepper <drepper@gmail.com>
29783
daa891c0
UD
29784 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
29785
29786 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
29787 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29788 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29789
e58ef0f2
UD
29790 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
29791
a47a831a 29792 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
29793 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29794 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 29795 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
29796
29797 * math/bits/math-finite.h: Add ldexp support.
29798
a0bfc9c7
MP
297992012-01-10 Marek Polacek <polacek@redhat.com>
29800
29801 * locale/programs/localedef.h (show_archive_content): Add noreturn
29802 attribute.
29803
d6e97a1d
UD
298042012-01-09 Ulrich Drepper <drepper@gmail.com>
29805
29806 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
29807
d5835c26
UD
298082012-01-08 Ulrich Drepper <drepper@gmail.com>
29809
e5f484c6
UD
29810 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
29811
d5835c26
UD
29812 * io/Makefile (headers): Add bits/poll2.h.
29813
d1f741e9
WS
298142011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
29815
29816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
29817 typo #include statement.
29818
ec09c1c4
UD
298192012-01-08 Ulrich Drepper <drepper@gmail.com>
29820
29821 * include/sys/cdefs.h: Define __attribute_alloc_size.
29822 * catgets/gencat.c: Add alloc_size attribute and apply consistently
29823 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
29824 * elf/pldd.c: Likewise.
29825 * iconv/iconv_charmap.c: Likewise.
29826 * iconv/iconvconfig.c: Likewise.
29827 * iconv/strtab.c: Likewise.
29828 * locale/programs/locale.c: Likewise.
29829 * locale/programs/localedef.h: Likewise.
29830 * locale/programs/simple-hash.c: Likewise.
29831 * nscd/nscd.h: Likewise.
29832 * nss/makedb.c: Likewise.
29833 * sysdeps/generic/ldconfig.h: Likewise.
29834 * locale/programs/localedef.c: Remove xmalloc prototype.
29835 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
29836
20b38e03
PP
298372012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29838
29839 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
29840 appropriate.
29841
a0da5fe1
UD
298422012-01-08 Ulrich Drepper <drepper@gmail.com>
29843
1d5a644a 29844 * math/Makefile (tests): Add tst-CMPLX.
669704fd 29845 * math/tst-CMPLX.c: New file.
1d5a644a 29846
8784a6db
UD
29847 * math/complex.h (CMPLXL): Fix typo.
29848
d9a216c0
UD
29849 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
29850 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
29851 GLIBC_2.16.
29852 * debug/tst-chk1.c: Add poll and ppoll tests.
29853 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
29854 * include/sys/poll.h: Add hidden proto for ppoll.
29855 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
29856 * sysdeps/mach/hurd/ppoll.c: Likewise.
29857 * io/ppoll.c: Likewise.
29858 * debug/poll_chk.c: New file.
29859 * debug/ppoll_chk.c: New file.
29860 * include/bits/poll2.h: New file.
29861 * io/bits/poll2.h: New file.
29862
ac097f5c
UD
29863 [BZ #1350]
29864 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
29865
2119dcfa
UD
29866 * configure.in: static is always set to yes. Remove.
29867 * config.make.in: Don't set build-static.
29868 * Makeconfig: Remove use of build-static.
29869 * dlfcn/Makefile: Likewise.
29870 * elf/Makefile: Likewise.
29871 * math/Makefile: Likewise.
29872 * misc/Makefile: Likewise.
29873 * nptl/Makefile: Likewise.
29874 * sysdeps/mach/hurd/Makefile: Likewise.
29875
121766a9
UD
29876 * configure.in: PWD_P is not used anymore.
29877 * config.make.in: Remove PWD_P entry.
29878
51a1d39c 29879 * configure.in: Remove last remnants of RANLIB.
8720d066 29880 No need to check for signed size_t anymore.
215f4bdc
UD
29881 Don't set libc_commonpagesize and libc_relro_required here for Alpha
29882 and IA-64.
3857022a 29883 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
29884 * aclocal.m4: Likewise.
29885
d3ed7225
UD
29886 * wcsmbs/mbrtoc16.c: Implement using towc function.
29887 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
29888 * wcsmbs/wcsmbsload.c: Likewise.
29889 * iconv/gconv_simple.c: Likewise.
29890 * iconv/gconv_int.h: Likewise.
29891 * iconv/gconv_builtin.h: Likewise.
29892 * iconv/iconv_prog.c: Remove CHAR16 handling.
29893
29894 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
29895
29896 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
29897
a0da5fe1
UD
29898 * configure.in: Remove --with-elf and --enable-bounded options.
29899 Dont set base_machine for ia64. More non-ELF conditions removed.
29900 Remove testing and setting of leading underscore information.
29901 * config.make.in (build-bounded): Set to no.
29902 * config.h.in: Remove NO_UNDERSCORES entry.
29903 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
29904 them.
29905 * csu/start.c: Remove !NO_UNDERSCORE code.
29906 * locale/localeinfo.h: Likewise.
29907 * sysdeps/generic/machine-gmon.h: Likewise.
29908 * sysdeps/generic/sysdep.h: Likewise.
29909 * sysdeps/i386/sysdep.h: Likewise.
29910 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
29911 * sysdeps/mach/sysdep.h: Likewise.
29912 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29913 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29914 * sysdeps/sh/sysdep.h: Likewise.
29915 * sysdeps/sparc/sparc32/alloca.S: Likewise.
29916 * sysdeps/unix/i386/sysdep.S: Likewise.
29917 * sysdeps/unix/sparc/start.c: Likewise.
29918 * sysdeps/unix/sparc/sysdep.S: Likewise.
29919 * sysdeps/unix/sparc/sysdep.h: Likewise.
29920 * sysdeps/unix/start.c: Likewise.
29921 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29922 * sysdeps/x86_64/sysdep.h: Likewise.
29923
df78418a
UD
299242012-01-07 Ulrich Drepper <drepper@gmail.com>
29925
a784e502
UD
29926 [BZ #13553]
29927 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
29928 for non-gcc.
29929 * argp/argp-fmtstream.h: Use const instead __const.
29930 * argp/argp.h: Likewise.
29931 * assert/assert.h: Likewise.
29932 * bits/fenv.h: Likewise.
29933 * bits/sched.h: Likewise.
29934 * bits/sigset.h: Likewise.
29935 * bits/sigthread.h: Likewise.
29936 * catgets/nl_types.h: Likewise.
29937 * conform/data/pthread.h-data: Likewise.
29938 * crypt/crypt-private.h: Likewise.
29939 * crypt/crypt.h: Likewise.
29940 * crypt/crypt_util.c: Likewise.
29941 * ctype/ctype.h: Likewise.
29942 * debug/execinfo.h: Likewise.
29943 * debug/mbsnrtowcs_chk.c: Likewise.
29944 * debug/mbsrtowcs_chk.c: Likewise.
29945 * debug/wcsnrtombs_chk.c: Likewise.
29946 * debug/wcsrtombs_chk.c: Likewise.
29947 * debug/wcstombs_chk.c: Likewise.
29948 * dirent/dirent.h: Likewise.
29949 * dlfcn/dlfcn.h: Likewise.
29950 * elf/neededtest4.c: Likewise.
29951 * grp/grp.h: Likewise.
29952 * gshadow/gshadow.h: Likewise.
29953 * iconv/gconv.h: Likewise.
29954 * iconv/gconv_int.h: Likewise.
29955 * iconv/gconv_simple.c: Likewise.
29956 * iconv/iconv.h: Likewise.
29957 * iconv/loop.c: Likewise.
29958 * iconv/skeleton.c: Likewise.
29959 * include/aio.h: Likewise.
29960 * include/aliases.h: Likewise.
29961 * include/argz.h: Likewise.
29962 * include/arpa/inet.h: Likewise.
29963 * include/assert.h: Likewise.
29964 * include/dirent.h: Likewise.
29965 * include/dlfcn.h: Likewise.
29966 * include/execinfo.h: Likewise.
29967 * include/fcntl.h: Likewise.
29968 * include/fenv.h: Likewise.
29969 * include/glob.h: Likewise.
29970 * include/grp.h: Likewise.
29971 * include/libintl.h: Likewise.
29972 * include/mntent.h: Likewise.
29973 * include/netdb.h: Likewise.
29974 * include/pwd.h: Likewise.
29975 * include/rpc/netdb.h: Likewise.
29976 * include/sched.h: Likewise.
29977 * include/search.h: Likewise.
29978 * include/shadow.h: Likewise.
29979 * include/signal.h: Likewise.
29980 * include/stdio.h: Likewise.
29981 * include/stdlib.h: Likewise.
29982 * include/string.h: Likewise.
29983 * include/sys/socket.h: Likewise.
29984 * include/sys/stat.h: Likewise.
29985 * include/sys/statfs.h: Likewise.
29986 * include/sys/statvfs.h: Likewise.
29987 * include/sys/syslog.h: Likewise.
29988 * include/sys/time.h: Likewise.
29989 * include/sys/uio.h: Likewise.
29990 * include/time.h: Likewise.
29991 * include/unistd.h: Likewise.
29992 * include/utmp.h: Likewise.
29993 * include/wchar.h: Likewise.
29994 * include/wctype.h: Likewise.
29995 * inet/aliases.h: Likewise.
29996 * inet/arpa/inet.h: Likewise.
29997 * inet/netinet/ether.h: Likewise.
29998 * inet/netinet/in.h: Likewise.
29999 * intl/libintl.h: Likewise.
30000 * io/bits/fcntl2.h: Likewise.
30001 * io/fcntl.h: Likewise.
30002 * io/ftw.h: Likewise.
30003 * io/sys/poll.h: Likewise.
30004 * io/sys/stat.h: Likewise.
30005 * io/sys/statfs.h: Likewise.
30006 * io/sys/statvfs.h: Likewise.
30007 * io/utime.h: Likewise.
30008 * libio/bits/stdio.h: Likewise.
30009 * libio/bits/stdio2.h: Likewise.
30010 * libio/libio.h: Likewise.
30011 * libio/libioP.h: Likewise.
30012 * libio/stdio.h: Likewise.
30013 * locale/lc-ctype.c: Likewise.
30014 * locale/locale.h: Likewise.
30015 * login/utmp.h: Likewise.
30016 * malloc/arena.c: Likewise.
30017 * malloc/malloc.c: Likewise.
30018 * malloc/malloc.h: Likewise.
30019 * malloc/mcheck.c: Likewise.
30020 * malloc/mtrace.c: Likewise.
30021 * math/bits/mathcalls.h: Likewise.
30022 * math/fenv.h: Likewise.
30023 * math/math_private.h: Likewise.
30024 * misc/bits/error.h: Likewise.
30025 * misc/bits/syslog.h: Likewise.
30026 * misc/err.h: Likewise.
30027 * misc/error.h: Likewise.
30028 * misc/fstab.h: Likewise.
30029 * misc/mntent.h: Likewise.
30030 * misc/regexp.h: Likewise.
30031 * misc/search.h: Likewise.
30032 * misc/sgtty.h: Likewise.
30033 * misc/sys/mman.h: Likewise.
30034 * misc/sys/syslog.h: Likewise.
30035 * misc/sys/uio.h: Likewise.
30036 * misc/sys/xattr.h: Likewise.
30037 * misc/ttyent.h: Likewise.
30038 * nis/rpcsvc/ypclnt.h: Likewise.
30039 * nss/nss.h: Likewise.
30040 * posix/bits/unistd.h: Likewise.
30041 * posix/fnmatch.h: Likewise.
30042 * posix/glob.h: Likewise.
30043 * posix/sched.h: Likewise.
30044 * posix/spawn.h: Likewise.
30045 * posix/sys/wait.h: Likewise.
30046 * posix/unistd.h: Likewise.
30047 * posix/wordexp.h: Likewise.
30048 * pwd/pwd.h: Likewise.
30049 * resolv/netdb.h: Likewise.
30050 * resource/sys/resource.h: Likewise.
30051 * rt/aio.h: Likewise.
30052 * rt/bits/mqueue2.h: Likewise.
30053 * rt/mqueue.h: Likewise.
30054 * shadow/shadow.h: Likewise.
30055 * signal/signal.h: Likewise.
30056 * socket/send.c: Likewise.
30057 * socket/sendto.c: Likewise.
30058 * socket/sys/socket.h: Likewise.
30059 * stdio-common/printf.h: Likewise.
30060 * stdlib/bits/stdlib.h: Likewise.
30061 * stdlib/fmtmsg.h: Likewise.
30062 * stdlib/monetary.h: Likewise.
30063 * stdlib/stdlib.h: Likewise.
30064 * stdlib/ucontext.h: Likewise.
30065 * streams/stropts.h: Likewise.
30066 * string/argz.h: Likewise.
30067 * string/bits/string2.h: Likewise.
30068 * string/string.h: Likewise.
30069 * string/strings.h: Likewise.
30070 * sunrpc/rpc/auth.h: Likewise.
30071 * sunrpc/rpc/auth_des.h: Likewise.
30072 * sunrpc/rpc/clnt.h: Likewise.
30073 * sunrpc/rpc/netdb.h: Likewise.
30074 * sunrpc/rpc/pmap_clnt.h: Likewise.
30075 * sunrpc/rpc/xdr.h: Likewise.
30076 * sysdeps/generic/inttypes.h: Likewise.
30077 * sysdeps/generic/net/if.h: Likewise.
30078 * sysdeps/generic/sys/swap.h: Likewise.
30079 * sysdeps/gnu/net/if.h: Likewise.
30080 * sysdeps/gnu/utmpx.h: Likewise.
30081 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
30082 * sysdeps/i386/i486/bits/string.h: Likewise.
30083 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
30084 * sysdeps/s390/bits/string.h: Likewise.
30085 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
30086 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
30087 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
30088 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
30089 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
30090 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
30091 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
30092 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
30093 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
30094 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30095 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
30096 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
30097 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
30098 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
30099 * sysdeps/unix/sysv/linux/readv.c: Likewise.
30100 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
30101 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
30102 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30103 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
30104 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
30105 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30106 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
30107 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
30108 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
30109 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
30110 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
30111 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
30112 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30113 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
30114 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
30115 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
30116 * sysvipc/sys/ipc.h: Likewise.
30117 * sysvipc/sys/msg.h: Likewise.
30118 * sysvipc/sys/sem.h: Likewise.
30119 * sysvipc/sys/shm.h: Likewise.
30120 * termios/termios.h: Likewise.
30121 * time/sys/time.h: Likewise.
30122 * time/time.h: Likewise.
30123 * wcsmbs/bits/wchar2.h: Likewise.
30124 * wcsmbs/uchar.h: Likewise.
30125 * wcsmbs/wchar.h: Likewise.
30126 * wctype/wctype.h: Likewise.
30127
0269750c
UD
30128 [BZ #13551]
30129 * Makeconfig: Remove all but ELF support including AIX support.
30130 * Makerules: Likewise.
30131 * config.h.in: Likewise.
30132 * config.make.in: Likewise.
30133 * configure: Likewise.
30134 * configure.in: Likewise.
30135 * csu/Makefile: Likewise.
30136 * csu/version.c: Likewise.
30137 * debug/Makefile: Likewise.
30138 * dlfcn/Makefile: Likewise.
30139 * elf/Makefile: Likewise.
30140 * extra-lib.mk: Likewise.
30141 * iconv/Makefile: Likewise.
30142 * include/libc-symbols.h: Likewise.
30143 * include/shlib-compat.h: Likewise.
30144 * resolv/Makefile: Likewise.
30145 * resolv/res_libc.c: Likewise.
30146 * rt/Makefile: Likewise.
30147 * sysdeps/i386/asm-syntax.h: Likewise.
30148 * sysdeps/i386/sysdep.h: Likewise.
30149 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30150 * sysdeps/mach/sysdep.h: Likewise.
30151 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
30152 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
30153 * sysdeps/s390/asm-syntax.h: Likewise.
30154 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30155 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30156 * sysdeps/sh/sysdep.h: Likewise.
30157 * sysdeps/unix/sparc/sysdep.h: Likewise.
30158 * sysdeps/wordsize-32/divdi3.c: Likewise.
30159 * sysdeps/x86_64/sysdep.h: Likewise.
30160
00bbd29b
UD
30161 * argp/Versions: Remove _argp_unlock_xxx.
30162
30163 [BZ #13559]
30164 * abilist/ld.abilist: Update. Adjust for removal of tls option.
30165 * abilist/libBrokenLocale.abilist: Likewise.
30166 * abilist/libanl.abilist: Likewise.
30167 * abilist/libc.abilist: Likewise.
30168 * abilist/libcrypt.abilist: Likewise.
30169 * abilist/libdl.abilist: Likewise.
30170 * abilist/libm.abilist: Likewise.
30171 * abilist/libnsl.abilist: Likewise.
30172 * abilist/libpthread.abilist: Likewise.
30173 * abilist/libresolv.abilist: Likewise.
30174 * abilist/librt.abilist: Likewise.
30175 * abilist/libthread_db.abilist: Likewise.
30176 * abilist/libutil.abilist: Likewise.
30177 * abilist/libnss_db.abilist: New file.
30178
30179 * scripts/abilist.awk: Add support for indirect functions.
30180
a2693a0e
UD
30181 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
30182
3f05895f
UD
30183 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
30184
ecb6fb48
UD
30185 * shlib-versions: Remove entries for ports architectures.
30186
664f8cb9
UD
30187 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
30188 files in ports.
30189 * elf/stackguard-macros.h: Remove support for IA-64.
30190 * elf/tst-auditmod1.c: Likewise.
30191 * sysdeps/generic/ldsodefs.h: Likewise.
30192
7ae81d88
UD
30193 * sysdeps/unix/sysv/linux/configure.in: Ports should define
30194 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
30195 configure files.
30196
bdeba135
UD
30197 [BZ #13552]
30198 * configure.in: Remove --enable-omitfp support.
30199 * FAQ.in: Adjust.
30200 * config.make.in: Likewise.
30201 * Makeconfig: Likewise.
30202 * manual/install.texi: Likewise.
30203
d75a0a62
UD
30204 In case anyone cares, the IA-64 architecture could move to ports.
30205 * sysdeps/ia64/*: Removed.
30206 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 30207 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 30208
dcc9756b
UD
30209 [BZ #13555]
30210 * configure.in: Remove entries for unsupported architectures.
30211
d3761ebc 30212 [BZ #13533]
9954432e
UD
30213 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
30214 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
30215 routines.
30216 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
30217 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
30218 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
30219 fall back to using wcrtomb.
30220 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
30221 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
30222 renaming.
30223 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
30224 * wcsmbs/tst-c16c32-1.c: New file.
30225
30226 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
30227 local variable.
30228
c3a87236
UD
30229 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
30230
28926a1b
UD
30231 * elf/tst-unique3.cc: Add explicit declaration of gets.
30232 * elf/tst-unique3lib.cc: Likewise.
30233 * elf/tst-unique3lib2.cc: Likewise.
30234 * elf/tst-unique4.cc: Likewise.
30235
df78418a
UD
30236 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
30237
8ecd6b2a
JM
302382012-01-06 Joseph Myers <joseph@codesourcery.com>
30239
30240 [BZ #13566]
30241 * assert/assert.h (static_assert): Don't define for C++.
30242 * libio/stdio.h (gets): Do declare for C++ <= C++11.
30243 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
30244
9f115170
UD
302452012-01-03 Ulrich Drepper <drepper@gmail.com>
30246
5e0d0300
UD
30247 * iconv/loop.c (single loop): Fix assertion in storing of
30248 remaining bytes.
30249
9f115170
UD
30250 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
30251
81fb02b0
UD
302522012-01-01 Ulrich Drepper <drepper@gmail.com>
30253
30254 * posix/getconf.c: Update copyright year.
30255 * nss/getent.c: Likewise.
a316c1f6 30256 * nss/makedb.c: Likewise.
81fb02b0
UD
30257 * iconv/iconvconfig.c: Likewise.
30258 * iconv/iconv_prog.c: Likewise.
30259 * elf/ldconfig.c: Likewise.
a316c1f6
UD
30260 * elf/pldd.c: Likewise.
30261 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
30262 * catgets/gencat.c: Likewise.
30263 * csu/version.c: Likewise.
30264 * elf/ldd.bash.in: Likewise.
30265 * elf/sprof.c (print_version): Likewise.
30266 * locale/programs/locale.c: Likewise.
30267 * locale/programs/localedef.c: Likewise.
a316c1f6 30268 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
30269 * nscd/nscd.c (print_version): Likewise.
30270 * debug/xtrace.sh: Likewise.
30271 * malloc/memusage.sh: Likewise.
30272 * malloc/mtrace.pl: Likewise.
30273 * debug/catchsegv.sh: Likewise.
30274
2ba92745
JJ
302752011-12-30 Jakub Jelinek <jakub@redhat.com>
30276
30277 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
30278 pure attribute.
30279
dadebdae
UD
302802011-12-24 Ulrich Drepper <drepper@gmail.com>
30281
d3761ebc 30282 [BZ #13533]
db6af3eb
UD
30283 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
30284 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
30285 transformations.
30286 * iconv/gconv_int.h: Likewise.
30287 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
30288 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
30289 from libc for GLIBC_2.16.
30290 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
30291 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
30292 * wcsmbs/uchar.h: Really define mbstate_t.
30293 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
30294 * wcsmbs/c16rtomb.c: New file.
30295 * wcsmbs/mbrtoc16.c: New file.
30296 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
30297 for C/POSIX locale.
30298 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
30299 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
30300
dadebdae
UD
30301 * wcsmbs/wchar.h: Add missing __restrict.
30302
67371b56
UD
303032011-12-23 Ulrich Drepper <drepper@gmail.com>
30304
74033a25
UD
30305 [BZ #13532]
30306 * time/Makefile (routines): Add timespec_get.
30307 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
30308 * time/time.h: Define TIME_UTC and declare timespec_get. Define
30309 timespec for ISO C11.
30310 * time/timespec_get.c: New file.
30311 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
30312 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
30313
380d7e87
UD
30314 [BZ #13531]
30315 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
30316 * stdlib/stdlib.h: Declare aligned_alloc.
30317 * Versions.def: Add GLIBC_2.16 for libc.
30318 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
30319
4e9e7a35
UD
30320 [BZ 13527]
30321 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
30322 ISO C11.
30323
380d7e87 30324 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
30325 code.
30326
03a71829
UD
30327 [BZ #13528]
30328 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
30329
839e283e
UD
30330 [BZ #13529]
30331 * assert/assert.h (static_assert): Define.
30332
ce5294e2 30333 * version.h: Update for 2.16 development version.
90fa7312 30334
8d44e150 30335 [BZ #13526]
d7809905
UD
30336 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
30337 _ISOC11_SOURCE.
30338
c0da14cd
UD
30339 * version.h (RELEASE): Bump for 2.15 release.
30340 * include/features.h (__GLIBC_MINOR__): Bump to 15.
30341
530a3249
MP
30342 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
30343 Patch by Marek Polacek <mpolacek@redhat.com>.
30344
67371b56
UD
30345 * bits/byteswap.h: Protect long long constants with __extension__.
30346 * sysdeps/i386/bits/byteswap.h: Likewise.
30347 * sysdeps/ia64/bits/byteswap.h: Likewise.
30348 * sysdeps/s390/bits/byteswap.h: Likewise.
30349 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30350
15db4de1
LD
303512011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30352
30353 [BZ #13540]
bbe315ea
LD
30354 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
30355 destination buffer.
15db4de1
LD
30356 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
30357
2b2596b1
MP
303582011-12-23 Marek Polacek <polacek@redhat.com>
30359
30360 * elf/dl-addr.c (determine_info): Add inline keyword.
30361 * elf/tst-auditmod4b.c (check_avx): Likewise.
30362 * elf/tst-auditmod6b.c (check_avx): Likewise.
30363 * elf/tst-auditmod6c.c (check_avx): Likewise.
30364 * elf/tst-auditmod7b.c (check_avx): Likewise.
30365
70c6c246
UD
303662011-12-23 Ulrich Drepper <drepper@gmail.com>
30367
30368 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
30369 !__SSE_MATH__.
30370
c044cf14
LD
303712011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30372
15db4de1 30373 [BZ #13540]
c044cf14
LD
30374 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
30375 processing for last bytes.
30376
6b13d9d9
BH
303772011-08-06 Bruno Haible <bruno@clisp.org>
30378
d455f537
BH
30379 [BZ #13061]
30380 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
30381 U+0385, not to U+1FEE.
30382
6b13d9d9
BH
30383 [BZ #13062]
30384 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
30385 entry for U+00A5 U+0301.
30386
db910efd
UD
303872011-12-22 Ulrich Drepper <drepper@gmail.com>
30388
27deeafc
UD
30389 [BZ #13166]
30390 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
30391 buffer for the output is too small.
30392
aed9d171
UD
30393 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
30394 optimization.
30395
db910efd
UD
30396 [BZ #13185]
30397 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
30398 SSE flags if possible.
30399
2bd779ae
LD
304002011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30401
e7f9dac3 30402 [BZ #13540]
2bd779ae
LD
30403 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
30404 processing for last bytes.
30405
154bfc16
JM
304062011-12-22 Joseph Myers <joseph@codesourcery.com>
30407
30408 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
30409 (syscall-list-default-options, syscall-list-default-condition)
30410 (syscall-list-includes): Define.
30411 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
30412 list of ABIs and options and #if conditions for each ABI. Do not
30413 handle common syscalls between ABIs specially.
30414 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
30415 Remove.
30416 (syscall-list-variants, syscall-list-32bit-options)
30417 (syscall-list-32bit-condition, syscall-list-64bit-options)
30418 (syscall-list-64bit-condition): Define.
30419 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
30420 (syscall-list-variants, syscall-list-32bit-options)
30421 (syscall-list-32bit-condition, syscall-list-64bit-options)
30422 (syscall-list-64bit-condition): Define.
30423 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
30424 Remove.
30425 (syscall-list-variants, syscall-list-32bit-options)
30426 (syscall-list-32bit-condition, syscall-list-64bit-options)
30427 (syscall-list-64bit-condition): Define.
30428 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
30429 Remove.
30430 (syscall-list-variants, syscall-list-32bit-options)
30431 (syscall-list-32bit-condition, syscall-list-64bit-options)
30432 (syscall-list-64bit-condition): Define.
30433
21eaf3a5
UD
304342011-12-22 Ulrich Drepper <drepper@gmail.com>
30435
16c6f992
UD
30436 * locale/iso-639.def: Add brx entry.
30437
41043168
UD
30438 [BZ #13328]
30439 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
30440 Proposed by Mariusz_Cukr <marcukr@op.pl>.
30441
21eaf3a5
UD
30442 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
30443 __feraiseexcept_renamed.
30444
e3a851a2
UD
304452011-12-21 Ulrich Drepper <drepper@gmail.com>
30446
4920765e
UD
30447 [BZ #13538]
30448 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
30449 EPOLLET with unsigned values.
30450 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30451 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30452
e3a851a2
UD
30453 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
30454 to large cancellation.
30455 * math/s_cacoshf.c: Likewise.
30456 * math/s_cacoshl.c: Likewise.
30457
b27e24b8
RK
304582011-11-18 Richard B. Kreckel <kreckel@ginac.de>
30459
30460 [BZ #13305]
aebefeee 30461 [BZ #12786]
b27e24b8
RK
30462 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
30463 * math/s_cacoshf.c: Likewise.
30464 * math/s_cacoshl.c: Likewise.
30465
ee190f67
UD
304662011-12-21 Ulrich Drepper <drepper@gmail.com>
30467
30468 [BZ #13439]
30469 * iconv/gconv.h: Define __GCONV_SWAP.
30470 * iconvdata/unicode.c: The swap bit must be stored in __flags.
30471 * iconvdata/utf-16.c: Likewise.
30472 * iconvdata/utf-32.c: Likewise.
30473
707f25df
AS
304742011-12-21 Andreas Schwab <schwab@linux-m68k.org>
30475
30476 [BZ #13524]
30477 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
30478 numerator after shifting it by one limb.
30479
d2daaa1e
RÁE
304802011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
30481
30482 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
30483 under [__USE_EXTERN_INLINES].
30484
a4647e72
UD
304852011-12-17 Ulrich Drepper <drepper@gmail.com>
30486
30487 [BZ #13446]
30488 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
30489
f0b264f1
AZ
304902011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30491
30492 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
30493 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
30494 optimized code.
30495 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
30496 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
30497 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
30498 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
30499 for strncasecmp/strncasecmp_l compilation.
30500 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
30501 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
30502
8ef4f244
MP
305032011-12-08 Marek Polacek <mpolacek@redhat.com>
30504
30505 [BZ #13484]
30506 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
30507 of __asm__.
30508
97ac2654
UD
305092011-12-17 Ulrich Drepper <drepper@gmail.com>
30510
30511 [BZ #13506]
30512 * time/tzfile.c (__tzfile_read): Check values from file header.
30513
91d2a845
WS
305142011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30515
30516 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
30517 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
30518 * powerpc/powerpc32/dl-start.S: Likewise.
30519 * powerpc/powerpc32/elf/start.S: Likewise.
30520 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30521 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
30522 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
30523 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
30524 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30525 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
30526 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
30527 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30528 * powerpc/powerpc32/fpu/s_round.S: Likewise.
30529 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
30530 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
30531 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
30532 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
30533 * powerpc/powerpc32/memset.S: Likewise.
30534 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30535 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30536 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30537 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30538 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30539 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30540 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30541 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30542 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
30543 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
30544 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
30545 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30546 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30547
a1267ba1
AZ
305482011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30549
30550 * math/libm-test.inc: Added more nearbyint tests.
30551 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
30552 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
30553 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
30554 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
30555
ad8ac1bd
RL
305562011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
30557
30558 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
30559 FD_CLOEXEC.
30560
1d3e4b61
UD
305612011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30562
30563 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
30564 Add wcscpy-ssse3 wcscpy-c.
30565 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
30566 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
30567 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
30568 * sysdeps/x86_64/wcschr.S: New file.
30569 * sysdeps/x86_64/wcsrchr.S: New file.
30570 * string/test-strcmp.c: Remove checking of wcscmp function for
30571 wrong alignments.
30572 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
30573 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
30574 wcsrchr-sse2 wcsrchr-c.
30575 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
30576 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
30577 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
30578 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
30579 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
30580 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
30581 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
30582 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
30583 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
30584 * wcsmbc/wcschr.c (WCSCHR): New macro.
30585
5b330a2d
UD
305862011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30587
30588 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
30589 * wcsmbs/test-wcsrchr.c: New file.
30590 * string/test-strrchr.c: Add wcsrchr support.
30591 (WIDE): New macro.
30592 * wcsmbs/test-wcscpy.c: New file.
30593 * string/test-strcpy.c: Add wcscpy support.
30594 (WIDE): New macro.
26428b7c 30595
f039c043
UD
305962011-12-10 Ulrich Drepper <drepper@gmail.com>
30597
30598 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
30599 the inner loop.
30600
850fb039
AS
306012011-12-06 Andreas Schwab <schwab@linux-m68k.org>
30602
30603 [BZ #13472]
30604 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
30605
4efbd5cb
UD
306062011-12-04 Ulrich Drepper <drepper@gmail.com>
30607
52ff5dd0 30608 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 30609 Minor optimizations.
52ff5dd0 30610
4efbd5cb
UD
30611 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
30612 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
30613 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
30614
8a426e12
UD
306152011-12-03 Ulrich Drepper <drepper@gmail.com>
30616
aff2453d
UD
30617 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
30618 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
30619 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
30620 for gcc to avoid warnings.
30621 * inet/Makefile (tests): Add tst-checks.
30622 * inet/tst-checks.c: New file.
30623
30624 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
30625 warning.
30626
30627 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
30628 __wmemcmp_sse2.
30629
30630 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
30631 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
30632
8a426e12
UD
30633 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
30634
9bea3473
UD
306352011-12-02 Ulrich Drepper <drepper@gmail.com>
30636
3a965496
UD
30637 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
30638 problem.
30639
9bea3473
UD
30640 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
30641
f101631b
UD
306422011-11-29 Joseph Myers <joseph@codesourcery.com>
30643
30644 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
30645 conditional on GCC version.
30646 (__arch_compare_and_exchange_val_8_acq)
30647 (__arch_compare_and_exchange_val_16_acq)
30648 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
30649 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
30650 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
30651
a98275aa
UD
306522011-12-02 Joseph Myers <joseph@codesourcery.com>
30653
30654 * sysdeps/sh/backtrace.c: New file.
30655
d4cc29a2
AS
306562011-12-02 Andreas Schwab <schwab@redhat.com>
30657
30658 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
30659 parenthesis.
30660
6257af2d
AS
306612011-12-01 Andreas Schwab <schwab@redhat.com>
30662
30663 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
30664 falling back to utime.
30665
b5f44c1a
AS
306662011-11-30 Andreas Schwab <schwab@redhat.com>
30667
30668 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
30669 expectations for float.
30670
f3a6cc0a
AS
306712011-11-29 Andreas Schwab <schwab@redhat.com>
30672
30673 * locale/weight.h (findidx): Add parameter len.
30674 * locale/weightwc.h (findidx): Likewise.
30675 * posix/fnmatch_loop.c (FCT): Adjust caller.
30676 * posix/regcomp.c (build_equiv_class): Likewise.
30677 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
30678 * posix/regexec.c (check_node_accept_bytes): Likewise.
30679 * string/strcoll_l.c (STRCOLL): Likewise.
30680 * string/strxfrm_l.c (STRXFRM): Likewise.
30681
9d65ea3a
UD
306822011-11-17 Ulrich Drepper <drepper@gmail.com>
30683
30684 * Makefile.in: Remove CVSOPT handling.
30685 * configure.in: Remove use of AC_REVISION.
30686 * iconvdata/Makefile (distribute): No need to filter out CVS.
30687 * scripts/list-sources.sh: Remove CVS, subversion and monotone
30688 handling.
30689
5583a086
AS
306902011-11-16 Andreas Schwab <schwab@redhat.com>
30691
30692 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
30693 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
30694 [USE_AS_STRNCASECMP_L]: Likewise.
30695 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
30696 NO_TLS_DIRECT_SEG_REFS.
30697 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
30698 Fix argument offsets for non-PIC.
30699 [USE_AS_STRNCASECMP_L]: Likewise.
30700 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
30701 NO_TLS_DIRECT_SEG_REFS.
30702
d62a8200
UD
307032011-11-15 Ulrich Drepper <drepper@gmail.com>
30704
9d65ea3a 30705 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
30706 O_CLOEXEC.
30707 * locale/loadlocale.c (_nl_load_locale): Likewise.
30708
09f93bd3
AS
307092011-11-15 Andreas Schwab <schwab@redhat.com>
30710
446514f9
AS
30711 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
30712 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
30713 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
30714 (SYSCALL_GETTIME): Set errno on error.
30715
09f93bd3
AS
30716 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
30717 count references to noai6ai_cached.
30718
312be3f9
UD
307192011-11-15 Ulrich Drepper <drepper@gmail.com>
30720
30721 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
30722
30723 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
30724 FD_CLOEXEC for /proc/self/maps.
30725
30726 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
30727 FD_CLOEXEC for /proc/meminfo.
30728
30729 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
30730 gai.conf.
30731
30732 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
30733 FD_CLOEXEC for given file.
30734
30735 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
30736
30737 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
30738 FD_CLOEXEC for /etc/hosts.
30739 (_gethtent): Likewise.
30740
30741 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
30742
30743 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
30744 cancellation and set FD_CLOEXEC for /etc/netgroup.
30745
30746 * nss/nss_files/files-key.c (search): Don't allow cancellation when
30747 reading /etc/publickey.
30748
30749 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
30750 allow cancellation when reading /etc/group.
30751
30752 * nss/nss_files/files-alias.c (internal_setent): Don't allow
30753 cancellation.
30754 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
30755
30756 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
30757 when using data file.
30758
30759 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
30760
30761 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
30762 (write_nis_obj): Use "c" and "e" in fopen.
30763
30764 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
30765
30766 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
30767
30768 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
30769
30770 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
30771
30772 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
30773 locale.alias.
30774
30775 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
30776
30777 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
30778
30779 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
30780
30781 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
30782 file parsing and set FD_CLOEXEC.
30783
82af0fa8
UD
307842011-11-14 Ulrich Drepper <drepper@gmail.com>
30785
30786 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
30787
a5fb313c
AS
307882011-11-14 Andreas Schwab <schwab@redhat.com>
30789
30790 * malloc/arena.c (arena_get2): Don't call reused_arena when
30791 _int_new_arena failed.
30792
6abf3465
UD
307932011-11-14 Ulrich Drepper <drepper@gmail.com>
30794
30795 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
30796 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
30797 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
30798 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30799 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30800 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
30801 to compile strcasecmp and strncasecmp.
30802 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
30803 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
30804
30805 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
30806
76e3966e
UD
308072011-11-13 Ulrich Drepper <drepper@gmail.com>
30808
30809 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
30810 locale-defines.sym to gen-as-const-headers.
30811 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
30812 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
30813 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
30814 to compile strcasecmp and strncasecmp.
30815 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
30816 strcasecmp_l and strncasecmp_l.
30817 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
30818 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
30819 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
30820 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
30821 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
30822 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
30823 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
30824 * sysdeps/i386/i686/multiarch/strncase.S: New file.
30825 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
30826 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
30827 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
30828
ab26144e
UD
308292011-11-12 Ulrich Drepper <drepper@gmail.com>
30830
7edb22ef
UD
30831 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
30832 result of SYSDEP_GETTIME_CPU to retval.
30833 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
30834 parameter list to macro. Remove trailing semicolon. Adjust users.
30835
9694fc44
UD
30836 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
30837 variable.
30838
8ad89ef8
UD
30839 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
30840 mantissa words.
30841 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
30842
0c822ef9
UD
30843 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
30844 from unused variable.
30845
874e0564
UD
30846 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
30847 DWARF definitions.
30848 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
30849 for assembling.
30850
3a2edc79
UD
30851 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
30852 over namespaces.
30853
f3c2577f
UD
30854 * sunrpc/rpc_prot.c (rejected): Fix case value.
30855
294ce126
UD
30856 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
30857 unsigned long long int to avoid warnings in shift.
30858
5e2b63c6
UD
30859 * posix/regex_internal.c (re_string_reconstruct): Actually use result
30860 of use of trans.
30861 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
30862 variable tmp.
30863
e7f4b08e
UD
30864 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
30865 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
30866 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
30867
ab26144e
UD
30868 * nis/nis_table.c (nis_list): Use variable of correct type for
30869 result of __follow_path call.
30870
8a6d5255
AZ
308712011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30872
30873 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
30874 of math functions ceil, trunc, floor, round, and sqrt, when
30875 avaliable on the platform.
30876 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
30877 name clash.
30878 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30879 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30880 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30881
aaddc98c
MP
308822011-10-30 Marek Polacek <mpolacek@redhat.com>
30883
30884 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
30885 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30886
95b7042b
RM
308872011-11-11 Roland McGrath <roland@hack.frob.com>
30888
30889 * include/unistd.h: Fix __readlink return type.
30890 Reported by Chris Metcalf <cmetcalf@tilera.com>.
30891
57769839
UD
308922011-11-11 Ulrich Drepper <drepper@gmail.com>
30893
30894 * stdlib/ucontext.h: Undo last change for makecontext.
30895
edc5984d
AS
308962011-11-11 Andreas Schwab <schwab@redhat.com>
30897
98591e58
AS
30898 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
30899
edc5984d
AS
30900 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
30901 * setjmp/setjmp.h: Mark functions as non-leaf.
30902 * setjmp/bits/setjmp2.h: Likewise.
30903 * stdlib/ucontext.h: Likewise.
30904
77cdc054
AS
309052011-11-10 Andreas Schwab <schwab@redhat.com>
30906
30907 * malloc/arena.c (_int_new_arena): Don't increment narenas.
30908 (reused_arena): Don't check arena limit.
30909 (arena_get2): Atomically check arena limit.
30910
fe72eebd
UD
309112011-11-08 Ulrich Drepper <drepper@gmail.com>
30912
5f078c32
UD
30913 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
30914 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
30915
fe72eebd
UD
30916 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
30917 instructions.
30918
ae1bc2fa
AS
309192011-11-07 Andreas Schwab <schwab@redhat.com>
30920
7583a88d
AS
30921 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
30922 handler when locking.
30923
ae1bc2fa
AS
30924 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30925 Fix size of allocated buffer.
30926
10fb0bfa
AS
309272011-11-04 Andreas Schwab <schwab@redhat.com>
30928
998832a4
AS
30929 [BZ #10103]
30930 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
30931 declarations for long double functions.
30932 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
30933
10fb0bfa
AS
30934 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
30935
3d7ba52b
AS
309362011-11-03 Andreas Schwab <schwab@redhat.com>
30937
a9ae54a1
AS
30938 * nscd/nscd.c (main): Don't start AVC thread until credentials are
30939 installed.
30940
3d7ba52b
AS
30941 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
30942 is disabled.
30943
bc8db248
ST
309442011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
30945
30946 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
30947
45b96dd6
AS
309482011-11-01 Andreas Schwab <schwab@linux-m68k.org>
30949
647776f6
AS
30950 * include/alloca.h (stackinfo_alloca_round): Define.
30951 (extend_alloca): Use it.
30952 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
30953 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
30954 here.
30955
d91a8b93
AS
30956 * scripts/check-local-headers.sh: Ignore libaudit.h.
30957
45b96dd6
AS
30958 * nscd/Makefile (extra-objs): Make recursively expanded.
30959
432d41ce
UD
309602011-11-01 Ulrich Drepper <drepper@gmail.com>
30961
34372fc6
UD
30962 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
30963 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
30964
fadb59f8
UD
30965 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
30966 * posix/tst-rfc3484-2.c: Likewise.
30967 * posix/tst-rfc3484-3.c: Likewise.
30968
78239589
UD
30969 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30970 process_vm_writev.
30971 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
30972 process_vm_writev.
30973 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
30974 process_vm_writev from libc using GLIBC_2.15 version.
30975
432d41ce
UD
30976 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
30977
02f9c6cf
PP
309782011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
30979
30980 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
30981 stack usage.
30982
3a2c0242
UD
309832011-10-31 Ulrich Drepper <drepper@gmail.com>
30984
f4ec4833
UD
30985 [BZ #13367]
30986 * nss/getent.c (initgroups_keys): Show error message in case no group
30987 names are given.
30988
3a2c0242
UD
30989 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
30990 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
30991 __bump_nl_timestamp.
30992 * nscd/connections (nscd_init): When host database is served open
30993 netlink socket and request notification about configuration changes.
30994 (main_loop_poll): Track netlink file descriptor and bump timestamp
30995 in case data becomes available.
30996 (main_loop_epoll): Likewise.
30997 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
30998 (database_pers_head): Add extra_data fileds.
30999 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
31000 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
31001 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
31002 Adjust caller.
31003 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
31004 in6ai data, call __free_in6ai.
31005 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
31006 Add -DHAVE_NETLINK.
31007 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
31008 interface information. Reuse previous data if netlink timestamp
31009 is not changed.
31010 (__bump_nl_timestamp): New function.
31011 (__free_in6ai): New function.
31012
636064eb
UD
310132011-10-30 Ulrich Drepper <drepper@gmail.com>
31014
31015 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
31016 close_not_cancel_no_status here.
31017 (__check_pf): Reorganize code a bit to not call close twice if OOM.
31018
9beb2334
UD
310192011-10-29 Ulrich Drepper <drepper@gmail.com>
31020
6ef76f3b
UD
31021 [BZ #13276]
31022 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
31023 return value.
31024
0ffc4f3e 31025 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
31026 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
31027 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
31028
cb95113e
UD
310292011-07-03 Andreas Jaeger <aj@suse.de>
31030
31031 [BZ #10709]
31032 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
31033 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
31034 * math/libm-test.inc (sin_test): Add test case.
31035
a1b560ff
UD
310362011-10-29 Ulrich Drepper <drepper@gmail.com>
31037
c9aaface
UD
31038 [BZ #13337]
31039 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
31040 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31041
d272e7f1
UD
31042 * elf/chroot_canon.c (chroot_canon): Cleanups.
31043
1bc33071
UD
31044 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
31045
1760874d
TJ
31046 [BZ #13335]
31047 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
31048 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31049
51d91b18
UD
31050 * string/test-strchr.c: Make usable for strchrnul testing.
31051 * string/test-strchrnul.c: New file.
31052 * string/Makefile (strop-tests): Add strchrnul.
31053
a1b560ff 31054 * po/it.po: Update from translation team.
b611fb81 31055 * po/es.po: Likewise.
a1b560ff 31056
a5b81e1f
UD
310572011-10-28 Ulrich Drepper <drepper@gmail.com>
31058
fd52bc6d
UD
31059 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
31060 the three constants needed as parameters. Drop the others.
31061 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
31062 __m128i_strloadu_tolower.
52e4b9eb
UD
31063 Create and initialize variable zero and use it in all the places
31064 where _mm_setzero_si128 was used.
fd52bc6d 31065
a5b81e1f
UD
31066 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
31067 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
31068 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
31069 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
31070 anymore.
31071 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
31072 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
31073 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
31074 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
31075 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
31076 __mpranred, __mptan.
31077 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
31078 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
31079 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
31080 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
31081 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
31082 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
31083 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
31084 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
31085 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
31086
b4343346
AS
310872011-10-28 Andreas Schwab <schwab@redhat.com>
31088
0c92d8a8
AS
31089 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
31090 redefine if SHARED.
31091 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
31092
b4343346
AS
31093 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
31094 wide char related routines to wcsmbs subdir.
31095
3871f58f
AS
310962011-10-27 Andreas Schwab <schwab@redhat.com>
31097
31098 [BZ #13344]
31099 * misc/sys/cdefs.h (__THROWNL): Define.
31100 * posix/unistd.h: Use __THREADNL instead of __THREAD
31101 for memory synchronization functions.
31102
94d44d9f
RM
311032011-10-26 Roland McGrath <roland@hack.frob.com>
31104
21b64b15 31105 [BZ #13349]
94d44d9f
RM
31106 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
31107 doesn't exist.
31108 * manual/stdio.texi (Obstack Streams): Node removed.
31109
f6ce9294
AS
311102011-10-26 Andreas Schwab <schwab@redhat.com>
31111
80479147
AS
31112 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
31113 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31114 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31115
f6ce9294
AS
31116 * math/math_private.h (math_force_eval): Allow non-addressable
31117 arguments.
31118 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
31119
618280a1
UD
311202011-10-25 Ulrich Drepper <drepper@gmail.com>
31121
e0016b11
UD
31122 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
31123 file is not needed.
31124
31125 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
31126 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31127 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31128 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31129 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31130 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31131 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31132 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
31133 Add AVX variants.
31134 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
31135 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
31136 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
31137 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
31138 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
31139 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
31140 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
31141 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
31142 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
31143 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
31144 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
31145 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
31146 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
31147 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
31148 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
31149 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
31150 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
31151 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
31152 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
31153
31154 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
31155 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
31156
618280a1
UD
31157 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
31158 place. Use VEX encoding when compiling for AVX.
31159
37822576
AS
311602011-10-25 Andreas Schwab <schwab@redhat.com>
31161
1f1e1947
AS
31162 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
31163 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31164
37822576
AS
31165 * string/test-strchr.c (do_test): Don't generate NUL bytes.
31166
31ea014d
UD
311672011-10-25 Ulrich Drepper <drepper@gmail.com>
31168
d7826aa1 31169 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 31170 useless if() expression.
d7826aa1
UD
31171 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31172 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31173 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31174 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31175 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31176 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31177 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31178 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31179 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31180 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31181 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31182 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31183 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
31184 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31185 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
31186 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31187 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31188 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31189 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
31190
31ea014d
UD
31191 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
31192
16437fec
AS
311932011-10-25 Andreas Schwab <schwab@redhat.com>
31194
31195 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
31196 condition.
31197 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31198
31d3cc00
UD
311992011-10-25 Ulrich Drepper <drepper@gmail.com>
31200
31201 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
31202 .text section. Avoid duplicate constants.
31203 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31204 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31205 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31206 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31207 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31208 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31209 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31210 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31211 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31212 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
31213 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31214 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31215 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31216 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31217 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31218 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31219 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31220 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31221 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31222 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31223 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31224 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31225 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31226 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
31227 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
31228 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
31229 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
31230 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
31231 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
31232 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
31233 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
31234 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
31235 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31236 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
31237 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
31238 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
31239 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
31240 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
31241 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
31242 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
31243 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
31244 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
31245 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
31246 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
31247 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
31248
58985aa9
UD
312492011-10-24 Ulrich Drepper <drepper@gmail.com>
31250
202c9deb
UD
31251 * sysdeps/x86_64/dla.h: Move to ...
31252 * sysdeps/x86_64/fpu/dla.h: ...here.
31253 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
31254 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 31255
af968f62
UD
31256 * config.make.in: Add have-mfma4 entry.
31257 * configure.in: Substitute libc_cv_cc_fma4.
31258 * math/Makefile (dbl-only-routines): Add sincostab.
31259 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
31260 Use __sincostab not sincos.
31261 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
31262 name is a macro.
31263 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31264 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31265 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31266 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
31267 using __copysign.
31268 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
31269 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
31270 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
31271 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
31272 and __inv.
31273 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
31274 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
31275 __copysign.
31276 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
31277 define aliases when function name is a macro.
31278 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
31279 sysdeps/ieee754/dbl-64/sincos.tbl.
31280 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
31281 fma4-enabled routines.
31282 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
31283 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
31284 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
31285 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
31286 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
31287 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
31288 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
31289 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
31290 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
31291 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
31292 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
31293 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
31294 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
31295 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
31296 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
31297 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
31298 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
31299 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
31300 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
31301 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
31302 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
31303 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
31304 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
31305 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
31306 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
31307 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
31308 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
31309 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
31310 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
31311 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
31312
58985aa9
UD
31313 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
31314 rename.
31315 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31316 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31317 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31318 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31319 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31320 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31321 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31322 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31323
a201fbcf
AS
313242011-10-24 Andreas Schwab <schwab@redhat.com>
31325
31326 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
31327
fc2ee42a
LD
313282011-10-23 Ulrich Drepper <drepper@gmail.com>
31329
bb3129bd
UD
31330 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
31331
0275fff8
UD
31332 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
31333 prediction.
31334 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
31335
2fa2ae85
UD
31336 * string/strnlen.c: Don't define STRNLEN, reverse logic.
31337 Remove unused variable magic_bits.
31338 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
31339
fc2ee42a
LD
31340 * string/strnlen.c: Define and use STRNLEN macro.
31341 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
31342 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
31343 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
31344 * wcsmbs/wcslen.c: Define and use WCSLEN.
31345 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
31346 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
31347 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
31348 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
31349 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
31350 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
31351 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31352
ce7dd29f
LD
313532011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31354
31355 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31356 strnlen-sse2-no-bsf.
31357 Rename strlen-no-bsf to strlen-sse2-no-bsf.
31358 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
31359 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
31360 Add strnlen support.
31361 (USE_AS_STRNLEN): New macro.
31362 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
31363 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
31364 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
31365 * sysdeps/x86_64/wcslen.S: New file.
31366
979c70a3
MZ
313672011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
31368
31369 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31370 XMM-moves are used for copying on small sizes.
31371
2d09f82f
LD
313722011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31373
31374 * wcsmbs/Makefile (strop-tests): Add wcschr.
31375 * wcsmbs/test-wcschr.c: New file.
31376 * string/test-strchr.c: Update.
31377 Add wcschr support.
31378 (WIDE): New macro.
31379
619fccca
LD
313802011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31381
2d09f82f 31382 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
31383 * wcsmbs/test-wcslen.c: New file.
31384 * string/test-strlen.c: Update.
31385 Add wcslen support.
31386 (WIDE): New macro.
31387
09f699ea
UD
313882011-10-23 Ulrich Drepper <drepper@gmail.com>
31389
31390 * po/it.po: Update from translation team.
31391
95584d3b
LD
313922011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31393
31394 * sysdeps/x86_64/wcscmp.S: Update.
31395 Fix wrong comparison semantics.
31396 wcscmp shall use signed comparison not unsigned.
31397 Don't use substraction to avoid overflow bug.
31398 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
31399 * wcsmbc/wcscmp.c: Likewise.
31400 * string/test-strcmp.c: Likewise.
31401 Add new tests to check cases with negative values.
31402
c8b3296b
UD
314032011-10-23 Ulrich Drepper <drepper@gmail.com>
31404
31405 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
31406 * sysdeps/x86_64/dla.h: ...here. New file.
31407 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
31408 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31409 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31410 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31411 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31412 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31413 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31414 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31415 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31416
246ad57a
AS
314172011-10-23 Andreas Schwab <schwab@linux-m68k.org>
31418
31419 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
31420 __ynl_finite aliases.
31421
a1a87169
UD
314222011-10-22 Ulrich Drepper <drepper@gmail.com>
31423
0d355eb7
UD
31424 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31425
a1a87169
UD
31426 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
31427 define DLA_FMA.
31428 [DLA_FMA] (EMULV): Use DLA_FMA.
31429 [DLA_FMA] (MUL12): Use EMULV.
31430 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
31431 that are not needed.
31432 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31433 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31434 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31435 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31436 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31437 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31438 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31439
ee2aafe0
AS
314402011-10-22 Andreas Schwab <schwab@linux-m68k.org>
31441
31442 * math/s_nan.c: Undef __nan.
31443 * math/s_nanf.c: Undef __nanf.
31444 * math/s_nanl.c: Undef __nanl.
31445 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
31446 "math_private.h".
31447
bc62c2fb
UD
314482011-10-22 Ulrich Drepper <drepper@gmail.com>
31449
77425c63
UD
31450 * math/s_catan.c: Add branch predictions.
31451 * math/s_catanf.c: Likewise.
31452 * math/s_catanh.c: Likewise.
31453 * math/s_catanhf.c: Likewise.
31454 * math/s_catanhl.c: Likewise.
31455 * math/s_catanl.c: Likewise.
31456 * math/s_cexp.c: Likewise.
31457 * math/s_cexpf.c: Likewise.
31458 * math/s_cexpl.c: Likewise.
31459 * math/s_clog.c: Likewise.
31460 * math/s_clog10.c: Likewise.
31461 * math/s_clog10f.c: Likewise.
31462 * math/s_clog10l.c: Likewise.
31463 * math/s_clogf.c: Likewise.
31464 * math/s_clogl.c: Likewise.
31465 * math/s_csqrt.c: Likewise.
31466 * math/s_csqrtf.c: Likewise.
31467 * math/s_csqrtl.c: Likewise.
31468 * math/s_ctanf.c: Likewise.
31469 * math/s_ctanh.c: Likewise.
31470 * math/s_ctanhf.c: Likewise.
31471 * math/s_ctanhl.c: Likewise.
31472 * math/s_ctanl.c: Likewise.
31473
bc62c2fb
UD
31474 * math/math_private.h: Define __nan, __nanf, __nanl.
31475 * math/s_cacosh.c: Include <math_private.h>.
31476 * math/s_cacoshl.c: Likewise.
31477 * math/s_casinh.c: Likewise.
31478 * math/s_casinhf.c: Likewise.
31479 * math/s_casinhl.c: Likewise.
31480 * math/s_ccos.c: Rely entire on ccosh.
31481 * math/s_ccosf.c: Rely entire on ccoshf.
31482 * math/s_ccosl.c: Rely entirely on ccoshl.
31483 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
31484 Remove tests for FE_INVALID.
31485 * math/s_ccoshf.c: Likewise.
31486 * math/s_ccoshl.c: Likewise.
31487 * math/s_csin.c: Likewise.
31488 * math/s_csinf.c: Likewise.
31489 * math/s_csinh.c Likewise.
31490 * math/s_csinhf.c: Likewise.
31491 * math/s_csinhl.c: Likewise.
31492 * math/s_csinl.c: Likewise.
31493 * math/s_ctan.c: Likewise.
31494 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
31495 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
31496 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
31497
8ec250a4
UD
314982011-10-21 Ulrich Drepper <drepper@gmail.com>
31499
c196fed8
UD
31500 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
31501 compilation problems.
31502
8ec250a4
UD
31503 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
31504 __builtin_expect.
31505
8d4f46c6
UD
315062011-10-20 Ulrich Drepper <drepper@gmail.com>
31507
ed72b654
UD
31508 * sysdeps/i386/configure.in: Test for -mfma4 option.
31509 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
31510 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
31511 COMMON_CPUID_INDEX_80000001.
31512 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
31513 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
31514 use it if FMA3 is not supported.
31515 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
31516
8d4f46c6
UD
31517 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
31518 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31519
d45c60c2
AS
315202011-10-20 Andreas Schwab <schwab@redhat.com>
31521
31522 [BZ #12892]
31523 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
31524 it would create a cycle with a link time dependency.
31525
d9a4d2ab
UD
315262011-10-19 Ulrich Drepper <drepper@gmail.com>
31527
855d1560
UD
31528 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
31529 instruction.
31530 * string/Makefile (strop-tests): Add rawmemchr.
31531 * string/test-rawmemchr.c: New file.
31532
d9a4d2ab
UD
31533 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
31534 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
31535 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
31536 when compiling str{,n}casecmp and when AVX is available. Hook up
31537 new optimized code in initializers.
31538
8f3b1ffe
AS
315392011-10-19 Andreas Schwab <schwab@redhat.com>
31540
31541 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
31542 __feraiseexcept instead of feraiseexcept.
31543
d38f1dba
UD
315442011-10-18 Ulrich Drepper <drepper@gmail.com>
31545
d9a8d0ab
UD
31546 * math/math_private.h: Define defaults for libc_fetestexcept and
31547 libc_feupdateenv.
31548 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
31549 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
31550 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31551 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31552 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
31553 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31554 libc_fetestexcept and libc_feupdateenv.
31555
4855e3dd
UD
31556 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
31557 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
31558 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
31559 * sysdeps/x86_64/fpu/math_private.h: Define special version of
31560 libc_feholdexcept_setround.
31561
581d30e3
UD
31562 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
31563 Add s_nearbyint-c and s_nearbyintf-c.
31564 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
31565 nearbyintf inlines.
31566 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
31567 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
31568 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
31569 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
31570
d38f1dba
UD
31571 * math/math_private.h: Define defaults for libc_fegetround,
31572 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
31573 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
31574 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
31575 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
31576 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
31577 standard functions.
31578 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31579 Remove comments and hacks for old compiler versions.
31580 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31581 libc_fegetround, libc_fesetround, libc_feholdexcept, and
31582 libc_feholdexceptl.
31583
caa6c9d8
AS
315842011-10-18 Andreas Schwab <schwab@redhat.com>
31585
31586 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
31587 (__feraiseexcept_renamed): Add __NTH.
31588 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
31589 namespace violations.
31590
97c066e6
UD
315912011-10-17 Ulrich Drepper <drepper@gmail.com>
31592
99ce7b04
UD
31593 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
31594
1004d182
UD
31595 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
31596
228a984d
UD
31597 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
31598 recently added interfaces.
31599 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
31600
c8553a6a
UD
31601 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
31602 about macro parameter expansion.
31603
ed22dcf6
UD
31604 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
31605 __NO_MATH_INLINES is defined. Cleanups.
31606
31607 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
31608 and __floorf is target has SSE4.1.
31609 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
31610 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
31611 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
31612 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
31613
b171c137
UD
31614 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
31615 name.
31616 (floorf): Likewise.
31617
97c066e6
UD
31618 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
31619
629f62ef
AS
316202011-10-17 Andreas Schwab <schwab@redhat.com>
31621
49a43d80
AS
31622 * misc/sys/cdefs.h: Fix last change.
31623
629f62ef
AS
31624 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
31625 database lookup.
31626
e453f6cd
UD
316272011-10-16 Ulrich Drepper <drepper@gmail.com>
31628
aa78043a
UD
31629 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
31630
ad0f5cad
UD
31631 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
31632 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31633 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
31634 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31635 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31636 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
31637 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31638 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31639 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
31640 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
31641 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
31642 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
31643 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
31644 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
31645 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
31646 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
31647 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
31648 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
31649 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
31650 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
31651 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
31652 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
31653
31654 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
31655 ceil, ceilf, floor, floorf.
31656
31657 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
31658 Perform IRELATIVE relocations last.
31659
e453f6cd
UD
31660 * elf/do-rel.h: Add another parameter nrelative, replacing the
31661 local variable with the same name. Change name of the function
31662 to end in Rel or Rela (uppercase).
31663 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
31664 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
31665 elf_dynamic_do_##reloc function.
31666
fd5bdc09
UD
316672011-10-15 Ulrich Drepper <drepper@gmail.com>
31668
79b195b5
UD
31669 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
31670 is sufficient, at least on modern CPUs.
31671
d4a28569
UD
31672 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
31673
b61099b5
UD
31674 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
31675 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
31676
bcf01e6d
UD
31677 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
31678 __expl_finite.
31679 * math/bits/math-finite.h: Add entries for exp.
31680 * math/e_expl.c: Add __*_finite alias.
31681 * sysdeps/i386/fpu/e_exp.S: Likewise.
31682 * sysdeps/i386/fpu/e_expf.S: Likewise.
31683 * sysdeps/i386/fpu/e_expl.c: Likewise.
31684 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31685 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31686 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31687 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31688 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
31689 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31690 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31691
ba1a0d59
UD
31692 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
31693 is sufficient, at least on modern CPUs.
31694
fd5bdc09
UD
31695 * ctype/ctype-info.c (__ctype_init): Define.
31696 * include/ctype.h (__ctype_init): Declare.
31697 (__ctype_b_loc): The variable is always initialized.
31698 (__ctype_toupper_loc): Likewise.
31699 (__ctype_tolower_loc): Likewise.
31700 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
31701 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
31702
7872cfb0
AS
317032011-10-15 Andreas Schwab <schwab@linux-m68k.org>
31704
b468825a
AS
31705 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
31706
7872cfb0
AS
31707 * configure.in: Also look in $cxxmachine/include for C++ system
31708 headers.
31709
be13f7bf
LD
317102011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31711
31712 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
31713 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
31714 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
31715 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
31716 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
31717 (USE_AS_WMEMCMP): New macro.
31718 Fixing indents.
31719 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
31720 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
31721 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
31722 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
31723 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31724 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
31725 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
31726 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
31727 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
31728 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
31729 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
31730 (USE_AS_WMEMCMP): New macro.
31731 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
31732 * sysdeps/string/test-memcmp.c: Update.
31733 Fix simple_wmemcmp.
31734 Add new tests.
31735 * wcsmbs/wmemcmp.c: Update.
31736 (WMEMCMP): New macro.
31737 Fix overflow bug.
31738
556a2007
AJ
317392011-10-12 Andreas Jaeger <aj@suse.de>
31740
31741 [BZ #13268]
31742 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
31743
538faaa7
UD
317442011-10-15 Ulrich Drepper <drepper@gmail.com>
31745
ab6737ff
UD
31746 * libio/iofwide.c (do_length): Avoid warning.
31747
538faaa7
UD
31748 * ctype/ctype.h (__isctype_f): Add missing __THROW.
31749
396a21b1
UD
317502011-10-14 Ulrich Drepper <drepper@gmail.com>
31751
cdf2901f
UD
31752 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
31753
38ad40ce
UD
31754 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
31755 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
31756 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
31757 * sysdeps/i386/i686/fpu/e_log.S: New file.
31758 * sysdeps/i386/i686/fpu/e_logf.S: New file.
31759 * sysdeps/i386/i686/fpu/e_logl.S: New file.
31760
396a21b1
UD
31761 * ctype/ctype.h: Add support for inlined isXXX functions when
31762 compiling C++ code.
31763
6b1f68c9
AS
317642011-10-14 Andreas Schwab <schwab@redhat.com>
31765
349290c0
AS
31766 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31767
6b1f68c9
AS
31768 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
31769
f2282d42
RM
317702011-10-13 Roland McGrath <roland@hack.frob.com>
31771
31772 [BZ #13291]
31773 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
31774
5298ffa8
AS
317752011-10-13 Andreas Schwab <schwab@redhat.com>
31776
714fad23
AS
31777 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
31778 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
31779 feraiseexcept.
31780
81dcc7fb
AS
31781 * sysdeps/x86_64/memrchr.S: Check for zero size.
31782
5298ffa8
AS
31783 * string/stratcliff.c: Add memrchr tests.
31784
951fbcec
LD
317852011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31786
31787 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31788 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
31789 rawmemchr-sse2 rawmemchr-sse2-bsf.
31790 * sysdeps/i386/i686/multiarch/memchr.S: New file.
31791 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
31792 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
31793 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
31794 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
31795 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
31796 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
31797 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
31798 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
31799 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
31800 * string/memrchr.c (MEMRCHR): New macro.
31801
0ac5ae23
UD
318022011-10-12 Ulrich Drepper <drepper@gmail.com>
31803
31804 Add integration with gcc's -ffinite-math-only and optimize wrapper
31805 functions in libm.
31806 * Versions.def: Define GLIBC_2.15 version for libm.
31807 * math/Makefile (headers): Add bits/math-finite.h.
31808 * math/bits/math-finite.h: New file.
31809 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
31810 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
31811 * math/e_acoshl.c: Add __*_finite alias.
31812 * math/e_acosl.c: Likewise.
31813 * math/e_asinl.c: Likewise.
31814 * math/e_atan2l.c: Likewise.
31815 * math/e_atanhl.c: Likewise.
31816 * math/e_coshl.c: Likewise.
31817 * math/e_exp10.c: Likewise.
31818 * math/e_exp10f.c: Likewise.
31819 * math/e_exp10l.c: Likewise.
31820 * math/e_exp2l.c: Likewise.
31821 * math/e_fmodl.c: Likewise.
31822 * math/e_gammal_r.c: Likewise.
31823 * math/e_hypotl.c: Likewise.
31824 * math/e_j0l.c: Likewise.
31825 * math/e_j1l.c: Likewise.
31826 * math/e_jnl.c: Likewise.
31827 * math/e_lgammal_r.c: Likewise.
31828 * math/e_log10l.c: Likewise.
31829 * math/e_log2l.c: Likewise.
31830 * math/e_logl.c: Likewise.
31831 * math/e_powl.c: Likewise.
31832 * math/e_sinhl.c: Likewise.
31833 * math/e_sqrtl.c: Likewise.
31834 * math/e_scalb.c: Completely rewritten and optimized.
31835 * math/e_scalbf.c: Likewise.
31836 * math/e_scalbl.c: Likewise.
31837 * math/w_acos.c: Likewise.
31838 * math/w_acosf.c: Likewise.
31839 * math/w_acosl.c: Likewise.
31840 * math/w_acosh.c: Likewise.
31841 * math/w_acoshf.c: Likewise.
31842 * math/w_acoshl.c: Likewise.
31843 * math/w_asin.c: Likewise.
31844 * math/w_asinf.c: Likewise.
31845 * math/w_asinl.c: Likewise.
31846 * math/w_atan2.c: Likewise.
31847 * math/w_atan2f.c: Likewise.
31848 * math/w_atan2l.c: Likewise.
31849 * math/w_atanh.c: Likewise.
31850 * math/w_atanhf.c: Likewise.
31851 * math/w_atanhl.c: Likewise.
31852 * math/w_exp10.c: Likewise.
31853 * math/w_exp10f.c: Likewise.
31854 * math/w_exp10l.c: Likewise.
31855 * math/w_fmod.c: Likewise.
31856 * math/w_fmodf.c: Likewise.
31857 * math/w_fmodl.c: Likewise.
31858 * math/w_j0.c: Likewise.
31859 * math/w_j0f.c: Likewise.
31860 * math/w_j0l.c: Likewise.
31861 * math/w_j1.c: Likewise.
31862 * math/w_j1f.c: Likewise.
31863 * math/w_j1l.c: Likewise.
31864 * math/w_jn.c: Likewise.
31865 * math/w_jnf.c: Likewise.
31866 * math/w_log.c: Likewise.
31867 * math/w_logf.c: Likewise.
31868 * math/w_logl.c: Likewise.
31869 * math/w_log10.c: Likewise.
31870 * math/w_log10f.c: Likewise.
31871 * math/w_log10l.c: Likewise.
31872 * math/w_log2.c: Likewise.
31873 * math/w_log2f.c: Likewise.
31874 * math/w_log2l.c: Likewise.
31875 * math/w_pow.c: Likewise.
31876 * math/w_powf.c: Likewise.
31877 * math/w_powl.c: Likewise.
31878 * math/w_remainder.c: Likewise.
31879 * math/w_remainderf.c: Likewise.
31880 * math/w_remainderl.c: Likewise.
31881 * math/w_scalb.c: Likewise.
31882 * math/w_scalbf.c: Likewise.
31883 * math/w_scalbl.c: Likewise.
31884 * math/w_sqrt.c: Likewise.
31885 * math/w_sqrtf.c: Likewise.
31886 * math/w_sqrtl.c: Likewise.
31887 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
31888 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
31889 used.
31890 * math/math_private.h: Declare __kernel_standard_f.
31891 * math/w_cosh.c: Remove cruft and optimize a bit.
31892 * math/w_coshf.c: Likewise.
31893 * math/w_coshl.c: Likewise.
31894 * math/w_exp2.c: Likewise.
31895 * math/w_exp2f.c: Likewise.
31896 * math/w_exp2l.c: Likewise.
31897 * math/w_hypot.c: Likewise.
31898 * math/w_hypotf.c: Likewise.
31899 * math/w_hypotl.c: Likewise.
31900 * math/w_lgamma.c: Likewise.
31901 * math/w_lgamma_r.c: Likewise.
31902 * math/w_lgammaf.c: Likewise.
31903 * math/w_lgammaf_r.c: Likewise.
31904 * math/w_lgammal.c: Likewise.
31905 * math/w_lgammal_r.c: Likewise.
31906 * math/w_sinh.c: Likewise.
31907 * math/w_sinhf.c: Likewise.
31908 * math/w_sinhl.c: Likewise.
31909 * math/w_tgamma.c: Likewise.
31910 * math/w_tgammaf.c: Likewise.
31911 * math/w_tgammal.c: Likewise.
31912 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31913 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31914 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
31915 Minor optimizations. Pretty printing. Remove cruft.
31916 * sysdeps/i386/fpu/e_acosf.S: Likewise.
31917 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31918 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31919 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31920 * sysdeps/i386/fpu/e_acosl.c: Likewise.
31921 * sysdeps/i386/fpu/e_asin.S: Likewise.
31922 * sysdeps/i386/fpu/e_asinf.S: Likewise.
31923 * sysdeps/i386/fpu/e_atan2.S: Likewise.
31924 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
31925 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
31926 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31927 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31928 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31929 * sysdeps/i386/fpu/e_exp10.S: Likewise.
31930 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
31931 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
31932 * sysdeps/i386/fpu/e_exp2.S: Likewise.
31933 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
31934 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
31935 * sysdeps/i386/fpu/e_fmod.S: Likewise.
31936 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
31937 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
31938 * sysdeps/i386/fpu/e_hypot.S: Likewise.
31939 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
31940 * sysdeps/i386/fpu/e_log.S: Likewise.
31941 * sysdeps/i386/fpu/e_log10.S: Likewise.
31942 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31943 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31944 * sysdeps/i386/fpu/e_log2.S: Likewise.
31945 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31946 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31947 * sysdeps/i386/fpu/e_logf.S: Likewise.
31948 * sysdeps/i386/fpu/e_logl.S: Likewise.
31949 * sysdeps/i386/fpu/e_pow.S: Likewise.
31950 * sysdeps/i386/fpu/e_powf.S: Likewise.
31951 * sysdeps/i386/fpu/e_powl.S: Likewise.
31952 * sysdeps/i386/fpu/e_remainder.S: Likewise.
31953 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
31954 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
31955 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31956 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31957 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31958 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
31959 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
31960 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
31961 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
31962 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31963 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31964 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
31965 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31966 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
31967 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
31968 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
31969 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31970 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31971 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31972 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
31973 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31974 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
31975 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
31976 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31977 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31978 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
31979 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31980 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31981 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
31982 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
31983 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31984 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31985 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
31986 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
31987 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31988 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
31989 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
31990 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
31991 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31992 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
31993 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31994 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
31995 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
31996 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
31997 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
31998 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
31999 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32000 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32001 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32002 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32003 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32004 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32005 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32006 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32007 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32008 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32009 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32010 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
32011 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32012 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32013 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32014 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32015 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32016 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
32017 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
32018 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
32019 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
32020 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
32021 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
32022 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
32023 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32024 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32025 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
32026 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
32027 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
32028 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
32029 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
32030 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
32031 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
32032 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
32033 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
32034 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
32035 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
32036 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32037 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32038 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
32039 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32040 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
32041 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32042 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
32043 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
32044 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32045 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32046 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32047 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32048 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
32049 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
32050 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
32051 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32052 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32053 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32054 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32055 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32056 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32057 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32058 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
32059 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
32060 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
32061 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
32062 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
32063 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
32064 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
32065 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32066 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32067 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32068 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32069 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
32070 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32071 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
32072 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
32073 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
32074 (__isnanf): Likewise.
32075 (__isinf_ns): Likewise.
32076 (__isinf_nsf): Likewise.
32077 (__finite): Likewise.
32078 (__finitef): Likewise.
32079 (__ieee754_sqrt): Define as macro.
32080 (__ieee754_sqrtf): Define as macro.
32081 (__ieee754_sqrtl): Define as macro.
32082 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
32083 inlined copy.
32084 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
32085 __FINITE_MATH_ONLY__ consistent.
32086 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
32087
12cc2fcd
AS
320882011-10-10 Andreas Schwab <schwab@linux-m68k.org>
32089
a843a204
AS
32090 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
32091 of rawmemchr.
32092
12cc2fcd
AS
32093 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
32094
c853acd5
UD
320952011-10-09 Ulrich Drepper <drepper@gmail.com>
32096
32097 * po/ja.po: Update from translation team.
32098
c658d255
RM
320992011-10-08 Roland McGrath <roland@hack.frob.com>
32100
110946e4
RM
32101 * locale/programs/locarchive.c (prepare_address_space): New function.
32102 (create_archive, enlarge_archive, open_archive): Use it.
32103
50604220
RM
32104 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
32105 inside [SHARED], where it is used.
32106
c658d255
RM
32107 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
32108
32109 * nss/getent.c (netgroup_keys): Remove unused variable.
32110 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32111
6a621eb7
UD
321122011-10-08 Ulrich Drepper <drepper@gmail.com>
32113
7edb55ce
UD
32114 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
32115 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
32116 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
32117 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
32118 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
32119 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
32120 * math/Makefile (libm-calls): Add s_isinf_ns.
32121 * math/divtc3.c: Use __isinf_nsl instead of isinf.
32122 * math/multc3.c: Likewise.
32123 * math/s_casin.c: Likewise.
32124 * math/s_casinf.c: Likewise.
32125 * math/s_casinl.c: Likewise.
32126 * math/s_ccos.c: Likewise.
32127 * math/s_ccosf.c: Likewise.
32128 * math/s_ccosl.c: Likewise.
32129 * math/s_ctan.c: Likewise.
32130 * math/s_ctanf.c: Likewise.
32131 * math/s_ctanh.c: Likewise.
32132 * math/s_ctanhf.c: Likewise.
32133 * math/s_ctanhl.c: Likewise.
32134 * math/s_ctanl.c: Likewise.
32135 * math/w_fmod.c: Likewise.
32136 * math/w_fmodf.c: Likewise.
32137 * math/w_fmodl.c: Likewise.
32138 * math/w_remainder.c: Likewise.
32139 * math/w_remainderf.c: Likewise.
32140 * math/w_remainderl.c: Likewise.
32141 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
32142 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
32143 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
32144 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
32145 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
32146 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
32147 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
32148 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
32149
187da0ae
UD
32150 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
32151 of the number.
32152 * stdio-common/printf_fphex.c: Likewise.
32153 * stdio-common/printf_size.c: Likewise.
32154
9277c064
UD
32155 * math/e_exp10.c: Include math_private.h using <...> not "...".
32156 * math/e_exp10f.c: Likewise.
32157 * math/e_exp10l.c: Likewise.
32158 * math/e_exp2l.c: Likewise.
32159 * math/e_j0l.c: Likewise.
32160 * math/e_j1l.c: Likewise.
32161 * math/e_jnl.c: Likewise.
32162 * math/e_lgammal_r.c: Likewise.
32163 * math/e_rem_pio2l.c: Likewise.
32164 * math/e_scalb.c: Likewise.
32165 * math/e_scalbf.c: Likewise.
32166 * math/e_scalbl.c: Likewise.
32167 * math/k_cosl.c: Likewise.
32168 * math/k_sinl.c: Likewise.
32169 * math/k_tanl.c: Likewise.
32170 * math/s_cacoshf.c: Likewise.
32171 * math/s_catan.c: Likewise.
32172 * math/s_catanf.c: Likewise.
32173 * math/s_catanh.c: Likewise.
32174 * math/s_catanhf.c: Likewise.
32175 * math/s_catanhl.c: Likewise.
32176 * math/s_catanl.c: Likewise.
32177 * math/s_ccosh.c: Likewise.
32178 * math/s_ccoshf.c: Likewise.
32179 * math/s_ccoshl.c: Likewise.
32180 * math/s_cexp.c: Likewise.
32181 * math/s_cexpf.c: Likewise.
32182 * math/s_cexpl.c: Likewise.
32183 * math/s_clog.c: Likewise.
32184 * math/s_clog10.c: Likewise.
32185 * math/s_clog10f.c: Likewise.
32186 * math/s_clog10l.c: Likewise.
32187 * math/s_clogf.c: Likewise.
32188 * math/s_clogl.c: Likewise.
32189 * math/s_csin.c: Likewise.
32190 * math/s_csinf.c: Likewise.
32191 * math/s_csinh.c: Likewise.
32192 * math/s_csinhf.c: Likewise.
32193 * math/s_csinhl.c: Likewise.
32194 * math/s_csinl.c: Likewise.
32195 * math/s_csqrt.c: Likewise.
32196 * math/s_csqrtf.c: Likewise.
32197 * math/s_csqrtl.c: Likewise.
32198 * math/s_ctan.c: Likewise.
32199 * math/s_ctanf.c: Likewise.
32200 * math/s_ctanh.c: Likewise.
32201 * math/s_ctanhf.c: Likewise.
32202 * math/s_ctanhl.c: Likewise.
32203 * math/s_ctanl.c: Likewise.
32204 * math/s_ldexp.c: Likewise.
32205 * math/s_ldexpf.c: Likewise.
32206 * math/s_ldexpl.c: Likewise.
32207 * math/s_significand.c: Likewise.
32208 * math/s_significandf.c: Likewise.
32209 * math/s_significandl.c: Likewise.
32210 * math/w_acos.c: Likewise.
32211 * math/w_acosf.c: Likewise.
32212 * math/w_acosh.c: Likewise.
32213 * math/w_acoshf.c: Likewise.
32214 * math/w_acoshl.c: Likewise.
32215 * math/w_acosl.c: Likewise.
32216 * math/w_asin.c: Likewise.
32217 * math/w_asinf.c: Likewise.
32218 * math/w_asinl.c: Likewise.
32219 * math/w_atan2.c: Likewise.
32220 * math/w_atan2f.c: Likewise.
32221 * math/w_atan2l.c: Likewise.
32222 * math/w_atanh.c: Likewise.
32223 * math/w_atanhf.c: Likewise.
32224 * math/w_atanhl.c: Likewise.
32225 * math/w_cosh.c: Likewise.
32226 * math/w_coshf.c: Likewise.
32227 * math/w_coshl.c: Likewise.
32228 * math/w_dremf.c: Likewise.
32229 * math/w_exp10.c: Likewise.
32230 * math/w_exp10f.c: Likewise.
32231 * math/w_exp10l.c: Likewise.
32232 * math/w_exp2.c: Likewise.
32233 * math/w_exp2f.c: Likewise.
32234 * math/w_fmod.c: Likewise.
32235 * math/w_fmodf.c: Likewise.
32236 * math/w_fmodl.c: Likewise.
32237 * math/w_hypot.c: Likewise.
32238 * math/w_hypotf.c: Likewise.
32239 * math/w_hypotl.c: Likewise.
32240 * math/w_j0.c: Likewise.
32241 * math/w_j0f.c: Likewise.
32242 * math/w_j0l.c: Likewise.
32243 * math/w_j1.c: Likewise.
32244 * math/w_j1f.c: Likewise.
32245 * math/w_j1l.c: Likewise.
32246 * math/w_jn.c: Likewise.
32247 * math/w_jnf.c: Likewise.
32248 * math/w_jnl.c: Likewise.
32249 * math/w_lgamma.c: Likewise.
32250 * math/w_lgamma_r.c: Likewise.
32251 * math/w_lgammaf.c: Likewise.
32252 * math/w_lgammaf_r.c: Likewise.
32253 * math/w_lgammal.c: Likewise.
32254 * math/w_lgammal_r.c: Likewise.
32255 * math/w_log.c: Likewise.
32256 * math/w_log10.c: Likewise.
32257 * math/w_log10f.c: Likewise.
32258 * math/w_log10l.c: Likewise.
32259 * math/w_log2.c: Likewise.
32260 * math/w_log2f.c: Likewise.
32261 * math/w_log2l.c: Likewise.
32262 * math/w_logf.c: Likewise.
32263 * math/w_logl.c: Likewise.
32264 * math/w_pow.c: Likewise.
32265 * math/w_powf.c: Likewise.
32266 * math/w_powl.c: Likewise.
32267 * math/w_remainder.c: Likewise.
32268 * math/w_remainderf.c: Likewise.
32269 * math/w_remainderl.c: Likewise.
32270 * math/w_scalb.c: Likewise.
32271 * math/w_scalbf.c: Likewise.
32272 * math/w_scalbl.c: Likewise.
32273 * math/w_sinh.c: Likewise.
32274 * math/w_sinhf.c: Likewise.
32275 * math/w_sinhl.c: Likewise.
32276 * math/w_sqrt.c: Likewise.
32277 * math/w_sqrtf.c: Likewise.
32278 * math/w_sqrtl.c: Likewise.
32279 * math/w_tgamma.c: Likewise.
32280 * math/w_tgammaf.c: Likewise.
32281 * math/w_tgammal.c: Likewise.
32282
6a621eb7
UD
32283 * po/ja.po: Update from translation team.
32284
bf582445
AJ
322852011-09-29 Andreas Jaeger <aj@suse.de>
32286
f9efbf3a
AJ
32287 [BZ #13179]
32288 * sunrpc/netname.c (netname2host): Fix logic.
32289
bf582445
AJ
32290 [BZ #6779]
32291 [BZ #6783]
32292 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
32293 correctly.
32294 * math/w_remainder.c (__remainder): Likewise.
32295 * math/w_remainderf.c (__remainderf): Likewise.
32296 * math/libm-test.inc (remainder_test): Add test cases.
32297
48693bea
AK
322982011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32299
32300 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
32301 sdiv_qrnnd.
32302
42622229
LD
323032011-10-07 Ulrich Drepper <drepper@gmail.com>
32304
32305 * string/test-memcmp.c: Avoid unncessary #defines.
32306 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32307
093ecf92
LD
323082011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32309
32310 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
32311 Use new sse2 version for core i3 - i7 as it's faster
32312 than sse42 version.
32313 (bit_Prefer_PMINUB_for_stringop): New.
32314 * sysdeps/x86_64/rawmemchr.S: Update.
32315 Replace with faster SSE2 version.
32316 * sysdeps/x86_64/memrchr.S: New file.
32317 * sysdeps/x86_64/memchr.S: Update.
32318 Replace with faster SSE2 version.
32319
fde56e5c
MP
323202011-09-12 Marek Polacek <mpolacek@redhat.com>
32321
32322 * elf/dl-load.c (lose): Add cast to avoid warning.
32323
21fd49a9
UD
323242011-10-07 Ulrich Drepper <drepper@gmail.com>
32325
5a06e643
UD
32326 * po/ca.po: Update from translation team.
32327
684ae515
UD
32328 * inet/getnetgrent_r.c: Hook up nscd.
32329 * nscd/Makefile (routines): Add nscd_netgroup.
32330 (nscd-modules): Add netgroupcache.
32331 (CFLAGS-netgroupcache.c): Define.
32332 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
32333 (cache_search): Add const to second parameter.
32334 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
32335 INNETGR.
32336 (dbs): Add netgrdb entry.
32337 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
32338 (verify_persistent_db): Handle netgrdb.
32339 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
32340 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
32341 GETFDNETGR.
32342 (netgroup_response_header): Define.
32343 (innetgroup_response_header): Define.
32344 (datahead): Add netgroup_response_header and innetgroup_response_header
32345 elements.
32346 * nscd/nscd.conf: Add entries for netgroup cache.
32347 * nscd/nscd.h (dbtype): Add netgrdb.
32348 (_PATH_NSCD_NETGROUP_DB): Define.
32349 (netgroup_iov_disabled): Declare.
32350 (xmalloc, xcalloc, xrealloc): Move declarations here.
32351 (cache_search): Adjust prototype.
32352 Add netgroup-related prototypes.
32353 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
32354 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
32355 (__nscd_innetgr): Declare.
32356 * nscd/selinux.c (perms): Use access_vector_t as element type and
32357 add netgroup-related initializers.
32358 * nscd/netgroupcache.c: New file.
32359 * nscd/nscd_netgroup.c: New file.
32360 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
32361 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
32362 For four parameters use innetgr.
32363 * nss/nss_files/files-init.c: Add definition and callback for netgr.
32364 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
32365 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
32366 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
32367
21fd49a9
UD
32368 * nscd/connections.c (register_traced_file): Don't register file
32369 for disabled databases.
32370
054c0457
UD
323712011-10-06 Ulrich Drepper <drepper@gmail.com>
32372
32b63198
UD
32373 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
32374
054c0457
UD
32375 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
32376 from tree and freeing node.
32377
64031225
JO
323782011-09-25 Jiri Olsa <jolsa@redhat.com>
32379
32380 * nss/nsswitch.c (__nss_database_lookup): Handle
32381 nss_parse_service_list out of memory case.
32382
0490345c
JO
323832011-09-15 Jiri Olsa <jolsa@redhat.com>
32384
32385 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
32386 out of memory case.
32387
3a62d00d
AS
323882011-10-04 Andreas Schwab <schwab@redhat.com>
32389
32390 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
32391 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
32392 pass it down.
32393 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
32394 elf_machine_rela, elf_machine_lazy_rel.
32395 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
32396 (ELF_DYNAMIC_DO_REL): Likewise.
32397 (ELF_DYNAMIC_DO_RELA): Likewise.
32398 (ELF_DYNAMIC_RELOCATE): Likewise.
32399 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
32400 to ELF_DYNAMIC_DO_REL.
32401 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
32402 (dl_main): In trace mode always set __RTLD_NOIFUNC.
32403 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
32404 elf_machine_rela.
32405 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
32406 skip_ifunc, don't call ifunc function if non-zero.
32407 (elf_machine_rela): Likewise.
32408 (elf_machine_lazy_rel): Likewise.
32409 (elf_machine_lazy_rela): Likewise.
32410 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
32411 (elf_machine_lazy_rel): Likewise.
32412 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
32413 Likewise.
32414 (elf_machine_lazy_rel): Likewise.
32415 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32416 Likewise.
32417 (elf_machine_lazy_rel): Likewise.
32418 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
32419 (elf_machine_lazy_rel): Likewise.
32420 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
32421 (elf_machine_lazy_rel): Likewise.
32422 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32423 (elf_machine_lazy_rel): Likewise.
32424 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
32425 (elf_machine_lazy_rel): Likewise.
32426 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
32427 (elf_machine_lazy_rel): Likewise.
32428 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32429 (elf_machine_lazy_rel): Likewise.
32430
68577918
UD
324312011-09-28 Ulrich Drepper <drepper@gmail.com>
32432
32433 * nss/nss_files/files-init.c (_nss_files_init): Use static
32434 initialization for all the *_traced_file variables.
32435
68822d74
AS
324362011-09-28 Andreas Schwab <schwab@redhat.com>
32437
32438 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32439
2056100b
RM
324402011-09-27 Roland McGrath <roland@hack.frob.com>
32441
32442 [BZ #13226]
32443 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
32444
32c76b63
AS
324452011-09-27 Andreas Schwab <schwab@redhat.com>
32446
32447 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32448 Reread the line before reparsing it.
32449
bf972c9d
AS
324502011-09-26 Andreas Schwab <schwab@redhat.com>
32451
32452 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
32453
e057a1b5
JM
324542011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
32455 Maxim Kuvyrkov <maxim@codesourcery.com>
32456 Joseph Myers <joseph@codesourcery.com>
32457
32458 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
32459 if needed for __stack_chk_guard.
32460
bc7e1c36
RM
324612011-09-19 Roland McGrath <roland@hack.frob.com>
32462
ecb1482f
RM
32463 * sysdeps/posix/spawni.c (script_execute): Always define it.
32464 It will be optimized away if unused.
32465 (maybe_script_execute): New function.
32466 (__spawni): Call it.
32467
bc7e1c36
RM
32468 * Makerules: Don't include tls.make.
32469 (config-tls): Always set to thread.
32470 * tls.make.c: File removed.
32471
1c3b002b
MF
324722011-09-19 Mike Frysinger <vapier@gentoo.org>
32473
32474 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
32475 * config.make.in (CPPFLAGS-config): New substituted variable.
32476
2840865d
UD
324772011-09-15 Ulrich Drepper <drepper@gmail.com>
32478
88738eb6
UD
32479 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
32480
cbf645a6 32481 [BZ #13192]
2840865d
UD
32482 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
32483 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
32484
b402e91a
RM
324852011-09-15 Roland McGrath <roland@hack.frob.com>
32486
32487 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
32488 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
32489 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32490 (CALL_FAIL): Likewise.
32491 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
32492 (CALL_FAIL): Macro removed.
32493 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
32494
4c1a1f71
UD
324952011-09-15 Ulrich Drepper <drepper@gmail.com>
32496
32497 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
32498 for __FINITE_MATH_ONLY__ == 1.
32499
edc121be
AS
325002011-09-15 Andreas Schwab <schwab@redhat.com>
32501
32502 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
32503 __ieee754_sqrt instead of sqrt.
32504 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
32505 __ieee754_sqrtf instead of sqrtf.
32506 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
32507 __floorf instead of floorf.
32508 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
32509 __floorf, __truncf instead of floorf, truncf.
32510
cd205654
UD
325112011-09-14 Ulrich Drepper <drepper@gmail.com>
32512
ee4d0315
UD
32513 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
32514
cd205654
UD
32515 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
32516 __extern_always_inline.
32517 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
32518 32-bit.
32519
48b67d71
AS
325202011-09-14 Andreas Schwab <schwab@redhat.com>
32521
32522 * elf/rtld.c (dl_main): Also relocate in dependency order when
32523 doing symbol dependency testing.
32524
1ae12c75
AS
325252011-09-13 Andreas Schwab <schwab@linux-m68k.org>
32526
32527 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32528 Always define `refsym'.
32529
995a80df
AS
325302011-09-13 Andreas Schwab <schwab@redhat.com>
32531
e529793b
AS
32532 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
32533 (__FD_ELT): Renamed from __FDELT.
32534 * misc/bits/select2.h (__FD_ELT): Likewise.
32535 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
32536 __FD_MASK instead of __FDELT, __FDMASK.
32537 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32538 Likewise.
32539 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32540 Likewise.
32541
52d4fef8
AS
32542 * elf/Makefile (gen-ldd): Fix pattern.
32543
995a80df
AS
32544 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
32545 (init_tls): Likewise.
32546
8682f8b0
UD
325472011-09-12 Ulrich Drepper <drepper@gmail.com>
32548
32549 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
32550
de82006d
AS
325512011-09-12 Andreas Schwab <schwab@redhat.com>
32552
a7c8e6a1
AS
32553 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
32554 `struct cmsghdr *' instead of `void *'.
32555 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
32556 Likewise.
32557
0f31fe77
AS
325582011-09-11 Andreas Schwab <schwab@linux-m68k.org>
32559
32560 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
32561 if non-absolute.
32562 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
32563 ldd_rewrite_script.
0f31fe77 32564
32b4c839
UD
325652011-09-11 Ulrich Drepper <drepper@gmail.com>
32566
83cd1420
UD
32567 * configure.in: Remove --with-tls option.
32568 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
32569 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
32570 out in case it is missing.
32571 * sysdeps/ia64/elf/configure.in: Likewise.
32572 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
32573 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
32574 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
32575 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
32576 * sysdeps/sh/elf/configure.in: Likewise.
32577 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
32578 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
32579 * sysdeps/x86_64/elf/configure.in: Likewise.
32580 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
32581 * sysdeps/mach/hurd/tls.h: Likewise.
32582
633f745d
UD
32583 [BZ #13067]
32584 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
32585
f318beb8
UD
32586 [BZ #13090]
32587 * configure.in: Fix use of AC_INIT.
32588
32b4c839
UD
32589 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
32590
3ce1f295
UD
325912011-09-10 Ulrich Drepper <drepper@gmail.com>
32592
bb016596
UD
32593 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
32594 __set_errno.
8e58439c
UD
32595 * malloc/hooks.c: Likewise.
32596
aebae053 32597 [BZ #11929]
02d46fc4
UD
32598 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
32599 variables statically.
32600 (narenas): Initialize.
32601 (list_lock): Initialize.
bb016596
UD
32602 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
32603 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
32604 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
32605 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
32606 Add initializers to main_arena and mp_.
32607 (malloc_state): Remove pagesize member. Change all users to use
32608 GLRO(dl_pagesize).
32609
32610 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
32611 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
32612 is always initialized.
32613
22a89187
UD
32614 * malloc/malloc.c: Removed unused configurations and dead code.
32615 * malloc/arena.c: Likewise.
32616 * malloc/hooks.c: Likewise.
02d46fc4 32617 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 32618
d063d164
UD
32619 * include/tls.h: Removed. USE___THREAD must always be defined.
32620 * bits/libc-tsd.h: Don't handle !USE___THREAD.
32621 * elf/dl-libc.c: Likewise.
32622 * elf/dl-tsd.c: Likewise.
32623 * include/errno.h: Likewise.
32624 * include/netdb.h: Likewise.
32625 * include/resolv.h: Likewise.
32626 * inet/herrno-loc.c: Likewise.
32627 * inet/herrno.c: Likewise.
32628 * malloc/arena.c: Likewise.
32629 * malloc/hooks.c: Likewise.
32630 * malloc/malloc.c: Likewise.
32631 * resolv/res-state.c: Likewise.
32632 * resolv/res_libc.c: Likewise.
32633 * sysdeps/i386/dl-machine.h: Likewise.
32634 * sysdeps/ia64/dl-machine.h: Likewise.
32635 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
32636 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32637 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
32638 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
32639 * sysdeps/sh/dl-machine.h: Likewise.
32640 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32641 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32642 * sysdeps/unix/i386/sysdep.S: Likewise.
32643 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32644 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
32645 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
32646 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32647 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
32648 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32649 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32650 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32651 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32652 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32653 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32654 * sysdeps/x86_64/dl-machine.h: Likewise.
32655 * tls.make.c: Likewise.
32656
3ce1f295
UD
32657 * configure.in: Remove --with-__thread option. Make tests for
32658 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
32659 tls_model attribute fail if no support is available. Remove
32660 USE_IN_LIBIO.
32661 * Makeconfig: Adjust for dropped configure option. All features are
32662 now mandatory.
32663 * Makerules: Likewise.
32664 * Versions.def: Likewise.
32665 * argp/argp-fmtstream.c: Likewise.
32666 * argp/argp-fmtstream.h: Likewise.
32667 * argp/argp-help.c: Likewise.
32668 * assert/assert.c: Likewise.
32669 * config.h.in: Likewise.
32670 * config.make.in: Likewise.
32671 * configure: Likewise.
32672 * configure.in: Likewise.
32673 * csu/Versions: Likewise.
32674 * csu/init.c: Likewise.
32675 * elf/tst-audit2.c: Likewise.
32676 * elf/tst-tls10.c: Likewise.
32677 * elf/tst-tls10.h: Likewise.
32678 * elf/tst-tls11.c: Likewise.
32679 * elf/tst-tls12.c: Likewise.
32680 * elf/tst-tls14.c: Likewise.
32681 * elf/tst-tlsmod11.c: Likewise.
32682 * elf/tst-tlsmod12.c: Likewise.
32683 * elf/tst-tlsmod13.c: Likewise.
32684 * elf/tst-tlsmod13a.c: Likewise.
32685 * elf/tst-tlsmod14a.c: Likewise.
32686 * elf/tst-tlsmod15b.c: Likewise.
32687 * elf/tst-tlsmod16a.c: Likewise.
32688 * elf/tst-tlsmod16b.c: Likewise.
32689 * elf/tst-tlsmod7.c: Likewise.
32690 * elf/tst-tlsmod8.c: Likewise.
32691 * elf/tst-tlsmod9.c: Likewise.
32692 * gmon/gmon.c: Likewise.
32693 * grp/fgetgrent_r.c: Likewise.
32694 * grp/putgrent.c: Likewise.
32695 * hurd/fopenport.c: Likewise.
32696 * include/libc-symbols.h: Likewise.
32697 * include/tls.h: Likewise.
32698 * intl/gettextP.h: Likewise.
32699 * intl/loadinfo.h: Likewise.
32700 * locale/global-locale.c: Likewise.
32701 * locale/localeinfo.h: Likewise.
32702 * mach/devstream.c: Likewise.
32703 * malloc/arena.c: Likewise.
32704 * malloc/set-freeres.c: Likewise.
32705 * misc/err.c: Likewise.
32706 * misc/getttyent.c: Likewise.
32707 * misc/mntent_r.c: Likewise.
32708 * posix/getopt.c: Likewise.
32709 * posix/wordexp.c: Likewise.
32710 * pwd/fgetpwent_r.c: Likewise.
32711 * resolv/Versions: Likewise.
32712 * resolv/res_hconf.c: Likewise.
32713 * shadow/fgetspent_r.c: Likewise.
32714 * shadow/putspent.c: Likewise.
32715 * stdio-common/printf_fphex.c: Likewise.
32716 * stdio-common/tmpfile.c: Likewise.
32717 * stdlib/abort.c: Likewise.
32718 * stdlib/fmtmsg.c: Likewise.
32719 * sunrpc/auth_unix.c: Likewise.
32720 * sunrpc/clnt_perr.c: Likewise.
32721 * sunrpc/clnt_tcp.c: Likewise.
32722 * sunrpc/clnt_udp.c: Likewise.
32723 * sunrpc/clnt_unix.c: Likewise.
32724 * sunrpc/openchild.c: Likewise.
32725 * sunrpc/svc_simple.c: Likewise.
32726 * sunrpc/svc_tcp.c: Likewise.
32727 * sunrpc/svc_udp.c: Likewise.
32728 * sunrpc/svc_unix.c: Likewise.
32729 * sunrpc/xdr.c: Likewise.
32730 * sunrpc/xdr_array.c: Likewise.
32731 * sunrpc/xdr_rec.c: Likewise.
32732 * sunrpc/xdr_ref.c: Likewise.
32733 * sunrpc/xdr_stdio.c: Likewise.
32734
1248c1c4
PB
327352011-09-09 Ulrich Drepper <drepper@gmail.com>
32736
32737 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32738
327392011-07-03 Andreas Jaeger <aj@suse.de>
32740
32741 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
32742 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
32743 regenerate with gen-libm-tests.pl.
32744
327452010-05-12 Petr Baudis <pasky@suse.cz>
32746
32747 [BZ #11589]
32748 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
32749 around j0() zero points by switching to j1().
32750 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32751 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32752 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32753 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32754
f22e1074
UD
327552011-09-09 Ulrich Drepper <drepper@gmail.com>
32756
f19009c1
UD
32757 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
32758 instead of 0.
32759 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 32760 instead of 0.
f19009c1
UD
32761 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32762 Patch in part by Pavel Roskin <proski@gnu.org>.
32763
3f8cc204
UD
32764 [BZ #13138]
32765 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
32766 realloc.
32767 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
32768 Free memory block if necessary.
32769
f22e1074
UD
32770 [BZ #12847]
32771 * libio/genops.c (INTDEF): For string streams the _lock pointer can
32772 be NULL. Don't lock in this case.
32773
0a2349f9
RM
327742011-09-09 Roland McGrath <roland@hack.frob.com>
32775
32776 * elf/elf.h (ELFOSABI_GNU): New macro.
32777 (ELFOSABI_LINUX): Define to that.
32778
f3cdd467
DZ
327792011-07-29 Denis Zaitceff <zaitceff@gmail.com>
32780
32781 * string/strncat.c (strncat): Undef the symbol in case it has been
32782 defined in bits/string.h.
32783
74718d13
UD
327842011-09-09 Ulrich Drepper <drepper@gmail.com>
32785
633e9e0f
UD
32786 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
32787
0a2349f9 32788 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
32789 link map.
32790
f9924780
AJ
327912011-08-17 Andreas Jaeger <aj@suse.de>
32792
32793 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
32794
7f5517aa
PP
327952011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
32796 Ian Lance Taylor <iant@google.com>
32797
32798 * math/libm-test.inc (lround_test): New testcase.
32799 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
32800
762011fe
UD
328012011-09-08 Ulrich Drepper <drepper@gmail.com>
32802
92963737
UD
32803 * Makefile: Remove support for automatic cvs check-ins.
32804 * Makerules: Likewise.
32805 * config.make.in: Likewise.
32806 * configure.in: Likewise.
32807 * intl/Makefile: Likewise.
32808 * locale/Makefile: Likewise.
32809 * po/Makefile: Likewise.
32810 * posix/Makefile: Likewise.
32811 * sysdeps/gnu/Makefile: Likewise.
32812 * sysdeps/mach/hurd/Makefile: Likewise.
32813 * sysdeps/sparc/sparc32/Makefile: Likewise.
32814
b0727fd8
JS
32815 [BZ #13118]
32816 * posix/Makefile (bug-regex32-ENV): Define.
32817 Patch by John Stanley <jpsinthemix@verizon.net>.
32818
a0f33f99
UD
32819 * misc/Makefile (headers): Add bits/select2.h.
32820 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
32821 * misc/bits/select2.h: New file.
32822 * include/bits/select2.h: New file.
32823 * debug/Makefile (routines): Add fdelt_chk.
32824 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
32825 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
32826 FD_ISSET.
32827 * debug/fdelt_chk.c: New file.
32828
762011fe
UD
32829 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
32830 * wcsmbs/test-wmemcmp.c: Likewise.
32831 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 32832 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
32833
328342011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32835
32836 * string/Makefile (strop-tests): Add memcmp.
32837 * string/test-wmemcmp.c: New file.
32838 * string/test-memcmp.c: Add wmemcmp support.
32839
7f513ec8
RM
328402011-09-08 Roland McGrath <roland@hack.frob.com>
32841
0442afb4
RM
32842 [BZ #13153]
32843 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
32844 2011-07-19 change.
32845
7f513ec8
RM
32846 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
32847 garbage value in a __mach_port_mod_refs call in the cases of the
32848 task-self and thread-self ports.
32849
a12b2239
ST
328502011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32851
32852 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
32853
610f9ab4
AS
328542011-09-08 Andreas Schwab <schwab@redhat.com>
32855
7f513ec8 32856 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 32857
48882a1a
LD
328582011-09-07 Ulrich Drepper <drepper@gmail.com>
32859
b49865be
UD
32860 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
32861
fdc86bc9
UD
32862 * elf/dl-libc.c (dlerror_run): Pass back error code from
32863 dl_catch_error.
32864
c966526a
UD
32865 [BZ #13123]
32866 * elf/dl-load.c (lose): Free l_origin if it is valid.
32867
48882a1a
LD
32868 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
32869 names.
32870 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
32871 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32872 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32873 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32874 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
32875 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
32876
77a2a8b4
AZ
328772011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32878
32879 * sysdeps/powerpc/fpu/e_hypot.c: New file.
32880 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
32881 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
32882 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
32883 * sysdeps/powerpc/fpu/k_cosf.c: New file.
32884 * sysdeps/powerpc/fpu/k_sinf.c: New file.
32885 * sysdeps/powerpc/fpu/s_cosf.c: New file.
32886 * sysdeps/powerpc/fpu/s_sinf.c: New file.
32887 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
32888 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
32889
24f579d8
AM
328902011-08-15 Alan Modra <amodra@gmail.com>
32891
32892 [BZ #13092]
32893 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
32894 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
32895 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
32896 ppc_mcount to static-only-routines.
32897 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
32898 __mcount_internal.
32899 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
32900 __mcount_internal with usual JUMPTARGET. Remove useless nop.
32901
3d4837df
UD
329022011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
32903
32904 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
32905 for finite and infinity parameters.
32906
22700377
WS
329072011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
32908
32909 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
32910 and add nop instructions for throughput optimization.
32911 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32912
5025581e
WS
329132011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
32914
32915 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
32916 aligned copy for power7 with vector-scalar instructions.
32917 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
32918
08a300c9
L
329192011-07-24 H.J. Lu <hongjiu.lu@intel.com>
32920
32921 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
32922 AVX check.
32923
59178ef9
AS
329242011-09-07 Andreas Schwab <schwab@redhat.com>
32925
32926 [BZ #13144]
32927 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
32928 last change.
32929
e38ba7ab
UD
329302011-09-07 Ulrich Drepper <drepper@gmail.com>
32931
32932 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32933 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
32934 syscall wrapper around clock_gettime in __vdso_clock_gettime.
32935 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
32936 clock_gettime.
32937
d53a73ac
UD
329382011-09-06 Ulrich Drepper <drepper@gmail.com>
32939
fc8bffcc
UD
32940 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
32941 Forgot to demangle the pointer.
32942
ceaa0c5d
UD
32943 * sysdeps/i386/sysdep.h: Define atom_text_section.
32944 * sysdeps/x86_64/sysdep.h: Likewise.
32945 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
32946 section with atom_text_section.
32947 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32948 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32949 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
32950 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32951 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
32952
a77d3c17
UD
32953 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
32954 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
32955 already be defined. Change to take two parameters and don't assign
32956 result to variable. Adjust all users.
32957 Define INTERNAL_GETTIME if not already defined.
32958 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
32959 call.
32960 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
32961 HAVE_CLOCK_GETTIME_VSYSCALL.
32962 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
32963
d53a73ac
UD
32964 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
32965 gettimeofday vsyscall, just use time.
32966
a8f84144
AS
329672011-09-06 Andreas Schwab <schwab@redhat.com>
32968
32969 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
32970 <errno.h>.
32971
ef606249
UD
329722011-09-06 Ulrich Drepper <drepper@gmail.com>
32973
32974 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
32975 syscall on x86-64.
32976 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
32977 syscall.
32978 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
32979 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
32980 syscall if possible.
32981
6585cb60
UD
329822011-09-05 Ulrich Drepper <drepper@gmail.com>
32983
32984 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
32985 e_ident. Don't pass to find_mapsXX.
32986 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
32987
a5f524e4
LD
329882011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32989
32990 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32991 strchr-sse2-no-bsf strrchr-sse2-no-bsf
32992 * sysdeps/x86_64/multiarch/strchr.S: Update.
32993 Check bit_slow_BSF bit.
32994 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32995 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
32996 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
32997
554881ef
UD
329982011-09-05 Ulrich Drepper <drepper@gmail.com>
32999
d96de963
UD
33000 [BZ #13134]
33001 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
33002 before glibc 2.15.
33003 (tryshell): Define.
33004 (__spawni): Change last parameter to be flag. Test
33005 SPAWN_XFLAGS_USE_PATH flag to use path or not.
33006 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
33007 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
33008 * posix/spawni.c: Likewise.
33009 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
33010 * posix/spawnp.c: Likewise. Change normal version to use
33011 SPAWN_XFLAGS_USE_PATH.
33012 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
33013 SPAWN_XFLAGS_TRY_SHELL.
33014
d48e5868
UD
33015 [BZ #13150]
33016 * posix/glob.h: Remove gcc 1.x support.
33017
554881ef
UD
33018 [BZ #13068]
33019 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
33020
693fb948
LD
330212011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33022
33023 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33024 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
33025 strrchr-sse2-bsf
33026 * sysdeps/i386/i686/multiarch/strchr.S: New file.
33027 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
33028 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
33029 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
33030 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
33031 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
33032
1b48c537
UD
330332011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33034
49d42c37
UD
33035 * sysdeps/x86_64/wcscmp.S: New file.
33036
1b48c537
UD
33037 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
33038 wcscmp-c wcscmp-sse2
33039 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
33040 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
33041 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
33042 * wcsmbs/wcscmp.c: Allow renaming.
33043
15c95c5d
DM
330442011-09-05 David S. Miller <davem@davemloft.net>
33045
33046 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
33047 stack slot, rather than the struct return pointer slot.
33048 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
33049 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
33050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
33051 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
33052
2f0ad8f3
UD
330532011-09-05 Ulrich Drepper <drepper@gmail.com>
33054
d88ae418
UD
33055 * po/ja.po: Update from translation team.
33056
2f0ad8f3
UD
33057 [BZ #13144]
33058 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
33059 kernel in 64-bit binaries.
33060
5f4318d1
DM
330612011-09-01 David S. Miller <davem@davemloft.net>
33062
33063 * elf/elf.h (HWCAP_SPARC_*): Move to..
33064 * sysdeps/sparc/sysdep.h: this new file and add new values.
33065 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
33066 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
33067 _DL_HWCAP_COUNT to 24.
33068 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33069 entries.
33070 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
33071 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
33072 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
33073 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
33074 instead of magic constants.
33075 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33076
3ba57516
DM
330772011-08-31 David S. Miller <davem@davemloft.net>
33078
33079 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
33080 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
33081 Reimplement to do errno handling inline.
33082 (SYSCALL_ERROR_HANDLER): New macro.
33083 (__SYSCALL_STRING): Do not do errno handling in asm.
33084 (__CLONE_SYSCALL_STRING): Delete.
33085 (__INTERNAL_SYSCALL_STRING): Delete.
33086 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
33087 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
33088 (PSEUDO): Reimplement to do errno handling inline.
33089 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
33090 (SYSCALL_ERROR_HANDLER): New macro.
33091 (__SYSCALL_STRING): Do not do errno handling in asm.
33092 (__CLONE_SYSCALL_STRING): Delete.
33093 (__INTERNAL_SYSCALL_STRING): Delete.
33094 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
33095 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
33096 i386.
33097 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
33098 (inline_syscall*): Add 'err' argument.
33099 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
33100 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
33101 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
33102 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
33103
33104 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
33105 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33106
2bc17433
AS
331072011-08-30 Andreas Schwab <schwab@redhat.com>
33108
33109 * elf/rtld.c (dl_main): Relocate objects in dependency order.
33110
fbeb5f4d
JO
331112011-08-29 Jiri Olsa <jolsa@redhat.com>
33112
33113 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
33114 directive.
33115
ad69cc26
DM
331162011-08-24 David S. Miller <davem@davemloft.net>
33117
33118 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
33119
39dd69df
AS
331202011-08-24 Andreas Schwab <schwab@redhat.com>
33121
33122 * elf/Makefile: Add rules to build and run unload8 test.
33123 * elf/unload8.c: New file.
33124 * elf/unload8mod1.c: New file.
33125 * elf/unload8mod1x.c: New file.
33126 * elf/unload8mod2.c: New file.
33127 * elf/unload8mod3.c: New file.
33128
33129 * elf/dl-close.c (_dl_close_worker): Reset private search list if
33130 it wasn't used.
33131
2c0b250a
DM
331322011-08-23 David S. Miller <davem@davemloft.net>
33133
33134 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
33135 subtract stack bias.
33136 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
33137 %sp not %fp in calculations.
33138 (_JMPBUF_UNWINDS_ADJ): Likewise.
33139
22044b48
DM
33140 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
33141 (aio_suspend): Call it to force an exception region around the
33142 AIO_MISC_WAIT() invocation.
33143
2cae4995
AS
331442011-08-23 Andreas Schwab <schwab@redhat.com>
33145
33146 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
33147 backslash.
33148
873a772e
AJ
331492011-07-04 Aurelien Jarno <aurelien@aurel32.net>
33150
33151 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
33152 protection macro.
33153 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
33154 and <dl-machine.h>.
33155 (Elf64_FuncDesc): Remove.
33156
25ad0df1
DM
331572011-08-22 David S. Miller <davem@davemloft.net>
33158
33159 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
33160 sigaltstack check, add missing cfi directives.
33161 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
33162 missing cfi directives, and sigaltstack handling.
33163
e888bcbe
AS
331642011-08-16 Andreas Schwab <schwab@redhat.com>
33165
33166 [BZ #11724]
33167 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
33168 object is seen twice.
33169 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33170
33171 * elf/Makefile (distribute): Add tst-initorder2.c.
33172 (tests): Add tst-initorder2.
33173 (modules-names): Add tst-initorder2a tst-initorder2b
33174 tst-initorder2c tst-initorder2d. Add rules to build them.
33175 ($(objpfx)tst-initorder2.out): New rule.
33176 * elf/tst-initorder2.c: New file.
33177 * elf/tst-initorder2.exp: New file.
33178
87162f46
AS
331792011-08-22 Andreas Schwab <schwab@redhat.com>
33180
70538b7f
AS
33181 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
33182
f55ffe58
AS
33183 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
33184 dependencies back to end of function.
33185
87162f46
AS
33186 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33187 $(elfobjdir)/ld.so.
33188
91b392a4
UD
331892011-08-21 Ulrich Drepper <drepper@gmail.com>
33190
33191 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
33192 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
33193 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
33194 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
33195 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
33196 of __vdso_gettimeofday.
33197 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
33198 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
33199 attribute_hidden.
33200 (_libc_vdso_platform_setup): Remove initialization of
33201 __vdso_gettimeofday and __vdso_time.
33202
5c43483f
UD
332032011-08-20 Ulrich Drepper <drepper@gmail.com>
33204
775a77e7
UD
33205 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
33206 and fgetc_unlocked.
33207 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
33208 getc_unlocked.
89f447ed 33209
49c74ba9
UD
33210 * elf/dl-open.c (add_to_global): Report additions to the global scope
33211 for LD_DEBUG=scopes.
33212 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 33213 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 33214
5c43483f
UD
33215 [BZ #13114]
33216 * stdio-common/Makefile (tests): Add bug24.
33217 * stdio-common/bug24.c: New file.
33218
a101b025
AJ
332192011-08-19 Andreas Jaeger <aj@suse.de>
33220
33221 [BZ #13114]
33222 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
33223 non-existant file when using close-on-exec mode.
33224
c88f1766
UD
332252011-08-20 Ulrich Drepper <drepper@gmail.com>
33226
0276a718
UD
33227 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
33228 the very first instruction.
33229
c88f1766
UD
33230 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
33231 the CFI state in the end.
33232 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
33233 inclusion of dl-trampoline.h.
33234 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
33235
51ccffa0
AS
332362011-08-19 Andreas Schwab <schwab@redhat.com>
33237
94d7165f
AS
33238 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
33239 expectations for long double.
33240
51ccffa0
AS
33241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
33242 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
33243
fd708658 332442011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
33245
33246 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
33247 artificual limit depends upon the system page size.
33248
44f0a71e
UD
332492011-08-17 Ulrich Drepper <drepper@gmail.com>
33250
33251 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
33252 * resolv/Makefile: Define CFLAGS-libresolv.
33253
8de79a24
AS
332542011-08-17 Andreas Schwab <schwab@redhat.com>
33255
33256 * nss/makedb.c (compute_tables): Make variables used in nested
33257 function static.
33258
27724598
UD
332592011-08-17 Ulrich Drepper <drepper@gmail.com>
33260
c5305d88
UD
33261 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
33262 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
33263 if buffer was too small.
33264
27724598
UD
33265 * elf/pldd.c (main): Attach to all threads in the process.
33266 Rewrite /proc handling to use *at functions.
33267
076fe015
UD
332682011-08-16 Ulrich Drepper <drepper@gmail.com>
33269
174baab3
UD
33270 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
33271 specifies first scope to show.
33272 (dl_open_worker): Update callers. Move printing scope of new
33273 object to before the relocation.
44f0a71e 33274 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
33275 * sysdeps/generic/ldsodefs.h: Update declaration.
33276
076fe015
UD
33277 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
33278 string for the scope number.
33279
a60df2c3
UD
332802011-08-14 Ulrich Drepper <drepper@gmail.com>
33281
33282 * nscd/servicescache.c (cache_addserv): Make sure written is always
33283 initialized.
33284
5e4287d1
RM
332852011-08-14 Roland McGrath <roland@hack.frob.com>
33286
85ae0589
RM
33287 * sysdeps/i386/i486/bits/atomic.h
33288 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
33289 statement expression, so as to suppress "set but not used" warning.
33290 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
33291
69f63097
RM
33292 * string/strncat.c (STRNCAT): Use prototype definition.
33293
675456ef
RM
33294 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
33295 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
33296 -Iprograms here.
33297 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
33298 (localedef-modules): Add localedef.
33299 (locale-modules): Add locale.
33300
5e4287d1
RM
33301 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
33302 * elf/rtld.c (dl_main): Invert order of assignment in last change,
33303 to avoid a warning.
33304
9c96ff23
DM
333052011-08-14 David S. Miller <davem@davemloft.net>
33306
33307 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
33308 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
33309
f9ddf089
UD
333102011-08-13 Ulrich Drepper <drepper@gmail.com>
33311
44f0a71e 33312 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
33313 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
33314 * elf/rtld.c (dl_main): Set l_name of vDSO.
33315 Call _dl_show_scope when DL_DEBUG_SCOPES.
33316 (process_dl_debug): Recognize scopes flag and also set it for all.
33317 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
33318 Declare _dl_show_scope.
33319
1dc27704
UD
33320 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
33321 (do_dlopen): Pass caller_dlopen to dl_open.
33322 (__libc_dlopen_mode): Initialize caller_dlopen.
33323
f9ddf089
UD
33324 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
33325 of libc. Make tolower call locale-independent. Optimize a bit by
33326 using isdigit instead of isalnum.
33327 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
33328
9ac533d3
UD
333292011-08-12 Ulrich Drepper <drepper@gmail.com>
33330
33331 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
33332 was a dependency or dynamically loaded.
33333
89edf2e9
UD
333342011-08-11 Ulrich Drepper <drepper@gmail.com>
33335
8e999d29
UD
33336 * intl/l10nflist.c: Allow architecture-specific pop function.
33337 * sysdeps/x86_64/l10nflist.c: New file.
33338
89edf2e9
UD
33339 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
33340 classification.
33341
14d96785
AS
333422011-08-10 Andreas Schwab <schwab@redhat.com>
33343
33344 * include/dirent.h: Add libc_hidden_proto for scandirat and
33345 scandirat64. Don't declare __scandirat64.
33346 * dirent/scandirat.c: Add libc_hidden_def.
33347 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
33348 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
33349
6761ac04
DM
333502011-08-10 David S. Miller <davem@davemloft.net>
33351
33352 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
33353 enum.
33354 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33355 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33356 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33357
c55fbd1e
UD
333582011-08-09 Ulrich Drepper <drepper@gmail.com>
33359
33360 * Versions.def [libc]: Add GLIBC_2.15.
33361 * dirent/Makefile (routines): Add scandirat and scandirat64.
33362 * dirent/Versions [libc]: Export scandirat and scandirat64 for
33363 GLIBC_2.15.
33364 * dirent/dirent.h: Declare scandirat and scandirat64.
33365 * dirent/scandirat.c: New file.
33366 * dirent/scandirat64.c: New file.
33367 * sysdeps/wordsize-64/scandirat.c: New file.
33368 * sysdeps/wordsize-64/scandirat64.c: New file.
33369 * dirent/opendir.c: Define opendirat.
33370 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
33371 using scandirat.
33372 * dirent/scandir64.c: Adjust for scandir.c change.
33373 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
33374 __scandirat64, and __scandir_cancel_handler.
33375 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
33376 additional parameter and use openat instead of open (outside of ld.so).
33377 Add new __opendir as wrapper around __opendirat.
33378 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
33379 here without requiring old scandirat implementation.
33380
879165f2
UD
333812011-08-08 Ulrich Drepper <drepper@gmail.com>
33382
33383 * dirent/scandir.c (cancel_handler): Renamed to
33384 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
33385 defined. Adjust users.
33386 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
33387 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
33388
cb7e923b
UD
333892011-08-04 Ulrich Drepper <drepper@gmail.com>
33390
16292edd
UD
33391 * string/test-string.h (IMPL): Use __STRING to expand name and then
33392 stringify it.
33393
cb7e923b
UD
33394 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
33395 of cleanups.
33396
cff82933
LD
333972011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33398
33399 * string/Makefile: Update.
33400 (strop-tests): Append strncat.
33401 * string/test-wcscmp.c: New file.
33402 New comprehensive test for wcscmp.
33403 * string/test-strcmp.c: Update.
33404 (WIDE): New define.
33405
9be9bfcc
AS
334062011-07-22 Andreas Schwab <schwab@redhat.com>
33407
33408 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
33409 line.
33410
2e96f1c7
AS
334112011-07-26 Andreas Schwab <schwab@redhat.com>
33412
33413 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33414 encoding to ACE if AI_IDN.
33415
85188888
JJ
334162011-08-01 Jakub Jelinek <jakub@redhat.com>
33417
33418 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
33419 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
33420
5fa16e9b
LD
334212011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33422
33423 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
33424 Fix overflow bug in strncat.
33425 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
33426
33427 * string/test-strncat.c: Update.
33428 Add new tests for checking overflow bugs.
33429
334302011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33431
33432 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33433 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
33434 * sysdeps/i386/i686/multiarch/strcat.S: New file.
33435 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
33436 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
33437 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
33438 * sysdeps/i386/i686/multiarch/strncat.S: New file.
33439 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
33440 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
33441
33442 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
33443 (USE_AS_STRCAT): Define.
33444 Add strcat and strncat support.
33445 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33446
8c1a459f
AS
334472011-07-25 Andreas Schwab <schwab@redhat.com>
33448
33449 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
33450 __n bigger than INT_MAX+1.
33451 (__strncmp_g): Likewise.
33452
bba33c28
UD
334532011-07-23 Ulrich Drepper <drepper@gmail.com>
33454
798be72d
UD
33455 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
33456 * libio/stido.h: Likewise.
33457
8accd4dc
UD
33458 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
33459 (AF_NFC): Define.
33460 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
33461 (AF_NFC): Define.
33462
cbff0d96
UD
33463 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
33464 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33465 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33466 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33467 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33468
9191c04a
UD
33469 [BZ #13021]
33470 * scripts/test-installation.pl: Don't expect libnss_test1 to be
33471 installed.
33472
bba33c28
UD
33473 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
33474 typo.
33475 (_dl_x86_64_save_sse): Likewise.
33476
90f139dd
UD
334772011-07-22 Ulrich Drepper <drepper@gmail.com>
33478
1aae088a
UD
33479 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
33480 OSXSAVE.
33481 (_dl_x86_64_save_sse): Likewise.
33482
8e2045f5
UD
33483 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
33484
90f139dd
UD
33485 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
33486
1d002f25
AS
334872011-07-21 Andreas Schwab <schwab@redhat.com>
33488
33489 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
33490 change.
33491 (_dl_x86_64_save_sse): Use correct AVX check.
33492
21137f89
UD
334932011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33494
33495 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
33496 bug in strncpy/strncat.
33497 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
33498
a65c0b7a
UD
334992011-07-21 Ulrich Drepper <drepper@gmail.com>
33500
33501 * string/tester.c (test_strcat): Add tests for different alignments
33502 of source and destination.
33503 (test_strncat): Likewise.
33504
6986b98a
UD
335052011-07-20 Ulrich Drepper <drepper@gmail.com>
33506
90bb2039
UD
33507 [BZ #12852]
33508 * posix/glob.c (glob): Check passed in values before using them in
33509 expressions to avoid some overflows.
33510 (glob_in_dir): Likewise.
33511
5644ef54
UD
33512 [BZ #13007]
33513 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
33514 check for AVX enablement so that we don't crash with old kernels and
33515 new hardware.
33516 * elf/tst-audit4.c: Add same checks here.
33517 * elf/tst-audit6.c: Likewise.
33518
33519 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 33520
bfc9dc9b
AS
335212011-07-09 Andreas Schwab <schwab@linux-m68k.org>
33522
33523 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
33524
702e64bb
UD
335252011-07-20 Ulrich Drepper <drepper@gmail.com>
33526
33527 * po/cs.po: Update from translation team.
33528 * po/bg.po: Likewise.
33529
295e904f
MP
335302011-07-12 Marek Polacek <mpolacek@redhat.com>
33531
33532 * misc/sys/cdefs.h: Add support for const attribute.
33533 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
33534 to gnu_dev_{major,minor,makedev} functions.
33535
3ff94596
MP
335362011-07-20 Marek Polacek <mpolacek@redhat.com>
33537
33538 * intl/dcigettext.c (get_output_charset): Add missing bracket.
33539
28b59fca
AS
335402011-07-20 Andreas Schwab <schwab@redhat.com>
33541
33542 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
33543 strlen results.
33544
19df733e
AK
335452011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33546
33547 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
33548 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
33549 register in order to avoid conflicts with the soft frame pointer
33550 being held in r11 when necessary.
33551 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
33552 (INTERNAL_VSYSCALL_NCS): Likewise.
33553
c8835729
MP
335542011-07-14 Marek Polacek <mpolacek@redhat.com>
33555
33556 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
33557 * elf/dl-fini.c (_dl_fini): Adjust caller.
33558 * elf/dl-close.c (_dl_close_worker): Likewise.
33559 * sysdeps/generic/ldsodefs.h: Adjust declaration.
33560
b902330c
MP
335612011-07-15 Marek Polacek <mpolacek@redhat.com>
33562
8991e135
MP
33563 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
33564 "aux_cache->nlibs < 0".
33565
b902330c
MP
33566 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
33567 in the reload-count case.
33568
99710781
LD
335692011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33570
33571 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33572 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
33573 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
33574 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
33575 * sysdeps/x86_64/multiarch/strcat.S: New file.
33576 * sysdeps/x86_64/multiarch/strncat.S: New file.
33577 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
33578 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
33579 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
33580 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
33581 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
33582 (USE_AS_STRCAT): Define.
33583 Add strcat and strncat support.
33584 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33585 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33586 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
33587 * string/strncat.c: Update.
33588 (USE_AS_STRNCAT): Define.
33589 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33590 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
33591 and i7.
33592 * sysdeps/x86_64/multiarch/init-arch.h
33593 (bit_Prefer_PMINUB_for_stringop): New.
33594 (index_Prefer_PMINUB_for_stringop): Likewise.
33595 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
33596 bit_Prefer_PMINUB_for_stringop.
33597
7dc6bd90
UD
335982011-07-19 Ulrich Drepper <drepper@gmail.com>
33599
33600 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
33601 buffer64.
33602 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
33603 of casting of buffer.
33604 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
33605 buffer32 and buffer64.
33606 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
33607 writes instead of casting of buffer.
33608 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
33609 buffer32.
33610 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
33611 casting of buffer.
33612
e0e72284
AS
336132011-07-19 Andreas Schwab <schwab@redhat.com>
33614
33615 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
33616
feb1eb0b
UD
336172011-07-19 Ulrich Drepper <drepper@gmail.com>
33618
33619 * nscd/nscd.c (termination_handler): Don't do anything for a database
33620 if it has not yet been initialized.
33621
298711ff
UD
336222011-07-18 Ulrich Drepper <drepper@gmail.com>
33623
33624 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33625
336262011-07-15 Marek Polacek <mpolacek@redhat.com>
33627
33628 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33629
f9d68389
UD
336302011-07-18 Ulrich Drepper <drepper@gmail.com>
33631
33632 * po/nl.po: Update from translation team.
33633 * po/sv.po: Likewise.
33634
db290cf5
RM
336352011-07-16 Roland McGrath <roland@hack.frob.com>
33636
33637 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
33638 now disallowed by GCC.
5c550700 33639
fd5e21c7
RM
33640 * configure.in (use-default-link): Default to yes if a test -shared
33641 link meets our qualifications.
33642 * configure: Regenerated.
33643
5c550700
RM
33644 * config.make.in (output-format): New variable.
33645 * configure.in: Check for ld --print-output-format support.
33646 * configure: Regenerated.
33647 * Makerules ($(common-objpfx)format.lds)
33648 [$(output-format) != unknown]: Just use $(output-format),
33649 instead of the linker-script munging.
33650
9fa2c032
RM
336512011-07-14 Roland McGrath <roland@hack.frob.com>
33652
a6928d51
RM
33653 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
33654 of $(common-objpfx)shlib.lds.
33655 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
33656
661607b3
RM
33657 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
33658 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
33659
9fa2c032
RM
33660 * configure.in (-z relro check): Adjust test code to add a large
33661 writable data section after it.
33662 * configure: Regenerated.
33663
defe9061
RM
336642011-07-11 Roland McGrath <roland@hack.frob.com>
33665
33666 * configure.in (-z relro check): Fix test code to make the variable
33667 truly const.
33668 * configure: Regenerated.
33669
319b9ad4
UD
336702011-07-11 Ulrich Drepper <drepper@gmail.com>
33671
33672 * nscd/nscd.h (struct traced_file): Define.
33673 (struct database_dyn): Remove inotify_descr, reset_res, and filename
33674 elements. Add traced_files.
33675 (inotify_fd): Declare.
33676 (register_traced_file): Declare.
33677 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
33678 (inotify_fd): Export.
33679 (resolv_conf_descr): Remove.
33680 (nscd_init): Move inotify descriptor creation to main.
33681 Don't register files for notification here.
33682 (register_traced_file): New function.
33683 (invalidate_cache): Don't use reset_res to determine whether to call
33684 res_init, go through the list of registered files.
33685 (main_loop_poll): The inotify descriptors are now stored in the
33686 structures for the traced files.
33687 (main_loop_epoll): Likewise
33688 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
33689 to __nss_disable_nscd.
33690 * nscd/cache.c (prune_cache): There is no single inotify descriptor
33691 for a database anymore. Check the records for all the registered
33692 files instead.
33693 * nss/Makefile (libnss_files-routines): Add files-init.
33694 (libnss_db-routines): Add db-init.
33695 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
33696 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
33697 * nss/nss_db/db-init.c: New file.
33698 * nss/nss_files/files-init.c: New file.
33699 * nss/nsswitch.c (nss_load_library): New function. Broken out of
33700 __nss_lookup_function.
33701 (__nss_lookup_function): Call nss_load_library.
33702 (nss_load_all_libraries): New function.
33703 (__nss_disable_nscd): Take parameter with callback function for files
33704 to register. Set is_nscd. Load all the DSOs for the NSS modules
33705 used for the cached services.
33706 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
33707 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
33708 options for features to all the files in nscd.
33709
33710 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
33711
23bee3e8
RM
337122011-07-10 Roland McGrath <roland@hack.frob.com>
33713
33714 * csu/elf-init.c (__libc_csu_init): Comment typo.
33715
46a5b7f0
UD
337162011-07-09 Ulrich Drepper <drepper@gmail.com>
33717
33718 * po/pl.po: Update from translation team.
33719 * po/ja.po: Likewise.
33720 * po/ru.po: Likewise.
33721 * po/ko.po: Likewise.
33722 * po/fr.po: Likewise.
33723
d30cf5bb
RM
337242011-07-09 Roland McGrath <roland@hack.frob.com>
33725
113ddea4
RM
33726 * configure.in (.ctors/.dtors header and trailer check):
33727 Use an empirical test on a built program.
33728 * configure: Regenerated.
33729
574920b4
RM
33730 * configure.in (-z relro check): Use an empirical test on a built DSO.
33731 Detect, but do not require, on ia64.
33732 * configure: Regenerated.
33733
d30cf5bb
RM
33734 * configure.in (READELF): Find it with AC_CHECK_TOOL.
33735 Update tests that use readelf to use $READELF instead.
33736 * configure: Regenerated.
33737
8538fdb3
UD
337382011-07-08 Ulrich Drepper <drepper@gmail.com>
33739
33740 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
33741 if the result is not used.
33742
04d08991
AJ
337432011-07-05 Andreas Jaeger <aj@suse.de>
33744
33745 [BZ#9696]
33746 * stdlib/tst-strtod.c: Add testcase.
33747
de283087
AD
337482011-07-07 Ulrich Drepper <drepper@gmail.com>
33749
4e5f31c8 33750 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 33751 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
33752 The latter has a higher limit. Take additional parameter to pass to
33753 the new function.
33754 (__pathconf): Pass file to __statfs_link_max.
33755 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
33756 __statfs_link_max.
33757 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
33758 __statfs_link_max.
33759
de283087
AD
33760 [BZ #12868]
33761 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
33762 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33763 Handle Lustre.
33764 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
33765 (__statfs_filesize_max): Likewise.
33766 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
33767
c75fa153
AJ
337682011-07-05 Andreas Jaeger <aj@suse.de>
33769
33770 * resolv/res_comp.c (dn_skipname): Remove unused variable.
33771
1a544854
UD
337722011-07-06 Marek Polacek <mpolacek@redhat.com>
33773
33774 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
33775 `status' variable.
33776 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
33777 Likewise.
33778
6f0eec67
UD
337792011-07-04 H.J. Lu <hongjiu.lu@intel.com>
33780
33781 * Makefile (strop-tests): Add strncat.
33782 * string/test-strncat.c: New file.
33783
aae30307
UD
337842011-06-30 Marek Polacek <mpolacek@redhat.com>
33785
33786 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
33787
c0cfb5eb
UD
337882011-06-21 Andreas Jaeger <aj@suse.de>
33789
33790 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
33791 Copy rule from iconvdata/Makefile.
33792
01636b21
UD
337932011-07-06 Ulrich Drepper <drepper@gmail.com>
33794
33795 [BZ #12922]
33796 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
33797 but no long options are defined, just return 'W'.
33798
9895c8bc
UD
337992011-06-22 Marek Polacek <mpolacek@redhat.com>
33800
33801 [BZ #9696]
33802 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
33803
5d4cf042
UD
338042011-07-06 Ulrich Drepper <drepper@gmail.com>
33805
33806 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
33807 netgroups to read.
960e5535 33808 (innetgr): Likewise.
5d4cf042 33809
751eb97e
RM
338102011-07-05 Roland McGrath <roland@hack.frob.com>
33811
33812 * config.make.in (install_root): Default to $(DESTDIR).
33813
f15f1e45
UD
338142011-07-05 Ulrich Drepper <drepper@gmail.com>
33815
33816 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
33817
4e34ac6a
RM
338182011-07-02 Roland McGrath <roland@hack.frob.com>
33819
5e9b6af4
RM
33820 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
33821
84f9ea0f
RM
33822 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
33823 containing directory rather than embedding absolute directory names.
33824
ea5ee9f7
RM
33825 * scripts/check-local-headers.sh: Rewritten using awk.
33826 Match by word, not by line. Print error messages for matches.
33827 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
33828
1b74661a
RM
33829 * Makerules [shlib-lds-flags empty]:
33830 ($(common-objpfx)libc_pic.opts): New target.
33831 ($(common-objpfx)libc_pic.os.clean): New target.
33832 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
33833
33834 * config.make.in (OBJCOPY): New variable.
33835 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
33836 * configure: Regenerated.
33837
f781ef40
RM
33838 * config.make.in (use-default-link): New variable.
33839 * configure.in (use_default_link): Grok --with-default-link to set it.
33840 * configure: Regenerated.
33841 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
33842 (shlib-lds, shlib-lds-flags): Define to empty.
33843
2d4fa81e
RM
33844 * Makerules (shlib-lds): New variable.
33845 (shlib-lds-flags): New variable.
33846 (build-shlib, build-moduile, build-module-asneeded): Use it.
33847 ($(common-objpfx)libc.so): Use $(shlib-lds).
33848 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
33849 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
33850
31fffa6b
RM
33851 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
33852 DT_FLAGS/DT_FLAGS_1 with zero flags.
33853
4e34ac6a
RM
33854 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
33855 linker script munging.
33856
fcfc776b
UD
338572011-07-02 Ulrich Drepper <drepper@gmail.com>
33858
33859 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
33860 as 128-bit value.
33861 * crypt/sha512.c (sha512_process_block): Perform total addition using
33862 128-bit if possible.
33863 (__sha512_finish_ctx): Likewise.
33864 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
33865 as 64-bit value.
33866 * crypt/sha256.c (SWAP64): Define.
33867 (sha256_process_block): Perform total addition using 64-bit if
33868 possible.
33869 (__sha256_finish_ctx): Likewise.
33870
99231d9a
UD
338712011-07-01 Ulrich Drepper <drepper@gmail.com>
33872
33873 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
33874 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33875 * nscd/hstcache.c (cache_addhst): Likewise.
33876 * nscd/grpcache.c (cache_addgr): Likewise.
33877 * nscd/aicache.c (addhstaiX): Likewise
33878 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
33879
445b4a53
TK
338802011-07-01 Thorsten Kukuk <kukuk@suse.de>
33881
33882 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
33883 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33884 * nscd/hstcache.c (cache_addhst): Likewise.
33885 * nscd/grpcache.c (cache_addgr): Likewise.
33886 * nscd/aicache.c (addhstaiX): Likewise
33887
6d4d8e8e
AS
338882011-07-01 Andreas Schwab <schwab@redhat.com>
33889
33890 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
33891 domain only when needed.
33892
89f654c5
AS
338932011-06-30 Andreas Schwab <schwab@redhat.com>
33894
33895 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
33896 is always restored.
33897
cf3b23ff
UD
338982011-06-29 Ulrich Drepper <drepper@gmail.com>
33899
33900 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
33901 are re-adding the entry.
33902 * nscd/servicescache.c (cache_addserv): Likewise.
33903
751626f9
AJ
339042011-06-30 Aurelien Jarno <aurelien@aurel32.net>
33905
33906 * sysdeps/generic/dl-irel.h: fix protection against multiple
33907 inclusions.
33908 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
33909
9113ea1f
UD
339102011-06-28 Ulrich Drepper <drepper@gmail.com>
33911
5c0b8d90
UD
33912 [BZ #12935]
33913 * malloc/memusage.sh: Fix quoting in message.
33914 * debug/xtrace.sh: Likewise.
33915
9113ea1f
UD
33916 * configure.in: Remove support for --experimental-malloc option, make
33917 it the default.
33918 * config.make.in: Likewise.
33919 * malloc/Makefile: Likewise.
33920
a4172181
AS
339212011-06-27 Andreas Schwab <schwab@redhat.com>
33922
33923 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
33924 two-byte characters.
33925
78a7eee7
RM
339262011-06-27 Roland McGrath <roland@hack.frob.com>
33927
62bede13
RM
33928 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
33929 AC_CACHE_CHECK invocation.
33930 * configure: Regenerated.
33931
78a7eee7
RM
33932 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
33933
5ce33a62
UD
339342011-06-27 Ulrich Drepper <drepper@gmail.com>
33935
034807a9
UD
33936 [BZ #12350]
33937 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
33938 bit from old_res_options.
33939
4902da17
UD
33940 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
33941
5ce33a62
UD
33942 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
33943 value type for setfct.
33944
c2344f56
L
339452011-06-23 H.J. Lu <hongjiu.lu@intel.com>
33946
33947 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33948 __gettimeofday instead of gettimeofday.
33949
68468076
UD
339502011-06-26 Ulrich Drepper <drepper@gmail.com>
33951
33952 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
33953
acb0d739
L
339542011-06-24 H.J. Lu <hongjiu.lu@intel.com>
33955
33956 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
33957
33958 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
33959 info.
33960
8912479f
L
339612011-06-22 H.J. Lu <hongjiu.lu@intel.com>
33962
33963 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33964 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33965 strcpy-sse2-unaligned strncpy-sse2-unaligned
33966 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
33967 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
33968 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
33969 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
33970 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
33971 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
33972 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
33973 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
33974 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
33975 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
33976 (STRCPY): Support SSE2 and SSSE3 versions.
33977
d5495a11
UD
339782011-06-24 Ulrich Drepper <drepper@gmail.com>
33979
33980 [BZ #12874]
33981 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
33982 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
33983 kernels which artificially limit size of requests.
33984
0b1cbaae
L
339852011-06-22 H.J. Lu <hongjiu.lu@intel.com>
33986
33987 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33988 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33989 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
33990 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
33991 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
33992 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
33993 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
33994 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
33995 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
33996 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
33997 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
33998 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
33999 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
34000 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
34001 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
34002 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34003 Enable unaligned load optimization for Intel Core i3, i5 and i7
34004 processors.
34005 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
34006 Define.
34007 (index_Fast_Unaligned_Load): Define.
34008 (HAS_FAST_UNALIGNED_LOAD): Define.
34009
07f494a0
MP
340102011-06-23 Marek Polacek <mpolacek@redhat.com>
34011
34012 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
34013
fa3fc0fe
UD
340142011-06-22 Ulrich Drepper <drepper@gmail.com>
34015
34016 [BZ #12907]
34017 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
34018 until it is clear that the information is realy needed.
34019 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
34020
e12df166
AS
340212011-06-22 Andreas Schwab <schwab@redhat.com>
34022
34023 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
34024
852eb34d
UD
340252011-06-22 Ulrich Drepper <drepper@gmail.com>
34026
84e2a551
UD
34027 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34028 /sys/devices/system/cpu/online if it is usable.
34029
852eb34d
UD
34030 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
34031 reading the information from the /proc filesystem to once a second.
34032
6e502e19
UD
340332011-06-21 Andreas Jaeger <aj@suse.de>
34034
34035 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
34036 NULL after inclusion of kernel headers.
34037
75d39ff2
UD
340382011-06-21 Ulrich Drepper <drepper@gmail.com>
34039
51f9aa6a
UD
34040 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
34041 calls to internal_setent.
34042
c0244a9d
UD
34043 [BZ #12885]
34044 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
34045 addresses using gethostbyname4_r ignore IPv4 addresses.
34046
c5e3c2ae
UD
34047 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
34048 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
34049
75d39ff2
UD
34050 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
34051
42675c6f
DM
340522011-06-20 David S. Miller <davem@davemloft.net>
34053
34054 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
34055 inclusions.
34056 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
34057
34058 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
34059 (elf_irel): Use it.
34060 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
34061 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
34062 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
34063 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
34064 * sysdeps/x86_64/dl-irel.h: Likewise.
34065
34066 * elf/dl-runtime.c: Use elf_ifunc_invoke.
34067 * elf/dl-sym.c: Likewise.
34068
57912a71
UD
340692011-06-15 Ulrich Drepper <drepper@gmail.com>
34070
34071 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
34072 need to dereference resplen2.
34073
ee22793d
AS
340742011-06-14 Andreas Schwab <schwab@redhat.com>
34075
34076 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
34077
a9e836b0
UD
340782011-06-15 Ulrich Drepper <drepper@gmail.com>
34079
77fb9117
UD
34080 * Makeconfig: Define vardbdir and inst_vardbdir.
34081 * nss/Makefile: Add rules to install db-Makefile.
34082
40c1b22c
UD
34083 * nss/nss_db/db-XXX.c: Cleanup.
34084
9f2da732
UD
34085 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
34086 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
34087 GLIBC_PRIVATE.
34088 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
34089 * nss/makedb.c: Implement -g option to specify that value strings
34090 are generated and should not be added to table iterated over for
34091 get*ent calls.
34092 * nss/nss_db/db-initgroups.c: New file.
34093
82e9a1f7
UD
34094 * nss/getent.c: Add support for initgroups lookups through getgrouplist
34095 interface.
34096
c41af17e
UD
34097 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
34098 (internal_getgrouplist): Adjust to name change.
34099 Update use_initgroups_entry if this is not the first call.
34100 * nss/databases.def: Add initgroups entry.
34101
a9e836b0
UD
34102 * nss/makedb.c (compute_tables): Check result of multiple hash table
34103 sizes to minimize maximum chain length.
34104
2666d441
UD
341052011-06-14 Ulrich Drepper <drepper@gmail.com>
34106
34107 * Versions.def: Add entry for libnss_db.
34108 * shlib-versions: Likewise.
34109 * nss/Makefile: Add rules to build libnss_db.
34110 * nss/Versions: Add libnss_db information. Organize libnss_files
34111 entries better.
34112 * nss/db-Makefile: Add gshadow support. Change rules for the new
34113 makedb progra. Some minor improvements to generate smaller files.
34114 * nss/nss_db/nss_db.h: Move NSS database header data structures to
34115 here from...
34116 * nss/makedb.c: ...here.
34117 Improve database format to be smaller and require less memory at
34118 runtime.
34119 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
34120 db anymore.
34121 * nss/nss_db/db-netgrp.c: Likewise.
34122 * nss/nss_db/db-open.c: Likewise.
34123 * nss/nss_files/flies-XXX.x: Adjust comments.
34124 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
34125 * nss/nss_files/files-grp.c: Likewise.
34126 * nss/nss_files/files-hosts.c: Likewise.
34127 * nss/nss_files/files-network.c: Likewise.
34128 * nss/nss_files/files-proto.c: Likewise.
34129 * nss/nss_files/files-pwd.c: Likewise.
34130 * nss/nss_files/files-rpc.c: Likewise.
34131 * nss/nss_files/files-service.c: Likewise.
34132 * nss/nss_files/files-sgrp.c: Likewise.
34133 * nss/nss_files/files-spwd.c: Likewise.
34134 * nss/nss_db/db-alias.c: Removed.
34135 * nss/nss_db/dummy-db.h: Removed.
34136
9ee76b5a
UD
341372011-06-02 Ulrich Drepper <drepper@gmail.com>
34138
34139 * nss/makedb.c: Rewritten to not use database library.
34140 * nss/Makefile: Update to build new makedb program.
34141
c71ca1f8
AJ
341422011-06-14 Andreas Jaeger <aj@suse.de>
34143
34144 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
34145 memset declaration.
34146
3154bfb8
UD
341472011-06-10 Andreas Schwab <schwab@redhat.com>
34148
34149 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
34150 tmpbuf.
34151
b350afab
RM
341522011-06-10 Roland McGrath <roland@hack.frob.com>
34153
decd4e50
RM
34154 * Makerules (shlib.lds): Fail if the linker script comes out empty.
34155 * elf/Makefile ($(objpfx)ld.so): Likewise.
34156
5615eaf2
RM
34157 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
34158 Don't list ld.so twice in dependencies.
34159
34160 * posix/bug-regex31.c: Include <stdlib.h>.
34161
34162 * nscd/hstcache.c (cache_addhst): Remove unused variable.
34163
34164 * nis/nss_compat/compat-spwd.c
34165 (getspent_next_nss_netgr): Remove unused variable.
34166 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
34167
34168 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
34169 nonmembers" output to use the right array.
34170
34171 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
34172
34173 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
34174
34175 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
34176 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
34177 * catgets/gencat.c (read_input_file): Likewise.
34178 * locale/programs/locarchive.c (enlarge_archive): Likewise.
34179
34180 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
34181 variable definition inside #if's controlling its use.
34182
34183 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
34184
34185 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
34186
34187 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
34188
34189 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
34190 unreachable code.
34191
34192 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
34193
b68e08db
RM
34194 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
34195 * configure: Regenerated.
34196
b350afab
RM
34197 * Makerules: Revert last change.
34198 * elf/Makefile: Likewise.
34199
28368601
RM
342002011-06-09 Roland McGrath <roland@hack.frob.com>
34201
34202 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
34203 * elf/Makefile ($(objpfx)librtld.os): Likewise.
34204 (reloc-link): Likewise.
34205
11988f8f
UD
342062011-06-09 Ulrich Drepper <drepper@gmail.com>
34207
34208 * elf/Makefile: Add rules to build pldd.
34209 * elf/pldd.c: New file.
34210 * elf/pldd-xx.c: New file.
34211
e80fab37
UD
342122011-06-07 Ulrich Drepper <drepper@gmail.com>
34213
34214 * version.h: Update for 2.15 development version.
34215
9b849836
DM
342162011-06-07 David S. Miller <davem@davemloft.net>
34217
34218 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
34219 ifuncs.
34220 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
34221 elf_machine_lazy_rel): Likewise.
34222 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
34223 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
34224 elf_machine_lazy_rel): Likewise.
34225 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
34226 dl_hwcap via passed in argument.
34227 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
34228 Likewise.
34229
5a31b283
AK
342302011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34231
34232 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
34233
069e52f8
RM
342342011-06-06 Roland McGrath <roland@hack.frob.com>
34235
34236 [BZ #12849]
34237 * manual/fdl-1.1.texi: New file, verbatim from:
34238 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
34239 * manual/lgpl-2.1.texi: New file, verbatim from:
34240 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
34241 * manual/Makefile (licenses): New variable, list those new file names.
34242 (texis): Use it.
34243 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
34244
34245 * manual/fdl.texi: File removed.
34246 * manual/lesser.texi: File removed.
34247 * manual/libc.texinfo (Copying, Documentation License):
34248 Use new @include file names, put @appendix directive before @include.
34249
f16846a5
JJ
342502011-06-04 Jakub Jelinek <jakub@redhat.com>
34251
34252 [BZ #12841]
34253 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
34254 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
34255 (mq_open): Add __NTH.
34256
3d29045b
L
342572011-06-02 H.J. Lu <hongjiu.lu@intel.com>
34258
34259 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34260 Assume Intel Core i3/i5/i7 processor if AVX is available.
34261
8c297311
UD
342622011-05-31 Ulrich Drepper <drepper@gmail.com>
34263
34264 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34265 typo.
34266
c8fc0c91
UD
342672011-05-31 Andreas Schwab <schwab@redhat.com>
34268
34269 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
34270 memory. Use alloca_account. Fix memory leak when retrying.
34271
5b27a807
UD
342722011-05-31 Ulrich Drepper <drepper@gmail.com>
34273
356f8bc6
UD
34274 * version.h (RELEASE): Bump for 2.14 release.
34275 * include/features.h (__GLIBC_MINOR__): Bump to 14.
34276
5b27a807
UD
34277 * config.make.in (RANLIB): Remove entry.
34278
01f16ab0
UD
342792011-05-30 Ulrich Drepper <drepper@gmail.com>
34280
41fce8bd
UD
34281 * po/Makefile (po-sed-cmd): Add ksh to extensions.
34282 (libc.pot): Work around missing support for .ksh extension in xgettext.
34283
4769ae77
UD
34284 [BZ #12684]
34285 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
34286 if both request failed.
34287 (send_dg): In case of server errors clear resplen or *resplen2.
34288
6b1e7d19
UD
34289 [BZ #12454]
34290 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
34291 when there are multiple maps.
34292 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
34293 (_dl_fini): Remove test here.
34294
01f16ab0
UD
34295 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
34296
b1ebd700
UD
342972011-05-29 Ulrich Drepper <drepper@gmail.com>
34298
7ae22829
UD
34299 [BZ #12350]
34300 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
34301 bit from old_res_options.
34302 (gaih_inet): Likewise.
34303
553149f6 34304 [BZ #11099]
18a84741 34305 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
34306 as signed.
34307
652ffab1
UD
34308 * resolv/res_init.c (res_setoptions): Make the code more compact.
34309
16985fd0
UD
34310 [BZ #11558]
34311 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
34312 set RES_USEVC.
34313
0464f746
UD
34314 [BZ #11634]
34315 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
34316
7d17596c
UD
34317 * malloc/malloc.h: Mark malloc hook variables as deprecated.
34318
cf6bbbd7
UD
34319 [BZ #11781]
34320 * malloc/malloc.h: Declare malloc hook variables as volatile.
34321
13f1ab36
UD
34322 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
34323 in last patch.
34324
b1ebd700
UD
34325 [BZ #11799]
34326 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 34327 raise in the comment.
80e2212d
UD
34328 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34329 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34330 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 34331
ce67228d
UD
343322011-05-28 Ulrich Drepper <drepper@gmail.com>
34333
8887a920
UD
34334 [BZ #12811]
34335 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
34336 grow the buffers more if it already has to be sufficient.
34337 (build_wcs_upper_buffer): Likewise.
34338 * posix/regexec.c (check_matching): Likewise.
34339 (clean_state_log_if_needed): Likewise.
34340 (extend_buffers): Don't enlarge buffers beyond size of the input
34341 buffer.
34342 Patches mostly by Emil Wojak <emil@wojak.eu>.
34343 * posix/bug-regex32.c: New file.
34344 * posix/Makefile (tests): Add bug-regex32.
34345
4f031072
UD
34346 * locale/findlocale.c (_nl_find_locale): Return right away if
34347 _nl_explode_name failed.
34348 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
34349
d0478f0c
UD
34350 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
34351
de81b246
UD
34352 * debug/xtrace.sh: Unify messages.
34353 * malloc/memusage.sh: Likewise.
34354
c738465a
UD
34355 [BZ #12813]
34356 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
34357 time symbol from vDSO. Substitute with vsyscall if not available.
34358 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
34359 __vdso_time.
34360
f1f929d7
UD
34361 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
34362 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
34363 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
34364 Add sendmmsg and internal_sendmmsg.
34365 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
34366 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
34367 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
34368
ce67228d
UD
34369 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
34370 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
34371 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
34372
e57420c6
UD
343732011-05-27 Ulrich Drepper <drepper@gmail.com>
34374
a8509ca5
UD
34375 [BZ #12813]
34376 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
34377 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
34378 available.
34379 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
34380 __vdso_getcpu.
34381
e57420c6
UD
34382 [BZ #12814]
34383 * iconvdata/Makefile (tests): Add bug-iconv9.
34384 * iconvdata/bug-iconv9.c: New file.
34385
4d07db15
AS
343862011-05-27 Andreas Schwab <schwab@redhat.com>
34387
34388 [BZ #12814]
34389 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
34390
ea486f69
JJ
343912011-05-25 Jakub Jelinek <jakub@redhat.com>
34392
34393 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34394 (struct user_regs_struct): Change intcs field back to cs.
34395
6f038433
UD
343962011-05-25 Ulrich Drepper <drepper@gmail.com>
34397
34398 * po/ja.po: Update from translation team.
34399
67f86a25
UD
344002011-05-23 Ulrich Drepper <drepper@gmail.com>
34401
34402 [BZ #12795]
34403 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
34404 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
34405
def7fbd6
AS
344062011-05-20 Andreas Schwab <schwab@redhat.com>
34407
34408 * stdlib/longlong.h: Update from GCC.
34409
f50ef8f1
AS
344102011-05-23 Andreas Schwab <schwab@redhat.com>
34411
34412 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
34413 parameter name.
34414 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
34415 Add parameter name.
34416 (__sysconf): Pass it down.
34417
de7ce8f1
UD
344182011-05-22 Ulrich Drepper <drepper@gmail.com>
34419
f2962a71
UD
34420 [BZ #12671]
34421 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
34422 some situations.
34423 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34424 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
34425 add in in __libc_use_alloca calls. Adjust callers.
34426 (glob): Use malloc in some situations.
34427
de7ce8f1
UD
34428 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
34429 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
34430 pltexit.
34431
aec84f53
UD
344322011-05-21 Ulrich Drepper <drepper@gmail.com>
34433
05bb4a68
UD
34434 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
34435 and CLOCK_BOOTTIME_ALARM.
34436
7ea72f99
UD
34437 [BZ #12782]
34438 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
34439 is returned.
34440
7e4afad5
UD
34441 * string/_strerror.c (__strerror_r): Print negative errors as signed
34442 numbers.
34443
8e211fec
UD
34444 [BZ #12777]
34445 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
34446 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
34447 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
34448
f7d82dc9
UD
34449 * configure.in: Fix typo in redirection and correct removal of test
34450 files in two cases.
34451
cc9e536d
UD
34452 [BZ #12788]
34453 * locale/setlocale.c (new_composite_name): Fix test to check for
34454 identical name of all categories.
34455
aec84f53
UD
34456 [BZ #12792]
34457 * libio/filedoalloc.c (local_isatty): New function.
34458 (_IO_file_doallocate): Use local_isatty.
34459 * stdio-common/perror.c (perror): In case a new stream is used
34460 forward the stream error.
34461 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
34462 error flag.
34463
78e64fdc
RT
344642011-05-20 Ulrich Drepper <drepper@gmail.com>
34465
34a9094f
UD
34466 [BZ #11869]
34467 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
34468 alloca.
34469 * include/alloca.h (extend_alloca_account): Define.
34470
78e64fdc
RT
34471 [BZ #11857]
34472 * posix/regex.h: Fix comments with documentation of user-accessible
34473 fields after compilation and describe correct free'ing of pattern
34474 after re_compile_pattern.
34475 Patch by Reuben Thomas <rrt@sc3d.org>.
34476
457bddfc
RA
344772011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
34478
34479 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
34480 and -mno-altivec to prevent the compiler from using Altivec and/or
34481 VSX instructions when the corresponding registers are not available.
34482
a4527b51
AS
344832011-05-19 Andreas Schwab <schwab@redhat.com>
34484
34485 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
34486
ed690b2f
UD
344872011-05-19 Ulrich Drepper <drepper@gmail.com>
34488
34489 * libio/freopen.c (freopen): Use __dup2, not dup2.
34490 * libio/freopen64.c (freopen64): Likewise.
34491
8db73634
L
344922011-05-17 H.J. Lu <hongjiu.lu@intel.com>
34493
34494 [BZ #12775]
34495 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
34496 * math/Makefile (tests): Add test-powl.
34497 (CFLAGS-test-powl.c): Define.
34498 * math/test-powl.c: New file.
34499
0a197a9d
L
345002011-05-16 H.J. Lu <hongjiu.lu@intel.com>
34501
34502 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
34503
ee30c380
UD
345042011-05-17 Ulrich Drepper <drepper@gmail.com>
34505
34506 [BZ #11837]
34507 * iconvdata/gb18030.c: Update to GB18020-2005.
34508
6ce75379
UD
345092011-05-16 Ulrich Drepper <drepper@gmail.com>
34510
a4b89fd8
AR
34511 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
34512 RE_SYNTAX_POSIX_AWK): Update to match recent development.
34513 Patch by Aharon Robbins <arnold@skeeve.com>.
34514
ea389b12
UD
34515 [BZ #11892]
34516 * stdlib/putenv.c (putenv): Don't always create copy of the variable
34517 on the stack.
34518
68a3f91f
UD
34519 [BZ #11895]
34520 * misc/pselect.c (__pselect): Handle timeout value errors hidden
34521 through underflows.
34522
15cc7dd1
UD
34523 [BZ #12766]
34524 * misc/error.c (error_at_line): Ensure file_name and old_file_name
34525 point to strings before performing equality test for error_one_per_line
34526 mode.
34527
f3799213
UD
34528 [BZ #11697]
34529 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
34530
d79a9c94
UD
34531 [BZ #11820]
34532 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34533 (struct user_fpregs_struct): Avoid __uint*_t types.
34534
56e5eb46
UD
34535 [BZ #6420]
34536 * malloc/mtrace.c (tr_where): Add additional parameter to point to
34537 symbol info. Use it instead of calling _dl_addr locally.
34538 (lock_and_info): New function.
34539 (tr_freehook): Call lock_and_info and pass symbol info as additional
34540 parameter to tr_where.
34541 (tr_mallochook): Likewise.
34542 (tr_reallochook): Likewise.
34543 (tr_memalignhook): Likewise.
34544
6ce75379
UD
34545 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
34546 used and couldn't be at all thread-safe.
34547
f8a3b5bf
UD
345482011-05-15 Ulrich Drepper <drepper@gmail.com>
34549
94b7cc37
UD
34550 * libio/freopen.c (freopen): Don't close old file descriptor
34551 before the new one is opened. Instead dup the new file descriptor
34552 to the old one after the new stream is created.
34553 * libio/freopen64.c (freopen64): Likewise.
34554 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
34555 * libio/fileops.c (_IO_new_file_close_it): Handle new
34556 _IO_FLAGS2_NOCLOSE flag.
34557 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
34558 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
34559 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
34560 _IO_FLAGS2_NOCLOSE flag.
34561 * include/unistd.h: Add hidden_proto for dup3.
34562 Define __have_dup3.
34563 * io/dup3.c: Define hidden symbol.
34564 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
34565
bd25564e
UD
34566 [BZ #7101]
34567 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
34568 when an incomplete long option is used.
34569 * posix/tst-getopt_long1.c: New file.
34570 * posix/Makefile (tests): Add tst-getopt_long1.
34571
c84cfef4
UD
34572 [BZ #10138]
34573 * scripts/config.guess: Update from autoconf-2.68.
34574 * scripts/config.sub: Likewise.
34575
3b85df27
UD
34576 [BZ #10157]
34577 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
34578 tests into ...
34579 (has_cpuclock): ...this. New function.
34580 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
34581 macro here based on has_cpuclock code.
34582
15a856b1
UD
34583 [BZ #10149]
34584 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34585 First byte (not low byte) is now always NUL.
34586 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
34587
05f399e6
UD
34588 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34589 Use non-cancelable interfaces.
34590
10a52685 34591 [BZ #9809]
94ecc67d
UD
34592 * locale/iso-639.def: Add entry for Sorani.
34593
f8a3b5bf
UD
34594 [BZ #11901]
34595 * include/stdlib.h: Move include protection to the right place.
34596 Define abort_msg_s. Declare __abort_msg with it.
34597 * stdlib/abort.c (__abort_msg): Adjust type.
34598 * assert/assert.c (__assert_fail_base): New function. Majority
34599 of code from __assert_fail. Allocate memory for __abort_msg with
34600 mmap.
34601 (__assert_fail): Now call __assert_fail_base.
34602 * assert/assert-perr.c: Remove bulk of implementation. Use
34603 __assert_fail_base.
34604 * include/assert.hL Declare __assert_fail_base.
34605 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
34606 mmap.
34607 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
34608
1af4e298
UD
346092011-05-14 Ulrich Drepper <drepper@gmail.com>
34610
f8a3b5bf 34611 [BZ #11952]
d26dfc60
MG
34612 [BZ #12453]
34613 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
34614 until all modules are registered in the DTV.
34615 * elf/Makefile: Add rules to build and run tst-tls19.
34616 * elf/tst-tls19.c: New file.
34617 * elf/tst-tls19mod1.c: New file.
34618 * elf/tst-tls19mod2.c: New file.
34619 * elf/tst-tls19mod3.c: New file.
34620 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
34621
2fc54d6f
UD
34622 [BZ #12083]
34623 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
34624 correctly.
34625
98d76b46
UD
34626 [BZ #12601]
34627 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
34628 two-byte sequence errors.
34629 * iconvdata/Makefile (tests): Add bug-iconv8.
34630 * iconvdata/bug-iconv8.c: New file.
34631
da3c19ef
UD
34632 [BZ #12626]
34633 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
34634 buf2 definition.
34635
ca408c15
UD
34636 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
34637
d6f67f7d
UD
34638 [BZ #12432]
34639 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
34640 (dummy_getcfa): New function.
34641 (init): Get _Unwind_GetCFA address, use dummy if not found.
34642 (backtrace_helper): In recursion check, also check whether CFA changes.
34643 (__backtrace): Completely initialize arg.
34644
1af4e298 34645 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
34646 storing incomplete byte sequence in state object. Avoid testing for
34647 guaranteed too small input if we know there is enough data available.
1af4e298 34648
da62f81b
AS
346492011-05-11 Andreas Schwab <schwab@redhat.com>
34650
34651 * Makeconfig (+link-pie): Indent.
34652 * Rules (binaries-pie): Define if $(have-fpie) and
34653 $(build-shared).
34654 (binaries-shared): Also filter out $(binaries-pie).
34655 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
34656 * nscd/Makefile (others-pie): Add nscd.
34657 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
34658 ($(objpfx)nscd): Remove command override.
34659 * login/Makefile (others-pie): Add pt_chown.
34660 ($(objpfx)pt_chown): Remove command override.
34661 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
34662 remove command overrides.
34663
fcabc0f8
UD
346642011-05-13 Ulrich Drepper <drepper@gmail.com>
34665
20030ae6
UD
34666 * libio/tst_putwc.c: Fix error messages.
34667
fcabc0f8
UD
34668 [BZ #12724]
34669 * libio/fileops.c (_IO_new_file_close_it): Always flush when
34670 currently writing and seek to current position when not.
34671 * libio/Makefile (tests): Add bug-fclose1.
34672 * libio/bug-fclose1.c: New file.
34673
320a5dc0
PB
346742011-05-12 Ulrich Drepper <drepper@gmail.com>
34675
34676 [BZ #12511]
34677 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
34678 don't set DF_1_NODELETE here.
34679 (do_lookup_x): When entering new entry test for copy relocation
34680 and if necessary set DF_1_NODELETE flag.
34681 * elf/tst-unique4.cc: New file.
34682 * elf/tst-unique4.h: New file.
34683 * elf/tst-unique4lib.cc: New file.
34684 * elf/Makefile: Add rules to build and run tst-unique4.
34685 Patch by Piotr Bury <pbury@goahead.com>.
34686
22836f52
UD
346872011-05-11 Ulrich Drepper <drepper@gmail.com>
34688
f574184a
UD
34689 [BZ #12052]
34690 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
34691
e1fb097f
UD
34692 [BZ #12625]
34693 * misc/mntent_r.c (addmntent): Flush the stream after the output
34694
22836f52
UD
34695 [BZ #12393]
34696 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
34697 (is_trusted_path_normalize): Skip initial colon. Append slash
34698 to empty buffer. Duplicate is_trusted_path code but allow
34699 constructed patch to be prefix.
34700 (is_dst): Allow $ORIGIN followed by /.
34701 (_dl_dst_substitute): Correct clearing of check_for_trusted.
34702 Correct testing of result of is_trusted_path_normalize
34703 (decompose_rpath): Fix warning.
34704
7b3b0b2a
UD
347052011-05-10 Ulrich Drepper <drepper@gmail.com>
34706
34707 [BZ #11257]
34708 * grp/initgroups.c (internal_getgrouplist): When we found the service
34709 list through the initgroups entry in nsswitch.conf do not always
34710 continue on a successful lookup. Don't always use the
eac80ce2 34711 __nss_group_database value if it is set.
7b3b0b2a
UD
34712 * nss/nsswitch.conf (initgroups): Change action for successful db
34713 lookup to continue for compatibility.
34714
2a81eaa5
UD
347152011-05-09 Ulrich Drepper <drepper@gmail.com>
34716
be97a69e
UD
34717 [BZ #11532]
34718 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
34719 and CP774 modules.
34720 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
34721 and CP774 modules.
34722 * iconvdata/tst-tables.sh: Likewise.
34723 * iconvdata/cp770.c: New file.
34724 * iconvdata/cp771.c: New file.
34725 * iconvdata/cp772.c: New file.
34726 * iconvdata/cp773.c: New file.
34727 * iconvdata/cp774.c: New file.
34728 * iconvdata/testdata/CP770: New file.
34729 * iconvdata/testdata/CP770..UTF8: New file.
34730 * iconvdata/testdata/CP771: New file.
34731 * iconvdata/testdata/CP771..UTF8: New file.
34732 * iconvdata/testdata/CP772: New file.
34733 * iconvdata/testdata/CP772..UTF8: New file.
34734 * iconvdata/testdata/CP773: New file.
34735 * iconvdata/testdata/CP773..UTF8: New file.
34736 * iconvdata/testdata/CP774: New file.
34737 * iconvdata/testdata/CP774..UTF8: New file.
34738
34739 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
34740 END CHARMAP line.
34741 * iconvdata/gen-8bit-gap.sh: Likewise.
34742 * iconvdata/gen-8bit.sh: Likewise.
34743
c1e9e399
UD
34744 * locale/iso-639.def: Add ary entry.
34745
24c55fb3 34746 [BZ #11258]
96b4b1b0
UD
34747 * locale/C-translit.h.in: Add U20A1 transliteration.
34748
bdc2f971
KB
34749 [BZ #12178]
34750 * locale/iso-639.def: Add wae entry.
34751 Patch by Kevin Bortis <bortis@translate-wae.ch>.
34752
2952b117
UD
34753 [BZ #12545]
34754 * locale/programs/localedef.c (construct_output_path): Use ssize_t
34755 for n.
34756
2a81eaa5
UD
34757 [BZ #12711]
34758 * locale/C-translit.h.in: Add entry for U20B9.
34759 Patch by pravin.d.s@gmail.com.
34760
28377d1b
UD
347612011-05-08 Ulrich Drepper <drepper@gmail.com>
34762
7fb90fb8
UD
34763 [BZ #12713]
34764 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
34765 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
34766 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
34767 in rtld. Use *stat64.
7fb90fb8 34768 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 34769 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 34770 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
34771 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
34772 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
34773 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
34774 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
34775 __fstatat64 macros.
7fb90fb8
UD
34776 * include/dirent.h: Add libc_hidden_proto for rewinddir.
34777 * dirent/rewinddir.c: Add libc_hidden_def.
34778 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 34779 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 34780
28377d1b
UD
34781 * include/dirent.h (__alloc_dir): Add flags parameter.
34782 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
34783 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
34784 __alloc_dir.
34785 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
34786 from fdopendir if O_CLOEXEC is already set.
34787
66bdbaa4
AM
347882011-03-15 Alan Modra <amodra@gmail.com>
34789
34790 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
34791 l_tls_firstbyte_offset non-zero. Save padding offset in
34792 l_tls_firstbyte_offset for later use.
34793 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
34794 freeing static tls block.
34795
95721191
JN
347962011-03-05 Jonathan Nieder <jrnieder@gmail.com>
34797
34798 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
34799 where #ifdef was intended. The intent is to prevent ARG_MAX from
34800 being defined by the kernel headers.
34801
f87dfb1f
UD
348022011-05-07 Ulrich Drepper <drepper@gmail.com>
34803
34804 [BZ #12734]
34805 * resolv/resolv.h: Define RES_NOTLDQUERY.
34806 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
34807 no-tld-query and set RES_NOTLDQUERY.
34808 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
34809 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
34810 modern BIND to search name as TLD unless forbidden.
34811
47c3cd7a
UD
348122011-05-07 Petr Baudis <pasky@suse.cz>
34813 Ulrich Drepper <drepper@gmail.com>
34814
34815 [BZ #12393]
34816 * elf/dl-load.c (fillin_rpath): Move trusted path check...
34817 (is_trusted_path): ...to here.
c1e9ea35 34818 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 34819 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 34820 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 34821
8a35c912
PP
348222011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34823
34824 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
34825 __BEGIN/__END_DECLS.
34826
acd41f47
UD
348272011-05-06 Ulrich Drepper <drepper@gmail.com>
34828
34829 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
34830 NSS_STATUS_NOTFOUND if no record was found.
34831
597df647
AS
348322011-05-05 Andreas Schwab <schwab@redhat.com>
34833
34834 * sunrpc/Makefile (headers): Add rpc/netdb.h.
34835 (headers-not-in-tirpc): Remove rpc/netdb.h
34836 * resolv/netdb.h: Revert last change.
34837
b9af1301
PP
348382011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
34839
34840 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
34841 circular dependency between libgcc.a and libc.a.
34842
4e34d5f5
AS
348432011-05-05 Andreas Schwab <schwab@redhat.com>
34844
34845 * resolv/netdb.h: Don't include <rpc/netdb.h>.
34846 * nis/Makefile: Don't install rpcsvc/*.
34847 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
34848 instead of <rpc/types.h>.
34849 (MAXHOSTNAMELEN): Define.
34850
00ee369c
AS
348512011-05-03 Andreas Schwab <schwab@redhat.com>
34852
34853 * elf/ldconfig.c (add_dir): Don't crash on empty path.
34854
0b592a30
MB
348552011-04-28 Maciej Babinski <mbabinski@google.com>
34856
34857 [BZ #12714]
34858 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
34859 gethostbyname4_r when IPv6 results are possible.
34860
6e04cbbe
UD
348612011-05-02 Ulrich Drepper <drepper@gmail.com>
34862
34863 [BZ #12723]
34864 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
34865 _PC_PIPE_BUF handling.
34866
e4ecafe0
BH
348672011-04-30 Bruno Haible <bruno@clisp.org>
34868
34869 [BZ #12717]
34870 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
34871 * resolv/netdb.h (getnameinfo): Change type of flags parameter
34872 to 'int'.
34873 * inet/getnameinfo.c (getnameinfo): Likewise.
34874
125ee683
UD
348752011-04-29 Ulrich Drepper <drepper@gmail.com>
34876
34877 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
34878 to groups setting in database lookup.
34879 * nss/nsswitch.conf: Add initgroups entry.
34880
b722481a
EB
348812011-04-22 Ulrich Drepper <drepper@gmail.com>
34882
34883 [BZ #12685]
34884 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
34885 mode string.
34886 Patch by Eric Blake <eblake@redhat.com>.
34887
4df46dbd
L
348882011-04-20 H.J. Lu <hongjiu.lu@intel.com>
34889
34890 * sunrpc/Makefile (need-export-routines): Add svc_run.
34891 (routines): Remove svc_run.
34892 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
34893 * sunrpc/clnt_perr.c (clnt_perrno): Export.
34894 * sunrpc/svc_run.c (svc_run): Likewise.
34895 * sunrpc/svc_udp.c (svcudp_create): Likewise.
34896
e84142d2
UD
348972011-04-21 Ulrich Drepper <drepper@gmail.com>
34898
34899 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
34900 problem in reallocation in last patch.
34901
877175d8
UD
349022011-04-20 Ulrich Drepper <drepper@gmail.com>
34903
34904 * sunrpc/Makefile: Move inclusion of Rules.
34905
ab8eed78
UD
349062011-04-19 Ulrich Drepper <drepper@gmail.com>
34907
34908 * nss/nss_files/files-initgroups.c: New file.
34909 * nss/Makefile (libnss_files-routines): Add files-initgroups.
34910 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
34911 _nss_files_initgroups_dyn.
34912
e3d8f584
RS
349132011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
34914
34915 * elf/elf.h (R_ARM_IRELATIVE): Define.
34916
af190f45
UD
349172011-04-19 Ulrich Drepper <drepper@gmail.com>
34918
34919 * po/ru.po: Update from translation team.
34920
53cf59ef
UD
349212011-04-17 Ulrich Drepper <drepper@gmail.com>
34922
34923 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
34924 dependencies.
34925
4c559bcd
MF
349262011-02-06 Mike Frysinger <vapier@gentoo.org>
34927
34928 [BZ #12653]
34929 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
34930 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
34931 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34932 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34933 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34934
4420675c
AS
349352011-03-28 Andreas Schwab <schwab@linux-m68k.org>
34936
34937 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
34938 differing bytes.
34939 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34940 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34941 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34942
75ea32ab
UD
349432011-04-17 Ulrich Drepper <drepper@gmail.com>
34944
34945 [BZ #12420]
34946 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
34947 storing it.
34948 * stdlib/bug-getcontext.c: New file.
34949 * stdlib/Makefile: Add rules to build and run bug-getcontext.
34950
27390476
AK
349512011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34952
34953 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
34954 instructions into .machine "z9-109".
34955 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
34956 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
34957
10442705
AK
349582011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34959
34960 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
34961 between environment variables and auxiliary vector.
34962
7b57bfe5
UD
349632011-04-16 Ulrich Drepper <drepper@gmail.com>
34964
34965 * Makefile: Add rules to build linkobj/libc.so.
34966 * include/libc-symbols.h: Define libc_hidden_nolink.
34967 * include/rpc/auth.h: Mark functions which are to be hidden.
34968 * include/rpc/auth_des.h: Likewise.
34969 * include/rpc/auth_unix.h: Likewise.
34970 * include/rpc/clnt.h: Likewise.
34971 * include/rpc/des_crypt.h: Likewise.
34972 * include/rpc/key_prot.h: Likewise.
34973 * include/rpc/pmap_clnt.h: Likewise.
34974 * include/rpc/pmap_prot.h: Likewise.
34975 * include/rpc/pmap_rmt.h: Likewise.
34976 * include/rpc/rpc_msg.h: Likewise.
34977 * include/rpc/svc.h: Likewise.
34978 * include/rpc/svc_auth.h: Likewise.
34979 * include/rpc/xdr.h: Likewise.
34980 * nis/Makefile: Link all DSOs against linkobj/libc.so.
34981 * nss/Makefile: Likewise.
34982 * sunrpc/Makefile: Don't install headers. Build library with normal
34983 entry points. Don't build rpcinfo. Link RPC tests appropriately.
34984 * sunrpc/auth_des.c: Hide exported symbols by default, export some
34985 for the compat linking library. Remove use of INTDEF/INTUSE.
34986 * sunrpc/auth_none.c: Likewise.
34987 * sunrpc/auth_unix.c: Likewise.
34988 * sunrpc/authdes_prot.c: Likewise.
34989 * sunrpc/authuxprot.c: Likewise.
34990 * sunrpc/clnt_gen.c: Likewise.
34991 * sunrpc/clnt_perr.c: Likewise.
34992 * sunrpc/clnt_raw.c: Likewise.
34993 * sunrpc/clnt_simp.c: Likewise.
34994 * sunrpc/clnt_tcp.c: Likewise.
34995 * sunrpc/clnt_udp.c: Likewise.
34996 * sunrpc/clnt_unix.c: Likewise.
34997 * sunrpc/des_crypt.c: Likewise.
34998 * sunrpc/des_soft.c: Likewise.
34999 * sunrpc/get_myaddr.c: Likewise.
35000 * sunrpc/key_call.c: Likewise.
35001 * sunrpc/key_prot.c: Likewise.
35002 * sunrpc/netname.c: Likewise.
35003 * sunrpc/pm_getmaps.c: Likewise.
35004 * sunrpc/pm_getport.c: Likewise.
35005 * sunrpc/pmap_clnt.c: Likewise.
35006 * sunrpc/pmap_prot.c: Likewise.
35007 * sunrpc/pmap_prot2.c: Likewise.
35008 * sunrpc/pmap_rmt.c: Likewise.
35009 * sunrpc/publickey.c: Likewise.
35010 * sunrpc/rpc_cmsg.c: Likewise.
35011 * sunrpc/rpc_common.c: Likewise.
35012 * sunrpc/rpc_dtable.c: Likewise.
35013 * sunrpc/rpc_prot.c: Likewise.
35014 * sunrpc/rpc_thread.c: Likewise.
35015 * sunrpc/rtime.c: Likewise.
35016 * sunrpc/svc.c: Likewise.
35017 * sunrpc/svc_auth.c: Likewise.
35018 * sunrpc/svc_authux.c: Likewise.
35019 * sunrpc/svc_raw.c: Likewise.
35020 * sunrpc/svc_run.c: Likewise.
35021 * sunrpc/svc_simple.c: Likewise.
35022 * sunrpc/svc_tcp.c: Likewise.
35023 * sunrpc/svc_udp.c: Likewise.
35024 * sunrpc/svc_unix.c: Likewise.
35025 * sunrpc/svcauth_des.c: Likewise.
35026 * sunrpc/xcrypt.c: Likewise.
35027 * sunrpc/xdr.c: Likewise.
35028 * sunrpc/xdr_array.c: Likewise.
35029 * sunrpc/xdr_float.c: Likewise.
35030 * sunrpc/xdr_intXX_t.c: Likewise.
35031 * sunrpc/xdr_mem.c: Likewise.
35032 * sunrpc/xdr_rec.c: Likewise.
35033 * sunrpc/xdr_ref.c: Likewise.
35034 * sunrpc/xdr_sizeof.c: Likewise.
35035 * sunrpc/xdr_stdio.c: Likewise.
35036
e6c61494
UD
350372011-04-10 Ulrich Drepper <drepper@gmail.com>
35038
35039 [BZ #12650]
35040 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
35041 * sysdeps/ia64/dl-tls.h: Likewise.
35042 * sysdeps/powerpc/dl-tls.h: Likewise.
35043 * sysdeps/s390/dl-tls.h: Likewise.
35044 * sysdeps/sh/dl-tls.h: Likewise.
35045 * sysdeps/sparc/dl-tls.h: Likewise.
35046 * sysdeps/x86_64/dl-tls.h: Likewise.
35047 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
35048
34fe483e
AS
350492011-03-14 Andreas Schwab <schwab@redhat.com>
35050
35051 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
35052 rpath element also skip the following colon.
35053 (expand_dynamic_string_token): Add is_path parameter and pass
35054 down to DL_DST_REQUIRED and _dl_dst_substitute.
35055 (decompose_rpath): Call expand_dynamic_string_token with
35056 non-zero is_path. Ignore empty rpaths.
35057 (_dl_map_object_from_fd): Call expand_dynamic_string_token
35058 with zero is_path.
35059
f12a32e6
AS
350602011-04-08 Andreas Schwab <schwab@linux-m68k.org>
35061
35062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35063 Make cancelable.
35064
38a7d692
UD
350652011-04-09 Ulrich Drepper <drepper@gmail.com>
35066
35067 [BZ #12655]
35068 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
35069 Patch by Filipe David Manana <fdmanana@apache.org>.
35070
e451d22b
AS
350712011-04-07 Andreas Schwab <schwab@redhat.com>
35072
35073 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
35074 Maintain aligned stack.
35075 (CHECK_RSP): Remove unused macro.
35076
dedc7c7b
UD
350772011-04-03 Ulrich Drepper <drepper@gmail.com>
35078
35079 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
35080 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
35081
94521213
UD
350822011-04-02 Ulrich Drepper <drepper@gmail.com>
35083
35084 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
35085
8cb700c0 35086 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 35087
0354e355
L
350882011-03-26 H.J. Lu <hongjiu.lu@intel.com>
35089
35090 [BZ #12518]
35091 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
35092 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
35093 * sysdeps/x86_64/memmove.c: New file.
35094 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
35095 (memcpy): Renamed to ...
35096 (__new_memcpy): This.
35097 (memcpy): Provide GLIBC_2_14 memcpy.
35098 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
35099 (memcpy): Provide GLIBC_2_2_5 memcpy.
35100
8593482f
UD
351012011-04-01 Ulrich Drepper <drepper@gmail.com>
35102
35103 [BZ #12631]
35104 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
35105
81a5726b
AS
351062011-03-30 Andreas Schwab <schwab@redhat.com>
35107
35108 * misc/syncfs.c: New file.
35109 * misc/Makefile (routines): Add syncfs.
35110 * posix/unistd.h: Declare syncfs.
35111 * sysdeps/unix/syscalls.list: Add syncfs.
35112
00e5419f
AS
351132011-04-01 Andreas Schwab <schwab@redhat.com>
35114
35115 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
35116 open_by_handle_at.
35117 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35118 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35119 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35120 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35121 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35122 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
35123 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35124
748876bf
UD
351252011-04-01 Ulrich Drepper <drepper@gmail.com>
35126
658e451d
UD
35127 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
35128 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35129 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
35130 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35131 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35132 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35133 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35134
748876bf
UD
35135 * io/Makefile: Compile fallocate.c, fallocate64.c, and
35136 sync_file_range.c with -fexceptions.
35137 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
35138 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
35139 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
35140 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
35141 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
35142 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35143 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
35144 sync_file_range as cancellation point
35145 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
35146 now a wrapper around __call_sync_file_range with cancellation handling.
35147 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
35148 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
35149 function name to __call_sync_file_range.
35150 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
35151 Add call_sync_file_range.
748876bf 35152
6e63d5e1
AS
351532011-04-01 Andreas Schwab <schwab@redhat.com>
35154
35155 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 35156 bits/timex.h.
6e63d5e1 35157
46998f74
UD
351582011-04-01 Ulrich Drepper <drepper@gmail.com>
35159
4c1423ed
UD
35160 * iconv/iconv.h: Fix typo in comment.
35161 * io/fcntl.h: Likewise.
35162 * libio/stdio.h: Likewise.
35163 * posix/spawn.h: Likewise.
35164 * posix/unistd.h: Likewise.
35165 * stdlib/stdlib.h: Likewise.
35166 * time/time.h: Likewise.
35167 * wcsmbs/wchar.h: Likewise.
35168
158648c0
UD
35169 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
35170 open_by_handle): Add.
35171 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
35172 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
35173 Augment a few comments.
35174 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35175 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35176 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35177 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35178 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35179 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
35180 open_by_handle.
35181
46998f74
UD
35182 * io/fcntl.h (AT_EMPTY_PATH): Define.
35183
83fe108b
UD
351842011-03-30 Ulrich Drepper <drepper@gmail.com>
35185
35186 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
35187 * sysdeps/unix/sysv/linux/bits/time.h: New file.
35188 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
35189 to...
35190 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
35191 * Versions.def: Add GLIBC_2.14.
35192 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
35193 Export.
83fe108b 35194
bb242059
UD
351952011-03-22 Ulrich Drepper <drepper@gmail.com>
35196
35197 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
35198 round counter.
35199 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35200
c97a1282
L
352012011-03-20 H.J. Lu <hongjiu.lu@intel.com>
35202
35203 [BZ #12597]
35204 * string/test-strncmp.c (do_page_test): New function.
35205 (check2): Likewise.
35206 (test_main): Call check2.
35207 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
35208
2a115601
UD
352092011-03-20 Ulrich Drepper <drepper@gmail.com>
35210
35211 [BZ #12587]
35212 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
35213 Handle cache information in CPU leaf 4.
35214 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35215
8126d904
UD
352162011-03-18 Ulrich Drepper <drepper@gmail.com>
35217
042c49c6 35218 [BZ #12583]
8126d904
UD
35219 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
35220 character representation.
35221 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
35222
ccfe366e
RA
352232011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
35224
35225 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
35226 END(__isnan) to END(__isnanf) to match function entry point/label
35227 EALIGN(__isnanf,...).
35228
c6e13027
JJ
352292011-03-10 Jakub Jelinek <jakub@redhat.com>
35230
35231 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
35232
33f85a3f
UD
352332011-03-10 Ulrich Drepper <drepper@gmail.com>
35234
028478fa
UD
35235 [BZ #12510]
35236 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
35237 copy from the symbol referenced in the relocation to initialize the
35238 used variable.
35239 Patch by Piotr Bury <pbury@goahead.com>.
35240 * elf/Makefile: Add rules to build and tst-unique3.
35241 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
35242 * elf/tst-unique3.cc: New file.
35243 * elf/tst-unique3.h: New file.
35244 * elf/tst-unique3lib.cc: New file.
35245 * elf/tst-unique3lib2.cc: New file.
35246
33f85a3f
UD
35247 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
35248
03592fc7
MF
352492011-03-10 Mike Frysinger <vapier@gentoo.org>
35250
35251 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
35252 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
35253 to _start.
03592fc7 35254
6a5ee102
UD
352552011-03-06 Ulrich Drepper <drepper@gmail.com>
35256
35257 * elf/dl-load.c (_dl_map_object): If we are looking for the first
35258 to-be-loaded object along a path to loader is ld.so.
35259
7e4ba49c
HJ
352602011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
35261 Ulrich Drepper <drepper@gmail.com>
35262
35263 * sysdeps/x86_64/memset.S: After aligning destination, code
35264 branches to different locations depending on the value of
35265 misalignment, when multiarch is enabled. Fix this.
35266
352672011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
35268
35269 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
35270 Set _x86_64_preferred_memory_instruction for AMD processsors.
35271 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35272 Set bit_Prefer_SSE_for_memop for AMD processors.
35273
13a804de
UD
352742011-03-04 Ulrich Drepper <drepper@gmail.com>
35275
35276 * libio/fmemopen.c (fmemopen): Optimize a bit.
35277
9d25c392
AS
352782011-03-03 Andreas Schwab <schwab@redhat.com>
35279
35280 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
35281
a5543c6a
RM
352822011-03-03 Roland McGrath <roland@redhat.com>
35283
35284 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
35285
012d35f7
DM
352862011-02-28 Aurelien Jarno <aurelien@aurel32.net>
35287
7e4ba49c 35288 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
35289 __bzero_ultra1 instead of __memset_ultra1.
35290
4bff6e01
AS
352912011-02-23 Andreas Schwab <schwab@redhat.com>
35292 Ulrich Drepper <drepper@gmail.com>
35293
35294 [BZ #12509]
35295 * include/link.h (struct link_map): Add l_orig_initfini.
35296 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
35297 returning unsuccessfully.
35298 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
35299 close of a file loaded at startup, restore the original l_initfini
35300 list.
35301 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
35302 list, store the pointer.
35303 * elf/Makefile ($(objpfx)noload-mem): New rule.
35304 (noload-ENV): Define.
35305 (tests): Add $(objpfx)noload-mem.
35306 * elf/noload.c: Include <memcheck.h>.
35307 (main): Call mtrace. Close all opened handles.
35308
f2092faf
AS
353092011-02-17 Andreas Schwab <schwab@redhat.com>
35310
35311 [BZ #12454]
35312 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
35313 dependencies are missing.
35314
6c8a2e88
ST
353152011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
35316
f2092faf 35317 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
35318 Hurd needs munmap.
35319 * sysdeps/mach/hurd/ifreq.h: New file.
35320
84a42118
PB
353212011-01-27 Petr Baudis <pasky@suse.cz>
35322 Ulrich Drepper <drepper@gmail.com>
35323
071f805e 35324 [BZ 12445]#
84a42118
PB
35325 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
35326 to extend_alloca().
35327 * stdio-common/bug23.c: New file.
35328 * stdio-common/Makefile (tests): Add bug23.
35329
e23fe25b
AS
353302010-09-28 Andreas Schwab <schwab@redhat.com>
35331 Ulrich Drepper <drepper@gmail.com>
35332
35333 [BZ #12489]
35334 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
35335 before performing relro protection. At old place add assertion
35336 to make sure nothing changed.
35337
d3f02e10
NS
353382011-02-17 Nathan Sidwell <nathan@codesourcery.com>
35339 Glauber de Oliveira Costa <glommer@gmail.com>
35340
35341 * elf/elf.h: Add new ARM TLS relocs.
35342
d55fd7a5
RA
353432011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
35344
35345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35346 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
35347 cast from r3.
35348 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
35349 'tests' variable.
35350 * sysdeps/wordsize-64/tst-writev.c: New file.
35351
2206397e
RA
353522011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
35353
35354 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
35355 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
35356 insns in _dl_start to prevent a TOC reference before relocs are
35357 resolved.
35358
e9433893
UD
353592011-02-15 Ulrich Drepper <drepper@gmail.com>
35360
35361 [BZ #12469]
35362 * Makeconfig: Remove RANLIB definition.
35363 * Makerules: Don't use RANLIB.
35364 * aclocal.m4: Remove ranlib test.
35365 * configure.in: No need to check for ranlib.
35366 * elf/rtld-Rules: Don't use RANLIB.
35367
f75286c6
ST
353682011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
35369
8e31c82d
ST
35370 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
35371 protection macro.
35372 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
35373 inclusion protection macro.
35374
f75286c6
ST
35375 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
35376 SIGRTMIN and SIGRTMAX and print information in that case only when
35377 SIGRTMIN is defined.
35378
c1d0e639
JJ
353792011-02-11 Jakub Jelinek <jakub@redhat.com>
35380
35381 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
35382 arginfo fn returning -1.
35383
35384 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
35385 and thousands string is zero terminated.
35386
edf9294e
AS
353872011-02-03 Andreas Schwab <schwab@redhat.com>
35388
35389 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
35390 sysdeps/unix/sysv/linux/bits/socket.h.
35391
2b7e92df
ST
353922011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
35393
edf9294e
AS
35394 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
35395 (__CPU_COUNT): Remove old macros.
35396 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
35397 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
35398 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
35399 (__sched_cpualloc, __sched_cpufree): Add declarations.
35400
a4c7ea7b
UD
354012011-02-05 Ulrich Drepper <drepper@gmail.com>
35402
35403 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
35404 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
35405 * nscd/aicache.c (addhstaiX): Return timeout of added value.
35406 (readdhstai): Return value of addhstaiX call.
35407 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
35408 (addgrbyX): Return value returned by cache_addgr.
35409 (readdgrbyname): Return value returned by addgrbyX.
35410 (readdgrbygid): Likewise.
35411 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
35412 (addpwbyX): Return value returned by cache_addpw.
35413 (readdpwbyname): Return value returned by addhstbyX.
35414 (readdpwbyuid): Likewise.
35415 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
35416 (addservbyX): Return value returned by cache_addserv.
35417 (readdservbyname): Return value returned by addservbyX:
35418 (readdservbyport): Likewise.
35419 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
35420 (addhstbyX): Return value returned by cache_addhst.
35421 (readdhstbyname): Return value returned by addhstbyX.
35422 (readdhstbyaddr): Likewise.
35423 (readdhstbynamev6): Likewise.
35424 (readdhstbyaddrv6): Likewise.
35425 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
35426 (readdinitgroups): Return value returned by addinitgroupsX.
35427 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
35428 (prune_cache): Keep track of timeout value of re-added entries.
35429 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
35430 * nscd/nscd.h: Adjust prototypes of readd* functions.
35431
a0bf67cc
RM
354322011-02-04 Roland McGrath <roland@redhat.com>
35433
35434 * nis/nis_server.c (nis_servstate): Use the right name for 0.
35435 (nis_stats): Likewise.
35436 * nis/nis_modify.c (nis_modify): Likewise.
35437 * nis/nis_remove.c (nis_remove): Likewise.
35438 * nis/nis_add.c (nis_add): Likewise.
35439
35440 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
35441
35442 * posix/fnmatch_loop.c: Add some consts.
35443
35444 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
35445
435b95eb
L
354462011-02-02 H.J. Lu <hongjiu.lu@intel.com>
35447
35448 [BZ #12460]
35449 * config.make.in (config-cflags-novzeroupper): Define.
35450 * configure.in: Substitute libc_cv_cc_novzeroupper.
35451 * elf/Makefile (AVX-CFLAGS): Define.
35452 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
35453 (CFLAGS-tst-auditmod4a.c): Likewise.
35454 (CFLAGS-tst-auditmod4b.c): Likewise.
35455 (CFLAGS-tst-auditmod6b.c): Likewise.
35456 (CFLAGS-tst-auditmod6c.c): Likewise.
35457 (CFLAGS-tst-auditmod7b.c): Likewise.
35458 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
35459
8517b15e
UD
354602011-02-02 Ulrich Drepper <drepper@gmail.com>
35461
35462 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
35463 function to the callback.
35464 Patch partly by Jiri Olsa <jolsa@redhat.com>.
35465
10a656fe
AS
354662011-02-02 Andreas Schwab <schwab@redhat.com>
35467
35468 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
35469 of errno.
35470
968dad0a
UD
354712011-01-19 Ulrich Drepper <drepper@gmail.com>
35472
9f94d2ea 35473 [BZ #11724]
968dad0a
UD
35474 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
35475 of constructors.
35476 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
35477 of destructors.
35478 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
35479
35480 [BZ #11724]
35481 * elf/Makefile: Add rules to build and run new test.
35482 * elf/tst-initorder.c: New file.
35483 * elf/tst-initorder.exp: New file.
35484 * elf/tst-initordera1.c: New file.
35485 * elf/tst-initordera2.c: New file.
35486 * elf/tst-initordera3.c: New file.
35487 * elf/tst-initordera4.c: New file.
35488 * elf/tst-initorderb1.c: New file.
35489 * elf/tst-initorderb2.c: New file.
35490 * elf/tst-order-a1.c: New file.
35491 * elf/tst-order-a2.c: New file.
35492 * elf/tst-order-a3.c: New file.
35493 * elf/tst-order-a4.c: New file.
35494 * elf/tst-order-b1.c: New file.
35495 * elf/tst-order-b2.c: New file.
35496 * elf/tst-order-main.c: New file.
35497 New test case by George Gensure <werkt0@gmail.com>.
35498
86e92359
UD
354992010-10-01 Andreas Schwab <schwab@redhat.com>
35500
35501 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35502 decoding ACE if AI_CANONIDN.
35503
5d5732b0
UD
355042011-01-18 Ulrich Drepper <drepper@gmail.com>
35505
35506 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
35507
a77e8cbc
UD
355082011-01-17 Ulrich Drepper <drepper@gmail.com>
35509
6392473f
UD
35510 * version.h (RELEASE): Bump for 2.13 release.
35511 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
35512
620a0529
UD
35513 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
35514
18ba70a5
UD
35515 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
35516 MADV_NOHUGEPAGE.
32465c3e
UD
35517 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
35518 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35519 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35520 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35521 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35522 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35523
c0dafcf1
UD
35524 * posix/getconf.c: Update copyright year.
35525 * catgets/gencat.c: Likewise.
35526 * csu/version.c: Likewise.
35527 * debug/catchsegv.sh: Likewise.
35528 * debug/xtrace.sh: Likewise.
35529 * elf/ldconfig.c: Likewise.
35530 * elf/ldd.bash.in: Likewise.
35531 * elf/sprof.c (print_version): Likewise.
35532 * iconv/iconv_prog.c: Likewise.
35533 * iconv/iconvconfig.c: Likewise.
35534 * locale/programs/locale.c: Likewise.
35535 * locale/programs/localedef.c: Likewise.
35536 * malloc/memusage.sh: Likewise.
35537 * malloc/mtrace.pl: Likewise.
35538 * nscd/nscd.c (print_version): Likewise.
35539 * nss/getent.c: Likewise.
35540
a77e8cbc
UD
35541 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
35542 PF_CAIF, and PF_ALG.
35543 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35544
77e8bddf
AS
355452011-01-16 Andreas Schwab <schwab@linux-m68k.org>
35546
1f20b93a
AS
35547 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
35548 (modules-names): Use them.
35549 (ifunc-test-modules, ifunc-pie-tests): Define.
35550 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
35551 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
35552 (test-extras): Likewise.
35553 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
35554 $(compile-command.c).
35555 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
35556 (all-built-dso): Define.
35557 (check-textrel.out, check-execstack.out): Depend on it.
35558
77e8bddf
AS
35559 * configure.in: Don't override --enable-multi-arch.
35560
bc425b33
UD
355612011-01-15 Ulrich Drepper <drepper@gmail.com>
35562
35563 [BZ #6812]
35564 * nscd/hstcache.c (tryagain): Define.
35565 (cache_addhst): Return tryagain not notfound for temporary errors.
35566 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
35567 failed.
35568
794c3ad3
UD
355692011-01-14 Ulrich Drepper <drepper@gmail.com>
35570
70181fdd
UD
35571 [BZ #10563]
35572 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
35573 to make the syscall.
35574 * sysdeps/unix/sysv/linux/setgroups.c: New file.
35575
794c3ad3
UD
35576 [BZ #12378]
35577 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
35578 and fall back to matching as normal character if the string ends before
35579 the matching ']' is found. This is what POSIX requires.
35580 * posix/testfnm.c: Adjust test result.
35581 * posix/globtest.sh: Adjust test result. Add new test.
35582 * posix/tst-fnmatch.input: Likewise.
35583 * posix/tst-fnmatch2.c: Add new test.
35584
68dc9497
AS
355852010-12-28 Andreas Schwab <schwab@linux-m68k.org>
35586
35587 * elf/Makefile (check-execstack): Revert last change. Depend on
35588 check-execstack.h.
35589 (check-execstack.h): New target.
35590 (generated): Add check-execstack.h.
35591 * elf/check-execstack.c: Include "check-execstack.h".
35592 (main): Revert last change.
35593 (handle_file): Return zero if GNU_STACK is absent and
35594 DEFAULT_STACK_PERMS doesn't include PF_X.
35595
451f001b
UD
355962011-01-13 Ulrich Drepper <drepper@gmail.com>
35597
cfa28e56
UD
35598 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
35599 in child fails because the descriptor is already closed.
8cf8ce17
UD
35600 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
35601 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
35602 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 35603
1086d70d
UD
35604 [BZ #12397]
35605 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
35606 syscall.
35607
451f001b
UD
35608 [BZ #10484]
35609 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
35610 temporary buffer used to handle multi lookups locally.
a85b5cb4 35611 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 35612
08769175
UD
356132011-01-12 Ulrich Drepper <drepper@gmail.com>
35614
35615 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
35616 loader is ld.so.
35617
5e49c52e
UD
356182011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
35619
35620 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
35621 alignment for SSE2.
35622
60522a5f
UD
356232011-01-12 Ulrich Drepper <drepper@gmail.com>
35624
35625 [BZ #12394]
35626 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
35627 characters. When rounding increased number of integer digits recompute
35628 number of groups.
35629 * stdio-common/tst-grouping.c: New file.
35630 * stdio-common/Makefile: Add rules to build and run tst-grouping.
35631
f257bbd7
UD
356322011-01-09 Ulrich Drepper <drepper@gmail.com>
35633
35634 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
35635 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
35636
35637 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
35638 void.
35639 * bits/select.h: Likewise.
35640
fa9c15cb
UD
356412011-01-08 Ulrich Drepper <drepper@gmail.com>
35642
35643 * po/ja.po: Update from translation team.
35644
16c2895f
DM
356452011-01-04 David S. Miller <davem@sunset.davemloft.net>
35646
35647 [BZ #11155]
35648 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
35649 implementation just like for lxstat, fxstatat, et al.
35650
2543fef2
JM
356512010-12-27 Jim Meyering <meyering@redhat.com>
35652
35653 [BZ #12348]
35654 * posix/regexec.c (build_trtable): Return failure indication upon
35655 calloc failure. Otherwise, re_search_internal could infloop on OOM.
35656
98727dbe
UD
356572010-12-25 Ulrich Drepper <drepper@gmail.com>
35658
5bd6dc5c
UD
35659 [BZ #12201]
35660 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
35661 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
35662 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
35663 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
35664
97983464
UD
35665 [BZ #12207]
35666 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
35667
98727dbe
UD
35668 [BZ #12204]
35669 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
35670 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
35671
4a531bb0
L
356722010-12-15 H.J. Lu <hongjiu.lu@intel.com>
35673
35674 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
35675 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
35676 script has SORT_BY_INIT_PRIORITY.
35677 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
35678 NO_CTORS_DTORS_SECTIONS is defined.
35679 * elf/soinit.c: Likewise.
35680 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
35681 NO_CTORS_DTORS_SECTIONS is defined.
35682 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
35683 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
35684 * sysdeps/sh/init-first.c: Likewise.
35685 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
35686
07eb4b71
UD
356872010-12-24 Ulrich Drepper <drepper@gmail.com>
35688
35689 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
35690 always use the slow path.
35691
30950a5f
RA
356922010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
35693
35694 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
35695 similar rule which adds the sysdep directories to the header search in
35696 order to pick up the correct platform stackinfo.h.
35697 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
35698 perform test if it is, otherwise return successfully without testing.
35699 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
35700 DEFAULT_STACK_PERMS define in stackinfo.h.
35701 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
35702 defined in stackinfo.h.
35703 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
35704 DEFAULT_STACK_PERMS defined in stackinfo.h.
35705 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
35706 * sysdeps/ia64/stackinfo.h: Likewise.
35707 * sysdeps/s390/stackinfo.h: Likewise.
35708 * sysdeps/sh/stackinfo.h: Likewise.
35709 * sysdeps/sparc/stackinfo.h: Likewise.
35710 * sysdeps/x86_64/stackinfo.h: Likewise.
35711 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
35712 PF_X for powerpc64. Retain PF_X for powerpc32.
35713
db753e2c
UD
357142010-12-19 Ulrich Drepper <drepper@gmail.com>
35715
14b697f7
UD
35716 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
35717 accurately.
db753e2c
UD
35718 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
35719 GETDENTS_64BIT_ALIGNED.
35720
28300719
UD
357212010-12-14 Ulrich Drepper <dreper@gmail.com>
35722
14b697f7 35723 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 35724
4f197237
AS
357252010-12-10 Andreas Schwab <schwab@redhat.com>
35726
dbb0472f
AS
35727 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
35728 _GNU_SOURCE.
35729
4f197237
AS
35730 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
35731 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
35732 Remove __restrict.
35733 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
35734 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
35735
fb88ac72
UD
357362010-12-09 Ulrich Drepper <drepper@gmail.com>
35737
35738 [BZ #11655]
35739 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
35740 are initialized.
35741
42acbb92
JJ
357422010-12-09 Jakub Jelinek <jakub@redhat.com>
35743
35744 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
35745
c038d98d
UD
357462010-12-03 Ulrich Drepper <drepper@gmail.com>
35747
35748 * po/it.po: Update from translation team.
35749
3a4a2499
L
357502010-12-01 H.J. Lu <hongjiu.lu@intel.com>
35751
35752 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
35753 unused codes.
35754
1e24cf6e
UD
357552010-11-30 Ulrich Drepper <drepper@gmail.com>
35756
35757 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
35758
a7690819
AS
357592010-11-24 Andreas Schwab <schwab@redhat.com>
35760
35761 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
35762 specially.
35763 (gaih_getanswer_slice): Likewise.
35764
3bf8d1b1
JJ
357652010-10-20 Jakub Jelinek <jakub@redhat.com>
35766
35767 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
35768
6db52fbb
PB
357692010-05-31 Petr Baudis <pasky@suse.cz>
35770
35771 [BZ #11149]
35772 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
35773 silently even in the chroot mode.
35774
eaca7569
UD
357752010-11-22 Ulrich Drepper <drepper@gmail.com>
35776
35777 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
35778 last patch a bit. Pretty printing
35779
3056dcdb
UD
357802010-05-31 Petr Baudis <pasky@suse.cz>
35781
35782 [BZ #10085]
35783 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
35784 initialization of skip_initgroups_dyn.
35785
cf7c9078
UD
357862010-11-19 Ulrich Drepper <drepper@gmail.com>
35787
35788 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
35789 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35790
a1fb5e3e
UD
357912010-11-16 Ulrich Drepper <drepper@gmail.com>
35792
35793 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
35794
3540d66b
AS
357952010-11-11 Andreas Schwab <schwab@redhat.com>
35796
35797 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
35798 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
35799 (tst-fnmatch-ENV): Set MALLOC_TRACE.
35800 ($(objpfx)tst-fnmatch-mem): New rule.
35801 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
35802 * posix/tst-fnmatch.c (main): Call mtrace.
35803
13b69574
L
358042010-11-11 H.J. Lu <hongjiu.lu@intel.com>
35805
35806 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35807 Support Intel processor model 6 and model 0x2c.
35808
da93d214
LM
358092010-11-10 Luis Machado <luisgpm@br.ibm.com>
35810
35811 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
35812 signed comparison.
35813
8ca52c6e
L
358142010-11-09 H.J. Lu <hongjiu.lu@intel.com>
35815
35816 [BZ #12205]
35817 * string/test-strncasecmp.c (check_result): New function.
35818 (do_one_test): Use it.
35819 (check1): New function.
35820 (test_main): Use it.
35821 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
35822 Support strcasecmp and strncasecmp.
35823
69da074d
UD
358242010-11-08 Ulrich Drepper <drepper@gmail.com>
35825
35826 [BZ #12194]
35827 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
35828 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35829
ff02d528
L
358302010-11-07 H.J. Lu <hongjiu.lu@intel.com>
35831
35832 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
35833 IFUNC support.
35834 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35835 memset-x86-64.
35836 * sysdeps/x86_64/multiarch/bzero.S: New file.
35837 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
35838 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
35839 * sysdeps/x86_64/multiarch/memset.S: New file.
35840 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
35841 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35842 Set bit_Prefer_SSE_for_memop for Intel processors.
35843 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
35844 Define.
35845 (index_Prefer_SSE_for_memop): Define.
35846 (HAS_PREFER_SSE_FOR_MEMOP): Define.
35847
344d0b54
LM
358482010-11-04 Luis Machado <luisgpm@br.ibm.com>
35849
35850 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
35851 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
35852
c0dde15b
UD
358532010-11-03 H.J. Lu <hongjiu.lu@intel.com>
35854
35855 [BZ #12191]
35856 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35857 (__x86_64_raw_data_cache_size_half): Likewise.
35858 (__x86_64_raw_shared_cache_size): Likewise.
35859 (__x86_64_raw_shared_cache_size_half): Likewise.
35860
35861 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35862 (__x86_64_raw_data_cache_size_half): Likewise.
35863 (__x86_64_raw_shared_cache_size): Likewise.
35864 (__x86_64_raw_shared_cache_size_half): Likewise.
35865 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
35866 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
35867 and __x86_64_raw_shared_cache_size_half. Round
35868 __x86_64_data_cache_size_half, __x86_64_data_cache_size
35869 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
35870 to multiple of 256 bytes.
35871
0e516e0e
MS
358722010-11-03 Ulrich Drepper <drepper@gmail.com>
35873
35874 [BZ #12167]
35875 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
35876 of inacessible symlinks. Verify result of symlink before returning it.
35877 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
35878 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
35879
0e012e87
ER
358802010-10-28 Erich Ritz <erichritz@gmail.com>
35881
35882 * math/math.h (isinf): Fix typo in comment.
35883
de0ff7bc
UD
358842010-11-01 Ulrich Drepper <drepper@gmail.com>
35885
35886 * po/da.po: Update from translation team.
35887
fa41c84d
UD
358882010-10-26 Ulrich Drepper <drepper@gmail.com>
35889
35890 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
35891 is added to the list.
35892
f0967738
AK
358932010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35894 Ulrich Drepper <drepper@gmail.com>
35895
35896 * elf/dl-object.c (_dl_new_object): Don't append the new object to
35897 the global list here. Move code to...
35898 (_dl_add_to_namespace_list): ...here. New function.
35899 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
35900 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
35901 * elf/dl-load.c (lose): Don't remove the element from the list.
35902 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
35903 (_dl_map_object): Likewise.
35904
359052010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
35906
35907 [BZ #12159]
35908 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
35909 into all bytes of SSE register.
35910 Patch by Richard Li <richardpku@gmail.com>.
35911
f0967738 359122010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
35913
35914 [BZ #12140]
35915 * malloc/malloc.c (_int_free): Fill correct number of bytes when
35916 perturbing.
35917
d0b9e94f
MB
359182010-10-20 Michael B. Brutman <brutman@us.ibm.com>
35919
35920 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
35921 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
35922 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
35923 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
35925 submachine.
35926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
35927
8e9f92e9
AS
359282010-10-22 Andreas Schwab <schwab@redhat.com>
35929
35930 * include/dlfcn.h (__RTLD_SECURE): Define.
35931 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
35932 mode & __RTLD_SECURE instead.
35933 (open_path): Rename preloaded parameter to secure.
35934 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
35935 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
35936 * elf/dl-deps.c (openaux): Likewise.
35937 * elf/rtld.c (struct map_args): Remove is_preloaded.
35938 (map_doit): Don't use it.
35939 (dl_main): Likewise.
35940 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
35941 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
35942
bc96fbda
AS
359432010-09-09 Andreas Schwab <schwab@redhat.com>
35944
35945 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
35946 (sysd-rules-targets): Remove duplicates.
35947 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
35948 rtld-%.$o dependency.
35949
22cd1c9b
AS
359502010-10-18 Andreas Schwab <schwab@redhat.com>
35951
35952 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
35953 _dl_map_object do it.
35954
18edac48
UD
359552010-10-19 Ulrich Drepper <drepper@gmail.com>
35956
35957 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
35958 fast fma builtins, define the macros in the C99 standard.
35959 (FP_FAST_FMAF): Likewise.
35960 (FP_FAST_FMAL): Likewise.
35961 * sysdeps/x86_64/bits/mathdef.h: Likewise.
35962
35963 * bits/mathdef.h: Update copyright year.
35964 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35965
d2050124
MM
359662010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
35967
35968 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
35969 builtins, define the macros in the C99 standard.
35970 (FP_FAST_FMAF): Likewise.
35971 (FP_FAST_FMAL): Likewise.
35972 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
35973 multiply/add.
35974 (FP_FAST_FMAF): Likewise.
35975
475facd1
JJ
359762010-10-15 Jakub Jelinek <jakub@redhat.com>
35977
35978 [BZ #3268]
35979 * math/libm-test.inc (fma_test): Some new testcases.
35980 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
35981 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
35982 y and infinite z. Do multiplication by C already in long double.
35983 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
35984 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
35985 y and infinite z. Do bitwise or of inexact bit into u.d.
35986 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
35987 * sysdeps/i386/fpu/s_fmaf.S: Removed.
35988 * sysdeps/i386/fpu/s_fma.S: Removed.
35989 * sysdeps/i386/fpu/s_fmal.S: Removed.
35990
7c08a05c
JJ
359912010-10-16 Jakub Jelinek <jakub@redhat.com>
35992
35993 [BZ #3268]
35994 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
35995 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
35996 computation is not scheduled after fetestexcept. Fix value
35997 of minimum denormal long double.
35998
f3f7372d
JJ
359992010-10-14 Jakub Jelinek <jakub@redhat.com>
36000
36001 [BZ #3268]
36002 * math/libm-test.inc (fma_test): Add some more tests.
36003 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
36004 correctly.
36005
14d43591
AS
360062010-10-15 Andreas Schwab <schwab@redhat.com>
36007
36008 * scripts/data/localplt-s390-linux-gnu.data: New file.
36009 * scripts/data/localplt-s390x-linux-gnu.data: New file.
36010
5e908464
JJ
360112010-10-13 Jakub Jelinek <jakub@redhat.com>
36012
36013 [BZ #3268]
36014 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
36015 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
36016 instead of dbl-64.
36017 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
36018 inlines.
36019 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
36020 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
36021 if one of x and y is very large and the other is subnormal.
36022 * sysdeps/s390/fpu/s_fmaf.c: New file.
36023 * sysdeps/s390/fpu/s_fma.c: New file.
36024 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
36025 * sysdeps/powerpc/fpu/s_fma.S: New file.
36026 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
36027 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
36028 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
36029
360302010-10-12 Jakub Jelinek <jakub@redhat.com>
36031
36032 [BZ #3268]
36033 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
36034 fma tests.
36035 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
36036 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
36037 * sysdeps/i386/i686/multiarch/s_fma.c: Include
36038 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
36039 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
36040 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
36041 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
36042
b833d51f
UD
360432010-10-12 Ulrich Drepper <drepper@redhat.com>
36044
36045 [BZ #12078]
36046 * posix/regcomp.c (parse_branch): One more memory leak plugged.
36047 * posix/bug-regex31.input: Add test case.
36048
1751705d
UD
360492010-10-11 Ulrich Drepper <drepper@gmail.com>
36050
e9b9cbf5
UD
36051 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
36052 * posix/bug-regex31.input: New file.
36053
36054 [BZ #12078]
36055 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
36056 (parse_sub_exp): Fix last change, use postorder.
36057
ef06edbe
UD
36058 * posix/bug-regex31.c: New file.
36059 * posix/Makefile: Add rules to build and run bug-regex31.
36060
a129c80d
UD
36061 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
36062
36063 [BZ #12078]
36064 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
36065
b76b818e
UD
36066 [BZ #12108]
36067 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
36068 to have entries in sys_siglist.
36069
1751705d
UD
36070 [BZ #12093]
36071 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
36072 be NULL.
36073
9ff8d36f
JJ
360742010-10-07 Jakub Jelinek <jakub@redhat.com>
36075
36076 [BZ #3268]
36077 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
36078 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
36079 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
36080 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
36081 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
36082 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
36083 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
36084 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
36085 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
36086 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
36087 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
36088 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
36089 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
36090 * math/ftestexcept.c (fetestexcept): Likewise.
36091 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
36092 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
36093 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
36094 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
36095 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
36096 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
36097 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36098
af325969
UD
360992010-10-11 Ulrich Drepper <drepper@gmail.com>
36100
c579b202 36101 [BZ #12107]
af325969
UD
36102 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
36103 newline.
36104
67a67b95
UD
361052010-10-06 Ulrich Drepper <drepper@gmail.com>
36106
36107 * string/bug-strstr1.c: New file.
36108 * string/Makefile: Add rules to build and run bug-strstr1.
36109
5fb308bc
EB
361102010-10-05 Eric Blake <eblake@redhat.com>
36111
36112 [BZ #12092]
36113 * string/str-two-way.h (two_way_long_needle): Always clear memory
36114 when skipping input due to the shift table.
36115
45db99c7
UD
361162010-10-03 Ulrich Drepper <drepper@gmail.com>
36117
3b111893
UD
36118 [BZ #12005]
36119 * malloc/mcheck.c: Handle large requests.
36120
45db99c7
UD
36121 [BZ #12077]
36122 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
36123 for strncmp and strncasecmp.
36124 * string/stratcliff.c: Add tests for strcmp and strncmp.
36125 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
36126
cf7a1eb8
NI
361272010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36128
36129 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
36130 __set_fpscr.
36131
6484ba5e
AJ
361322010-09-30 Andreas Jaeger <aj@suse.de>
36133
36134 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
36135 (CGROUP_SUPER_MAGIC): Define.
36136 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36137 Handle btrfs and cgroup file systems.
36138 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36139 Likewise.
36140
91c42559
LM
361412010-09-27 Luis Machado <luisgpm@br.ibm.com>
36142
36143 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
36144 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
36145
87a97932
AK
361462010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36147
36148 [BZ #12067]
36149 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
36150 trying to locate the ELF header.
36151
c21cc9bc
AS
361522010-09-27 Andreas Schwab <schwab@redhat.com>
36153
36154 [BZ #11611]
36155 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
36156 Mask out sign-bit copies when constructing f_fsid.
36157
315970f6
PB
361582010-09-24 Petr Baudis <pasky@suse.cz>
36159
36160 * debug/stack_chk_fail_local.c: Add missing licence exception.
36161 * debug/warning-nop.c: Likewise.
36162
1ac7a2c7
JM
361632010-09-15 Joseph Myers <joseph@codesourcery.com>
36164
36165 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
36166 implementing getdents64 using getdents syscall, set d_type if
36167 __ASSUME_GETDENTS32_D_TYPE.
36168
56801c50
AS
361692010-09-16 Andreas Schwab <schwab@redhat.com>
36170
36171 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
36172 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
36173
dda51327
UD
361742010-09-21 Ulrich Drepper <drepper@redhat.com>
36175
36176 [BZ #12037]
36177 * posix/unistd.h: Undo change of feature selection for ftruncate from
36178 2010-01-11.
36179
8ffcee4a
UD
361802010-09-20 Ulrich Drepper <drepper@redhat.com>
36181
a545ecd9 36182 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
36183 detection.
36184
e24f0a8b
AS
361852010-09-20 Andreas Schwab <schwab@redhat.com>
36186
36187 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
36188 fanotify_mark.
36189 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36190
7291c56f
AS
361912010-09-14 Andreas Schwab <schwab@redhat.com>
36192
36193 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
36194 variables after CHECK_SP call.
36195 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
36196
bc5fb037
AS
361972010-09-13 Andreas Schwab <schwab@redhat.com>
36198 Ulrich Drepper <drepper@redhat.com>
36199
36200 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
36201 re-relocationg ld.so.
36202 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
36203 _dl_init_paths call.
36204 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
36205 here anymore.
36206
e66e7419
UD
362072010-09-14 Ulrich Drepper <drepper@redhat.com>
36208
36209 * resolv/res_init.c (__res_vinit): Count the default server we added.
36210
c044aa75
CLT
362112010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
36212 Ulrich Drepper <drepper@redhat.com>
36213
36214 [BZ #11968]
36215 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
36216 (____longjmp_chk): Use %ebx for saving value across system call.
36217 Add unwind info.
36218
32cf4069
AS
362192010-09-06 Andreas Schwab <schwab@redhat.com>
36220
36221 * manual/Makefile: Don't mix pattern rules with normal rules.
36222
817328ee
AS
362232010-09-05 Andreas Schwab <schwab@linux-m68k.org>
36224
36225 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
36226 operation.
36227 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
36228 * libio/iofopncook.c (_IO_cookie_init): Likewise.
36229 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
36230 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
36231 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36232 Likewise.
36233
29fddf61
UD
362342010-09-04 Ulrich Drepper <drepper@redhat.com>
36235
36236 [BZ #11979]
36237 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
36238 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
36239
0959ffc9
UD
362402010-09-02 Ulrich Drepper <drepper@redhat.com>
36241
36242 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
36243 * sysdeps/x86_64/addmul_1.S: Likewise.
36244 * sysdeps/x86_64/lshift.S: Likewise.
36245 * sysdeps/x86_64/mul_1.S: Likewise.
36246 * sysdeps/x86_64/rshift.S: Likewise.
36247 * sysdeps/x86_64/sub_n.S: Likewise.
36248 * sysdeps/x86_64/submul_1.S: Likewise.
36249
ece29840
ST
362502010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
36251
0959ffc9
UD
36252 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
36253 Define __sched_param instead of SCHED_* and sched_param when
ece29840 36254 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 36255 * bits/sched.h [__need_schedparam]
ece29840 36256 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
36257 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
36258 (__defined_schedparam): Define to 1.
ece29840
ST
36259 (__sched_param): New structure, identical to sched_param.
36260 (__need_schedparam): Undefine.
36261
e53a31fe
MF
362622010-08-31 Mike Frysinger <vapier@gentoo.org>
36263
fdc0c10d
MF
36264 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
36265 (epoll_create1): Declare.
36266
e53a31fe
MF
36267 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
36268
a726d796
AS
362692010-08-31 Andreas Schwab <schwab@redhat.com>
36270
36271 [BZ #7066]
36272 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
36273 shifting retval into place.
36274
2f3e3dc7
UD
362752010-09-01 Ulrich Drepper <drepper@redhat.com>
36276
f2933da9
UD
36277 * nis/rpcsvc/nis.h: Update copyright notice.
36278 * nis/rpcsvc/nis.x: Likewise.
36279 * nis/rpcsvc/nis_callback.h: Likewise.
36280 * nis/rpcsvc/nis_callback.x: Likewise.
36281 * nis/rpcsvc/nis_object.x: Likewise.
36282 * nis/rpcsvc/nis_tags.h: Likewise.
36283 * nis/rpcsvc/yp.h: Likewise.
36284 * nis/rpcsvc/yp.x: Likewise.
36285 * nis/rpcsvc/ypupd.h: Likewise.
36286 * nis/yp_xdr.c: Likewise.
36287 * nis/ypupdate_xdr.c: Likewise.
36288
2f3e3dc7
UD
36289 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
36290 mainly the body of pmap_getport. Add parameters to specify timeouts.
36291 (pmap_getport): Use __libc_rpc_getport.
36292 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
36293 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
36294 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
36295
f3dcc2f9
AS
362962010-08-31 Andreas Schwab <schwab@linux-m68k.org>
36297
36298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
36299 fanotify_mark.
36300
6d34eb5b
RM
363012010-08-27 Roland McGrath <roland@redhat.com>
36302
36303 * sysdeps/i386/i686/multiarch/Makefile
36304 (CFLAGS-varshift.c): New variable.
36305
9ea3de11
UD
363062010-08-27 Ulrich Drepper <drepper@redhat.com>
36307
c96d23fc
UD
36308 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
36309 * sysdeps/i386/i686/multiarch/varshift.c: New file.
36310
9ea3de11
UD
36311 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
36312
36313 * sysdeps/x86_64/strlen.S: Minimal code improvement.
36314
623aac7f
L
363152010-08-26 H.J. Lu <hongjiu.lu@intel.com>
36316
36317 * sysdeps/x86_64/strlen.S: Unroll the loop.
36318 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36319 strlen-sse2 strlen-sse2-bsf.
36320 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
36321 __strlen_no_bsf if bit_Slow_BSF is set.
36322 (__strlen_sse42): Removed.
36323 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
36324 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
36325
8b2b7715
RM
363262010-08-25 Roland McGrath <roland@redhat.com>
36327
36328 * sysdeps/x86_64/multiarch/varshift.S: File removed.
36329 * sysdeps/x86_64/multiarch/varshift.c: New file.
36330 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
36331 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
36332 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
36333 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36334
e73015f2
L
363352010-08-25 H.J. Lu <hongjiu.lu@intel.com>
36336
36337 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36338 strlen-sse2 strlen-sse2-bsf.
36339 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
36340 __strlen_sse2_bsf if bit_Slow_BSF is unset.
36341 (__strlen_sse2): Removed.
36342 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
36343 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
36344 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
36345 bit_Slow_BSF for Atom.
36346 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
36347 (index_Slow_BSF): Define.
36348 (HAS_SLOW_BSF): Define.
36349
df24a73e
UD
363502010-08-25 Ulrich Drepper <drepper@redhat.com>
36351
36352 [BZ #10851]
36353 * resolv/res_init.c (__res_vinit): When no server address at all
36354 is given default to loopback.
36355
f2ac4868
RM
363562010-08-24 Roland McGrath <roland@redhat.com>
36357
09055553
RM
36358 * configure.in: Remove config-name.h generation.
36359 * configure: Regenerated.
36360 * config-name.in: File removed.
36361 * scripts/config-uname.sh: New file.
36362 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
36363 ($(objdir)config-name.h): New target.
36364
f2ac4868
RM
36365 * sunrpc/rpc_parse.h: Avoid nested comment.
36366
73f27d5e
RH
363672010-08-24 Richard Henderson <rth@redhat.com>
36368 Ulrich Drepper <drepper@redhat.com>
36369 H.J. Lu <hongjiu.lu@intel.com>
36370
36371 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
36372 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
36373 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
36374 Replace _mm_srli_si128 with __m128i_shift_right. Replace
36375 _mm_alignr_epi8 with _mm_loadu_si128.
36376 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
36377 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
36378 (__m128i_shift_right): Removed.
36379 * sysdeps/i386/i686/multiarch/varshift.h: New file.
36380 * sysdeps/i386/i686/multiarch/varshift.S: New file.
36381 * sysdeps/x86_64/multiarch/varshift.h: New file.
36382 * sysdeps/x86_64/multiarch/varshift.S: New file.
36383
84b9230c
MF
363842010-08-21 Mike Frysinger <vapier@gentoo.org>
36385
36386 * configure.in: Move assembler checks to before sysdep dir checking.
36387
9bbd0ddc
PB
363882010-08-20 Petr Baudis <pasky@suse.cz>
36389
36390 * LICENSES: Sync the sunrpc license.
36391
9da4bb31
UD
363922010-08-19 Ulrich Drepper <drepper@redhat.com>
36393
a7ab6ec8
UD
36394 * sunrpc/auth_des.c: Update copyright notice once again.
36395 * sunrpc/auth_none.c: Likewise.
36396 * sunrpc/auth_unix.c: Likewise.
36397 * sunrpc/authdes_prot.c: Likewise.
36398 * sunrpc/authuxprot.c: Likewise.
36399 * sunrpc/bindrsvprt.c: Likewise.
36400 * sunrpc/clnt_gen.c: Likewise.
36401 * sunrpc/clnt_perr.c: Likewise.
36402 * sunrpc/clnt_raw.c: Likewise.
36403 * sunrpc/clnt_simp.c: Likewise.
36404 * sunrpc/clnt_tcp.c: Likewise.
36405 * sunrpc/clnt_udp.c: Likewise.
36406 * sunrpc/clnt_unix.c: Likewise.
36407 * sunrpc/des_crypt.c: Likewise.
36408 * sunrpc/des_soft.c: Likewise.
36409 * sunrpc/get_myaddr.c: Likewise.
36410 * sunrpc/getrpcport.c: Likewise.
36411 * sunrpc/key_call.c: Likewise.
36412 * sunrpc/key_prot.c: Likewise.
36413 * sunrpc/openchild.c: Likewise.
36414 * sunrpc/pm_getmaps.c: Likewise.
36415 * sunrpc/pm_getport.c: Likewise.
36416 * sunrpc/pmap_clnt.c: Likewise.
36417 * sunrpc/pmap_prot.c: Likewise.
36418 * sunrpc/pmap_prot2.c: Likewise.
36419 * sunrpc/pmap_rmt.c: Likewise.
36420 * sunrpc/rpc/auth.h: Likewise.
36421 * sunrpc/rpc/auth_unix.h: Likewise.
36422 * sunrpc/rpc/clnt.h: Likewise.
36423 * sunrpc/rpc/des_crypt.h: Likewise.
36424 * sunrpc/rpc/key_prot.h: Likewise.
36425 * sunrpc/rpc/netdb.h: Likewise.
36426 * sunrpc/rpc/pmap_clnt.h: Likewise.
36427 * sunrpc/rpc/pmap_prot.h: Likewise.
36428 * sunrpc/rpc/pmap_rmt.h: Likewise.
36429 * sunrpc/rpc/rpc.h: Likewise.
36430 * sunrpc/rpc/rpc_des.h: Likewise.
36431 * sunrpc/rpc/rpc_msg.h: Likewise.
36432 * sunrpc/rpc/svc.h: Likewise.
36433 * sunrpc/rpc/svc_auth.h: Likewise.
36434 * sunrpc/rpc/types.h: Likewise.
36435 * sunrpc/rpc/xdr.h: Likewise.
36436 * sunrpc/rpc_clntout.c: Likewise.
36437 * sunrpc/rpc_cmsg.c: Likewise.
36438 * sunrpc/rpc_common.c: Likewise.
36439 * sunrpc/rpc_cout.c: Likewise.
36440 * sunrpc/rpc_dtable.c: Likewise.
36441 * sunrpc/rpc_hout.c: Likewise.
36442 * sunrpc/rpc_main.c: Likewise.
36443 * sunrpc/rpc_parse.c: Likewise.
36444 * sunrpc/rpc_parse.h: Likewise.
36445 * sunrpc/rpc_prot.c: Likewise.
36446 * sunrpc/rpc_sample.c: Likewise.
36447 * sunrpc/rpc_scan.c: Likewise.
36448 * sunrpc/rpc_scan.h: Likewise.
36449 * sunrpc/rpc_svcout.c: Likewise.
36450 * sunrpc/rpc_tblout.c: Likewise.
36451 * sunrpc/rpc_util.c: Likewise.
36452 * sunrpc/rpc_util.h: Likewise.
36453 * sunrpc/rpcinfo.c: Likewise.
36454 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
36455 * sunrpc/rpcsvc/key_prot.x: Likewise.
36456 * sunrpc/rpcsvc/klm_prot.x: Likewise.
36457 * sunrpc/rpcsvc/mount.x: Likewise.
36458 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
36459 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
36460 * sunrpc/rpcsvc/rex.x: Likewise.
36461 * sunrpc/rpcsvc/rstat.x: Likewise.
36462 * sunrpc/rpcsvc/rusers.x: Likewise.
36463 * sunrpc/rpcsvc/sm_inter.x: Likewise.
36464 * sunrpc/rpcsvc/spray.x: Likewise.
36465 * sunrpc/rpcsvc/yppasswd.x: Likewise.
36466 * sunrpc/rtime.c: Likewise.
36467 * sunrpc/svc.c: Likewise.
36468 * sunrpc/svc_auth.c: Likewise.
36469 * sunrpc/svc_authux.c: Likewise.
36470 * sunrpc/svc_raw.c: Likewise.
36471 * sunrpc/svc_run.c: Likewise.
36472 * sunrpc/svc_simple.c: Likewise.
36473 * sunrpc/svc_tcp.c: Likewise.
36474 * sunrpc/svc_udp.c: Likewise.
36475 * sunrpc/svc_unix.c: Likewise.
36476 * sunrpc/svcauth_des.c: Likewise.
36477 * sunrpc/xcrypt.c: Likewise.
36478 * sunrpc/xdr.c: Likewise.
36479 * sunrpc/xdr_array.c: Likewise.
36480 * sunrpc/xdr_float.c: Likewise.
36481 * sunrpc/xdr_mem.c: Likewise.
36482 * sunrpc/xdr_rec.c: Likewise.
36483 * sunrpc/xdr_ref.c: Likewise.
36484 * sunrpc/xdr_sizeof.c: Likewise.
36485 * sunrpc/xdr_stdio.c: Likewise.
36486
9da4bb31
UD
36487 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
36488 handling.
36489
bdaa77bc
AS
364902010-08-19 Andreas Schwab <schwab@redhat.com>
36491
36492 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
36493
fe2f79db
LM
364942010-08-19 Luis Machado <luisgpm@br.ibm.com>
36495
36496 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
36497 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
36498 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
36499 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
36500 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
36501 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
36502 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
36503 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
36504 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
36505 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
36506 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
36507 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
36508 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
36509 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
36510
b9b42ee0
AB
365112010-07-26 Anton Blanchard <anton@samba.org>
36512
36513 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
36514 * malloc/arena.c (heap_trim): Likewise.
36515
1c06ba31
UD
365162010-08-16 Ulrich Drepper <drepper@redhat.com>
36517
36518 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
36519 here. Not...
36520 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
36521 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
36522
f8392f40
L
365232010-08-12 H.J. Lu <hongjiu.lu@intel.com>
36524
36525 * sysdeps/i386/elf/Makefile: New file.
36526
3162f12e
AS
365272010-08-14 Andreas Schwab <schwab@linux-m68k.org>
36528
36529 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
36530 from fanotify_init.
36531 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
36532 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36533
28c90b2c
UD
365342010-08-15 Ulrich Drepper <drepper@redhat.com>
36535
36536 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
36537 of strncasecmp_l.
1feccb6c 36538 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 36539
ca6bb004
UD
365402010-08-14 Ulrich Drepper <drepper@redhat.com>
36541
e9f82e0d
UD
36542 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36543 strncase_l-nonascii.
36544 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36545 Add strncase_l-ssse3.
36546 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
36547 * sysdeps/x86_64/strcmp.S: Likewise.
36548 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
36549 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
36550 * sysdeps/x86_64/strncase.S: New file.
36551 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
36552 * sysdeps/x86_64/strncase_l.S: New file.
36553 * string/Makefile (strop-tests): Add strncasecmp.
36554 * string/test-strncasecmp.c: New file.
36555
36556 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
36557 warning.
36558
ca6bb004
UD
36559 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
36560 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
36561
052fa7b3
AS
365622010-08-14 Andreas Schwab <schwab@linux-m68k.org>
36563
36564 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
36565
962dba78
UD
365662010-08-12 Ulrich Drepper <drepper@redhat.com>
36567
36568 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
36569 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
36570 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
36571
bebff237
AM
365722010-05-01 Alan Modra <amodra@gmail.com>
36573
36574 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
36575 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
36576 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
36577 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
36578 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
36579 tidying. Don't tail-call __sigjmp_save for static lib.
36580 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
36581 save location.
36582 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
36583 (CALL_MCOUNT): Add eh info, and nop after bl.
36584 (TAIL_CALL_SYSCALL_ERROR): New macro.
36585 (PSEUDO_RET): Use it.
36586 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
36587 Correct save location of integer regs and cr.
36588 (_dl_profile_resolve): Correct cr save location. Delete nops
36589 after bl when SHARED. Reduce cfi size a little by better
36590 placement of cfi directives.
36591 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
36592 make a stack frame. Instead use parm save area as a temp.
36593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
36594 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
36595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
36596 Don't make a stack frame for parent, use parm save area.
36597 Increase child stack frame to 112 bytes. Don't save unused reg,
36598 and adjust reg usage. Set up cfi on error recovery and
36599 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
36600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36601 (__makecontext): Add dummy nop after jump to exit.
36602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
36603 Use correct parm save area and cr save, reduce stack frame.
36604 Correct cfi for possible PSEUDO_RET frame setup.
36605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
36606 Branch to local label emitted by PSEUDO_RET rather than
36607 __syscall_error.
36608
02637374
AS
366092010-08-12 Andreas Schwab <schwab@redhat.com>
36610
36611 [BZ #11904]
36612 * locale/programs/locale.c (print_assignment): New function.
36613 (show_locale_vars): Use it.
36614
c3e2f19b
UD
366152010-08-11 Ulrich Drepper <drepper@redhat.com>
36616
3cdaa6ad
UD
36617 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
36618 field.
36619 (struct statfs64): Likewise.
36620 (_STATFS_F_FLAGS): Define.
36621 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
36622 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36623 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
36624 (ST_VALID): Define locally.
36625 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
36626 __statvfs_getflags, use the provided value.
36627 * sysdeps/unix/sysv/linux/kernel-features.h: Define
36628 __ASSUME_STATFS_F_FLAGS.
36629
754f7da3
UD
36630 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
36631
10b3bedc
UD
36632 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
36633 Add sys/fanotify.h.
36634 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
36635 fanotify_mask for GLIBC_2.13.
36636 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
36637 fanotify_init and fanotify_mark.
36638 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36639 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
36640
c08fb0d7
UD
36641 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
36642 Add prlimit.
36643 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
36644 prlimit64 for GLIBC_2.13.
36645 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
36646 prlimit64.
36647 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
36648 syscall.
36649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
36650 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36651 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
36652 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
36653 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
36654 add prlimit alias.
36655 * sysdeps/unix/sysv/linux/prlimit.c: New file.
36656
15bac72b
UD
36657 [BZ #11903]
36658 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
36659 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
36660
c3e2f19b
UD
36661 * nss/Makefile: Add rules to build and run tst-nss-test1.
36662 * shlib-versions: Add entry for libnss_test1.
36663 * nss/nss_test1.c: New file.
36664 * nss/tst-nss-test1.c: New file.
36665
36666 * nss/nsswitch.c (__nss_database_custom): Define new variable.
36667 (__nss_configure_lookup): Set appropriate entry in
36668 __nss_configure_lookup to true.
36669 * nss/nsswitch.h: Define enum with indeces of databases in
36670 databases and __nss_database_custom arrays. Declare
36671 __nss_database_custom.
36672 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
36673 to avoid using nscd when custom rules are installed.
36674 * nss/getXXbyYY_r.c: Likewise.
36675 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
36676
36677 * nss/nss_files/files-parse.c: Whitespace fixes.
36678
f15ce4d8
UD
366792010-08-09 Ulrich Drepper <drepper@redhat.com>
36680
36681 [BZ #11883]
36682 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
36683 * posix/fnmatch_loop.c: Likewise.
36684
d22e4cc9
AK
366852010-07-17 Andi Kleen <ak@linux.intel.com>
36686
36687 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
36688 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
36689 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
36690 * Versions.def [GLIBC_2.13]: Add.
36691
805bc17d
UD
366922010-08-06 Ulrich Drepper <drepper@redhat.com>
36693
36694 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36695 Also fail if tpwd after pwuid call is NULL.
36696
5a42321d
ST
366972010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
36698
36699 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
36700 when converting to ms.
36701
fd3ebeda
ST
367022010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
36703
36704 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
36705 EOPNOTSUPP errors with ENOTTY.
36706 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
36707 EOPNOTSUPP errors with ENOTTY.
36708
73507d3a
UD
367092010-07-31 Ulrich Drepper <drepper@redhat.com>
36710
36711 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36712 Add strcasecmp_l-ssse3.
36713 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
36714 strcasecmp.
36715 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
36716 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
36717 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
36718
fe36dd02
UD
367192010-07-30 Ulrich Drepper <drepper@redhat.com>
36720
66f6765a
UD
36721 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
36722
42e08a54
UD
36723 * string/Makefile (strop-tests): Add strcasecmp.
36724 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36725 strcasecmp_l-nonascii.
36726 (gen-as-const-headers): Add locale-defines.sym.
36727 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
36728 * sysdeps/x86_64/strcasecmp.S: New file.
36729 * sysdeps/x86_64/strcasecmp_l.S: New file.
36730 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
36731 * sysdeps/x86_64/locale-defines.sym: New file.
36732 * string/test-strcasecmp.c: New file.
36733
fe36dd02
UD
36734 * string/test-strcasestr.c: Test both ends of the range of characters.
36735 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
36736
48cbc0d6
RM
367372010-07-29 Roland McGrath <roland@redhat.com>
36738
76e6d6bc 36739 [BZ #11856]
48cbc0d6
RM
36740 * manual/locale.texi (Yes-or-No Questions): Fix example code.
36741
880113d9
UD
367422010-07-27 Ulrich Drepper <drepper@redhat.com>
36743
36744 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
36745 for ld.so.
36746
deb9cabb
AS
367472010-07-27 Andreas Schwab <schwab@redhat.com>
36748
36749 * manual/memory.texi (Malloc Tunable Parameters): Document
36750 M_PERTURB.
36751
1c7570ff
RM
367522010-07-26 Roland McGrath <roland@redhat.com>
36753
36754 [BZ #11840]
36755 * configure.in (-fgnu89-inline check): Set and substitute
36756 gnu89_inline, not libc_cv_gnu89_inline.
36757 * configure: Regenerated.
36758 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
36759
24fb0f88
UD
367602010-07-26 Ulrich Drepper <drepper@redhat.com>
36761
36762 * string/test-strnlen.c: New file.
36763 * string/Makefile (strop-tests): Add strnlen.
36764 * string/tester.c (test_strnlen): Add a few more test cases.
36765 * string/tst-strlen.c: Better error reporting.
36766
36767 * sysdeps/x86_64/strnlen.S: New file.
36768
8e96b93a
UD
367692010-07-24 Ulrich Drepper <drepper@redhat.com>
36770
36771 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
36772 lower-latency instructions.
36773
dbc676d4
UD
367742010-07-23 Ulrich Drepper <drepper@redhat.com>
36775
36776 * string/test-strcasestr.c: New file.
36777 * string/test-strstr.c: New file.
36778 * string/Makefile (strop-tests): Add strstr and strcasestr.
36779 * string/str-two-way.h: Don't undefine MAX.
36780 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
36781
f6a31e0e
AS
367822010-07-21 Andreas Schwab <schwab@redhat.com>
36783
36784 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36785 strcasestr-nonascii.
36786 (CFLAGS-strcasestr-nonascii.c): Define.
36787 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
36788 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
36789 Remove unused attribute.
36790
5dbc3b6c
RM
367912010-07-20 Roland McGrath <roland@redhat.com>
36792
36793 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
36794 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
36795 ld.so.cache was broken. With it, there is no way to disable dsocaps
36796 like LD_HWCAP_MASK can disable hwcaps.
36797
23d101d8
EPM
367982010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
36799
36800 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
36801
cc9f2e47
UD
368022010-07-16 Ulrich Drepper <drepper@redhat.com>
36803
36804 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
36805 call in strcasestr.
36806 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
36807 __strcasestr_sse42_nonascii.
36808 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
36809 strcasestr-nonascii.c.
36810 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
36811
77c1b069
LM
368122010-06-15 Luis Machado <luisgpm@br.ibm.com>
36813
36814 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
36815 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
36816 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
36817 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
36818
440566c3
UD
368192010-07-09 Ulrich Drepper <drepper@redhat.com>
36820
36821 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
36822 fcntl.
36823
5be9d05d
AS
368242010-07-06 Andreas Schwab <schwab@redhat.com>
36825
c30b7ee2 36826 [BZ #11577]
5be9d05d
AS
36827 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
36828 dl_signal_cerror.
36829
8a492a67
UD
368302010-07-06 Ulrich Drepper <drepper@redhat.com>
36831
36832 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
36833 _PC_PIPE_BUF using F_GETPIPE_SZ.
36834
713df3d5
RM
368352010-07-05 Roland McGrath <roland@redhat.com>
36836
36837 * manual/arith.texi (Rounding Functions): Fix rint description
36838 implicit in round description.
36839
702e8f14
UD
368402010-07-02 Ulrich Drepper <drepper@redhat.com>
36841
36842 * elf/Makefile: Fix linking for a few tests to make recent linker
36843 happy.
36844
52ed8be9
AS
368452010-06-30 Andreas Schwab <schwab@redhat.com>
36846
36847 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
36848 $(common-objpfx)libc_nonshared.a.
36849
f47c9a11
LM
368502010-06-21 Luis Machado <luisgpm@br.ibm.com>
36851
36852 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
36853 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
36854 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
36855 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
36856 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
36857 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
36858 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
36859 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
36860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
36861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
36862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
36863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
36864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
36865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
36866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
36867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
36868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
36869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
36870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
36871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
36872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
36873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
36874 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
36875 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
36876 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
36877 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
36878 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
36879 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
36880 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
36881 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
36882 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
36883 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
36884 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
36885 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
36886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
36887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
36888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
36889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
36890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
36891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
36892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
36893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
36894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
36895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
36896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
36897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
36898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
36899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
36900
6fb8cbcb
L
369012010-06-25 H.J. Lu <hongjiu.lu@intel.com>
36902
36903 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
36904 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
36905 * string/memmove.c (memmove): Renamed to ...
36906 (MEMMOVE): ...this. Default to memmove.
36907 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
36908 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
36909 (END_CHK): Define.
36910 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36911 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
36912 mempcpy-ssse3-back memmove-ssse3-back.
36913 * sysdeps/x86_64/multiarch/bcopy.S: New file .
36914 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
36915 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
36916 * sysdeps/x86_64/multiarch/memcpy.S: New file.
36917 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
36918 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
36919 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
36920 * sysdeps/x86_64/multiarch/memmove.c: New file.
36921 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
36922 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
36923 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
36924 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
36925 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
36926 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
36927 Define.
36928 (index_Fast_Copy_Backward): Define.
36929 (HAS_ARCH_FEATURE): Define.
36930 (HAS_FAST_REP_STRING): Define.
36931 (HAS_FAST_COPY_BACKWARD): Define.
36932
4e733bac 369332010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
36934
36935 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36936 Restore proper fallback handling.
36937
63c4ed22
UD
369382010-06-19 Ulrich Drepper <drepper@redhat.com>
36939
ac2b484c
UD
36940 [BZ #11701]
36941 * posix/group_member.c (__group_member): Correct checking loop.
36942
63c4ed22
UD
36943 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
36944 OOM in getpwuid_r correctly. Return error number when the caller
36945 should return, otherwise -1.
36946 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
36947 call returning > 0 value.
36948 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
36949
765ade4b
AS
369502010-06-07 Andreas Schwab <schwab@redhat.com>
36951
36952 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
36953 libc_nonshared.a from targets in modules-names.
36954
80da2e09
KS
369552010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
36956
36957 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
36958 requires it.
36959
158db122
LM
369602010-06-10 Luis Machado <luisgpm@br.ibm.com>
36961
36962 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
36963 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
36964 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
36965 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
36966
caa78cf8
AS
369672010-06-02 Andreas Schwab <schwab@redhat.com>
36968
36969 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
36970
b2ef2c01
UD
369712010-06-14 Ulrich Drepper <drepper@redhat.com>
36972
36973 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
36974 and F_GETPIPE_SZ.
36975 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36976 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36977 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36978 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36979 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36980 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
36981
fbd643b6
RM
369822010-06-14 Roland McGrath <roland@redhat.com>
36983
36984 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
36985
f32f2869
JJ
369862010-06-07 Jakub Jelinek <jakub@redhat.com>
36987
36988 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
36989 __REDIRECT followed by __THROW.
36990 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
36991 * posix/getopt.h (getopt): Likewise.
36992
2a50c078
EPM
369932010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
36994
36995 * hurd/lookup-at.c (__file_name_lookup_at): Accept
36996 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
36997 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
36998 in AT_FLAGS.
36999 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
37000 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
37001
eb5ad2eb
LM
370022010-05-28 Luis Machado <luisgpm@br.ibm.com>
37003
37004 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
37005
3c88fe1e
L
370062010-05-26 H.J. Lu <hongjiu.lu@intel.com>
37007
37008 [BZ #11640]
37009 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37010 Properly check family and model.
37011
d2f73151
TY
370122010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
37013
37014 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
37015
ebd2e13d
LM
370162010-05-24 Luis Machado <luisgpm@br.ibm.com>
37017
37018 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
37019
b32b8b45
UD
370202010-05-21 Ulrich Drepper <drepper@redhat.com>
37021
37022 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
37023 symbol reference.
37024
9acbe24d
AS
370252010-05-19 Andreas Schwab <schwab@redhat.com>
37026
37027 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
37028 symbol reference.
37029
f0ccf6ea
AS
370302010-05-21 Andreas Schwab <schwab@redhat.com>
37031
3d04ff3a
AS
37032 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
37033 and internal_recvmmsg.
37034 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
37035 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
37036 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
37037 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
37038
f0ccf6ea
AS
37039 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
37040 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
37041 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
37042
5b08ac57
AS
370432010-05-20 Andreas Schwab <schwab@redhat.com>
37044
37045 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
37046
4828935d
LM
370472010-05-17 Luis Machado <luisgpm@br.ibm.com>
37048
37049 POWER7 optimizations.
37050 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
37051 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
37052
373d545e
UD
370532010-05-19 Ulrich Drepper <drepper@redhat.com>
37054
37055 * version.h: Update for 2.13 development version.
37056
21a2b1ae
AS
370572010-05-12 Andrew Stubbs <ams@codesourcery.com>
37058
37059 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
37060 exceptions. Return 0.
37061
3f7dcb2b
RM
370622010-05-07 Roland McGrath <roland@redhat.com>
37063
37064 * elf/ldconfig.c (main): Add a const.
37065
5f24d53a 370662010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 37067
a160f8d8
UD
37068 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
37069 (args_options): Add no-idn option.
37070 (ahosts_keys_int): Add idn_flags to ai_flags.
37071 (parse_option): Handle 'i' option to clear idn_flags.
37072
5f24d53a
UD
37073 * malloc/malloc.c (_int_free): Possible race in the most recently
37074 added check. Only act on the data if no current modification
37075 happened.
265bb1ce
UD
37076
37077See ChangeLog.17 for earlier changes.
This page took 4.965978 seconds and 5 git commands to generate.