]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
PowerPC: multiarch wcschr for PowerPC64
[thirdparty/glibc.git] / ChangeLog
CommitLineData
16fd2ae3
AZ
12013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
3 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
4 multiarch implementations.
5 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6 (__libc_ifunc_impl_list): Likewise.
7 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
8 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
9 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
10 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
11 multiarch wcschr for PPC64.
12
9ee2969b
AZ
132013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14
15 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
16 multiarch implementations.
17 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18 (__libc_ifunc_impl_list): Likewise.
19 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
20 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
21 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
22 multiarch strchrnul for PPC64.
23
372dc060
AZ
242013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25
26 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
27 implementations.
28 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29 (__libc_ifunc_impl_list): Likewise.
30 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
31 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
32 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
33 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
34 strchr for PPC64.
35
24c2c3b9
AZ
362013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37
38 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
39 implementations.
40 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41 (__libc_ifunc_impl_list): Likewise.
42 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
43 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
44 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
45 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
46 strncmp for PPC64.
47
1c92d9a0
AZ
482013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49
50 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
51 multiarch implementations.
52 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53 (__libc_ifunc_impl_list): Likewise.
54 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
55 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
56 strncasecmp for PPC64.
57 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
58 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
59 multiarch strncasecmp_l for PPC64.
60
17de3ee3
AZ
612013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62
63 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
64 multiarch implementations.
65 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
66 (__libc_ifunc_impl_list): Likewise.
67 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
68 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
69 multiarch strcasecmp for PPC64.
70 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
71 file.
72 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
73 multiarch strcasecmp_l for PPC64.
74
62982bf9
AZ
752013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
76
77 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
78 implementations.
79 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
80 (__libc_ifunc_impl_list): Likewise.
81 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
82 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
83 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
84 strnlen for PPC64.
85
a65f4904
AZ
862013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
87
88 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
89 implementations.
90 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
91 (__libc_ifunc_impl_list): Likewise.
92 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
93 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
94 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
95 strlen for PPC64.
96
1fd005ad
AZ
972013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
98
99 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
100 implementations.
101 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
102 (__libc_ifunc_impl_list): Likewise.
103 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
104 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
105 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
106 rawmemrchr for PPC64.
107
cd05ba91
AZ
1082013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
109
110 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
111 implementation.
112 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
113 (__libc_ifunc_impl_list): Likewise.
114 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
115 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
116 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
117 memrchr for PPC64.
118
870f8676
AZ
1192013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
120
121 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
122 implementation.
123 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
124 (__libc_ifunc_impl_list): Likewise.
125 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
126 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
127 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
128 memchr for PPC64.
129
f00be62b
AZ
1302013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
131
132 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
133 implementation.
134 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
135 (__libc_ifunc_impl_list): Likewise.
136 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
137 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
138 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
139 mempcpy for PPC64.
140
8a29a3d0
AZ
1412013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
142
143 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
144 avoid cretion of __bzero symbol.
145 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
146 Likewise.
147 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
148 Likewise.
149 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
150 Likewise.
151 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
152 multiarch implementations.
153 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
154 (__libc_ifunc_impl_list): Likewise.
155 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
156 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
157 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
158 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
159 bzero for PPC32.
160 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
161 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
162 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
163 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
164 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
165 memset for PPC64.
166 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
167
07253fcf
AZ
1682013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
169
170 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
171 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
172 implementations.
173 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
174 (__libc_ifunc_impl_list): Likewise.
175 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
176 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
177 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
178 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
179 memcmp for PPC64.
180
b5beafbc
AZ
1812013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
182
183 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
184 multiarch for POWER/PPC64.
185 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
186 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
187 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
188 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
189 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
190 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
191 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
192 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
193 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
194 memcpy for PPC64.
195
5e6a4d4b
AZ
1962013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
197
198 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
199 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
200 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
201 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
202 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
203 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
204 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
205 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
206 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
207 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
208 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
209 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
210 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
211 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
212 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
220
ddfab6dc
KK
2212013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
222
223 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
224
19b5525e
SP
2252013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
226
227 * benchtests/Makefile (bench): Add exp2 and log2.
228 (LDLIBS-bench-exp2): Add -lm.
229 (LDLIBS-bench-log2): Likewise.
230 * benchtests/exp2-inputs: New inputs file.
231 * benchtests/log2-inputs: New inputs file.
232 * benchtests/log-inputs: Add new inputs.
233 * benchtests/tan-inputs: Likewise.
234
196f7f5d
SP
2352013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
236
7a74607f
SP
237 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
238 definition...
239 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
240 csloww1, csloww2): ... from here.
241
196f7f5d
SP
242 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
243 instead of structures.
244 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
245 (POLYNOMIAL): Likewise.
246 (TAYLOR_SLOW): Likewise.
247 (__sin): Likewise.
248 (__cos): Likewise.
249 (slow1): Likewise.
250 (slow2): Likewise.
251 (sloww): Likewise.
252 (sloww1); Likewise.
253 (sloww2): Likewise.
254 (bsloww1): Likewise.
255 (bsloww2): Likewise.
256 (cslow2): Likewise.
257 (csloww): Likewise.
258 (csloww1): Likewise.
259 (csloww2): Likewise.
260
0dfa665c
OB
2612013-12-10 Ondřej Bílka <neleai@seznam.cz>
262
263 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
264 (__malloc_assert, __libc_realloc, __libc_calloc,
265 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
266 memcpy and memset.
267 * malloc/hooks.c (realloc_check): Likewise.
268
5782a80f
OB
2692013-12-10 Ondřej Bílka <neleai@seznam.cz>
270
271 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
272 * malloc/arena.c: Remove PER_THREAD conditional.
273 [!PER_THREAD]: Remove code.
274 (ptmalloc_unlock_all2): Likewise.
275 (ptmalloc_init): Likewise.
276 (_int_new_arena): Likewise.
277 (arena_get2): Likewise.
278 * malloc/hooks.c (__malloc_get_state): Likewise.
279 (__malloc_set_state): Likewise.
280 * malloc/malloc.c: Likewise.
281 (struct malloc_state): Likewise.
282 (struct malloc_par): Likewise.
283 (__libc_realloc): Likewise.
284 (__libc_mallopt): Likewise.
285
aeb95445
AZ
2862013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
287
288 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
289
e8349efd
OB
2902013-12-09 Ondřej Bílka <neleai@seznam.cz>
291
292 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
293 macro to a function. Check for zero perturb_byte.
294 (_int_malloc, _int_free): Remove zero perturb_byte checks.
295
f3eeb3fc
OB
2962013-12-09 Ondřej Bílka <neleai@seznam.cz>
297
298 * malloc/malloc.c: (force_reg): Remove.
299 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
300 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
301 force_reg by atomic_forced_read.
302 * malloc/arena.c (ptmalloc_init): Likewise.
303 * malloc/hooks.c (top_check): Likewise.
304
be2f9009
AZ
3052013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
306
307 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
308
e7b914bd
MT
3092013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
310
311 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
312
9f0be4f8
JM
3132013-12-08 Joseph Myers <joseph@codesourcery.com>
314
315 * math/auto-libm-test-in: Add tests of lgamma.
316 * math/auto-libm-test-out: Regenerated.
317 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
318 (M_LOG_2_SQRT_PIl): Likewise.
319 (lgamma_test_data): Use AUTO_TESTS_f_f1.
320 * math/gen-auto-libm-tests.c (func_calc_method): Add value
321 mpfr_f_f1.
322 (func_calc_desc): Add mpfr_f_f1 union field.
323 (ARGS1): New macro.
324 (ARGS2): Likewise.
325 (ARGS3): Likewise.
326 (ARGS4): Likewise.
327 (RET1): Likewise.
328 (RET2): Likewise.
329 (CALC): Likewise.
330 (FUNC): Likewise.
331 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
332 (test_functions): Add lgamma.
333 (calc_generic_results): Handle mpfr_f_f1.
334 * sysdeps/i386/fpu/libm-test-ulps: Update.
335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
336
24eeafdb
AZ
3372013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
338
339 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
340 __mpn_add_n for PowerPC64/POWER7.
341 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
342 __mpn_sub_n for PowerPC64/POWER7.
343
4a2c0fd4
AZ
3442013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
345
346 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
347 __mpn_addmul_1 for PowerPC64.
348 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
349 __mpn_submul_1 for PowerPC64.
350 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
351 for PowerPC64.
352 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
353 for PowerPC64.
354
4b5b548c
FS
3552013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
356
357 [BZ #15089]
358 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
359
0a3ac0aa
AZ
3602013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
361
362 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
363
ccdc8438
AZ
3642013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
365
366 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
367 add multiarch folders.
368 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
369 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
370 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
371 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
372 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
373 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
374 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
375 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
376 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
377 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
378 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
385
2e973d99
AZ
3862013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
387
388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
389 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
391 New file.
392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
393 New file.
394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
395 multiarch __ieee754_hypot for PowerPC32.
396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
397 New file.
398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
399 New file.
400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
401 multiarch __ieee754_hypotf for PowerPC32.
402
2d9470b2
AZ
4032013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
404
405 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
406 long_double_symbol only if __logbl is defined.
407 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
408 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
409 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
410 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
411 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
412 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
413 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
414 path for implementation.
415 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
416 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
418 logb, and logbl multiarch implementations for PowerPC32.
419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
420 file.
421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
422 file.
423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
424 multiarch logb for PowerPC32.
425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
426 file.
427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
428 file.
429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
430 multiarch logbf for PowerPC32.
431 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
433 file.
434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
435 multiarch logbl implementation for PowerPC32.
436
5212ffce
AZ
4372013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
438
439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
440 and modff multiarch implementations.
441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
442 New file.
443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
444 New file.
445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
446 multiarch modf for PowerPC32.
447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
448 New file.
449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
450 New file.
451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
452 multiarch modff for PowerPC32.
453
79dccf31
AZ
4542013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
455
456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
457 and lrintf multiarch implementations.
458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
459 New file.
460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
461 New file.
462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
463 multiarch lrint for PowerPC32.
464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
465 file: multiarch lrintf for PowerPC32.
466
deb66480
AZ
4672013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
468
469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
470 and lroundf multiarch implementations.
471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
472 New file.
473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
474 New file.
475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
476 New file.
477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
478 multiarch lround for PowerPC32.
479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
480 file: multiarch lroundf for PowerPC32.
481
264b036b
AZ
4822013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
483
484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
485 copysign and copysignf multiarch implementations.
486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
487 New file.
488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
489 New file.
490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
491 file: multiarch copysign for PowerPC32.
492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
493 file: multiarch copysignf for PowerPC32.
494
d47db6c9
AZ
4952013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
496
497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
498 and truncf multiarch implementations.
499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
500 New file.
501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
502 file.
503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
504 multiarch trunc for PowerPC32.
505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
506 New file.
507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
508 New file.
509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
510 multiarch truncf for PowerPC32.
511
ddb60b5a
AZ
5122013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
513
514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
515 and roundf multiarch implementations.
516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
517 New file.
518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
519 file.
520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
521 multiarch round for PowerPC32.
522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
523 New file.
524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
525 New file.
526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
527 multiarch roundf for PowerPC32.
528
bedcf49b
AZ
5292013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
530
531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
532 and floorf multiarch implementations.
533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
534 New file.
535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
536 file.
537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
538 multiarch floor for PowerPC32.
539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
540 New file.
541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
542 New file.
543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
544 multiarch floorf for PowerPC32.
545
35ae5b40
AZ
5462013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
547
548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
549 and ceilf multiarch implementations.
550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
551 New file.
552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
553 file.
554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
555 multiarch ceil for PowerPC32.
556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
557 New file.
558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
559 file.
560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
561 multiarch ceilf for PowerPC32.
562
ae1a4cd9
AZ
5632013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
564
565 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
566 is defined.
567 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
568 FINITEF is defined.
569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
570 and finitef multiarch implementations.
571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
572 New file.
573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
574 file.
575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
576 multiarch finite for PowerPC32.
577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
578 New file.
579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
580 file: multiarch finitef for PowerPC32.
581
64fffd65
AZ
5822013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
583
584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
585 and isinff multiarch implementations.
586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
587 file.
588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
589 file.
590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
591 multiarch isinf for PowerPC32.
592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
593 New file.
594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
595 multiarch isinff for PowerPC32.
596
8e4e7ba2
AZ
5972013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
598
599 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
600 alias when __isnan is defined.
601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
602 and isnanf multiarch implementations.
603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
604 file.
605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
606 file.
607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
608 file.
609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
610 file.
611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
612 multiarch isnan for PowerPC32.
613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
614 New file.
615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
616 New file.
617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
618 multiarch isnanf for PowerPC32.
619
ddba588e
AZ
6202013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
621
622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
623 and sqrtf multiarch implementations.
624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
625 file.
626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
627 file.
628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
629 multiarch sqrt for PowerPC32.
630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
631 file.
632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
633 file.
634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
635 multiarch sqrtf for PowerPC32.
636
0f96a2f0
AZ
6372013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
638
639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
640 and llroundf multiarch implementations.
641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
642 New file.
643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
644 New file.
645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
646 New file.
647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
648 file: multiarch llround for PowerPC32.
649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
650 file: multiarch llroundf for PowerPC32.
651
c9b5d79e
AZ
6522013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
653
654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
655 multiarch PowerPC32 fpu implementations.
656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
657 New file.
658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
659 New file.
660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
661 multiarch llrint for PowerPC32.
662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
663 New file.
664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
665 New file.
666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
667 file.
668
9cbb3aab
AZ
6692013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
670
671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
672
ea5a72f8
AZ
6732013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
674
675 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
676 file.
677 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
678 file.
679 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
680 file.
681 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
682 multiarch wordcopy for PPC32.
683 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
684 wordcopy objects.
685 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
686 (__libc_ifunc_impl_list): Likewise.
687 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
688 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
689 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
690 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
691 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
692 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
693
93be09e7
AZ
6942013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
695
696 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
697 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
698 file.
699 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
700 file.
701 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
702 file.
703 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
704 multiarch wcscpy for PPC32.
705 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
706 multiarch objects.
707 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
708 (__libc_ifunc_impl_list): Likewise.
709 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
710 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
711 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
712 sysdeps/powerpc/power6/wcscpy.c.
713
bb04e529
AZ
7142013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
715
716 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
717 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
718 file.
719 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
720 file.
721 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
722 file.
723 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
724 multiarch wcsrchr for PPC32.
725 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
726 multiarch objects.
727 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
728 (__libc_ifunc_impl_list): Likewise.
729 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
730 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
731 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
732 sysdeps/powerpc/power6/wcsrchr.c.
733
05b5cd1c
AZ
7342013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
735
736 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
737 file.
738 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
739 file.
740 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
741 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
742 multiarch wcschr for PPc32.
743 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
744 multiarch objects.
745 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
746 (__libc_ifunc_impl_list): Likewise.
747 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
748 * sysdeps/powerpc/power6/wcschr.c: ... to here.
749 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
750 sysdeps/powerpc/power6/wcschr.c.
751
ba964147
AZ
7522013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
753
754 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
755 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
756 file.
757 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
758 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
759 file: multiarch strchr for PPC32.
760 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
761 multiarch objects.
762 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
763 (__libc_ifunc_impl_list): Likewise.
764
31c81aaa
AZ
7652013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
766
767 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
768 name.
769 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
770 file.
771 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
772 file.
773 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
774 multiarch strchrnul for PPC32.
775 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
776 multiarch objects.
777 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
778 (__libc_ifunc_impl_list): Likewise.
779
0d0607d9
AZ
7802013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
781
782 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
783 file.
784 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
785 multiarch strncasecmp for PPC32.
786 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
787 file.
788 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
789 multiarch strncasecmp_l for PPC32.
790 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
791 strncasecmp multiarch objects.
792 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
793 (__libc_ifunc_impl_list): Likewise.
794
4dfd5c86
AZ
7952013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
796
797 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
798 file.
799 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
800 multiarch strncasecmp for PPC32.
801 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
802 New file.
803 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
804 multiarch strcasecmp_l for PPC32.
805 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
806 multiarch objects.
807 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
808 (__libc_ifunc_impl_list): Likewise.
809
a19e01a3
AZ
8102013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
811
812 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
813 file.
814 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
815 file.
816 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
817 multiarch strncmp for PPC32.
818 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
819 multiarch objects.
820 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
821 (__libc_ifunc_impl_list): Likewise.
822
ae9cf7a2
AZ
8232013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
824
825 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
826 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
827 file.
828 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
829 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
830 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
831 multiarch objects.
832 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
833 (__libc_ifunc_impl_list): Likewise.
834
3148bb7d
AZ
8352013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
836
837 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
838 file.
839 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
840 file.
841 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
842 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
843 multiarch objects.
844 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
845 (__libc_ifunc_impl_list): Likewise.
846
7af8b946
AZ
8472013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
848
849 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
850 file.
851 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
852 file.
853 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
854 multiarch rawmemchr for PPC32.
855 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
856 multiarch objects.
857 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
858 (__libc_ifunc_impl_list): Likewise.
859
03a6aa6a
AZ
8602013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
861
862 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
863 file.
864 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
865 file.
866 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
867 file: memrchr multiarch for PPC32.
868 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
869 multiarch objects.
870 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
871 (__libc_ifunc_impl_list): Likewise.
872
1c62e6d9
AZ
8732013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
874
875 * string/memchr.c (__memchr): Using macro to redefine symbol name.
876 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
877 file.
878 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
879 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
880 multiarch memchr for PPC32.
881 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
882 multiarch objects.
883 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
884 (__libc_ifunc_impl_list): Likewise.
885
87da8bdb
AZ
8862013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
887
888 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
889 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
890 file.
891 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
892 file.
893 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
894 file: multiarch mempcpy for PPC32.
895 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
896 multiarch objects.
897 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
898 (__libc_ifunc_impl_list): Likewise.
899
20ed4714
AZ
9002013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
901
902 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
903 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
904 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
905 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
906 multiarch bzero for PPC32.
907 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
908 file.
909 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
910 file.
911 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
912 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
913 file: multiarch memset for PPC32.
914 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
915 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
916 memset multiarch objects.
917 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
918 (__libc_ifunc_impl_list): Likewise.
919
ab3e3a46
AZ
9202013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
921
922 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
923 file.
924 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
925 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
926 memcmp for PPC32.
927 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
928 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
929 multiarch objects.
930 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
931 (__libc_ifunc_impl_list): Likewise.
932
930de6f0
AZ
9332013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
934
935 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
936 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
937 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
938 file.
939 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
940 file.
941 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
942 file.
943 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
944 multiarch memcpy for PPC32.
945 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
946 multiarch objects.
947 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
948 (__libc_ifunc_impl_list): Likewise.
949
4c628e00
AZ
9502013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
951
952 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
953 support multiarch for POWER/PPC32.
954 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
955 Likewise.
956 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
958 Implies file to make multiarch folder appers before the fpu and
959 default folder for power4 configuration.
960
f4479220
SP
9612013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
962
963 * scripts/bench.pl: Append volatile keyword to type.
964
8517800f
KK
9652013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
966
967 * sysdeps/sh/sotruss-lib.c: New file.
968 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
969
180138f1
AZ
9702013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
971
972 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
973
bbf37bdc
JM
9742013-12-05 Joseph Myers <joseph@codesourcery.com>
975
e47cc4e0
JM
976 [BZ #6810]
977 * math/w_tgamma.c: Include <errno.h>.
978 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
979 * math/w_tgammaf.c: Include <errno.h>.
980 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
981 * math/w_tgammal.c: Include <errno.h>.
982 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
983 * math/auto-libm-test-in: Do not allow missing errno on tgamma
984 underflow. Add more tgamma tests.
985 * math/auto-libm-test-out: Regenerated.
986 * sysdeps/i386/fpu/libm-test-ulps: Update.
987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
988
bbf37bdc
JM
989 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
990 sin, sinh, tan, tanh, tgamma, y0 and y1.
991 * math/auto-libm-test-out: Regenerated.
992 * math/libm-test.inc (TEST_COND_x86_64): New macro.
993 (TEST_COND_x86): Likewise.
994 (M_E2l): Remove macro.
995 (M_E3l): Likewise.
996 (M_2_SQRT_PIl): Likewise.
997 (M_SQRT_PIl): Likewise.
998 (M_1_DIV_El): Likewise.
999 (log_test_data): Use AUTO_TESTS_f_f.
1000 (log10_test_data): Likewise.
1001 (log1p_test_data): Likewise.
1002 (log2_test_data): Likewise.
1003 (sin_test_data): Likewise.
1004 (sin_tonearest_test_data): Likewise.
1005 (sin_towardzero_test_data): Likewise.
1006 (sin_downward_test_data): Likewise.
1007 (sin_upward_test_data): Likewise.
1008 (sinh_test_data): Likewise.
1009 (sinh_tonearest_test_data): Likewise.
1010 (sinh_towardzero_test_data): Likewise.
1011 (sinh_downward_test_data): Likewise.
1012 (sinh_upward_test_data): Likewise.
1013 (tan_test_data): Likewise.
1014 (tan_tonearest_test_data): Likewise.
1015 (tan_towardzero_test_data): Likewise.
1016 (tan_downward_test_data): Likewise.
1017 (tan_upward_test_data): Likewise.
1018 (tanh_test_data): Likewise.
1019 (tgamma_test_data): Likewise.
1020 (y0_test_data): Likewise.
1021 (y1_test_data): Likewise.
1022 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
1023 (special_real_inputs): Add pi/4.
1024 * sysdeps/i386/fpu/libm-test-ulps: Update.
1025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1026
eb5ad6b9
AZ
10272013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1028
1029 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
1030 "longjmp_target" static probes.
1031 (__longjmp): Rename to __longjmp_symbol.
1032 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1033 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
1034 on which longjmp to generate.
1035 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1036 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
1037 probe.
1038 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1039 (__sigjmp_save): Rename to __sigjmp_save_symbol.
1040 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1041 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
1042 and __sigjmp_save_symbol based on which sigsetjmp to generated.
1043 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
1044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
1045 __longjmp_symbol based on which __longjmp to generate.
1046 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
1047 probe.
1048 (setjmp): Rename to setjmp_symbol.
1049 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1050 (_setjmp): Rename to _setjmp_symbol.
1051 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1052 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
1053 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
1054 which setjmp to generate.
1055 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
1056 "longjmp_target" static probes.
1057
d136c6dc
SP
10582013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1059
9298ecba
SP
1060 * benchtests/README: Add note about output arguments.
1061 * benchtests/bench-sincos.c: Remove file.
1062 * benchtests/sincos-inputs: New file.
1063 * scripts/bench.pl: Identify output arguments and define
1064 static variables for them.
1065
232983e9
SP
1066 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
1067
d136c6dc
SP
1068 [BZ #15941]
1069 * Makefile (INSTALL): Add install-plain.texi as the primary
1070 dependency.
1071 * manual/install-plain.texi: New file.
1072 * manual/install.texi: Include node directive only for
1073 non-plaintext output.
1074
699ff837
JM
10752013-12-04 Joseph Myers <joseph@codesourcery.com>
1076
ab07cea8
JM
1077 * stdlib/longlong.h: Update from GCC.
1078
699ff837
JM
1079 [BZ #6807]
1080 [BZ #15901]
1081 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
1082 * math/w_j0f.c (y0f): Likewise.
1083 * math/w_j0l.c (__y0l): Likewise.
1084 * math/w_j1.c (y1): Likewise.
1085 * math/w_j1f.c (y1f): Likewise.
1086 * math/w_j1l.c (__y1l): Likewise
1087 * math/w_jn.c (yn): Likewise.
1088 * math/w_jnf.c (ynf): Likewise.
1089 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
1090 Bessel function pole errors in _POSIX_ mode. Use NAN as return
1091 value for Bessel function domain errors outside _SVID_ mode.
1092 Adjust sign of return value for yn (negative integer, 0).
1093 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
1094 by zero in return for negative x and set sign appropriately for
1095 negative n.
1096 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
1097 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1098 * math/libm-test.inc (y0_test_data): Add more tests and adjust
1099 expectations in error cases.
1100 (y1_test_data): Likewise.
1101 (yn_test_data): Likewise.
1102 * sysdeps/i386/fpu/libm-test-ulps: Update.
1103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1104
5b118558
UW
11052013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1106
1107 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
1108 "64" to "64-v1". Add "64-v2".
1109 (abi-64-options): Rename to ...
1110 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
1111 (abi-64-condition): Rename to ...
1112 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
1113 (abi-64-ld-soname): Rename to ...
1114 (abi-64-v1-ld-soname): ... this.
1115 (abi-64-v2-options): Define.
1116 (abi-64-v2-condition): Likewise.
1117 (abi-64-v2-ld-soname): Likewise.
1118 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
1119 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
1120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
1121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
1122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
1123
61cd8fe4
UW
11242013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1125 Alan Modra <amodra@gmail.com>
1126
1127 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
1128 New versions for use with the ELFv2 ABI.
1129 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
1130 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
1131 declaration.
1132 (struct La_ppc64v2_retval): Likewise.
1133 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
1134 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
1135 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
1136 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
1137 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
1138 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
1139 Do not save or restore CR.
1140 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
1141 (_dl_profile_resolve): Do no save or restore CR. Support extended
1142 return values for ELFv2 ABI. Fix location of FPR return registers.
1143 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
1144 updated values for _CALL_ELF == 2.
1145 (La_regs, La_retval, int_retval): Likewise.
1146
8b8a692c
UW
11472013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1148
1149 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
1150 (FRAME_MIN_SIZE_PARM): Likewise.
1151 (FRAME_BACKCHAIN): Likewise.
1152 (FRAME_CR_SAVE): Likewise.
1153 (FRAME_LR_SAVE): Likewise.
1154 (FRAME_TOC_SAVE): Likewise.
1155 (FRAME_PARM_SAVE): Likewise.
1156 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1157 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1158 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1159 (call_mcount_parm_offset): New macro.
1160 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
1161 (PROF): Use symbolic stack frame offsets.
1162 (TAIL_CALL_SYSCALL_ERROR): Likewise.
1163 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
1164 Redefine in terms of FRAME_MIN_SIZE.
1165 (_dl_runtime_resolve): Use symbolic stack frame offsets.
1166 (_dl_profile_resolve): Likewise. Update comment.
1167 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
1168 symbols stack frame offsets.
1169 (__sigsetjmp): Likewise.
1170 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
1171 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
1172 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
1173 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
1174
1175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
1176 (FRAME_BACKCHAIN): Remove.
1177 (FRAME_CR_SAVE): Likewise.
1178 (FRAME_LR_SAVE): Likewise.
1179 (FRAME_COMPILER_DW): Likewise.
1180 (FRAME_LINKER_DW): Likewise.
1181 (FRAME_TOC_SAVE): Likewise.
1182 (FRAME_PARM_SAVE): Likewise.
1183 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1184 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1185 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
1187 (CHECK_SP): Use symbolic stack frame offsets.
1188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
1189 zone" instead of caller's parameter save area for temp storage.
1190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1191 Likewise. Also, use symbolic stack frame offsets.
1192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
1193 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
1194 our own stack frame instead of the caller's.
1195 (__socket): Use symbolic stack frame offsets.
1196
122b66de
UW
11972013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1198 Alan Modra <amodra@gmail.com>
1199
1200 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
1201 Define.
1202 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
1203 PPC64_LOCAL_ENTRY_OFFSET): Define.
1204 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
1205 New function.
1206 (elf_machine_fixup_plt): Call it.
1207 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
1208 reloc arguments.
1209 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
1210 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1211 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
1212 r2 before calling target.
1213
696caf1d
UW
12142013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1215 Alan Modra <amodra@gmail.com>
1216
1217 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
1218 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
1219 versions of macros to support ELFv2 ABI.
1220 (LOCALENTRY): New macro.
1221 (ENTRY, EALIGN): Use it.
1222 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
1223 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
1224 fall through into ENTRY entry point.
1225 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
1226 Only define if _CALL_ELF != 2.
1227
1228 (elf_machine_matches_host): Verify ABI version matches.
1229 (RTLD_START): Use LOCALENTRY.
1230 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
1231 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
1232 (PLT_ENTRY_WORDS): New macro.
1233 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
1234 (elf_machine_runtime_setup): Support ELFv2 ABI.
1235 (elf_machine_fixup_plt): Likewise.
1236 (elf_machine_plt_conflict): Likewise.
1237 (resolve_ifunc): Likewise.
1238 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1239 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1240 Likewise.
1241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
1242 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
1243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1244 (makecontext): Support ELFv2 ABI.
1245 * elf/elf.h (EF_PPC64_ABI): Define.
1246
d31beafa
UW
12472013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1248
1249 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
1250 New assembler macro.
1251 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
1252 [ASSEMBLER] (ENTRY): ... but instead here ...
1253 [ASSEMBLER] (EALIGN): ... and here.
1254 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
1255 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
1256 [!ASSEMBLER] (ENTRY_2): Use it.
1257 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
1258 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
1259 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1260 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
1261 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
1262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
1263 Use PPC64_LOAD_FUNCPTR.
1264
b525166b
UW
12652013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1266
1267 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
1268
7ec07d9a
AM
12692013-12-04 Alan Modra <amodra@gmail.com>
1270
1271 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
1272 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
1273 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
1274 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
1275
1276 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
1277 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
1278 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
1279 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
1280 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
1281 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
1282
5162e7dd
UW
12832013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1284
1285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1286 (__makecontext): Fix incorrect CFI when backtracing out of
1287 context created via makecontext.
1288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
1289 (__setcontext): Fix incorrect CFI during switch to new context.
1290 (__novec_setcontext): Likewise.
1291
19e3372b
OB
12922013-12-04 Ondřej Bílka <neleai@seznam.cz>
1293
1294 [BZ #4772]
1295 * time/strptime_l.c (__strptime_internal): Allow modifiers
1296 in strptime.
1297 * time/tst-strptime.c (day_tests): Add testcase.
1298
1299
ecaf142d
SP
13002013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1301
1302 * scripts/bench.pl: Skip over blank lines.
1303
fbf964ae
PE
13042013-12-04 Paul Eggert <eggert@cs.ucla.edu>
1305
1306 [BZ #926]
1307 * manual/time.texi (Calendar Time): Clarify what timezone functions
1308 use.
1309
fa60a674
AZ
13102013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1311
1312 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1313
d674f0ef
OB
13142013-12-04 Ondřej Bílka <neleai@seznam.cz>
1315
1316 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
1317 implementation.
1318 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
1319 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
1320 * debug/memset_chk.c (__memset_chk): Likewise.
1321 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
1322 * debug/strncpy_chk.c: Likewise.
1323
17dea188
JM
13242013-12-03 Joseph Myers <joseph@codesourcery.com>
1325
749008ff
JM
1326 [BZ #15268]
1327 [BZ #15425]
1328 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
1329 (__ieee754_exp): For possibly underflowing results, check size of
1330 result and force underflow exception if required.
1331 * math/auto-libm-test-in: Add more tests of exp.
1332 * math/auto-libm-test-out: Regenerated.
1333 * sysdeps/i386/fpu/libm-test-ulps: Update.
1334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1335
17dea188
JM
1336 [BZ #16283]
1337 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
1338 * math/w_exp2f.c (__exp2f): Likewise.
1339 * math/w_exp2l.c (__exp2l): Likewise.
1340 * math/auto-libm-test-in: Do not allow missing errno on exp2
1341 underflow.
1342 * math/auto-libm-test-out: Regenerated.
1343
b20de2c3
OB
13442013-12-03 Ondřej Bílka <neleai@seznam.cz>
1345
1346 [BZ #16274]
1347 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
1348 handle filename validation.
1349 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
1350 (do_open): Delete.
1351
d8e2dbe3
JM
13522013-12-03 Joseph Myers <joseph@codesourcery.com>
1353
34e16df5
JM
1354 [BZ #6786]
1355 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
1356 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
1357 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
1358 <float.h>.
1359 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
1360 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
1361 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1362 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
1363 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1364 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
1365 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1366 * math/auto-libm-test-in: Don't allow missing errno from erfc.
1367 Add more erfc tests.
1368 * math/auto-libm-test-out: Regenerated.
1369 * sysdeps/i386/fpu/libm-test-ulps: Update.
1370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1371
d8e2dbe3
JM
1372 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
1373 exp2, expm1, j0 and j1.
1374 * math/auto-libm-test-out: Regenerated.
1375 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
1376 (erfc_test_data): Likewise.
1377 (exp_test_data): Likewise.
1378 (exp_tonearest_test_data): Likewise.
1379 (exp_towardzero_test_data): Likewise.
1380 (exp_downward_test_data): Likewise.
1381 (exp_upward_test_data): Likewise.
1382 (exp10_test_data): Likewise.
1383 (exp2_test_data): Likewise.
1384 (expm1_test_data): Likewise.
1385 (j0_test_data): Likewise.
1386 (j1_test_data): Likewise.
1387 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
1388 (input_flag_type): Add flag_xfail_rounding.
1389 (input_flags): Add xfail-rounding.
1390 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
1391 (output_for_one_input_case): Handle flag_xfail_rounding.
1392 * sysdeps/i386/fpu/libm-test-ulps: Update.
1393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1394
18d14251
AJ
13952013-12-03 Aurelien Jarno <aurelien@aurel32.net>
1396
3d2e6075 1397 [BZ #16289]
18d14251
AJ
1398 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
1399 division by 0.
1400
520d437b
SP
14012013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1402
1403 [BZ #16195]
1404 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1405 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
1406 (STAP_PROBE0): New macro.
1407 (STAP_PROBE1): Likewise.
1408 (STAP_PROBE2): Likewise.
1409 (STAP_PROBE3): Likewise.
1410 (STAP_PROBE4): Likewise.
1411
416e0145
OB
14122013-12-02 Ondřej Bílka <neleai@seznam.cz>
1413
1414 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
1415
9d17796a
SE
14162013-12-02 Steve Ellcey <sellcey@mips.com>
1417
1418 * benchtests/Makefile (bench): Add sqrt.
1419 (LDLIBS-bench-sqrt): New.
1420 * benchtests/sqrt-input: New.
1421
f524d6a8
PS
14222013-12-02 Pavel Simerda <psimerda@redhat.com>
1423
639a0ef8
PS
1424 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
1425 (GAIH_EAI): Likewise.
1426 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
1427 (gaih_inet): Likewise.
1428 (getaddrinfo): Don't use GAIH_EAI.
1429
f524d6a8
PS
1430 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
1431 (struct gaih): Remove definition.
1432
df3aedaf
SP
14332013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1434
1435 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
1436 Use HERRNOP directly.
1437
1ab19dec
AZ
14382013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1439
b42ad38d 1440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 1441
176b0c79
JM
14422013-11-30 Joseph Myers <joseph@codesourcery.com>
1443
1444 * math/gen-auto-libm-tests.c (test_functions): Add more
1445 single-argument functions.
1446 (special_fill_pi_2): New function.
1447 (special_fill_minus_pi_2): Likewise.
1448 (special_fill_pi_6): Likewise.
1449 (special_fill_minus_pi_6): Likewise.
1450 (special_fill_pi_3): Likewise.
1451 (special_fill_2pi_3): Likewise.
1452 (special_fill_e): Likewise.
1453 (special_fill_1_e): Likewise.
1454 (special_fill_e_minus_1): Likewise.
1455 (special_real_inputs): Add more special inputs.
1456 (output_for_one_input_case): Do not require ERANGE on underflow to
1457 zero if round-to-nearest result does not underflow to zero, unless
1458 exact results required.
1459 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
1460 atan, atanh, cbrt, cos and cosh.
1461 * math/auto-libm-test-out: Regenerated.
1462 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
1463 (acos_tonearest_test_data): Likewise.
1464 (acos_towardzero_test_data): Likewise.
1465 (acos_downward_test_data): Likewise.
1466 (acos_upward_test_data): Likewise.
1467 (acosh_test_data): Likewise.
1468 (asin_test_data): Likewise.
1469 (asin_tonearest_test_data): Likewise.
1470 (asin_towardzero_test_data): Likewise.
1471 (asin_upward_test_data): Likewise.
1472 (asinh_test_data): Likewise.
1473 (atan_test_data): Likewise.
1474 (atanh_test_data): Likewise.
1475 (cbrt_test_data): Likewise.
1476 (cos_test_data): Likewise.
1477 (cos_tonearest_test_data): Likewise.
1478 (cos_towardzero_test_data): Likewise.
1479 (cos_downward_test_data): Likewise.
1480 (cos_upward_test_data): Likewise.
1481 (cosh_test_data): Likewise.
1482 (cosh_tonearest_test_data): Likewise.
1483 (cosh_towardzero_test_data): Likewise.
1484 (cosh_downward_test_data): Likewise.
1485 (cosh_upward_test_data): Likewise.
1486 * sysdeps/i386/fpu/libm-test-ulps: Update.
1487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1488
ffb536d0
JM
14892013-11-29 Joseph Myers <joseph@codesourcery.com>
1490
2a77a467
JM
1491 [BZ #6787]
1492 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
1493 * math/w_exp10f.c (__exp10f): Likewise.
1494 * math/w_exp10l.c (__exp10l): Likewise.
1495 * math/libm-test.inc (exp10_test_data): Add more tests and expect
1496 errno settings in existing tests.
1497
ea3bc4e8
JM
1498 [BZ #14032]
1499 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
1500 precision control set to double precision.
1501 * sysdeps/i386/fpu/w_sqrt.c: New file.
1502 * math/auto-libm-test-in: Add more tests.
1503 * math/auto-libm-test-out: Update.
1504
0712c9d8
JM
1505 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
1506 (sqrt_test_tonearest): New function.
1507 (sqrt_towardzero_test_data): New variable.
1508 (sqrt_test_towardzero): New function.
1509 (sqrt_downward_test_data): New variable.
1510 (sqrt_test_downward): New function.
1511 (sqrt_upward_test_data): New variable.
1512 (sqrt_test_upward): New function.
1513 (main): Call the new functions.
1514
ffb536d0
JM
1515 * math/gen-auto-libm-tests.c: New file.
1516 * math/auto-libm-test-in: Likewise.
1517 * math/auto-libm-test-out: New generated file.
1518 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
1519 variables.
1520 (%beautify): Add generated representations of zero.
1521 (top level): Set $auto_input and call parse_auto_input.
1522 (beautify): Remove trailing "f" from hex float constants.
1523 (parse_args): Handle XFAIL_TEST.
1524 (convert_condition): New function.
1525 (or_value): Likewise.
1526 (or_cond_value): Likewise.
1527 (generate_testfile): Handle AUTO_TESTS_* lines.
1528 (parse_auto_input): New function.
1529 * math/libm-test.inc (XFAIL_TEST): New macro.
1530 (ERRNO_UNCHANGED): Update value.
1531 (ERRNO_EDOM): Likewise.
1532 (ERRNO_ERANGE): Likewise.
1533 (IGNORE_RESULT): Likewise.
1534 (TEST_COND_flt_32): New macro.
1535 (TEST_COND_dbl_64): Likewise.
1536 (TEST_COND_ldbl_96_intel): Likewise.
1537 (TEST_COND_ldbl_96_m68k): Likewise.
1538 (TEST_COND_ldbl_128): Likewise.
1539 (TEST_COND_ldbl_128ibm): Likewise.
1540 (TEST_COND_long32): Likewise.
1541 (TEST_COND_long64): Likewise.
1542 (TEST_COND_before_rounding): Likewise.
1543 (TEST_COND_after_rounding): Likewise.
1544 (enable_test): Handle XFAIL_TEST flag.
1545 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
1546 with finite results.
1547 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
1548 auto-libm-test-out.
1549
acd98a8e
AK
15502013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1551 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1552
1553 [BZ #16214]
1554 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
1555 __tls_get_addr_internal instead of __tls_get_offset in order to
1556 avoid GOT pointer dependency. Make rtld export
1557 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
1558 __tls_get_addr since we are a __tls_get_offset platform.
1559 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
1560 GOT pointer being set up before.
1561 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
1562
3c1c46a6
JM
15632013-11-28 Joseph Myers <joseph@codesourcery.com>
1564
7475aef5
JM
1565 * manual/math.texi (Errors in Math Functions): Document accuracy
1566 goals.
1567
8bca7cd8
JM
1568 [BZ #15004]
1569 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
1570 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
1571 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1572 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1573 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1574 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1575 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1576 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1577 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1578 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1579 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1580 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1581 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1582 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1583 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1584 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1585
91a1f3fe
JM
1586 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
1587 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
1588 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
1589 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
1590 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
1591 Likewise.
1592 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
1593 Likewise.
1594 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
1595 Likewise.
1596 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
1597 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
1598 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
1599 atomic-feupdateenv and flt-rounds.
1600 * sysdeps/powerpc/nofpu/Versions (libc): Add
1601 __atomic_feholdexcept, __atomic_feclearexcept,
1602 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
1603 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
1604 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
1605 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
1606 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
1607 here.
1608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1609 Update.
1610
c5df7609
JM
1611 * manual/arith.texi (FP Exceptions): Document that exceptions may
1612 not be raised when matherr is used.
1613 (Math Error Reporting): Document overflow in directed rounding
1614 modes. Document that errno may not be set when finite values are
1615 returned on overflow. Document intent to set errno on underflow
1616 only for underflow to zero.
1617
3c1c46a6
JM
1618 [BZ #16271]
1619 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
1620 round-to-nearest then adjust result for other rounding modes.
1621 * include/fenv.h (fegetround): Use libm_hidden_proto.
1622 * math/fegetround.c (fegetround): Use libm_hidden_def.
1623 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1624 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1625 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1626 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1627 Likewise.
1628 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
1629 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1630 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1631 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
1632
5a4c6d53
SP
16332013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1634
1635 [BZ #16077]
1636 * nss/Versions (libnss_files): Add
1637 _nss_files_gethostbyname3_r.
1638 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
1639 New function.
1640 (HOST_DB_LOOKUP): Remove macro.
1641 (_nss_files_gethostbyname_r): Implement function without the
1642 HOST_DB_LOOKUP macro.
1643 (_nss_files_gethostbyname2_r): Likewise.
1644
897b98ba
OB
16452013-11-28 Ondřej Bílka <neleai@seznam.cz>
1646
1647 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
1648
6f476861
UB
16492013-11-26 Uros Bizjak <ubizjak@gmail.com>
1650
1651 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
1652 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
1653 warning.
1654
bd12ab55
AZ
16552013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1656
1657 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
1658 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
1659 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1660 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1661 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
1662 __fe_nomask_env_priv and attribute_hidden.
1663 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
1664 (libc_feupdateenv_test_ppc): Likewise.
1665 (libc_feresetround_ppc): Likewise.
1666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1667 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
1668 compat_symbol macro.
1669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1670 (__fe_nomask_env): Likewise.
1671 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
1672
52bb6543
OB
16732013-11-26 Ondřej Bílka <neleai@seznam.cz>
1674
1675 * string/Makefile: Remove ifunc tests.
1676 * string/test-string.h: Define TEST_IFUNC.
1677 * string/test-bcopy-ifunc.c: Remove.
1678 * string/test-bzero-ifunc.c: Likewise.
1679 * string/test-memccpy-ifunc.c: Likewise.
1680 * string/test-memchr-ifunc.c: Likewise.
1681 * string/test-memcmp-ifunc.c: Likewise.
1682 * string/test-memcpy-ifunc.c: Likewise.
1683 * string/test-memmem-ifunc.c: Likewise.
1684 * string/test-memmove-ifunc.c: Likewise.
1685 * string/test-mempcpy-ifunc.c: Likewise.
1686 * string/test-memrchr-ifunc.c: Likewise.
1687 * string/test-memset-ifunc.c: Likewise.
1688 * string/test-rawmemchr-ifunc.c: Likewise.
1689 * string/test-stpcpy-ifunc.c: Likewise.
1690 * string/test-stpncpy-ifunc.c: Likewise.
1691 * string/test-strcasecmp-ifunc.c: Likewise.
1692 * string/test-strcasestr-ifunc.c: Likewise.
1693 * string/test-strcat-ifunc.c: Likewise.
1694 * string/test-strchr-ifunc.c: Likewise.
1695 * string/test-strchrnul-ifunc.c: Likewise.
1696 * string/test-strcmp-ifunc.c: Likewise.
1697 * string/test-strcpy-ifunc.c: Likewise.
1698 * string/test-strcspn-ifunc.c: Likewise.
1699 * string/test-strlen-ifunc.c: Likewise.
1700 * string/test-strncasecmp-ifunc.c: Likewise.
1701 * string/test-strncat-ifunc.c: Likewise.
1702 * string/test-strncmp-ifunc.c: Likewise.
1703 * string/test-strncpy-ifunc.c: Likewise.
1704 * string/test-strnlen-ifunc.c: Likewise.
1705 * string/test-strpbrk-ifunc.c: Likewise.
1706 * string/test-strrchr-ifunc.c: Likewise.
1707 * string/test-strspn-ifunc.c: Likewise.
1708 * string/test-strstr-ifunc.c: Likewise.
1709
ab260039 17102013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
1711
1712 * benchtests/Makefile: Remove ifunc tests.
1713 * benchtests/bench-string.h: Define TEST_IFUNC.
1714 * benchtests/bench-bcopy-ifunc.c: Remove.
1715 * benchtests/bench-bzero-ifunc.c: Likewise.
1716 * benchtests/bench-memccpy-ifunc.c: Likewise.
1717 * benchtests/bench-memchr-ifunc.c: Likewise.
1718 * benchtests/bench-memcmp-ifunc.c: Likewise.
1719 * benchtests/bench-memcpy-ifunc.c: Likewise.
1720 * benchtests/bench-memmem-ifunc.c: Likewise.
1721 * benchtests/bench-memmove-ifunc.c: Likewise.
1722 * benchtests/bench-mempcpy-ifunc.c: Likewise.
1723 * benchtests/bench-memrchr-ifunc.c: Likewise.
1724 * benchtests/bench-memset-ifunc.c: Likewise.
1725 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
1726 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
1727 * benchtests/bench-stpcpy-ifunc.c: Likewise.
1728 * benchtests/bench-stpncpy-ifunc.c: Likewise.
1729 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
1730 * benchtests/bench-strcasestr-ifunc.c: Likewise.
1731 * benchtests/bench-strcat-ifunc.c: Likewise.
1732 * benchtests/bench-strchr-ifunc.c: Likewise.
1733 * benchtests/bench-strchrnul-ifunc.c: Likewise.
1734 * benchtests/bench-strcmp-ifunc.c: Likewise.
1735 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
1736 * benchtests/bench-strcpy-ifunc.c: Likewise.
1737 * benchtests/bench-strcspn-ifunc.c: Likewise.
1738 * benchtests/bench-strlen-ifunc.c: Likewise.
1739 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
1740 * benchtests/bench-strncat-ifunc.c: Likewise.
1741 * benchtests/bench-strncmp-ifunc.c: Likewise.
1742 * benchtests/bench-strncpy-ifunc.c: Likewise.
1743 * benchtests/bench-strnlen-ifunc.c: Likewise.
1744 * benchtests/bench-strpbrk-ifunc.c: Likewise.
1745 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 1746 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
1747 * benchtests/bench-strspn-ifunc.c: Likewise.
1748 * benchtests/bench-strstr-ifunc.c: Likewise.
1749
17502013-11-26 Ondřej Bílka <neleai@seznam.cz>
1751
ab260039
OB
1752 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
1753
d1d9eaf4 17542013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 1755
d1d9eaf4
OB
1756 * resolv/netdb.h: Use __glibc_reserved instead __unused.
1757 * rt/aio.h: Likewise.
1758 * sysdeps/gnu/bits/utmp.h: Likewise.
1759 * sysdeps/gnu/bits/utmpx.h: Likewise.
1760 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1761 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
1762 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
1763 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
1764 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
1765 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
1766 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
1767 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
1768 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
1769 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
1770 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
1771 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
1772 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
1773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
1774 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1775 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
1776 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
1777 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
1778 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
1779 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
1780 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
1781 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
1782 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
1783 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
1784 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
1785 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1786 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
1787 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
1788 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
1789 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
1790 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
1791 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
1792 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
1793 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1794 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
1795 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
1796 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
1797 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
1798 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
1799 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
1800 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
1801 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1802
a7624ed9
CD
18032013-11-25 Carlos O'Donell <carlos@redhat.com>
1804
1805 [BZ #16245]
1806 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
1807 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
1808
63cfe52b
JM
18092013-11-25 Joseph Myers <joseph@codesourcery.com>
1810
1811 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
1812 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1813 Likewise.
1814
41e8926a
AZ
18152013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1816
1817 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
1818 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
1819 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
1820 (__fesetround): Remove define.
1821 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
1822 rounding and exceptions handling.
1823 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
1824 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
1825 (__fe_nomask_env): Likewise.
1826 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
1827 __fegetround instead of fegetround.
1828 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
1829 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
1830
6851bd4d
RM
18312013-11-21 Roland McGrath <roland@hack.frob.com>
1832
070906ff
RM
1833 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
1834 it's there.
1835
6851bd4d
RM
1836 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
1837
84ae135d
MI
18382013-11-21 Meador Inge <meadori@codesourcery.com>
1839
1840 [BZ #11157]
1841 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
1842 (encrypt_r): Likewise.
1843 * malloc/obstack.h (obstack_free): Likewise.
1844 * posix/unistd.h (encrypt): Likewise.
1845
daf75146
GM
18462013-11-21 Guy Martin <gmsoft@tuxicoman.be>
1847
1848 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
1849 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
1850 DL_CALL_DT_FINI() that call the functions directly.
1851 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
1852 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
1853 * elf/dl-fini.c: Likewise.
1854
10ad46bc
OB
18552013-11-20 Ondřej Bílka <neleai@seznam.cz>
1856
1857 * malloc/hooks.c (memalign_check): Add alignment rounding.
1858 * malloc/malloc.c (_mid_memalign): New function.
1859 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
1860 Implement by calling _mid_memalign.
1861 * manual/probes.texi (Memory Allocation Probes): Remove
1862 memory_valloc_retry and memory_pvalloc_retry.
1863
f3fd2628
SP
18642013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1865
4712799f
SP
1866 * locale/programs/locarchive.c (open_archive): Add const
1867 qualifier to ARCHIVEFNAME and copy default fname to
1868 DEFAULT_FNAME.
1869
0417b20f
SP
1870 [BZ #15601]
1871 * libio/tst-widetext.input: Rename Oriya to Odia.
1872 * locale/iso-639.def: Likewise.
1873
f3fd2628
SP
1874 * manual/probes.texi (Mathematical Function Probes): Add
1875 documentation for sin, cos, asin and acos probes.
1876 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
1877 (__sin32): Add slowasin probe.
1878 (__cos32): Add slowacos probe.
1879 (__mpsin): Add slowsin probe.
1880 (__mpcos): Add slowcos probe.
1881
73c1ce4f
JM
18822013-11-19 Joseph Myers <joseph@codesourcery.com>
1883
1884 [BZ #15483]
1885 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
1886 thread-local __sim_exceptions_thread and global
1887 __sim_exceptions_global.
1888 (__sim_disabled_exceptions): Change to thread-local
1889 __sim_disabled_exceptions_thread and global
1890 __sim_disabled_exceptions_global.
1891 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1892 and global __sim_round_mode_global.
1893 (__simulate_exceptions): Use thread-local floating-point state and
1894 set global state from it as needed.
1895 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
1896 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
1897 __sim_round_mode_thread.
1898 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
1899 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
1900 and global __sim_exceptions_global.
1901 (__sim_disabled_exceptions): Change to thread-local
1902 __sim_disabled_exceptions_thread and global
1903 __sim_disabled_exceptions_global.
1904 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1905 and global __sim_round_mode_global.
1906 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
1907 (SIM_SET_GLOBAL): Likewise.
1908 * sysdeps/powerpc/soft-fp/sfp-machine.h
1909 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
1910 __sim_round_mode_thread.
1911 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
1912 __sim_disabled_exceptions_thread.
1913 (__sim_exceptions): Change to __sim_exceptions_thread.
1914 (__sim_disabled_exceptions): Change to
1915 __sim_disabled_exceptions_thread.
1916 (__sim_round_mode): Change to __sim_round_mode_thread.
1917 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
1918 thread-local floating-point state and set global state from it as
1919 needed.
1920 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
1921 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
1922 (__sim_disabled_exceptions): Remove extern declaration.
1923 (feenableexcept): Use thread-local floating-point state and set
1924 global state from it as needed.
1925 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
1926 extern declaration.
1927 (__sim_disabled_exceptions): Likewise.
1928 (__sim_round_mode): Likewise.
1929 (__fegetenv): Use thread-local floating-point state.
1930 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
1931 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1932 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
1933 floating-point state and set global state from it as needed.
1934 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
1935 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1936 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
1937 Likewise.
1938 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1939 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
1940 Likewise.
1941 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
1942 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
1943 Use __sim_round_mode_thread.
1944 * math/test-fenv-tls.c: New file.
1945 * math/Makefile (tests): Add test-fenv-tls.
1946 ($(objpfx)test-fenv-tls): Depend on
1947 $(common-objpfx)nptl/libpthread.so.
1948
b5449b12
AS
19492013-11-19 Andreas Schwab <schwab@suse.de>
1950
1951 * locale/programs/locale.c (show_info): Decode wordarray elements.
1952 * locale/categories.def (LC_MONETARY): Add element for
1953 _NL_MONETARY_CRNCYSTR.
1954 * locale/C-monetary.c (conversion_rate): New variable.
1955 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
1956 element.
1957
e186536b
CM
19582013-11-18 Chris Metcalf <cmetcalf@tilera.com>
1959
1960 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
1961 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
1962
5c349950
PP
19632013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
1964
1965 * elf/Makefile (tst-auxv): New test.
1966 * elf/tst-auxv.c: New
1967 * elf/rtld.c (dl_main): Adjust AT_EXECFN
1968
699df45b
JM
19692013-11-18 Joseph Myers <joseph@codesourcery.com>
1970
1971 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
1972 (hidden_proto): Caller changed.
1973 (hidden_tls_proto): New macro.
1974 (libc_hidden_tls_proto): Likewise.
1975 (rtld_hidden_tls_proto): Likewise.
1976 (libm_hidden_tls_proto): Likewise.
1977 (libresolv_hidden_tls_proto): Likewise.
1978 (librt_hidden_tls_proto): Likewise.
1979 (libdl_hidden_tls_proto): Likewise.
1980 (libnss_files_hidden_tls_proto): Likewise.
1981 (libnsl_hidden_tls_proto): Likewise.
1982 (libnss_nisplus_hidden_tls_proto): Likewise.
1983 (libutil_hidden_tls_proto): Likewise.
1984
b7589107
OB
19852013-11-18 Ondřej Bílka <neleai@seznam.cz>
1986
1987 [BZ #10253]
1988 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
1989 (decompose_rpath): Defer expansion to fillin_rpath.
1990 (_dl_init_paths): Pass linkmap to fillin_rpath.
1991
250c23bd
RS
19922013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1993
1994 * benchtests/Makefile: Add strsep.
1995 * benchtests/bench-strsep.c: New file: strsep benchtest.
1996 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
1997
a7931fcf
AS
19982013-11-18 Andreas Schwab <schwab@suse.de>
1999
2000 * locale/programs/locale.c (show_info) [case byte]: Check for
2001 '\377' instead of '\177'.
2002 * locale/C-monetary.c (not_available): Always use "\377".
2003 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
2004 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
2005 detect unavailable sign_posn locale elements.
2006 * locale/localeconv.c (__localeconv): For grouping and
2007 mon_grouping handle "\177" and "\377" like no grouping.
2008 (INT_ELEM): New macro. Use it to set all numeric members.
2009 * locale/programs/ld-monetary.c (monetary_read)
2010 <tok_mon_grouping>: Normalize single -1 to the empty string.
2011 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
2012 Likewise.
2013
728dab0e
OB
20142013-11-07 Ondřej Bílka <neleai@seznam.cz>
2015
2016 [BZ #16055]
2017 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
2018 when we match (nil).
2019 * stdio-common/tst-sscanf.c (struct test): Add testcase.
2020
66294491
JM
20212013-11-16 Joseph Myers <joseph@codesourcery.com>
2022
ce665817
JM
2023 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
2024 (NO_TEST_INLINE): Update value.
2025 (ERRNO_UNCHANGED): Likewise.
2026 (ERRNO_EDOM): Likewise.
2027 (ERRNO_ERANGE): Likewise.
2028 (IGNORE_RESULT): Likewise.
2029 (check_float_internal): Check signs of NaN results if
2030 TEST_NAN_SIGN used.
2031 (check_complex): Pass TEST_NAN_SIGN flag through to second
2032 check_float_internal call.
2033 (copysign_test_data): Add tests with quiet NaNs as second
2034 argument. Use TEST_NAN_SIGN.
2035 (fabs_test_data): Add test of negative quiet NaN argument. Use
2036 TEST_NAN_SIGN.
2037 (signbit_test_data): Add tests of quiet NaN argument.
2038 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
2039
ee1466a9
JM
2040 * math/gen-libm-test.pl (show_exceptions): Take extra argument
2041 $ignore_result.
2042 (parse_args): Handle function results specified as IGNORE.
2043 * math/libm-test.inc (IGNORE_RESULT): New macro.
2044 (check_float_internal): Do not check numerical result if flag
2045 IGNORE_RESULT set.
2046 (check_complex): Pass through IGNORE_RESULT to second
2047 check_float_internal call.
2048 (check_int): Do not check numerical result if flag IGNORE_RESULT
2049 set.
2050 (check_long): Likewise.
2051 (check_bool): Likewise.
2052 (check_longlong): Likewise.
2053 (lrint_test_data): Add tests of infinite and NaN arguments.
2054 (lrint_tonearest_test_data): Likewise.
2055 (lrint_towardzero_test_data): Likewise.
2056 (lrint_downward_test_data): Likewise.
2057 (lrint_upward_test_data): Likewise.
2058 (llrint_test_data): Likewise.
2059 (llrint_tonearest_test_data): Likewise.
2060 (llrint_towardzero_test_data): Likewise.
2061 (llrint_downward_test_data): Likewise.
2062 (llrint_upward_test_data): Likewise.
2063 (lround_test_data): Likewise.
2064 (llround_test_data): Likewise.
2065
14407b7e
JM
2066 * math/libm-test.inc (NO_TEST_INLINE): New macro.
2067 (ERRNO_UNCHANGED): Update value.
2068 (ERRNO_EDOM): Likewise.
2069 (ERRNO_ERANGE): Likewise.
2070 (NO_TEST_INLINE_FLOAT): New macro.
2071 (NO_TEST_INLINE_DOUBLE): Likewise.
2072 (enable_test): New function.
2073 (RUN_TEST_f_f): Check enable_test before running test.
2074 (RUN_TEST_2_f): Likewise.
2075 (RUN_TEST_fff_f): Likewise.
2076 (RUN_TEST_c_f): Likewise.
2077 (RUN_TEST_f_f1): Likewise.
2078 (RUN_TEST_fF_f1): Likewise.
2079 (RUN_TEST_fI_f1): Likewise.
2080 (RUN_TEST_ffI_f1): Likewise.
2081 (RUN_TEST_c_c): Likewise.
2082 (RUN_TEST_cc_c): Likewise.
2083 (RUN_TEST_f_i): Likewise.
2084 (RUN_TEST_f_i_tg): Likewise.
2085 (RUN_TEST_ff_i_tg): Likewise.
2086 (RUN_TEST_f_b): Likewise.
2087 (RUN_TEST_f_b_tg): Likewise.
2088 (RUN_TEST_f_l): Likewise.
2089 (RUN_TEST_f_L): Likewise.
2090 (RUN_TEST_fFF_11): Likewise.
2091 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
2092 conditionals.
2093 (cosh_test_data): Likewise.
2094 (exp_test_data): Likewise.
2095 (expm1_test_data): Likewise.
2096 (hypot_test_data): Likewise.
2097 (pow_test_data): Likewise.
2098 (sinh_test_data): Likewise.
2099 (tanh_test_data): Likewise.
2100 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
2101 flags argument.
2102
ca07f197
JM
2103 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
2104 tests with quiet NaN input and output.
2105 (acosh_test_data): Likewise.
2106 (asin_test_data): Likewise.
2107 (asinh_test_data): Likewise.
2108 (atan_test_data): Likewise.
2109 (atanh_test_data): Likewise.
2110 (atan2_test_data): Likewise.
2111 (cbrt_test_data): Likewise.
2112 (cos_test_data): Likewise.
2113 (cosh_test_data): Likewise.
2114 (erf_test_data): Likewise.
2115 (erfc_test_data): Likewise.
2116 (exp_test_data): Likewise.
2117 (exp10_test_data): Likewise.
2118 (exp2_test_data): Likewise.
2119 (expm1_test_data): Likewise.
2120 (hypot_test_data): Likewise.
2121 (j0_test_data): Likewise.
2122 (j1_test_data): Likewise.
2123 (jn_test_data): Likewise.
2124 (lgamma_test_data): Likewise.
2125 (log_test_data): Likewise.
2126 (log10_test_data): Likewise.
2127 (log1p_test_data): Likewise.
2128 (log2_test_data): Likewise.
2129 (pow_test_data): Likewise.
2130 (scalb_test_data): Likewise.
2131 (sin_test_data): Likewise.
2132 (sincos_test_data): Likewise.
2133 (sinh_test_data): Likewise.
2134 (tan_test_data): Likewise.
2135 (tanh_test_data): Likewise.
2136 (tgamma_test_data): Likewise.
2137 (y0_test_data): Likewise.
2138 (y1_test_data): Likewise.
2139 (yn_test_data): Likewise.
2140
66294491
JM
2141 [BZ #16167]
2142 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
2143 argument being NaN and avoid computations with second argument in
2144 that case.
2145 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2146 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2147 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2148
1820b143
CL
21492013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
2150
2151 * locale/iso-639.def: Add Chitwani Tharu (the).
2152
714bd261
AS
21532013-11-14 Andreas Schwab <schwab@suse.de>
2154
2155 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
2156 word instead of empty string.
2157
7ab44563
AZ
21582013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2159
2160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2161 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
2162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2163 (__fe_nomask_env): Likewise.
2164
e8470ea2
SE
21652013-11-13 Steve Ellcey <sellcey@mips.com>
2166
2167 * benchtests/bench-timing.h: Include time.h.
2168
17c1d9f0
L
21692013-11-13 H.J. Lu <hongjiu.lu@intel.com>
2170
2171 [BZ #15997]
2172 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
2173 to 3.4.0 for x32.
2174 * sysdeps/unix/sysv/linux/configure: Regenerated.
2175
9310c284
JM
21762013-11-13 Joseph Myers <joseph@codesourcery.com>
2177
2178 [BZ #16151]
2179 * stdlib/strtod_l.c (round_and_return): Do not consider
2180 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
2181 exponent one less than half the least subnormal exponent.
2182 * stdlib/test-strtod-round-data: Add more tests.
2183 * stdlib/tst-strtod-round.c (tests): Regenerated.
2184
7a2ad8cf
AZ
21852013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2186
2187 [BZ #14143]
2188 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
2189 (__fe_mask_env): Likewise.
2190 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
2191 libm_hidden_proto and add function prototype.
2192 (__fe_mask_env): Add function prototype.
2193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2194 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
2195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2196 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
2197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2198 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
2199
50727aa7
MS
22002013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2201
b2f386c1 2202 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
2203 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
2204
a615be46
MS
22052013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2206
2207 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
2208 of htab_find_slot().
2209
7ddace62
DM
22102013-11-11 David S. Miller <davem@davemloft.net>
2211
2212 [BZ #16150]
2213 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
2214 symbol in the non-vis3 case in static builds.
2215 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
2216 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
2217 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
2218 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
2219
9182aa67
JK
22202013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2221
2222 [BZ #387]
2223 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
2224 it is empty.
2225
450a2e2d
AZ
22262013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2227
b2f386c1
SP
2228 * benchtests/Makefile: Add bench-strtod.
2229 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 2230
8ec3f656
AS
22312013-11-11 Andreas Schwab <schwab@suse.de>
2232
2233 [BZ #16153]
2234 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
2235 terminating NUL in key length.
2236
76a9b998
AZ
22372013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2238
2239 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2240 Add artificial ODP entry for vDSO symbol for PPC64.
2241 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
2242 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2243
e4368156
OB
22442013-11-07 Ondřej Bílka <neleai@seznam.cz>
2245
2246 [BZ #15374]
2247 * nss/getent.c (services_keys): Recognize services starting with digit.
2248
8d6bb57c
DM
22492013-11-06 David S. Miller <davem@davemloft.net>
2250
2251 [BZ #15985]
2252 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
2253 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
2254
e256c421
WN
22552013-11-06 Will Newton <will.newton@linaro.org>
2256
2257 * manual/memory.texi (Malloc Examples): Remove register
2258 keyword from examples.
2259
f6e12daa 22602013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 2261
f6e12daa 2262 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 2263
9d880655
AS
22642013-11-04 Joseph Myers <joseph@codesourcery.com>
2265
2266 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
2267 depending on [__GCC_IEC_559 > 0].
2268 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
2269 depending on [__GCC_IEC_559_COMPLEX > 0].
2270
ae129d3c
CL
22712013-11-03 Chris Leonard <cjl@sugarlabs.org>
2272
2273 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
2274 to iso-639.def.
2275
4a15c2a4 22762013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
2277
2278 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
2279
8b35e35d
OB
22802013-11-01 Ondřej Bílka <neleai@seznam.cz>
2281
2282 [BZ #16112]
2283 * malloc/malloc (malloc_info): Do not handle first bin as
2284 special case.
2285
1d70fd6c
CL
22862013-11-01 Chris Leonard <cjl@sugarlabs.org>
2287
2288 * locale/iso-639.def: Add Central Nahuatl (nhn).
2289
8c5c2600
BH
22902013-11-01 Bruno Haible <bruno@clisp.org>
2291
2292 [BZ #7003]
2293 * manual/math.texi (BSD Random): Specify range upper bound as
2294 in POSIX.
2295
da5579c2
CL
22962013-10-31 Chris Leonard <cjl@sugarlabs.org>
2297
2298 * locale/iso-639.def: Add Meadow Mari (mhr).
2299
5d30d853
OB
23002013-10-31 Ondřej Bílka <neleai@seznam.cz>
2301
2302 [BZ #14752], [BZ #15763]
2303 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
2304 Validate name.
2305 * rt/tst_shm.c: Add test for escaping directory.
2306
a4966c61
AS
23072013-10-31 Andreas Schwab <schwab@suse.de>
2308
8a43e768 2309 [BZ #15917]
a4966c61
AS
2310 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
2311 followed by 'x' as part of digit sequence.
2312 * stdio-common/tst-sscanf.c (double_tests2): New tests.
2313
28d708c4
MAP
23142013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2315
2316 [BZ #16037]
2317 * configure.ac: allow GNU Make 4.0 and greater.
2318 * configure: Regenerated.
2319
a56ee40b
WN
23202013-10-30 Will Newton <will.newton@linaro.org>
2321
2322 [BZ #16038]
2323 * malloc/hooks.c (memalign_check): Limit alignment to the
2324 maximum representable power of two.
2325 * malloc/malloc.c (__libc_memalign): Likewise.
2326 * malloc/tst-memalign.c (do_test): Add test for very
2327 large alignment values.
2328 * malloc/tst-posix_memalign.c (do_test): Likewise.
2329
c6e4925d
OB
23302013-10-30 Ondřej Bílka <neleai@seznam.cz>
2331
2332 [BZ #11087]
2333 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
2334 (munmap_chunk): Likewise.
2335 (mremap_chunk): Likewise.
2336
23372013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 2338
8a43e768 2339 [BZ #15799]
bbea82f7
OB
2340 * stdlib/div.c (div): Remove obsolete code.
2341 * stdlib/ldiv.c (ldiv): Likewise.
2342 * stdlib/lldiv.c (lldiv): Likewise.
2343
977f4b31
SP
23442013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2345
2346 [BZ #16071]
2347 * nss/nss_files/files-XXX.c (get_contents_ret): New
2348 enumerator.
2349 (get_contents): New function.
2350 (internal_getent): Use it. Expand size of LINEBUFLEN.
2351
cb8a6dbd
MF
23522013-10-30 Mike Frysinger <vapier@gentoo.org>
2353
2354 * configure.in: Moved to ...
2355 * configure.ac: ... here. Change reference to configure.in
2356 to configure.ac.
2357 * sysdeps/arm/preconfigure.ac: ... here.
2358 configure.in to configure.ac.
2359 * sysdeps/gnu/configure.in: Moved to ...
2360 * sysdeps/gnu/configure.ac: ... here.
2361 * sysdeps/i386/configure.in: Moved to ...
2362 * sysdeps/i386/configure.ac: ... here.
2363 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
2364 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
2365 * sysdeps/mach/configure.in: Moved to ...
2366 * sysdeps/mach/configure.ac: ... here.
2367 * sysdeps/mach/hurd/configure.in: Moved to ...
2368 * sysdeps/mach/hurd/configure.ac: ... here.
2369 * sysdeps/powerpc/configure.in: Moved to ...
2370 * sysdeps/powerpc/configure.ac: ... here.
2371 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
2372 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
2373 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
2374 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
2375 * sysdeps/s390/s390-32/configure.in: Moved to ...
2376 * sysdeps/s390/s390-32/configure.ac: ... here.
2377 * sysdeps/s390/s390-64/configure.in: Moved to ...
2378 * sysdeps/s390/s390-64/configure.ac: ... here.
2379 * sysdeps/sh/configure.in: Moved to ...
2380 * sysdeps/sh/configure.ac: ... here.
2381 * sysdeps/sparc/configure.in: Moved to ...
2382 * sysdeps/sparc/configure.ac: ... here.
2383 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
2384 * sysdeps/unix/sysv/linux/configure.ac: ... here.
2385 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
2386 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
2387 * sysdeps/x86_64/configure.in: Moved to ...
2388 * sysdeps/x86_64/configure.ac: ... here.
2389 * sysdeps/x86_64/preconfigure.in: Moved to ...
2390 * sysdeps/x86_64/preconfigure.ac: ... here.
2391 * aclocal.m4: Change reference to configure.in to configure.ac.
2392 * config.h.in: Likewise.
2393 * manual/install.texi: Likewise.
2394 * manual/maint.texi: Likewise.
2395 * Makefile: Likewise.
2396 * malloc/Makefile: Likewise.
2397 * nscd/Makefile: Likewise.
2398 * Makeconfig: Change reference to configure.in and
2399 preconfigure.in to configure.ac and preconfigure.ac
2400 respectively.
2401 * INSTALL: Regenerated.
2402 * configure: Likewise.
2403 * sysdeps/gnu/configure: Likewise.
2404 * sysdeps/i386/configure: Likewise.
2405 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
2406 * sysdeps/mach/configure: Likewise.
2407 * sysdeps/mach/hurd/configure: Likewise.
2408 * sysdeps/powerpc/configure: Likewise.
2409 * sysdeps/powerpc/powerpc32/configure: Likewise.
2410 * sysdeps/powerpc/powerpc64/configure: Likewise.
2411 * sysdeps/s390/s390-32/configure: Likewise.
2412 * sysdeps/s390/s390-64/configure: Likewise.
2413 * sysdeps/sh/configure: Likewise.
2414 * sysdeps/sparc/configure: Likewise.
2415 * sysdeps/unix/sysv/linux/configure: Likewise.
2416 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
2417 * sysdeps/x86_64/configure: Likewise.
2418 * sysdeps/x86_64/preconfigure: Likewise.
2419
36a4953a
AS
24202013-10-29 Andreas Schwab <schwab@suse.de>
2421
2422 * stdio-common/Makefile (tst-swscanf-ENV): Define.
2423
c79a1204
SP
24242013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2425
dfa1b402
SP
2426 * benchtests/pow-inputs: Add new inputs.
2427
54f73d9c
SP
2428 * benchtests/exp-inputs: Add new inputs.
2429
c79a1204
SP
2430 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
2431 conditional check for return value.
2432 (__cos32): Likewise.
2433
67beb545 24342013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
2435
2436 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
2437 to provide a boost for large inputs with word alignment.
2438 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
2439 implementation based on optimized PPC64 strcpy.
2440 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
2441 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
2442 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
2443 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
2444
151659f6
OB
24452013-10-25 Ondřej Bílka <neleai@seznam.cz>
2446
482a077e 2447 [BZ #2801]
151659f6
OB
2448 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
2449
10b0f26b
OB
24502013-10-25 Ondřej Bílka <neleai@seznam.cz>
2451
2452 [BZ #14876]
2453 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
2454 * time/tst-strptime.c (day_tests): Add testcase.
2455
ca42d35e
OB
24562013-10-25 Ondřej Bílka <neleai@seznam.cz>
2457
482a077e 2458 [BZ #14029]
ca42d35e
OB
2459 * manual/pattern.texi: Acknowledge that fnmatch can fail.
2460
52e6d801
FB
24612013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
2462
2463 [BZ #16074]
2464 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
2465 MAP_FAILED on error.
2466
7cbcdb36
SP
24672013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2468
2469 [BZ #16072]
2470 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
2471 heap for large requests.
2472
894f3f10
AM
24732013-10-25 Aurelien Jarno <aurelien@aurel32.net>
2474
2475 [BZ #9954]
2476 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
2477 result if the result has no associated interface.
2478 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
2479 interface for all 127.X.Y.Z addresses.
2480
b85545a6
CL
24812013-10-24 Chris Leonard <cjl@sugarlabs.org>
2482
2483 * locale/iso-639.def: Add Ligurian (lij)
2484
d1f23d46
OB
24852013-10-21 Ondřej Bílka <neleai@seznam.cz>
2486
2487 [BZ #15825]
2488 * sunrpc/rpc_main.c: Document rpcgen -5.
2489
4db5b08f
MS
24902013-10-19 Michael Stahl <mstahl@redhat.com>
2491
2492 * elf/rtld.c (do_preload): Print the reason why preloading failed.
2493
a471e96a
OB
24942013-10-19 Ondřej Bílka <neleai@seznam.cz>
2495
d1f23d46 2496 [BZ #10278]
a471e96a
OB
2497 * posix/glob.c: Match only directories when trailing slash is present.
2498 * posix/tst-gnuglob.c (my_opendir): Do not open files.
2499 (main): Add testcase.
2500
45c30c61
OB
25012013-10-19 Ondřej Bílka <neleai@seznam.cz>
2502
2503 [BZ #15670]
2504 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
2505
484c12fb
CD
25062013-10-18 Carlos O'Donell <carlos@redhat.com>
2507
3d7dc513
CD
2508 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
2509 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
2510 AUTH_DES and cindex for FIPS 140-2.
2511 (DES Encryption): Add cindex FIPS 46-3.
2512
484c12fb
CD
2513 * locale/locarchive.h (struct locarhandle): Add fname.
2514 * locale/programs/localedef.c (main): Pass ARGV[remaining]
2515 if an optional argument was specified to --list-archive,
2516 otherwise NULL.
2517 * locale/programs/locarchive.c (show_archive_content): Take new
2518 argument fname and pass it via ah.fname to open_archive.
2519 * locale/programs/localedef.h: Update decl.
2520 (open_archive): If AH->fname is non-null, open that file
2521 rather than the default file name, and don't ignore ENOENT.
2522 (create_archive): Set AH.fname to NULL.
2523 (delete_locales_from_archive): Likewise.
2524 (add_locales_to_archive): Likewise.
2525 * locale/programs/locfile.c (write_all_categories): Likewise.
2526
3c8325fb
JM
25272013-10-18 Joseph Myers <joseph@codesourcery.com>
2528 Aldy Hernandez <aldyh@redhat.com>
2529
2530 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
2531 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
2532 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
2533 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
2534 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
2535 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
2536 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
2537 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
2538 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
2539 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
2540 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
2541 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
2542 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
2543 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
2544 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
2545 Likewise.
2546 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
2547 Likewise.
2548 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
2549 Likewise.
2550 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
2551 Likewise.
2552 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
2553 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
2554 Likewise.
2555 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
2556 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
2557 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
2558 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
2559 Likewise.
2560 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
2561 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
2562 * sysdeps/powerpc/preconfigure: Likewise.
2563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
2564 Likewise.
2565 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
2566 Replace contents of file by #include of <fenv_libc.h>.
2567 * sysdeps/powerpc/soft-fp/sfp-machine.h
2568 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
2569 and <sys/prctl.h>.
2570 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
2571 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
2572 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
2573 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
2574 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
2575 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
2576 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
2577 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
2578 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
2579 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
2580 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
2581 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
2582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2583 Allow copysignl PLT reference to be missing.
2584
5abe0682
RS
25852013-10-18 Richard Sandiford <richard@codesourcery.com>
2586 Joseph Myers <joseph@codesourcery.com
2587
2588 [BZ #15948]
2589 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
2590 single character.
2591 (add_to_tablewc): Assert sequence of wide characters is nonempty.
2592
c7738d08
SP
25932013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2594
2595 * elf/tst-tls-dlinfo.c: Don't include tls.h.
2596 * elf/tst-tls1.c: Likewise.
2597 * elf/tst-tls10.h: Likewise.
2598 * elf/tst-tls14.c: Likewise.
2599 * elf/tst-tls2.c: Likewise.
2600 * elf/tst-tls3.c: Likewise.
2601 * elf/tst-tls4.c: Likewise.
2602 * elf/tst-tls5.c: Likewise.
2603 * elf/tst-tls6.c: Likewise.
2604 * elf/tst-tls7.c: Likewise.
2605 * elf/tst-tls8.c: Likewise.
2606 * elf/tst-tls9.c: Likewise.
2607 * elf/tst-tlsmod1.c: Likewise.
2608 * elf/tst-tlsmod13.c: Likewise.
2609 * elf/tst-tlsmod13a.c: Likewise.
2610 * elf/tst-tlsmod14a.c: Likewise.
2611 * elf/tst-tlsmod16a.c: Likewise.
2612 * elf/tst-tlsmod16b.c: Likewise.
2613 * elf/tst-tlsmod2.c: Likewise.
2614 * elf/tst-tlsmod3.c: Likewise.
2615 * elf/tst-tlsmod4.c: Likewise.
2616 * elf/tst-tlsmod5.c: Likewise.
2617 * elf/tst-tlsmod6.c: Likewise.
2618
0bfcf2c7
OB
26192013-10-18 Ondřej Bílka <neleai@seznam.cz>
2620
2621 [BZ #12486]
2622 * malloc/malloc.c: remove checks for statistics.
2623
264aad1e
OB
26242013-10-17 Ondřej Bílka <neleai@seznam.cz>
2625
2626 [BZ #15277]
2627 * inet/inet_net.c (inet_network): Detect additional invalid strings.
2628 * inet/tst-network.c: Add testcase.
2629
b957ced8
AS
26302013-10-17 Andreas Schwab <schwab@suse.de>
2631
2632 [BZ #15218]
2633 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
2634 to determine canonical name.
2635
c5d5d574
OB
26362013-10-17 Ondřej Bílka <neleai@seznam.cz>
2637
2638 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
2639 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
2640 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2641 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2642 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2643 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2644 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2645 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2646 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
2647 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2648 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2649 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2650 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2651 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2652 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2653 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2654 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2655 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2656 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2657 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2658 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2659 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2660 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2661 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
2662 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
2663 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2664 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2665 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
2666 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2667 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
2668 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2669 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2670 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2671 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2672 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2673 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2674 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2675 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2676 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2677 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2678 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2679 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2680 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2681 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2682 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2683 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2684 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2685 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2686 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2687 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2688 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2689 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2690 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2691 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2692 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2693 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2694 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2695 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2696
e5c2c2d0
JM
26972013-10-17 Joseph Myers <joseph@codesourcery.com>
2698
2699 [BZ #16041]
2700 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
2701 make result into a quiet NaN.
2702
51ca9e29
JM
27032013-10-16 Joseph Myers <joseph@codesourcery.com>
2704
2705 * soft-fp/adddf3.c: Fix horizontal whitespace.
2706 * soft-fp/addsf3.c: Likewise.
2707 * soft-fp/addtf3.c: Likewise.
2708 * soft-fp/divdf3.c: Likewise.
2709 * soft-fp/divsf3.c: Likewise.
2710 * soft-fp/divtf3.c: Likewise.
2711 * soft-fp/double.h: Likewise.
2712 * soft-fp/eqdf2.c: Likewise.
2713 * soft-fp/eqsf2.c: Likewise.
2714 * soft-fp/eqtf2.c: Likewise.
2715 * soft-fp/extenddftf2.c: Likewise.
2716 * soft-fp/extended.h: Likewise.
2717 * soft-fp/extendsfdf2.c: Likewise.
2718 * soft-fp/extendsftf2.c: Likewise.
2719 * soft-fp/extendxftf2.c: Likewise.
2720 * soft-fp/fixdfdi.c: Likewise.
2721 * soft-fp/fixdfsi.c: Likewise.
2722 * soft-fp/fixdfti.c: Likewise.
2723 * soft-fp/fixsfdi.c: Likewise.
2724 * soft-fp/fixsfsi.c: Likewise.
2725 * soft-fp/fixsfti.c: Likewise.
2726 * soft-fp/fixtfdi.c: Likewise.
2727 * soft-fp/fixtfsi.c: Likewise.
2728 * soft-fp/fixtfti.c: Likewise.
2729 * soft-fp/fixunsdfdi.c: Likewise.
2730 * soft-fp/fixunsdfsi.c: Likewise.
2731 * soft-fp/fixunsdfti.c: Likewise.
2732 * soft-fp/fixunssfdi.c: Likewise.
2733 * soft-fp/fixunssfsi.c: Likewise.
2734 * soft-fp/fixunssfti.c: Likewise.
2735 * soft-fp/fixunstfdi.c: Likewise.
2736 * soft-fp/fixunstfsi.c: Likewise.
2737 * soft-fp/fixunstfti.c: Likewise.
2738 * soft-fp/floatdidf.c: Likewise.
2739 * soft-fp/floatdisf.c: Likewise.
2740 * soft-fp/floatditf.c: Likewise.
2741 * soft-fp/floatsidf.c: Likewise.
2742 * soft-fp/floatsisf.c: Likewise.
2743 * soft-fp/floatsitf.c: Likewise.
2744 * soft-fp/floattidf.c: Likewise.
2745 * soft-fp/floattisf.c: Likewise.
2746 * soft-fp/floattitf.c: Likewise.
2747 * soft-fp/floatundidf.c: Likewise.
2748 * soft-fp/floatundisf.c: Likewise.
2749 * soft-fp/floatunditf.c: Likewise.
2750 * soft-fp/floatunsidf.c: Likewise.
2751 * soft-fp/floatunsisf.c: Likewise.
2752 * soft-fp/floatunsitf.c: Likewise.
2753 * soft-fp/floatuntidf.c: Likewise.
2754 * soft-fp/floatuntisf.c: Likewise.
2755 * soft-fp/floatuntitf.c: Likewise.
2756 * soft-fp/fmadf4.c: Likewise.
2757 * soft-fp/fmasf4.c: Likewise.
2758 * soft-fp/fmatf4.c: Likewise.
2759 * soft-fp/gedf2.c: Likewise.
2760 * soft-fp/gesf2.c: Likewise.
2761 * soft-fp/getf2.c: Likewise.
2762 * soft-fp/ledf2.c: Likewise.
2763 * soft-fp/lesf2.c: Likewise.
2764 * soft-fp/letf2.c: Likewise.
2765 * soft-fp/muldf3.c: Likewise.
2766 * soft-fp/mulsf3.c: Likewise.
2767 * soft-fp/multf3.c: Likewise.
2768 * soft-fp/negdf2.c: Likewise.
2769 * soft-fp/negsf2.c: Likewise.
2770 * soft-fp/negtf2.c: Likewise.
2771 * soft-fp/op-1.h: Likewise.
2772 * soft-fp/op-2.h: Likewise.
2773 * soft-fp/op-4.h: Likewise.
2774 * soft-fp/op-8.h: Likewise.
2775 * soft-fp/op-common.h: Likewise.
2776 * soft-fp/quad.h: Likewise.
2777 * soft-fp/single.h: Likewise.
2778 * soft-fp/soft-fp.h: Likewise.
2779 * soft-fp/sqrtdf2.c: Likewise.
2780 * soft-fp/sqrtsf2.c: Likewise.
2781 * soft-fp/sqrttf2.c: Likewise.
2782 * soft-fp/subdf3.c: Likewise.
2783 * soft-fp/subsf3.c: Likewise.
2784 * soft-fp/subtf3.c: Likewise.
2785 * soft-fp/truncdfsf2.c: Likewise.
2786 * soft-fp/trunctfdf2.c: Likewise.
2787 * soft-fp/trunctfsf2.c: Likewise.
2788 * soft-fp/trunctfxf2.c: Likewise.
2789 * soft-fp/unorddf2.c: Likewise.
2790 * soft-fp/unordsf2.c: Likewise.
2791 * soft-fp/unordtf2.c: Likewise.
2792
9ebb0332
JM
27932013-10-15 Joseph Myers <joseph@codesourcery.com>
2794
2795 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
2796 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
2797
4b1a6d8b
OB
27982013-10-15 Ondřej Bílka <neleai@seznam.cz>
2799
2800 * elf/dl-libc.c: Clear initfini list after freeing.
2801
1e145589
JM
28022013-10-14 Joseph Myers <joseph@codesourcery.com>
2803
2804 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
2805 * soft-fp/addsf3.c: Likewise.
2806 * soft-fp/addtf3.c: Likewise.
2807 * soft-fp/divdf3.c: Likewise.
2808 * soft-fp/divsf3.c: Likewise.
2809 * soft-fp/divtf3.c: Likewise.
2810 * soft-fp/double.h: Likewise.
2811 * soft-fp/eqdf2.c: Likewise.
2812 * soft-fp/eqsf2.c: Likewise.
2813 * soft-fp/eqtf2.c: Likewise.
2814 * soft-fp/extenddftf2.c: Likewise.
2815 * soft-fp/extended.h: Likewise.
2816 * soft-fp/extendsfdf2.c: Likewise.
2817 * soft-fp/extendsftf2.c: Likewise.
2818 * soft-fp/extendxftf2.c: Likewise.
2819 * soft-fp/fixdfdi.c: Likewise.
2820 * soft-fp/fixdfsi.c: Likewise.
2821 * soft-fp/fixdfti.c: Likewise.
2822 * soft-fp/fixsfdi.c: Likewise.
2823 * soft-fp/fixsfsi.c: Likewise.
2824 * soft-fp/fixsfti.c: Likewise.
2825 * soft-fp/fixtfdi.c: Likewise.
2826 * soft-fp/fixtfsi.c: Likewise.
2827 * soft-fp/fixtfti.c: Likewise.
2828 * soft-fp/fixunsdfdi.c: Likewise.
2829 * soft-fp/fixunsdfsi.c: Likewise.
2830 * soft-fp/fixunsdfti.c: Likewise.
2831 * soft-fp/fixunssfdi.c: Likewise.
2832 * soft-fp/fixunssfsi.c: Likewise.
2833 * soft-fp/fixunssfti.c: Likewise.
2834 * soft-fp/fixunstfdi.c: Likewise.
2835 * soft-fp/fixunstfsi.c: Likewise.
2836 * soft-fp/fixunstfti.c: Likewise.
2837 * soft-fp/floatdidf.c: Likewise.
2838 * soft-fp/floatdisf.c: Likewise.
2839 * soft-fp/floatditf.c: Likewise.
2840 * soft-fp/floatsidf.c: Likewise.
2841 * soft-fp/floatsisf.c: Likewise.
2842 * soft-fp/floatsitf.c: Likewise.
2843 * soft-fp/floattidf.c: Likewise.
2844 * soft-fp/floattisf.c: Likewise.
2845 * soft-fp/floattitf.c: Likewise.
2846 * soft-fp/floatundidf.c: Likewise.
2847 * soft-fp/floatundisf.c: Likewise.
2848 * soft-fp/floatunsidf.c: Likewise.
2849 * soft-fp/floatunsisf.c: Likewise.
2850 * soft-fp/floatuntidf.c: Likewise.
2851 * soft-fp/floatuntisf.c: Likewise.
2852 * soft-fp/floatuntitf.c: Likewise.
2853 * soft-fp/fmadf4.c: Likewise.
2854 * soft-fp/fmasf4.c: Likewise.
2855 * soft-fp/fmatf4.c: Likewise.
2856 * soft-fp/gedf2.c: Likewise.
2857 * soft-fp/gesf2.c: Likewise.
2858 * soft-fp/getf2.c: Likewise.
2859 * soft-fp/ledf2.c: Likewise.
2860 * soft-fp/lesf2.c: Likewise.
2861 * soft-fp/letf2.c: Likewise.
2862 * soft-fp/muldf3.c: Likewise.
2863 * soft-fp/mulsf3.c: Likewise.
2864 * soft-fp/multf3.c: Likewise.
2865 * soft-fp/negdf2.c: Likewise.
2866 * soft-fp/negsf2.c: Likewise.
2867 * soft-fp/negtf2.c: Likewise.
2868 * soft-fp/op-1.h: Likewise.
2869 * soft-fp/op-2.h: Likewise.
2870 * soft-fp/op-4.h: Likewise.
2871 * soft-fp/op-8.h: Likewise.
2872 * soft-fp/op-common.h: Likewise.
2873 * soft-fp/quad.h: Likewise.
2874 * soft-fp/single.h: Likewise.
2875 * soft-fp/soft-fp.h: Likewise.
2876 * soft-fp/sqrtdf2.c: Likewise.
2877 * soft-fp/sqrtsf2.c: Likewise.
2878 * soft-fp/sqrttf2.c: Likewise.
2879 * soft-fp/subdf3.c: Likewise.
2880 * soft-fp/subsf3.c: Likewise.
2881 * soft-fp/subtf3.c: Likewise.
2882 * soft-fp/truncdfsf2.c: Likewise.
2883 * soft-fp/trunctfdf2.c: Likewise.
2884 * soft-fp/trunctfsf2.c: Likewise.
2885 * soft-fp/trunctfxf2.c: Likewise.
2886 * soft-fp/unorddf2.c: Likewise.
2887 * soft-fp/unordsf2.c: Likewise.
2888 * soft-fp/unordtf2.c: Likewise.
2889
17c48a60
OB
28902013-10-14 Ondřej Bílka <neleai@seznam.cz>
2891
2892 [BZ #15672]
2893 * misc/error.c (error_tail): Fix possible buffer overflow.
2894
cabba934
OB
28952013-10-14 Aurelien Jarno <aurelien@aurel32.net>
2896
2897 [BZ #13028]
2898 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
2899 address.
2900
94bf958a
PM
29012013-10-14 P. J. McDermott <pj@pehjota.net>
2902
2903 [BZ #832]
2904 * elf/ldd.bash.in (try_trace): New function. Delete previous code
2905 testing pipefail option.
2906
71b4dea7
JM
29072013-10-12 Joseph Myers <joseph@codesourcery.com>
2908
2909 * soft-fp/double.h: Indent preprocessor directives inside #if.
2910 * soft-fp/extended.h: Likewise.
2911 * soft-fp/op-2.h: Likewise.
2912 * soft-fp/op-4.h: Likewise.
2913 * soft-fp/op-common.h: Likewise.
2914 * soft-fp/quad.h: Likewise.
2915 * soft-fp/single.h: Likewise.
2916 * soft-fp/soft-fp.h: Likewise.
2917
55602758
YC
29182013-10-12 Yuri Chornoivan <yurchor@ukr.net>
2919
2920 * iconv/iconv_prog.c: Fix typos.
2921 * stdio-common/psiginfo-data.h: Likewise.
2922
9cd83302
RT
29232013-10-12 Reuben Thomas <rrt@sc3d.org>
2924
2925 [BZ #15764]
2926 * locale/setlocale.c: Fix typo.
2927
99fd9f47
JM
29282013-10-12 Joseph Myers <joseph@codesourcery.com>
2929
b7ea74f0
JM
2930 [BZ #16036]
2931 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
2932 signaling NaN arguments.
2933 * soft-fp/unordsf2.c (__unordsf2): Likewise.
2934 * soft-fp/unordtf2.c (__unordtf2): Likewise.
2935
8a509447
JM
2936 [BZ #14910]
2937 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
2938 unordered operands.
2939 * soft-fp/gesf2.c (__gesf2): Likewise.
2940 * soft-fp/getf2.c (__getf2): Likewise.
2941 * soft-fp/ledf2.c (__ledf2): Likewise.
2942 * soft-fp/lesf2.c (__lesf2): Likewise.
2943 * soft-fp/letf2.c (__letf2): Likewise.
2944
98998e9f
JM
2945 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
2946 * soft-fp/eqsf2.c (__eqsf2): Likewise.
2947 * soft-fp/eqtf2.c (__eqtf2): Likewise.
2948 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
2949 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
2950 * soft-fp/fixdfti.c (__fixdfti): Likewise.
2951 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
2952 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
2953 * soft-fp/fixsfti.c (__fixsfti): Likewise.
2954 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
2955 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
2956 * soft-fp/fixtfti.c (__fixtfti): Likewise.
2957 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
2958 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
2959 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
2960 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
2961 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
2962 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
2963 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
2964 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
2965 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
2966 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
2967 * soft-fp/floatdisf.c (__floatdisf): Likewise.
2968 * soft-fp/floatsisf.c (__floatsisf): Likewise.
2969 * soft-fp/floattidf.c (__floattidf): Likewise.
2970 * soft-fp/floattisf.c (__floattisf): Likewise.
2971 * soft-fp/floattitf.c (__floattitf): Likewise.
2972 * soft-fp/floatundidf.c (__floatundidf): Likewise.
2973 * soft-fp/floatundisf.c (__floatundisf): Likewise.
2974 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
2975 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
2976 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
2977 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
2978 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
2979 * soft-fp/gesf2.c (__gesf2): Likewise.
2980 * soft-fp/getf2.c (__getf2): Likewise.
2981 * soft-fp/ledf2.c (__ledf2): Likewise.
2982 * soft-fp/lesf2.c (__lesf2): Likewise.
2983 * soft-fp/letf2.c (__letf2): Likewise.
2984
8edc4a11
JM
2985 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
2986 Undefine and redefine.
2987 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
2988 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
2989 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
2990 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
2991 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2992 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
2993 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2994 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
2995 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2996 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
2997 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2998 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
2999 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3000 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
3001 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3002
8399acaf
JM
3003 [BZ #16032]
3004 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
3005 without decrementing exponent if mantissa >= that for the
3006 denominator, not >.
3007 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
3008 denominator, not >. Decrement exponent in < case instead of
3009 incrementing in >= case.
3010 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
3011 without decrementing exponent if mantissa >= that for the
3012 denominator, not >.
3013
99fd9f47
JM
3014 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
3015 computing saturated result for unsigned overflow.
3016
10e1cf6b
SP
30172013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3018 Jeff Law <law@redhat.com>
3019
3020 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
3021 (atan2Mp): Add systemtap probe marker.
3022 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
3023 (__ieee754_log): Add systemtap probe marker.
3024 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
3025 (atanMp): Add systemtap probe marker.
3026 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
3027 (tanMp): Add systemtap probe marker.
3028 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
3029 (__slowexp): Add systemtap probe marker.
3030 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
3031 (__slowpow): Add systemtap probe marker.
3032 * manual/probes.texi: Document probes.
3033
3d110c7c
EB
30342013-10-11 Eric Biggers <ebiggers3@gmail.com>
3035
3036 [BZ #15362]
3037 * libio/fileops.c (_IO_new_file_write): Return count of bytes
3038 written.
3039 (_IO_new_file_xsputn): Don't return EOF if nothing has been
3040 written.
3041 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
3042 written to buffer but not flushed.
3043 * libio/iofwrite_u.c: Likewise.
3044 * libio/iopadn.c: Return bytes returned even if EOF was
3045 encountered.
3046 * libio/iowpadn.c: Likewise.
3047 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
3048 if _IO_padn does not write the whole buffer.
3049 [!COMPILE_WPRINTF] (PAD): Likewise.
3050
75b4202a
DM
30512013-10-10 David S. Miller <davem@davemloft.net>
3052
3053 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
3054 directory block.
3055
6c6352e6
JM
30562013-10-10 Joseph Myers <joseph@codesourcery.com>
3057
33b853c3
JM
3058 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
3059 instead of FSF address.
3060 * soft-fp/fixdfti.c: Likewise.
3061 * soft-fp/fixsfti.c: Likewise.
3062 * soft-fp/fixtfti.c: Likewise.
3063 * soft-fp/fixunsdfti.c: Likewise.
3064 * soft-fp/fixunssfti.c: Likewise.
3065 * soft-fp/fixunstfti.c: Likewise.
3066 * soft-fp/floattidf.c: Likewise.
3067 * soft-fp/floattisf.c: Likewise.
3068 * soft-fp/floattitf.c: Likewise.
3069 * soft-fp/floatuntidf.c: Likewise.
3070 * soft-fp/floatuntisf.c: Likewise.
3071 * soft-fp/floatuntitf.c: Likewise.
3072 * soft-fp/trunctfxf2.c: Likewise.
3073
6c6352e6
JM
3074 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
3075 * soft-fp/fixdfti.c: Likewise.
3076 * soft-fp/fixsfti.c: Likewise.
3077 * soft-fp/fixtfti.c: Likewise.
3078 * soft-fp/fixunsdfti.c: Likewise.
3079 * soft-fp/fixunssfti.c: Likewise.
3080 * soft-fp/fixunstfti.c: Likewise.
3081 * soft-fp/floattidf.c: Likewise.
3082 * soft-fp/floattisf.c: Likewise.
3083 * soft-fp/floattitf.c: Likewise.
3084 * soft-fp/floatuntidf.c: Likewise.
3085 * soft-fp/floatuntisf.c: Likewise.
3086 * soft-fp/floatuntitf.c: Likewise.
3087 * soft-fp/trunctfxf2.c: Likewise.
3088
3bf78b71
DM
30892013-10-10 David S. Miller <davem@davemloft.net>
3090
3091 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3092
6f10289e
JM
30932013-10-10 Joseph Myers <joseph@codsourcery.com>
3094
bd878fc0
JM
3095 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3096 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
3097 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
3098 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
3099 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
3100 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
3101 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
3102
6f10289e
JM
3103 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
3104 for NaNs before doing comparisons on argument.
3105 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3106 Likewise.
3107
321e2684
WN
31082013-10-10 Will Newton <will.newton@linaro.org>
3109
3110 * malloc/hooks.c (memalign_check): Ensure the value of bytes
3111 passed to _int_memalign does not overflow.
3112
40fefba1
TR
31132013-10-10 Torvald Riegel <triegel@redhat.com>
3114
3115 * scripts/bench.pl: Add include-sources directive.
3116 * benchtests/README: Update documentation.
3117
2ae21ed2
JM
31182013-10-10 Joseph Myers <joseph@codesourcery.com>
3119
dcc2dd3f
JM
3120 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
3121 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
3122 instead of FP_INIT_ROUNDMODE.
3123 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
3124 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
3125
2ae21ed2
JM
3126 [BZ #16034]
3127 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
3128 copy class of input value.
3129 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
3130 not handle exceptions.
3131 * soft-fp/negsf2.c (__negsf2): Likewise.
3132 * soft-fp/negtf2.c (__negtf2): Likewise.
3133 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
3134
cb8f9562
JM
31352013-10-09 Joseph Myers <joseph@codesourcery.com>
3136
3137 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
3138 semicolon. From Linux kernel.
3139
5b60c59d
AB
31402013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
3141
3142 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
3143
b86835ca
YC
31442013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
3145
3146 [BZ #156]
3147 * manual/socket.texi: Added statement about buffer
3148 for gethostbyname2_r.
3149
e7044ea7
OB
31502013-10-08 Ondřej Bílka <neleai@seznam.cz>
3151
3152 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
3153 Use .p2align directive instead, throughout.
3154 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3155 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3156 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
3157 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3158 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3159 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
3160 * sysdeps/x86_64/strchr.S: Likewise.
3161 * sysdeps/x86_64/strrchr.S: Likewise.
3162
09544cbc
SP
31632013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3164
88576635
SP
3165 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
3166
e7b2d1dd
SP
3167 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
3168
09544cbc
SP
3169 * sysdeps/generic/math_private.h (__mpsin1): Remove
3170 declaration.
3171 (__mpcos1): Likewise.
3172 (__mpsin): New argument __range_reduce.
3173 (__mpcos): Likewise.
3174 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3175 (slow): Use __mpsin and __mpcos.
3176 (slow1): Likewise.
3177 (slow2): Likewise.
3178 (sloww): Likewise.
3179 (sloww1): Likewise.
3180 (sloww2): Likewise.
3181 (bsloww): Likewise.
3182 (bsloww1): Likewise.
3183 (bsloww2): Likewise.
3184 (cslow2): Likewise.
3185 (csloww): Likewise.
3186 (csloww1): Likewise.
3187 (csloww2): Likewise.
3188 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
3189 range_reduce. Merge in __mpsin1.
3190 (__mpcos): Likewise.
3191 (__mpsin1): Remove.
3192 (__mpcos1): Likewise.
3193
7602d070
JM
31942013-10-07 Joseph Myers <joseph@codesourcery.com>
3195
3196 * locale/loadlocale.c (_nl_intern_locale_data): Use
3197 LOCFILE_ALIGNED_P.
3198 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
3199 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
3200 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
3201 obstack data is appropriately aligned.
3202 (obstack_int32_grow_fast): Likewise.
3203 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
3204 * locale/programs/locfile.c (add_locale_uint32): Likewise.
3205 (add_locale_uint32_array): Likewise.
3206
a357259b
SP
32072013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3208
3209 * benchtests/Makefile: Remove ARGLIST and RET variables.
3210 ($(objpfx)bench-%.c): Pass only function name to the script.
3211 * benchtests/README: Update documentation.
3212 * benchtests/acos-inputs: Add new directives.
3213 * benchtests/acosh-inputs: Likewise.
3214 * benchtests/asin-inputs: Likewise.
3215 * benchtests/asinh-inputs: Likewise.
3216 * benchtests/atan-inputs: Likewise.
3217 * benchtests/atanh-inputs: Likewise.
3218 * benchtests/cos-inputs: Likewise.
3219 * benchtests/cosh-inputs: Likewise.
3220 * benchtests/exp-inputs: Likewise.
3221 * benchtests/log-inputs: Likewise.
3222 * benchtests/pow-inputs: Likewise.
3223 * benchtests/rint-inputs: Likewise.
3224 * benchtests/sin-inputs: Likewise.
3225 * benchtests/sinh-inputs: Likewise.
3226 * benchtests/tan-inputs: Likewise.
3227 * benchtests/tanh-inputs: Likewise.
3228 * scripts/bench.pl: Add support for new directives.
3229
9ec1b13d
AM
32302013-10-07 Alan Modra <amodra@gmail.com>
3231
3232 * README: Fix careless merge.
3233
8b7d57cd
AM
32342013-10-05 Alan Modra <amodra@gmail.com>
3235
3236 * NEWS: Mention powerpc64le support and bugs fixed.
3237 * README: Both big-endian and little-endian powerpc64 supported.
3238
7b7bab13
ST
32392013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3240
3241 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
3242 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
3243 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
3244 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
3245
d39baad1
RA
32462013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
3247
3248 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
3249 match prototype.
3250
cd78f7e7
JM
32512013-10-04 Joseph Myers <joseph@codesourcery.com>
3252
29d73d86
JM
3253 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
3254 Move -mhard-float appending from
3255 ports/sysdeps/powerpc/powerpc32/Makefile.
3256 [$(with-fp) = yes] (ASFLAGS): Likewise.
3257 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
3258 * sysdeps/powerpc/nofpu: Move directory from
3259 ports/sysdeps/powerpc/nofpu.
3260 * sysdeps/powerpc/soft-fp: Move directory from
3261 ports/sysdeps/powerpc/soft-fp.
3262 * sysdeps/powerpc/powerpc32/405: Move directory from
3263 ports/sysdeps/powerpc/powerpc32/405.
3264 * sysdeps/powerpc/powerpc32/440: Move directory from
3265 ports/sysdeps/powerpc/powerpc32/440.
3266 * sysdeps/powerpc/powerpc32/464: Move directory from
3267 ports/sysdeps/powerpc/powerpc32/464.
3268 * sysdeps/powerpc/powerpc32/476: Move directory from
3269 ports/sysdeps/powerpc/powerpc32/476.
3270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
3271 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
3272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
3273 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
3274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
3275 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
3276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
3277 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
3278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
3279 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
3280 * README: Update for powerpc-*-linux-gnu software floating point
3281 support in libc.
3282
e246b347
JM
3283 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
3284 case to powerpc/powerpc32*.
3285 * sysdeps/unix/sysv/linux/configure: Regenerated.
3286
89c2003e
JM
3287 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
3288 (_FPU_MASK_OM): Define as 0x04.
3289 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
3290 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
3291 0x00c10080.
3292 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
3293 0x0000003c.
3294 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
3295
cd78f7e7
JM
3296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3297 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3298 getcontext_e500.
3299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3300 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3301 setcontext_e500.
3302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
3303 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
3304 and setcontext_e500.
3305
c755294d
CL
33062013-10-04 Chris Leonard <cjl@sugarlabs,.org>
3307
3308 * locale/iso-3166.def: Update iso-1366.def and related occurrences
3309
e16d221c
SP
33102013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3311
3312 * manual/threads.texi (Default Thread Attributes): Fix typo.
3313
215c7d43
WN
33142013-10-04 Will Newton <will.newton@linaro.org>
3315
3316 * malloc/Makefile: Add tst-memalign.
3317 * malloc/tst-memalign.c: New file.
3318
27d0461b
WN
3319 * malloc/tst-posix_memalign.c: Add comments.
3320 (do_test): Add comments and call free on all potentially
3321 allocated pointers. Add space after cast.
3322
1bc92709
WN
3323 * malloc/tst-pvalloc.c: Add comments.
3324 (do_test): Add comments and call free on all potentially
3325 allocated pointers. Remove duplicate check for NULL pointer.
3326 Add space after cast.
3327
66a9be9d
WN
3328 * malloc/tst-valloc.c: Add comments.
3329 (do_test): Add comments and call free on all potentially
3330 allocated pointers. Remove duplicate check for NULL pointer.
3331 Add space after cast.
3332
4cb81307
AM
33332013-10-04 Alan Modra <amodra@gmail.com>
3334
3335 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3336 Use stdint types in rather than __attribute__((mode())).
3337 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3338
f8e3e9f3
AM
33392013-10-04 Alan Modra <amodra@gmail.com>
3340
3341 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3342 Correct handling of unaligned relocs for little-endian.
3343 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3344
8f9ebb08
AM
33452013-10-04 Alan Modra <amodra@gmail.com>
3346
3347 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
3348 * configure: Regenerate.
3349 * nptl/shlib-versions: Powerpc*le starts at 2.18.
3350 * shlib-versions: Likewise.
3351
0edf96c2
AM
33522013-10-04 Alan Modra <amodra@gmail.com>
3353
3354 * string/tester.c (test_memrchr): Increment reported test cycle.
3355
e0f7a380
AM
33562013-10-04 Alan Modra <amodra@gmail.com>
3357
3358 * string/test-memcpy.c (do_one_test): When reporting errors, print
3359 string address and don't overrun end of string.
3360
466b0393
AM
33612013-10-04 Alan Modra <amodra@gmail.com>
3362
3363 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
3364 insrdi. Make better use of reg selection to speed exit slightly.
3365 Schedule entry path a little better. Remove useless "are we done"
3366 checks on entry to main loop. Handle wrapping around zero address.
3367 Correct main loop count. Handle single left-over word from main
3368 loop inline rather than by using loop_small. Remove extra word
3369 case in loop_small caused by wrong loop count. Add little-endian
3370 support.
3371 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3372 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
3373 cache hint.
3374 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3375 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
3376 support. Avoid rlwimi.
3377 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
3378
3be87c77
AM
33792013-10-04 Alan Modra <amodra@gmail.com>
3380
3381 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 3382 insrdi. Formatting.
3be87c77
AM
3383 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
3384 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3385 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3386 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3387 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3388 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
3389
759cfef3
AM
33902013-10-04 Alan Modra <amodra@gmail.com>
3391
3392 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
3393 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3394 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3395 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
3396 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3397 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3398 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3399 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
3400 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
3401 use of regs. Use power7 mtocrf. Tidy function tails.
3402
fe6e95d7
AM
34032013-10-04 Alan Modra <amodra@gmail.com>
3404
3405 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
3406 Formatting. Consistently use rXXX register defines or rN defines.
3407 Use early exit labels that avoid restoring unused non-volatile regs.
3408 Make cr field use more consistent with rWORDn compares. Rename
3409 regs used as shift registers for unaligned loop, using rN defines
3410 for short lifetime/multiple use regs.
3411 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3412 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
3413 addi 1,1,64 to pop stack frame. Simplify return value code.
3414 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3415
664318c3
AM
34162013-10-04 Alan Modra <amodra@gmail.com>
3417
3418 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
3419 support. Correct typos, formatting. Optimize tail. Use insrdi
3420 rather than rlwimi.
3421 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
3422 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
3423 little-endian support. Correct typos.
3424 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
3425 rather than rlwimi.
3426 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
3427 in loop and entry code to keep "and." results.
3428 (strchr): Add little-endian support. Comment. Move cntlzd
3429 earlier in tail.
3430 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
3431
43b84013
AM
34322013-10-04 Alan Modra <amodra@gmail.com>
3433
3434 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
3435 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
3436 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
3437 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
3438
8a7413f9
AM
34392013-10-04 Alan Modra <amodra@gmail.com>
3440
3441 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
3442 (rTMP): Define as r11.
3443 (strcmp): Add little-endian support. Optimise tail.
3444 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
3445 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3446 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3447 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3448 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3449 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3450 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3451
33ee81de
AM
34522013-10-04 Alan Modra <amodra@gmail.com>
3453
3454 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
3455 little-endian support. Remove unnecessary "are we done" tests.
3456 Handle "s" wrapping around zero and extremely large "size".
3457 Correct main loop count. Handle single left-over word from main
3458 loop inline rather than by using small_loop. Correct comments.
3459 Delete "zero" tail, use "end_max" instead.
3460 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
3461
db9b4570
AM
34622013-10-04 Alan Modra <amodra@gmail.com>
3463
3464 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
3465 support. Don't branch over align.
3466 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
3467 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
3468 support. Rearrange tmp reg use to suit. Comment.
3469 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
3470
f7c399cf
AM
34712013-10-04 Alan Modra <amodra@gmail.com>
3472
3473 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
3474
0b2c2ace
AM
34752013-10-04 Alan Modra <amodra@gmail.com>
3476
3477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
3478 conditional form of branch and link when obtaining pc.
3479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3480
02f04a6c
AM
34812013-10-04 Alan Modra <amodra@gmail.com>
3482
3483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
3484 HIWORD/LOWORD.
3485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
3486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
3487
9b874b2f
AM
34882013-10-04 Alan Modra <amodra@gmail.com>
3489
3490 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
3491 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
3492 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3493 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
3494 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3495 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3496 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
3497 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3498 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3499 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
3500
be1e5d31
AB
35012013-10-04 Anton Blanchard <anton@au1.ibm.com>
3502 Alistair Popple <alistair@ozlabs.au.ibm.com>
3503 Alan Modra <amodra@gmail.com>
3504
3505 [BZ #15723]
3506 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
3507 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
3508 _dl_hwcap access for little-endian.
3509 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
3510 destroy vmx regs when saving unaligned.
3511 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
3512 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
3513 destroy vmx regs when saving unaligned.
3514
fef13a78
AM
35152013-10-04 Alan Modra <amodra@gmail.com>
3516
3517 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
3518 Don't use a union to pack hi/low value.
3519
76a66d51
AB
35202013-10-04 Anton Blanchard <anton@au1.ibm.com>
3521
3522 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
3523 for little-endian.
3524 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3525 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
3526 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3527 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3528 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3529
6a31fe7f
AM
35302013-10-04 Alan Modra <amodra@gmail.com>
3531
3532 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
3533 constants to usual value for .cst8 section, and remove redundant
3534 high address load.
3535 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
3536 constant for 0x1p52. Load little-endian words of double from
3537 correct stack offsets.
3538
7b88401f
AM
35392013-10-04 Alan Modra <amodra@gmail.com>
3540
3541 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
3542 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
3543 words of double from correct stack offsets.
3544 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3545 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
3546 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3547 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3548 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3549 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3550 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3551 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3552 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3553 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3554 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3555 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3556 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3557 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3558 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3559 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
3560 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3561
9c008155
AM
35622013-10-04 Alan Modra <amodra@gmail.com>
3563
3564 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
3565 64-bit int/double union.
3566 (_FPU_SETCW): Likewise.
3567 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
3568 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
3569
da13146d
AM
35702013-10-04 Alan Modra <amodra@gmail.com>
3571
3572 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
3573 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
3574
603e8410
AM
35752013-10-04 Alan Modra <amodra@gmail.com>
3576
3577 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
3578 use vector int constants.
3579 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
3580
4a28b3ca
AB
35812013-10-04 Anton Blanchard <anton@au1.ibm.com>
3582
3583 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
3584 array with long long.
3585 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
3586 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
3587 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
3588 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
3589 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
3590 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
3591 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
3592 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
3593 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
3594 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
3595 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
3596 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
3597 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
3598
2ca85d2b
AB
35992013-10-04 Anton Blanchard <anton@au1.ibm.com>
3600
3601 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
3602 (__signbit): Likewise. Correct for little-endian.
3603 (__signbitl): Call __signbit.
3604 (lrint): Correct for little-endian.
3605 (lrintf): Call lrint.
3606
62a728ae
AM
36072013-10-04 Alan Modra <amodra@gmail.com>
3608
3609 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
3610 union 32-bit int array member with 64-bit int array.
3611 (t515, tm256): Double rather than long double.
3612 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
3613
32c301df
AM
36142013-10-04 Alan Modra <amodra@gmail.com>
3615
3616 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
3617 Delete.
3618 (IEEE854_LONG_DOUBLE_BIAS): Delete.
3619 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
3620 version of math_ldbl.h.
3621
650ef4bd
AM
36222013-10-04 Alan Modra <amodra@gmail.com>
3623
3624 [BZ #15734], [BZ #15735]
3625 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
3626 all uses of ieee875 long double macros and unions. Simplify test
3627 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
3628 ldbl_extract_mantissa value for ix,iy exponents. Properly
3629 normalize after ldbl_extract_mantissa, and don't add hidden bit
3630 already handled. Don't treat low word of ieee854 mantissa like
3631 low word of IBM long double and mask off bit when testing for
3632 zero.
3633 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
3634 all uses of ieee875 long double macros and unions. Simplify tests
3635 for 0.0L and inf. Correct double adjustment of k. Delete dead code
3636 adjusting ha,hb. Simplify code setting kld. Delete two600 and
3637 two1022, instead use their values. Recognise that tests for large
3638 "a" and small "b" are mutually exclusive. Rename vars. Comment.
3639 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
3640 Rewrite all uses of ieee875 long double macros and unions. Simplify
3641 test for 0.0L and nan. Correct negation.
3642 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
3643 ieee875 long double macros and unions. Correct output for large
3644 magnitude x. Correct absolute value calculation.
3645 (__erfcl): Likewise.
3646 * math/libm-test.inc: Add tests for errors discovered in IBM long
3647 double versions of fmodl, remainderl, erfl and erfcl.
3648
765714ca
AM
36492013-10-04 Alan Modra <amodra@gmail.com>
3650
3651 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
3652 all uses of ieee854 long double macros and unions. Simplify tests
3653 for long doubles that are fully specified by the high double.
3654 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3655 Likewise.
3656 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
3657 Remove dead code too.
3658 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3659 (__ieee754_ynl): Likewise.
3660 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
3661 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
3662 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
3663 Remove dead code too.
3664 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
3665 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
3666 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
3667 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
3668 Simplify.
3669 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
3670 Simplify.
3671 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
3672 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
3673 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
3674 Comment on variable precision.
3675 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
3676 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3677 Likewise.
3678 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3679 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3680 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3681 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
3682 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
3683
4ebd120c
AM
36842013-10-04 Alan Modra <amodra@gmail.com>
3685
3686 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
3687 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
3688 all uses of ieee854 long double macros and unions.
3689 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
3690 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3691 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
3692 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
3693 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
3694 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3695 Likewise.
3696 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
3697 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3698 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
3699 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3700 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
3701 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
3702 Simplify sign and nan test too.
3703 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
3704 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
3705 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
3706 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
3707 Likewise.
3708 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3709 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
3710 Likewise.
3711 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3712 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
3713 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
3714 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
3715 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
3716 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
3717
1b6adf88
AM
37182013-10-04 Alan Modra <amodra@gmail.com>
3719
3720 * stdio-common/printf_size.c (__printf_size): Don't use
3721 union ieee854_long_double in fpnum union.
3722 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
3723 signbit macro to retrieve sign from long double.
3724 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
3725 retrieve sign from long double.
3726 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
3727 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
3728 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
3729 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3730 * math/test-misc.c (main): Don't use union ieee854_long_double.
3731
4cf69995
AM
37322013-10-04 Alan Modra <amodra@gmail.com>
3733
3734 [BZ #15680]
3735 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
3736 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
3737 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
3738 calculation. Remove unnecessary test for denormal exponent.
3739 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
3740 Correct handling of denormals. Avoid undefined shift behaviour.
3741 Correct normalisation of low mantissa when low double is denormal.
3742 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
3743 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
3744 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
3745 Correct normalisation of low mantissa. Test for overflow of high
3746 mantissa and normalise.
3747 (ldbl_nearbyint): Use more readable constant for two52.
3748 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
3749 (__mpn_construct_long_double): Fix test for overflow of high
3750 mantissa and correct normalisation. Avoid undefined shift.
3751
9605ca6c
AM
37522013-10-04 Alan Modra <amodra@gmail.com>
3753
3754 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3755 (union ibm_extended_long_double): Define as an array of ieee754_double.
3756 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
3757 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
3758 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
3759 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3760 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3761 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
3762 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3763 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3764 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3765 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
3766 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3767
975569d0
JM
37682013-10-03 Joseph Myers <joseph@codesourcery.com>
3769
d3d23756
JM
3770 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
3771 page size instead of calling getpagesize.
3772
975569d0
JM
3773 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
3774 (LOCFILE_ALIGN_MASK): Likewise.
3775 (LOCFILE_ALIGN_UP): Likewise.
3776 (LOCFILE_ALIGNED_P): Likewise.
3777 * locale/programs/ld-collate.c (collate_output): Use the new
3778 macros instead of __alignof__ (int32_t).
3779 * locale/weight.h (findidx): Likewise.
3780
b1fe1f2b
OB
37812013-10-03 Ondřej Bílka <neleai@seznam.cz>
3782
3783 [BZ #431]
3784 * manual/string.texi: Fix strncat and wcsncat.
3785
5f855e35
BM
37862013-10-03 Brooks Moses <bmoses@google.com>
3787
3788 [BZ #15915]
3789 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
3790 * Makerules: ...here, and adjust associated comments.
3791
3cef6009
WN
37922013-10-02 Will Newton <will.newton@linaro.org>
3793
3794 * malloc/Makefile: Add tst-pvalloc.
3795 * malloc/tst-pvalloc.c: New file.
3796
7815420b
WN
37972013-10-02 Will Newton <will.newton@linaro.org>
3798
3799 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
3800 improve test coverage.
3801
4868b204
WN
38022013-10-02 Will Newton <will.newton@linaro.org>
3803
3804 * malloc/Makefile: Add tst-posix_memalign.
3805 * malloc/tst-posix_memalign.c: New file.
3806
29c793b3
EB
38072013-10-01 Eric Blake <eblake@redhat.com>
3808
3809 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
3810 Use __THROWNL rather than __THROW on static functions.
3811
fd967522
PM
38122013-09-30 Petr Machata <pmachata@redhat.com>
3813
3814 * elf/elf.h (R_AARCH64_ABS16): New macro.
3815 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
3816 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
3817 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
3818 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
3819 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
3820 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
3821 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
3822 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
3823 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
3824 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
3825 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
3826 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
3827 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
3828 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
3829 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
3830 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
3831 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
3832 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
3833 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
3834 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
3835 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
3836 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
3837 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
3838 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
3839 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
3840 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
3841 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
3842 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
3843 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
3844 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
3845 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
3846 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
3847 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
3848 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
3849 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
3850 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
3851 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
3852 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
3853 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
3854 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
3855 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
3856 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
3857 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
3858 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
3859 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
3860 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
3861 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
3862 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
3863 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
3864 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
3865 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
3866 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
3867 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
3868 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
3869 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
3870 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
3871 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
3872 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
3873 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
3874 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
3875 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
3876 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
3877 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
3878 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
3879 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
3880 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
3881 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
3882 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
3883 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
3884 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
3885 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
3886 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
3887 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
3888 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
3889 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
3890 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
3891 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
3892 (R_AARCH64_TLSDESC_LDR): Likewise.
3893 (R_AARCH64_TLSDESC_ADD): Likewise.
3894 (R_AARCH64_TLSDESC_CALL): Likewise.
3895
b2179107
AS
38962013-09-30 Andreas Schwab <schwab@suse.de>
3897
3898 [BZ #15048]
3899 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
3900 the nss database lookup.
3901 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3902 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3903
47f28d0a
MF
39042013-09-28 Mike Frysinger <vapier@gentoo.org>
3905
3906 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
3907
39082013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
3909
3910 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
3911 ${Bash-specific parameter/pattern/string} parameter expansion.
3912 * sysdeps/unix/make-syscalls.sh: Likewise.
3913
f4518a17
KK
39142013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3915
3916 * sysdeps/sh/stackguard-macros.h: New file.
3917
dc1a95c7
OB
39182013-09-26 Ondřej Bílka <neleai@seznam.cz>
3919
3920 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
3921 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
3922 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
3923 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
3924 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3925 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
3926
5ebbff8f
AZ
39272013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3928
3929 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
3930 Fix thread ID register.
3931
4fd2cf9f
JM
39322013-09-25 Joseph Myers <joseph@codesourcery.com>
3933
3934 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
3935 [POSIX || UNIX98]: Require rather than permitting all symbols from
3936 <time.h>.
3937 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
3938 element of struct sched_param.
3939 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
3940 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
3941 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
3942 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
3943 constant.
3944
12c22bc4
OL
39452013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
3946
3947 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
3948 argument calculation.
3949
a03d8ea7
JM
39502013-09-24 Joseph Myers <joseph@codesourcery.com>
3951
3952 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
3953 Expect macro.
3954 [POSIX] (pthread_attr_t): Do not require type.
3955 [POSIX] (pthread_cond_t): Likewise.
3956 [POSIX] (pthread_condattr_t): Likewise.
3957 [POSIX] (pthread_key_t): Likewise.
3958 [POSIX] (pthread_mutex_t): Likewise.
3959 [POSIX] (pthread_mutexattr_t): Likewise.
3960 [POSIX] (pthread_once_t): Likewise.
3961 [POSIX] (pthread_t): Likewise.
3962 [POSIX-based standards] (pthread_atfork): Expect function.
3963
6055173a
JM
39642013-09-24 Joseph Myers <joseph@codesourcery.com>
3965 Richard Sandiford <richard@codesourcery.com>
3966
3967 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
3968 (swap_endianness_p): New extern variable.
3969 (set_big_endian): New inline function.
3970 (maybe_swap_uint32): Likewise.
3971 (maybe_swap_uint32_array): Likewise.
3972 (maybe_swap_uint32_obstack): Likewise.
3973 * locale/programs/locfile.c: Include <stdbool.h>.
3974 (swap_endianness_p): New variable.
3975 (add_locale_uint32): Call maybe_swap_uint32.
3976 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
3977 (write_locale_data): Call maybe_swap_uint32_array.
3978 * locale/programs/ld-collate.c (obstack_int32_grow): Call
3979 maybe_swap_uint32.
3980 (obstack_int32_grow_fast): Likewise.
3981 (output_weightwc): Call maybe_swap_uint32_obstack.
3982 (collate_output): Likewise.
3983 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
3984 (OPT_LITTLE_ENDIAN): Likewise.
3985 (options): Add --little-endian and --big-endian options.
3986 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
3987 * locale/programs/locarchive.c: Include "locfile.h".
3988 (GET): New macro.
3989 (SET): Likewise.
3990 (INC): Likewise.
3991 (create_archive): Use the new macros to access fields of
3992 structures directly mapped from or written to locale archives.
3993 (oldlocrecentcmp): Likewise.
3994 (enlarge_archive): Likewise.
3995 (insert_name): Likewise.
3996 (add_alias): Likewise.
3997 (add_locale): Likewise.
3998 (delete_locales_from_archive): Likewise.
3999 (show_archive_content): Likewise.
4000 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
4001 locale data.
4002
39bf0bb4
RM
40032013-09-24 Roland McGrath <roland@hack.frob.com>
4004
4005 * manual/freemanuals.texi: Updated from (newly) canonical copy at
4006 http://www.gnu.org/doc/freemanuals.texi.
4007 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
4008
f02eed10
WN
40092013-09-24 Will Newton <will.newton@linaro.org>
4010
4011 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
4012 macro.
4013
a3a6c312
JM
40142013-09-23 Joseph Myers <joseph@codesourcery.com>
4015
4016 * locale/hashval.h (compute_hashval): Interpret bytes of key as
4017 unsigned char.
4018
107375ac
MR
40192013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
4020
4021 * manual/threads.texi (POSIX Threads): Fix a typo.
4022
141f3a77
SP
40232013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4024
303e567a
SP
4025 [BZ #14547]
4026 * string/tst-strcoll-overflow.c: New test case.
4027 * string/Makefile (xtests): Add tst-strcoll-overflow.
4028 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
4029 cache if string sizes may cause integer overflow.
4030
141f3a77
SP
4031 [BZ #14547]
4032 * string/strcoll_l.c (coll_seq): New members rule, idx,
4033 save_idx and back_us.
4034 (get_next_seq_nocache): New function.
4035 (do_compare_nocache): New function.
4036 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
4037 when malloc fails.
4038
c61b4d41
CD
40392013-09-23 Carlos O'Donell <carlos@redhat.com>
4040
0b1f8e35
CD
4041 [BZ #15754]
4042 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
4043 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
4044 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
4045
c61b4d41
CD
4046 [BZ #15754]
4047 * elf/Makefile (tests): Add tst-ptrguard1.
4048 (tests-static): Add tst-ptrguard1-static.
4049 (tst-ptrguard1-ARGS): Define.
4050 (tst-ptrguard1-static-ARGS): Define.
4051 * elf/tst-ptrguard1.c: New file.
4052 * elf/tst-ptrguard1-static.c: New file.
4053 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
4054 * sysdeps/i386/stackguard-macros.h: Likewise.
4055 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4056 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4057 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4058 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4059 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4060 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4061
40622013-09-23 Hector Marco <hecmargi@upv.es>
4063 Ismael Ripoll <iripoll@disca.upv.es>
4064 Carlos O'Donell <carlos@redhat.com>
4065
4066 [BZ #15754]
4067 * sysdeps/generic/stackguard-macros.h: Define
4068 __pointer_chk_guard_local and POINTER_CHK_GUARD.
4069 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
4070 Define __pointer_chk_guard_local.
4071 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
4072 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
4073
f5f4e7b4
VV
40742013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
4075
4076 [BZ #15859]
4077 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
4078
5bb43a43
AS
40792013-09-20 Andreas Schwab <schwab@linux-m68k.org>
4080
4081 * include/string.h (__ffs): Declare as hidden.
4082 * string/ffs.c (__ffs): Define as hidden.
4083 * sysdeps/i386/ffs.c (__ffs): Likewise.
4084 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
4085 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
4086 * sysdeps/s390/ffs.c (__ffs): Likewise.
4087 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
4088
3ea5be54
AO
40892013-09-20 Alexandre Oliva <aoliva@redhat.com>
4090
ffb89e53
AO
4091 * NEWS: Mention malloc probes.
4092
322dea08
AO
4093 * malloc/arena.c (new_heap): New memory_heap_new probe.
4094 (grow_heap): New memory_heap_more probe.
4095 (shrink_heap): New memory_heap_less probe.
4096 (heap_trim): New memory_heap_free probe.
4097 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
4098 (systrim): New memory_sbrk_less probe.
4099 * manual/probes.texi: Document them.
4100
655673f3
AO
4101 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
4102 * manual/probes.texi: Document it.
4103
35fed6f1
AO
4104 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
4105 (__libc_realloc): Add memory_realloc_retry probe.
4106 (__libc_memalign): Add memory_memalign_retry probe.
4107 (__libc_valloc): Add memory_valloc_retry probe.
4108 (__libc_pvalloc): Add memory_pvalloc_retry probe.
4109 (__libc_calloc): Add memory_calloc_retry probe.
4110 * manual/probes.texi: Document them.
4111
6999d38c
AO
4112 * malloc/arena.c (get_free_list): Add probe
4113 memory_arena_reuse_free_list.
4114 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
4115 and memory_arena_reuse.
4116 (arena_get2) [!PER_THREAD]: Likewise.
4117 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
4118 memory_arena_reuse_realloc.
4119 * manual/probes.texi: Document them.
4120
0653427f
AO
4121 * malloc/malloc.c (__libc_free): Add
4122 memory_mallopt_free_dyn_thresholds probe.
4123 (__libc_mallopt): Add multiple memory_mallopt probes.
4124 * manual/probes.texi: Document them.
4125
3ea5be54
AO
4126 * malloc/malloc.c: Include stap-probe.h.
4127 (__libc_mallopt): Add memory_mallopt probe.
4128 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
4129 * manual/probes.texi: New.
4130 * manual/Makefile (chapters): Add probes.
4131 * manual/threads.texi: Set next node.
4132
e35696c3 41332013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 4134
e35696c3
CL
4135 [BZ #15963, #13985]
4136 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
4137 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
4138 Add `Chinese' to `nan' entry name.
4139
4aafb73c
SP
41402013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4141
4142 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
4143 (POLYNOMIAL): Likewise.
4144 (TAYLOR_SINCOS): Likewise.
4145 (TAYLOR_SLOW): Likewise.
4146 (__sin): Use TAYLOR_SINCOS.
4147 (__cos): Likewise.
4148 (slow): Use TAYLOR_SLOW.
4149 (sloww): Likewise.
4150 (bsloww): Likewise.
4151 (csloww): Likewise.
4152
d84f25c7
LD
41532013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4154
4155 * stdlib/strtod_l.c: Fix buffer overrun.
4156
5eea0404
SP
41572013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4158
7849ff93
SP
4159 * benchtests/Makefile (bench): Add sincos.
4160 * benchtests/bench-sincos.c: New file.
4161
cfa3c886
SP
4162 * math/libm-test.inc (cos_test_data): New test inputs.
4163 (sin_test_data): Likewise.
4164
b348e1e3
SP
4165 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
4166 macro.
4167 (__sin): Use it.
4168 (__cos): Likewise.
4169 (slow1): Likewise.
4170 (slow2): Likewise.
4171 (sloww1): Likewise.
4172 (sloww2): Likewise.
4173 (bsloww1): Likewise.
4174 (bsloww2): Likewise.
4175 (cslow2): Likewise.
4176 (csloww1): Likewise.
4177 (csloww2): Likewise.
4178
6cce25f8
SP
4179 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
4180 function.
4181 (__sin): Use it.
4182 (__cos): Likewise.
4183
5eea0404
SP
4184 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
4185 gotos.
4186 (__cos): Likewise.
4187
9c21573c
MR
41882013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
4189
4190 * config.h.in (HAVE_MIPS_NAN2008): New macro.
4191 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
4192 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
4193 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
4194 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
4195 * elf/cache.c (print_entry): Handle the new cache flags.
4196
24d22e65
JM
41972013-09-18 Joseph Myers <joseph@codesourcery.com>
4198 Aldy Hernandez <aldyh@redhat.com>
4199
4200 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
4201 Change condition to [_SOFT_FLOAT].
4202 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
4203 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
4204 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
4205 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
4206 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
4207 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
4208 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
4209 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
4210 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
4211 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
4212 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
4213 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
4214 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
4215 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
4216 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
4217 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
4218 declaration.
4219
d13ef066
JM
42202013-09-18 Joseph Myers <joseph@codesourcery.com>
4221
2e071de0
JM
4222 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
4223 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4224 (__longjmp): Use LOAD_GP to load saved GPRs.
4225 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
4226 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4227 (__sigsetjmp): Use SAVE_GP to save GPRs.
4228
d13ef066
JM
4229 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
4230 Do not append -msoft-float.
4231 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
4232
97a0650b
SP
42332013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4234
4235 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
4236
11ca09e9
JM
42372013-09-17 Joseph Myers <joseph@codesourcery.com>
4238
4239 [BZ #15966]
4240 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
4241 (_FPU_GETCW): Use initial "__" on variable and field names but not
4242 on macro parameter name.
4243 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
4244 parentheses around reference to macro parameter.
4245
08ffcf34
RS
42462013-09-13 Richard Sandiford <richard@codesourcery.com>
4247
4248 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
4249 prototype.
4250 (ctype_startup): Use uint32_t in cast and sizeof for
4251 ctype->charnames.
4252
ae7080d3
JL
42532013-09-11 Jia Liu <proljc@gmail.com>
4254
4255 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
4256 __daddr_t_defined.
4257 [__FreeBSD__]: Likewise.
4258
5905e7b3
OB
42592013-09-11 Ondřej Bílka <neleai@seznam.cz>
4260
4261 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4262 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
4263 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
4264 (strchr): Remove __strchr_sse42 ifunc selection.
4265 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
4266 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
4267
b987c776
WN
42682013-09-11 Will Newton <will.newton@linaro.org>
4269
4270 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
4271 parameter to RES. Remove hardcoded 1000 value.
4272 * benchtests/bench-skeleton.c (main): Pass RES parameter
4273 to TIMING_INIT and multiply result by 1000.
4274
ddf985af
AZ
42752013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4276
4277 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4278
ffdd3181
AS
42792013-09-11 Andreas Schwab <schwab@suse.de>
4280
4281 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
4282 if not defined.
4283 (O_TMPFILE) [__USE_GNU]: Define.
4284 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
4285 Define.
4286
b73ed247
WN
42872013-09-11 Will Newton <will.newton@linaro.org>
4288
4289 [BZ #15857]
4290 * malloc/malloc.c (__libc_memalign): Check the value of bytes
4291 does not overflow.
4292
55e17aad
WN
42932013-09-11 Will Newton <will.newton@linaro.org>
4294
4295 [BZ #15856]
4296 * malloc/malloc.c (__libc_valloc): Check the value of bytes
4297 does not overflow.
4298
1159a193
WN
42992013-09-11 Will Newton <will.newton@linaro.org>
4300
4301 [BZ #15855]
4302 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
4303 does not overflow.
4304
5905e7b3 43052013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
4306
4307 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
4308 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4309 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4310 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4311 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4312
cdfc721b
AM
43132013-09-10 Allan McRae <allan@archlinux.org>
4314
aa04af00
AM
4315 [BZ #15748]
4316 * manual/arith.texi (Parsing of Floats): Clarify
4317 cross-reference.
4318
cdfc721b
AM
4319 [BZ #15849]
4320 * manual/install.texi (Running make install): Mention
4321 --enable-pt-chown.
4322 * INSTALL: Regenerated.
4323
95e7cf29
MR
43242013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4325
4326 * csu/init-first.c (_init): Remove the !SHARED condition around
4327 FPU control word initialization.
4328 * elf/dl-support.c (_dl_fpu_control): New variable.
4329 (_dl_aux_init) <AT_FPUCW>: Initialize it.
4330 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
4331 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
4332 * math/test-fpucw-static.c: New file.
4333 * math/test-fpucw-ieee.c: New file.
4334 * math/test-fpucw-ieee-static.c: New file.
4335 * math/Makefile (tests): Add `test-fpucw-ieee' and
4336 `$(tests-static)'.
4337 (tests-static): New variable.
4338 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
4339 dependency to...
4340 [($(build-shared),yes)]
4341 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4342 ... this.
4343 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
4344 New dependency.
4345
83e43bf0
AM
43462013-09-09 Allan McRae <allan@archlinux.org>
4347
a9f5ce09
AM
4348 [BZ #15939]
4349 * manual/string.texi (Collation Functions): Fix typo in
4350 strcoll example.
4351 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
4352
34829bc2
AM
4353 [BZ #15893]
4354 * stdlib/isomac.c (get_null_defines): Fix memory leak.
4355
3932737d
AM
4356 [BZ #15892]
4357 * libio/memstream.c (open_memstream): Fix memory leak.
4358 * libio/wmemstream.c (open_wmemstream): Likewise.
4359
83e43bf0
AM
4360 [BZ #15895]
4361 * nscd/netgroupcache.c: Fix nesting of ifdefs.
4362
0c66b8e9
WN
43632013-09-09 Will Newton <will.newton@linaro.org>
4364
4365 * malloc/Makefile: Add tst-realloc to tests.
4366 * malloc/tst-realloc.c: New file.
4367
f6b00fd1
AM
43682013-09-09 Allan McRae <allan@archlinux.org>
4369
4370 [BZ #15844]
4371 * COPYING: Update from GNU website to fix FSF address.
4372 * COPYING.LIB: Likewise.
4373
eec55e16
DM
43742013-09-06 David S. Miller <davem@davemloft.net>
4375
4376 * po/zh_TW.po: Update Chinese (traditional) translation from
4377 translation project.
4378
1ecbb381
RS
43792013-09-06 Richard Sandiford <richard@codesourcery.com>
4380 Joseph Myers <joseph@codesourcery.com>
4381
4382 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
4383 "localeinfo.h".
4384 (obstack_chunk_alloc): New macro.
4385 (obstack_chunk_free): Likewise.
4386 (record_offset): New function.
4387 (init_locale_data): Likewise.
4388 (align_locale_data): Likewise.
4389 (add_locale_empty): Likewise.
4390 (add_locale_raw_data): Likewise.
4391 (add_locale_raw_obstack): Likewise.
4392 (add_locale_string): Likewise.
4393 (add_locale_wstring): Likewise.
4394 (add_locale_uint32): Likewise.
4395 (add_locale_uint32_array): Likewise.
4396 (add_locale_char): Likewise.
4397 (start_locale_structure): Likewise.
4398 (end_locale_structure): Likewise.
4399 (start_locale_prelude): Likewise.
4400 (end_locale_prelude): Likewise.
4401 (write_locale_data): Take locale_file structure rather than an
4402 iovec.
4403 * locale/programs/locfile.h: Include "obstack.h".
4404 (struct locale_file): Change to store locale file contents instead
4405 of header.
4406 (init_locale_data): New prototype.
4407 (align_locale_data): Likewise.
4408 (add_locale_empty): Likewise.
4409 (add_locale_raw_data): Likewise.
4410 (add_locale_raw_obstack): Likewise.
4411 (add_locale_string): Likewise.
4412 (add_locale_wstring): Likewise.
4413 (add_locale_uint32): Likewise.
4414 (add_locale_uint32_array): Likewise.
4415 (add_locale_char): Likewise.
4416 (start_locale_structure): Likewise.
4417 (end_locale_structure): Likewise.
4418 (start_locale_prelude): Likewise.
4419 (end_locale_prelude): Likewise.
4420 (write_locale_data): Update prototype.
4421 * locale/programs/3level.h (struct TABLE): Remove result field.
4422 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
4423 Use new locale_file interface.
4424 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
4425 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
4426 * locale/programs/ld-address.c (address_output): Use new
4427 locale_file interface.
4428 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
4429 NO_ADD_LOCALE.
4430 (collate_finish): Don't call collseq_table_finalize.
4431 (collate_output): Use new locale_file interface.
4432 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
4433 in file.
4434 (NO_FINALIZE): Change to NO_ADD_LOCALE.
4435 (TABLE): Move defines earlier in file.
4436 (ELEMENT): Likewise.
4437 (DEFAULT): Likewise.
4438 (wctrans_table_add): Move macro and inline function earlier in
4439 file.
4440 (struct wctype_table): Move type earlier in file.
4441 (add_locale_wctype_table): New static prototype.
4442 (struct locale_ctype_t): Use logical types instead of struct iovec
4443 pointers for members.
4444 (ctype_output): Use new locale_file interface.
4445 (wctype_table_finalize): Change to add_locale_wctype_table. Use
4446 new locale_file interface.
4447 (allocate_arrays): Update for use of new locale_file interface.
4448 * locale/programs/ld-identification.c (identification_output): Use
4449 new locale_file interface.
4450 * locale/programs/ld-measurement.c (measurement_output): Likewise.
4451 * locale/programs/ld-messages.c (messages_output): Likewise.
4452 * locale/programs/ld-monetary.c (monetary_output): Likewise.
4453 * locale/programs/ld-name.c (name_output): Likewise.
4454 * locale/programs/ld-numeric.c (numeric_output): Likewise.
4455 * locale/programs/ld-paper.c (paper_output): Likewise.
4456 * locale/programs/ld-telephone.c (telephone_output): Likewise.
4457 * locale/programs/ld-time.c (time_output): Likewise.
4458
e029e2e5
AZ
44592013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4460
4461 * benchtests/Makefile: Add memrchr benchmark.
4462 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
4463 benchmark as memrchr.
4464 * benchtests/bench-memrchr-ifunc.c: New file.
4465 * benchtests/bench-memrchr.c: New file.
4466
bbf6e8e4
WN
44672013-09-06 Will Newton <will.newton@linaro.org>
4468
4469 * benchtests/Makefile (string-bench): Add memcpy.
4470
6c82a2f8
CD
44712013-09-05 Carlos O'Donell <carlos@redhat.com>
4472 Cong Wang <amwang@redhat.com>
4473
4474 * sysdeps/unix/sysv/linux/bits/in.h
4475 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
4476 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
4477 before __USE_KERNEL_IPV6_DEFS uses.
4478 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
4479 IPPROTO_BEETPH.
4480 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
4481 sockaddr_in6, or ipv6_mreq.
4482
5430fc65
AZ
44832013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4484
4485 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
4486 memory access for final bytes in some large inputs.
4487 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
4488
4660856c
AZ
44892013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4490
4491 * string/test-memrchr.c: New file.
4492 * string/test-memrchr-ifunc.c: New file.
4493 * string/Makefile: Add new memrchr testcase.
4494
bb8ea713
MF
44952013-09-05 Mike Frysinger <vapier@gentoo.org>
4496
4497 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
4498 fanotify_init returns EPERM.
4499
b92a20b5
JM
45002013-09-04 Joseph Myers <joseph@codesourcery.com>
4501
4502 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
4503 errors.
4504 (top level): Treat second token from macro or constant entries for
4505 allowed headers as allowed.
4506 * include/complex.h: Condition internal declarations on
4507 [!_ISOMAC].
4508 * include/fenv.h: Condition include of <stdbool.h> and internal
4509 declarations on [!_ISOMAC].
7447ccd9
CL
4510
45112013-09-04 Chris Leonard <cjl@sugarlabs,.org>
4512
3e181dda 4513 [BZ #15923]
7447ccd9
CL
4514 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
4515
3f2e46a4
JM
45162013-09-04 Joseph Myers <joseph@codesourcery.com>
4517
4518 * configure.in (--enable-versioning): Remove configure option.
4519 (libc_cv_asm_symver_directive): Remove configure test.
4520 (libc_cv_ld_version_script_option): Likewise.
4521 (VERSIONING): Remove variable and AC_SUBST.
4522 (DO_VERSIONING): Remove AC_DEFINE.
4523 * configure: Regenerated.
4524 * config.h.in (DO_VERSIONING): Remove macro.
4525 * Makerules [$(versioning) = yes]: Change conditionals to
4526 [$(build-shared) = yes].
4527 * config.make.in (versioning): Remove variable.
4528 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
4529 [$(build-shared) = yes].
4530 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
4531 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
4532 * elf/Makefile [$(versioning) = yes]: Change conditionals to
4533 [$(build-shared) = yes].
4534 * extra-lib.mk [$(versioning) = yes]: Likewise.
4535 * hurd/Makefile [$(versioning) = yes]: Likewise.
4536 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
4537 [SHARED].
4538 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
4539 [SHARED].
4540 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4541 [SHARED && !NO_HIDDEN].
4542 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
4543 [SHARED].
4544 [SHARED && DO_VERSIONING]: Likewise..
4545 * libio/Makefile [$(versioning) = yes]: Change conditionals to
4546 [$(build-shared) = yes].
4547 * manual/install.texi (--disable-versioning): Remove
4548 documentation.
4549 * INSTALL: Regenerated.
4550 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
4551 to [SHARED].
4552 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
4553 [$(build-shared) = yes].
4554 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
4555 * sysdeps/i386/i686/multiarch/strstr-c.c
4556 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4557 [SHARED && !NO_HIDDEN].
4558 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
4559 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
4560 * sysdeps/powerpc/powerpc32/dl-machine.c
4561 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
4562 * sysdeps/powerpc/powerpc32/sysdep.h
4563 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
4564 to [SHARED && PIC && !NO_HIDDEN].
4565 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
4566 conditional to [SHARED].
4567
44558701
WN
45682013-09-04 Will Newton <will.newton@linaro.org>
4569
4570 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
4571 * benchtests/bench-string.h: Include bench-timing.h instead
4572 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
4573 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
4574 call to HP_TIMING_DIFF_INIT.
4575 * benchtests/bench-memccpy.c: Use bench-timing.h macros
4576 instead of hp-timing.h macros.
4577 * benchtests/bench-memchr.c: Likewise.
4578 * benchtests/bench-memcmp.c: Likewise.
4579 * benchtests/bench-memcpy.c: Likewise.
4580 * benchtests/bench-memmem.c: Likewise.
4581 * benchtests/bench-memmove.c: Likewise.
4582 * benchtests/bench-memset.c: Likewise.
4583 * benchtests/bench-rawmemchr.c: Likewise.
4584 * benchtests/bench-strcasecmp.c: Likewise.
4585 * benchtests/bench-strcasestr.c: Likewise.
4586 * benchtests/bench-strcat.c: Likewise.
4587 * benchtests/bench-strchr.c: Likewise.
4588 * benchtests/bench-strcmp.c: Likewise.
4589 * benchtests/bench-strcpy.c: Likewise.
4590 * benchtests/bench-strcpy_chk.c: Likewise.
4591 * benchtests/bench-strlen.c: Likewise.
4592 * benchtests/bench-strncasecmp.c: Likewise.
4593 * benchtests/bench-strncat.c: Likewise.
4594 * benchtests/bench-strncmp.c: Likewise.
4595 * benchtests/bench-strncpy.c: Likewise.
4596 * benchtests/bench-strnlen.c: Likewise.
4597 * benchtests/bench-strpbrk.c: Likewise.
4598 * benchtests/bench-strrchr.c: Likewise.
4599 * benchtests/bench-strspn.c: Likewise.
4600 * benchtests/bench-strstr.c: Likewise.
4601
cae16d66
WN
46022013-09-04 Will Newton <will.newton@linaro.org>
4603
4604 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
4605
ffa3cd7f
JM
46062013-09-03 Joseph Myers <joseph@codesourcery.com>
4607
4608 [BZ #15427]
4609 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
4610 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
4611 * math/libm-test.inc (lgamma_test_data): Add more tests.
4612 * sysdeps/i386/fpu/libm-test-ulps: Update.
4613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4614
8f02859f
OB
46152013-09-03 Ondřej Bílka <neleai@seznam.cz>
4616
4617 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
4618 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4619 Add ifunc.
4620 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4621 Add strcmp-sse2-unaligned
4622 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
4623
18d43716
MF
46242013-09-02 Mike Frysinger <vapier@gentoo.org>
4625
4626 * Versions.def (libc): Add GLIBC_2.19.
4627
ac444012
MF
46282013-09-02 Mike Frysinger <vapier@gentoo.org>
4629
4630 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
4631 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
4632
b7835e32
JM
46332013-09-02 Joseph Myers <joseph@codesourcery.com>
4634
4635 [BZ #14155]
4636 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
4637 intermediate calculations in recurrence.
4638 (__ieee754_ynf): Likewise.
4639 * math/libm-test.inc (jn_test_data): Do not allow spurious
4640 underflow exception. Add more tests.
4641 (yn_test_data): Add more tests.
4642 * sysdeps/i386/fpu/libm-test-ulps: Update.
4643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4644
8220f4f0
OB
46452013-09-02 Ondřej Bílka <neleai@seznam.cz>
4646
4647 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
4648
f24a6d08
OB
46492013-08-30 Ondřej Bílka <neleai@seznam.cz>
4650
4651 * csu/init-first.c: Fix then/than typos.
4652 * locale/programs/ld-collate.c: Likewise.
4653 * locale/programs/linereader.h: Likewise.
4654 * manual/charset.texi: Likewise.
4655 * manual/filesys.texi: Likewise.
4656 * manual/stdio.texi: Likewise.
4657 * manual/string.texi: Likewise.
4658 * stdlib/fmtmsg.c: Likewise.
4659 * sysdeps/i386/stpncpy.S: Likewise.
4660 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4661 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4662 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4663 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4664
382466e0
OB
46652013-08-30 Ondřej Bílka <neleai@seznam.cz>
4666
4667 * elf/dl-open.c: Fix typos.
4668 * iconvdata/gbbig5.c: Likewise.
4669 * iconvdata/iso-2022-jp.c: Likewise.
4670 * iconv/gconv_int.h: Likewise.
4671 * iconv/loop.c: Likewise.
4672 * nis/rpcsvc/nis.h: Likewise.
4673 * resolv/ns_name.c: Likewise.
4674 * stdio-common/vfscanf.c: Likewise.
4675 * streams/stropts.h: Likewise.
4676 * sunrpc/rpc_thread.c: Likewise.
4677 * sysdeps/i386/strpbrk.S: Likewise.
4678 * sysdeps/ieee754/k_standard.c: Likewise.
4679 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4680 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4681 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
4682 * sysdeps/mach/hurd/profil.c: Likewise.
4683 * sysdeps/s390/dl-procinfo.h: Likewise.
4684 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
4685 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4686 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
4687 * sysdeps/x86_64/dl-trampoline.S: Likewise.
4688 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4689
0186c6e9
OB
46902013-08-30 Ondřej Bílka <neleai@seznam.cz>
4691
4692 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
4693 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
4694
d4e16af1
OB
46952013-08-29 Ondřej Bílka <neleai@seznam.cz>
4696
4697 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
4698 aix specific files.
4699 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
4700 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
4701 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
4702 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
4703 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
4704 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
4705 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
4706 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
4707
88335980
TS
47082013-08-29 Thomas Schwinge <thomas@codesourcery.com>
4709 Roland McGrath <roland@hack.frob.com>
4710
4711 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
4712 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
4713
ed479b02
ST
47142013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
4715
4716 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
4717 __executable_start symbol instead of _start.
4718
f1cc4c86
TS
47192013-08-29 Thomas Schwinge <thomas@codesourcery.com>
4720
d821f07c
TS
4721 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
4722 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
4723 Move macros to...
4724 * sysdeps/gnu/ldsodefs.h: ... this new file.
4725
c54290cf
TS
4726 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
4727 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
4728 instead of ELFOSABI_LINUX.
4729
0007fc9b 4730 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
4731 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
4732 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
4733 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
4734 Likewise.
4735 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
4736 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
4737 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
4738 Likewise.
4739 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4740 (ibm_extended_long_double): Add ieee_nan member.
4741 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
4742 (do_test): New function.
4743
f1cc4c86
TS
4744 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
4745 TEST_TRUNC.
4746 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
4747 functions, renamed from truncdfsf_test, trunctfsf_test,
4748 trunctfdf_test.
4749 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
4750 functions.
4751 (do_test): Run all these.
4752
6f65e668
OB
47532013-08-29 Ondřej Bílka <neleai@seznam.cz>
4754
4755 * argp/argp-help.c: Fix typos.
4756 * argp/argp-parse.c: Likewise.
4757 * debug/backtracesyms.c: Likewise.
4758 * elf/elf.h: Likewise.
4759 * malloc/malloc.c: Likewise.
4760 * nis/nis_print.c: Likewise.
4761 * resolv/res_comp.c: Likewise.
4762 * stdlib/stdlib.h: Likewise.
4763 * sunrpc/clnt_tcp.c: Likewise.
4764 * sunrpc/clnt_udp.c: Likewise.
4765 * sunrpc/clnt_unix.c: Likewise.
4766 * sysdeps/unix/bsd/ptsname.c: Likewise.
4767 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4768 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
4769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
4770 Likewise.
4771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
4772 Likewise.
4773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4774 Likewise.
6f65e668
OB
4775 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4776
3a309239
SP
47772013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4778
4779 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
4780 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4781
3b813b29
MF
47822013-08-27 Mike Frysinger <vapier@gentoo.org>
4783
4784 [BZ #15897]
4785 * dlfcn/Makefile (tests): Add bug-dl-leaf.
4786 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
4787 ($(objpfx)bug-dl-leaf): New rule.
4788 ($(objpfx)bug-dl-leaf.so): Likewise.
4789 ($(objpfx)bug-dl-leaf.out): Likewise.
4790 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
4791 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
4792 * dlfcn/bug-dl-leaf.c: New test.
4793 * dlfcn/bug-dl-leaf-lib.c: Likewise.
4794 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
4795 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
4796 (dlclose): Likewise.
4797 (dlmopen): Likewise.
4798
8cc3269f
RM
47992013-08-27 Roland McGrath <roland@hack.frob.com>
4800
7f9d0034
RM
4801 * include/netdb.h [!_ISOMAC]:
4802 Don't include <tls.h>.
4803 (h_errno, __libc_h_errno): Move declaration and macros out of
4804 [_LIBC_REENTRANT].
4805
fb431262
RM
4806 * include/resolv.h [_RESOLV_H_]:
4807 Don't include <tls.h>.
4808 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
4809 * resolv/res_libc.c: Don't include <tls.h>.
4810 (_res): Use __attribute__ ((nocommon)) in place of
4811 __attribute__ ((section (".bss"))).
4812
bd81123a
RM
4813 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
4814 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
4815
c4e42566
RM
4816 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
4817
f890a59b
RM
4818 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
4819 only under [SIOCGIFCONF && SIOCGIFNETMASK].
4820
4821 * resolv/res_mkquery.c: Include <sys/time.h>.
4822
5d1f0a09
RM
4823 * inet/ifreq.c: Moved to ...
4824 * sysdeps/unix/ifreq.c: ... here.
4825 * inet/ifreq.c: New file, true stub version.
4826
6fcf28b3
RM
4827 * socket/sa_len.c: New file.
4828 * socket/Makefile (aux): Add it.
4829 * sysdeps/unix/sysv/linux/Makefile
4830 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
4831 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
4832 and #include <socket/sa_len.c>.
4833 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
4834 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
4835
e041fb8b
RM
4836 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
4837 * bits/socket.h: ... here.
4838
8cc3269f
RM
4839 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
4840 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
4841 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
4842
5d228a43
AS
48432013-08-27 Andreas Schwab <schwab@suse.de>
4844
45b8accc
AS
4845 [BZ #15736]
4846 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
4847 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
4848 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
4849 * string/test-strcasecmp.c (test_main): Run tests in several
4850 locales.
4851 * string/test-strncasecmp.c (test_main): Likewise.
4852
5d228a43
AS
4853 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
4854 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
4855 to __strcasecmp_nonascii and __strncasecmp_nonascii.
4856 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
4857 (__strncasecmp_ssse3) [PIC]: Likewise.
4858
59d112a4
RM
48592013-08-26 Roland McGrath <roland@hack.frob.com>
4860
53234cc3
RM
4861 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
4862
59d112a4
RM
4863 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
4864 instead of explicitly declaring xdecrypt.
4865 * nis/nss_nis/nis-publickey.c: Likewise.
4866
595aba70
SP
48672013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4868
4869 [BZ #15890]
4870 * nscd/aicache.c: Include res_hconf.h.
4871 (addhstaiX): Initialize res_hconf.
4872
ffabd393
AS
48732013-08-26 Andreas Schwab <schwab@suse.de>
4874
4875 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
4876 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
4877
e0a69f5c
SP
48782013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4879
4880 * nscd/aicache.c (addhstaiX): Fix indentation.
4881
8c12f01d
MF
48822013-08-25 Mike Frysinger <vapier@gentoo.org>
4883
4884 * configure.ac: Quote $build_pt_chown test.
4885 * configure: Regenerated.
4886
8fe89494
JM
48872013-08-23 Joseph Myers <joseph@codesourcery.com>
4888
4889 [BZ #15532]
4890 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
4891 * math/s_cexpf.c (__cexpf): Likewise.
4892 * math/s_cexpl.c (__cexpl): Likewise.
4893 * math/libm-test.inc (cexp_test_data): Correct expected return
4894 value for NaN + i0. Add another test.
4895
75b181d6
DM
48962013-08-22 David S. Miller <davem@davemloft.net>
4897
4898 * po/ca.po: Update Catalan translation from translation project.
936241e4 4899 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 4900
acd06bb1
JM
49012013-08-21 Joseph Myers <joseph@codesourcery.com>
4902
4903 [BZ #15797]
4904 * math/s_fdim.c (__fdim): Check for infinite arguments if result
4905 is infinite, not alongside NaN test.
4906 * math/s_fdimf.c (__fdimf): Likewise.
4907 * math/s_fdiml.c (__fdiml): Likewise.
4908 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
4909 errno is unchanged.
4910
c0c3f78a
OB
49112013-08-21 Ondřej Bílka <neleai@seznam.cz>
4912
4913 * argp/argp-help.c: Fix typos.
4914 * crypt/speeds.c: Likewise.
4915 * csu/check_fds.c: Likewise.
4916 * elf/dl-load.c: Likewise.
4917 * elf/dl-open.c: Likewise.
4918 * elf/reldep3.c: Likewise.
4919 * elf/reldep.c: Likewise.
4920 * elf/sprof.c: Likewise.
4921 * iconv/iconv_charmap.c: Likewise.
4922 * iconv/skeleton.c: Likewise.
4923 * iconv/strtab.c: Likewise.
4924 * io/lockf64.c: Likewise.
4925 * libio/libioP.h: Likewise.
4926 * resolv/gai_notify.c: Likewise.
4927 * resolv/ns_name.c: Likewise.
4928 * resolv/ns_samedomain.c: Likewise.
4929 * resolv/res_send.c: Likewise.
4930 * stdlib/random.c: Likewise.
4931 * sunrpc/rpc/xdr.h: Likewise.
4932 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
4933 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4934 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4935 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4936 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4937 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4938 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4939 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4940 * sysdeps/mach/hurd/check_fds.c: Likewise.
4941 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4942 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4943 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4944 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4945 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4946 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4947 * sysdeps/pthread/aio_notify.c: Likewise.
4948 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
4949 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
4950 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
4951 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4952 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4953
46ed1038
LD
49542013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4955
4956 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
4957 version if bit_Slow_SSE4_2 is set.
4958 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4959 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4960
d400dcac
AZ
49612013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4962
4963 [BZ #15867]
4964 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
4965 trampoline stack frame information.
4966 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
4967 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
4968 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
4969 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
4970 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
4971 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4972 (_libc_vdso_platform_setup): Initialize the signal trampolines.
4973 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
4974 sa_flags value.
4975 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
4976 interrupting a syscall and set with option SA_SIGINFO.
4977
42c8fdd8
JM
49782013-08-20 Joseph Myers <joseph@codesourcery.com>
4979
c980f2f4
JM
4980 [BZ #15531]
4981 * math/s_cproj.c (__cproj): Only return an infinity if one part of
4982 argument is infinite.
4983 * math/s_cprojf.c (__cprojf): Likewise.
4984 * math/s_cprojl.c (__cprojl): Likewise.
4985 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
4986 * math/libm-test.inc (cproj_test_data): Add more tests.
4987
0716c4fc
JM
4988 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
4989
42c8fdd8
JM
4990 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
4991 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
4992 size. Use __ffs to determine corresponding shift.
4993
b31469d0
JM
49942013-08-20 Joseph Myers <joseph@codesourcery.com>
4995 Roland McGrath <roland@hack.frob.com>
4996
4997 * Makefile (INSTALL): Remove trailing blank lines from output of
4998 makeinfo.
4999
4e39af6e
AK
50002013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5001
5002 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
5003 Align 32 bit compat elf_greg to 8 bytes.
5004
f315524e
AA
50052013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
5006
5007 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
5008
1326ba1a
SP
50092013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5010
5011 * string/strcoll_l.c (coll_seq): New structure.
5012 (get_next_seq_cached): New function.
5013 (get_next_seq): New function.
5014 (do_compare): New function.
5015 (STRCOLL): Use GNU style definition. Simplify implementation
5016 by using get_next_seq, get_next_seq_cached and do_compare.
5017
91ce4085
FW
50182013-08-16 Florian Weimer <fweimer@redhat.com>
5019
5020 [BZ #14699]
5021 CVE-2013-4237
5022 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
5023 member.
5024 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
5025 member.
5026 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
5027 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
5028 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
5029 conditional.
5030 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
5031 GETDENTS_64BIT_ALIGNED.
5032 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5033 * manual/filesys.texi (Reading/Closing Directory): Document
5034 ENAMETOOLONG return value of readdir_r. Recommend readdir more
5035 strongly.
5036 * manual/conf.texi (Limits for Files): Add portability note to
5037 NAME_MAX, PATH_MAX.
5038 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
5039
ca0a6bc4
AS
50402013-08-13 Andreas Schwab <schwab@suse.de>
5041
5042 [BZ #15749]
5043 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
5044 of fabs.
5045 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
5046 LDBL_MAX_EXP >= 16384]: Add tests for it.
5047
6c1fd795
DM
50482013-08-12 David S. Miller <davem@davemloft.net>
5049
5050 * version.h (RELEASE): Set to "development".
5051 (VERSION): Set to "2.18.90".
5052 * NEWS: Add 2.19 section.
5053
31ad488d
DM
50542013-08-03 David S. Miller <davem@davemloft.net>
5055
5056 * po/ko.po: Update Korean translation from translation project.
5057
db24e684
DM
50582013-08-01 David S. Miller <davem@davemloft.net>
5059
5060 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
5061 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
5062 Bilka.
5063
f723285b
DM
50642013-07-30 David S. Miller <davem@davemloft.net>
5065
5066 * po/fr.po: Update French translation from translation project.
5067
3cbc52db
DM
50682013-07-28 David S. Miller <davem@davemloft.net>
5069
30bbc0cc
DM
5070 * po/cs.po: Update Czech translation from translation project.
5071
3cbc52db
DM
5072 * po/sv.po: Update Swedish translation from translation project.
5073
d492e6d0
DM
50742013-07-27 David S. Miller <davem@davemloft.net>
5075
f1a7f492
DM
5076 * po/eo.po: Update Esperanto translation from translation project.
5077
90e62a4a
DM
5078 * po/vi.po: Update Vietnamese translation from translation project.
5079
d492e6d0
DM
5080 * po/de.po: Update German translation from translation project.
5081
d4baa62d
DM
50822013-07-26 David S. Miller <davem@davemloft.net>
5083
641aa7b4
DM
5084 * po/bg.po: Update Bulgarian translation from translation project.
5085
d4baa62d
DM
5086 * po/nl.po: Update Dutch translation from translation project.
5087 * po/pl.po: Update Polish translation from translation project.
5088 * po/ru.po: Update Russian translation from translation project.
5089
61a9dcb9
DM
50902013-07-24 David S. Miller <davem@davemloft.net>
5091
5092 * po/libc.pot: Update.
5093
7b1f8b58
AZ
50942013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5095
5096 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
5097 variable page size.
5098 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
5099 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
5100 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
5101
a8fc7a03
AK
51022013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5103
5104 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
5105
e4608715
CD
51062013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5107 Andreas Schwab <schwab@suse.de>
5108 Roland McGrath <roland@hack.frob.com>
5109 Joseph Myers <joseph@codesourcery.com>
5110 Carlos O'Donell <carlos@redhat.com>
5111
5112 [BZ #15755]
5113 * config.h.in: Define HAVE_PT_CHOWN.
5114 * config.make.in (build-pt-chown): New variable.
5115 * configure.in (--enable-pt_chown): New configure option.
5116 * configure: Regenerate.
5117 * login/Makefile: Include Makeconfig. Build pt_chown only if
5118 build-pt-chown is enabled.
5119 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
5120 pt_chown to fix pty ownership.
5121 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
5122 CLOSE_ALL_FDS.
5123 * manual/install.texi (Configuring and compiling): Mention
5124 --enable-pt_chown. Add @findex for grantpt.
5125 * INSTALL: Regenerate.
5126
da2d62df
DM
51272013-07-20 David S. Miller <davem@davemloft.net>
5128
5129 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
5130 difference between 32-bit and 64-bit.
5131
d7e06450
CD
51322013-07-15 Carlos O'Donell <carlos@redhat.com>
5133
5134 [BZ #15711]
5135 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
5136 Avoid system header dependency with -ffreestanding.
5137 ($(objpfx)bits/syscall%d): Likewise.
5138
f959cfd7
DM
51392013-07-13 David S. Miller <davem@davemloft.net>
5140
5141 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
5142 underflows from atanl/atan2l due to bug 15319.
5143 (casinh_test_data): Likewise.
5144
c61f8513
DM
51452013-07-07 David S. Miller <davem@davemloft.net>
5146
5147 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
5148
72c90ed0
JA
51492013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
5150
5151 * sysdeps/i386/fpu/libm-test-ulps: Update.
5152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5153
52dfbe13
SP
51542013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5155
5156 * configure.in (--enable-lock-elision): Fix message text.
5157 * INSTALL: Regenerate.
5158 * configure: Regenerate.
5159
3f169543
AZ
51602013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5161
5162 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5163
521c6785
AJ
51642013-07-03 Andreas Jaeger <aj@suse.de>
5165
5166 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
5167 define.
5168 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
5169 (ptrace_peeksiginfo_args): Add.
5170 (__ptrace_peeksiginfo_flags): Add.
5171 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5172 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5173 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5174
d2cc15cb
AM
51752013-07-03 Allan McRae <allan@archlinux.org>
5176
5177 * sysdeps/i386/fpu/libm-test-ulps: Update.
5178
3aaeeca7
DM
51792013-07-02 David S. Miller <davem@davemloft.net>
5180
5181 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5182
5314ed1a
MT
51832013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
5184
5185 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5186
67338156
JM
51872013-07-02 Joseph Myers <joseph@codesourcery.com>
5188
5189 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5191
1717da59
AK
51922013-07-02 Andi Kleen <ak@linux.intel.com>
5193
5194 * config.h.in (ENABLE_LOCK_ELISION): Add.
5195 * configure.in (--enable-lock-elision): Add option.
5196 * manual/install.texi: Document --enable lock elision.
5197 * configure: Regenerate
5198 * INSTALL: Regenerate.
5199
1c81621c
L
52002013-07-02 H.J. Lu <hongjiu.lu@intel.com>
5201
5202 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
5203 SSE4.2 strcasecmp for libc.a.
5204 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5205
77f01ab5
JM
52062013-07-02 Joseph Myers <joseph@codesourcery.com>
5207
5208 [BZ #13304]
5209 * soft-fp/op-common.h (_FP_FMA): New macro.
5210 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
5211 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
5212 (_FP_MUL_MEAT_1_imm): ... here.
5213 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
5214 (_FP_MUL_MEAT_1_wide): ... here.
5215 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
5216 (_FP_MUL_MEAT_1_hard): ... here.
5217 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
5218 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
5219 (_FP_MUL_MEAT_2_wide): ... here.
5220 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
5221 (_FP_MUL_MEAT_2_wide_3mul): ... here.
5222 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
5223 (_FP_MUL_MEAT_2_gmp): ... here.
5224 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
5225 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
5226 (_FP_MUL_MEAT_4_wide): ... here.
5227 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
5228 (_FP_MUL_MEAT_4_gmp): ... here.
5229 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
5230 (_FP_WFRACBITS_DW_S): Likewise.
5231 (_FP_WFRACXBITS_DW_S): Likewise.
5232 (_FP_HIGHBIT_DW_S): Likewise.
5233 (FP_FMA_S): Likewise.
5234 (_FP_FRAC_HIGH_DW_S): Likewise.
5235 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
5236 (_FP_WFRACBITS_DW_D): Likewise.
5237 (_FP_WFRACXBITS_DW_D): Likewise.
5238 (_FP_HIGHBIT_DW_D): Likewise.
5239 (FP_FMA_D): Likewise.
5240 (_FP_FRAC_HIGH_DW_D): Likewise.
5241 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
5242 (_FP_WFRACBITS_DW_E): Likewise.
5243 (_FP_WFRACXBITS_DW_E): Likewise.
5244 (_FP_HIGHBIT_DW_E): Likewise.
5245 (FP_FMA_E): Likewise.
5246 (_FP_FRAC_HIGH_DW_E): Likewise.
5247 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
5248 (_FP_WFRACBITS_DW_Q): Likewise.
5249 (_FP_WFRACXBITS_DW_Q): Likewise.
5250 (_FP_HIGHBIT_DW_Q): Likewise.
5251 (FP_FMA_Q): Likewise.
5252 (_FP_FRAC_HIGH_DW_Q): Likewise.
5253 * soft-fp/fmasf4.c: New file.
5254 * soft-fp/fmadf4.c: Likewise.
5255 * soft-fp/fmatf4.c: Likewise.
5256
6308fd9a
LD
52572013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5258
5259 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
5260 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
5261 Silvermont.
5262 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
5263 macro.
5264 (index_Slow_SSE4_2): Likewise.
5265 (index_Prefer_PMINUB_for_stringop): Likewise.
5266 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
5267 bit_Slow_SSE4_2 is set.
5268 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5269 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5270
89cd9569
RA
52712013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5272
5273 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
5274 rtld_global._dl_hwcap2.
5275 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
5276 POWER8.
5277 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
5278 POWER8 feature descriptions defined in _dl_hwcap2.
5279 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
5280 string handling for POWER8 feature bits.
5281 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
5282 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
5283 _dl_powerpc_cap_flags.
5284 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
5285 * sysdeps/powerpc/rtld-global-offsets.sym
5286 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
5287 _dl_hwcap2 in the rtld_global_ro structure.
5288
1ae8bfe0
RA
52892013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5290
5291 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
5292 hardware capabilities in support of AT_HWCAP2.
5293 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
5294 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
5295 GLRO(dl_hwcap2).
5296 (_dl_show_auxv): Add support for calling _dl_procinfo to display
5297 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
5298 explicitly the unknown a_type display mechanism is used.
5299 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
5300 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
5301 struct member.
5302 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
5303 to macro prototype for AT_HWCAP2 support.
5304 * sysdeps/i386/dl-procinfo.h: Likewise.
5305 * sysdeps/s390/dl-procinfo.h: Likewise.
5306 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
5307 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
5308 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
5309 return -1 for unknown a_type display fallback.
5310 * sysdeps/sparc/dl-procinfo.h: Likewise.
5311 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
5312 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
5313
8fbec010
JM
53142013-06-28 Joseph Myers <joseph@codesourcery.com>
5315
5316 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
5317 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
5318
0432680e
PY
53192013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
5320
5321 [BZ #12492]
5322 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
5323 mprotect making __stack_prot writable.
5324
ce61a2ad
NF
53252013-06-28 Nathan Froyd <froydnj@codesourcery.com>
5326 Joseph Myers <joseph@codesourcery.com>
5327
5328 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
5329 as being properly aligned.
5330
f91f1c0f
MR
53312013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
5332
3d0f5d0c
MR
5333 * dlfcn/modstatic5.c: New file.
5334 * dlfcn/tststatic5.c: New file.
5335 * dlfcn/Makefile (tests): Add tststatic5.
5336 (tests-static): Likewise.
5337 (modules-names): Add modstatic5.
5338 (tststatic5-ENV): New variable.
5339 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
5340
f91f1c0f
MR
5341 [BZ #15022]
5342 * elf/dl-support.c (_dl_main_map): New variable.
5343 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
5344 (_dl_nns, _dl_load_adds): Set to 1.
5345 (_dl_initial_searchlist): Refer to _dl_main_map.
5346 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
5347 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
5348 call to _dl_get_origin.
5349 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
5350 around call_map.
5351 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
5352 * dlfcn/modstatic3.c: New file.
5353 * dlfcn/tststatic3.c: New file.
5354 * dlfcn/tststatic4.c: New file.
5355 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
5356 (tests-static): Likewise.
5357 (modules-names): Add modstatic3.
5358 (tststatic3-ENV, tststatic4-ENV): New variables.
5359 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
5360 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
5361
cbe7d24b
JM
53622013-06-26 Joseph Myers <joseph@codesourcery.com>
5363
5364 * configure.in (CC): Require GCC version 4.4 or later.
5365 * configure: Regenerated.
5366 * manual/install.texi (Tools for Compilation): Update GCC version
5367 requirement.
5368 * INSTALL: Regenerated.
5369
11b8a0e1
LD
53702013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5371
5372 [BZ #15674]
bb5bb87c
L
5373 * string/test-memcmp.c (check2): New.
5374 (main): Call check2.
5375
11b8a0e1
LD
5376 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
5377
b0037103
MR
53782013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
5379
5380 [BZ #15022]
5381 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
5382 over to...
5383 (dl_open_worker) [!SHARED]: ... here.
5384
c18c701d
RA
53852013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5386
5387 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
5388
1d17fa5f
RH
53892013-06-25 Richard Henderson <rth@redhat.com>
5390
5391 * locale/programs/locarchive.c: Include <libc-internal.h>
5392
8fcb833a
JM
53932013-06-25 Joseph Myers <joseph@codesourcery.com>
5394
5395 * manual/texinfo.tex: Update to version 2013-06-21.17, with
5396 trailing whitespace removed.
5397
17db6e8d
MF
53982013-06-24 Mike Frysinger <vapier@gentoo.org>
5399
5400 [BZ #10283]
17db6e8d
MF
5401 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
5402 * locale/programs/locarchive.c: Include libc-mmap.h.
5403 (prepare_address_space): Take two new outputs (the mmap base and len).
5404 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
5405 values.
5406 (create_archive): Declare new mmap base and len values for
5407 prepare_address_space, and store the result in ah.
5408 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
5409 (enlarge_archive): If ah->mmap_base is not NULL, use that and
5410 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5411 Declare new mmap base and len values for
5412 prepare_address_space, and store the result in new_ah.
5413 (open_archive): Declare new mmap base and len values for
5414 prepare_address_space, and store the result in ah.
5415 (close_archive): If ah->mmap_base is not NULL, use that and
5416 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5417 * sysdeps/generic/libc-mmap.h: New file.
5418
d605071e
MF
54192013-06-24 Mike Frysinger <vapier@gentoo.org>
5420
5421 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
5422 (ALIGN_UP): Likewise.
5423 (PTR_ALIGN_DOWN): Likewise.
5424 (PTR_ALIGN_UP): Likewise.
5425
2f063a6e
RA
54262013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5427
5428 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
5429 entry mapped to PPC_PLATFORM_POWER8.
5430 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
5431 POWER8.
5432 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
5433 (_dl_string_platform): Add case for exporting platform position for
5434 POWER8.
5435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
5436 search path to sysdeps/powerpc/powerpc32/power8 directory.
5437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
5438 search path to sysdeps/powerpc/powerpc64/power8 directory.
5439 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
5440 power7 directories.
5441 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
5442 power7 directories.
5443
a31ee4b3
SP
54442013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5445
a74ca98f
SP
5446 * INSTALL: Regenerate.
5447
a31ee4b3
SP
5448 * nscd/connections.c (nscd_init): Fix comment.
5449
695c378f
JM
54502013-06-22 Joseph Myers <joseph@codesourcery.com>
5451
d8412221
JM
5452 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
5453
695c378f
JM
5454 [BZ #15667]
5455 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
5456 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
5457
d1d54715
MR
54582013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
5459
5460 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
5461 DL_DST_REQ_STATIC.
5462 (DL_DST_REQ_STATIC): Remove macro.
5463
8fdda7af
JM
54642013-06-21 Joseph Myers <joseph@codesourcery.com>
5465
5466 [BZ #7006]
5467 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
5468 with a shift of 0 bits.
5469
f3bc5e5a
MR
54702013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
5471
5472 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
5473 $(tststatic-ENV).
5474
be09e8c9
KK
54752013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5476
5477 [BZ #15655]
5478 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
5479
85c2e611
AZ
54802013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5481
5482 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
5483 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
5484 accepts -fno-tree-loop-distribute-patterns.
5485 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
5486 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
5487 recursive call.
5488 * string/memset.c (memset): Likewise.
5489 * string/test-memmove.c (simple_memmove): Disable loop transformation
5490 to library calls.
5491 * string/test-memset.c (simple_memset): Likewise.
5492 * benchtests/bench-memmove.c (simple_memmove): Likewise.
5493 * benchtests/bench-memset.c (simple_memset): Likewise.
5494 * configure: Regenerated.
5495
c91e0825
JM
54962013-06-20 Joseph Myers <joseph@codesourcery.com>
5497
b8c792af
JM
5498 * math/test-misc.c (main): Ignore fesetround failure when failures
5499 of subsequent rounding tests would be ignored.
5500
c91e0825
JM
5501 [BZ #15654]
5502 * math/fedisblxcpt.c (fedisableexcept): Return 0.
5503 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
5504 * math/fegetenv.c (__fegetenv): Return 0.
5505 * math/fegetexcept.c (fegetexcept): Return 0.
5506 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
5507 FE_TONEAREST.
5508 * math/feholdexcpt.c (feholdexcept): Return 0.
5509 * math/fesetenv.c (__fesetenv): Return 0.
5510 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
5511 argument FE_TONEAREST.
5512 * math/feupdateenv.c (__feupdateenv): Return 0.
5513 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
5514
bfcacbde
RM
55152013-06-18 Roland McGrath <roland@hack.frob.com>
5516
5517 * elf/rtld-Rules (rtld-compile-command.S): New variable.
5518 (rtld-compile-command.s, rtld-compile-command.c): New variables.
5519 ($(objpfx)rtld-%.os rules): Use them.
5520
e55a9b25
AZ
55212013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5522
5523 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
5524 fields.
5525
346d65b3
RM
55262013-06-17 Roland McGrath <roland@hack.frob.com>
5527
12086fb4
RM
5528 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
5529 length of target pattern, then descending length of dependency pattern.
5530 * configure.in (AWK): Require gawk 3.1.2 or newer.
5531 * manual/install.texi (Tools for Compilation): Say that we do.
5532 * configure: Regenerated.
5533
346d65b3
RM
5534 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
5535 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
5536 * scripts/sysd-rules.awk: ... this new script.
5537 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
5538 than a glob-style pattern.
5539
1a846317
JM
55402013-06-17 Joseph Myers <joseph@codesourcery.com>
5541
5542 * math/test-misc.c (main): Do not treat incorrectly rounded
5543 conversions as failure unless ROUNDING_TESTS passes.
5544
8fc75e6f
JM
55452013-06-15 Joseph Myers <joseph@codesourcery.com>
5546
3711a167
JM
5547 [BZ #15631]
5548 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
5549 restore exception state around main square root computation, then
5550 check for inexactness explicitly.
5551
8fc75e6f
JM
5552 * math/libm-test.inc (fma_test_data): Add another test.
5553
61dd6208
SP
55542013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5555
adf23d2c
SP
5556 * manual/threads.texi (Non-POSIX Extensions): New document
5557 node. Document pthread_getattr_default_np and
5558 pthread_setattr_default_np.
5559
61dd6208
SP
5560 * Versions.def (libpthread): Add GLIBC_2.18.
5561 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
5562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5563 Likewise.
5564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5565 Likewise.
5566 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5567 Likewise.
5568 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5569 Likewise.
5570 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
5571 Likewise.
5572 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5573 Likewise.
5574 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5575 Likewise.
5576 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5577 Likewise.
5578 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5579 Likewise.
5580
d086fc7b
LD
55812013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5582
5583 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5584 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
5585
747ef469
SP
55862013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5587 H.J. Lu <hjl.tools@gmail.com>
5588
5589 [BZ #15627]
5590 * sysdeps/x86_64/rtld-memset.c: Remove file.
5591 * sysdeps/x86_64/rtld-memset.S: New file.
5592
1b2feed2
JM
55932013-06-14 Joseph Myers <joseph@codesourcery.com>
5594
5595 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
5596 (test_in_one_mode): Take arguments for whether the rounding mode
5597 is supported for each floating-point type.
5598 (do_test): Pass new arguments to test_in_one_mode using
5599 ROUNDING_TESTS.
5600
a58ad3f8
RM
56012013-06-13 Roland McGrath <roland@hack.frob.com>
5602
5603 * posix/tst-waitid.c (do_test): Distinguish different instances of
5604 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
5605 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
5606 before entering the kernel for waitpid.
5607
c204ab28
SP
56082013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5609
5610 * NEWS: Fix note on clock function precision. Text by Roland
5611 McGrath.
5612
f4a29fba
RM
56132013-06-13 Roland McGrath <roland@hack.frob.com>
5614
5615 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
5616 it into place only when and if the sanity check passes.
5617
1f24b9ad
JM
56182013-06-13 Joseph Myers <joseph@codesourcery.com>
5619
5620 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
5621 output for whether conversion result is exact. Take argument
5622 indicating whether type is IBM long double.
5623 (round_for_all): Change need_exact field to ibm_ld.
5624 * stdlib/tst-strtod-round.c (struct exactness): New type.
5625 (struct test): Change bool ld_ok field to struct exactness exact.
5626 (TEST): Update all definitions for change to field.
5627 (tests): Regenerate array contents.
5628 (test_in_one_mode): Take pointer to new field instead of old ld_ok
5629 field value. Check for IBM long double here.
5630 (do_test): Update calls to test_in_one_mode.
5631
58206c68
SP
56322013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5633
5634 [BZ #12515]
5635 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
5636 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
5637
2d6f4c5b 56382013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
5639
5640 [BZ #15605]
5641 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
5642 generated by the compiler on loop optimizations.
5643 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
5644 general definitions.
5645
94f2c076
JM
56462013-06-12 Joseph Myers <joseph@codesourcery.com>
5647
5648 * math/bug-nextafter.c: Include <math-tests.h>.
5649 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5650 the relevant type.
5651 * math/bug-nexttoward.c: Include <math-tests.h>.
5652 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5653 the relevant type.
5654 * math/test-misc.c: Include <math-tests.h>.
5655 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5656 the relevant type.
5657
e0e50a0a
AJ
56582013-06-12 Andreas Jaeger <aj@suse.de>
5659
5660 * po/ia.po: Update Interlingua translation from translation
5661 project.
5662
25061094
SP
56632013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5664
5665 * include/fenv.h: Include stdbool.h.
5666 (struct rm_ctx): New structure.
5667 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
5668 Define macro.
5669 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
5670 (SET_RESTORE_ROUNDF): Likewise.
5671 (SET_RESTORE_ROUNDL): Likewise.
5672 (SET_RESTORE_ROUND_NOEX): Likewise.
5673 (SET_RESTORE_ROUND_NOEXF): Likewise.
5674 (SET_RESTORE_ROUND_NOEXL): Likewise.
5675 (SET_RESTORE_ROUND_53BIT): Likewise.
5676 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
5677 (libc_feresetround_noexf_ctx): Likewise.
5678 (libc_feresetround_noexl_ctx): Likewise.
5679 (libc_feholdsetround_53bit_ctx): Likewise.
5680 (libc_feresetround_53bit_ctx): Likewise.
5681 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
5682 (libc_feholdexcept_setround_sse_ctx): New function.
5683 (libc_fesetenv_sse_ctx): Likewise.
5684 (libc_feupdateenv_sse_ctx): Likewise.
5685 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
5686 (libc_feholdexcept_setround_387_ctx): Likewise.
5687 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
5688 (libc_feholdsetround_387_prec_ctx): Likewise.
5689 (libc_feholdsetround_387_ctx): Likewise.
5690 (libc_feholdsetround_387_53bit_ctx): Likewise.
5691 (libc_feholdsetround_sse_ctx): Likewise.
5692 (libc_feresetround_sse_ctx): Likewise.
5693 (libc_feresetround_387_ctx): Likewise.
5694 (libc_feupdateenv_387_ctx): Likewise.
5695 (libc_feholdexcept_setroundf_ctx): Define macro.
5696 (libc_fesetenvf_ctx): Likewise.
5697 (libc_feupdateenvf_ctx): Likewise.
5698 (libc_feholdsetroundf_ctx): Likewise.
5699 (libc_feresetroundf_ctx): Likewise.
5700 (libc_feholdexcept_setround_ctx): Likewise.
5701 (libc_fesetenv_ctx): Likewise.
5702 (libc_feupdateenv_ctx): Likewise.
5703 (libc_feholdsetround_ctx): Likewise.
5704 (libc_feresetround_ctx): Likewise.
5705 (libc_feholdexcept_setroundl_ctx): Likewise.
5706 (libc_feupdateenvl_ctx): Likewise.
5707 (libc_feholdsetroundl_ctx): Likewise.
5708 (libc_feresetroundl_ctx): Likewise.
5709 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
5710 (libc_feresetround_53bit_ctx): Likewise.
5711
59b30555
SP
57122013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5713
5714 * locale/iso-639.def: Convert to UTF-8.
5715
f1d73d30
JM
57162013-06-11 Joseph Myers <joseph@codesourcery.com>
5717
5718 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
5719 (EXCEPTION_TESTS_double): Likewise.
5720 (EXCEPTION_TESTS_long_double): Likewise.
5721 (EXCEPTION_TESTS): Likewise.
5722 * math/libm-test.inc (test_exceptions): Only test exceptions if
5723 EXCEPTION_TESTS (FLOAT).
5724
94aca5e7
SP
57252013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5726
5727 * benchtests/Makefile (string-bench): Add strcpy_chk and
5728 stpcpy_chk.
5729 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
5730 * benchtests/bench-stpcpy_chk.c: New file.
5731 * benchtests/bench-strcpy_chk-ifunc.c: New file.
5732 * benchtests/bench-strcpy_chk.c: New file.
5733 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
5734 code.
5735 (do_test): Likewise.
5736
fac0c5f2
RA
57372013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5738
5739 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
5740 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
5741 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
5742 with tabs where appropriate.
5743 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
5744 dl-procinfo.h.
5745 [PPC_PLATFORM_PPC440]: Likewise.
5746 [PPC_PLATFORM_PPC464]: Likewise.
5747 [PPC_PLATFORM_PPC476]: Likewise.
5748 (_dl_string_platform): Add support for detecting ppc405, ppc440,
5749 ppc464, and ppc476 platform strings merging from ports/
5750 dl-procinfo.h.
5751
f22bc486
AS
57522013-06-11 Andreas Schwab <schwab@suse.de>
5753
5754 [BZ #14991]
5755 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
5756 (from_ucs4_idx): Regenerate.
5757 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
5758 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
5759 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
5760 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
5761 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
5762 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
5763 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
5764 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
5765 from FROM_LOOP and TO_LOOP specific macros.
5766 (BODY): Handle combining characters.
5767 * iconvdata/BIG5HKSCS.irreversible: Update.
5768 * iconvdata/BIG5HKSCS.precomposed: New file.
5769 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
5770 characters.
5771 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
5772
c1f75dc3
SP
57732013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5774
4eacded2
SP
5775 * include/sys/time.h: Fix indentation and add copyright header.
5776
fec799f8
SP
5777 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
5778 (do_test): Likewise.
5779 * string/test-memchr.c (do_one_test): Likewise.
5780 (do_test): Likewise.
5781 * string/test-memcmp.c (do_one_test): Likewise.
5782 (do_test): Likewise.
5783 * string/test-memcpy.c (do_one_test): Likewise.
5784 (do_test): Likewise.
5785 * string/test-memmem.c (do_one_test): Likewise.
5786 (do_test): Likewise.
5787 (do_random_tests): Likewise.
5788 * string/test-memmove.c (do_one_test): Likewise.
5789 (do_test): Likewise.
5790 * string/test-memset.c (do_one_test): Likewise.
5791 (do_test): Likewise.
5792 * string/test-rawmemchr.c (do_one_test): Likewise.
5793 (do_test): Likewise.
5794 * string/test-strcasecmp.c (do_one_test): Likewise.
5795 (do_test): Likewise.
5796 * string/test-strcasestr.c (do_one_test): Likewise.
5797 (do_test): Likewise.
5798 * string/test-strcat.c (do_one_test): Likewise.
5799 (do_test): Likewise.
5800 * string/test-strchr.c (do_one_test): Likewise.
5801 (do_test): Likewise.
5802 * string/test-strcmp.c (do_one_test): Likewise.
5803 (do_test): Likewise.
5804 * string/test-strcpy.c (do_one_test): Likewise.
5805 (do_test): Likewise.
5806 * string/test-string.h: Likewise.
5807 (test_init): Likewise.
5808 * string/test-strlen.c (do_one_test): Likewise.
5809 (do_test): Likewise.
5810 * string/test-strncasecmp.c (do_one_test): Likewise.
5811 (do_test): Likewise.
5812 * string/test-strncat.c (do_one_test): Likewise.
5813 (do_test): Likewise.
5814 * string/test-strncmp.c (do_one_test): Likewise.
5815 (do_test_limit): Likewise.
5816 (do_test): Likewise.
5817 * string/test-strncpy.c (do_one_test): Likewise.
5818 (do_test): Likewise.
5819 * string/test-strnlen.c (do_one_test): Likewise.
5820 (do_test): Likewise.
5821 * string/test-strpbrk.c (do_one_test): Likewise.
5822 (do_test): Likewise.
5823 * string/test-strrchr.c (do_one_test): Likewise.
5824 (do_test): Likewise.
5825 * string/test-strspn.c (do_one_test): Likewise.
5826 (do_test): Likewise.
5827 * string/test-strstr.c (do_one_test): Likewise.
5828 (do_test): Likewise.
5829
97020474
SP
5830 * benchtests/Makefile (string-bench): Add string benchmarks.
5831 * benchtests/bench-bcopy-ifunc.c: New file.
5832 * benchtests/bench-bcopy.c: New file.
5833 * benchtests/bench-bzero-ifunc.c: New file.
5834 * benchtests/bench-bzero.c: New file.
5835 * benchtests/bench-memccpy-ifunc.c: New file.
5836 * benchtests/bench-memccpy.c: New file.
5837 * benchtests/bench-memchr-ifunc.c: New file.
5838 * benchtests/bench-memchr.c: New file.
5839 * benchtests/bench-memcmp-ifunc.c: New file.
5840 * benchtests/bench-memcmp.c: New file.
5841 * benchtests/bench-memmem-ifunc.c: New file.
5842 * benchtests/bench-memmem.c: New file.
5843 * benchtests/bench-memmove-ifunc.c: New file.
5844 * benchtests/bench-memmove.c: New file.
5845 * benchtests/bench-mempcpy-ifunc.c: New file.
5846 * benchtests/bench-mempcpy.c: New file.
5847 * benchtests/bench-memset-ifunc.c: New file.
5848 * benchtests/bench-memset.c: New file.
5849 * benchtests/bench-rawmemchr-ifunc.c: New file.
5850 * benchtests/bench-rawmemchr.c: New file.
5851 * benchtests/bench-stpcpy-ifunc.c: New file.
5852 * benchtests/bench-stpcpy.c: New file.
5853 * benchtests/bench-stpncpy-ifunc.c: New file.
5854 * benchtests/bench-stpncpy.c: New file.
5855 * benchtests/bench-strcasecmp-ifunc.c: New file.
5856 * benchtests/bench-strcasecmp.c: New file.
5857 * benchtests/bench-strcasestr-ifunc.c: New file.
5858 * benchtests/bench-strcasestr.c: New file.
5859 * benchtests/bench-strcat-ifunc.c: New file.
5860 * benchtests/bench-strcat.c: New file.
5861 * benchtests/bench-strchr-ifunc.c: New file.
5862 * benchtests/bench-strchr.c: New file.
5863 * benchtests/bench-strchrnul-ifunc.c: New file.
5864 * benchtests/bench-strchrnul.c: New file.
5865 * benchtests/bench-strcmp-ifunc.c: New file.
5866 * benchtests/bench-strcmp.c: New file.
5867 * benchtests/bench-strcpy-ifunc.c: New file.
5868 * benchtests/bench-strcpy.c: New file.
5869 * benchtests/bench-strcspn-ifunc.c: New file.
5870 * benchtests/bench-strcspn.c: New file.
5871 * benchtests/bench-strlen-ifunc.c: New file.
5872 * benchtests/bench-strlen.c: New file.
5873 * benchtests/bench-strncasecmp-ifunc.c: New file.
5874 * benchtests/bench-strncasecmp.c: New file.
5875 * benchtests/bench-strncat-ifunc.c: New file.
5876 * benchtests/bench-strncat.c: New file.
5877 * benchtests/bench-strncmp-ifunc.c: New file.
5878 * benchtests/bench-strncmp.c: New file.
5879 * benchtests/bench-strncpy-ifunc.c: New file.
5880 * benchtests/bench-strncpy.c: New file.
5881 * benchtests/bench-strnlen-ifunc.c: New file.
5882 * benchtests/bench-strnlen.c: New file.
5883 * benchtests/bench-strpbrk-ifunc.c: New file.
5884 * benchtests/bench-strpbrk.c: New file.
5885 * benchtests/bench-strrchr-ifunc.c: New file.
5886 * benchtests/bench-strrchr.c: New file.
5887 * benchtests/bench-strspn-ifunc.c: New file.
5888 * benchtests/bench-strspn.c: New file.
5889 * benchtests/bench-strstr-ifunc.c: New file.
5890 * benchtests/bench-strstr.c: New file.
5891
c1f75dc3
SP
5892 * benchtests/Makefile: Disable parallel execution of targets.
5893 (string-bench): Add memcpy.
5894 (benchset): New variable to store a list of benchmark sets.
5895 (bench-func): Renamed from bench.
5896 (bench-set): New target.
5897 (bench): Depend on bench-func and bench-set.
5898 * benchtests/README: Add section on benchmark sets.
5899 * benchtests/bench-memcpy-ifunc.c: New file.
5900 * benchtests/bench-memcpy.c: New file.
5901 * benchtests/bench-string.h: New file.
5902
50fd745b
AS
59032013-06-11 Andreas Schwab <schwab@suse.de>
5904
5905 [BZ #15577]
5906 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
5907 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
5908 values in the triple.
5909 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
5910 terminator in the group key.
5911
3ee7e9fe
AJ
59122013-06-11 Andreas Jaeger <aj@suse.de>
5913
5914 * po/zh_TW.po: Update Chinese (traditional) translation from
5915 translation project.
5916
89fb6835
SP
59172013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5918
5919 * include/time.h (__clock_gettime): Add libc_hidden_proto.
5920 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
5921 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
5922 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5923 (clock_getcpuclockid): Likewise.
5924 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
5925 Add weak_alias and libc_hidden_def.
5926 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
5927 * rt/clock_gettime.c (clock_gettime): Rename to
5928 __clock_gettime. Add weak_alias and libc_hidden_def.
5929 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
5930 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
5931 __clock_nanosleep. Add weak_alias and libc_hidden_def.
5932 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
5933 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
5934 Likewise.
5935 * rt/clock_settime.c (clock_settime): Rename to
5936 __clock_settime. Add weak_alias and libc_hidden_def.
5937 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
5938
0efa6f8b
JM
59392013-06-10 Joseph Myers <joseph@codesourcery.com>
5940
b8c61b4b
JM
5941 * mach/err_boot.sub: Remove trailing whitespace.
5942 * mach/err_ipc.sub: Likewise.
5943 * mach/err_mach.sub: Likewise.
5944
0efa6f8b
JM
5945 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
5946 (ROUNDING_TESTS_double): Likewise.
5947 (ROUNDING_TESTS_long_double): Likewise.
5948 (ROUNDING_TESTS): Likewise.
5949 * math/libm-test.inc: Include <math-tests.h>.
5950 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
5951 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5952 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5953 (IF_ROUND_INIT_FE_UPWARD): Likewise.
5954
50b818bf
SP
59552013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5956
5957 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
5958 of assigning.
5959
60d2f8f3
JM
59602013-06-08 Joseph Myers <joseph@codesourcery.com>
5961
4902d2c3
JM
5962 * sysdeps/gnu/errlist.awk: Do not generate space at end of
5963 otherwise empty TRANS lines.
5964 * sysdeps/gnu/errlist.c: Regenerated.
5965
60d2f8f3
JM
5966 * catgets/gencat.c (error_print): Use (void) in function
5967 definition.
5968 * crypt/crypt_util.c (__init_des): Likewise.
5969 * crypt/speeds.c (Stop): Likewise.
5970 (main): Likewise.
5971 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
5972 * inet/ruserpass.c (token): Likewise.
5973 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
5974 * intl/localealias.c (extend_alias_table): Likewise.
5975 * intl/plural-exp.c (init_germanic_plural): Likewise.
5976 * libio/fcloseall.c (__fcloseall): Likewise.
5977 * libio/genops.c (_IO_flush_all): Likewise.
5978 (_IO_flush_all_linebuffered): Likewise.
5979 (_IO_cleanup): Likewise.
5980 (_IO_iter_begin): Likewise.
5981 (_IO_iter_end): Likewise.
5982 (_IO_list_lock): Likewise.
5983 (_IO_list_unlock): Likewise.
5984 (_IO_list_resetlock): Likewise.
5985 * libio/getchar.c (getchar): Likewise.
5986 * libio/getchar_u.c (getchar_unlocked): Likewise.
5987 * libio/getwchar.c (getwchar): Likewise.
5988 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
5989 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
5990 * login/getpt.c (__getpt): Likewise.
5991 * login/tst-utmp.c (main): Likewise.
5992 * malloc/hooks.c (__malloc_check_init): Likewise.
5993 * malloc/malloc.c (__malloc_stats): Likewise.
5994 * malloc/mtrace.c (tr_break): Likewise.
5995 (mtrace): Likewise.
5996 (muntrace): Likewise.
5997 * misc/fstab.c (endfsent): Likewise.
5998 * misc/getclktck.c (__getclktck): Likewise.
5999 * misc/getdtsz.c (__getdtablesize): Likewise.
6000 * misc/gethostid.c (gethostid): Likewise.
6001 * misc/getpagesize.c (__getpagesize): Likewise.
6002 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
6003 (__get_nprocs): Likewise.
6004 (__get_phys_pages): Likewise.
6005 (__get_avphys_pages): Likewise.
6006 * misc/getttyent.c (getttyent): Likewise.
6007 (setttyent): Likewise.
6008 (endttyent): Likewise.
6009 * misc/getusershell.c (getusershell): Likewise.
6010 (endusershell): Likewise.
6011 (setusershell): Likewise.
6012 (initshells): Likewise.
6013 * misc/hsearch.c (__hdestroy): Likewise.
6014 * misc/sync.c (sync): Likewise.
6015 * misc/syslog.c (closelog_internal): Likewise.
6016 (closelog): Likewise.
6017 * misc/ttyslot.c (ttyslot): Likewise.
6018 * misc/vhangup.c (vhangup): Likewise.
6019 * posix/fork.c (__fork): Likewise.
6020 * posix/getegid.c (__getegid): Likewise.
6021 * posix/geteuid.c (__geteuid): Likewise.
6022 * posix/getgid.c (__getgid): Likewise.
6023 * posix/getpid.c (__getpid): Likewise.
6024 * posix/getppid.c (__getppid): Likewise.
6025 * posix/getuid.c (__getuid): Likewise.
6026 * posix/pause.c (pause): Likewise.
6027 * posix/setpgrp.c (setpgrp): Likewise.
6028 * posix/setsid.c (__setsid): Likewise.
6029 * posix/test-vfork.c (noop): Likewise.
6030 * resolv/gethnamaddr.c (_endhtent): Likewise.
6031 (_gethtent): Likewise.
6032 (ht_endhostent): Likewise.
6033 (gethostent): Likewise.
6034 (dns_service): Likewise.
6035 * stdlib/drand48.c (drand48): Likewise.
6036 * stdlib/lrand48.c (lrand48): Likewise.
6037 * stdlib/mrand48.c (mrand48): Likewise.
6038 * stdlib/rand.c (rand): Likewise.
6039 * stdlib/random.c (__random): Likewise.
6040 * stdlib/setenv.c (clearenv): Likewise.
6041 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
6042 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
6043 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
6044 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
6045 (__get_nprocs): Likewise.
6046 (__get_phys_pages): Likewise.
6047 (__get_avphys_pages): Likewise.
6048 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
6049 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
6050 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
6051 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
6052 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
6053 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
6054 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
6055 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
6056 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
6057 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
6058 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
6059 * sysdeps/mach/hurd/sync.c (sync): Likewise.
6060 * sysdeps/posix/clock.c (clock): Likewise.
6061 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
6062 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
6063 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
6064 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
6065 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
6066 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6067 (__get_nprocs_conf): Likewise.
6068 (__get_phys_pages): Likewise.
6069 (__get_avphys_pages): Likewise.
6070 * time/clock.c (clock): Likewise.
6071 * time/tzset.c (__tzname_max): Likewise.
6072
2e09a79a
JM
60732013-06-07 Joseph Myers <joseph@codesourcery.com>
6074
6075 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
6076 (__bswap_32): Do not use "register".
6077 * crypt/crypt.c (_ufc_doit_r): Likewise.
6078 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6079 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6080 * gmon/gmon.c (__monstartup): Likewise.
6081 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
6082 * hurd/hurdmalloc.c (more_memory): Likewise.
6083 (malloc): Likewise.
6084 (free): Likewise.
6085 (realloc): Likewise.
6086 (malloc_fork_prepare): Likewise.
6087 (malloc_fork_parent): Likewise.
6088 (malloc_fork_child): Likewise.
6089 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
6090 (_svcauth_des): Likewise.
6091 * inet/inet_lnaof.c (inet_lnaof): Likewise.
6092 * inet/inet_net.c (inet_network): Likewise.
6093 * inet/inet_netof.c (inet_netof): Likewise.
6094 * inet/rcmd.c (__validuser2_sa): Likewise.
6095 * io/fts.c (fts_open): Likewise.
6096 (fts_load): Likewise.
6097 (fts_close): Likewise.
6098 (fts_read): Likewise.
6099 (fts_children): Likewise.
6100 (fts_build): Likewise.
6101 (fts_stat): Likewise.
6102 (fts_sort): Likewise.
6103 (fts_alloc): Likewise.
6104 (fts_lfree): Likewise.
6105 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
6106 (_IO_file_xsgetn): Likewise.
6107 (_IO_file_xsgetn_mmap): Likewise.
6108 * libio/iofopncook.c (_IO_cookie_read): Likewise.
6109 (_IO_cookie_write): Likewise.
6110 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
6111 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
6112 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
6113 * malloc/obstack.c (_obstack_begin): Likewise.
6114 (_obstack_begin_1): Likewise.
6115 (_obstack_newchunk): Likewise.
6116 (_obstack_allocated_p): Likewise.
6117 (obstack_free): Likewise.
6118 (_obstack_memory_used): Likewise.
6119 * misc/getttyent.c (getttynam): Likewise.
6120 (getttyent): Likewise.
6121 (skip): Likewise.
6122 (value): Likewise.
6123 * misc/getusershell.c (initshells): Likewise.
6124 * misc/syslog.c (__vsyslog_chk): Likewise.
6125 * misc/ttyslot.c (ttyslot): Likewise.
6126 * nis/nis_hash.c (__nis_hash): Likewise.
6127 * posix/fnmatch_loop.c (FCT): Likewise.
6128 * posix/getconf.c (print_all): Likewise.
6129 (main): Likewise.
6130 * posix/getopt.c (exchange): Likewise.
6131 * posix/glob.c (globfree): Likewise.
6132 (prefix_array): Likewise.
6133 (__glob_pattern_type): Likewise.
6134 * resolv/arpa/nameser.h (NS_GET16): Likewise.
6135 (NS_GET32): Likewise.
6136 (NS_PUT16): Likewise.
6137 (NS_PUT32): Likewise.
6138 * resolv/gethnamaddr.c (getanswer): Likewise.
6139 (gethostbyname2): Likewise.
6140 (gethostbyaddr): Likewise.
6141 (_gethtent): Likewise.
6142 (_gethtbyname2): Likewise.
6143 (_gethtbyaddr): Likewise.
6144 * resolv/ns_print.c (dst_s_get_int16): Likewise.
6145 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6146 * resolv/res_init.c (__res_vinit): Likewise.
6147 (net_mask): Likewise.
6148 * resolv/res_mkquery.c (outchar): Likewise.
6149 (PRINT): Likewise.
6150 * stdio-common/printf_fp.c (outchar): Likewise.
6151 (PRINT): Likewise.
6152 * stdio-common/printf_fphex.c (outchar): Likewise.
6153 (PRINT): Likewise.
6154 * stdio-common/printf_size.c (outchar): Likewise.
6155 (PRINT): Likewise.
6156 * stdio-common/test_rdwr.c (main): Likewise.
6157 * stdio-common/tfformat.c (matches): Likewise.
6158 * stdio-common/vfprintf.c (outchar): Likewise.
6159 (printf_unknown): Likewise.
6160 (buffered_vfprintf): Likewise.
6161 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6162 * stdio-common/xbug.c (AppendToBuffer): Likewise.
6163 (ReadFile): Likewise.
6164 * stdlib/qsort.c (SWAP): Likewise.
6165 (_quicksort): Likewise.
6166 * stdlib/setenv.c (__add_to_environ): Likewise.
6167 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6168 * stdlib/strtol_l.c (__strtol_l): Likewise.
6169 * stdlib/tst-strtod.c (main): Likewise.
6170 * stdlib/tst-strtol.c (main): Likewise.
6171 * stdlib/tst-strtoll.c (main): Likewise.
6172 * string/bits/string2.h (__strcmp_cc): Likewise.
6173 (__strcmp_cg): Likewise.
6174 (__strcspn_c1): Likewise.
6175 (__strcspn_c2): Likewise.
6176 (__strcspn_c3): Likewise.
6177 (__strspn_c1): Likewise.
6178 (__strspn_c2): Likewise.
6179 (__strspn_c3): Likewise.
6180 (__strsep_1c): Likewise.
6181 (__strsep_2c): Likewise.
6182 (__strsep_3c): Likewise.
6183 * string/memccpy.c (__memccpy): Likewise.
6184 * string/stpcpy.c (__stpcpy): Likewise.
6185 * string/strcmp.c (strcmp): Likewise.
6186 * string/strrchr.c (strrchr): Likewise.
6187 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
6188 Likewise.
6189 * sysdeps/mach/hurd/getcwd.c
6190 (_hurd_canonicalize_directory_name_internal): Likewise.
6191 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
6192 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
6193 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
6194 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
6195 Likewise, in both definitions.
6196 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
6197 definitions.
6198 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
6199 64] (__bswap_64): Likewise.
6200 * time/test_time.c (main): Likewise.
6201 * time/tzfile.c (__tzfile_read): Likewise.
6202 (__tzfile_compute): Likewise.
6203 * time/tzset.c (__tzset_parse_tz): Likewise.
6204 (tzset_internal): Likewise.
6205 (compute_change): Likewise.
6206 * wcsmbs/wcscat.c (__wcscat): Likewise.
6207 * wcsmbs/wcschr.c (wcschr): Likewise.
6208 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
6209 * wcsmbs/wcscspn.c (wcscspn): Likewise.
6210 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
6211 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
6212 * wcsmbs/wcsspn.c (wcsspn): Likewise.
6213 * wcsmbs/wcsstr.c (wcsstr): Likewise.
6214 * wcsmbs/wmemchr.c (wmemchr): Likewise.
6215 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6216 * wcsmbs/wmemset.c (wmemset): Likewise.
6217
9e54314b
JM
62182013-06-06 Joseph Myers <joseph@codesourcery.com>
6219
6220 * scripts/config.guess: Update to version 2013-05-16.
6221 * scripts/config.sub: Update to version 2013-04-24.
6222 * scripts/install-sh: Update to version 2011-11-20.07.
6223 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
6224 * scripts/move-if-change: Update to version 2012-01-06 07:23.
6225
350635a5
OB
62262013-06-06 Ondřej Bílka <neleai@seznam.cz>
6227
6228 * debug/fgetws_u_chk.c: Fix leading whitespaces.
6229 * elf/sln.c: Likewise.
6230 * hurd/hurd/ioctl.h: Likewise.
6231 * hurd/hurdmalloc.c: Likewise.
6232 * hurd/xattr.c: Likewise.
6233 * include/shlib-compat.h: Likewise.
6234 * inet/ruserpass.c: Likewise.
6235 * libio/iofgets_u.c: Likewise.
6236 * libio/iofgetws_u.c: Likewise.
6237 * locale/programs/ld-identification.c: Likewise.
6238 * locale/programs/ld-time.c: Likewise.
6239 * mach/msg-destroy.c: Likewise.
6240 * nss/nss_files/files-netgrp.c: Likewise.
6241 * resolv/res_data.c: Likewise.
6242 * soft-fp/op-1.h: Likewise.
6243 * soft-fp/op-2.h: Likewise.
6244 * soft-fp/op-4.h: Likewise.
6245 * soft-fp/op-common.h: Likewise.
6246 * stdio-common/printf_fphex.c: Likewise.
6247 * stdlib/strtod_l.c: Likewise.
6248 * sunrpc/rpc/clnt.h: Likewise.
6249 * sysdeps/generic/framestate.c: Likewise.
6250 * sysdeps/i386/bsd-_setjmp.S: Likewise.
6251 * sysdeps/i386/bsd-setjmp.S: Likewise.
6252 * sysdeps/i386/__longjmp.S: Likewise.
6253 * sysdeps/i386/setjmp.S: Likewise.
6254 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6255 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6256 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6257 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6258 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6259 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6260 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6261 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6262 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6263 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
6264 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6265 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6266 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6267 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6268 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6269 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6270 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6271 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
6272 * sysdeps/ieee754/support.c: Likewise.
6273 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6274 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
6275 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
6276 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
6277 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
6278 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
6279 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
6280 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
6281 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
6282 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
6283 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
6284 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
6285 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
6286 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
6287 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
6288 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
6289 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6291
44a988af
OB
62922013-06-05 Ondřej Bílka <neleai@seznam.cz>
6293
25506f09 6294 * posix/transbug.c: Remove executable mode.
44a988af 6295
9c84384c
JM
62962013-06-05 Joseph Myers <joseph@codesourcery.com>
6297
6298 * crypt/speeds.c: Remove trailing whitespace.
6299 * dlfcn/default.c: Likewise.
6300 * elf/ifuncdep2.c: Likewise.
6301 * elf/ifuncmain1.c: Likewise.
6302 * elf/ifuncmain1vis.c: Likewise.
6303 * elf/testobj.h: Likewise.
6304 * elf/tst-stackguard1.c: Likewise.
6305 * gmon/sys/gmon.h: Likewise.
6306 * hurd/hurdmsg.c: Likewise.
6307 * hurd/new-fd.c: Likewise.
6308 * hurd/ports-get.c: Likewise.
6309 * iconvdata/ibm1008_420.c: Likewise.
6310 * inet/tst-getni1.c: Likewise.
6311 * inet/tst-getni2.c: Likewise.
6312 * libio/ioungetc.c: Likewise.
6313 * libio/wfiledoalloc.c: Likewise.
6314 * manual/libm-err-tab.pl: Likewise.
6315 * math/w_dremf.c: Likewise.
6316 * misc/ftruncate.c: Likewise.
6317 * posix/bug-glob2.c: Likewise.
6318 * posix/tst-pcre.c: Likewise.
6319 * posix/wait4.c: Likewise.
6320 * resolv/README: Likewise.
6321 * resolv/res_debug.h: Likewise.
6322 * resolv/tst-inet_ntop.c: Likewise.
6323 * setjmp/bug269-setjmp.c: Likewise.
6324 * soft-fp/extended.h: Likewise.
6325 * soft-fp/op-1.h: Likewise.
6326 * soft-fp/op-2.h: Likewise.
6327 * soft-fp/op-4.h: Likewise.
6328 * soft-fp/op-8.h: Likewise.
6329 * soft-fp/testit.c: Likewise.
6330 * stdio-common/bug16.c: Likewise.
6331 * stdlib/random.c: Likewise.
6332 * sunrpc/rpcsvc/rquota.x: Likewise.
6333 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
6334 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6335 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6336 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6337 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6338 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6339 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6340 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6341 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6342 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6343 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6344 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6345 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6346 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6347 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6348 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6349 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6350 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6351 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6352 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6353 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6354 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6355 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6356 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6357 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6358 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6359 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6360 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6361 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6362 * sysdeps/ieee754/s_lib_version.c: Likewise.
6363 * sysdeps/mach/hurd/check_fds.c: Likewise.
6364 * sysdeps/mach/hurd/getsockname.c: Likewise.
6365 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
6366 * sysdeps/mach/hurd/recvfrom.c: Likewise.
6367 * sysdeps/powerpc/bits/link.h: Likewise.
6368 * sysdeps/powerpc/dl-procinfo.c: Likewise.
6369 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
6370 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
6371 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
6372 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6373 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6374 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
6375 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6376 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
6377 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6378 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
6379 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6380 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
6381 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6382 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6383 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6384 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6385 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6386 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6387 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6388 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6389 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
6390 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6391 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6392 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
6393 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6394 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6395 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6396 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6397 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6398 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6399 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6400 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6401 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6402 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
6403 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6404 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
6405 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6406 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
6407 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
6408 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
6409 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
6410 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
6411 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
6412 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6413 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
6414 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
6415 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6416 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
6417 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
6418 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6419 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6420 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6421 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6422 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
6423 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
6424 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
6425 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6426 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
6427 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
6428 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
6429 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
6430 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6431 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6432 * sysdeps/powerpc/sysdep.h: Likewise.
6433 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6434 * sysdeps/s390/s390-64/sub_n.S: Likewise.
6435 * sysdeps/sh/dl-trampoline.S: Likewise.
6436 * sysdeps/sh/memset.S: Likewise.
6437 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
6438 * sysdeps/sh/strlen.S: Likewise.
6439 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
6440 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
6441 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
6442 * sysdeps/sparc/sparc32/rem.S: Likewise.
6443 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
6444 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
6445 * sysdeps/sparc/sparc32/strchr.S: Likewise.
6446 * sysdeps/sparc/sparc32/udiv.S: Likewise.
6447 * sysdeps/sparc/sparc32/urem.S: Likewise.
6448 * sysdeps/sparc/sparc64/add_n.S: Likewise.
6449 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6450 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
6451 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
6452 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
6453 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
6454 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6455 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
6456 * sysdeps/unix/bsd/times.c: Likewise.
6457 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
6458 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
6459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6462 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6463 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6464 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
6465 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
6466 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
6467 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
6468 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6469 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6470 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6471 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6472 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
6473 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6474 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
6475 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
6476 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
6477 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
6478 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
6479 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6480 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
6481 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
6482 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6483 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
6484 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6485 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
6486 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
6487 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
6488 * sysdeps/x86_64/strcspn.S: Likewise.
6489
869378a5
RA
64902013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6491
6492 * locale/C-translit.h: Revert #include <stdint.h> because this is a
6493 generated file. Regenerate properly from gen-translit.pl.
6494 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
6495 locale/C-translit.h.
6496
840e2943
AS
64972013-06-05 Andreas Schwab <schwab@suse.de>
6498
6499 [BZ #15100]
6500 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
6501 week as 6 instead of -1.
6502 * time/tst-strptime.c (day_tests): Add test case.
6503
4c60cb0c
SP
65042013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6505
6506 * sysdeps/generic/math_private.h
6507 (libc_feholdexcept_setround_53bit): Replace with
6508 libc_feholdsetround_53bit.
6509 (libc_feupdateenv_53bit): Replace with
6510 libc_feresetround_53bit.
6511 (SET_RESTORE_ROUND_53BIT): Adjust.
6512
d180203e
SP
65132013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6514
96df079a
SP
6515 * string/test-strchrnul.c: Add copyright header.
6516
d180203e
SP
6517 * posix/tst-getaddrinfo4.c: Increase test timeout.
6518
8b0ccb2d
CD
65192013-06-03 Carlos O'Donell <carlos@redhat.com>
6520
6521 [BZ #15536]
6522 * math/libm-test.inc (MAX_EXP): Remove
6523 (MIN_EXP): Define.
6524 (ulp): Use MIN_EXP - MANT_DIG.
6525 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
6526
3b3c4d40
CD
65272013-05-31 Carlos O'Donell <carlos@redhat.com>
6528
6529 * po/be.po: Revert last change.
6530 * po/zh_CN.po: Likewise.
6531 * po/header.pot: Likewise.
6532
fab7ce3f
JM
65332013-05-31 Joseph Myers <joseph@codesourcery.com>
6534
6535 * Makefile ($(common-objpfx)linkobj/libc.so): Define
6536 link-libc-deps to empty as target-specific variable.
6537 * Makerules (link-libc-args): New variable.
6538 (libc-for-link): Likewise.
6539 (link-libc-deps): Likewise.
6540 (lib%.so): Depend on $(link-libc-deps). Link with
6541 $(link-libc-args).
6542 (build-module): Link with $(link-libc-args).
6543 (build-module-asneeded): Likewise.
6544 (build-module-helper-objlist): Filter out $(link-libc-deps) from
6545 list of objects.
6546 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
6547 target-specific variable.
6548 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
6549 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
6550 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
6551 libc.
6552 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
6553 libc and ld.so.
6554 ($(objpfx)libpcprofile.so): Likewise.
6555 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
6556 libc_nonshared.a.
6557 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
6558 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
6559 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
6560 $(link-libc-deps).
6561 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
6562 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
6563 * login/Makefile ($(objpfx)libutil.so): Likewise.
6564 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
6565 * math/Makefile ($(objpfx)libm.so): Likewise.
6566 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
6567 $(objpfx)libnsl.so): Define libc-for-link as target-specific
6568 variable instead of depending directly on libc.
6569 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
6570 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
6571 $(link-libc-deps).
6572 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
6573 libc.
6574 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
6575 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
6576 ($(objpfx)libanl.so): Likewise.
6577 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
6578 ld.so.
6579 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
6580 $(link-libc-deps).
6581 * sysdeps/i386/fpu/Makefile: Remove file.
6582 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
6583 ($(objpfx)libm.so): Remove dependency on ld.so.
6584
eca5920c
PF
65852013-05-30 Patsy Franklin <pfrankli@redhat.com>
6586
6587 [BZ # 15553]
6588 * nis/yp_xdr.c (XDRMAXNAME): Define.
6589 (XDRMAXRECORD): Define.
6590 (xdr_domainname): Use XDRMAXNAME.
6591 (xdr_mapname): Likewise.
6592 (xdr_peername): Likewise.
6593 (xdr_keydat): Use XDRMAXRECORD.
6594 (xdr_valdat): Likewise.
6595
65962013-05-30 Jeff Law <law@redhat.com>
96945714
JL
6597
6598 [BZ #14256]
6599 * manual/errno.texi (ESTALE): Update to account for more than
6600 just NFS file systems.
6601 * sysdeps/gnu/errlist.c: Regenerated.
6602
b9375348
SP
66032013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6604
6605 [BZ #15465]
6606 * elf/Makefile (tests): Add tst-null-argv.
6607 (modules-names): Add tst-null-argv-lib.
6608 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
6609 (tst-null-argv-ENV): Set environment for tst-null-argv.
6610 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
6611 (RTLD_PROGNAME): New macro.
6612 * elf/tst-null-argv.c: New test case.
6613 * elf/tst-null-argv-lib.c: Library for test case.
6614 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
6615 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6616 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
6617 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
6618 * elf/dl-init.c (call_init): Likewise.
6619 (_dl_init): Likewise.
6620 * elf/dl-load.c (print_search_path): Likewise.
6621 (_dl_map_object): Likewise.
6622 * elf/dl-lookup.c (do_lookup_x): Likewise.
6623 (add_dependency): Likewise.
6624 (_dl_lookup_symbol_x): Likewise.
6625 (_dl_debug_bindings): Likewise.
6626 * elf/dl-open.c (_dl_show_scope): Likewise.
6627 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6628 * elf/dl-version.c (match_symbol): Likewise.
6629 (_dl_check_map_versions): Likewise.
6630 * elf/rtld.c (dl_main): Likewise.
6631 (print_unresolved): Use RTLD_PROGNAME.
6632 (print_missing_version): Likewise.
6633 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
6634 (elf_machine_rela): Likewise.
6635 * sysdeps/powerpc/powerpc32/dl-machine.c
6636 (__process_machine_rela): Likewise.
6637 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6638 Likewise.
6639 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6640 Likewise.
6641 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
6642 Likewise.
6643 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6644 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
6645 Likewise.
6646 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
6647 Likewise.
6648 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6649
8a9f20c8
CD
66502013-05-28 Carlos O'Donell <carlos@redhat.com>
6651
6652 * po/be.po: Add descriptive title.
6653 * po/zh_CN.po: Likewise.
6654 * po/header.pot: Likewise.
6655
0e60d68e
MF
66562013-05-28 Mike Frysinger <vapier@gentoo.org>
6657
6658 * locale/programs/locarchive.c (create_archive): Inlucde fname in
6659 error message.
6660 (enlarge_archive): Likewise.
6661
56b672e9
BN
66622013-05-28 Ben North <ben@redfrontdoor.org>
6663
6664 * manual/arith.texi (frexp): It is the magnitude of the return
6665 value which lies in [0.5, 1), not the return value itself.
6666
5e056687
AZ
66672013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6668
6669 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6670
2b66ef5d
TS
66712013-05-26 Thomas Schwinge <thomas@codesourcery.com>
6672
528c2405
TS
6673 * stdio-common/bug26.c (main): Correct fscanf template.
6674
07b4c13d
TS
6675 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
6676 declare _dl_skip_args.
6677
ec9dd97c
TS
6678 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
6679 Don't declare.
6680
2b66ef5d
TS
6681 * manual/platform.texi: Add missing @end deftypefun.
6682
4f8dfe27
JM
66832013-05-24 Joseph Myers <joseph@codesourcery.com>
6684
0323d086
JM
6685 [BZ #15529]
6686 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
6687 bit of mantissa of 2^16382.
6688 * math/libm-test.inc (hypot_test_data): Add more tests.
6689
dd4259b9
JM
6690 * math/libm-test.inc: Add drem and pow10 to list of tested
6691 functions.
6692 (pow10_test): New function.
6693 (drem_test): Likewise.
6694 (drem_test_tonearest): Likewise.
6695 (drem_test_towardzero): Likewise.
6696 (drem_test_downward): Likewise.
6697 (drem_test_upward): Likewise.
6698 (main): Call the new functions.
6699
4f8dfe27
JM
6700 * math/libm-test.inc (finite_test_data): Remove.
6701 (finite_test): Run tests from isfinite_test_data.
6702 (gamma_test_data): Remove.
6703 (gamma_test): Run tests from lgamma_test_data.
6704 * sysdeps/i386/fpu/libm-test-ulps: Update.
6705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6706
d116b7c4
AZ
67072013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6708
6709 * manual/platform.texi: Add PowerPC PPR function set documentation.
6710 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
6711 implementation.
6712
e96e3767
CD
67132013-05-24 Carlos O'Donell <carlos@redhat.com>
6714
6715 * math/libm-test.inc (MAX_EXP): Define.
6716 (ULPDIFF): Define.
6717 (ulp): New function.
6718 (check_float_internal): Use ULPDIFF.
6719 (cpow_test): Disable failing test.
6720 (check_ulp): Test ulp() implemetnation.
6721 (main): Call check_ulp before starting tests.
6722
b679a606
JM
67232013-05-24 Joseph Myers <joseph@codesourcery.com>
6724
e8bdba36
JM
6725 * math/gen-libm-test.pl (generate_testfile): Do not handle
6726 START_DATA and END_DATA.
6727 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
6728 END_DATA.
6729 (acos_tonearest_test_data): Likewise.
6730 (acos_towardzero_test_data): Likewise.
6731 (acos_downward_test_data): Likewise.
6732 (acos_upward_test_data): Likewise.
6733 (acosh_test_data): Likewise.
6734 (asin_test_data): Likewise.
6735 (asin_tonearest_test_data): Likewise.
6736 (asin_towardzero_test_data): Likewise.
6737 (asin_downward_test_data): Likewise.
6738 (asin_upward_test_data): Likewise.
6739 (asinh_test_data): Likewise.
6740 (atan_test_data): Likewise.
6741 (atanh_test_data): Likewise.
6742 (atan2_test_data): Likewise.
6743 (cabs_test_data): Likewise.
6744 (cacos_test_data): Likewise.
6745 (cacosh_test_data): Likewise.
6746 (carg_test_data): Likewise.
6747 (casin_test_data): Likewise.
6748 (casinh_test_data): Likewise.
6749 (catan_test_data): Likewise.
6750 (catanh_test_data): Likewise.
6751 (cbrt_test_data): Likewise.
6752 (ccos_test_data): Likewise.
6753 (ccosh_test_data): Likewise.
6754 (ceil_test_data): Likewise.
6755 (cexp_test_data): Likewise.
6756 (cimag_test_data): Likewise.
6757 (clog_test_data): Likewise.
6758 (clog10_test_data): Likewise.
6759 (conj_test_data): Likewise.
6760 (copysign_test_data): Likewise.
6761 (cos_test_data): Likewise.
6762 (cos_tonearest_test_data): Likewise.
6763 (cos_towardzero_test_data): Likewise.
6764 (cos_downward_test_data): Likewise.
6765 (cos_upward_test_data): Likewise.
6766 (cosh_test_data): Likewise.
6767 (cosh_tonearest_test_data): Likewise.
6768 (cosh_towardzero_test_data): Likewise.
6769 (cosh_downward_test_data): Likewise.
6770 (cosh_upward_test_data): Likewise.
6771 (cpow_test_data): Likewise.
6772 (cproj_test_data): Likewise.
6773 (creal_test_data): Likewise.
6774 (csin_test_data): Likewise.
6775 (csinh_test_data): Likewise.
6776 (csqrt_test_data): Likewise.
6777 (ctan_test_data): Likewise.
6778 (ctan_tonearest_test_data): Likewise.
6779 (ctan_towardzero_test_data): Likewise.
6780 (ctan_downward_test_data): Likewise.
6781 (ctan_upward_test_data): Likewise.
6782 (ctanh_test_data): Likewise.
6783 (ctanh_tonearest_test_data): Likewise.
6784 (ctanh_towardzero_test_data): Likewise.
6785 (ctanh_downward_test_data): Likewise.
6786 (ctanh_upward_test_data): Likewise.
6787 (erf_test_data): Likewise.
6788 (erfc_test_data): Likewise.
6789 (exp_test_data): Likewise.
6790 (exp_tonearest_test_data): Likewise.
6791 (exp_towardzero_test_data): Likewise.
6792 (exp_downward_test_data): Likewise.
6793 (exp_upward_test_data): Likewise.
6794 (exp10_test_data): Likewise.
6795 (exp2_test_data): Likewise.
6796 (expm1_test_data): Likewise.
6797 (fabs_test_data): Likewise.
6798 (fdim_test_data): Likewise.
6799 (finite_test_data): Likewise.
6800 (floor_test_data): Likewise.
6801 (fma_test_data): Likewise.
6802 (fma_towardzero_test_data): Likewise.
6803 (fma_downward_test_data): Likewise.
6804 (fma_upward_test_data): Likewise.
6805 (fmax_test_data): Likewise.
6806 (fmin_test_data): Likewise.
6807 (fmod_test_data): Likewise.
6808 (fpclassify_test_data): Likewise.
6809 (frexp_test_data): Likewise.
6810 (gamma_test_data): Likewise.
6811 (hypot_test_data): Likewise.
6812 (ilogb_test_data): Likewise.
6813 (isfinite_test_data): Likewise.
6814 (isgreater_test_data): Likewise.
6815 (isgreaterequal_test_data): Likewise.
6816 (isinf_test_data): Likewise.
6817 (isless_test_data): Likewise.
6818 (islessequal_test_data): Likewise.
6819 (islessgreater_test_data): Likewise.
6820 (isnan_test_data): Likewise.
6821 (isnormal_test_data): Likewise.
6822 (issignaling_test_data): Likewise.
6823 (isunordered_test_data): Likewise.
6824 (j0_test_data): Likewise.
6825 (j1_test_data): Likewise.
6826 (jn_test_data): Likewise.
6827 (ldexp_test_data): Likewise.
6828 (lgamma_test_data): Likewise.
6829 (lrint_test_data): Likewise.
6830 (lrint_tonearest_test_data): Likewise.
6831 (lrint_towardzero_test_data): Likewise.
6832 (lrint_downward_test_data): Likewise.
6833 (lrint_upward_test_data): Likewise.
6834 (llrint_test_data): Likewise.
6835 (llrint_tonearest_test_data): Likewise.
6836 (llrint_towardzero_test_data): Likewise.
6837 (llrint_downward_test_data): Likewise.
6838 (llrint_upward_test_data): Likewise.
6839 (log_test_data): Likewise.
6840 (log10_test_data): Likewise.
6841 (log1p_test_data): Likewise.
6842 (log2_test_data): Likewise.
6843 (logb_test_data): Likewise.
6844 (logb_downward_test_data): Likewise.
6845 (lround_test_data): Likewise.
6846 (llround_test_data): Likewise.
6847 (modf_test_data): Likewise.
6848 (nearbyint_test_data): Likewise.
6849 (nextafter_test_data): Likewise.
6850 (nexttoward_test_data): Likewise.
6851 (pow_test_data): Likewise.
6852 (pow_tonearest_test_data): Likewise.
6853 (pow_towardzero_test_data): Likewise.
6854 (pow_downward_test_data): Likewise.
6855 (pow_upward_test_data): Likewise.
6856 (remainder_test_data): Likewise.
6857 (remainder_tonearest_test_data): Likewise.
6858 (remainder_towardzero_test_data): Likewise.
6859 (remainder_downward_test_data): Likewise.
6860 (remainder_upward_test_data): Likewise.
6861 (remquo_test_data): Likewise.
6862 (rint_test_data): Likewise.
6863 (rint_tonearest_test_data): Likewise.
6864 (rint_towardzero_test_data): Likewise.
6865 (rint_downward_test_data): Likewise.
6866 (rint_upward_test_data): Likewise.
6867 (round_test_data): Likewise.
6868 (scalb_test_data): Likewise.
6869 (scalbn_test_data): Likewise.
6870 (scalbln_test_data): Likewise.
6871 (signbit_test_data): Likewise.
6872 (sin_test_data): Likewise.
6873 (sin_tonearest_test_data): Likewise.
6874 (sin_towardzero_test_data): Likewise.
6875 (sin_downward_test_data): Likewise.
6876 (sin_upward_test_data): Likewise.
6877 (sincos_test_data): Likewise.
6878 (sinh_test_data): Likewise.
6879 (sinh_tonearest_test_data): Likewise.
6880 (sinh_towardzero_test_data): Likewise.
6881 (sinh_downward_test_data): Likewise.
6882 (sinh_upward_test_data): Likewise.
6883 (sqrt_test_data): Likewise.
6884 (tan_test_data): Likewise.
6885 (tan_tonearest_test_data): Likewise.
6886 (tan_towardzero_test_data): Likewise.
6887 (tan_downward_test_data): Likewise.
6888 (tan_upward_test_data): Likewise.
6889 (tanh_test_data): Likewise.
6890 (tgamma_test_data): Likewise.
6891 (trunc_test_data): Likewise.
6892 (y0_test_data): Likewise.
6893 (y1_test_data): Likewise.
6894 (yn_test_data): Likewise.
6895 (significand_test_data): Likewise.
6896
b679a606
JM
6897 * math/gen-libm-test.pl (@functions): Remove variable.
6898 (generate_testfile): Don't handle START and END lines.
6899 * math/libm-test.inc (START): New macro.
6900 (END): Likewise.
6901 (END_COMPLEX): Likewise.
6902 (acos_test): Use END macro without arguments.
6903 (acos_test_tonearest): Likewise.
6904 (acos_test_towardzero): Likewise.
6905 (acos_test_downward): Likewise.
6906 (acos_test_upward): Likewise.
6907 (acosh_test): Likewise.
6908 (asin_test): Likewise.
6909 (asin_test_tonearest): Likewise.
6910 (asin_test_towardzero): Likewise.
6911 (asin_test_downward): Likewise.
6912 (asin_test_upward): Likewise.
6913 (asinh_test): Likewise.
6914 (atan_test): Likewise.
6915 (atanh_test): Likewise.
6916 (atan2_test): Likewise.
6917 (cabs_test): Likewise.
6918 (cacos_test): Use END_COMPLEX macro without arguments.
6919 (cacosh_test): Likewise.
6920 (carg_test): Use END macro without arguments.
6921 (casin_test): Use END_COMPLEX macro without arguments.
6922 (casinh_test): Likewise.
6923 (catan_test): Likewise.
6924 (catanh_test): Likewise.
6925 (cbrt_test): Use END macro without arguments.
6926 (ccos_test): Use END_COMPLEX macro without arguments.
6927 (ccosh_test): Likewise.
6928 (ceil_test): Use END macro without arguments.
6929 (cexp_test): Use END_COMPLEX macro without arguments.
6930 (cimag_test): Use END macro without arguments.
6931 (clog_test): Use END_COMPLEX macro without arguments.
6932 (clog10_test): Likewise.
6933 (conj_test): Likewise.
6934 (copysign_test): Use END macro without arguments.
6935 (cos_test): Likewise.
6936 (cos_test_tonearest): Likewise.
6937 (cos_test_towardzero): Likewise.
6938 (cos_test_downward): Likewise.
6939 (cos_test_upward): Likewise.
6940 (cosh_test): Likewise.
6941 (cosh_test_tonearest): Likewise.
6942 (cosh_test_towardzero): Likewise.
6943 (cosh_test_downward): Likewise.
6944 (cosh_test_upward): Likewise.
6945 (cpow_test): Use END_COMPLEX macro without arguments.
6946 (cproj_test): Likewise.
6947 (creal_test): Use END macro without arguments.
6948 (csin_test): Use END_COMPLEX macro without arguments.
6949 (csinh_test): Likewise.
6950 (csqrt_test): Likewise.
6951 (ctan_test): Likewise.
6952 (ctan_test_tonearest): Likewise.
6953 (ctan_test_towardzero): Likewise.
6954 (ctan_test_downward): Likewise.
6955 (ctan_test_upward): Likewise.
6956 (ctanh_test): Likewise.
6957 (ctanh_test_tonearest): Likewise.
6958 (ctanh_test_towardzero): Likewise.
6959 (ctanh_test_downward): Likewise.
6960 (ctanh_test_upward): Likewise.
6961 (erf_test): Use END macro without arguments.
6962 (erfc_test): Likewise.
6963 (exp_test): Likewise.
6964 (exp_test_tonearest): Likewise.
6965 (exp_test_towardzero): Likewise.
6966 (exp_test_downward): Likewise.
6967 (exp_test_upward): Likewise.
6968 (exp10_test): Likewise.
6969 (exp2_test): Likewise.
6970 (expm1_test): Likewise.
6971 (fabs_test): Likewise.
6972 (fdim_test): Likewise.
6973 (finite_test): Likewise.
6974 (floor_test): Likewise.
6975 (fma_test): Likewise.
6976 (fma_test_towardzero): Likewise.
6977 (fma_test_downward): Likewise.
6978 (fma_test_upward): Likewise.
6979 (fmax_test): Likewise.
6980 (fmin_test): Likewise.
6981 (fmod_test): Likewise.
6982 (fpclassify_test): Likewise.
6983 (frexp_test): Likewise.
6984 (gamma_test): Likewise.
6985 (hypot_test): Likewise.
6986 (ilogb_test): Likewise.
6987 (isfinite_test): Likewise.
6988 (isgreater_test): Likewise.
6989 (isgreaterequal_test): Likewise.
6990 (isinf_test): Likewise.
6991 (isless_test): Likewise.
6992 (islessequal_test): Likewise.
6993 (islessgreater_test): Likewise.
6994 (isnan_test): Likewise.
6995 (isnormal_test): Likewise.
6996 (issignaling_test): Likewise.
6997 (isunordered_test): Likewise.
6998 (j0_test): Likewise.
6999 (j1_test): Likewise.
7000 (jn_test): Likewise.
7001 (ldexp_test): Likewise.
7002 (lgamma_test): Likewise.
7003 (lrint_test): Likewise.
7004 (lrint_test_tonearest): Likewise.
7005 (lrint_test_towardzero): Likewise.
7006 (lrint_test_downward): Likewise.
7007 (lrint_test_upward): Likewise.
7008 (llrint_test): Likewise.
7009 (llrint_test_tonearest): Likewise.
7010 (llrint_test_towardzero): Likewise.
7011 (llrint_test_downward): Likewise.
7012 (llrint_test_upward): Likewise.
7013 (log_test): Likewise.
7014 (log10_test): Likewise.
7015 (log1p_test): Likewise.
7016 (log2_test): Likewise.
7017 (logb_test): Likewise.
7018 (logb_test_downward): Likewise.
7019 (lround_test): Likewise.
7020 (llround_test): Likewise.
7021 (modf_test): Likewise.
7022 (nearbyint_test): Likewise.
7023 (nextafter_test): Likewise.
7024 (nexttoward_test): Likewise.
7025 (pow_test): Likewise.
7026 (pow_test_tonearest): Likewise.
7027 (pow_test_towardzero): Likewise.
7028 (pow_test_downward): Likewise.
7029 (pow_test_upward): Likewise.
7030 (remainder_test): Likewise.
7031 (remainder_test_tonearest): Likewise.
7032 (remainder_test_towardzero): Likewise.
7033 (remainder_test_downward): Likewise.
7034 (remainder_test_upward): Likewise.
7035 (remquo_test): Likewise.
7036 (rint_test): Likewise.
7037 (rint_test_tonearest): Likewise.
7038 (rint_test_towardzero): Likewise.
7039 (rint_test_downward): Likewise.
7040 (rint_test_upward): Likewise.
7041 (round_test): Likewise.
7042 (scalb_test): Likewise.
7043 (scalbn_test): Likewise.
7044 (scalbln_test): Likewise.
7045 (signbit_test): Likewise.
7046 (sin_test): Likewise.
7047 (sin_test_tonearest): Likewise.
7048 (sin_test_towardzero): Likewise.
7049 (sin_test_downward): Likewise.
7050 (sin_test_upward): Likewise.
7051 (sincos_test): Likewise.
7052 (sinh_test): Likewise.
7053 (sinh_test_tonearest): Likewise.
7054 (sinh_test_towardzero): Likewise.
7055 (sinh_test_downward): Likewise.
7056 (sinh_test_upward): Likewise.
7057 (sqrt_test): Likewise.
7058 (tan_test): Likewise.
7059 (tan_test_tonearest): Likewise.
7060 (tan_test_towardzero): Likewise.
7061 (tan_test_downward): Likewise.
7062 (tan_test_upward): Likewise.
7063 (tanh_test): Likewise.
7064 (tgamma_test): Likewise.
7065 (trunc_test): Likewise.
7066 (y0_test): Likewise.
7067 (y1_test): Likewise.
7068 (yn_test): Likewise.
7069 (significand_test): Likewise.
7070
bae143d2
OB
70712013-05-24 Ondřej Bílka <neleai@seznam.cz>
7072
7073 [BZ #15381]
7074 * libio/genops.c (_IO_no_init): Initialize wide struct info.
7075
9323d39b
EM
70762013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
7077
d4ea44a0 7078 [BZ #14894]
9323d39b
EM
7079 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
7080 __ppc_mdoio and __ppc_mdoom.
7081 * manual/platform.texi: Document new functions __ppc_yield,
7082 __ppc_mdoio and __ppc_mdoom.
7083
13e23af7
CD
70842013-05-22 Carlos O'Donell <carlos@redhat.com>
7085
7086 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
7087 (main): Mention "tls" pseudo-hwcap is legacy.
7088 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
7089
351fe550
JM
70902013-05-22 Joseph Myers <joseph@codesourcery.com>
7091
7092 * math/gen-libm-test.pl (parse_args): Output only string of
7093 arguments as text for test name, not full call or descriptions of
7094 tests for extra outputs.
7095 (generate_testfile): Do not pass function name to parse_args.
7096 Generate this_func variable from START.
7097 * math/libm-test.inc (struct test_f_f_data): Rename test_name
7098 field to arg_str.
7099 (struct test_ff_f_data): Likewise.
7100 (test_ff_f_data_nexttoward): Likewise.
7101 (struct test_fi_f_data): Likewise.
7102 (struct test_fl_f_data): Likewise.
7103 (struct test_if_f_data): Likewise.
7104 (struct test_fff_f_data): Likewise.
7105 (struct test_c_f_data): Likewise.
7106 (struct test_f_f1_data): Likewise. Remove field extra_name.
7107 (struct test_fF_f1_data): Likewise.
7108 (struct test_ffI_f1_data): Likewise.
7109 (struct test_c_c_data): Rename test_name field to arg_str.
7110 (struct test_cc_c_data): Likewise.
7111 (struct test_f_i_data): Likewise.
7112 (struct test_ff_i_data): Likewise.
7113 (struct test_f_l_data): Likewise.
7114 (struct test_f_L_data): Likewise.
7115 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
7116 and extra2_name.
7117 (COMMON_TEST_SETUP): New macro.
7118 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
7119 (COMMON_TEST_CLEANUP): Likewise.
7120 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
7121 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
7122 macros.
7123 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
7124 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
7125 macros.
7126 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
7127 (RUN_TEST_fff_f): Take argument string. Call new setup and
7128 cleanup macros.
7129 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
7130 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
7131 macros.
7132 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
7133 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
7134 macros.
7135 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7136 (RUN_TEST_fF_f1): Take argument string. Call new setup and
7137 cleanup macros.
7138 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7139 (RUN_TEST_fI_f1): Take argument string. Call new setup and
7140 cleanup macros.
7141 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7142 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
7143 cleanup macros.
7144 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7145 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
7146 macros.
7147 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
7148 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
7149 macros.
7150 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
7151 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
7152 macros.
7153 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
7154 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
7155 cleanup macros.
7156 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
7157 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
7158 cleanup macros.
7159 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
7160 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
7161 macros.
7162 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
7163 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
7164 cleanup macros.
7165 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
7166 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
7167 macros.
7168 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
7169 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
7170 macros.
7171 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
7172 (RUN_TEST_fFF_11): Take argument string. Call new setup and
7173 cleanup macros.
7174 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
7175
85118d4d
EBM
71762013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7177
7178 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
7179 to _sifields.sigfault.
7180 (si_addr_lsb): Define new macro.
7181 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7182 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7183 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
7184
7a44c18f
CD
71852013-05-03 Carlos O'Donell <carlos at redhat.com>
7186
7187 [BZ #15441]
7188 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
7189 returns -1.
7190 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
7191 null return -1.
7192 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
7193 loading the domain.
7194
b50a7181
JM
71952013-05-22 Joseph Myers <joseph@codesourcery.com>
7196
7197 * math/gen-libm-test.pl (parse_args): Do not include expected
7198 result in test name.
7199 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
7200 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7201 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7202 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7203 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7205
051063c8
SP
72062013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7207
3ce9e010
SP
7208 * benchtests/Makefile: Sort function entries.
7209
051063c8
SP
7210 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
7211 tanh, asinh, acosh, atanh.
7212 * benchtests/acos-inputs: New file.
7213 * benchtests/acosh-inputs: New file.
7214 * benchtests/asin-inputs: New file.
7215 * benchtests/asinh-inputs: New file.
7216 * benchtests/atanh-inputs: New file.
7217 * benchtests/cosh-inputs: New file.
7218 * benchtests/log-inputs: New file.
7219 * benchtests/sinh-inputs: New file.
7220 * benchtests/tanh-inputs: New file.
7221
47c22455
DL
72222013-05-21 Dmitry V. Levin <ldv@altlinux.org>
7223
7224 [BZ #15339]
7225 * posix/tst-getaddrinfo4.c: New test.
7226 * posix/Makefile (tests): Add it.
7227
3d04f5db
SP
72282013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7229
7230 [BZ #15339]
7231 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
7232 when no services were used.
7233 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
7234 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
7235
d5dd6189
AS
72362013-05-21 Andreas Schwab <schwab@suse.de>
7237
7238 [BZ #15014]
7239 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
7240 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
7241 successful.
7242 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
7243 redundant variable declarations and reallocation of buffer when
7244 parsing as IPv6 address. Always set NSS status when called from
7245 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
7246 buffer too small. Correct computation of needed size.
7247 * nss/Makefile (tests): Add test-digits-dots.
7248 * nss/test-digits-dots.c: New test.
7249
fef94eab
SP
72502013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7251
7252 * benchtests/Makefile: Remove instructions for adding
7253 benchmark tests.
7254 * benchtests/README: New file to explain how to execute and
7255 enhance the benchmark tests.
7256
e39adf43
AS
72572013-05-21 Andreas Schwab <schwab@suse.de>
7258
7259 [BZ #15493]
7260 * setjmp/Makefile (tests): Add tst-sigsetjmp.
7261 * setjmp/tst-sigsetjmp.c: New test.
7262
b2b671b6
OB
72632013-05-20 Ondřej Bílka <neleai@seznam.cz>
7264
7265 * sysdeps/x86_64/memset.S (memset): New implementation.
7266 (__bzero): Likewise.
7267 (__memset_tail): New function.
7268
2d48b41c
OB
72692013-05-20 Ondřej Bílka <neleai@seznam.cz>
7270
7271 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
7272 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
7273 __memcpy_sse2_unaligned ifunc selection.
7274 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7275 Add memcpy-sse2-unaligned.S.
7276 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7277 Add: __memcpy_sse2_unaligned.
7278
f16cc3eb
JM
72792013-05-19 Joseph Myers <joseph@codesourcery.com>
7280
3e694268
JM
7281 [BZ #15490]
7282 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7283 math_force_eval before restoring floating-point envrionment.
7284 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
7285 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
7286 Likewise.
7287 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
7288 <math_private.h>.
7289 (__nearbyintl): Use math_force_eval before restoring
7290 floating-point environment.
7291 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
7292
db62a907
JM
7293 * math/gen-libm-test.pl (special_functions): Remove.
7294 (parse_args): Don't handle TEST_extra. Handle functions with no
7295 return value.
7296 * math/libm-test.inc (struct test_sincos_data): Replace with
7297 struct test_fFF_11_data.
7298 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
7299 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
7300 (sincos_test_data): Change element type to struct
7301 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
7302 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
7303 RUN_TEST_LOOP_sincos.
7304 * math/README.libm-test: Don't mention special handling of
7305 individual functions.
7306 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
7307 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7308 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7309 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7310 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7312
f16cc3eb
JM
7313 * math/gen-libm-test.pl (get_variable): Remove function.
7314 (parse_args): Don't show pointer parameters to call in test
7315 names. Use "extra output N" in test names for extra outputs
7316 rather than naming variables.
7317
3779b5b6
JM
73182013-05-18 Joseph Myers <joseph@codesourcery.com>
7319
2ee094ff
JM
7320 [BZ #15488]
7321 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
7322 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
7323 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
7324 double tests.
7325 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
7326 disable.
7327 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
7328 check_long_double.
7329
3779b5b6
JM
7330 * math/gen-libm-test.pl (@tests): Remove variable.
7331 ($count): Likewise.
7332 (new_test): Remove function.
7333 (show_exceptions): New function.
7334 (special_functions): Use show_exceptions instead of new_test.
7335 (parse_args): Likewise.
7336 (generate_testfile): Pass only function name in generated call to
7337 print_max_error or print_complex_max_error.
7338 (get_ulps): Do not handle complex tests specially.
7339 (output_test): Rename to ...
7340 (get_all_ulps_for_test): ... this. Return a string rather than
7341 printing to a file. Require ulps to be present.
7342 (output_ulps): Generate arrays rather than #defines.
7343 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
7344 (struct ulp_data): New type.
7345 (BUILD_COMPLEX_ULP): Remove macro.
7346 (compare_ulp_data): New function.
7347 (find_ulps): Likewise.
7348 (find_test_ulps): Likewise.
7349 (find_function_ulps): Likewise.
7350 (find_complex_function_ulps): Likewise.
7351 (print_max_error): Determine allowed ulps using
7352 find_function_ulps.
7353 (print_complex_max_error): Determine allowed ulps using
7354 find_complex_function_ulps.
7355 (check_float_internal): Determine max ulps using find_test_ulps.
7356 (check_float): Do not take max_ulp parameter. Update call to
7357 check_float_internal.
7358 (check_complex): Likewise.
7359 (check_int): Do not take max_ulp parameter.
7360 (check_long): Likewise.
7361 (check_bool): Likewise.
7362 (check_longlong): Likewise.
7363 (struct test_f_f_data): Remove max_ulp field.
7364 (struct test_ff_f_data): Likewise.
7365 (struct test_ff_f_data_nexttoward): Likewise.
7366 (struct test_fi_f_data): Likewise.
7367 (struct test_fl_f_data): Likewise.
7368 (struct test_if_f_data): Likewise.
7369 (struct test_fff_f_data): Likewise.
7370 (struct test_c_f_data): Likewise.
7371 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
7372 (struct test_fF_f1_data): Likewise.
7373 (struct test_ffI_f1_data): Likewise.
7374 (struct test_c_c_data): Remove max_ulp field.
7375 (struct test_cc_c_data): Likewise.
7376 (struct test_f_i_data): Likewise.
7377 (struct test_ff_i_data): Likewise.
7378 (struct test_f_l_data): Likewise.
7379 (struct test_f_L_data): Likewise.
7380 (struct test_sincos_data): Likewise.
7381 (RUN_TEST_f_f): Do not handle ulps.
7382 (RUN_TEST_LOOP_f_f): Likewise.
7383 (RUN_TEST_2_f): Likewise.
7384 (RUN_TEST_LOOP_2_f): Likewise.
7385 (RUN_TEST_fff_f): Likewise.
7386 (RUN_TEST_LOOP_fff_f): Likewise.
7387 (RUN_TEST_c_f): Likewise.
7388 (RUN_TEST_LOOP_c_f): Likewise.
7389 (RUN_TEST_f_f1): Likewise.
7390 (RUN_TEST_LOOP_f_f1): Likewise.
7391 (RUN_TEST_fF_f1): Likewise.
7392 (RUN_TEST_LOOP_fF_f1): Likewise.
7393 (RUN_TEST_fI_f1): Likewise.
7394 (RUN_TEST_LOOP_fI_f1): Likewise.
7395 (RUN_TEST_ffI_f1): Likewise.
7396 (RUN_TEST_LOOP_ffI_f1): Likewise.
7397 (RUN_TEST_c_c): Likewise.
7398 (RUN_TEST_LOOP_c_c): Likewise.
7399 (RUN_TEST_cc_c): Likewise.
7400 (RUN_TEST_LOOP_cc_c): Likewise.
7401 (RUN_TEST_f_i): Likewise.
7402 (RUN_TEST_LOOP_f_i): Likewise.
7403 (RUN_TEST_f_i_tg): Likewise.
7404 (RUN_TEST_LOOP_f_i_tg): Likewise.
7405 (RUN_TEST_ff_i_tg): Likewise.
7406 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7407 (RUN_TEST_f_b): Likewise.
7408 (RUN_TEST_LOOP_f_b): Likewise.
7409 (RUN_TEST_f_b_tg): Likewise.
7410 (RUN_TEST_LOOP_f_b_tg): Likewise.
7411 (RUN_TEST_f_l): Likewise.
7412 (RUN_TEST_LOOP_f_l): Likewise.
7413 (RUN_TEST_f_L): Likewise.
7414 (RUN_TEST_LOOP_f_L): Likewise.
7415 (RUN_TEST_sincos): Likewise.
7416 (RUN_TEST_LOOP_sincos): Likewise.
7417
8269107f
JM
74182013-05-17 Joseph Myers <joseph@codesourcery.com>
7419
bb38759d
JM
7420 [BZ #15480]
7421 [BZ #15485]
7422 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
7423 main case of finite arguments, set rounding mode to FE_TONEAREST
7424 and discard exceptions.
7425 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
7426 exceptions.
7427 (remainder_tonearest_test_data): New variable.
7428 (remainder_test_tonearest): New function.
7429 (remainder_towardzero_test_data): New variable.
7430 (remainder_test_towardzero): New function.
7431 (remainder_downward_test_data): New variable.
7432 (remainder_test_downward): New function.
7433 (remainder_upward_test_data): New variable.
7434 (remainder_test_upward): New function.
7435 (main): Call the new test functions.
7436
a00bdcf0
JM
7437 * math/libm-test.inc (struct test_f_f1_data): Remove field
7438 extra_init.
7439 (struct test_fF_f1_data): Likewise.
7440 (struct test_ffI_f1_data): Likewise.
7441 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
7442 based on value of EXTRA_EXPECTED.
7443 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7444 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
7445 EXTRA_VAR based on value of EXTRA_EXPECTED.
7446 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7447 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
7448 EXTRA_VAR based on value of EXTRA_EXPECTED.
7449 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7450 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
7451 EXTRA_VAR based on value of EXTRA_EXPECTED.
7452 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7453 * math/gen-libm-test.pl (parse_args): Don't output initializers
7454 for extra output values.
7455
de407f79
JM
7456 * math/libm-test.inc (check_int): Expect result to be exactly
7457 equal to expected value and do not handle ulps.
7458 (check_long): Likewise.
7459 (check_longlong): Likewise.
7460
8269107f
JM
7461 * math/libm-test.inc (ceil_test_data): Test for "inexact"
7462 exceptions.
7463 (cimag_test_data): Likewise.
7464 (conj_test_data): Likewise.
7465 (copysign_test_data): Likewise.
7466 (cproj_test_data): Likewise.
7467 (creal_test_data): Likewise.
7468 (fabs_test_data): Likewise.
7469 (fdim_test_data): Likewise.
7470 (finite_test_data): Likewise.
7471 (floor_test_data): Likewise.
7472 (fmax_test_data): Likewise.
7473 (fmin_test_data): Likewise.
7474 (fmod_test_data): Likewise.
7475 (fpclassify_test_data): Likewise.
7476 (frexp_test_data): Likewise.
7477 (ilogb_test_data): Likewise.
7478 (isfinite_test_data): Likewise.
7479 (isgreater_test_data): Likewise.
7480 (isgreaterequal_test_data): Likewise.
7481 (isinf_test_data): Likewise.
7482 (isless_test_data): Likewise.
7483 (islessequal_test_data): Likewise.
7484 (islessgreater_test_data): Likewise.
7485 (isnan_test_data): Likewise.
7486 (isnormal_test_data): Likewise.
7487 (issignaling_test_data): Likewise.
7488 (isunordered_test_data): Likewise.
7489 (ldexp_test_data): Likewise.
7490 (lrint_test_data): Likewise.
7491 (lrint_test_data) [TEST_FLOAT]: Disable one test.
7492 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
7493 (lrint_tonearest_test_data): Test for "inexact" exceptions.
7494 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7495 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
7496 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7497 test input.
7498 (lrint_towardzero_test_data): Test for "inexact" exceptions.
7499 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7500 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
7501 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
7502 that test input.
7503 (lrint_downward_test_data): Test for "inexact" exceptions.
7504 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7505 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
7506 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7507 test input.
7508 (lrint_upward_test_data): Test for "inexact" exceptions.
7509 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
7510 test input.
7511 (llrint_test_data): Test for "inexact" exceptions.
7512 (llrint_test_data) [TEST_FLOAT]: Disable one test.
7513 (llrint_tonearest_test_data): Test for "inexact" exceptions.
7514 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7515 (llrint_towardzero_test_data): Test for "inexact" exceptions.
7516 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7517 (llrint_downward_test_data): Test for "inexact" exceptions.
7518 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7519 (llrint_upward_test_data): Test for "inexact" exceptions.
7520 (logb_test_data): Likewise.
7521 (logb_downward_test_data): Likewise.
7522 (nextafter_test_data): Likewise.
7523 (nexttoward_test_data): Likewise.
7524 (remainder_test_data): Likewise.
7525 (remquo_test_data): Likewise.
7526 (scalbn_test_data): Likewise.
7527 (scalbln_test_data): Likewise.
7528 (signbit_test_data): Likewise.
7529 (sqrt_test_data): Likewise.
7530 (significand_test_data): Likewise.
7531
48a18de1
SP
75322013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7533
7534 [BZ #15424]
7535 * benchtests/bench-modf.c (struct args): Mark arg0 as
7536 volatile.
7537 * scripts/bench.pl: Mark members of struct args as volatile.
7538
13d3b41a
AZ
75392013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7540
68191c1d 7541 [BZ # 15497]
13d3b41a
AZ
7542 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
7543 negative infinity on POWER6 or lower.
7544 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
7545
2848b105
MR
75462013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
7547
7548 [BZ #15442]
7549 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
7550 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
7551 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
7552 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
7553 (_FP_SETQNAN): New macro.
7554 (_FP_SETQNAN_SEMIRAW): Likewise.
7555 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
7556 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
7557 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
7558 (FP_EXTEND): Use _FP_FRAC_SNANP.
7559 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
7560 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
7561 into account.
7562 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7563 New macro.
7564 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7565 Likewise.
7566
323e5cb7
JM
75672013-05-16 Joseph Myers <joseph@codesourcery.com>
7568
c58b274f
JM
7569 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
7570 with DIVIDE_BY_ZERO_EXCEPTION.
7571 (gamma_test_data): Likewise.
7572 (lgamma_test_data): Likewise.
7573 (log_test_data): Likewise.
7574 (log10_test_data): Likewise.
7575 (log2_test_data): Likewise.
7576 (tgamma_test_data): Likewise.
7577
0ab34904
JM
7578 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
7579 (acos_test_tonearest): Likewise.
7580 (acos_test_towardzero): Likewise.
7581 (acos_test_downward): Likewise.
7582 (acos_test_upward): Likewise.
7583 (acosh_test): Likewise.
7584 (asin_test): Likewise.
7585 (asin_test_tonearest): Likewise.
7586 (asin_test_towardzero): Likewise.
7587 (asin_test_downward): Likewise.
7588 (asin_test_upward): Likewise.
7589 (asinh_test): Likewise.
7590 (atan_test): Likewise.
7591 (atanh_test): Likewise.
7592 (atan2_test): Likewise.
7593 (cabs_test): Likewise.
7594 (cacos_test): Likewise.
7595 (cacosh_test): Likewise.
7596 (casin_test): Likewise.
7597 (casinh_test): Likewise.
7598 (catan_test): Likewise.
7599 (catanh_test): Likewise.
7600 (cbrt_test): Likewise.
7601 (ccos_test): Likewise.
7602 (ccosh_test): Likewise.
7603 (cexp_test): Likewise.
7604 (clog_test): Likewise.
7605 (clog10_test): Likewise.
7606 (cos_test): Likewise.
7607 (cos_test_tonearest): Likewise.
7608 (cos_test_towardzero): Likewise.
7609 (cos_test_downward): Likewise.
7610 (cos_test_upward): Likewise.
7611 (cosh_test): Likewise.
7612 (cosh_test_tonearest): Likewise.
7613 (cosh_test_towardzero): Likewise.
7614 (cosh_test_downward): Likewise.
7615 (cosh_test_upward): Likewise.
7616 (cpow_test): Likewise.
7617 (csin_test): Likewise.
7618 (csinh_test): Likewise.
7619 (csqrt_test): Likewise.
7620 (ctan_test): Likewise.
7621 (ctan_test_tonearest): Likewise.
7622 (ctan_test_towardzero): Likewise.
7623 (ctan_test_downward): Likewise.
7624 (ctan_test_upward): Likewise.
7625 (ctanh_test): Likewise.
7626 (ctanh_test_tonearest): Likewise.
7627 (ctanh_test_towardzero): Likewise.
7628 (ctanh_test_downward): Likewise.
7629 (ctanh_test_upward): Likewise.
7630 (erf_test): Likewise.
7631 (erfc_test): Likewise.
7632 (exp_test): Likewise.
7633 (exp_test_tonearest): Likewise.
7634 (exp_test_towardzero): Likewise.
7635 (exp_test_downward): Likewise.
7636 (exp_test_upward): Likewise.
7637 (exp10_test): Likewise.
7638 (exp2_test): Likewise.
7639 (expm1_test): Likewise.
7640 (fmod_test): Likewise.
7641 (gamma_test): Likewise.
7642 (hypot_test): Likewise.
7643 (j0_test): Likewise.
7644 (j1_test): Likewise.
7645 (jn_test): Likewise.
7646 (lgamma_test): Likewise.
7647 (log_test): Likewise.
7648 (log10_test): Likewise.
7649 (log1p_test): Likewise.
7650 (log2_test): Likewise.
7651 (logb_test_downward): Likewise.
7652 (pow_test): Likewise.
7653 (pow_test_tonearest): Likewise.
7654 (pow_test_towardzero): Likewise.
7655 (pow_test_downward): Likewise.
7656 (pow_test_upward): Likewise.
7657 (remainder_test): Likewise.
7658 (remquo_test): Likewise.
7659 (sin_test): Likewise.
7660 (sin_test_tonearest): Likewise.
7661 (sin_test_towardzero): Likewise.
7662 (sin_test_downward): Likewise.
7663 (sin_test_upward): Likewise.
7664 (sincos_test): Likewise.
7665 (sinh_test): Likewise.
7666 (sinh_test_tonearest): Likewise.
7667 (sinh_test_towardzero): Likewise.
7668 (sinh_test_downward): Likewise.
7669 (sinh_test_upward): Likewise.
7670 (sqrt_test): Likewise.
7671 (tan_test): Likewise.
7672 (tan_test_tonearest): Likewise.
7673 (tan_test_towardzero): Likewise.
7674 (tan_test_downward): Likewise.
7675 (tan_test_upward): Likewise.
7676 (tanh_test): Likewise.
7677 (tgamma_test): Likewise.
7678 (y0_test): Likewise.
7679 (y1_test): Likewise.
7680 (yn_test): Likewise.
7681
323e5cb7
JM
7682 * math/gen-libm-test.pl (adjust_arg): Remove function.
7683 (special_function): Remove argument $in_func. Only handle
7684 generating output for tables of tests, not inside functions.
7685 (parse_args): Likewise.
7686 (generate_testfile): Remove variable $in_func. Update call to
7687 parse_args.
7688 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
7689 (MINUS_ZERO_INIT): Rename macro to minus_zero.
7690 (PLUS_INFTY_INIT): Rename macro to plus_infty.
7691 (MINUS_INFTY_INIT): Rename macro to minus_infty.
7692 (QNAN_VALUE_INIT): Rename macro to qnan_value.
7693 (MAX_VALUE_INIT): Rename macro to max_value.
7694 (MIN_VALUE_INIT): Rename macro to min_value.
7695 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
7696 (plus_zero): Remove variable.
7697 (minus_zero): Likewise.
7698 (plus_infty): Likewise.
7699 (minus_infty): Likewise.
7700 (qnan_value): Likewise.
7701 (max_value): Likewise.
7702 (min_value): Likewise.
7703 (min_subnorm_value): Likewise.
7704
e054f494
RA
77052013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7706
7707 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
7708 uint64_t or uint32_t usage.
7709 * crypt/sha256-block.c: Likewise.
7710 * crypt/sha256-crypt.c: Likewise.
7711 * crypt/sha256.c: Likewise.
7712 * crypt/sha512-block.c: Likewise.
7713 * crypt/sha512-crypt.c: Likewise.
7714 * crypt/sha512.c: Likewise.
7715 * debug/backtrace-tst.c: Likewise.
7716 * debug/pcprofiledump.c: Likewise.
7717 * elf/cache.c: Likewise.
7718 * elf/dl-cache.c: Likewise.
7719 * elf/dl-misc.c: Likewise.
7720 * elf/dl-profile.c: Likewise.
7721 * elf/dl-support.c: Likewise.
7722 * elf/ldconfig.c: Likewise.
7723 * elf/sprof.c: Likewise.
7724 * iconv/dummy-repertoire.c: Likewise.
7725 * iconv/iconv_charmap.c: Likewise.
7726 * iconv/skeleton.c: Likewise.
7727 * iconvdata/8bit-generic.c: Likewise.
7728 * iconvdata/cp737.h: Likewise.
7729 * iconvdata/cp775.h: Likewise.
7730 * iconvdata/ibm1008.h: Likewise.
7731 * iconvdata/ibm1025.h: Likewise.
7732 * iconvdata/ibm1046.h: Likewise.
7733 * iconvdata/ibm1097.h: Likewise.
7734 * iconvdata/ibm1112.h: Likewise.
7735 * iconvdata/ibm1122.h: Likewise.
7736 * iconvdata/ibm1123.h: Likewise.
7737 * iconvdata/ibm1124.h: Likewise.
7738 * iconvdata/ibm1129.h: Likewise.
7739 * iconvdata/ibm1130.h: Likewise.
7740 * iconvdata/ibm1132.h: Likewise.
7741 * iconvdata/ibm1133.h: Likewise.
7742 * iconvdata/ibm1137.h: Likewise.
7743 * iconvdata/ibm1140.h: Likewise.
7744 * iconvdata/ibm1141.h: Likewise.
7745 * iconvdata/ibm1142.h: Likewise.
7746 * iconvdata/ibm1143.h: Likewise.
7747 * iconvdata/ibm1144.h: Likewise.
7748 * iconvdata/ibm1145.h: Likewise.
7749 * iconvdata/ibm1146.h: Likewise.
7750 * iconvdata/ibm1147.h: Likewise.
7751 * iconvdata/ibm1148.h: Likewise.
7752 * iconvdata/ibm1149.h: Likewise.
7753 * iconvdata/ibm1153.h: Likewise.
7754 * iconvdata/ibm1154.h: Likewise.
7755 * iconvdata/ibm1155.h: Likewise.
7756 * iconvdata/ibm1156.h: Likewise.
7757 * iconvdata/ibm1157.h: Likewise.
7758 * iconvdata/ibm1158.h: Likewise.
7759 * iconvdata/ibm1160.h: Likewise.
7760 * iconvdata/ibm1161.h: Likewise.
7761 * iconvdata/ibm1162.h: Likewise.
7762 * iconvdata/ibm1163.h: Likewise.
7763 * iconvdata/ibm1164.h: Likewise.
7764 * iconvdata/ibm1166.h: Likewise.
7765 * iconvdata/ibm1167.h: Likewise.
7766 * iconvdata/ibm12712.h: Likewise.
7767 * iconvdata/ibm1390.h: Likewise.
7768 * iconvdata/ibm1399.h: Likewise.
7769 * iconvdata/ibm16804.h: Likewise.
7770 * iconvdata/ibm4517.h: Likewise.
7771 * iconvdata/ibm4899.h: Likewise.
7772 * iconvdata/ibm4909.h: Likewise.
7773 * iconvdata/ibm4971.h: Likewise.
7774 * iconvdata/ibm5347.h: Likewise.
7775 * iconvdata/ibm803.h: Likewise.
7776 * iconvdata/ibm856.h: Likewise.
7777 * iconvdata/ibm901.h: Likewise.
7778 * iconvdata/ibm902.h: Likewise.
7779 * iconvdata/ibm9030.h: Likewise.
7780 * iconvdata/ibm9066.h: Likewise.
7781 * iconvdata/ibm921.h: Likewise.
7782 * iconvdata/ibm922.h: Likewise.
7783 * iconvdata/ibm9448.h: Likewise.
7784 * iconvdata/isiri-3342.h: Likewise.
7785 * iconvdata/jis0201.h: Likewise.
7786 * include/link.h: Likewise.
7787 * include/netdb.h: Likewise.
7788 * inet/check_native.c: Likewise.
7789 * inet/check_pf.c: Likewise.
7790 * inet/getipv4sourcefilter.c: Likewise.
7791 * inet/getnameinfo.c: Likewise.
7792 * inet/getsourcefilter.c: Likewise.
7793 * inet/htonl.c: Likewise.
7794 * inet/setipv4sourcefilter.c: Likewise.
7795 * inet/setsourcefilter.c: Likewise.
7796 * inet/test-inet6_opt.c: Likewise.
7797 * inet/tst-network.c: Likewise.
7798 * locale/C-collate.c: Likewise.
7799 * locale/C-ctype.c: Likewise.
7800 * locale/C-time.c: Likewise.
7801 * locale/C-translit.h: Likewise.
7802 * locale/loadarchive.c: Likewise.
7803 * locale/programs/3level.h: Likewise.
7804 * locale/programs/charmap.c: Likewise.
7805 * locale/programs/charmap.h: Likewise.
7806 * locale/programs/ld-address.c: Likewise.
7807 * locale/programs/ld-collate.c: Likewise.
7808 * locale/programs/ld-ctype.c: Likewise.
7809 * locale/programs/ld-identification.c: Likewise.
7810 * locale/programs/ld-measurement.c: Likewise.
7811 * locale/programs/ld-messages.c: Likewise.
7812 * locale/programs/ld-monetary.c: Likewise.
7813 * locale/programs/ld-name.c: Likewise.
7814 * locale/programs/ld-numeric.c: Likewise.
7815 * locale/programs/ld-paper.c: Likewise.
7816 * locale/programs/ld-telephone.c: Likewise.
7817 * locale/programs/ld-time.c: Likewise.
7818 * locale/programs/linereader.c: Likewise.
7819 * locale/programs/locale.c: Likewise.
7820 * locale/programs/locarchive.c: Likewise.
7821 * locale/programs/locfile.h: Likewise.
7822 * locale/programs/repertoire.c: Likewise.
7823 * locale/programs/simple-hash.c: Likewise.
7824 * locale/programs/simple-hash.h: Likewise.
7825 * malloc/memusage.c: Likewise.
7826 * malloc/memusagestat.c: Likewise.
7827 * nis/nis_defaults.c: Likewise.
7828 * nis/nis_hash.c: Likewise.
7829 * nis/nis_print.c: Likewise.
7830 * nis/nis_xdr.c: Likewise.
7831 * nscd/connections.c: Likewise.
7832 * nscd/hstcache.c: Likewise.
7833 * nscd/nscd_gethst_r.c: Likewise.
7834 * nscd/nscd_getserv_r.c: Likewise.
7835 * nscd/nscd_helper.c: Likewise.
7836 * nscd/servicescache.c: Likewise.
7837 * nss/makedb.c: Likewise.
7838 * nss/nss_db/db-XXX.c: Likewise.
7839 * nss/nss_db/db-initgroups.c: Likewise.
7840 * nss/nss_db/db-netgrp.c: Likewise.
7841 * nss/nss_files/files-network.c: Likewise.
7842 * nss/nss_files/files-parse.c: Likewise.
7843 * posix/bug-regex5.c: Likewise.
7844 * posix/fnmatch_loop.c: Likewise.
7845 * posix/regcomp.c: Likewise.
7846 * posix/regexec.c: Likewise.
7847 * posix/tst-rfc3484-2.c: Likewise.
7848 * posix/tst-rfc3484-3.c: Likewise.
7849 * posix/tst-rfc3484.c: Likewise.
7850 * resolv/nss_dns/dns-canon.c: Likewise.
7851 * resolv/nss_dns/dns-network.c: Likewise.
7852 * resolv/res_init.c: Likewise.
7853 * resolv/res_mkquery.c: Likewise.
7854 * resolv/tst-aton.c: Likewise.
7855 * stdlib/cxa_atexit.c: Likewise.
7856 * stdlib/cxa_finalize.c: Likewise.
7857 * stdlib/gen-fpioconst.c: Likewise.
7858 * stdlib/strtol_l.c: Likewise.
7859 * string/tst-endian.c: Likewise.
7860 * sunrpc/auth_des.c: Likewise.
7861 * sunrpc/clnt_udp.c: Likewise.
7862 * sunrpc/rtime.c: Likewise.
7863 * sunrpc/svcauth_des.c: Likewise.
7864 * sunrpc/xdr.c: Likewise.
7865 * sunrpc/xdr_intXX_t.c: Likewise.
7866 * sunrpc/xdr_rec.c: Likewise.
7867 * sysdeps/generic/ldconfig.h: Likewise.
7868 * sysdeps/generic/ldsodefs.h: Likewise.
7869 * sysdeps/generic/memusage.h: Likewise.
7870 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7871 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
7872 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
7873 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7874 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7875 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7876 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7877 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7878 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7879 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7880 * sysdeps/posix/getaddrinfo.c: Likewise.
7881 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7882 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7883 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7884 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7885 * sysdeps/powerpc/test-gettimebase.c: Likewise.
7886 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7887 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
7888 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
7889 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7890 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
7891 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7892 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7893 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
7894 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
7895 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
7896 * sysdeps/x86_64/dl-tls.h: Likewise.
7897 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
7898 * time/alt_digit.c: Likewise.
7899 * time/era.c: Likewise.
7900 * wcsmbs/tst-c16c32-1.c: Likewise.
7901
8c75f674
JM
79022013-05-16 Joseph Myers <joseph@codesourcery.com>
7903
7904 * math/libm-test.inc (struct test_sincos_data): New type.
7905 (RUN_TEST_LOOP_sincos): New macro.
7906 (sincos_test_data): New variable.
7907 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
7908
e6e49e59
RH
79092013-05-16 Richard Henderson <rth@redhat.com>
7910
7911 * math/atest-exp2.c (LIMB64): New macro.
7912 (CONSTSZ): New macro.
7913 (mp_exp1, mp_exp_m1, mp_log2): New variables.
7914 (hexdig): Move ...
7915 (print_mpn_fp): ... to function scope.
7916 (read_mpn_hex): Remove.
7917 (get_log2): Remove.
7918 (exp2_mpn): Use mp_log2.
7919 (main): Use mp_exp1.
7920
15c7c18d
JM
79212013-05-16 Joseph Myers <joseph@codesourcery.com>
7922
105a07df
JM
7923 * math/libm-test.inc: Remove comment about not testing "inexact"
7924 exceptions.
7925 (INEXACT_EXCEPTION): New macro.
7926 (NO_INEXACT_EXCEPTION): Likewise.
7927 (INVALID_EXCEPTION_OK): Update value.
7928 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7929 (OVERFLOW_EXCEPTION_OK): Likewise.
7930 (UNDERFLOW_EXCEPTION_OK): Likewise.
7931 (IGNORE_ZERO_INF_SIGN): Likewise.
7932 (ERRNO_UNCHANGED): Likewise.
7933 (ERRNO_EDOM): Likewise.
7934 (ERRNO_ERANGE): Likewise.
7935 (test_exceptions): Handle testing "inexact" exceptions.
7936 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
7937 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
7938 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
7939 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
7940 INEXACT_EXCEPTION.
7941 (rint_towardzero_test_data): Likewise.
7942 (rint_downward_test_data): Likewise.
7943 (rint_upward_test_data): Likewise.
7944
e9eee333
JM
7945 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
7946 with OVERFLOW_EXCEPTION.
7947 (exp10_test_data): Likewise.
7948 (exp2_test_data): Likewise.
7949 (expm1_test_data): Likewise.
7950 (lgamma_test_data): Likewise.
7951 (pow_test_data): Likewise.
7952 (tgamma_test_data): Likewise.
7953 (yn_test_data): Remove duplicate test of overflow.
7954
1c38ff73
JM
7955 * math/libm-test.inc (struct test_cc_c_data): New type.
7956 (RUN_TEST_LOOP_cc_c): New macro.
7957 (cpow_test_data): New variable.
7958 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
7959
15c7c18d
JM
7960 * math/libm-test.inc (struct test_f_L_data): New type.
7961 (RUN_TEST_LOOP_f_L): New macro.
7962 (llrint_test_data): New variable.
7963 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
7964 (llrint_tonearest_test_data): New variable.
7965 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
7966 (llrint_towardzero_test_data): New variable.
7967 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
7968 (llrint_downward_test_data): New variable.
7969 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
7970 (llrint_upward_test_data): New variable.
7971 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
7972 (llround_test_data): New variable.
7973 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
7974
f137ff13
PC
79752013-05-13 Peter Collingbourne <pcc@google.com>
7976
7977 * math/atest-exp2.c (get_log2): Remove const attribute.
7978
3608cb24
JM
79792013-05-15 Joseph Myers <joseph@codesourcery.com>
7980
7981 * math/libm-test.inc (struct test_f_l_data): New type.
7982 (RUN_TEST_LOOP_f_l): New macro.
7983 (lrint_test_data): New variable.
7984 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
7985 (lrint_tonearest_test_data): New variable.
7986 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
7987 (lrint_towardzero_test_data): New variable.
7988 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
7989 (lrint_downward_test_data): New variable.
7990 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
7991 (lrint_upward_test_data): New variable.
7992 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
7993 (lround_test_data): New variable.
7994 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
7995
39b1f617
PC
79962013-05-15 Peter Collingbourne <pcc@google.com>
7997
1deff3dc
PC
7998 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
7999 (EXTRACT_WORDS64) Use where appropriate.
8000 (INSERT_WORDS64) Likewise.
8001
791f3ba0
PC
8002 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
8003 constraints with x constraints.
8004 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
8005
39b1f617
PC
8006 * malloc/obstack.c (_obstack_compat): Add initializer.
8007
12fba011
EM
80082013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
8009
8010 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
8011 si_trapno and add si_addr_lsb to _sifields.sigfault.
8012 (si_trapno): Remove macro.
8013 (si_addr_lsb): Define new macro.
8014 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8015
d369f531
JM
80162013-05-15 Joseph Myers <joseph@codesourcery.com>
8017
b861c6c4
JM
8018 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
8019 instead of TEST_f_l.
8020 (llrint_test_tonearest): Likewise.
8021 (llrint_test_towardzero): Likewise.
8022 (llrint_test_downward): Likewise.
8023 (llrint_test_upward): Likewise.
8024 (llround_test): Likewise.
8025
7abeee12
JM
8026 * math/libm-test.inc (struct test_f_i_data): Add comment.
8027 (RUN_TEST_LOOP_f_b): New macro.
8028 (RUN_TEST_LOOP_f_b_tg): Likewise.
8029 (finite_test_data): New variable.
8030 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
8031 (isfinite_test_data): New variable.
8032 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8033 (isinf_test_data): New variable.
8034 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8035 (isnan_test_data): New variable.
8036 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8037 (isnormal_test_data): New variable.
8038 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8039 (issignaling_test_data): New variable.
8040 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8041 (signbit_test_data): New variable.
8042 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8043
cbe8c4d3
JM
8044 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
8045 with INVALID_EXCEPTION.
8046 (acosh_test_data): Likewise.
8047 (asin_test_data): Likewise.
8048 (atanh_test_data): Likewise.
8049 (fmod_test_data): Likewise.
8050 (log_test_data): Likewise.
8051 (log10_test_data): Likewise.
8052 (log2_test_data): Likewise.
8053 (pow_test_data): Likewise.
8054 (sqrt_test_data): Likewise.
8055 (y0_test_data): Likewise.
8056 (y1_test_data): Likewise.
8057 (yn_test_data): Likewise.
8058
5575c0e5
JM
8059 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
8060 function contents.
8061
d369f531
JM
8062 * math/libm-test.inc (struct test_ff_i_data): New type.
8063 (RUN_TEST_LOOP_ff_i_tg): New macro.
8064 (isgreater_test_data): New variable.
8065 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8066 (isgreaterequal_test_data): New variable.
8067 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8068 (isless_test_data): New variable.
8069 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8070 (islessequal_test_data): New variable.
8071 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8072 (islessgreater_test_data): New variable.
8073 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8074 (isunordered_test_data): New variable.
8075 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8076
781fd748
DM
80772013-05-14 David S. Miller <davem@davemloft.net>
8078
8079 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8080
87aa21df
JM
80812013-05-14 Joseph Myers <joseph@codesourcery.com>
8082
5e908270
JM
8083 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
8084
f71172e5
JM
8085 * math/libm-test.inc (struct test_fF_f1_data): Change type of
8086 extra_test to int.
8087 (struct test_f_i_data): Change type of max_ulp to int.
8088
8cfa635a
JM
8089 * math/libm-test.inc (test_ffI_f1_data): New type.
8090 (RUN_TEST_LOOP_ffI_f1): New macro.
8091 (remquo_test_data): New variable.
8092 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
8093
2bcb36b2
JM
8094 * setjmp/tst-setjmp-fp.c: New file.
8095 * setjmp/Makefile (tests): Add tst-setjmp-fp.
8096 (link-libm): New variable.
8097 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
8098
acbd839a
JM
8099 * math/libm-test.inc (struct test_f_i_data): New type.
8100 (RUN_TEST_LOOP_f_i): New macro.
8101 (RUN_TEST_LOOP_f_i_tg): Likewise.
8102 (fpclassify_test_data): New variable.
8103 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
8104 (ilogb_test_data): New variable.
8105 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
8106
e414d745
JM
8107 * math/libm-test.inc (scalbln_test): Correct function name in END
8108 call.
8109
d9c2a0fd
JM
8110 * math/libm-test.inc (struct test_f_f1_data): Add comment.
8111 (RUN_TEST_LOOP_fI_f1): New macro.
8112 (frexp_test_data): New variable.
8113 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
8114
9dc9095d
JM
8115 * math/libm-test.inc (struct test_fF_f1_data): New type.
8116 (RUN_TEST_LOOP_fF_f1): New macro.
8117 (modf_test_data): New variable.
8118 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
8119
87aa21df
JM
8120 * math/libm-test.inc (struct test_f_f1_data): New type.
8121 (RUN_TEST_LOOP_f_f1): New macro.
8122 (gamma_test_data): New variable.
8123 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8124 (lgamma_test_data): New variable.
8125 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8126
141af660
CD
81272013-05-13 Carlos O'Donell <carlos@redhat.com>
8128
8129 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
8130 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
8131 (main): Comment "tls" pseudo-hwcap.
8132
6d33265c
JM
81332013-05-13 Joseph Myers <joseph@codesourcery.com>
8134
68fc074c
JM
8135 * math/libm-test.inc (struct test_fl_f_data): New type.
8136 (RUN_TEST_LOOP_fl_f): New variable.
8137 (scalbln_test_data): New variable.
8138 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
8139
243216e1
JM
8140 * math/libm-test.inc (struct test_fi_f_data): New type.
8141 (RUN_TEST_LOOP_fi_f): New macro.
8142 (ldexp_test_data): New variable.
8143 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
8144 (scalbn_test_data): New variable.
8145 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
8146
6a1992e2
JM
8147 * math/libm-test.inc (struct test_c_f_data): New type.
8148 (RUN_TEST_LOOP_c_f): New macro.
8149 (cabs_test_data): New variable.
8150 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
8151 (carg_test_data): New variable.
8152 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
8153 (cimag_test_data): New variable.
8154 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
8155 (creal_test_data): New variable.
8156 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
8157
0e400df5
JM
8158 * math/libm-test.inc (struct test_if_f_data): New type.
8159 (RUN_TEST_LOOP_if_f): New macro.
8160 (jn_test_data): New variable.
8161 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
8162 (yn_test_data): New variable.
8163 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
8164
6d33265c
JM
8165 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
8166
f98ece5f
AZ
81672013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8168
8169 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
8170 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
8171
0f7d347b
SP
81722013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8173
43fe811b
SP
8174 * benchtests/Makefile (CPPFLAGS-nonlib): Add
8175 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
8176 (bench-deps): Add bench-timing.h.
8177 * benchtests-bench-skeleton.c: Include bench-timing.h.
8178 (main): Use TIMING_* macros instead of clock_gettime.
8179 * benchtests/bench-timing.h: New file.
8180
0f7d347b
SP
8181 [BZ #14582]
8182 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
8183 Renamed from _LIB_VERSION.
8184 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
8185
601a3a5f
JM
81862013-05-12 Joseph Myers <joseph@codesourcery.com>
8187
4f184d30
JM
8188 * math/libm-test.inc (struct test_fff_f_data): New type.
8189 (RUN_TEST_LOOP_fff_f): New macro.
8190 (fma_test_data): New variable.
8191 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
8192 (fma_towardzero_test_data): New variable.
8193 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
8194 (fma_downward_test_data): New variable.
8195 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
8196 (fma_upward_test_data): New variable.
8197 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
8198
08198877
JM
8199 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
8200 (struct test_c_c_data): New type.
8201 (RUN_TEST_LOOP_c_c): New macro.
8202 (cacos_test_data): New variable.
8203 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
8204 (cacosh_test_data): New variable.
8205 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
8206 (casin_test_data): New variable.
8207 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
8208 (casinh_test_data): New variable.
8209 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
8210 (catan_test_data): New variable.
8211 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
8212 (catanh_test_data): New variable.
8213 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
8214 (ccos_test_data): New variable.
8215 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
8216 (ccosh_test_data): New variable.
8217 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
8218 (cexp_test_data): New variable.
8219 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
8220 (clog_test_data): New variable.
8221 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
8222 (clog10_test_data): New variable.
8223 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
8224 (conj_test_data): New variable.
8225 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
8226 (cproj_test_data): New variable.
8227 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
8228 (csin_test_data): New variable.
8229 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
8230 (csinh_test_data): New variable.
8231 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
8232 (csqrt_test_data): New variable.
8233 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
8234 (ctan_test_data): New variable.
8235 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
8236 (ctan_tonearest_test_data): New variable.
8237 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8238 (ctan_towardzero_test_data): New variable.
8239 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8240 (ctan_downward_test_data): New variable.
8241 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8242 (ctan_upward_test_data): New variable.
8243 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8244 (ctanh_test_data): New variable.
8245 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
8246 (ctanh_tonearest_test_data): New variable.
8247 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8248 (ctanh_towardzero_test_data): New variable.
8249 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8250 (ctanh_downward_test_data): New variable.
8251 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8252 (ctanh_upward_test_data): New variable.
8253 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8254 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
8255 of BUILD_COMPLEX.
8256
601a3a5f
JM
8257 * math/libm-test.inc (struct test_ff_f_data): New type.
8258 (struct test_ff_f_data_nexttoward): Likewise.
8259 (RUN_TEST_LOOP_2_f): New macro.
8260 (RUN_TEST_LOOP_ff_f): Likewise.
8261 (atan2_test_data): New variable.
8262 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
8263 (copysign_test_data): New variable.
8264 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
8265 (fdim_test_data): New variable.
8266 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
8267 (fmax_test_data): New variable.
8268 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
8269 (fmin_test_data): New variable.
8270 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
8271 (fmod_test_data): New variable.
8272 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
8273 (hypot_test_data): New variable.
8274 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
8275 (nextafter_test_data): New variable.
8276 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
8277 (nexttoward_test_data): New variable.
8278 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
8279 (pow_test_data): New variable.
8280 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
8281 (pow_tonearest_test_data): New variable.
8282 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
8283 (pow_towardzero_test_data): New variable.
8284 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
8285 (pow_downward_test_data): New variable.
8286 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
8287 (pow_upward_test_data): New variable.
8288 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
8289 (remainder_test_data): New variable.
8290 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
8291 (scalb_test_data): New variable.
8292 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
8293 * sysdeps/i386/fpu/libm-test-ulps: Update.
8294
74c57478
JM
82952013-05-11 Joseph Myers <joseph@codesourcery.com>
8296
8329e4da
JM
8297 * math/libm-test.inc (fma_test): Use max_value instead of local
8298 variable fltmax.
8299 (nextafter_test): Likewise.
8300
74c57478
JM
8301 * math/libm-test.inc (acos_towardzero_test_data): New variable.
8302 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8303 (acos_downward_test_data): New variable.
8304 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8305 (acos_upward_test_data): New variable.
8306 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8307 (acosh_test_data): New variable.
8308 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
8309 (asin_test_data): New variable.
8310 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
8311 (asin_tonearest_test_data): New variable.
8312 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8313 (asin_towardzero_test_data): New variable.
8314 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8315 (asin_downward_test_data): New variable.
8316 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8317 (asin_upward_test_data): New variable.
8318 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8319 (asinh_test_data): New variable.
8320 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
8321 (atan_test_data): New variable.
8322 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
8323 (atanh_test_data): New variable.
8324 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
8325 (cbrt_test_data): New variable.
8326 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
8327 (ceil_test_data): New variable.
8328 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
8329 (cos_test_data): New variable.
8330 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
8331 (cos_tonearest_test_data): New variable.
8332 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8333 (cos_towardzero_test_data): New variable.
8334 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8335 (cos_downward_test_data): New variable.
8336 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8337 (cos_upward_test_data): New variable.
8338 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8339 (cosh_test_data): New variable.
8340 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
8341 (cosh_tonearest_test_data): New variable.
8342 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8343 (cosh_towardzero_test_data): New variable.
8344 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8345 (cosh_downward_test_data): New variable.
8346 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8347 (cosh_upward_test_data): New variable.
8348 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8349 (erf_test_data): New variable.
8350 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
8351 (erfc_test_data): New variable.
8352 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
8353 (exp_test_data): New variable.
8354 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
8355 (exp_tonearest_test_data): New variable.
8356 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8357 (exp_towardzero_test_data): New variable.
8358 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8359 (exp_downward_test_data): New variable.
8360 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8361 (exp_upward_test_data): New variable.
8362 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8363 (exp10_test_data): New variable.
8364 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
8365 (exp2_test_data): New variable.
8366 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
8367 (expm1_test_data): New variable.
8368 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
8369 (fabs_test_data): New variable.
8370 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
8371 (floor_test_data): New variable.
8372 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
8373 (j0_test_data): New variable.
8374 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
8375 (j1_test_data): New variable.
8376 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
8377 (log_test_data): New variable.
8378 (log_test): Run tests with RUN_TEST_LOOP_f_f.
8379 (log10_test_data): New variable.
8380 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
8381 (log1p_test_data): New variable.
8382 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
8383 (log2_test_data): New variable.
8384 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
8385 (logb_test_data): New variable.
8386 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
8387 (logb_downward_test_data): New variable.
8388 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8389 (nearbyint_test_data): New variable.
8390 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
8391 (rint_test_data): New variable.
8392 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
8393 (rint_tonearest_test_data): New variable.
8394 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8395 (rint_towardzero_test_data): New variable.
8396 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8397 (rint_downward_test_data): New variable.
8398 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8399 (rint_upward_test_data): New variable.
8400 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8401 (round_test_data): New variable.
8402 (round_test): Run tests with RUN_TEST_LOOP_f_f.
8403 (sin_test_data): New variable.
8404 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
8405 (sin_tonearest_test_data): New variable.
8406 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8407 (sin_towardzero_test_data): New variable.
8408 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8409 (sin_downward_test_data): New variable.
8410 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8411 (sin_upward_test_data): New variable.
8412 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8413 (sinh_test_data): New variable.
8414 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
8415 (sinh_tonearest_test_data): New variable.
8416 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8417 (sinh_towardzero_test_data): New variable.
8418 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8419 (sinh_downward_test_data): New variable.
8420 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8421 (sinh_upward_test_data): New variable.
8422 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8423 (sqrt_test_data): New variable.
8424 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
8425 (tan_test_data): New variable.
8426 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
8427 (tan_tonearest_test_data): New variable.
8428 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8429 (tan_towardzero_test_data): New variable.
8430 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8431 (tan_downward_test_data): New variable.
8432 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8433 (tan_upward_test_data): New variable.
8434 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8435 (tanh_test_data): New variable.
8436 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
8437 (tgamma_test_data): New variable.
8438 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
8439 (trunc_test_data): New variable.
8440 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
8441 (y0_test_data): New variable.
8442 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
8443 (y1_test_data): New variable.
8444 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
8445 (significand_test_data): New variable.
8446 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
8447
7187d844
CG
84482013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
8449
8450 [BZ #12387]
8451 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
8452
f63fae73
PT
84532013-05-10 Pino Toscano <toscano.pino@tiscali.it>
8454
8455 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
8456
8a67a4b3
AJ
84572013-05-10 Andreas Jaeger <aj@suse.de>
8458
8459 [BZ #15448]
8460 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
8461 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
8462
51df539d
JM
84632013-05-10 Joseph Myers <joseph@codesourcery.com>
8464
8465 * math/gen-libm-test.pl (adjust_arg): New function.
8466 (special_functions): Handle generating output in both functions
8467 and arrays.
8468 (parse_args): Likewise.
8469 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
8470 $in_func argument to parse_args.
8471 * math/libm-test.inc (struct test_f_f_data): New type.
8472 (IF_ROUND_INIT_): New macro.
8473 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
8474 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8475 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8476 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8477 (ROUND_RESTORE_): Likewise.
8478 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
8479 (ROUND_RESTORE_FE_TONEAREST): Likewise.
8480 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
8481 (ROUND_RESTORE_FE_UPWARD): Likewise.
8482 (RUN_TEST_LOOP_f_f): New macro.
8483 (acos_test_data): New variable.
8484 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
8485 (acos_tonearest_test_data): New variable.
8486 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8487
5c637fe5
SP
84882013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8489
8490 * benchtests/bench-skeleton.c (startup): Fix coding style.
8491
ab2b9461
JM
84922013-05-10 Joseph Myers <joseph@codesourcery.com>
8493
8494 [BZ #6809]
8495 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
8496 negative infinity argument.
8497 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
8498 negative infinity argument.
8499 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
8500 negative infinity argument.
8501 * math/libm-test.inc (tgamma_test): Expect errno to be set for
8502 domain errors.
8503
4c0fe6fe
FW
85042013-05-10 Florian Weimer <fweimer@redhat.com>
8505
8506 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
8507 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
8508 * iconv/iconv_prog.c (main): Likewise.
8509 * locale/programs/charmap-dir.c (charmap_readdir)
8510 (fopen_uncompressed): Likewise.
8511 * locale/programs/locfile.c (siblings_uncached)
8512 (write_locale_data): Use lstat64 instead of lstat.
8513 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
8514 stat.
8515
a3375d29
AJ
85162013-05-10 Andreas Jaeger <aj@suse.de>
8517
8518 [BZ #15395]
8519 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
8520 localization.
8521 Include <locale.h>.
8522
36129722
CD
85232013-05-09 Carlos O'Donell <carlos@redhat.com>
8524
8525 * elf/dl-close.c (_dl_close_worker): Add comments.
8526
faa7f811
JM
85272013-05-09 Joseph Myers <joseph@codesourcery.com>
8528
ed41ffef
JM
8529 [BZ #15359]
8530 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
8531 high part of pi/2.
8532 (__ieee754_rem_pio2l): Update comments.
8533
d0213cd0
JM
8534 [BZ #15429]
8535 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
8536 high part of pi/2.
8537 (__ieee754_rem_pio2l): Update comments.
8538
0d3e777a
JM
8539 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
8540 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
8541
24f56066
JM
8542 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
8543 M_PI_4l.
8544
faa7f811
JM
8545 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
8546 (M_PI_34_LOG10El): Likewise.
8547 (M_PI2_LOG10El): Likewise.
8548 (M_PI4_LOG10El): Likewise.
8549 (M_PI_LOG10El): Likewise.
8550
e9a5e0fd
AZ
85512013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8552
8553 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8554
d8cd06db
JM
85552013-05-08 Joseph Myers <joseph@codesourcery.com>
8556
a0d9f9d7
JM
8557 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
8558 (MINUS_ZERO_INIT): Likewise.
8559 (PLUS_INFTY_INIT): Likewise.
8560 (MINUS_INFTY_INIT): Likewise.
8561 (QNAN_VALUE_INIT): Likewise.
8562 (MAX_VALUE_INIT): Likewise.
8563 (MIN_VALUE_INIT): Likewise.
8564 (MIN_SUBNORM_VALUE_INIT): Likewise.
8565 (plus_zero): Initialize with PLUS_ZERO_INIT.
8566 (minus_zero): Initialize with MINUS_ZERO_INIT.
8567 (plus_infty): Initialize with PLUS_INFTY_INIT.
8568 (minus_infty): Initialize with MINUS_INFTY_INIT.
8569 (qnan_value): Initialize with QNAN_VALUE_INIT.
8570 (max_value): Initialize with MAX_VALUE_INIT.
8571 (min_value): Initialize with MIN_VALUE_INIT.
8572 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
8573
ae08db3b
JM
8574 * math/libm-test.inc (RUN_TEST_if_f): New macro.
8575 (jn_test): Use TEST_if_f instead of TEST_ff_f.
8576 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
8577 (yn_test): Use TEST_if_f instead of TEST_ff_f.
8578
f44bf14a
JM
8579 * math/libm-test.inc (RUN_TEST_f_f): New macro.
8580 (RUN_TEST_2_f): Likewise.
8581 (RUN_TEST_ff_f): Likewise.
8582 (RUN_TEST_fi_f): Likewise.
8583 (RUN_TEST_fl_f): Likewise.
8584 (RUN_TEST_fff_f): Likewise.
8585 (RUN_TEST_c_f): Likewise.
8586 (RUN_TEST_f_f1): Likewise.
8587 (RUN_TEST_fF_f1): Likewise.
8588 (RUN_TEST_fI_f1): Likewise.
8589 (RUN_TEST_ffI_f1): Likewise.
8590 (RUN_TEST_c_c): Likewise.
8591 (RUN_TEST_cc_c): Likewise.
8592 (RUN_TEST_f_i): Likewise.
8593 (RUN_TEST_f_i_tg): Likewise.
8594 (RUN_TEST_ff_i_tg): Likewise.
8595 (RUN_TEST_f_b): Likewise.
8596 (RUN_TEST_f_b_tg): Likewise.
8597 (RUN_TEST_f_l): Likewise.
8598 (RUN_TEST_f_L): Likewise.
8599 (RUN_TEST_sincos): Likewise.
8600 * math/gen-libm-test.pl (new_test): Take new argument to indicate
8601 whether to show exceptions. Do not include ");\n" in return
8602 value.
8603 (special_functions): Output call to RUN_TEST_sincos instead of
8604 check_float calls. Update calls to new_test.
8605 (parse_args): Output call to single RUN_TEST_* macro instead of
8606 check_* calls and other assignments. Update calls to new_test.
8607
d8cd06db
JM
8608 [BZ #2546]
8609 [BZ #2560]
8610 [BZ #5159]
8611 [BZ #15426]
8612 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
8613 input to result for tgamma overflow.
8614 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
8615 (gamma_coeff): New variable.
8616 (NCOEFF): New macro.
8617 (gamma_positive): New function.
8618 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
8619 underflow here. Use gamma_positive instead of exp (lgamma) for
8620 other arguments.
8621 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
8622 (gamma_coeff): New variable.
8623 (NCOEFF): New macro.
8624 (gammaf_positive): New function.
8625 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
8626 underflow here. Use gamma_positive instead of exp (lgamma) for
8627 other arguments.
8628 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
8629 (gamma_coeff): New variable.
8630 (NCOEFF): New macro.
8631 (gammal_positive): New function.
8632 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
8633 underflow here. Use gamma_positive instead of exp (lgamma) for
8634 other arguments.
8635 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
8636 (gamma_coeff): New variable.
8637 (NCOEFF): New macro.
8638 (gammal_positive): New function.
8639 (__ieee754_gammal_r): Handle positive infinity, overflow and
8640 underflow here. Handle NaN the same as positive infinity. Remove
8641 check x < 0xffffffff for negative integers. Use gamma_positive
8642 instead of exp (lgamma) for other arguments.
8643 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
8644 (gamma_coeff): New variable.
8645 (NCOEFF): New macro.
8646 (gammal_positive): New function.
8647 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
8648 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
8649 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8650 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
8651 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
8652 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
8653 * sysdeps/generic/math_private.h (__gamma_productf): New
8654 prototype.
8655 (__gamma_product): Likewise.
8656 (__gamma_productl): Likewise.
8657 * math/Makefile (libm-calls): Add gamma_product.
8658 * math/libm-test.inc (tgamma_test): Add more tests.
8659 * sysdeps/i386/fpu/libm-test-ulps: Update.
8660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8661
bb7cf681
OB
86622013-05-08 Ondřej Bílka <neleai@seznam.cz>
8663
8664 * benchtests/bench-skeleton.c (main): Preheat CPU.
8665
ba853947
AJ
86662013-05-07 Aurelien Jarno <aurelien@aurel32.net>
8667
8668 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
8669
8347c74c
RM
86702013-05-07 Roland McGrath <roland@hack.frob.com>
8671
8672 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
8673 and _dl_skip_args_internal.
8674
e8dd4791
CD
86752013-05-07 Carlos O'Donell <carlos@redhat.com>
8676
8677 * manual/message.texi (Message Translation): Talk about users.
8678 Message to key mapping impacts design.
8679
c7405830
RM
86802013-05-06 Roland McGrath <roland@hack.frob.com>
8681
a9173057
RM
8682 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
8683
976e2f03
RM
8684 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
8685
9723ffc5
RM
8686 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
8687 * sysdeps/wordsize-64/glob64.c: ... here.
8688
962e6658
RM
8689 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
8690 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
8691 New macros.
8692
ee586a6d
RM
8693 * debug/getlogin_r_chk.c: Moved to ...
8694 * login/getlogin_r_chk.c: ... here.
8695 * debug/Makefile (routines): Move getlogin_r_chk to ...
8696 * login/Makefile (routines): ... here.
8697 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
8698 * login/Versions (libc: GLIBC_2.4): ... here.
8699
355f9165
RM
8700 * io/poll.c (__poll): Renamed from poll.
8701 Add libc_hidden_def.
8702 (poll): Define as weak alias.
8703
bd9ffde6
RM
8704 * debug/ptsname_r_chk.c: Moved to ...
8705 * login/ptsname_r_chk.c: ... here.
8706 * debug/Makefile (routines): Move ptsname_r_chk to ...
8707 * login/Makefile (routines): ... here.
8708 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
8709 * login/Versions (libc: GLIBC_2.4): ... here.
8710
8fb16a04
RM
8711 * posix/getlogin.c: Moved to ...
8712 * login/getlogin.c: ... here.
8713 * posix/getlogin_r.c: Moved to ...
8714 * login/getlogin_r.c: ... here.
8715 * posix/getlogin_r.c: Moved to ...
8716 * login/getlogin_r.c: ... here.
8717 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
8718 * login/Makefile (routines): ... here.
8719 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
8720 * login/Versions (libc: GLIBC_2.0): ... here.
8721
b99b892f
RM
8722 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
8723 (setrlimit): Define as weak alias.
8724
c7405830
RM
8725 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
8726 Call __ names for open, ftruncate, and close.
8727 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
8728 (truncate): Define as weak alias.
8729
5bf96de5
JM
87302013-05-06 Joseph Myers <joseph@codesourcery.com>
8731
9ea3513c
JM
8732 * math/gen-libm-test.pl (parse_args): Initialize x before each
8733 test of frexp, modf and remquo.
8734
5bf96de5
JM
8735 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
8736 test signgam value.
8737
16e616a7
AZ
87382013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8739
8740 [BZ #15418]
8741 [BZ #15419]
8742 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
8743 internal tests.
8744 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8745
d5e82754
RM
87462013-05-06 Roland McGrath <roland@hack.frob.com>
8747
8748 * elf/dl-writev.h: New file.
8749 * elf/dl-misc.c: Include it.
8750 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
8751 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
8752
a7548d41
JM
87532013-05-04 Joseph Myers <joseph@codesourcery.com>
8754
b7dab1e4
JM
8755 * math/libm-test.inc (noXFails): Remove variable.
8756 (noXPasses): Likewise.
8757 (BUILD_COMPLEX_INT): Remove macro.
8758 (print_screen): Remove xfail argument.
8759 (print_screen_max_error): Likewise.
8760 (update_stats): Likewise.
8761 (print_max_error): Likewise. Update calls to other affected
8762 functions.
8763 (print_complex_max_error): Likewise.
8764 (test_single_exception): Update calls to print_screen.
8765 (test_single_errno): Likewise.
8766 (check_float_internal): Remove xfail argument. Update calls to
8767 other affected functions.
8768 (check_float): Likewise.
8769 (check_complex): Likewise.
8770 (check_int): Likewise.
8771 (check_long): Likewise.
8772 (check_bool): Likewise.
8773 (check_longlong): Likewise.
8774 (main): Don't print noXFails and noXPasses.
8775 * math/gen-libm-test.pl (top level): Don't mention expected
8776 failure handling in comment.
8777 (new_test): Don't handle expected failures.
8778 (parse_args): Don't mention expected failure handling in comment.
8779 (generate_testfile): Don't handle expected failures.
8780 (parse_ulps): Likewise.
8781 (print_ulps_file): Likewise.
8782 (get_failure): Remove function.
8783 (output_test): Don't handle expected failures.
8784 * make/README.libm-test: Don't mention expected failure handling.
8785
a7548d41
JM
8786 * math/libm-test.inc (plus_zero): Make const. Add initializer.
8787 (minus_zero): Likewise.
8788 (plus_infty): Likewise.
8789 (minus_infty): Likewise.
8790 (qnan_value): Likewise.
8791 (max_value): Likewise.
8792 (min_value): Likewise.
8793 (min_subnorm_value): Likewise.
8794 (initialize): Do not initialize those variables dynamically.
8795
60bfd54c
RM
87962013-05-03 Roland McGrath <roland@hack.frob.com>
8797
cc0e6ed8
RM
8798 * io/open.c (__open_2): Moved to ...
8799 * io/open_2.c: ... this new file.
8800 * io/open64.c (__open64_2): Moved to ...
8801 * io/open64_2.c: ... this new file.
8802 * io/openat.c (__openat_2): Moved to ...
8803 * io/openat_2.c: ... this new file.
8804 * io/openat64.c (__openat64_2): Moved to ...
8805 * io/openat64_2.c: ... this new file.
8806 * io/Makefile (routines): Add them.
8807 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
8808 * sysdeps/unix/sysv/linux/open_2.c: File removed.
8809 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
8810 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
8811 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
8812 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
8813 (__openat64): Add hidden_ver.
8814 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
8815 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
8816
60bfd54c
RM
8817 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
8818 Separately conditionalize setting of GLRO(dl_sysinfo) so
8819 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
8820 as well, but the actual setting is only under [NEED_DL_SYSINFO].
8821
83e7640f
AZ
88222013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8823
8824 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
8825 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
8826 definition.
8827 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
8828 * sysdeps/unix/sysv/linux/powerpc/init-first.c
8829 (_libc_vdso_platform_setup): Add __vdso_time initialization.
8830 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
8831 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
8832
d5dc2af3
JM
88332013-05-03 Joseph Myers <joseph@codesourcery.com>
8834
c31a5b1e
JM
8835 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
8836 test signgam value.
8837
d5dc2af3
JM
8838 * math/libm-test.inc (hypot_test): Do not use
8839 IGNORE_ZERO_INF_SIGN.
8840
164fd39d
AJ
88412013-05-03 Andreas Jaeger <aj@suse.de>
8842
8843 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
8844 Linux 3.9.
8845 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
8846 (PF_MAX): Adjust for VSOCK change.
8847
8237f48c
AZ
88482013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8849
8850 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8851
9df02941
CD
88522013-05-02 Carlos O'Donell <carlos@redhat.com>
8853
8854 [BZ #15264]
8855 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
8856 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
8857 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
8858
d422395e
DM
88592013-05-02 David S. Miller <davem@davemloft.net>
8860
8861 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8862
a07c5731
OB
88632013-05-01 Ondřej Bílka <neleai@seznam.cz>
8864
8865 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
8866
1324e37f
RM
88672013-05-01 Roland McGrath <roland@hack.frob.com>
8868
8869 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
8870
0695940b
RS
88712013-05-01 Richard Smith <richard@metafoo.co.uk>
8872
bb5f27ad 8873 [BZ #14952]
0695940b
RS
8874 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
8875 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8876 Use __attribute__ ((__gnu_inline__)).
8877 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8878 Don't use __attribute__ ((__gnu_inline__)).
8879
10de07f5
JM
88802013-05-01 Joseph Myers <joseph@codesourcery.com>
8881
8882 [BZ #15423]
8883 * math/s_catan.c (__catan): Handle small real or imaginary part of
8884 input specially to avoid spurious underflow.
8885 * math/s_catanf.c (__catanf): Likewise.
8886 * math/s_catanh.c (__catanh): Likewise.
8887 * math/s_catanhf.c (__catanhf): Likewise.
8888 * math/s_catanhl.c (__catanhl): Likewise.
8889 * math/s_catanl.c (__catanl): Likewise.
8890 * math/libm-test.inc (catan_test): Add more tests.
8891 (catanh_test): Likewise.
8892 * sysdeps/i386/fpu/libm-test-ulps: Update.
8893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8894
cb4d5414
AZ
88952013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8896
8897 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8898
caf84319
JM
88992013-04-30 Joseph Myers <joseph@codesourcery.com>
8900
8901 [BZ #15416]
8902 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
8903 accurately for denominator in atan2.
8904 * math/s_catanf.c (__catanf): Likewise.
8905 * math/s_catanh.c (__catanh): Likewise.
8906 * math/s_catanhf.c (__catanhf): Likewise.
8907 * math/s_catanhl.c (__catanhl): Likewise.
8908 * math/s_catanl.c (__catanl): Likewise.
8909 * math/libm-test.inc (catan_test): Add more tests.
8910 (catanh_test): Likewise.
8911 * sysdeps/i386/fpu/libm-test-ulps: Update.
8912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8913
d569c6ee
SP
89142013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8915
6dbe713d
SP
8916 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
8917
f0ee064b
SP
8918 * benchtests/Makefile (bench): Remove slow benchmarks.
8919 * benchtests/atan-inputs: Add slow benchmark inputs.
8920 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
8921 (BENCH_FUNC): Accept variant offset.
8922 (VARIANT): Define.
8923 * benchtests/bench-skeleton.c (main): Run benchmark for each
8924 variant.
8925 * benchtests/cos-inputs: Add slow benchmark inputs.
8926 * benchtests/exp-inputs: Likewise.
8927 * benchtests/pow-inputs: Likewise.
8928 * benchtests/sin-inputs: Likewise.
8929 * benchtests/slowatan-inputs: Remove.
8930 * benchtests/slowatan.c: Remove.
8931 * benchtests/slowcos-inputs: Remove.
8932 * benchtests/slowcos.c: Remove.
8933 * benchtests/slowexp-inputs: Remove.
8934 * benchtests/slowexp.c: Remove.
8935 * benchtests/slowpow-inputs: Remove.
8936 * benchtests/slowpow.c: Remove.
8937 * benchtests/slowsin-inputs: Remove.
8938 * benchtests/slowsin.c: Remove.
8939 * benchtests/slowtan-inputs: Remove.
8940 * benchtests/slowtan.c: Remove.
8941 * benchtests/tan-inputs: Add slow benchmark inputs.
8942 * scripts/bench.pl: Parse comments and directives.
8943
d569c6ee
SP
8944 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
8945 in CPPFLAGS.
8946 ($(objpfx)bench-%.c): Remove *-ITER.
8947 * benchtests/bench-modf.c: Remove definition of ITER.
8948 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
8949 (main): Loop for DURATION seconds instead of fixed number of
8950 iterations.
8951 * scripts/bench.pl: Don't expect iterations in parameters.
8952
a6a242fe
RM
89532013-04-29 Roland McGrath <roland@hack.frob.com>
8954
8955 * io/fchdir.c (__fchdir): Renamed from fchdir.
8956 (fchdir): Define as weak alias.
8957
f2da7793
JM
89582013-04-29 Joseph Myers <joseph@codesourcery.com>
8959
8960 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
8961 (ERRNO_EDOM): Likewise.
8962 (ERRNO_ERANGE): Likewise.
8963 (noErrnoTests): New variable.
8964 (init_max_error): Set errno to 0.
8965 (test_single_errno): New function.
8966 (test_errno): Likewise.
8967 (check_float_internal): Call test_errno. Set errno to 0.
8968 (check_complex): Refer to errno tests in comment.
8969 (check_int): Call test_errno. Set errno to 0.
8970 (check_long): Likewise.
8971 (check_bool): Likewise.
8972 (check_longlong): Likewise.
8973 (cos_test): Use ERRNO_* flags for errno tests instead of
8974 check_int.
8975 (expm1_test): Likewise.
8976 (fmod_test): Likewise.
8977 (ilogb_test): Likewise.
8978 (lgamma_test): Likewise.
8979 (pow_test): Likewise.
8980 (remainder_test): Likewise.
8981 (sin_test): Likewise.
8982 (tan_test): Likewise.
8983 (yn_test): Likewise.
8984 (initialize): Set errno to 0.
8985 (main): Print number of errno tests.
8986 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
8987
b1a36ceb
AJ
89882013-04-29 Andreas Jaeger <aj@suse.de>
8989
c3ed8088
AJ
8990 [BZ #15084]
8991 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
8992 and RES_USEVC.
8993
f1a24198
AJ
8994 [BZ #15085]
8995 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
8996 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
8997 unimplemented.
8998
9ce3b2cb
AJ
8999 [BZ #15380]
9000 * stdlib/random.c (__initstate): Return NULL if
9001 __initstate fails.
9002
f1a24198 9003 [BZ #15086]
b1a36ceb
AJ
9004 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
9005 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
9006 RES_SNGLKUPREOP.
9007
7e7b6f36
AZ
90082013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9009
9010 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9011
4d14f449
JM
90122013-04-29 Joseph Myers <joseph@codesourcery.com>
9013
9014 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
9015 of individual tests.
9016 (casin_test): Likewise.
9017 (casinh_test): Likewise.
9018
5b4217d7
JM
90192013-04-27 Joseph Myers <joseph@codesourcery.com>
9020
9021 [BZ #15409]
9022 * math/s_catan.c (__catan): Handle arguments with large real or
9023 imaginary part separately without squaring.
9024 * math/s_catanf.c (__catanf): Likewise.
9025 * math/s_catanh.c (__catanh): Likewise.
9026 * math/s_catanhf.c (__catanhf): Likewise.
9027 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9028 and redefine.
9029 (__catanhl): Handle arguments with large real or imaginary part
9030 separately without squaring.
9031 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9032 and redefine.
9033 (__catanl): Handle arguments with large real or imaginary part
9034 separately without squaring.
9035 * math/libm-test.inc (catan_test): Add more tests.
9036 (catanh_test): Likewise.
9037 * sysdeps/i386/fpu/libm-test-ulps: Update.
9038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9039
4220c3ef
AJ
90402013-04-27 Andreas Jaeger <aj@suse.de>
9041
9042 [BZ #15007]
9043 * stdlib/stdlib.h: Update guards for qecvt.
9044 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
9045 <stdlib.h>.
9046
4721b2d1
AM
90472013-04-27 Allan McRae <allan@archlinux.org>
9048
9049 * sysdeps/i386/fpu/libm-test-ulps: Update.
9050
f0302940
JM
90512013-04-26 Joseph Myers <joseph@codesourcery.com>
9052
9457fd95
JM
9053 [BZ #15406]
9054 * math/s_catan.c: Include <float.h>.
9055 (__catan): Ensure underflow exception occurs for underflowed
9056 result.
9057 * math/s_catanf.c: Include <float.h>.
9058 (__catanf): Ensure underflow exception occurs for underflowed
9059 result.
9060 * math/s_catanh.c: Include <float.h>.
9061 (__catanh): Ensure underflow exception occurs for underflowed
9062 result.
9063 * math/s_catanhf.c: Include <float.h>.
9064 (__catanhf): Ensure underflow exception occurs for underflowed
9065 result.
9066 * math/s_catanhl.c: Include <float.h>.
9067 (__catanhl): Ensure underflow exception occurs for underflowed
9068 result.
9069 * math/s_catanl.c: Include <float.h>.
9070 (__catanl): Ensure underflow exception occurs for underflowed
9071 result.
9072 * math/libm-test.inc (catan_test): Add more tests.
9073 (catanh_test): Likewise.
9074
f0302940
JM
9075 [BZ #15405]
9076 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
9077 underflowed result.
9078 * math/s_ccoshf.c (__ccoshf): Likewise.
9079 * math/s_ccoshl.c (__ccoshl): Likewise.
9080 * math/s_csin.c (__csin): Likewise.
9081 * math/s_csinf.c (__csinf): Likewise.
9082 * math/s_csinh.c (__csinh): Likewise.
9083 * math/s_csinhf.c (__csinhf): Likewise.
9084 * math/s_csinhl.c (__csinhl): Likewise.
9085 * math/s_csinl.c (__csinl): Likewise.
9086 * math/libm-test.inc (ccos_test): Add more tests.
9087 (ccosh_test): Likewise.
9088 (csin_test): Likewise.
9089 (csinh_test): Likewise.
9090
aa630f59
AZ
90912013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9092
9093 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
9094 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
9095 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
9096 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
9097 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
9098 powerpc/power5+/fpu folders.
9099 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
9100
9101
1b835983
MT
91022013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
9103
9104 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9105
73709b26
JM
91062013-04-25 Joseph Myers <joseph@codesourcery.com>
9107
9108 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
9109 additions to variable.
9110 [$(config-machine) = x86_64] (modules-names): Likewise.
9111 ($(objpfx)tst-audit3): Remove dependency.
9112 ($(objpfx)tst-audit3.out): Likewise.
9113 ($(objpfx)tst-audit4): Likewise.
9114 ($(objpfx)tst-audit4.out): Likewise.
9115 ($(objpfx)tst-audit5): Likewise.
9116 ($(objpfx)tst-audit5.out): Likewise.
9117 ($(objpfx)tst-audit6): Likewise.
9118 ($(objpfx)tst-audit6.out): Likewise.
9119 ($(objpfx)tst-audit7): Likewise.
9120 ($(objpfx)tst-audit7.out): Likewise.
9121 (tst-audit3-ENV): Remove variable.
9122 (tst-audit4-ENV): Likewise.
9123 (tst-audit5-ENV): Likewise.
9124 (tst-audit6-ENV): Likewise.
9125 (tst-audit7-ENV): Likewise.
9126 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
9127 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
9128 addition to variable.
9129 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
9130 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
9131 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
9132 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
9133 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
9134 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
9135 tst-audit3, tst-audit4 and tst-audit5.
9136 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
9137 tst-audit6 and tst-audit7.
9138 [$(subdir) = elf] (modules-names): Add audit modules for those
9139 tests.
9140 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
9141 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
9142 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
9143 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
9144 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
9145 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
9146 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
9147 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
9148 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
9149 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
9150 [$(subdir) = elf] (tst-audit3-ENV): New variable.
9151 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
9152 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
9153 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
9154 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
9155 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
9156 Likewise.
9157 [$(subdir) = elf && $(config-cflags-avx) = yes]
9158 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
9159 [$(subdir) = elf && $(config-cflags-avx) = yes]
9160 (CFLAGS-tst-auditmod4a.c): Likewise.
9161 [$(subdir) = elf && $(config-cflags-avx) = yes]
9162 (CFLAGS-tst-auditmod4b.c): Likewise.
9163 [$(subdir) = elf && $(config-cflags-avx) = yes]
9164 (CFLAGS-tst-auditmod6b.c): Likewise.
9165 [$(subdir) = elf && $(config-cflags-avx) = yes]
9166 (CFLAGS-tst-auditmod6c.c): Likewise.
9167 [$(subdir) = elf && $(config-cflags-avx) = yes]
9168 (CFLAGS-tst-auditmod7b.c): Likewise.
9169 * elf/tst-audit3.c: Move to ...
9170 * sysdeps/x86_64/tst-audit3.c: ... here.
9171 * elf/tst-audit4.c: Move to ...
9172 * sysdeps/x86_64/tst-audit4.c: ... here.
9173 * elf/tst-audit5.c: Move to ...
9174 * sysdeps/x86_64/tst-audit5.c: ... here.
9175 * elf/tst-audit6.c: Move to ...
9176 * sysdeps/x86_64/tst-audit6.c: ... here.
9177 * elf/tst-audit7.c: Move to ...
9178 * sysdeps/x86_64/tst-audit7.c: ... here.
9179 * elf/tst-auditmod3a.c: Move to ...
9180 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
9181 * elf/tst-auditmod3b.c: Move to ...
9182 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
9183 * elf/tst-auditmod4a.c: Move to ...
9184 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
9185 * elf/tst-auditmod4b.c: Move to ...
9186 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
9187 * elf/tst-auditmod5a.c: Move to ...
9188 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
9189 * elf/tst-auditmod5b.c: Move to ...
9190 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
9191 * elf/tst-auditmod6a.c: Move to ...
9192 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
9193 * elf/tst-auditmod6b.c: Move to ...
9194 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
9195 * elf/tst-auditmod6c.c: Move to ...
9196 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
9197 * elf/tst-auditmod7a.c: Move to ...
9198 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
9199 * elf/tst-auditmod7b.c: Move to ...
9200 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
9201
1ef74943
PP
92022013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
9203
9204 [BZ #15366]
9205 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
9206 define unconditionally.
9207 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
9208 define unconditionally.
9209 (INT8_C, INT16_C, etc.): Likewise.
9210
93fd48c5
MR
92112013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
9212
ae9552cf
MR
9213 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
9214 __ehdr_start with hidden visibility.
9215
93fd48c5
MR
9216 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
9217
418601aa
CD
92182013-04-24 Carlos O'Donell <carlos@redhat.com>
9219
9220 * math/libm-test.inc (cos_test): Use accurate hex constants.
9221 (sincost_test): Likewise.
9222
2f38fbfe
JM
92232013-04-24 Joseph Myers <joseph@codesourcery.com>
9224
5e221800
JM
9225 * math/libm-test.inc (catan_test): Add more tests.
9226 (catanh_test): Likewise.
9227
77f143fd
JM
9228 * math/s_catanf.c (__catanf): Use suffixed floating-point
9229 constants.
9230 * math/s_catanhf.c (__catanhf): Likewise.
9231 * math/s_catanhl.c (__catanhl): Likewise.
9232 * math/s_catanl.c (__catanl): Likewise.
9233
2f38fbfe
JM
9234 [BZ #15394]
9235 * math/s_catan.c (__catan): Calculate imaginary part of result
9236 with log1p not log unless computing log of number close to 0.
9237 * math/s_catanf.c (__catanf): Likewise.
9238 * math/s_catanl.c (__catanl): Likewise.
9239 * math/s_catanh.c (__catanh): Calculate real part of result with
9240 log1p not log unless computing log of number close to 0.
9241 * math/s_catanhf.c (__catanhf): Likewise.
9242 * math/s_catanhl.c (__catanhl): Likewise.
9243 * math/libm-test.inc (catan_test): Add more tests.
9244 (catanh_test): Likewise.
9245 * sysdeps/i386/fpu/libm-test-ulps: Update.
9246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9247
45d69176
SP
92482013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9249
9250 * benchtests/Makefile: Mention files in which fast and slow
9251 paths of math functions are implemented.
9252
87f51853
RM
92532013-04-23 Roland McGrath <roland@hack.frob.com>
9254
9255 * sysdeps/posix/timespec_get.c: New file.
9256
3c026539
AZ
92572013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9258
9259 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
9260 POWER.
9261 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
9262 for POWER.
9263 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
9264 powerpc/power5/fpu folders.
9265 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
9266 * benchtests/Makefile: Add modf testcase.
9267 * benchtests/bench-modf.c: New file: Benchmark test for mo
9268
ff491d14
SP
92692013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9270
9271 [BZ #14888]
9272 * time/Makefile (tests): Add tst-strptime-whitespace.
9273 * time/strptime_l.c (get_number): Use ISSPACE.
9274 (__strptime_internal): Likewise.
9275 * time/tst-strptime-whitespace.c: New test case.
9276
7ed3f4e8
AS
92772013-04-23 Andreas Schwab <schwab@linux-m68k.org>
9278
9279 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
9280 member.
9281 (_nss_files_init): Set it here.
9282
5c95f7b6
HC
92832013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
9284
9285 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
9286 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
9287 unsigned.
9288
d34c9158
JBG
92892013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
9290
9291 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
9292
2169712d
SP
92932013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9294
9295 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
9296 size just once.
9297
29c5de99
DM
92982013-04-21 David S. Miller <davem@davemloft.net>
9299
9300 * po/ru.po: Update Russion translation from translation project.
9301
ccdad15d
AC
93022013-04-17 Adam Conrad <adconrad@0c3.net>
9303
9304 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
9305 and setfsgid.
9306
0f122b8d
CD
93072013-04-17 Carlos O'Donell <carlos@redhat.com>
9308
5c5b07da 9309 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 9310 * configure: Regenerate.
5c5b07da 9311 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
9312 Add example to error message.
9313 * sysdeps/i386/configure: Regenerate.
9314
037714dd
SP
93152013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9316
9317 * benchtests/Makefile (bench): Add cos, tan, slowcos and
9318 slowtan.
9319 * benchtests/cos-inputs: New file.
9320 * benchtests/slowcos-inputs: New file.
9321 * benchtests/slowcos.c: New file.
9322 * benchtests/slowtan-inputs: New file.
9323 * benchtests/slowtan.c: New file.
9324 * benchtests/tan-inputs: New file.
9325
e913141d
RM
93262013-04-16 Roland McGrath <roland@hack.frob.com>
9327
9328 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
9329 considered kosher.
9330
a2964074
SP
93312013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9332
4856bcd2
SP
9333 * benchtests/Makefile: Include cppflags-iterator.mk to add
9334 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
9335
a2964074
SP
9336 * Makefile.in (bench-clean): New target.
9337 * benchtests/Makefile (bench-clean): Likewise.
9338
9fbf9aca
DH
93392013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
9340
9341 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
9342
207d1e2a
TS
93432013-04-15 Thomas Schwinge <thomas@codesourcery.com>
9344
9345 * stdio-common/tstdiomisc.c: Fix coding-style violation.
9346
306dfba9
AS
93472013-04-15 Andreas Schwab <schwab@suse.de>
9348
9349 * nscd/grpcache.c (cache_addgr): Properly check for short write.
9350 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9351 * nscd/pwdcache.c (cache_addpw): Likewise.
9352 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
9353 more than recsize.
9354
206a6699
SP
93552013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9356
9357 * benchtests/Makefile (bench): Write all output to
9358 bench-out.tmp together.
9359
0582f6b3
AS
93602013-04-15 Andreas Schwab <schwab@suse.de>
9361
9362 * nscd/nscd.c (main): Don't fork again after closing files.
9363
acb4325f
SP
93642013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9365
5cb26d0a
SP
9366 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
9367
acb4325f
SP
9368 * benchtests/Rules (bench-deps): Collect dependencies into a
9369 single variable. Add Makefile to dependencies.
9370 ($(objpfx)bench-%.c): Depend on bench-deps.
9371
47792506
RM
93722013-04-12 Roland McGrath <roland@hack.frob.com>
9373 Xavier Roche <roche+kml2@exalead.com>
9374
9375 [BZ #15361]
9376 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
9377 just that it's a file descriptor.
9378 * manual/llio.texi (Synchronizing AIO Operations): Update description
9379 for EBADF error from aio_fsync.
9380
8fc1bee5
SP
93812013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9382
9383 * Rules (bench): Move target definition...
9384 * benchtests/Makefile: ... here.
9385
aba5e333
CD
93862013-04-11 Carlos O'Donell <carlos@redhat.com>
9387
9388 * math/libm-test.inc (cos_test): Fix PI/2 test.
9389 (sincos_test): Likewise.
9390 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9391 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9392
273cdee8
AS
93932013-04-11 Andreas Schwab <schwab@suse.de>
9394
6ecec3b6
AS
9395 [BZ #13988]
9396 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
9397 accept exponent character only when digits were seen.
9398 * stdio-common/Makefile (tests): Add bug26.
9399 * stdio-common/bug26.c: New file.
9400
273cdee8
AS
9401 [BZ #14293]
9402 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
9403 non-freeable.
9404
8da491f5
SP
94052013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9406
01dc6df9
SP
9407 * Makeconfig (rtld-prefix): Define built linker prefix.
9408 * Rules (run-bench): Use it.
9409 * math/Makefile (run-regen-ulps): Likewise.
9410
8da491f5
SP
9411 * Rules (bench): Remove eval.
9412
abe7f530
SP
94132013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9414 Roland McGrath <roland@hack.frob.com>
9415 Ondrej Bilka <neleai@seznam.cz>
9416
9417 [BZ #15346]
9418 * time/getdate.c: Include ctype.h and alloca.h.
9419 (__getdate_r): Trim leading and trailing spaces of input.
9420 * time/tst-getdate.c (tests): Add tests with leading and
9421 trailing spaces.
9422
61c23e62
RM
94232013-04-08 Roland McGrath <roland@hack.frob.com>
9424
9425 [BZ #14280]
9426 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
9427 when computing value.
9428
7208a313
CD
94292013-04-06 Carlos O'Donell <carlos@redhat.com>
9430
085b2d41
CD
9431 * math/README.libm-test (How can I generate "libm-test-ulps"?):
9432 Use testrun.sh to run libm tests.
9433
7208a313
CD
9434 [BZ #15309]
9435 * elf/dl-open.c (dl_open_worker): memset all of seen array.
9436
872c0acd
MM
94372013-04-06 Marko Myllynen <myllynen@redhat.com>
9438
9439 [BZ #15264]
9440 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
9441
26510bdd
CD
94422013-04-06 Carlos O'Donell <carlos@redhat.com>
9443
9444 * Makefile.in (regen-ulps): New target.
9445 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
9446 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
9447 [ifneq (no,$(PERL)] (regen-ulps): New target.
9448 [ifeq (no,$(PERL)] (regen-ulps): New target.
9449 * math/libm-test.inc (ulps_file_name): Define.
9450 (output_dir): New variable.
9451 (options): Add "output-dir" option.
9452 (parse_opt): Handle 'o' case.
9453 (main): If output_dir is non-NULL use it as a prefix
9454 otherwise use "".
9455 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
9456
a01f19c8
CD
94572013-04-06 Carlos O'Donell <carlos@redhat.com>
9458
9459 [BZ #10060, #10062]
9460 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
9461 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
9462 fail configure if __sync_val_compare_and_swap is not inlined.
9463 * sysdeps/i386/configure: Regenerate.
9464 * configure.in: Build for i686 when configured for i386.
9465 * configure: Regenerate.
9466 * README: Remove i386 reference.
9467
b7a329a5
CD
94682013-04-06 Carlos O'Donell <carlos@redhat.com>
9469
9470 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
9471 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9472
bf0f50df
TS
94732013-04-05 Thomas Schwinge <thomas@codesourcery.com>
9474
ee091edf
TS
9475 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
9476 (lmsnanval): New variables.
9477 (F): Add conversion tests.
9478 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
9479 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
9480
a8b792d6
TS
9481 * stdio-common/tstdiomisc.c (F): Properly collect individual
9482 tests' results.
9483
a1cbf437
TS
9484 [BZ #14686, #15336]
9485 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
9486 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
9487 Instead, use input NaN values or generate a qNaN by arithmetic
9488 operation. Also fix bugs to comply with the standard.
9489 * math/libm-test.inc (remainder_test): Add more tests.
9490
8b43a0c9
TS
9491 [BZ #15335, #15342]
9492 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
9493 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
9494 input NaN values or generate a qNaN by arithmetic operation.
9495
d91da4ce
TS
9496 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
9497 unreachable code.
9498
bf0f50df
TS
9499 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
9500 definitions.
9501
05e166c8
JM
95022013-04-03 Joseph Myers <joseph@codesourcery.com>
9503
9504 [BZ #14478]
9505 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
9506 underflowed result.
9507 * math/s_cexpf.c (__cexpf): Likewise.
9508 * math/s_cexpl.c (__cexpl): Likewise.
9509 * math/libm-test.inc (cexp_test): Add more tests.
9510
1cef1b19
AS
95112013-04-03 Andreas Schwab <schwab@suse.de>
9512
9513 [BZ #15330]
9514 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
9515 order arrays from heap if bigger than alloca cutoff.
9516
74d87055
TS
95172013-04-03 Thomas Schwinge <thomas@codesourcery.com>
9518
9519 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
9520 (SNAN_TESTS_double): Refer to GCC PR56831.
9521 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
9522 GCC PR56828.
9523
d755bba4
SP
95242013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9525
90d5d5bb
SP
9526 * Rules (bench): Move bench.out after the run is complete.
9527
73e0cd5d
SP
9528 * Rules (bench): Echo currently running benchmark.
9529
64aabd4b
SP
9530 * benchtests/Makefile (bench): Add atan and slowatan.
9531 * benchtests/atan-inputs: New file.
9532 * benchtests/slowatan-inputs: New file.
9533 * benchtests/slowatan.c: New file.
9534
c871eccd
SP
9535 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
9536 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
9537 its value.
9538
d755bba4
SP
9539 [BZ #15305]
9540 * sysdeps/unix/sysv/linux/kernel-features.h
9541 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
9542 __ASSUME_XFS_RESTRICTED_CHOWN.
9543 * sysdeps/unix/sysv/linux/pathconf.c
9544 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9545 Save and restore errno.
9546
52ce4860
JM
95472013-04-02 Joseph Myers <joseph@codesourcery.com>
9548
9549 [BZ #15327]
9550 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
9551 arguments using __kernel_casinh.
9552 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
9553 arguments using __kernel_casinhf.
9554 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
9555 arguments using __kernel_casinhl.
9556 * math/libm-test.inc (cacosh_test): Add more tests.
9557 * sysdeps/i386/fpu/libm-test-ulps: Update.
9558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9559
81f311c2
SP
95602013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9561
e7906a47
SP
9562 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
9563 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
9564
92e3664b
SP
9565 * bench/Makefile (bench): Add sin and slowsin.
9566 * benchtests/sin-inputs: New file.
9567 * benchtests/slowsin-inputs: New file.
9568 * benchtests/slowsin.c: New file.
9569
81f311c2
SP
9570 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
9571 (bench): Add slowexp and slowpow.
9572 (exp-ITER): Increase iterations.
9573 (pow-ITER): Likewise.
9574 * benchtests/exp-inputs: Change input.
9575 * benchtests/pow-inputs: Likewise.
9576 * benchtests/slowexp-inputs: New file.
9577 * benchtests/slowexp.c: New file.
9578 * benchtests/slowpow-inputs: New file.
9579 * benchtests/slowpow.c: New file.
9580
ab0f1aa9
AZ
95812013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9582
9583 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
9584 instructions.
9585 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9586 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
9587 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9588 * benchtests/Makefile: Add rint benchtest.
9589 * benchtests/rint-inputs: Input for rint benchtest.
9590
57267616
TS
95912013-04-02 Thomas Schwinge <thomas@codesourcery.com>
9592
9593 * Versions.def (libm): Add GLIBC_2.18.
9594 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
9595 hidden libm prototypes.
9596 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
9597 * math/Makefile (libm-calls): Add s_issignaling.
9598 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
9599 __issignalingf, __issignalingl. Adjust all libm.abilist files.
9600 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
9601 declaration.
9602 * math/math.h [__USE_GNU] (issignaling): New macro.
9603 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
9604 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
9605 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
9606 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
9607 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
9608 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
9609 * manual/arith.texi (issignaling): New section.
9610 * manual/libm-err-tab.pl (@all_functions): Update comment.
9611 * math/gen-libm-test.pl (parse_args): Apply special handling for
9612 issignaling.
9613 * math/libm-test.inc (print_float, issignaling_test): New
9614 functions.
9615 (check_float_internal): Add issignaling checks.
9616 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
9617 default definition.
9618 * sysdeps/powerpc/math-tests.h: New file.
9619 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
9620 tests.
9621 * math/test-snan.c (TEST_FUNC): Likewise.
9622
6142896d
DM
96232013-03-30 David S. Miller <davem@davemloft.net>
9624
9625 * po/de.po: Update from translation team.
9626
ccc8cadf
JM
96272013-03-30 Joseph Myers <joseph@codesourcery.com>
9628
9629 [BZ #10357]
9630 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9631 imaginary part less than 1.0 and real part less than 0.5
9632 specially.
9633 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9634 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9635 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
9636 (cacos_test): Add more tests.
9637 (casin_test): Likewise.
9638 (casinh_test): Likewise.
9639 * sysdeps/i386/fpu/libm-test-ulps: Update.
9640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9641
0f6a8d4b
SP
96422013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9643
0d1029de
SP
9644 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
9645 ONE with its value.
9646
c2d94018
SP
9647 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
9648 (__pow_mp): Replace ONE and MONE with their values.
9649 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9650 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
9651 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9652 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
9653 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9654 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9655
27ec37f1
SP
9656 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
9657
a64d7e0e
SP
9658 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
9659 (__pow_mp): Replace ZERO and MZERO with their values.
9660 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9661 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9662 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9663 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9664 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9665 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
9666 (__sqr): Likewise.
9667
d26dd3eb
SP
9668 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
9669
0f6a8d4b
SP
9670 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
9671
e57b0c61
RM
96722013-03-28 Roland McGrath <roland@hack.frob.com>
9673
9674 * include/stdlib.h [!SHARED] (__call_tls_dtors):
9675 Declare with __attribute__ ((weak)).
9676 * stdlib/exit.c (__libc_atexit) [!SHARED]:
9677 Call __call_tls_dtors only if it's not NULL.
9678
356b3480
RM
96792013-03-28 Roland McGrath <roland@hack.frob.com>
9680
288f7d79
RM
9681 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
9682 didn't do it already, then set _dl_phdr and _dl_phnum based on the
9683 magic __ehdr_start linker symbol if it's defined.
9684 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
9685 them up here if it was already done.
9686
dc0a0263
RM
9687 * elf/dl-support.c (_dl_phdr): Make pointer to const.
9688 (_dl_aux_init): Use const in cast when setting it.
9689 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
9690 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
9691 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
9692
3d3436ae
RM
9693 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
9694 Declare them here.
9695 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
9696 * csu/libc-tls.c: Nor here.
9697 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
9698
356b3480
RM
9699 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
9700 (__libc_message): Never call vsyslog.
9701
b0f1246a
AM
97022013-03-28 Alan Modra <amodra@gmail.com>
9703
9704 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
9705 Define as empty.
9706 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
9707 Likewise.
9708
fbbe2b9a
AZ
97092013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9710
9711 [BZ #15214]
9712 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
9713 underflow.
9714 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9715
1728ab37
SP
97162013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9717
7a86be6e
SP
9718 [BZ #15304]
9719 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9720 Don't add gid passed as argument.
9721
1728ab37
SP
9722 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
9723
3a7182a1
JM
97242013-03-27 Joseph Myers <joseph@codesourcery.com>
9725
9726 [BZ #15307]
9727 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9728 imaginary part between 1.0 and 1.5 and real part less than 0.5
9729 specially.
9730 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9731 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9732 * math/libm-test.inc (cacos_test): Add more tests.
9733 (casin_test): Likewise.
9734 (casinh_test): Likewise.
9735 * sysdeps/i386/fpu/libm-test-ulps: Update.
9736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9737
6f2e90e7
SP
97382013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9739
5739f705
SP
9740 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
9741 constants.
9742 (norm): Likewise.
9743 (denorm): Likewise.
9744 (__dbl_mp): Likewise.
9745 (add_magnitudes): Likewise.
9746 (sub_magnitudes): Likewise.
9747 (__add): Likewise.
9748 (__sub): Likewise.
9749 (__mul): Likewise.
9750 (__sqr): Likewise.
9751 (__inv): Likewise.
9752 (__dvd): Likewise.
9753
e375e83d
SP
9754 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
9755 commented code.
9756 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
9757 (__dubcos): Likewise.
9758 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
9759 (__ieee754_acos): Likewise.
9760 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9761 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
9762 (__exp1): Likewise.
9763 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9764 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9765 (log1): Likewise.
9766 (my_log2): Likewise.
9767 (checkint): Likewise.
9768 * sysdeps/ieee754/dbl-64/e_remainder.c
9769 (__ieee754_remainder): Likewise.
9770 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9771 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
9772 (bsloww): Likewise.
9773 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9774
6f2e90e7
SP
9775 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9776 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
9777 MANTISSA_STORE_T to store computations on mantissa. Use
9778 macros for rounding and division.
9779 (denorm): Likewise.
9780 (__dbl_mp): Likewise.
9781 (add_magnitudes): Likewise.
9782 (sub_magnitudes): Likewise.
9783 (__mul): Likewise.
9784 (__sqr): Likewise.
9785 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
9786 powers of two in terms of TWOPOW macro.
9787 (mp_no): Make type of mantissa as MANTISSA_T.
9788 [!RADIXI]: Define RADIXI.
9789 [!TWO52]: Define TWO52.
9790 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9791
fce14d4e
AZ
97922013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9793
9794 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
9795 llroundl symbol when building for PPC32.
9796
9ad027fb
MW
97972013-03-24 Mark H Weaver <mhw@netris.org>
9798
9799 * manual/arith.texi (Normalization Functions): Fix prototypes for
9800 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
9801
e42a38dd
AZ
98022013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9803
9804 [BZ #13889]
9805 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
9806 high value to check if expl overflow.
9807 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
9808 to check for underflow and overflow.
9809 * math/libm-test.inc: Add exp test.
9810
2e0fb521
DL
98112013-03-21 Dmitry V. Levin <ldv@altlinux.org>
9812
9813 [BZ #11120]
9814 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
9815 with NOT_IN_libc.
9816
b5784d95
AZ
98172013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9818
9819 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
9820 symbol.
9821
5aa4a1a1
TS
98222013-03-21 Thomas Schwinge <thomas@codesourcery.com>
9823
bdef0be7
TS
9824 * math/gen-libm-test.pl (parse_args, special_functions): Properly
9825 wrap blocks consisting of several statements.
9826
5aa4a1a1
TS
9827 * sysdeps/generic/math-tests.h: New file.
9828 * sysdeps/i386/fpu/math-tests.h: Likewise.
9829 * math/test-snan.c: Include it.
9830 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
9831
98c48fe5
JM
98322013-03-21 Joseph Myers <joseph@codesourcery.com>
9833
9834 [BZ #15285]
9835 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
9836 (__ieee754_j0l): Do not improve calculations using cos of twice
9837 input for inputs above LDBL_MAX / 2.0L.
9838 (__ieee754_y0l): Likewise.
9839 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
9840 (__ieee754_j1l): Do not improve calculations using cos of twice
9841 input for inputs above LDBL_MAX / 2.0L.
9842 (__ieee754_y1l): Likewise.
9843 * math/libm-test.inc (j0_test): Add another test.
9844 (j1_test): Likewise.
9845 (y0_test): Likewise.
9846 (y1_test): Likewise.
9847 * sysdeps/i386/fpu/libm-test-ulps: Update.
9848
3775a8bc
SP
98492013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9850
9851 * Rules ($(objpfx)bench-%.c): Include code from a C source
9852 file.
9853
0a1b2ae6
JM
98542013-03-21 Joseph Myers <joseph@codesourcery.com>
9855
9856 [BZ #15287]
9857 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9858 imaginary part 1.0 and real part less than 0.5 specially.
9859 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9860 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9861 * math/libm-test.inc (cacos_test): Add more tests.
9862 (casin_test): Likewise.
9863 (casinh_test): Likewise.
9864 * sysdeps/i386/fpu/libm-test-ulps: Update.
9865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9866
b33d4ce4
SP
98672013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9868
9869 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
9870 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
9871
bef0b507
JM
98722013-03-20 Joseph Myers <joseph@codesourcery.com>
9873
9874 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
9875 * config.make.in (config-cflags-sse4): Remove variable.
9876 (config-cflags-avx): Likewise.
9877 (config-cflags-sse2avx): Likewise.
9878 (config-cflags-novzeroupper): Likewise.
9879 (config-asflags-i686): Likewise.
9880 (have-mfma4): Likewise.
9881 (have-as-vis3): Likewise.
9882 (MIG): Likewise.
9883 * configure.in (MIG): Do not AC_SUBST.
9884 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
9885 (libc_cv_cc_sse4): Do not AC_SUBST.
9886 (libc_cv_cc_avx): Likewise.
9887 (libc_cv_cc_sse2avx): Likewise.
9888 (libc_cv_cc_novzeroupper): Likewise.
9889 (libc_cv_cc_fma4): Likewise.
9890 (libc_cv_as_i686): Likewise.
9891 (libc_cv_sparc_as_vis3): Likewise.
9892 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
9893 LIBC_CONFIG_VAR.
9894 (config-asflags-i686): Likewise.
9895 (config-cflags-avx): Likewise.
9896 (config-cflags-sse2avx): Likewise.
9897 (have-mfma4): Likewise.
9898 (config-cflags-novzeroupper): Likewise.
9899 * sysdeps/mach/configure.in (MIG): Likewise.
9900 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
9901 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
9902 LIBC_CONFIG_VAR.
9903 (config-cflags-avx): Likewise.
9904 (config-cflags-sse2avx): Likewise.
9905 (have-mfma4): Likewise.
9906 (config-cflags-novzeroupper): Likewise.
9907 * configure: Regenerated.
9908 * sysdeps/i386/configure: Likewise.
9909 * sysdeps/mach/configure: Likewise.
9910 * sysdeps/sparc/configure: Likewise.
9911 * sysdeps/x86_64/configure: Likewise.
9912
912cc4b3
RM
99132013-03-20 Roland McGrath <roland@hack.frob.com>
9914
9915 [BZ #14812]
9916 * locale/programs/localedef.c (options): Put N_ translation marker
9917 on argument names, not just descriptions.
9918
04eed2b0
MS
99192013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9920
9921 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
9922
a065ceff
OB
99232013-03-20 Ondřej Bílka <neleai@seznam.cz>
9924
9bb2a810 9925 [BZ #14176]
a065ceff
OB
9926 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
9927
a600e5ce
RM
99282013-03-19 Roland McGrath <roland@hack.frob.com>
9929
9930 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
9931 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
9932 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
9933 [!BEFORE_ABORT] (before_abort): New function.
9934 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
9935 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
9936 (writev_for_fatal): New function.
9937 (WRITEV_FOR_FATAL): New macro; call that.
9938 (backtrace_and_maps): New function.
9939 (BEFORE_ABORT): New macro; call that.
9940 (struct str_list): Type removed.
9941 (__libc_message, __libc_fatal): Functions removed.
9942 Include <sysdeps/posix/libc_fatal.c> instead.
9943
6b18bea6
JM
99442013-03-19 Joseph Myers <joseph@codesourcery.com>
9945
9946 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
9947 constants.
9948 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
9949 double constants.
9950
aaa8cb4b
AS
99512013-03-19 Andreas Schwab <schwab@suse.de>
9952
44673770
AS
9953 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
9954 * sysdeps/gnu/configure: Regenerate.
9955
aaa8cb4b
AS
9956 * configure.in: Substitute libc_cv_rtlddir.
9957 * configure: Regenerate.
9958 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
9959 * Makeconfig (rtlddir, inst_rtlddir): New variables.
9960 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
9961 * elf/Makefile (install-others, CFLAGS-interp.c)
9962 (ldso_install, common-ldd-rewrite): Likewise.
9963 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
9964 $(inst_slibdir)/$(rtld-installed-name).
9965 * scripts/rellns-sh: Add -p option.
9966 * Makerules (make-shlib-link): Use rellns-sh to get relative name
9967 for source.
9968
d3cfc668
SP
99692013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9970
9971 * manual/nptl.texi: Renamed to ...
9972 * manual/threads.texi: ... this.
9973 * manual/Makefile (chapters): Update.
9974
0e2b9cdd
RM
99752013-03-18 Roland McGrath <roland@hack.frob.com>
9976
9977 [BZ #14812]
9978 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
9979 on argument names, not just descriptions.
0e2b9cdd
RM
9980 * malloc/memusagestat.c (options): Likewise.
9981 * nss/getent.c (options): Likewise.
63270c24
RM
9982
99832013-03-18 Benno Schulenberg <bensberg@justemail.net>
9984
9985 [BZ #14812]
9986 * iconv/iconv_prog.c (options): Put N_ translation marker
9987 on argument names, not just descriptions.
9988 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 9989
b2e1393c
OB
99902013-03-18 Ondrej Bilka <neleai@seznam.cz>
9991
9992 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
9993 implementation which is faster on all x86_64 architectures.
9994 Tested on AMD, Intel Nehalem, SNB, IVB.
9995 * sysdeps/x86_64/strnlen.S: Likewise.
9996
9997 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9998 Remove all multiarch strlen and strnlen versions.
9999 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10000 Remove strlen and strnlen related parts.
10001
10002 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
10003 Inline strlen part.
10004 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10005
10006 * sysdeps/x86_64/multiarch/strlen.S: Remove.
10007 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
10008 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
10009 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
10010 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10011 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
10012
ec4ff04d
CD
100132013-03-17 Carlos O'Donell <carlos@redhat.com>
10014
10015 * manual/memory.texi (Malloc Tunable Parameters):
10016 Sort parameters alphabetically. Add comments for missing entries.
10017
cd18e90a
DM
100182013-03-17 David S. Miller <davem@davemloft.net>
10019
10020 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10021
2a185d32
JM
100222013-03-16 Joseph Myers <joseph@codesourcery.com>
10023
d2f9799e
JM
10024 [BZ #15283]
10025 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
10026 for arguments at most half maximum finite value.
10027 * math/libm-test.inc (j0_test): Add more tests.
10028 (j1_test): Likewise.
10029 (y0_test): Likewise.
10030 (y1_test): Likewise.
10031 * sysdeps/i386/fpu/libm-test-ulps: Update.
10032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10033
2a185d32
JM
10034 [BZ #14155]
10035 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
10036 1 / x and functions P and Q for arguments above 0x1p256L.
10037 (__ieee754_y0l): Likewise.
10038 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10039 (__ieee754_y1l): Likewise.
10040 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
10041 (j1_test): Likewise.
10042 (y0_test): Likewise.
10043 (y1_test): Likewise.
10044
6cbec759
TS
100452013-03-16 Thomas Schwinge <thomas@codesourcery.com>
10046
10047 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
10048 variable.
10049
bc16e260
RM
100502013-03-15 Roland McGrath <roland@hack.frob.com>
10051
aefc9b8c
RM
10052 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
10053 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
10054 zero since it's initialized to EXEC_PAGESIZE.
10055
bc16e260
RM
10056 * sysdeps/unix/sysv/linux/ldsodefs.h
10057 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
10058 * sysdeps/generic/ldsodefs.h: ... here.
10059
a57da955
TS
100602013-03-15 Thomas Schwinge <thomas@codesourcery.com>
10061
af00a34d
TS
10062 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
10063
495ded2c
TS
10064 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
10065 math/test-snan.c.
10066 * math/test-snan.c: Renamed from
10067 sysdeps/powerpc/fpu/test-powerpc-snan.c.
10068 * math/Makefile (tests): Add test-snan.
10069 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
10070 test-powerpc-snan.
10071
777b0332
TS
10072 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
10073 SUFFIX. Initialize qNaN_var with __builtin_nan family of
10074 functions.
10075 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
10076 __builtin_nan family of functions.
10077 * math/libm-test.inc (initialize): Initialize qnan_value with
10078 __builtin_nan family of functions.
10079 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
10080 Remove variables.
10081 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
10082 Remove functions.
10083 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
10084 storage class. Initialize qNaN_var and sNaN_var with
10085 __builtin_nan and __builtin_nans families of functions,
10086 respectively.
10087
64d063b8
TS
10088 * math/libm-test.inc (acosh_test): Also test with qNaN input.
10089 (sqrt_test): Remove duplicate test with qNaN input.
10090 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
10091 (round_test, signbit_test, significand_test): Note missing +/-Inf
10092 as well as qNaN tests.
10093
67e971f1
TS
10094 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
10095 qNaN_var. Fix a few strings, too.
10096 * math/libm-test.inc (nan_value): Rename to qnan_value.
10097 * math/gen-libm-test.pl (%beautify): Adjust to that.
10098 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
10099 * math/test-misc.c (main): Likewise.
10100 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
10101 to __qnan_bytes, and __qnan_union, respectively.
10102 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
10103 Likewise.
10104 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
10105 and lqnanval, respectively.
10106 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
10107 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
10108 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
10109 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
10110
64487e12
TS
10111 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
10112 * math/test-misc.c (main) [__x86_64__]: Enable test for long
10113 doubles.
10114
e015e27b
TS
10115 * math/test-misc.c (main): Fix copy'n'pastos.
10116 * misc/tst-efgcvt.c (special): Likewise.
10117
a57da955
TS
10118 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
10119 Remove declarations.
10120
1e380345
SP
101212013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10122
10123 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
10124 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
10125 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
10126 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
10127
ef26eece
AZ
101282013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10129
10130 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
10131 macro to return vdso values correctly in IFUNC implementations.
10132 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10133 Optimization by using IFUNC.
10134
8cfdb7e0
SP
101352013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10136 Richard Henderson <rth@redhat.com>
10137 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10138
10139 * Makefile.in (bench): New target.
10140 * NEWS: Mention the benchmark framework.
10141 * Rules (bench): Likewise.
10142 (binaries-bench): Generate binaries for functions to
10143 benchmark.
10144 * benchtests/Makefile: New makefile for benchmark tests.
10145 * benchtests/bench-skeleton.c: New skeleton file for benchmark
10146 programs.
10147 * benchtests/exp-inputs: New input file for EXP function.
10148 * benchtests/pow-inputs: New input file for POW function.
10149 * scripts/bench.pl: New script to generate source files for
10150 benchmark programs.
10151
bcda9880
SP
101522013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10153
d22ca8cd
SP
10154 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10155 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
10156 computations on mantissa. Use macros for rounding and
10157 division.
10158 (denorm): Likewise.
10159 (__dbl_mp): Likewise.
10160 (add_magnitudes): Likewise.
10161 (sub_magnitudes): Likewise.
10162 (__mul): Likewise.
10163 (__sqr): Likewise.
10164 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10165 powers of two in terms of TWOPOW macro.
10166 (mp_no): Make type of mantissa as MANTISSA_T.
10167 [!RADIXI]: Define RADIXI.
10168 [!TWO52]: Define TWO52.
10169 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10170
bcda9880
SP
10171 * manual/nptl.texi (cindex): Modify threads to pthreads.
10172
06d5adfb
JM
101732013-03-15 Joseph Myers <joseph@codesourcery.com>
10174
10175 * sysdeps/x86_64/preconfigure: Regenerated.
10176
41c7328e
JM
101772013-03-14 Joseph Myers <joseph@codesourcery.com>
10178
10179 [BZ #14155]
10180 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
10181 0x1p28 and above.
10182 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
10183 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
10184 0x1p28 and above.
10185 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
10186 * math/libm-test.inc (j0_test): Do not allow one spurious
10187 underflow exception.
10188 (y1_test): Likewise.
10189
e25cfa60
SP
101902013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10191
0409959c
SP
10192 * manual/Makefile (chapters): Add nptl.
10193 * manual/debug.texi (Debugging Support): Add link to Threads
10194 chapter.
10195 * manual/nptl.texi: New file.
10196
e25cfa60
SP
10197 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
10198
58a1335e
PB
101992013-03-14 Petr Baudis <pasky@ucw.cz>
10200
10201 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
10202 for non-NULL pointer before the memory validity test. Pointed
10203 out by Holger Brunck <holger.brunck@keymile.com>.
10204
9dc7c64f
AS
102052013-03-13 Andreas Schwab <schwab@suse.de>
10206
10207 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
10208 instead of .os.
10209
54206aa6
JM
102102013-03-13 Joseph Myers <joseph@codesourcery.com>
10211
10212 * timezone/zic.c: Update from tzcode 2013b.
10213
e98cdb38
CD
102142013-03-12 Carlos O'Donell <carlos@redhat.com>
10215
10216 * manual/install.texi (Configuring and compiling):
10217 Mention i686 and i586.
10218 * INSTALL: Regenerate.
10219
9967e003
RM
102202013-03-12 Roland McGrath <roland@hack.frob.com>
10221
10222 * sysdeps/init_array/elf-init.c: New file.
10223 * csu/elf-init.c
10224 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
10225 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
10226
10227 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
10228 __gmon_start__ as global, but as static with a .preinit_array pointer.
10229 * sysdeps/init_array/gmon-start.c: New file. Use that.
10230 * sysdeps/init_array/crti.S: New file, empty except for comments.
10231 * sysdeps/init_array/crtn.S: Likewise.
10232
e6b5a293 102332013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
10234
10235 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
10236 definining bcopy.
80f844c9
OB
10237 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10238 Remove Prefer_SSE_for_memop.
10239 * sysdeps/x86_64/multiarch/init-arch.h: Remove
10240 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
10241 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
10242 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10243 memset-x86-64.
80f844c9 10244 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 10245 Remove bzero, memset ifunc support.
80f844c9
OB
10246 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
10247 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
10248 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10249 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10250
fb6b0fcb
AS
102512013-03-11 Andreas Schwab <schwab@suse.de>
10252
10253 [BZ #15234]
10254 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
10255 by SHLIB_COMPAT.
10256 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
10257 (GLIBC_2.16): Remove pthread_atfork.
10258
3e6bd4b1
PP
102592013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
10260
10261 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
10262 (ptestcases.h): Likewise.
10263
222d7f00
RM
102642013-03-08 Roland McGrath <roland@hack.frob.com>
10265
10266 * Makeconfig ($(common-objpfx)config.status): Depend on
10267 sysdeps/*/preconfigure{,.in} too.
10268
1ba4f030
JM
102692013-03-08 Joseph Myers <joseph@codesourcery.com>
10270
a222d91a
JM
10271 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
10272 (__free_hook): Use void * instead of __malloc_ptr_t.
10273 (__malloc_hook): Likewise.
10274 (__realloc_hook): Likewise.
10275 (__memalign_hook): Likewise.
10276 (__after_morecore_hook): Likewise.
10277 * malloc/arena.c (save_malloc_hook): Likewise.
10278 (save_free_hook): Likewise.
10279 * malloc/hooks.c (malloc_hook_ini): Likewise.
10280 (realloc_hook_ini): Likewise.
10281 (memalign_hook_ini): Likewise.
10282 * malloc/malloc.c (malloc_hook_ini): Likewise.
10283 (realloc_hook_ini): Likewise.
10284 (memalign_hook_ini): Likewise.
10285 (__free_hook): Likewise.
10286 (__malloc_hook): Likewise.
10287 (__realloc_hook): Likewise.
10288 (__memalign_hook): Likewise.
10289 (__libc_malloc): Likewise.
10290 (__libc_free): Likewise.
10291 (__libc_realloc): Likewise.
10292 (__libc_memalign): Likewise.
10293 (__libc_valloc): Likewise.
10294 (__libc_pvalloc): Likewise.
10295 (__libc_calloc): Likewise.
10296 (__posix_memalign): Likewise.
10297 * malloc/morecore.c (__sbrk): Likewise.
10298 (__default_morecore): Likewise.
10299
5cc45e10
JM
10300 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
10301
dd54b864
JM
10302 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
10303 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
10304 __malloc_ptrdiff_t.
10305
1ba4f030
JM
10306 * malloc/malloc.h (__malloc_size_t): Remove macro.
10307 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
10308 __malloc_size_t.
10309 (old_memalign_hook): Likewise.
10310 (old_realloc_hook): Likewise.
10311 (struct hdr): Likewise.
10312 (flood): Likewise.
10313 (mallochook): Likewise.
10314 (memalignhook): Likewise.
10315 (reallochook): Likewise.
10316 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
10317 (tr_old_realloc_hook): Likewise.
10318 (tr_old_memalign_hook): Likewise.
10319 (tr_mallochook): Likewise.
10320 (tr_reallochook): Likewise.
10321 (tr_memalignhook): Likewise.
10322
edf66e57
AZ
103232013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10324
10325 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
10326 default_ldbl_pack and using as default implementation.
10327 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
10328 implementation.
10329 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
10330 redundant definition.
10331 (ldbl_insert_mantissa): Likewise.
10332 (ldbl_canonicalize): Likewise.
10333 (ldbl_nearbyint): Likewise.
10334 (ldbl_pack): Rename to ldbl_pack_ppc.
10335 (ldbl_unpack): Rename to ldbl_unpack_ppc.
10336 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
10337 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
10338
6d9145d8
SP
103392013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10340
10341 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
10342 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
10343 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
10344 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
10345 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
10346 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
10347 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
10348 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
10349
4dd4e157
AJ
103502013-03-07 Andreas Jaeger <aj@suse.de>
10351
10352 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10353 bits/mman-linux.h.
10354
adbb8027
SP
103552013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10356
ce544b5b
SP
10357 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
10358 Include mpa.h and declare __MPEXP.
10359 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
10360 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10361 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10362 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
10363 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10364 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10365 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
10366
4cc149fd
SP
10367 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
10368 (__slowpow): Use long double EXPL and LOGL functions to
10369 compute POW.
10370 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10371 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10372 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
10373 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10374 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10375 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
10376
e6ebd4a7
SP
10377 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
10378 intermediate variable to calculate exponent.
10379 (__sqr): Likewise.
10380 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10381 Likewise.
10382 (__sqr): Likewise.
10383
82a9811d
SP
10384 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
10385 [!NO__SQR]: Define __sqr.
10386 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
10387 and NO__SQR. Remove all code except __mul and __sqr. Include
10388 sysdeps/ieee754/dbl-64/mpa.c.
10389 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10390
adbb8027
SP
10391 [BZ #12723]
10392 * posix/Makefile (tests): Add tst-pathconf.
10393 * posix/tst-pathconf.c: New test case.
10394 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
10395 _PC_PIPE_BUF.
10396 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
10397
39120df9
PF
103982013-03-06 Patsy Franklin <pfrankli@redhat.com>
10399
10400 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
10401
67525cb8
AJ
104022013-03-06 Andreas Jaeger <aj@suse.de>
10403
664a9ce4
AJ
10404 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
10405 definition via __MAP_ANONYMOUS.
10406
8e39047d
AJ
10407 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
10408 it's not part of Linux headers.
10409
67525cb8
AJ
10410 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
10411 (MAP_HUGE_MASK): Define.
10412
10413 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10414 Define.
10415 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10416 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10417 Define.
10418 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10419 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10420 Define.
10421 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10422 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
10423 Define.
10424 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10425
10426 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
10427 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
10428 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
10429 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
10430 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
10431 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
10432
10433 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10434 Handle f2fs.
10435
10436 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10437 Handle f2fs and efivarfs.
10438
10439 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
10440 f2fs.
10441
10442 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
10443 (EFIVARFS_MAGIC): Add.
10444 (F2FS_LINK_MAX): Add.
10445
e1b42695
PP
104462013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10447
10448 * stdio-common/vfprintf.c: Replace __builtin_expect with
10449 __glibc_unlikely.
10450
2d67d91a
JM
104512013-03-06 Joseph Myers <joseph@codesourcery.com>
10452
10453 [BZ #13550]
10454 * sysdeps/generic/bp-sym.h: Remove file.
10455 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
10456 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
10457 <bp-sym.h> and <bp-asm.h>.
10458 (__longjmp): Don't use BP_SYM.
10459 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
10460 and <bp-asm.h>.
10461 (memcpy): Don't use BP_SYM.
10462 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
10463 <bp-sym.h> and <bp-asm.h>.
10464 (memcpy): Don't use BP_SYM.
10465 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
10466 <bp-asm.h>.
10467 (memcpy): Don't use BP_SYM.
10468 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
10469 <bp-asm.h>.
10470 (memset): Don't use BP_SYM.
10471 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10472 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10473 (__bzero): Don't use BP_SYM.
10474 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10475 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10476 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
10477 <bp-sym.h> and <bp-asm.h>.
10478 (memcmp): Don't use BP_SYM. Remove comment about bounded
10479 pointers.
10480 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
10481 <bp-sym.h> and <bp-asm.h>.
10482 (memcpy): Don't use BP_SYM.
10483 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
10484 <bp-sym.h> and <bp-asm.h>.
10485 (memset): Don't use BP_SYM.
10486 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10487 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10488 (__bzero): Don't use BP_SYM.
10489 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10490 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10491 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
10492 <bp-sym.h> and <bp-asm.h>.
10493 (strncmp): Don't use BP_SYM. Remove comment about bounded
10494 pointers.
10495 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
10496 <bp-sym.h> and <bp-asm.h>.
10497 (memcpy): Don't use BP_SYM.
10498 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
10499 <bp-sym.h> and <bp-asm.h>.
10500 (memset): Don't use BP_SYM.
10501 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10502 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10503 (__bzero): Don't use BP_SYM.
10504 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10505 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10506 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
10507 <bp-sym.h> and <bp-asm.h>.
10508 (__memchr): Don't use BP_SYM.
10509 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
10510 <bp-sym.h> and <bp-asm.h>.
10511 (memcmp): Don't use BP_SYM. Remove comment about bounded
10512 pointers.
10513 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
10514 <bp-sym.h> and <bp-asm.h>.
10515 (memcpy): Don't use BP_SYM.
10516 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
10517 <bp-sym.h> and <bp-asm.h>.
10518 (__mempcpy): Don't use BP_SYM.
10519 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
10520 <bp-sym.h> and <bp-asm.h>.
10521 (__memrchr): Don't use BP_SYM.
10522 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
10523 <bp-sym.h> and <bp-asm.h>.
10524 (memset): Don't use BP_SYM.
10525 (__bzero): Likewise.
10526 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
10527 <bp-sym.h> and <bp-asm.h>.
10528 (__rawmemchr): Don't use BP_SYM.
10529 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
10530 <bp-sym.h> and <bp-asm.h>.
10531 (__STRCMP): Don't use BP_SYM.
10532 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
10533 <bp-sym.h> and <bp-asm.h>.
10534 (strchr): Don't use BP_SYM.
10535 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
10536 <bp-sym.h> and <bp-asm.h>.
10537 (__strchrnul): Don't use BP_SYM.
10538 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
10539 <bp-sym.h> and <bp-asm.h>.
10540 (strlen): Don't use BP_SYM.
10541 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
10542 <bp-sym.h> and <bp-asm.h>.
10543 (strncmp): Don't use BP_SYM. Remove comment about bounded
10544 pointers.
10545 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
10546 <bp-sym.h> and <bp-asm.h>.
10547 (__strnlen): Don't use BP_SYM.
10548 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
10549 <bp-sym.h> and <bp-asm.h>.
10550 (__GI__setjmp): Don't use BP_SYM.
10551 (_setjmp): Likewise.
10552 (__sigsetjmp): Likewise.
10553 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
10554 (L(start_addresses)): Don't use BP_SYM.
10555 (_start): Likewise.
10556 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
10557 <bp-asm.h>.
10558 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
10559 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
10560 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10561 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10562 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
10563 <bp-asm.h>.
10564 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
10565 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
10566 about bounded pointers.
10567 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10568 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10569 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
10570 <bp-asm.h>.
10571 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
10572 about bounded pointers. Remove GKM FIXME comments.
10573 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10574 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
10575 <bp-asm.h>.
10576 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
10577 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
10578 Remove GKM FIXME comments.
10579 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10580 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10581 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
10582 <bp-asm.h>.
10583 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
10584 about bounded pointers. Remove GKM FIXME comment.
10585 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
10586 and <bp-asm.h>.
10587 (strncmp): Don't use BP_SYM. Remove comment about bounded
10588 pointers.
10589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
10590 <bp-sym.h> and <bp-asm.h>.
10591 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
10593 <bp-sym.h> and <bp-asm.h>.
10594 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
10595 comment.
10596
cdcf361f
PP
105972013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10598
10599 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
10600 call free(NULL).
10601
3c4a2b15
DM
106022013-03-05 David S. Miller <davem@davemloft.net>
10603
10604 * po/es.po: Update from translation team.
10605
cdcf361f 106062013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
10607
10608 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
10609 <bits/mman-linux.h>.
10610 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10611 is fine.
10612 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
10613 <bits/mman-linux.h> to end of file.
10614 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10615 is fine.
10616 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
10617 <bits/mman-linux.h> to end of file.
10618 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10619 is fine.
10620 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
10621 <bits/mman-linux.h> to end of file.
10622
10623 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
10624 (MCL_CURRENT, MCL_FUTURE): Define here.
10625
5f67c04f
AK
106262013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10627
8a4473cc 10628 [BZ #15232]
5f67c04f
AK
10629 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
10630 attribute_hidden.
10631 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10632
c3e94a95
AK
106332013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10634
10635 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
10636 fourth parameter needed for rt_sigprocmask syscall.
10637 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
10638 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
10639 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
10640 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
10641 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
10642 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
10643
cfb6382a
JM
106442013-03-04 Joseph Myers <joseph@codesourcery.com>
10645
10646 [BZ #13550]
10647 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
10648 comment about bounded pointers.
10649 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
10650 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
10651
539d8e01
AJ
106522013-03-04 Andreas Jaeger <aj@suse.de>
10653
10654 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
10655 common definitions.
10656
10657 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
10658 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
10659 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
10660 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10661 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
10662 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10663
2e167a70 106642013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
10665
10666 [BZ #15055]
10667 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
10668 __ieee754_sqrl instead of __sqrl.
10669
68508633
JM
106702013-03-01 Joseph Myers <joseph@codesourcery.com>
10671
10672 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
10673 * sysdeps/powerpc/fpu_control.h: ... here.
10674 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
10675 * sysdeps/powerpc/bits/fenvinline.h: ... here.
10676 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
10677 * sysdeps/powerpc/bits/mathinline.h: ... here.
10678
7775448e
RM
106792013-03-01 Roland McGrath <roland@hack.frob.com>
10680
10681 * elf/dl-hwcaps.c (_dl_important_hwcaps):
10682 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
10683 to just [NEED_DL_SYSINFO_DSO].
10684 * elf/dl-support.c: Likewise.
10685 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10686 * elf/rtld.c (dl_main): Likewise.
10687 * elf/setup-vdso.h (setup_vdso): Likewise.
10688 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
10689 * sysdeps/unix/sysv/linux/dl-sysdep.c
10690 (_dl_discover_osversion): Likewise.
10691
4e9b5995
CD
106922013-03-01 Carlos O'Donell <carlos@redhat.com>
10693
10694 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
10695 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10696
e23872c8
SP
106972013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
10698
e5c74c63
SP
10699 * NEWS: Mention libm performance improvements and non-x86 PI
10700 futex support.
10701
e23872c8
SP
10702 * csu/libc-start.c (__pthread_initialize_minimal): Change
10703 function arguments.
10704 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10705
b5510883
JM
107062013-02-28 Joseph Myers <joseph@codesourcery.com>
10707
10708 [BZ #13550]
10709 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
10710 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
10711 <bp-sym.h> and <bp-asm.h>.
10712 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10713 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
10714 and <bp-asm.h>.
10715 (memcpy): Don't use BP_SYM.
10716 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
10717 <bp-asm.h>.
10718 (__mpn_add_n): Don't use BP_SYM.
10719 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
10720 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
10721 and <bp-asm.h>.
10722 (__mpn_addmul_1): Don't use BP_SYM.
10723 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10724 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
10725 <bp-sym.h>.
10726 (_setjmp): Don't use BP_SYM.
10727 (__novmx_setjmp): Likewise.
10728 (__GI__setjmp): Likewise.
10729 (__vmx_setjmp): Likewise.
10730 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
10731 <bp-sym.h>.
10732 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
10733 (__bzero): Don't use BP_SYM.
10734 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10735 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10736 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
10737 <bp-sym.h> and <bp-asm.h>.
10738 (memcpy): Don't use BP_SYM.
10739 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
10740 <bp-sym.h> and <bp-asm.h>.
10741 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10742 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
10743 <bp-sym.h> and <bp-asm.h>.
10744 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10745 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
10746 <bp-asm.h>.
10747 (__mpn_lshift): Don't use BP_SYM.
10748 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10749 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
10750 <bp-asm.h>.
10751 (memset): Don't use BP_SYM.
10752 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10753 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10754 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
10755 <bp-asm.h>.
10756 (__mpn_mul_1): Don't use BP_SYM.
10757 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10758 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
10759 <bp-sym.h> and <bp-asm.h>.
10760 (memcmp): Don't use BP_SYM.
10761 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
10762 <bp-sym.h> and <bp-asm.h>.
10763 (memcpy): Don't use BP_SYM.
10764 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
10765 <bp-sym.h> and <bp-asm.h>.
10766 (memset): Don't use BP_SYM.
10767 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
10768 <bp-sym.h> and <bp-asm.h>.
10769 (strncmp): Don't use BP_SYM.
10770 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
10771 <bp-sym.h> and <bp-asm.h>.
10772 (memcpy): Don't use BP_SYM.
10773 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
10774 <bp-sym.h> and <bp-asm.h>.
10775 (memset): Don't use BP_SYM.
10776 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
10777 <bp-sym.h> and <bp-asm.h>.
10778 (__memchr): Don't use BP_SYM.
10779 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
10780 <bp-sym.h> and <bp-asm.h>.
10781 (memcmp): Don't use BP_SYM.
10782 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
10783 <bp-sym.h> and <bp-asm.h>.
10784 (memcpy): Don't use BP_SYM.
10785 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
10786 <bp-sym.h> and <bp-asm.h>.
10787 (__mempcpy): Don't use BP_SYM.
10788 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
10789 <bp-sym.h> and <bp-asm.h>.
10790 (__memrchr): Don't use BP_SYM.
10791 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
10792 <bp-sym.h> and <bp-asm.h>.
10793 (memset): Don't use BP_SYM.
10794 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
10795 <bp-sym.h> and <bp-asm.h>.
10796 (__rawmemchr): Don't use BP_SYM.
10797 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
10798 <bp-sym.h> and <bp-asm.h>.
10799 (__STRCMP): Don't use BP_SYM.
10800 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
10801 <bp-sym.h> and <bp-asm.h>.
10802 (strchr): Don't use BP_SYM.
10803 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
10804 <bp-sym.h> and <bp-asm.h>.
10805 (__strchrnul): Don't use BP_SYM.
10806 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
10807 <bp-sym.h> and <bp-asm.h>.
10808 (strlen): Don't use BP_SYM.
10809 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
10810 <bp-sym.h> and <bp-asm.h>.
10811 (strncmp): Don't use BP_SYM.
10812 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
10813 <bp-sym.h> and <bp-asm.h>.
10814 (__strnlen): Don't use BP_SYM.
10815 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
10816 <bp-asm.h>.
10817 (__mpn_rshift): Don't use BP_SYM.
10818 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10819 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
10820 <bp-sym.h> and <bp-asm.h>.
10821 (__sigsetjmp): Don't use BP_SYM.
10822 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
10823 (L(start_addresses)): Don't use BP_SYM.
10824 (_start): Likewise.
10825 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
10826 <bp-asm.h>.
10827 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
10828 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10829 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10830 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
10831 <bp-asm.h>.
10832 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
10833 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10834 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10835 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
10836 <bp-asm.h>.
10837 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
10838 comments.
10839 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10840 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
10841 <bp-asm.h>.
10842 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
10843 FIXME comments.
10844 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10845 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10846 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
10847 <bp-asm.h>.
10848 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
10849 comment.
10850 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
10851 and <bp-asm.h>.
10852 (strncmp): Don't use BP_SYM,
10853 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
10854 <bp-asm.h>.
10855 (__mpn_sub_n): Don't use BP_SYM.
10856 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10857 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
10858 and <bp-asm.h>.
10859 (__mpn_submul_1): Don't use BP_SYM.
10860 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
10862 <bp-sym.h> and <bp-asm.h>.
10863 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
10865 <bp-sym.h> and <bp-asm.h>.
10866 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
10867 comment.
10868
8d19fe64
SP
108692013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10870
10871 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
10872 Use ZK to minimize writes to Z.
10873 (sub_magnitudes): Simplify code a bit.
10874 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
10875 Use ZK to minimize writes to Z.
10876 (sub_magnitudes): Simplify code a bit.
10877
85bd816a
RM
108782013-02-27 Roland McGrath <roland@hack.frob.com>
10879
10880 * csu/gmon-start.c: Add special exception to license text.
10881
b5977bf2
RH
108822013-02-27 Richard Henderson <rth@redhat.com>
10883
10884 * scripts/config.guess: Update from config.git.
10885 * scripts/config.sub: Likewise.
10886
11d6e2f2
SP
108872013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10888
09c14ed2
SP
10889 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
10890
a688864e
SP
10891 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
10892
6295157a
SP
10893 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
10894
b8de2202
SP
10895 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
10896
11d6e2f2
SP
10897 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
10898
7e80ddb8
RM
108992013-02-26 Roland McGrath <roland@hack.frob.com>
10900
10901 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
10902 [$(build-shared = yes].
7e80ddb8 10903
7da6d9ed
SP
109042013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10905
45f05884
SP
10906 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
10907 (__mul): Reduce iterations for calculating mantissa.
10908
2236d359
SP
10909 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
10910 MPTWO.
10911 (__mpranred): Likewise.
10912
7da6d9ed
SP
10913 [BZ #15160]
10914 * malloc/memusagestat.c (main): Draw graphs for heap and stack
10915 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
10916
b7688c42
PE
109172013-02-26 Paul Eggert <eggert@cs.ucla.edu>
10918
10919 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
10920 Define __attribute__.
10921
53a5c423
SP
109222013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10923
10924 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
10925 unused.
10926 * posix/regex_internal.h (__attribute): Remove.
10927 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
10928 (re_string_context_at): Likewise.
10929 (bitset_not): Use __attribute__ and mark function as possibly
10930 unused.
10931 (bitset_merge): Likewise.
10932 (bitset_mask): Likewise.
10933 (re_string_char_size_at): Likewise.
10934 (re_string_wchar_at): Likewise.
10935 (re_string_elem_size_at): Likewise.
10936
60f5a8b5
SP
109372013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10938
2a983a2e
SP
10939 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
10940 code.
10941 (cc32): Likewise.
10942
e69804d1
SP
10943 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
10944 (__acr): Likewise.
10945 (__cpy): Likewise.
10946 (norm): Likewise.
10947 (denorm): Likewise.
10948 (__dbl_mp): Likewise.
10949 (add_magnitudes): Likewise.
10950 (sub_magnitudes): Likewise.
10951 (__mul): Likewise.
10952 (__inv): Likewise.
10953
2f22a1e8
SP
10954 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
10955 style.
10956
8930ddc7
SP
10957 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
10958 style.
10959
dc60cb11
SP
10960 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
10961 code.
10962
60f5a8b5
SP
10963 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
10964 up changes with default code.
10965 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
10966 Likewise.
10967
b4d1fd33
AM
109682013-02-24 Allan McRae <allan@archlinux.org>
10969
faf6f8bc
AM
10970 * manual/socket.texi (The Internet Namespace): Order menu items
10971 to match that in the file.
10972
b4d1fd33
AM
10973 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
10974 node listing of the info page menu.
10975
2366713d
JM
109762013-02-21 Joseph Myers <joseph@codesourcery.com>
10977
10978 [BZ #13550]
10979 * sysdeps/i386/bp-asm.h: Remove file.
10980 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
10981 (PARMS): Do not use macros from bp-asm.h.
10982 (S1): Likewise.
10983 (S2): Likewise.
10984 (SIZE): Likewise.
10985 (__mpn_add_n): Do not use BP_SYM
10986 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
10987 "bp-asm.h".
10988 (PARMS): Do not use macros from bp-asm.h.
10989 (S1): Likewise.
10990 (SIZE): Likewise.
10991 (__mpn_addmul_1): Do not use BP_SYM
10992 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
10993 "bp-asm.h".
10994 (PARMS): Do not use macros from bp-asm.h.
10995 (SIGMSK): Likewise.
10996 (_setjmp): Likewise. Do not use BP_SYM.
10997 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
10998 "bp-asm.h".
10999 (PARMS): Do not use macros from bp-asm.h.
11000 (SIGMSK): Likewise.
11001 (setjmp): Likewise. Do not use BP_SYM.
11002 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
11003 "bp-asm.h".
11004 (PARMS): Do not use macros from bp-asm.h.
11005 (__frexp): Do not use BP_SYM.
11006 (frexp): Likewise.
11007 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
11008 "bp-asm.h".
11009 (PARMS): Do not use macros from bp-asm.h.
11010 (__frexpf): Do not use BP_SYM.
11011 (frexpf): Likewise.
11012 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
11013 "bp-asm.h".
11014 (PARMS): Do not use macros from bp-asm.h.
11015 (__frexpl): Do not use BP_SYM.
11016 (frexpl): Likewise.
11017 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
11018 "bp-asm.h".
11019 (PARMS): Do not use macros from bp-asm.h.
11020 (__remquo): Do not use BP_SYM.
11021 (remquo): Likewise.
11022 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
11023 "bp-asm.h".
11024 (PARMS): Do not use macros from bp-asm.h.
11025 (__remquof): Do not use BP_SYM.
11026 (remquof): Likewise.
11027 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
11028 "bp-asm.h".
11029 (PARMS): Do not use macros from bp-asm.h.
11030 (__remquol): Do not use BP_SYM.
11031 (remquol): Likewise.
11032 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
11033 "bp-asm.h".
11034 (PARMS): Do not use macros from bp-asm.h.
11035 (DEST): Likewise.
11036 (SRC): Likewise.
11037 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
11038 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
11039 "bp-asm.h".
11040 (PARMS): Do not use macros from bp-asm.h.
11041 (strlen): Do not use BP_SYM.
11042 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
11043 "bp-asm.h".
11044 (PARMS): Do not use macros from bp-asm.h.
11045 (S1): Likewise.
11046 (S2): Likewise.
11047 (SIZE): Likewise.
11048 (__mpn_add_n): Do not use BP_SYM.
11049 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
11050 "bp-asm.h".
11051 (PARMS): Do not use macros from bp-asm.h.
11052 (S1): Likewise.
11053 (SIZE): Likewise.
11054 (__mpn_addmul_1): Do not use BP_SYM.
11055 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
11056 weak_alias.
11057 (bzero): Likewise.
11058 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
11059 "bp-asm.h".
11060 (PARMS): Do not use macros from bp-asm.h.
11061 (S): Likewise.
11062 (SIZE): Likewise.
11063 (__mpn_lshift): Do not use BP_SYM.
11064 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
11065 "bp-asm.h".
11066 (PARMS): Do not use macros from bp-asm.h.
11067 (DEST): Likewise.
11068 (SRC): Likewise.
11069 (LEN): Likewise.
11070 (memcpy): Likewise. Do not use BP_SYM.
11071 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
11072 libc_hidden_def and weak_alias.
11073 (mempcpy): Do not use BP_SYM in weak_alias.
11074 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
11075 "bp-asm.h".
11076 (PARMS): Do not use macros from bp-asm.h.
11077 (DEST): Likewise.
11078 (LEN): Likewise.
11079 [!BZERO_P] (CHR): Likewise.
11080 (memset): Likewise. Do not use BP_SYM.
11081 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
11082 "bp-asm.h".
11083 (PARMS): Do not use macros from bp-asm.h.
11084 (S1): Likewise.
11085 (SIZE): Likewise.
11086 (__mpn_mul_1): Do not use BP_SYM.
11087 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
11088 "bp-asm.h".
11089 (PARMS): Do not use macros from bp-asm.h.
11090 (S): Likewise.
11091 (SIZE): Likewise.
11092 (__mpn_rshift): Do not use BP_SYM.
11093 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
11094 "bp-asm.h".
11095 (PARMS): Do not use macros from bp-asm.h.
11096 (STR): Likewise.
11097 (CHR): Likewise.
11098 (strchr): Likewise. Do not use BP_SYM.
11099 (index): Do not use BP_SYM in weak_alias.
11100 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
11101 "bp-asm.h".
11102 (PARMS): Do not use macros from bp-asm.h.
11103 (DEST): Likewise.
11104 (SRC): Likewise.
11105 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
11106 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
11107 "bp-asm.h".
11108 (PARMS): Do not use macros from bp-asm.h.
11109 (strlen): Do not use BP_SYM.
11110 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
11111 "bp-asm.h".
11112 (PARMS): Do not use macros from bp-asm.h.
11113 (S1): Likewise.
11114 (S2): Likewise.
11115 (SIZE): Likewise.
11116 (__mpn_sub_n): Do not use BP_SYM.
11117 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
11118 "bp-asm.h".
11119 (PARMS): Do not use macros from bp-asm.h.
11120 (S1): Likewise.
11121 (SIZE): Likewise.
11122 (__mpn_submul_1): Do not use BP_SYM.
11123 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
11124 "bp-asm.h".
11125 (PARMS): Do not use macros from bp-asm.h.
11126 (S1): Likewise.
11127 (S2): Likewise.
11128 (SIZE): Likewise.
11129 (__mpn_add_n): Do not use BP_SYM.
11130 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
11131 weak_alias.
11132 (bzero): Likewise.
11133 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
11134 "bp-asm.h".
11135 (PARMS): Do not use macros from bp-asm.h.
11136 (BLK2): Likewise.
11137 (LEN): Likewise.
11138 (memcmp): Do not use BP_SYM.
11139 (bcmp): Do not use BP_SYM in weak_alias.
11140 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
11141 "bp-asm.h".
11142 (PARMS): Do not use macros from bp-asm.h.
11143 (DEST): Likewise.
11144 (SRC): Likewise.
11145 (LEN): Likewise.
11146 (memcpy): Likewise. Do not use BP_SYM.
11147 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
11148 "bp-asm.h".
11149 (PARMS): Do not use macros from bp-asm.h.
11150 (DEST): Likewise.
11151 (SRC): Likewise.
11152 (LEN): Likewise.
11153 (memmove): Likewise. Do not use BP_SYM.
11154 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
11155 "bp-asm.h".
11156 (PARMS): Do not use macros from bp-asm.h.
11157 (DEST): Likewise.
11158 (SRC): Likewise.
11159 (LEN): Likewise.
11160 (__mempcpy): Likewise. Do not use BP_SYM.
11161 (mempcpy): Do not use BP_SYM in weak_alias.
11162 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
11163 "bp-asm.h".
11164 (PARMS): Do not use macros from bp-asm.h.
11165 (DEST): Likewise.
11166 (LEN): Likewise.
11167 [!BZERO_P] (CHR): Likewise.
11168 (memset): Likewise. Do not use BP_SYM.
11169 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
11170 "bp-asm.h".
11171 (PARMS): Do not use macros from bp-asm.h.
11172 (STR2): Likewise.
11173 (strcmp): Do not use BP_SYM.
11174 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
11175 "bp-asm.h".
11176 (PARMS): Do not use macros from bp-asm.h.
11177 (STR): Likewise.
11178 (DELIM): Likewise.
11179 [USE_AS_STRTOK_R] (SAVE): Likewise.
11180 (FUNCTION): Likewise. Do not use BP_SYM.
11181 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
11182 aliases.
11183 (strtok_r): Likewise.
11184 (__GI___strtok_r): Likewise.
11185 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11186 (PARMS): Do not use macros from bp-asm.h.
11187 (S): Likewise.
11188 (SIZE): Likewise.
11189 (__mpn_lshift): Do not use BP_SYM.
11190 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11191 (PARMS): Do not use macros from bp-asm.h.
11192 (STR): Likewise.
11193 (CHR): Likewise.
11194 (__memchr): Do not use BP_SYM.
11195 (memchr): Do not use BP_SYM in weak_alias.
11196 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11197 (PARMS): Do not use macros from bp-asm.h.
11198 (BLK2): Likewise.
11199 (LEN): Likewise.
11200 (memcmp): Do not use BP_SYM.
11201 (bcmp): Do not use BP_SYM in weak_alias.
11202 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
11203 (PARMS): Do not use macros from bp-asm.h.
11204 (S1): Likewise.
11205 (SIZE): Likewise.
11206 (__mpn_mul_1): Do not use BP_SYM.
11207 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
11208 "bp-asm.h".
11209 (PARMS): Do not use macros from bp-asm.h.
11210 (STR): Likewise.
11211 (CHR): Likewise.
11212 (__rawmemchr): Do not use BP_SYM.
11213 (rawmemchr): Do not use BP_SYM in weak_alias.
11214 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11215 (PARMS): Do not use macros from bp-asm.h.
11216 (S): Likewise.
11217 (SIZE): Likewise.
11218 (__mpn_rshift): Do not use BP_SYM.
11219 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11220 (PARMS): Do not use macros from bp-asm.h.
11221 (SIGMSK): Likewise.
11222 (__sigsetjmp): Likewise. Do not use BP_SYM.
11223 * sysdeps/i386/start.S: Do not include "bp-sym.h".
11224 (_start): Do not use BP_SYM.
11225 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
11226 (PARMS): Do not use macros from bp-asm.h.
11227 (DEST): Likewise.
11228 (SRC): Likewise.
11229 (__stpcpy): Likewise. Do not use BP_SYM.
11230 (stpcpy): Do not use BP_SYM in weak_alias.
11231 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
11232 "bp-asm.h".
11233 (PARMS): Do not use macros from bp-asm.h.
11234 (DEST): Likewise.
11235 (SRC): Likewise.
11236 (LEN): Likewise.
11237 (__stpncpy): Likewise. Do not use BP_SYM.
11238 (stpncpy): Do not use BP_SYM in weak_alias.
11239 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11240 (PARMS): Do not use macros from bp-asm.h.
11241 (STR): Likewise.
11242 (CHR): Likewise.
11243 (strchr): Likewise. Do not use BP_SYM.
11244 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
11245 "bp-asm.h".
11246 (PARMS): Do not use macros from bp-asm.h.
11247 (STR): Likewise.
11248 (CHR): Likewise.
11249 (__strchrnul): Likewise. Do not use BP_SYM.
11250 (strchrnul): Do not use BP_SYM in weak_alias.
11251 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
11252 "bp-asm.h".
11253 (PARMS): Do not use macros from bp-asm.h.
11254 (STOP): Likewise.
11255 (strcspn): Do not use BP_SYM.
11256 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
11257 "bp-asm.h".
11258 (PARMS): Do not use macros from bp-asm.h.
11259 (STR): Likewise.
11260 (STOP): Likewise.
11261 (strpbrk): Likewise. Do not use BP_SYM.
11262 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
11263 "bp-asm.h".
11264 (PARMS): Do not use macros from bp-asm.h.
11265 (STR): Likewise.
11266 (CHR): Likewise.
11267 (strrchr): Likewise. Do not use BP_SYM.
11268 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
11269 (PARMS): Do not use macros from bp-asm.h.
11270 (SKIP): Likewise.
11271 (strspn): Do not use BP_SYM.
11272 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
11273 (PARMS): Do not use macros from bp-asm.h.
11274 (STR): Likewise.
11275 (DELIM): Likewise.
11276 (SAVE): Likewise.
11277 (FUNCTION): Likewise. Do not use BP_SYM.
11278 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
11279 aliases.
11280 (strtok_r): Likewise.
11281 (__GI___strtok_r): Likewise.
11282 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11283 (PARMS): Do not use macros from bp-asm.h.
11284 (S1): Likewise.
11285 (S2): Likewise.
11286 (SIZE): Likewise.
11287 (__mpn_sub_n): Do not use BP_SYM.
11288 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
11289 "bp-asm.h".
11290 (PARMS): Do not use macros from bp-asm.h.
11291 (S1): Likewise.
11292 (SIZE): Likewise.
11293 (__mpn_submul_1): Do not use BP_SYM.
11294 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
11295 <bp-sym.h>.
11296 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
11297 and <bp-asm.h>.
11298 (PARMS): Do not use macros from bp-asm.h.
11299 (FLAGS): Likewise.
11300 (PTID): Likewise.
11301 (TLS): Likewise.
11302 (CTID): Likewise.
11303 (__clone): Do not use BP_SYM.
11304 (clone): Do not use BP_SYM in weak_alias.
11305 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
11306 and <bp-asm.h>.
11307 (PARMS): Do not use macros from bp-asm.h.
11308 (LEN): Likewise.
11309 (__mmap64): Do not use BP_SYM.
11310 (mmap64): Do not use BP_SYM in weak_alias.
11311 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11312 <bp-sym.h> and <bp-asm.h>.
11313 (PARMS): Do not use macros from bp-asm.h.
11314 (__posix_fadvise64_l64): Do not use BP_SYM.
11315 * sysdeps/unix/sysv/linux/i386/semtimedop.S
11316 (PARMS): Do not use macros from bp-asm.h.
11317 (NSOPS): Likewise.
11318 (semtimedop): Do not use BP_SYM.
11319 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
11320 and <bp-asm.h>.
11321
582a3cff
AM
113222013-02-21 Allan McRae <allan@archlinux.org>
11323
11324 * manual/message.texi (Charset conversion in gettext):
11325 Move @end statement to beginning of line.
11326
bab8a695
SP
113272013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11328
80945231
SP
11329 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
11330 static.
11331 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11332 Likewise.
11333
bab8a695
SP
11334 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
11335 (denorm): Likewise.
11336 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
11337 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
11338
e21d7aa7
AK
113392013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11340
11341 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
11342 tail-call to the resolved function if pltexit isn't needed.
11343
4c7a4263
SP
113442013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11345
11346 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
11347 or Y being zero as being unlikely.
11348 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11349 Likewise.
11350
41f49342
CD
113512013-02-20 Carlos O'Donell <carlos@redhat.com>
11352
11353 * manual/nss.texi (System Databases and Name Service Switch):
11354 Remove frobnicate @pxref.
11355
50022a93
TS
113562013-02-20 Thomas Schwinge <thomas@codesourcery.com>
11357
11358 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11359 __attribute__ ((unused)) to __attribute__ ((__unused__)).
11360
08cbd996
PM
113612013-02-20 Petr Machata <pmachata@redhat.com>
11362
11363 * elf/elf.h (R_ARM_TARGET1): New macro.
11364 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
11365 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
11366 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
11367 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
11368 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
11369 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
11370 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
11371 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
11372 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
11373 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
11374 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
11375 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
11376 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
11377 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
11378 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
11379 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
11380 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
11381 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
11382 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
11383 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
11384 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
11385 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
11386 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
11387 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
11388 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
11389 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
11390 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
11391 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
11392 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
11393 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
11394 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
11395 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
11396 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
11397 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
11398 (R_ARM_THM_GOT_BREL12): Likewise.
11399 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
11400 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
11401 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
11402 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
11403 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
11404 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
11405 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
11406 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
11407 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
11408
c7b275d6
TS
114092013-02-20 Thomas Schwinge <thomas@codesourcery.com>
11410
11411 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11412 __attribute_used__ to __attribute__ ((unused)).
11413
20cd7fb3
SP
114142013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11415
11416 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
11417 powerpc mpa.c.
11418 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
11419 comment formatting.
11420 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
11421
92945b52
JM
114222013-02-19 Joseph Myers <joseph@codesourcery.com>
11423
11424 [BZ #13550]
11425 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
11426 Remove macro.
11427 (ENTER): Remove both macro definitions.
11428 (LEAVE): Likewise.
11429 (CHECK_BOUNDS_LOW): Likewise.
11430 (CHECK_BOUNDS_HIGH): Likewise.
11431 (CHECK_BOUNDS_BOTH): Likewise.
11432 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
11433 (RETURN_BOUNDED_POINTER): Likewise.
11434 (RETURN_NULL_BOUNDED_POINTER): Likewise.
11435 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
11436 (POP_ERRNO_LOCATION_RETURN): Likewise.
11437 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
11438 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11439 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
11440 macros.
11441 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11442 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
11443 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
11444 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
11445 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
11446 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
11447 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
11448 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
11449 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
11450 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
11451 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
11452 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
11453 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11454 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
11455 removed macros.
11456 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11457 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
11458 macros.
11459 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11460 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
11461 * sysdeps/i386/i586/memset.S (memset): Likewise.
11462 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
11463 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11464 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
11465 macros.
11466 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11467 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
11468 Change uses of L(2) to L(out).
11469 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
11470 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
11471 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
11472 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11473 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
11474 removed macros.
11475 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11476 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
11477 macros.
11478 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11479 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
11480 (RETURN): Do not use macro LEAVE.
11481 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
11482 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
11483 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
11484 * sysdeps/i386/i686/memset.S (memset): Likewise.
11485 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
11486 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
11487 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11488 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
11489 Likewise.
11490 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11491 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
11492 L(1_2) and L(1_3) into L(1).
11493 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11494 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
11495 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11496 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
11497 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11498 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
11499 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
11500 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11501 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
11502 macros.
11503 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
11504 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11505 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
11506 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
11507 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
11508 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11509 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
11510 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
11511 * sysdeps/i386/strcspn.S (strcspn): Likewise.
11512 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
11513 * sysdeps/i386/strrchr.S (strrchr): Likewise.
11514 * sysdeps/i386/strspn.S (strspn): Likewise.
11515 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
11516 conditional code.
11517 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11518 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
11519 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11520 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
11521 L(1_3) into L(1_1).
11522 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
11523 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11524 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
11525 macros.
11526 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11527
2389741a
JJ
115282013-02-19 Jakub Jelinek <jakub@redhat.com>
11529
11530 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
11531 macro.
11532
2016b3cd
SP
115332013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11534
e4f22324
SP
11535 * math/atest-exp.c (exp_mpn): Remove ROUND.
11536 * math/atest-exp2.c (exp_mpn): Likewise.
11537 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
11538
2016b3cd
SP
11539 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
11540 * stdlib/tst-tls-atexit-lib.c: Likewise.
11541 * stdlib/tst-tls-atexit.c: Likewise.
11542
4be9b544
MF
115432013-02-18 Mike Frysinger <vapier@gentoo.org>
11544
11545 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
11546 and __attribute_alloc_size__.
11547
2f62b9ee
MF
115482013-02-18 Mike Frysinger <vapier@gentoo.org>
11549
11550 * include/programs/xmalloc.h: Change __attribute_alloc_size to
11551 __attribute_alloc_size__.
11552 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
11553 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
11554
6ff444c4
MF
115552013-02-18 Mike Frysinger <vapier@gentoo.org>
11556
11557 * include/programs/xmalloc.h: New file.
11558 * catgets/gencat.c: Include it.
11559 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
11560 * elf/pldd.c: Likewise.
11561 * iconv/iconv_charmap.c: Likewise.
11562 * iconv/iconvconfig.c: Likewise.
11563 * iconv/strtab.c: Likewise.
11564 * locale/programs/locale.c: Likewise.
11565 * locale/programs/localedef.h: Likewise.
11566 * locale/programs/simple-hash.c: Likewise.
11567 * nscd/nscd.h: Likewise.
11568 * nss/makedb.c: Likewise.
11569 * sysdeps/generic/ldconfig.h: Likewise.
11570
be179c8a
SP
115712013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11572
ba384f6e
SP
11573 * Versions.def: Add GLIBC_2.18.
11574 * include/link.h (struct link_map): New member l_tls_dtor_count.
11575 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
11576 (__call_tls_dtors): Likewise.
11577 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
11578 __cxa_thread_atexit_impl.
11579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11580 Likewise.
11581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11582 Likewise.
11583 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11584 Likewise.
11585 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11586 Likewise.
11587 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11588 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
11589 Likewise.
11590 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
11591 Likewise.
11592 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11593 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11594 Likewise.
11595 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
11596 (tests): Add test case tst-tls-atexit.
11597 (modules-names): Add shared library for tst-tls-atexit.
85891aca 11598 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
11599 (GLIBC_PRIVATE): Add __call_tls_dtors.
11600 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
11601 for libstdc++.
11602 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
11603 * stdlib/tst-tls-atexit.c: New test case.
11604 * stdlib/tst-tls-atexit-lib.c: New test case.
11605
ffaa74cf 11606 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 11607
be179c8a
SP
11608 * elf/Versions (ld): Add _dl_find_dso_for_object.
11609 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
11610 * elf/dl-open.c (_dl_find_dso_for_object): New function.
11611 (dl_open_worker): Use _dl_find_dso_for_object.
11612 * elf/dl-sym.c (do_sym): Likewise.
11613 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
11614
f78b5caa
AK
116152013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11616
11617 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
11618 Syntactic changes only.
11619 (_dl_runtime_profile): Do a tail-call to the resolved function.
11620
29691210
JM
116212013-02-17 Joseph Myers <joseph@codesourcery.com>
11622
11623 [BZ #13550]
11624 * sysdeps/x86_64/bp-asm.h: Remove file.
11625 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
11626 <bp-sym.h> and <bp-asm.h>.
11627 (__clone): Do not use BP_SYM.
11628 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
11629 <bp-sym.h> and <bp-asm.h>.
11630 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11631 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
11632 "bp-asm.h".
11633 (_setjmp): Do not use BP_SYM.
11634 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
11635 "bp-asm.h".
11636 (setjmp): Do not use BP_SYM.
11637 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
11638 libc_hidden_def.
11639 (mempcpy): Do not use BP_SYM in weak_alias.
11640 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
11641 "bp-asm.h".
11642 (strchr): Do not use BP_SYM.
11643 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
11644 "bp-asm.h".
11645 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
11646 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
11647 (_start): Do not use BP_SYM.
11648 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
11649 "bp-asm.h".
11650 (strcat): Do not use BP_SYM.
11651 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
11652 "bp-asm.h".
11653 (STRCMP): Do not use BP_SYM.
11654 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
11655 "bp-asm.h".
11656 (STRCPY): Do not use BP_SYM.
11657 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
11658 "bp-asm.h".
11659 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
11660 "bp-asm.h".
11661 (FUNCTION): Do not use BP_SYM.
11662 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
11663 weak_alias.
11664 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
11665
f238fd19
AJ
116662013-02-17 Andreas Jaeger <aj@suse.de>
11667
11668 * time/Versions: Sort entries.
11669 * string/Versions: Likewise.
11670 * resolv/Versions: Likewise.
11671 * posix/Versions: Likewise.
11672 * iconv/Versions: Likewise.
11673 * elf/Versions: Likewise.
11674 * wcsmbs/Versions: Likewise.
11675
bd07f23c 116762013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 11677
22af19f9
SP
11678 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
11679 loop termination condition.
11680
4709fe76
SP
11681 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
11682 variable to calculate EZ.
11683 (__sqr): Likewise.
2d0e0f29
SP
11684
11685 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
11686 the lower precision input.
11687
daaa7713
JM
116882013-02-15 Joseph Myers <joseph@codesourcery.com>
11689
11690 [BZ #13550]
11691 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
11692 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
11693 (run-via-rtld-prefix): Do not handle %-bp tests.
11694 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
11695 (all-object-suffixes): Remove .ob.
11696 (bppfx): Remove variable.
11697 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
11698 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
11699 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
11700 [$(build-bounded) = yes] (libtype.ob): Likewise.
11701 * Makerules (elide-routines.ob): Remove variable.
11702 (do-tests-clean): Do not handle *-bp.out.
11703 (common-mostlyclean): Do not handle *-bp and *-bp.out.
11704 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
11705 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
11706 (tests): Do not include $(tests-bp.out).
11707 (xtests): Do not include $(xtests-bp.out).
11708 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
11709 [$(build-bounded) = yes] ($(addprefix
11710 $(objpfx),$(binaries-bounded))): Remove rule.
11711 ($(objpfx)%-bp.out): Remove rule.
11712 * config.make.in (build-bounded): Remove variable.
11713 * crypt/Makefile [$(build-bounded) = yes]
11714 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
11715 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
11716 append to variable.
11717 [$(build-bounded) = yes] (install-lib): Likewise.
11718 [$(build-bounded) = yes] (generated): Likewise.
11719 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
11720 Remove rule.
11721 * intl/Makefile [$(build-bounded) = yes]
11722 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
11723 * math/Makefile [$(build-bounded) = yes]
11724 ($(tests:%=$(objpfx)%-bp): Likewise.
11725 * misc/Makefile [$(build-bounded) = yes]
11726 ($(objpfx)tst-tsearch-bp): Likewise.
11727 * nptl/Makeconfig (bounded-thread-library): Remove variable.
11728 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
11729 Remove dependency.
11730 * string/Makefile (o-objects.ob): Remove variable.
11731 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
11732 (CFLAGS-.ob): Remove variable.
11733 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
11734 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
11735 both definitions of variable.
11736 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
11737 (ASFLAGS-.ob): Remove variable.
11738
e97ed6dd
JM
117392013-02-14 Joseph Myers <joseph@codesourcery.com>
11740
2bdd4ca6
JM
11741 [BZ #13550]
11742 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
11743 Remove __BOUNDED_POINTERS__ from condition.
11744 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
11745 * string/bits/string2.h [!__NO_STRING_INLINES &&
11746 !__BOUNDED_POINTERS__]: Likewise.
11747 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
11748 Likewise.
11749 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
11750 Remove conditional code.
11751 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
11752 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
11753 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
11754 condition.
11755
e97ed6dd
JM
11756 [BZ #13550]
11757 * csu/libc-start.c: Do not include <bp-sym.h>.
11758 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
11759 * elf/dl-open.c: Do not include <bp-sym.h>.
11760 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
11761 * math/fegetenv.c: Do not include <bp-sym.h>.
11762 (fegetenv): Do not use BP_SYM in versioned symbols.
11763 * nptl/sysdeps/pthread/bits/libc-lockP.h
11764 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
11765 <bp-sym.h>.
11766 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11767 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
11768 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11769 (__pthread_mutex_destroy): Likewise.
11770 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11771 (__pthread_mutex_lock): Likewise.
11772 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11773 (__pthread_mutex_trylock): Likewise.
11774 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11775 (__pthread_mutex_unlock): Likewise.
11776 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11777 (__pthread_mutexattr_init): Likewise.
11778 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11779 (__pthread_mutexattr_destroy): Likewise.
11780 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11781 (__pthread_mutexattr_settype): Likewise.
11782 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11783 (__pthread_rwlock_init): Likewise.
11784 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11785 (__pthread_rwlock_destroy): Likewise.
11786 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11787 (__pthread_rwlock_rdlock): Likewise.
11788 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11789 (__pthread_rwlock_tryrdlock): Likewise.
11790 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11791 (__pthread_rwlock_wrlock): Likewise.
11792 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11793 (__pthread_rwlock_trywrlock): Likewise.
11794 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11795 (__pthread_rwlock_unlock): Likewise.
11796 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11797 (__pthread_key_create): Likewise.
11798 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11799 (__pthread_setspecific): Likewise.
11800 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11801 (__pthread_getspecific): Likewise.
11802 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
11803 Likewise.
11804 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11805 (_pthread_cleanup_push_defer): Likewise.
11806 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11807 (_pthread_cleanup_pop_restore): Likewise.
11808 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11809 (pthread_setcancelstate): Likewise.
11810 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
11811 <bp-sym.h>.
11812 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
11813 (memchr): Do not use BP_SYM in weak_alias.
11814 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
11815 (fegetenv): Do not use BP_SYM in versioned symbols.
11816 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
11817 (fesetenv): Do not use BP_SYM in versioned symbols.
11818 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11819 (feupdateenv): Do not use BP_SYM in versioned symbols.
11820 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11821 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11822 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
11823 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
11824 (open64): Do not use BP_SYM in weak_alias.
11825 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
11826 (fegetenv): Do not use BP_SYM in versioned symbols.
11827 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
11828 (fesetenv): Do not use BP_SYM in versioned symbols.
11829 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11830 (feupdateenv): Do not use BP_SYM in versioned symbols.
11831 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
11832 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
11833 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
11834 (feraiseexcept): Do not use BP_SYM in versioned symbols.
11835 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11836 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11837 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
11838 <bp-sym.h>.
11839 (__libc_start_main): Do not use BP_SYM.
11840
d6752ccd
SP
118412013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11842
cb57ce60
SP
11843 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
11844 redundant return line.
11845 (norm): Likewise.
11846 (denorm): Likewise.
11847 (dbl_mp): Likewise.
11848 (sub_magnitudes): Likewise.
11849 (__add): Likewise.
11850 (__sub): Likewise.
11851 (__mul): Likewise.
11852 (__inv): Likewise.
11853 (__dvd): Likewise.
11854 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
11855 (norm): Likewise.
11856 (denorm): Likewise.
11857 (dbl_mp): Likewise.
11858 (sub_magnitudes): Likewise.
11859 (__add): Likewise.
11860 (__sub): Likewise.
11861 (__mul): Likewise.
11862 (__inv): Likewise.
11863 (__dvd): Likewise.
11864
f414520d
SP
11865 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
11866 instead of __mul.
11867 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11868 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
11869 (cc32): Likewise.
11870
d6752ccd
SP
11871 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
11872 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
11873 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
11874 of __mul for squares.
11875 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
11876 function
11877 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
11878 Likewise.
11879 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
11880 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11881
70d9946a
JM
118822013-02-13 Joseph Myers <joseph@codesourcery.com>
11883
11884 [BZ #13550]
11885 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
11886 code.
11887 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
11888 prototype or function definition. Rename ubp_* variables and
11889 parameters. Remove argv definitions conditional on
11890 [__BOUNDED_POINTERS__].
11891 * debug/backtrace.c (__backtrace): Do not use __unbounded.
11892 * elf/dl-runtime.c (_dl_fixup): Likewise.
11893 * include/set-hooks.h (RUN_HOOK): Likewise.
11894 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
11895 definition.
11896 * string/strcpy.c (strcpy): Do not use __unbounded.
11897 * sysdeps/generic/frame.h (struct layout): Likewise.
11898 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
11899 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
11900 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
11901 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
11902 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
11903 (__backtrace): Likewise.
11904 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
11905 use __ptrvalue.
11906 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
11907 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11908 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11909 Likewise.
11910 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
11911 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
11912 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11913 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11914 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
11915 Do not use __unbounded.
11916 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
11917 Rename __unboundedrlimits parameter to rlimits in prototype.
11918 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
11919 Do not use __unbounded.
11920 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
11921 not use __ptrvalue.
11922 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11923 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
11924 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11925 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
11926 __ptrvalue or __unbounded.
11927 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
11928 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
11929 use __unbounded.
11930 (__new_msgctl): Do not use __ptrvalue.
11931 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
11932 __unbounded.
11933 (__libc_msgrcv): Do not use __ptrvalue.
11934 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
11935 startup_info): Do not use __unbounded.
11936 (__libc_start_main): Likewise. Rename ubp_* variables and
11937 parameters. Remove argv definitions conditional on
11938 [__BOUNDED_POINTERS__].
11939 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
11940 __ptrvalue.
11941 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
11942 use __unbounded.
11943 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
11944 or __ptrvalue.
11945 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
11946 use __unbounded.
11947 (__new_shmctl): Do not use __ptrvalue.
11948 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
11949 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
11950 Likewise.
11951 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
11952 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
11953 (__libc_sigaction): Likewise.
11954 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
11955 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
11956 Likewise.
11957 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11958
cc7834d6
OB
119592013-02-13 Ondřej Bílka <neleai@seznam.cz>
11960
ffb1ec7b 11961 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
11962
11963 * string/mempcpy.c: Implement by calling memcpy.
11964
bdf02814
SP
119652013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11966
c2af38aa
SP
11967 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
11968
4e92d59e
SP
11969 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
11970 evaluation.
11971
909279a5
SP
11972 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
11973 values in the mantissa.
11974
bdf02814
SP
11975 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
11976 minimize writes to Z.
11977 (sub_magnitudes): Simplify code a bit.
11978
cd525923
RM
119792013-02-12 Roland McGrath <roland@hack.frob.com>
11980
11981 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
11982 from the message. The linker prefixes all warnings with that already.
11983
7e2f0d2d
AS
119842013-02-12 Andreas Schwab <schwab@suse.de>
11985
a445af0b
AS
11986 [BZ #15078]
11987 * posix/regexec.c (extend_buffers): Add parameter min_len.
11988 (check_matching): Pass minimum needed length.
11989 (clean_state_log_if_needed): Likewise.
11990 (get_subexp): Likewise.
11991 * posix/Makefile (tests): Add bug-regex34.
11992 (bug-regex34-ENV): Define.
11993 * posix/bug-regex34.c: New file.
11994
7e2f0d2d
AS
11995 [BZ #11561]
11996 * posix/regcomp.c (parse_bracket_exp): When looking up collating
11997 elements compare against the byte sequence of it, not its name.
11998 * posix/Makefile (tests): Add bug-regex35.
11999 (bug-regex35-ENV): Define.
12000 * posix/bug-regex35.c: New file.
12001
a175b684
TV
120022013-02-11 Tom de Vries <tom@codesourcery.com>
12003
12004 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
12005 comment.
12006 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
12007 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
12008 (CHECK_EOL): Add undef.
12009
310998fe 120102013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
12011
12012 * bits/stdlib-bsearch.h: New file.
12013 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 12014 * stdlib/stdlib.h: Likewise.
41eda41d 12015
8ded91fb
RM
120162013-02-11 Roland McGrath <roland@hack.frob.com>
12017
12018 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
12019 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
12020 declaration.
12021 * manual/search.texi (Array Search Function): Add missing const in
12022 lfind prototype.
12023 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
12024 declaration to use rlim_t.
12025 (Basic Scheduling Functions): Remove erroneous const from
12026 sched_getparam prototype. Remove erroneous * from
12027 sched_get_priority_max and sched_get_priority_min prototypes.
12028 (Resource Usage): Fix summary @comment on vtimes to refer to
12029 sys/vtimes.h rather than vtimes.h.
12030 Add missing *s in vtimes prototype.
12031 (Limits on Resources): Fix ulimit prototype to return long int.
12032 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
12033 prototypes to use long int rather than double.
12034 (BSD Random): Fix initstate and setstate to use char *, not void *.
12035 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
12036 prototype to make second argument 'struct aiocb64 *const[]'.
12037 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
12038 (Status of AIO Operations): Remove erroneous const in aio_return and
12039 aio_return64 prototypes.
12040 (Synchronizing I/O): Fix sync prototype to return void.
12041 * manual/startup.texi (Suboptions): Remove an erroneous const in
12042 getsubopt prototype.
12043 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
12044 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
12045 use size_t rather than int.
12046 (Scanning All Users): Likewise for getpwent_r.
12047 (Setting Groups): Add missing const to setgroups prototype.
12048 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
12049 * manual/socket.texi (Host Names): Fix gethostbyaddr and
12050 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
12051 'const void *' rather than 'const char *'.
12052 (Host Address Functions): Likewise for inet_ntop.
12053 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
12054 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
12055 ssize_t for return value.
12056 (Sending Data): Likewise for send, sendto, sendmsg.
12057 (Socket Option Functions): Add a missing const in setsockopt prototype.
12058 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
12059 use wchar_t for the argument.
12060 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
12061 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
12062 take no arguments.
12063 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
12064 double/float/long double for second argument.
12065 Fix return types of significand, significandf, significandl.
12066 * manual/filesys.texi (Setting Permissions): Use mode_t for second
12067 argument in fchmod prototype.
12068 (File Owner): Use uid_t and gid_t in fchown prototype.
12069 (File Times): Add const to utimes, futimes, and lutimes prototypes.
12070 (Making Special Files): Use mode_t and dev_t in mknod prototype.
12071 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
12072 use 'const struct dirent **' as argument types to CMP function pointer
12073 argument.
12074 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
12075 (File Times): Fix summary magic @comment for struct utimbuf and utime
12076 to refer to utime.h, not time.h.
12077 * manual/string.texi (Argz Functions): Add missing const in
12078 argz_extract and argz_next prototypes.
12079 (Finding Tokens in a String): Likewise for basename.
12080 (String/Array Comparison): Fix typo in wcscasecmp prototype.
12081 (Copying and Concatenation): Fix typo in wmemmove prototype.
12082 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
12083 (Signal Stack): Remove erroneous const in sigstack prototype.
12084 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
12085 prototype.
12086 (Simple Calendar Time): Likewise for stime.
12087 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
12088 prototype.
12089 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
12090 say sys/sysctl.h instead.
12091 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
12092 and vsyslog prototypes.
12093
fe77fe6d
TV
120942013-02-11 Tom de Vries <tom@codesourcery.com>
12095
12096 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
12097 Remove.
12098
3a09b620
RM
120992013-02-11 Roland McGrath <roland@hack.frob.com>
12100
12101 * misc/sys/mman.h: Fix typo in mremap comment.
12102
550a0b89
RM
121032013-02-08 Roland McGrath <roland@hack.frob.com>
12104
12105 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
12106 the '\0' terminator.
12107
a2da1673
JM
121082013-02-08 Joseph Myers <joseph@codesourcery.com>
12109
12110 [BZ #13550]
12111 * debug/segfault.c: Don't include <bp-checks.h>.
12112 * sysdeps/generic/bp-checks.h: Remove file.
12113 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
12114 (__GETDENTS): Don't use CHECK_N.
12115 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
12116 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12117 (__getgroups): Don't use CHECK_N.
12118 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
12119 (setgroups): Don't use CHECK_N.
12120 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
12121 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
12122 (__libc_msgrcv): Don't use CHECK_N.
12123 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
12124 (__libc_msgsnd): Don't use CHECK_N.
12125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
12126 <bp-checks.h>.
12127 (__libc_pread): Don't use CHECK_N.
12128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
12129 include <bp-checks.h>.
12130 (__libc_pread64): Don't use CHECK_N.
12131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
12132 include <bp-checks.h>.
12133 (__libc_pwrite): Don't use CHECK_N.
12134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
12135 include <bp-checks.h>.
12136 (__libc_pwrite64): Don't use CHECK_N.
12137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
12138 <bp-checks.h>.
12139 (__libc_pread): Don't use CHECK_N.
12140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
12141 include <bp-checks.h>.
12142 (__libc_pread64): Don't use CHECK_N.
12143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
12144 include <bp-checks.h>.
12145 (__libc_pwrite): Don't use CHECK_N.
12146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
12147 include <bp-checks.h>.
12148 (__libc_pwrite64): Don't use CHECK_N.
12149 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
12150 (do_pread): Don't use CHECK_N.
12151 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
12152 (do_pread64): Don't use CHECK_N.
12153 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
12154 (do_pwrite): Don't use CHECK_N.
12155 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
12156 (do_pwrite64): Don't use CHECK_N.
12157 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
12158 (__libc_readv): Don't use CHECK_N.
12159 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
12160 (semop): Don't use CHECK_N.
12161 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
12162 <bp-checks.h>.
12163 (semtimedop): Don't use CHECK_N.
12164 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
12165 (__libc_pread): Don't use CHECK_N.
12166 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
12167 <bp-checks.h>.
12168 (__libc_pread64): Don't use CHECK_N.
12169 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
12170 <bp-checks.h>.
12171 (__libc_pwrite): Don't use CHECK_N.
12172 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
12173 <bp-checks.h>.
12174 (__libc_pwrite64): Don't use CHECK_N.
12175 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
12176 <bp-checks.h>.
12177 (__libc_msgrcv): Don't use CHECK_N.
12178 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
12179 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
12180 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
12181 (__libc_writev): Don't use CHECK_N.
12182
b84660a8
RM
121832013-02-08 Roland McGrath <roland@hack.frob.com>
12184
7f3e75f8
RM
12185 * string/strcpy.c: Removed unused variable.
12186
b84660a8
RM
12187 * Makeconfig (+sysdep-includes): Define with := rather than =.
12188 Use an existing include/ subdir of each sysdeps dir before it.
12189
471514d3
CD
121902013-02-08 Carlos O'Donell <carlos@redhat.com>
12191
12192 * nscd/connection.c (register_traced_file): Comment function.
12193 [HAVE_INOTIFY] (union __inev): Define.
12194 [HAVE_INOTIFY] (inotify_check_files): New function.
12195 [HAVE_INOTIFY] (clear_db_cache): Likewise.
12196 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
12197 clear_db_cache.
12198 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
12199
b2d3c3be
CD
122002013-02-08 Carlos O'Donell <carlos@redhat.com>
12201
12202 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
12203 loaded if not already and that a failure is permanent.
12204
b39949d2
CD
122052013-02-08 Carlos O'Donell <carlos@redhat.com>
12206
ddacd1db 12207 [BZ #15006]
b39949d2
CD
12208 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
12209 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
12210
b2c9eff4
JM
122112013-02-08 Joseph Myers <joseph@codesourcery.com>
12212
f3aae3f3
JM
12213 [BZ #13550]
12214 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
12215 (CHECK_1_NULL_OK): Likewise.
12216 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
12217 (__fxstat): Do not use CHECK_1.
12218 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
12219 <bp-checks.h>.
12220 (___fxstat64): Do not use CHECK_1.
12221 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
12222 <bp-checks.h>.
12223 (__fxstatat): Do not use CHECK_1.
12224 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
12225 <bp-checks.h>.
12226 (__fxstatat64): Do not use CHECK_1.
12227 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
12228 <bp-checks.h>.
12229 (__fxstat): Do not use CHECK_1.
12230 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
12231 <bp-checks.h>.
12232 (__fxstatat): Do not use CHECK_1.
12233 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12234 <bp-checks.h>.
12235 (__getresgid): Do not use CHECK_1.
12236 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12237 <bp-checks.h>.
12238 (__getresuid): Do not use CHECK_1.
12239 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
12240 <bp-checks.h>.
12241 (__lxstat): Do not use CHECK_1.
12242 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12243 <bp-checks.h>.
12244 (__old_msgctl): Do not use CHECK_1.
12245 (__new_msgctl): Likewise.
12246 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
12247 <bp-checks.h>.
12248 (__new_setrlimit): Do not use CHECK_1.
12249 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12250 <bp-checks.h>.
12251 (__old_shmctl): Do not use CHECK_1.
12252 (__new_shmctl): Likewise.
12253 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
12254 <bp-checks.h>.
12255 (__xstat): Do not use CHECK_1.
12256 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
12257 (__lxstat): Do not use CHECK_1.
12258 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
12259 <bp-checks.h>.
12260 (___lxstat64): Do not use CHECK_1.
12261 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
12262 (__old_msgctl): Do not use CHECK_1.
12263 (__new_msgctl): Likewise.
12264 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
12265 <bp-checks.h>.
12266 (__gettimeofday): Do not use CHECK_1.
12267 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
12268 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
12269 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
12270 <bp-checks.h>.
12271 (__gettimeofday): Do not use CHECK_1.
12272 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
12273 (__old_shmctl): Do not use CHECK_1_NULL_OK.
12274 (__new_shmctl): Do not use CHECK_1.
12275 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
12276 <bp-checks.h>.
12277 (do_sigtimedwait): Do not use CHECK_1.
12278 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
12279 <bp-checks.h>.
12280 (do_sigwaitinfo): Do not use CHECK_1.
12281 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
12282 <bp-checks.h>.
12283 (msgctl): Do not use CHECK_1.
12284 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
12285 <bp-checks.h>.
12286 (shmctl): Do not use CHECK_1.
12287 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
12288 (ustat): Do not use CHECK_1.
12289 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
12290 <bp-checks.h>.
12291 (__fxstat): Do not use CHECK_1.
12292 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
12293 <bp-checks.h>.
12294 (__fxstatat): Do not use CHECK_1.
12295 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
12296 <bp-checks.h>.
12297 (__lxstat): Do not use CHECK_1.
12298 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
12299 <bp-checks.h>.
12300 (__xstat): Do not use CHECK_1.
12301 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
12302 (__xstat): Do not use CHECK_1.
12303 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
12304 (___xstat64): Do not use CHECK_1.
12305
b2c9eff4
JM
12306 [BZ #13550]
12307 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
12308 definitions.
12309 (CHECK_BOUNDS_HIGH): Likewise.
12310 * string/strcpy.c: Do not include <bp-checks.h>.
12311 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
12312
f1d70dad
RM
123132013-02-07 Roland McGrath <roland@hack.frob.com>
12314
12315 * nscd/nscd-client.h (__nscd_drop_map_ref):
12316 Add __attribute__ ((unused)).
12317 * nis/nss-nisplus.h (niserr2nss): Likewise.
12318
12319 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
12320 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
12321
12322 * csu/libc-tls.c (init_static_tls, init_slotinfo):
12323 Remove inline keyword.
12324 * include/rounding-mode.h (round_away): Likewise.
12325 * libio/wfileops.c (adjust_wide_data): Likewise.
12326 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
12327 (__m128i_strloadu_tolower): Likewise.
12328 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
12329 (__m128i_strloadu_tolower): Likewise.
12330 * time/mktime.c (ydhms_diff): Likewise.
12331 * locale/elem-hash.h (elem_hash): Likewise.
12332 * locale/setlocale.c (setdata): Likewise.
12333 * posix/regex_internal.h (re_string_char_size_at): Likewise.
12334 (re_string_wchar_at): Likewise.
12335 (bitset_not, bitset_merge, bitset_mask): Likewise.
12336 [!(__GNUC__ > 3)] (inline): Remove macro.
12337 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
12338 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
12339 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
12340 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
12341 * string/memcmp.c (memcmp_bytes): Likewise.
12342 * locale/programs/locarchive.c (compute_hashval): Likewise.
12343 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
12344 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
12345 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
12346 * nss/getent.c (print_rpc, print_protocols): Likewise.
12347 (print_passwd, print_group, print_aliases): Likewise.
12348 * nis/nss-nisplus.h (niserr2nss): Likewise.
12349 * nscd/connections.c (restart_p): Likewise.
12350 Change return type to bool.
12351
eab55bfb
RM
123522013-02-05 Roland McGrath <roland@hack.frob.com>
12353
7bd642f5
RM
12354 * Makeconfig (all-Depend-files): Add existing
12355 $(sorted-subdirs:=/Depend) files.
12356 (all-subdirs): Remove nss.
12357 * sysdeps/unix/inet/Subdirs: Add it here instead.
12358 * hesiod/Depend: New file.
12359
573c29b2
RM
12360 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
12361 instead of calling alloca.
12362
b2e25af0
RM
12363 * io/lseek.c (__lseek): Rename to __libc_lseek.
12364 Define __lseek as an alias.
12365
eab55bfb
RM
12366 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
12367
9a0d1941
CD
123682013-02-04 Carlos O'Donell <carlos@redhat.com>
12369
12370 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
12371 else clause and remove check for non-standard endianness.
12372
b83bbec4
DM
123732013-02-04 David S. Miller <davem@davemloft.net>
12374
12375 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12376
6277fdab
JM
123772013-02-04 Joseph Myers <joseph@codesourcery.com>
12378
12379 [BZ #13550]
12380 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
12381 (__ubp_memchr): Remove prototype.
12382 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
12383 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12384 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
12385 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12386 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
12387 Remove alias.
12388 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
12389 (__ubp_memchr): Likewise.
12390 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
12391 (__ubp_memchr): Likewise.
12392 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
12393 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
12394 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
12395 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
12396 CHECK_STRING.
12397 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12398 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
12399 (__getcwd): Do not use CHECK_STRING.
12400 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12401 <bp-checks.h>.
12402 (__real_chown): Do not use CHECK_STRING.
12403 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
12404 <bp-checks.h>.
12405 (fchownat): Do not use CHECK_STRING.
12406 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
12407 CHECK_STRING.
12408 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12409 <bp-checks.h>.
12410 (__lchown): Do not use CHECK_STRING.
12411 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12412 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12413 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12414 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12416 include <bp-checks.h>.
12417 (truncate64): Do not use CHECK_STRING.
12418 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12419 <bp-checks.h>.
12420 (__real_chown): Do not use CHECK_STRING.
12421 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12422 <bp-checks.h>.
12423 (__lchown): Do not use CHECK_STRING.
12424 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12425 <bp-checks.h>.
12426 (__chown): Do not use CHECK_STRING.
12427 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
12428 <bp-checks.h>.
12429 (truncate64): Do not use CHECK_STRING.
12430 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
12431 Likewise.
12432 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
12433 (__xmknod): Do not use CHECK_STRING.
12434 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
12435 <bp-checks.h>.
12436 (__xmknodat): Do not use CHECK_STRING.
12437 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12438 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
12439
903ae060
AS
124402013-02-04 Andreas Schwab <schwab@suse.de>
12441
12442 [BZ #14142]
12443 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
12444 * include/netdb.h: Likewise for h_errno.
12445 * elf/tst-stackguard1.c: Include <tls.h>.
12446
542f9466
JK
124472013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12448
12449 * elf/link.h (struct link_map): Extend the l_addr comment.
12450 * include/link.h (struct link_map): Likewise.
12451
e782a927
JM
124522013-02-01 Joseph Myers <joseph@codesourcery.com>
12453
12454 [BZ #13550]
12455 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
12456 (BOUNDED_1): Remove macro.
12457 * debug/backtrace.c: Don't include <bp-checks.h>.
12458 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
12459 (__backtrace): Likewise.
12460 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
12461 <bp-checks.h>.
12462 (__backtrace): Don't use BOUNDED_1.
12463 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
12464 <bp-checks.h>.
12465 (__backtrace): Don't use BOUNDED_1.
12466 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
12467 (__backtrace): Don't use BOUNDED_1.
12468 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
12469 (shmat): Don't use BOUNDED_N.
12470
8cf28c5e
JM
124712013-01-31 Joseph Myers <joseph@codesourcery.com>
12472
3a7ac8a0
JM
12473 [BZ #13550]
12474 * sysdeps/generic/bp-start.h: Remove file.
12475 * csu/libc-start.c: Don't include <bp-start.h>.
12476 (LIBC_START_MAIN): Set up __environ directly instead of using
12477 INIT_ARGV_and_ENVIRON.
12478 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
12479 <bp-start.h>.
12480
f3499f95
JM
12481 [BZ #13550]
12482 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
12483 definitions.
12484 (CHECK_FCNTL): Likewise.
12485 (CHECK_N_PAGES): Likewise.
12486
32a45bea
JM
12487 [BZ #13550]
12488 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
12489 definitions.
12490 (CHECK_SIGSET_NULL_OK): Likewise.
12491 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
12492 <bp-checks.h>.
12493 (sigpending): Don't use CHECK_SIGSET.
12494 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
12495 <bp-checks.h>.
12496 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12497 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
12498 <bp-checks.h>.
12499 (do_sigsuspend): Don't use CHECK_SIGSET.
12500 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
12501 use CHECK_SIGSET.
12502 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
12503 (do_sigwait): Don't use CHECK_SIGSET.
12504 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
12505 use CHECK_SIGSET.
12506 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
12507 include <bp-checks.h>.
12508 (sigpending): Don't use CHECK_SIGSET.
12509 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
12510 include <bp-checks.h>.
12511 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12512 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
12513 <bp-checks.h>.
12514 (sigpending): Don't use CHECK_SIGSET.
12515 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
12516 <bp-checks.h>.
12517 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12518
2e8a5c8c
JM
12519 [BZ #13550]
12520 * sysdeps/generic/bp-semctl.h: Remove file.
12521 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
12522 <bp-checks.h> and <bp-semctl.h>.
12523 (__old_semctl): Don't use CHECK_SEMCTL.
12524 (__new_semctl): Likewise.
12525 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
12526 and <bp-semctl.h>.
12527 (__old_semctl): Don't use CHECK_SEMCTL.
12528 (__new_semctl): Likewise.
12529 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
12530 <bp-checks.h> and <bp-semctl.h>.
12531 (__old_semctl): Don't use CHECK_SEMCTL.
12532 (__new_semctl): Likewise.
12533 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
12534 <bp-checks.h> and <bp-semctl.h>.
12535 (semctl): Don't use CHECK_SEMCTL.
12536
c2d54929
JM
12537 [BZ #13550]
12538 * Makerules (elide-bp-thunks): Remove variable.
12539 (elide-routines.oS): Don't use $(elide-bp-thunks).
12540 (elide-routines.os): Likewise.
12541 (elide-routines.o): Likewise.
12542 (elide-routines.op): Likewise.
12543 (elide-routines.og): Likewise.
12544 (objects): Don't use $(bp-thunks).
12545 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
12546 include.
12547 (common-generated): Do not add s-proto-bp.d.
12548 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
12549 (int): Likewise.
12550 (typ): Likewise.
12551 Do not generate makefile rules for bounded-pointer thunks.
12552 * sysdeps/generic/bp-thunks.h: Remove file.
12553 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
12554 * sysdeps/unix/s-proto-bp.S: Likewise.
12555
8cf28c5e
JM
12556 [BZ #15062]
12557 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
12558 parts of result separately when argument is not close to line from
12559 -i to i and one part of argument is small.
12560 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12561 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12562 * math/libm-test.inc (cacos_test): Add more tests.
12563 (casin_test): Likewise.
12564 (casinh_test): Likewise.
12565 * sysdeps/i386/fpu/libm-test-ulps: Update.
12566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12567
c4e33b8d
DM
125682013-01-31 David S. Miller <davem@davemloft.net>
12569
12570 * po/de.po: Update from translation team.
12571
3b60b421
MK
125722013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
12573
12574 * time/tzfile.c: Include stdint.h for SIZE_MAX.
12575
bb931195
TS
125762013-01-25 Thomas Schwinge <thomas@codesourcery.com>
12577
b5a5da23
TS
12578 * configure.in (_AC_PROG_CC_C89): New definition.
12579 * configure: Regenerate.
12580
bb931195
TS
12581 * configure.in (AC_PROG_CPP): New definition.
12582 * configure: Regenerate.
12583
8c53a12c
JM
125842013-01-23 Joseph Myers <joseph@codesourcery.com>
12585
12586 * debug/tst-backtrace.h: New file.
12587 * debug/tst-backtrace2.c: Include tst-backtrace.h.
12588 (ret): Remove variable.
12589 (x): Likewise.
12590 (FAIL): Remove macro.
12591 (NO_INLINE): Likewise.
12592 (fn1): Use match function instead of strstr.
12593 * debug/tst-backtrace3.c: Include tst-backtrace.h.
12594 (ret): Remove variable.
12595 (x): Likewise.
12596 (FAIL): Remove macro.
12597 (NO_INLINE): Likewise.
12598 (fn): Use match function instead of strstr.
12599 * debug/tst-backtrace4.c: Include tst-backtrace.h.
12600 (ret): Remove variable.
12601 (x): Likewise.
12602 (FAIL): Remove macro.
12603 (NO_INLINE): Likewise.
12604 (handle_signal): Use match function instead of strstr.
12605 * debug/tst-backtrace5.c: Include tst-backtrace.h.
12606 (ret): Remove variable.
12607 (x): Likewise.
12608 (FAIL): Remove macro.
12609 (NO_INLINE): Likewise.
12610 (handle_signal): Use match function instead of strstr.
12611
4858fa2a
RM
126122013-01-23 Roland McGrath <roland@hack.frob.com>
12613
12614 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
12615
bae8e7f5
DM
126162013-01-23 David S. Miller <davem@davemloft.net>
12617
12618 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
12619 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
12620 argument of CAS if possible.
12621 * sysdeps/sparc/sparc64/bits/atomic.h
12622 (__arch_compare_and_exchange_val_32_acq): Likewise.
12623 (__arch_compare_and_exchange_val_64_acq): Likewise.
12624
9cbbc4ae
PT
126252013-01-23 Pino Toscano <toscano.pino@tiscali.it>
12626
12627 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
12628 * sysdeps/posix/ulimit.c: ... this.
92a601b8 12629 Include <limits.h>.
67b3f58c 12630 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 12631
5655a0b5
AC
126322013-01-23 Adam Conrad <adconrad@0c3.net>
12633
12634 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
12635 (LDFLAGS-tst-array5): Likewise.
12636
052aff95
JM
126372013-01-23 Joseph Myers <joseph@codesourcery.com>
12638
12639 [BZ #15036]
12640 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
12641 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
12642 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
12643 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
12644
7c1e01aa
DM
126452013-01-21 David S. Miller <davem@davemloft.net>
12646
12647 * sysdeps/sparc/backtrace.c: New file.
12648 * sysdeps/sparc/sparc32/backtrace.h: New file.
12649 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
12650 * sysdeps/sparc/sparc64/backtrace.h: New file.
12651 * sysdeps/sparc/sparc64/backtrace.c: Delete.
12652 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
12653 -funwind-tables.
12654
ab087e0a
AS
126552013-01-21 Andreas Schwab <schwab@suse.de>
12656
12657 [BZ #15020]
12658 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
12659 closed its stdout.
12660
ed689c2f
AS
126612013-01-20 Andreas Schwab <schwab@linux-m68k.org>
12662
12663 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
12664 "mpa2.h".
12665 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12666
31d470ac
JM
126672013-01-18 Joseph Myers <joseph@codesourcery.com>
12668 Mark Mitchell <mark@codesourcery.com>
12669 Tom de Vries <tom@codesourcery.com>
12670 Paul Pluzhnikov <ppluzhnikov@google.com>
12671
12672 * debug/tst-backtrace2.c: New file.
12673 * debug/tst-backtrace3.c: Likewise.
12674 * debug/tst-backtrace4.c: Likewise.
12675 * debug/tst-backtrace5.c: Likewise.
12676 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
12677 (CFLAGS-tst-backtrace3.c): Likewise.
12678 (CFLAGS-tst-backtrace4.c): Likewise.
12679 (CFLAGS-tst-backtrace5.c): Likewise.
12680 (LDFLAGS-tst-backtrace2): Likewise.
12681 (LDFLAGS-tst-backtrace3): Likewise.
12682 (LDFLAGS-tst-backtrace4): Likewise.
12683 (LDFLAGS-tst-backtrace5): Likewise.
12684 (tests): Add new tests tst-backtrace2, tst-backtrace3,
12685 tst-backtrace4 and tst-backtrace5.
12686
90567f30 126872013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
12688 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12689
12690 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
12691 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
12692 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
12693 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
12694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12695 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
12696 "+r" and remove output regs list as redundant. Add explicit inline
12697 asm to specify register of return val to work around compiler codegen
12698 bug. Remove (int) cast on return value. Add return type parameter to
12699 use in macro so that this macro does not truncate return value for
12700 64-bit values.
12701 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
12702 pass to INTERNAL_VSYSCALL_NCS.
12703 (INLINE_VSYSCALL): Add 'long int' as return type to
12704 INTERNAL_VSYSCALL_NCS macro invocation.
12705 (INTERNAL_VSYSCALL): Add 'long int' as return type to
12706 INTERNAL_VSYSCALL_NCS macro invocation.
12707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12708
d3b9ea61
SP
127092013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12710
0b57daeb
SP
12711 [BZ #14496]
12712 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
12713 Fix application of SIMD FP exception mask.
12714
caa99d06
SP
12715 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
12716 mp_no from a power of two.
12717 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
12718 __mpexp_twomm1. Use __pow_mp.
12719
d3b9ea61
SP
12720 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
12721 multiplication.
12722
1dbaee3c
DM
127232013-01-17 David S. Miller <davem@davemloft.net>
12724
12725 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12726
728d7b43
JM
127272013-01-17 Joseph Myers <joseph@codesourcery.com>
12728
12729 [BZ #15023]
12730 * include/complex.h: Condition contents on [!_COMPLEX_H].
12731 (__kernel_casinhf): New prototype.
12732 (__kernel_casinh): Likewise.
12733 (__kernel_casinhl): Likewise.
12734 * math/Makefile (libm_calls): Add k_casinh.
12735 * math/k_casinh.c: New file.
12736 * math/k_casinhf.c: Likewise.
12737 * math/k_casinhl.c: Likewise.
12738 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
12739 finite nonzero arguments.
12740 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
12741 finite nonzero arguments.
12742 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
12743 finite nonzero arguments.
12744 * math/s_casinh.c: Do not include <float.h>.
12745 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
12746 * math/s_casinhf.c: Do not include <float.h>.
12747 (__casinhf): Move code for finite nonzero arguments to
12748 k_casinhf.c.
12749 * math/s_casinhl.c: Do not include <float.h>.
12750 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
12751 redefine.
12752 (__casinhl): Move code for finite nonzero arguments to
12753 k_casinhl.c.
12754 * math/libm-test.inc (cacos_test): Add more tests.
12755 * sysdeps/i386/fpu/libm-test-ulps: Update.
12756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12757
2a26ef3a
PT
127582013-01-17 Pino Toscano <toscano.pino@tiscali.it>
12759
12760 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
12761 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
12762 [!HAVE_MREMAP]: Remove [defined linux] case.
12763 * malloc/arena.c: Do not include <malloc-sysdep.h>.
12764
a897655d
SP
127652013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12766
12767 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
12768
881ebe89 127692013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
12770
12771 * elf/elf.h (R_386_SIZE32): New relocation.
12772 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
12773 R_386_SIZE32.
12774 (elf_machine_rela): Likewise.
12775 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12776 R_X86_64_SIZE64 and R_X86_64_SIZE32.
12777
59981e9b
JM
127782013-01-17 Joseph Myers <joseph@codesourcery.com>
12779
12780 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
12781 (FP_FAST_FMA): Do not define.
12782 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
12783 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
12784 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
12785 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
12786 !_SOFT_FLOAT]: Likewise.
12787 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
12788 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
12789 value.
12790 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
12791 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
12792 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
12793 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
12794 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
12795 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
12796 file.
12797
cfa8054f
AS
127982013-01-16 Andreas Schwab <schwab@suse.de>
12799
12800 [BZ #14327]
12801 * include/stdlib.h (__mktemp): Add declaration.
12802 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
12803 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
12804
dd930cc5
SP
128052013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12806
881ebe89
SP
12807 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
12808 definitions.
12809 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12810 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
12811 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
12812 definitions here.
12813 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
12814 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
12815 definitions.
12816 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
12817 and ONE.
12818 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
12819 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
12820 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
12821 definitions.
12822 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
12823 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
12824 definitions.
12825 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 12826
dd930cc5
SP
12827 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
12828
c19a9f89
DM
128292013-01-15 David S. Miller <davem@davemloft.net>
12830
1aa61767
DM
12831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12832 trunc{,f} to libm-sysdep_routes.
12833 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
12835 file.
12836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
12837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
12838 file.
12839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
12840 file.
12841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
12842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
12843 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
12844 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
12845 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
12846 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
12847 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
12848 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
12849
c42d5e98
DM
12850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12851 nearbyint{,f} to libm-sysdep_routes.
12852 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
12854 New file.
12855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
12856 file.
12857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
12858 New file.
12859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
12860 file.
12861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
12862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
12863 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
12864 file.
12865 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
12866 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
12867 file.
12868 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
12869 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
12870 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
12871
c19a9f89
DM
12872 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12873 libc_feholdexcept and libc_fesetenv.
12874
357679d2
MF
128752013-01-15 Mike Frysinger <vapier@gentoo.org>
12876
12877 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
12878
65a82e3d
DM
128792013-01-14 David S. Miller <davem@davemloft.net>
12880
8b954ab9
DM
12881 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
12882 (SPARC_ASM_VIS2_IFUNC): Likewise.
12883 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
12884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
12885 use of 'siam' instruction.
12886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
12887 Likewise.
12888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
12889 Likewise.
12890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
12891 Likewise.
12892 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
12893 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
12894 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
12895 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
12896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
12897 file.
12898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
12899 file.
12900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
12901 file.
12902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
12903 file.
12904 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
12905 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
12906 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
12907 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
12908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
12909 new VIS2 routines.
12910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12913 Likewise.
12914 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12915 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12916 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12917 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
12919 routines to libm-sysdep_routines.
12920 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12921
65a82e3d
DM
12922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12923 fdim/fdimf to libm-sysdep_routines.
12924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
12925 file.
12926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
12927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
12928 file.
12929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
12930 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
12931 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
12932 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
12933 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
12934 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
12935 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
12936
e34ab705
SP
129372013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12938
2a91b573
SP
12939 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
12940 to optimize copies.
12941
1066a534
SP
12942 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
12943 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12944 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12945
e34ab705
SP
12946 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
12947 local variable MPTWO.
12948 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12949 Likewise.
12950
aba5e596
MF
129512013-01-13 Mike Frysinger <vapier@gentoo.org>
12952
12953 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
12954 GLOB_NOESCAPE.
12955
e557e9e5
MF
129562013-01-13 Mike Frysinger <vapier@gentoo.org>
12957
12958 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
12959
0428cec9
MF
129602013-01-13 Mike Frysinger <vapier@gentoo.org>
12961
12962 * manual/pattern.texi (glob_t): Document gl_flags.
12963 (glob64_t): Likewise.
12964
8794a964
DM
129652013-01-11 David S. Miller <davem@davemloft.net>
12966
66438c3f
RM
12967 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
12968 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
12969 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
12970 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
12971 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
12972 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
12973 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
12974 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
12975 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
12976 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
12977 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
12978 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
12979 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
12980
4ae4244d
DM
12981 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12982 sparc V9 rather than using V8 code.
12983 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12984 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12985
8794a964
DM
12986 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12987 Move to...
12988 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
12989 Here.
12990
6270516e
RM
129912013-01-11 Roland McGrath <roland@hack.frob.com>
12992
12993 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
12994 not in the main loop.
12995 * configure: Regenerated.
12996
6a57d931
JM
129972013-01-11 Joseph Myers <joseph@codesourcery.com>
12998
12999 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
13000 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
13001 to just #else.
13002 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
13003 [!__GLIBC_HAVE_LONG_LONG] case.
13004 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
13005 condition to just #else.
13006 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
13007 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
13008 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
13009 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
13010 unconditional.
13011 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
13012 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13013 #elif condition to just #else.
13014 * sysdeps/unix/sysv/linux/sys/sysmacros.h
13015 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
13016 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13017 #elif condition to just #else.
13018
0e8529e9
SE
130192013-01-11 Steve Ellcey <sellcey@mips.com>
13020
13021 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
13022 (EF_MIPS_ARCH_64): Fix value.
13023 (EF_MIPS_ARCH_32R2): New.
13024 (EF_MIPS_ARCH_64R2): New.
13025
740b3dbe
L
130262013-01-11 H.J. Lu <hongjiu.lu@intel.com>
13027
13028 * Makeconfig (+link-pie-before-libc): New.
13029 (+link-pie-after-libc): Likewise.
13030 (+link-pie-tests): Likewise.
13031 (+link-pie): Rewritten.
13032 (link-before-libc): Remove $(config-LDFLAGS).
13033 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
13034 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
13035 (config-LDFLAGS): Renamed to ...
13036 (rtld-LDFLAGS): This.
13037 (rtld-tests-LDFLAGS): New macro.
13038 (link-libc-rpath-link): Likewise.
13039 (link-libc-tests-rpath-link): Likewise.
13040 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
13041 (link-libc): Prepand $(link-libc-rpath-link).
13042 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
13043 (test-program-prefix): New macro.
13044 (test-via-rtld-prefix): Likewise.
13045 (test-program-cmd): Likewise.
13046 (host-test-program-cmd): Likewise.
13047 * Makefile ($(common-objpfx)testrun.sh): Replace
13048 $(run-program-prefix) with $(test-program-prefix).
13049 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
13050 $(rtld-LDFLAGS).
13051 ($(common-objpfx)shlib.lds): Likewise.
13052 (build-module-helper): Likewise.
13053 ($(common-objpfx)format.lds): Likewise.
13054 * Rules (binaries-pie-tests): New.
13055 (binaries-pie-notests): Likewise.
13056 (binaries-pie): Rewritten.
13057 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
13058 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
13059 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
13060 (make-test-out): Replace $(host-built-program-cmd) with
13061 $(host-test-program-cmd).
13062 * config.make.in (build-hardcoded-path-in-tests): New variable.
13063 * configure.in (--enable-hardcoded-path-in-tests): New configure
13064 option.
13065 (hardcoded_path_in_tests): New AC_SUBST.
13066 * configure: Regenerated.
13067 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
13068 $(built-program-cmd) with $(test-program-cmd).
13069 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
13070 (test_program_cmd): This.
13071 * elf/Makefile ($(objpfx)order.out): Run test with
13072 $(test-program-prefix).
13073 ($(objpfx)order2.out): Likewise.
13074 ($(objpfx)tst-initorder.out): Likewise.
13075 ($(objpfx)tst-initorder2.out): Likewise.
13076 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
13077 $(test-program-cmd).
13078 ($(objpfx)tst-array1-static.out): Likewise.
13079 ($(objpfx)tst-array2.out): Likewise.
13080 ($(objpfx)tst-array3.out): Likewise.
13081 ($(objpfx)tst-array4.out): Likewise.
13082 ($(objpfx)tst-array5.out): Likewise.
13083 ($(objpfx)tst-array5-static.out): Likewise.
13084 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
13085 $(test-program-cmd).
13086 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
13087 $(run-program-prefix) with $(test-program-prefix).
13088 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
13089 (test_program_prefix): This.
13090 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
13091 $(run-program-prefix) with $(test-program-prefix).
13092 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
13093 (test_program_prefix): This.
13094 * iconvdata/tst-tables.sh: Likewise.
13095 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
13096 $(run-program-prefix) with $(test-program-prefix).
13097 ($(objpfx)tst-translit.out): Likewise.
13098 ($(objpfx)tst-gettext2.out): Likewise.
13099 ($(objpfx)tst-gettext4.out): Likewise.
13100 ($(objpfx)tst-gettext6.out): Likewise.
13101 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
13102 (test_program_prefix): This.
13103 * intl/tst-gettext2.sh: Likewise.
13104 * intl/tst-gettext4.sh Likewise.
13105 * intl/tst-gettext6.sh: Likewise.
13106 * intl/tst-translit.sh: Likewise.
13107 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
13108 with $(test-program-cmd).
13109 * libio/Makefile ($(objpfx)test-freopen.out): Replace
13110 $(run-program-prefix) with $(test-program-prefix).
13111 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
13112 (test_program_prefix): This.
13113 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
13114 $(run-program-prefix) with $(test-program-prefix).
13115 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
13116 (test_program_prefix): This.
13117 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
13118 * posix/Makefile ($(objpfx)globtest.out): Replace
13119 $(run-via-rtld-prefix) and $(test-wrapper) with
13120 $(test-program-prefix) and $(test-via-rtld-prefix).
13121 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
13122 $(test-program-prefix).
13123 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
13124 $(host-test-program-cmd).
13125 (tst-spawn-ARGS): Likewise.
13126 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
13127 $(test-program-prefix).
13128 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
13129 (test_via_rtld_prefix): This.
13130 (test_wrapper): Renamed to ...
13131 (test_program_prefix): This.
13132 (run_program_prefix): Replaced by test_program_prefix.
13133 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
13134 (test_program_prefix): This.
13135 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
13136 with $(host-test-program-cmd).
13137 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
13138 $(run-program-prefix) with $(test-program-prefix).
13139 ($(objpfx)tst-printf.out): Likewise.
13140 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
13141 $(test-program-cmd).
13142 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
13143 (test_program_prefix): This.
13144 * stdio-common/tst-unbputc.sh: Likewise.
13145 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
13146 $(run-program-prefix) with $(test-program-prefix).
13147 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
13148 (test_program_prefix): This.
13149 * string/Makefile ($(objpfx)tst-svc.out): Replace
13150 $(built-program-cmd) with $(test-program-cmd).
13151
c6fe55cf
AJ
131522013-01-11 Andreas Jaeger <aj@suse.de>
13153
13154 [BZ #15003]
13155 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
13156 value. Sync with Linux 3.7.
13157
9e6919c8
DM
131582013-01-10 David S. Miller <davem@davemloft.net>
13159
13160 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
13161 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13162 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13163
1c9f1a02
RM
131642013-01-10 Roland McGrath <roland@hack.frob.com>
13165
13166 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
13167 never set.
13168 * configure: Regenerated.
13169
b9de2dde
DM
131702013-01-10 David S. Miller <davem@davemloft.net>
13171
13172 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13173 sparc V9 rather than using V8 code.
13174 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13175 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13176
e7f68ef4
RM
131772013-01-10 Roland McGrath <roland@hack.frob.com>
13178
13179 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
13180 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
13181 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
13182 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
13183 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
13184 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
13185 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
13186 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
13187 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
13188 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
13189 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
13190 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
13191 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
13192 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
13193 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
13194 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
13195 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
13196 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
13197 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
13198 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
13199 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
13200 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
13201 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
13202 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
13203 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
13204 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
13205 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
13206
5a47cc9c
DM
132072013-01-10 David S. Miller <davem@davemloft.net>
13208
13209 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13210
4cf8f209
L
132112013-01-10 H.J. Lu <hongjiu.lu@intel.com>
13212
13213 * posix/Makefile (tests-static): New variable.
13214 (tests): Add $(tests-static).
13215 (tst-exec-static-ARGS): New variable.
13216 (tst-spawn-static-ARGS): Likewise.
13217 * posix/tst-exec-static.c: New file.
13218 * posix/tst-spawn-static.c: Likewise.
13219 * posix/tst-exec.c: Support run directly.
13220 * posix/tst-spawn.c: Likewise.
13221
fed0faa1
JM
132222013-01-10 Joseph Myers <joseph@codesourcery.com>
13223
828beb13
JM
13224 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
13225 long.
13226 * math/bits/mathcalls.h (llrint): Likewise.
13227 (llround): Likewise.
13228 * stdlib/stdlib.h (struct drand48_data): Likewise.
13229 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
13230 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
13231 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
13232 Likewise.
13233 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
13234 Likewise.
13235 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
13236 (elf_greg_t): Likewise.
13237 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
13238 (__jmp_buf): Likewise.
13239 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
13240 definitions.
13241 (llrint): Likewise, for all definitions.
13242 (llrintl): Likewise.
13243
fed0faa1
JM
13244 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
13245 Remove [__GNUC__] condition.
13246 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
13247 condition to just [__USE_ISOC99].
13248 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
13249
1a20cb20
L
132502013-01-10 H.J. Lu <hongjiu.lu@intel.com>
13251
13252 [BZ #14200]
13253 * sysdeps/unix/sysv/linux/x86/bits/environments.h
13254 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
13255 defined.
13256 (_POSIX_V6_ILP32_OFF32): Likewise.
13257 (_XBS5_ILP32_OFF32): Likewise.
13258 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
13259 (__ILP32_OFFBIG_LDFLAGS): Likewise.
13260
751b85f7
SP
132612013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13262
7490eb81
SP
13263 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
13264
751b85f7
SP
13265 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
13266 doubles __mpexp_twomm1. Adjust usage.
13267 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
13268 Remove.
13269
988197f0
AS
132702013-01-10 Andreas Schwab <schwab@suse.de>
13271
13272 [BZ #14964]
13273 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
13274 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
13275
e83d7298
DM
132762013-01-09 David S. Miller <davem@davemloft.net>
13277
034ed64b 13278 [BZ #15003]
e83d7298
DM
13279 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
13280 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
13281 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
13282 TCP_FASTOPEN): Define.
13283 (tcp_repair_opt): New structure.
13284 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
13285 enum values.
13286 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
13287 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
13288 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
13289 (tcp_cookie_transactions): New structure.
13290
d5e0b9bd
AB
132912013-01-09 Anton Blanchard <anton@samba.org>
13292
13293 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
13294 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
13295 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
13296 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
13297
0c07e3ea
JM
132982013-01-09 Joseph Myers <joseph@codesourcery.com>
13299
13300 * include/features.h (__USE_ANSI): Remove.
13301
232f7002
RM
133022013-01-09 Roland McGrath <roland@hack.frob.com>
13303
ad98e30c
RM
13304 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
13305
232f7002
RM
13306 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
13307
950c99ca
SP
133082013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
13309
b5792741
SP
13310 * sysdeps/s390/fpu/libm-test-ulps: Update.
13311
47cf2278
SP
13312 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13313
950c99ca
SP
13314 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
13315 (__acr): Likewise.
13316 (__cpy): Likewise.
13317 (norm): Likewise.
13318 (denorm): Likewise.
13319 (__mp_dbl): Likewise.
13320 (__dbl_mp): Likewise.
13321 (add_magnitudes): Likewise.
13322 (sub_magnitudes): Likewise.
13323 (__add): Likewise.
13324 (__sub): Likewise.
13325 (__mul): Likewise.
13326 (__inv): Likewise.
13327 (__dvd): Likewise.
13328 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
13329 (__acr): Likewise.
13330 (__cpy): Likewise.
13331 (norm): Likewise.
13332 (denorm): Likewise.
13333 (__mp_dbl): Likewise.
13334 (__dbl_mp): Likewise.
13335 (add_magnitudes): Likewise.
13336 (sub_magnitudes): Likewise.
13337 (__add): Likewise.
13338 (__sub): Likewise.
13339 (__mul): Likewise.
13340 (__inv): Likewise.
13341 (__dvd): Likewise.
13342 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
13343 (__acr): Likewise.
13344 (__cpy): Likewise.
13345 (norm): Likewise.
13346 (denorm): Likewise.
13347 (__mp_dbl): Likewise.
13348 (__dbl_mp): Likewise.
13349 (add_magnitudes): Likewise.
13350 (sub_magnitudes): Likewise.
13351 (__add): Likewise.
13352 (__sub): Likewise.
13353 (__mul): Likewise.
13354 (__inv): Likewise.
13355 (__dvd): Likewise.
13356
eede9df9
JM
133572013-01-08 Joseph Myers <joseph@codesourcery.com>
13358
13359 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
13360 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
13361 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
13362 2 && __USE_EXTERN_INLINES]: Likewise.
13363
c40ea3d9
AJ
133642013-01-08 Andreas Jaeger <aj@suse.de>
13365
13366 [BZ# 14985]
13367 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
13368 Remove.
13369 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13370 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13371
2ccdea26
AB
133722013-01-07 Anton Blanchard <anton@samba.org>
13373
13374 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
13375 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13376 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
13377 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13378 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13379 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13380 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
13381 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13382 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13383 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13384 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13385 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13386 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13387 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13388 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13389 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13390 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13391 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13392 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13393 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13394 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13395 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
13396 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13397 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13398 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
13399 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13400 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13401 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13402 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
13403 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13404 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13405 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13406 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13407 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13408 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13409 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13410 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13411 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13412 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
13413 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13414 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
13415 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13416 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13417
a9708fed
JM
134182013-01-07 Joseph Myers <joseph@codesourcery.com>
13419
375607b9
JM
13420 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
13421 (__MALLOC_PMT): Likewise.
13422 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
13423 [__GNUC__], only on [_LIBC].
13424 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13425 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
13426 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13427 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
13428 forward declaration.
13429 (realloc_hook_ini): Likewise.
13430 (memalign_hook_ini): Likewise.
13431 (__libc_memalign): Do not use __MALLOC_PMT in variable
13432 declaration.
13433 (__libc_valloc): Likewise.
13434 (__libc_pvalloc): Likewise.
13435 (__libc_calloc): Likewise.
13436 (__posix_memalign): Likewise.
13437
a9708fed
JM
13438 [BZ #14996]
13439 * math/s_casinh.c: Include <float.h>.
13440 (__casinh): Do not do computation with squaring and square root
13441 for large arguments.
13442 * math/s_casinhf.c: Include <float.h>.
13443 (__casinhf): Do not do computation with squaring and square root
13444 for large arguments.
13445 * math/s_casinhl.c: Include <float.h>.
13446 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
13447 (__casinhl): Do not do computation with squaring and square root
13448 for large arguments.
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
afec409a
L
134542013-01-04 H.J. Lu <hongjiu.lu@intel.com>
13455
13456 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
13457 (__x86_64_raw_data_cache_size): Likewise.
13458 (__x86_64_data_cache_size_half): Likewise.
13459 (__x86_64_raw_data_cache_size_half): Likewise.
13460 (__x86_64_shared_cache_size): Likewise.
13461 (__x86_64_raw_shared_cache_size): Likewise.
13462 (__x86_64_shared_cache_size_half): Likewise.
13463 (__x86_64_raw_shared_cache_size_half): Likewise.
13464 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
13465 to ...
13466 (__x86_data_cache_size): This.
13467 (__x86_64_raw_data_cache_size): Renamed to ...
13468 (__x86_raw_data_cache_size): This.
13469 (__x86_64_data_cache_size_half): Renamed to ...
13470 (__x86_data_cache_size_half): This.
13471 (__x86_64_raw_data_cache_size_half): Renamed to ...
13472 (__x86_raw_data_cache_size_half): This.
13473 (__x86_64_shared_cache_size): Renamed to ...
13474 (__x86_shared_cache_size): This.
13475 (__x86_64_raw_shared_cache_size): Renamed to ...
13476 (__x86_raw_shared_cache_size): This.
13477 (__x86_64_shared_cache_size_half): Renamed to ...
13478 (__x86_shared_cache_size_half): This.
13479 (__x86_64_raw_shared_cache_size_half): Renamed to ...
13480 (__x86_raw_shared_cache_size_half): This.
13481 * sysdeps/x86_64/memcpy.S: Updated.
13482 * sysdeps/x86_64/memset.S: Likewise.
13483 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13484 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13485 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13486
0b3986d0
DM
134872013-01-04 David S. Miller <davem@davemloft.net>
13488
13489 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13490
e47686e9
AS
134912013-01-04 Andreas Schwab <schwab@linux-m68k.org>
13492
d643bac1
AS
13493 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
13494 1 to avoid redefinition warning.
13495 (__USE_GNU): Don't define.
13496 (init_signaling_nan): Protoize.
13497
e47686e9
AS
13498 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13499
b18decba
SP
135002013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13501
fffb407f
SP
13502 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
13503 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
13504 (__cpymn): Likewise.
13505 (norm): Remove commented code.
13506 (denorm): Likewise.
13507 (__mp_dbl): Likewise.
13508 (__inv): Likewise.
13509 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
13510 (__cpymn): Likewise.
13511 (norm): Remove commented code.
13512 (denorm): Likewise.
13513 (__mp_dbl): Likewise.
13514 (__inv): Likewise.
13515
b18decba
SP
13516 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
13517 mp_no value for 1.0 and 2.0.
13518 (norm): Use RADIXI instead of radixi.d.
13519 (denorm): Likewise.
13520 (__mul): Use 0.0 instead of zero.d.
13521 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
13522 mp_no value for 1.0 and 2.0.
13523 (norm): Use RADIXI instead of radixi.d.
13524 (denorm): Likewise.
13525 (__mul): Use 0.0 instead of zero.d.
13526
cdc1c96f
JM
135272013-01-04 Joseph Myers <joseph@codesourcery.com>
13528
13529 [BZ #14994]
13530 * math/s_casinh.c (__casinh): Reduce finite argument to first
13531 quadrant then set signs of results at the end.
13532 * math/s_casinhf.c (__casinhf): Likewise.
13533 * math/s_casinhl.c (__casinhl): Likewise.
13534 * math/libm-test.inc (casin_test): Add more tests.
13535 (casinh_test): Likewise.
13536 * sysdeps/i386/fpu/libm-test-ulps: Update.
13537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13538
302913e1
SP
135392013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13540
6420d207
SP
13541 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
13542
a9e48ab4
SP
13543 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
13544
b7837264
SP
13545 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
13546 declarations.
13547 (denorm): Likewise.
13548 (__mp_dbl): Likewise.
13549 (__inv): Likewise.
13550
f8af25d2
SP
13551 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
13552 and adjust the header comment.
13553
302913e1
SP
13554 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
13555 variable name from declaration.
13556
5d7dd1ca
L
135572013-01-03 H.J. Lu <hongjiu.lu@intel.com>
13558
13559 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13560 Initialize COMMON_CPUID_INDEX_7 element.
13561 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
13562 (CPUID_RTM): Likewise.
13563 (HAS_RTM): Likewise.
13564 (COMMON_CPUID_INDEX_7): New enum.
13565
2f5f40f4
AS
135662013-01-03 Andreas Schwab <schwab@linux-m68k.org>
13567
13568 [BZ #14981]
13569 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
13570 size is zero, record memory as freed.
13571
4056f4a0
AJ
135722013-01-03 Andreas Jaeger <aj@suse.de>
13573
13574 * po/ia.po: Add new Interlingua translation.
13575
ab15736f 135762012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
13577
13578 * locale/programs/localedef.c: Fix description of '--posix' flag.
13579
568035b7
JM
135802013-01-02 Joseph Myers <joseph@codesourcery.com>
13581
e6898b8d
JM
13582 * NEWS: Update dates in second copyright notice.
13583 * README: Update copyright dates in example.
13584 * manual/libc.texinfo: Update copyright dates.
13585 * scripts/test-installation.pl: Update copyright date in --version
13586 output.
13587
0e2f9562
JM
13588 * hurd/ctty-input.c: Fix copyright notice formatting.
13589 * hurd/ctty-output.c: Likewise.
13590 * hurd/dtable.c: Likewise.
13591 * hurd/hurd-raise.c: Likewise.
13592 * hurd/hurdprio.c: Likewise.
13593 * hurd/msgportdemux.c: Likewise.
13594 * misc/sys/file.h: Likewise.
13595 * misc/sys/ioctl.h: Likewise.
13596 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13597 * sysdeps/mach/hurd/chdir.c: Likewise.
13598 * sysdeps/mach/hurd/fchdir.c: Likewise.
13599 * sysdeps/mach/hurd/rename.c: Likewise.
13600 * sysdeps/mach/hurd/rmdir.c: Likewise.
13601 * sysdeps/mach/hurd/seekdir.c: Likewise.
13602 * sysdeps/mach/hurd/setsid.c: Likewise.
13603 * sysdeps/posix/wait3.c: Likewise.
13604
568035b7
JM
13605 * All files with FSF copyright notices: Update copyright dates
13606 using scripts/update-copyrights.
13607 * intl/plural.c: Regenerated.
13608 * locale/programs/charmap-kw.h: Likewise.
13609 * locale/programs/locfile-kw.h: Likewise.
13610
da08f647
SP
136112013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13612
0f5477af
SP
13613 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
13614 four values.
13615
44e0d4c2
SP
13616 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
13617 calculation loop and add branch prediction.
13618
4d55b4e5
SP
13619 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
13620 check access beyond bounds of m1np.
13621
da08f647
SP
13622 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13623 MPTWO.
13624 (__inv): Remove local variable MPTWO to use the global
13625 constant.
13626 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
13627 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13628 variable MPTWO.
13629 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
13630 MP3HALFS static const.
13631
8e051029
DM
136322013-01-01 David S. Miller <davem@davemloft.net>
13633
13634 * po/ca.po: Update from translation team.
13635
f4cf5f2d
JM
136362013-01-01 Joseph Myers <joseph@codesourcery.com>
13637
13638 * scripts/update-copyrights: New file.
13639 * Makeconfig: Reformat copyright notice.
13640 * ctype/ctype.h: Likewise.
13641 * debug/swprintf_chk.c: Likewise.
13642 * elf/dl-cache.c: Likewise.
13643 * elf/dl-debug.c: Likewise.
13644 * elf/dl-object.c: Likewise.
13645 * grp/initgroups.c: Likewise.
13646 * hurd/Makefile: Likewise.
13647 * hurd/hurd/signal.h: Likewise.
13648 * hurd/hurdfault.c: Likewise.
13649 * hurd/hurdioctl.c: Likewise.
13650 * hurd/hurdlookup.c: Likewise.
13651 * hurd/intr-msg.c: Likewise.
13652 * iconv/gconv_open.c: Likewise.
13653 * libio/swprintf.c: Likewise.
13654 * locale/lc-ctype.c: Likewise.
13655 * locale/nl_langinfo.c: Likewise.
13656 * mach/Machrules: Likewise.
13657 * mach/Makefile: Likewise.
13658 * malloc/obstack.h: Likewise.
13659 * manual/Makefile: Likewise.
13660 * manual/tsort.awk: Likewise.
13661 * misc/bits/stab.def: Likewise.
13662 * nis/nis_print_group_entry.c: Likewise.
13663 * nis/nis_table.c: Likewise.
13664 * nis/nss_compat/compat-pwd.c: Likewise.
13665 * nis/nss_compat/compat-spwd.c: Likewise.
13666 * po/Makefile: Likewise.
13667 * posix/fnmatch.c: Likewise.
13668 * posix/regex.h: Likewise.
13669 * resolv/Makefile: Likewise.
13670 * resolv/nss_dns/dns-network.c: Likewise.
13671 * resolv/res_hconf.c: Likewise.
13672 * scripts/gen-sorted.awk: Likewise.
13673 * soft-fp/soft-fp.h: Likewise.
13674 * stdio-common/printf.h: Likewise.
13675 * stdlib/monetary.h: Likewise.
13676 * stdlib/random.c: Likewise.
13677 * stdlib/random_r.c: Likewise.
13678 * sysdeps/generic/Makefile: Likewise.
13679 * sysdeps/gnu/Makefile: Likewise.
13680 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13681 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13682 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13683 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13684 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13685 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13686 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13687 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13688 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13689 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13690 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13691 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13692 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13693 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13694 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
13695 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13696 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13697 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13698 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13699 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13700 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13701 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13702 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13703 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13704 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
13705 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13706 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13707 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
13708 * sysdeps/mach/hurd/errnos.awk: Likewise.
13709 * sysdeps/mach/hurd/fork.c: Likewise.
13710 * sysdeps/mach/hurd/getcwd.c: Likewise.
13711 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
13712 * sysdeps/mach/hurd/mmap.c: Likewise.
13713 * sysdeps/mach/hurd/utimes.c: Likewise.
13714 * sysdeps/mach/hurd/xmknod.c: Likewise.
13715 * sysdeps/posix/profil.c: Likewise.
13716 * sysdeps/posix/readdir_r.c: Likewise.
13717 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13718 * sysdeps/powerpc/bits/setjmp.h: Likewise.
13719 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
13720 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13721 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13722 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13723 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13724 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13725 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13726 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13727 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13728 * sysdeps/pthread/lio_listio.c: Likewise.
13729 * sysdeps/sparc/dl-procinfo.h: Likewise.
13730 * sysdeps/unix/i386/sysdep.S: Likewise.
13731 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
13732 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
13733 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
13734 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
13735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13736 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
13737 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
13738 * sysdeps/unix/sysv/linux/speed.c: Likewise.
13739 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
13740 * sysdeps/wordsize-32/divdi3.c: Likewise.
13741 * time/sys/time.h: Likewise.
13742 * wcsmbs/Makefile: Likewise.
13743
0549fbba
DM
137442013-01-01 David S. Miller <davem@davemloft.net>
13745
a141f1a7
DM
13746 * po/fr.po: Update from translation team.
13747
0549fbba
DM
13748 * catgets/gencat.c: Update copyright year.
13749 * csu/version.c: Likewise.
13750 * debug/catchsegv.sh: Likewise.
13751 * debug/pcprofiledump.c: Likewise.
13752 * debug/xtrace.sh: Likewise.
13753 * elf/ldconfig.c: Likewise.
13754 * elf/ldd.bash.in: Likewise.
13755 * elf/pldd.c: Likewise.
13756 * elf/sotruss.ksh: Likewise.
13757 * elf/sprof.c: Likewise.
13758 * iconv/iconv_prog.c: Likewise.
13759 * iconv/iconvconfig.c: Likewise.
13760 * locale/programs/locale.c: Likewise.
13761 * locale/programs/localedef.c: Likewise.
13762 * login/programs/pt_chown.c: Likewise.
13763 * malloc/memusage.sh: Likewise.
13764 * malloc/memusagestat.c: Likewise.
13765 * malloc/mtrace.pl: Likewise.
13766 * nscd/nscd.c: Likewise.
13767 * nss/getent.c: Likewise.
13768 * nss/makedb.c: Likewise.
13769 * posix/getconf.c: Likewise.
13770
18ea052c
SP
137712012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13772
13773 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
13774 numbers.
13775
9c89fca6
MF
137762012-12-30 Mike Frysinger <vapier@gentoo.org>
13777
13778 * math/bits/mathcalls.h (modf): Use __nonnull.
13779
085ec079
SP
137802012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13781
13782 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
13783 (split): Use macro CN instead of the bare value.
13784 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
13785 could be used.
13786 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
13787 instead of the bare value.
13788 (power1): Likewise.
13789
6d9f97e1
SP
137902012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13791
d63f73be
SP
13792 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
13793 __ATAN_TWOM.
13794 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13795
6d9f97e1
SP
13796 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
13797 their values.
13798 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13799 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13800 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
13801 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13802
4c4febf5
AJ
138032012-12-28 Andreas Jaeger <aj@suse.de>
13804
af5843ef
AJ
13805 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
13806 values are from Linux 3.7.
13807
4c4febf5
AJ
13808 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
13809 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
13810
99136f82
SP
138112012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13812
2f216c3c 13813 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
13814 TRUE case.
13815
99136f82
SP
13816 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
13817 (norm): Likewise.
13818 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
13819 variables with preprocessor constants.
13820 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13821 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13822 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13823
7fffbdff
BH
138242012-12-27 Bruno Haible <bruno@clisp.org>
13825
13826 [BZ #14317]
13827 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
13828 only if needed.
13829
b76eb5f0
SP
138302012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13831
31a7fe5c
SP
13832 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
13833 and use variable directly.
13834 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
13835
b76eb5f0
SP
13836 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13837 MPONE.
13838 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
13839 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13840 variable MPONE.
13841 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
13842 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13843 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
13844 include directive. Remove local variable MPONE.
13845 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
13846 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
13847 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13848
2c8bfe7d
DM
138492012-12-25 David S. Miller <davem@davemloft.net>
13850
13851 * version.h (RELEASE): Set to "development".
13852 (VERSION): Set to "2.17.90".
13853 * NEWS: Add 2.18 section.
13854
147d03b0
DM
138552012-12-21 David S. Miller <davem@davemloft.net>
13856
13857 * po/hr.po: Update from translation team.
13858
a8ebb2b9
AK
138592012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13860
13861 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
13862
95b4f1b6
SE
138632012-12-19 Steve Ellcey <sellcey@mips.com>
13864
b2d94007 13865 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 13866
cedb2a90
MS
138672012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13868
13869 * manual/contrib.texi (Contributors): Spelling correction.
13870
bbf527d6
DM
138712012-12-15 David S. Miller <davem@davemloft.net>
13872
13873 * po/ru.po: Update from translation team.
13874
bc38c906
DM
138752012-12-13 David S. Miller <davem@davemloft.net>
13876
85429b1a
DM
13877 * NEWS: Mention IFUNC testsuite enhancements.
13878
d283e353
DM
13879 * po/pl.po: Update from translation team.
13880 * po/bg.po: Likewise.
13881
bc38c906
DM
13882 * manual/contrib.texi (Contributors): Update entries for Hongjiu
13883 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
13884
a181b0d7
DM
138852012-12-11 David S. Miller <davem@davemloft.net>
13886
4641d57e
DM
13887 * po/sv.po: Update from translation team.
13888
f7bc6495
DM
13889 * po/vi.po: Update from translation team.
13890
6fc9048f
DM
13891 * po/cs.po: Update from translation team.
13892
a181b0d7
DM
13893 * po/de.po: Update from translation team.
13894 * po/eo.po: Likewise.
13895 * po/nl.po: Likewise.
13896
f70bfe80
SP
138972012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13898
3c8b4190
SP
13899 [BZ #14246]
13900 * manual/argp.texi (Argp Helper Functions): Move node to follow
13901 Argp Parsing State.
13902
f70bfe80
SP
13903 [BZ #14872]
13904 * manual/conf.texi (Limits on File System Capacity): Mention if
13905 terminating null is included in the max size.
13906
188f0adf
AJ
139072012-12-10 Andreas Jaeger <aj@suse.de>
13908
13909 * po/cs.po: Update from translation team.
13910
56e7d3ad
SP
139112012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13912
13913 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
13914 void pointer and cast to uintptr_t.
13915 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
13916 path.
13917 * sysdeps/s390/s390-64/memcpy.S: Likewise.
13918 * sysdeps/s390/s390-64/memset.S: Likewise.
13919
76f2d2ea 139202012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
13921
13922 [BZ #14833]
13923 * menual/message.texi (Message Translation): Fix typos.
13924 (Helper programs for gettext): Likewise.
13925
67cbf9a2
AS
139262012-12-07 Andreas Schwab <schwab@linux-m68k.org>
13927
13928 [BZ #14898]
13929 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
13930 Change to -1.
13931
682d0e9a
DM
139322012-12-07 David S. Miller <davem@davemloft.net>
13933
13934 * po/libc.pot: Update.
13935
573cd484
RH
139362012-12-07 Richard Henderson <rth@redhat.com>
13937
7e9da188 13938 [BZ #10114]
573cd484
RH
13939 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
13940 normal/normal case to before the switch.
13941 (_FP_DIV): Likewise.
13942
e933a943
MF
139432012-12-06 Carlos O'Donell <carlos@systemhalted.org>
13944 Mike Frysinger <vapier@gentoo.org>
13945
13946 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
13947 check for __NR_fadvise64_64.
13948
82123268
CM
139492012-12-06 Chris Metcalf <cmetcalf@tilera.com>
13950
13951 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
13952 0, not just to plain "0" as a statement.
13953 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
13954 with cw.
13955
d9814526
JM
139562012-12-06 Joseph Myers <joseph@codesourcery.com>
13957
13958 * NEWS: Use sourceware.org in Bugzilla URL.
13959
7728c574
SP
139602012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13961
f16946dd
SP
13962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13963 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13964
5704bbcb
SP
13965 * stdio-common/tst-put-error.c (do_test): Add newline to the
13966 padded test to ensure flush.
13967
17aa0516
JL
139682012-12-05 Jeff Law <law@redhat.com>
13969
13970 * sunrpc/etc.rpc (fedfs_admin): Add entry.
13971
363313b5
JM
139722012-12-05 Joseph Myers <joseph@codesourcery.com>
13973
effbd42a
JM
13974 * README: Don't refer to ports add-on as distributed separately.
13975 Mention AArch64 in list of systems supported in the ports add-on.
13976
87600365
JM
13977 * LICENSES: Add more non-FSF copyright and license notices.
13978
a0d7066a
JM
13979 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
13980 ((unused)).
13981
66ca5a5b
JM
13982 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
13983
363313b5
JM
13984 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
13985 10000 as width of padded output.
13986
b37984ad
JM
139872012-12-04 Joseph Myers <joseph@codesourcery.com>
13988
9003570a
JM
13989 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
13990
b37984ad
JM
13991 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
13992 variable LX with __attribute__ ((unused)).
13993 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13994 Likewise.
13995 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13996 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13997 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
13998 with __attribute__ ((unused)).
13999
c8df52ec
DM
140002012-12-04 David S. Miller <davem@abraco.davemloft.net>
14001
14002 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
14003
b3b099af
JM
140042012-12-04 Joseph Myers <joseph@codesourcery.com>
14005
c33aa6e3
JM
14006 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
14007 (CFLAGS-nldbl-acos.c): New variable.
14008 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
14009 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
14010 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
14011 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
14012 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
14013 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
14014 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
14015 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
14016 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
14017 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
14018 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
14019 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
14020 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
14021 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
14022 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
14023 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
14024 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
14025 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
14026 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
14027 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
14028 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
14029 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
14030 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
14031 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
14032 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
14033 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
14034 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
14035 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
14036 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
14037 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
14038 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
14039 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
14040 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
14041 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
14042 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
14043 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
14044 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
14045 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
14046 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
14047 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
14048 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
14049 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
14050 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
14051 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
14052 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
14053 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
14054 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
14055 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
14056 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
14057 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
14058 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
14059 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
14060 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
14061 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
14062 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
14063 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
14064 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
14065 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
14066 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
14067 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
14068 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
14069 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
14070 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
14071 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
14072 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
14073 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
14074 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
14075 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
14076 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
14077 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
14078 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
14079 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
14080 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
14081 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
14082 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
14083 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
14084 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
14085 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
14086 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
14087 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
14088 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
14089 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
14090 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
14091 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
14092 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
14093 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
14094 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
14095 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
14096 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
14097 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
14098 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
14099 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
14100 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
14101 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
14102 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
14103 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
14104 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
14105
20f0018d
JM
14106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14107 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14108
b3b099af
JM
14109 [BZ #14914]
14110 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
14111 whole low double instead of just low 47 bits when splitting values
14112 into two parts.
14113
029264d1
AM
141142012-12-03 Allan McRae <allan@archlinux.org>
14115
14116 * manual/stdio.texi (Predefined Printf Handlers): Remove
14117 @hsep and @vsep usage.
14118
c9d6789e
MF
141192012-12-03 Mike Frysinger <vapier@gentoo.org>
14120
14121 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
14122 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
14123
4b7634a5
JL
141242012-12-03 Jeff Law <law@redhat.com>
14125
14126 * time/sys/time.h (settimeofday): Do not mark TV argument
14127 as __nonnull.
14128
eb6cbd24
MF
141292012-12-01 Mike Frysinger <vapier@gentoo.org>
14130
14131 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
14132 when currently writing and seek to current position when not.
14133 * libio/Makefile (tests): Remove bug-fclose1.
14134 * libio/bug-fclose1.c: Delete.
14135
f638872a
JM
141362012-12-01 Joseph Myers <joseph@codesourcery.com>
14137
14138 * manual/arith.texi (feenableexcept): Fix typo.
14139 (fedisableexcept): Likewise.
14140
48085d14
RM
141412012-11-30 Roland McGrath <roland@hack.frob.com>
14142
14143 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
14144 second, differently-typed declaration, rather than a cast.
14145
1a538b9f
SP
141462012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14147
14148 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
14149 * include/rpc/svc.h: ... here.
14150
d07f2ff1 141512012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
14152
14153 [BZ #13013]
14154 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
14155 depending n and resplen2 to catch cases where answer
14156 equals answerp2.
14157
c93ec1f0
CD
141582012-11-29 Carlos O'Donell <carlos@systemhalted.org>
14159
14160 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
14161 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
14162
37db69de
MF
141632012-11-29 Mike Frysinger <vapier@gentoo.org>
14164
14165 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
14166
e10c4e4f
RM
141672012-11-29 Roland McGrath <roland@hack.frob.com>
14168
14169 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
14170
2af1b328
JL
141712012-11-28 Jeff Law <law@redhat.com>
14172
14173 [BZ #13761]
14174 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
14175 dataset_temporary. Track alloca usage into alloca_used.
14176 If dataset is large allocate and release it via malloc/free.
14177
111db5b1
FW
141782012-06-04 Florian Weimer <fweimer@redhat.com>
14179
f06cc227 14180 [BZ #14197]
111db5b1
FW
14181 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
14182
dd694abd
DM
141832012-11-28 David S. Miller <davem@davemloft.net>
14184
14185 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14186
9984dd01
JM
141872012-11-28 Joseph Myers <joseph@codesourcery.com>
14188
14189 [BZ #14803]
14190 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
14191 of pi/2 rounded to nearest to 64 bits.
14192 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
14193 nearest to 64 bits.
14194 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
14195 bits.
14196
14bc93a9
JL
141972012-11-28 Jeff Law <law@redhat.com>
14198 Martin Osvald <mosvald@redhat.com>
14199
14200 [BZ #14889]
14201 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
14202 * sunrpc/svc.c: Include time.h.
14203 (__svc_accept_failed): New function.
14204 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
14205 any reason other than EINTR, call __svc_accept_failed.
14206 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
14207 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
14208
e3c6aa3a
AS
142092012-11-28 Andreas Schwab <schwab@suse.de>
14210
14211 * scripts/abilist.awk: Also handle indirect functions in .opd
14212 section.
14213
1bead169
JM
142142012-11-28 Joseph Myers <joseph@codesourcery.com>
14215
14216 [BZ #13881]
14217 * sysdeps/x86/fpu/powl_helper.c: New file.
14218 * sysdeps/x86/fpu/Makefile: Likewise.
14219 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
14220 (p3): New object.
14221 (__ieee754_powl): Use __powl_helper for finite arguments except
14222 integer exponents below 8.
14223 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
14224 (p3): New object.
14225 (__ieee754_powl): Use __powl_helper for finite arguments except
14226 integer exponents below 8.
14227 * math/libm-test.inc (pow_test): Add more tests and enable some
14228 previously disabled tests.
14229 * sysdeps/i386/fpu/libm-test-ulps: Update.
14230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14231
0817d63d
SP
142322012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14233 Carlos O'Donell <carlos_odonell@mentor.com>
14234
14235 * nss/makedb.c (is_prime): Assert that input is odd and greater
14236 than 4. Note that fact in a comment too.
14237 (next_prime): Add 4 to input.
14238
de2fd463
SP
142392012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14240
14241 [BZ #11741]
14242 * libio/Makefile (tests): Add test case tst-fwrite-error.
14243 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
14244 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
14245 * libio/tst-fwrite-error.c: New test case.
14246
c515fb51
L
142472012-11-26 H.J. Lu <hongjiu.lu@intel.com>
14248
14249 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
14250 before casting to void *.
14251 * include/libc-internal.h (__pointer_type): New macro.
14252 (__integer_if_pointer_type_sub): Likewise.
14253 (__integer_if_pointer_type): Likewise.
14254 (cast_to_integer): Likewise.
14255 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
14256 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
14257 before casting to atomic64_t.
14258 (atomic_exchange_acq): Likewise.
14259 (__arch_exchange_and_add_body): Likewise.
14260 (__arch_add_body): Likewise.
14261 (atomic_add_negative): Likewise.
14262 (atomic_add_zero): Likewise.
14263
4cf77aa9
JM
142642012-11-26 Joseph Myers <joseph@codesourcery.com>
14265
14266 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
14267 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
14268 (add_fdes): Likewise.
14269 (linear_search_fdes): Likewise.
14270 (binary_search_unencoded_fdes): Likewise.
14271
d260b3b4
AS
142722012-11-26 Andreas Schwab <schwab@linux-m68k.org>
14273
14274 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
14275
67060746
AC
142762012-11-24 Adam Conrad <adconrad@0c3.net>
14277
14278 * configure.in: Autodetect C++ header directories.
14279 * configure: Regenerated.
14280
800938a1
MF
142812012-11-23 Mike Frysinger <vapier@gentoo.org>
14282
14283 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
14284
4e6e34e6
AS
142852012-11-23 Andreas Schwab <schwab@linux-m68k.org>
14286
14287 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14288
7c7feb47
JM
142892012-11-22 Joseph Myers <joseph@codesourcery.com>
14290
7184dcdf
JM
14291 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
14292 LDBL_MANT_DIG == 106]: Disable some tests.
14293 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14294 Likewise.
14295 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14296 Likewise.
14297
0a42601f
JM
14298 [BZ #14871]
14299 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
14300 input for small inputs. Return +/- pi/2 for large inputs.
14301 * math/libm-test.inc (atan_test): Add more tests.
14302
79c9b9fe
JM
14303 * sysdeps/generic/unwind-dw2-fde-glibc.c
14304 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
14305 __attribute__ ((unused)).
14306
c60d3bf2
JM
14307 [BZ #14645]
14308 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
14309 x * y if x and y are nonzero and z is zero.
14310
ef1e0867
JM
14311 [BZ #14811]
14312 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
14313 nonzero exponents with absolute value below 0x1p-117 to +/-
14314 0x1p-117.
14315
1468ded3
JM
14316 [BZ #14869]
14317 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
14318 up arguments below 2**-450, not just those below 2**-500.
14319 * math/libm-test.inc (hypot_test): Add another test.
14320
8e27e3cc
JM
14321 [BZ #14868]
14322 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14323 Return a+b for ratio over 2**120, not 2**60.
14324 * math/libm-test.inc (hypot_test): Add another test.
14325
c9c0279b
JM
14326 * math/libm-test.inc (clog_test): Use
14327 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
14328 (clog10_test): Likewise.
14329
7c7feb47
JM
14330 [BZ #6778]
14331 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
14332
fff1530e
AS
143332012-11-22 Andreas Schwab <schwab@suse.de>
14334
14335 * sysdeps/i386/fpu/libm-test-ulps: Update.
14336
94558d30
PT
143372012-11-22 Pino Toscano <toscano.pino@tiscali.it>
14338
14339 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
14340 printf output with newline.
14341
7e1be741
L
143422012-11-21 H.J. Lu <hongjiu.lu@intel.com>
14343
6bfea974
L
14344 [BZ #14865]
14345 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
14346 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
14347 -z nodlopen, -z initfirst and -z execstack support.
14348 * configure: Regenerated.
14349
7e1be741
L
14350 * elf/elf.h (DF_1_NODIRECT): New macro.
14351 (DF_1_IGNMULDEF): Likewise.
14352 (DF_1_NOKSYMS): Likewise.
14353 (DF_1_NOHDR): Likewise.
14354 (DF_1_EDITED): Likewise.
14355 (DF_1_NORELOC): Likewise.
14356 (DF_1_SYMINTPOSE): Likewise.
14357 (DF_1_GLOBAUDIT): Likewise.
14358 (DF_1_SINGLETON): Likewise.
14359 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
14360 DT_1_SUPPORTED_MASK bits.
14361 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
14362
105ce2ce
CD
143632012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
14364
14365 * sysdeps/unix/make-syscalls.sh: Document prefixes.
14366
123be9de
TS
143672012-11-20 Thomas Schwinge <thomas@codesourcery.com>
14368
d072f3f7
TS
14369 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
14370 macro.
14371
123be9de
TS
14372 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
14373 (sendmmsg): Move declarations...
14374 * socket/sys/socket.h: ... here.
14375 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
14376 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
14377 include it from...
14378 * socket/recvmmsg.c: ... this new file.
14379 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
14380 (sendmmsg): Rename to __sendmmsg, create weak alias and make
14381 definition of __sendmmsg hidden.
14382 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
14383 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
14384 Move ENOSYS stub into and include it from...
14385 * socket/sendmmsg.c: ... this new file.
14386 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
14387 (sysdep_routines): Move recvmmsg and sendmmsg...
14388 * socket/Makefile (routines): ... here.
14389 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
14390 (GLIBC_PRIVATE): Add __sendmmsg.
14391 * include/sys/socket.h (__sendmmsg): Add declarations.
14392 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
14393 sendmmsg.
14394
cf9a5d18
JM
143952012-11-20 Joseph Myers <joseph@codesourcery.com>
14396
14397 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
14398 variable I1 with __attribute__ ((unused)).
14399 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14400
ecd4caf9
JM
144012012-11-19 Joseph Myers <joseph@codesourcery.com>
14402
be14d48f
JM
14403 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
14404 DUMMY variables with __attribute__ ((unused)).
14405
ecd4caf9
JM
14406 * bits/byteswap.h: Include <bits/types.h>.
14407 (__bswap_64): Use __uint64_t instead of unsigned long long int.
14408
986cab95
PT
144092012-11-19 Pino Toscano <toscano.pino@tiscali.it>
14410
14411 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
14412 string_t. Do not manually set errno.
14413 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
14414 length with __strnlen. Make sure to both set errno and return it on
14415 failure.
14416
6d33cc9d
DM
144172012-11-19 David S. Miller <davem@davemloft.net>
14418
14419 With help from Joseph Myers.
14420 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
14421 very large arguments properly.
14422 * math/libm-test.inc (atan_test): New tests.
14423 (atan2_test): New tests.
14424 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14425 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14426
ee663277
JM
144272012-11-19 Joseph Myers <joseph@codesourcery.com>
14428
877f2d8e
JM
14429 [BZ #14856]
14430 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
14431 Define to 3.
14432
116fc08a
JM
14433 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
14434 [POSIX] (EADDRNOTAVAIL): Likewise.
14435 [POSIX] (EAFNOSUPPORT): Likewise.
14436 [POSIX] (EALREADY): Likewise.
14437 [POSIX] (ECONNABORTED): Likewise.
14438 [POSIX] (ECONNREFUSED): Likewise.
14439 [POSIX] (ECONNRESET): Likewise.
14440 [POSIX] (EDESTADDRREQ): Likewise.
14441 [POSIX] (EDQUOT): Likewise.
14442 [POSIX] (EHOSTUNREACH): Likewise.
14443 [POSIX] (EIDRM): Likewise.
14444 [POSIX] (EISCONN): Likewise.
14445 [POSIX] (ELOOP): Likewise.
14446 [POSIX] (EMULTIHOP): Likewise.
14447 [POSIX] (ENETDOWN): Likewise.
14448 [POSIX] (ENETUNREACH): Likewise.
14449 [POSIX] (ENOBUFS): Likewise.
14450 [POSIX] (ENODATA): Likewise.
14451 [POSIX] (ENOLINK): Likewise.
14452 [POSIX] (ENOMSG): Likewise.
14453 [POSIX] (ENOPROTOOPT): Likewise.
14454 [POSIX] (ENOSR): Likewise.
14455 [POSIX] (ENOSTR): Likewise.
14456 [POSIX] (ENOTCONN): Likewise.
14457 [POSIX] (ENOTSOCK): Likewise.
14458 [POSIX] (EOPNOTSUPP): Likewise.
14459 [POSIX] (EOVERFLOW): Likewise.
14460 [POSIX] (EPROTO): Likewise.
14461 [POSIX] (EPROTONOSUPPORT): Likewise.
14462 [POSIX] (EPROTOTYPE): Likewise.
14463 [POSIX] (ESTALE): Likewise.
14464 [POSIX] (ETIME): Likewise.
14465 [POSIX] (ETXTBSY): Likewise.
14466 [POSIX] (EWOULDBLOCK): Likewise.
14467 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
14468 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
14469 [POSIX] (SEEK_CUR): Likewise.
14470 [POSIX] (SEEK_END): Likewise.
14471 [POSIX || UNIX98] (mode_t): Do not require.
14472 [POSIX] (off_t): Likewise.
14473 [POSIX] (pid_t): Likewise.
14474 [POSIX] (sys/stat.h): Do not allow header.
14475 [POSIX] (unistd.h): Likewise.
14476 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
14477 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
14478 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
14479 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
14480 require.
14481 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
14482 sigevent): Specify elements.
14483 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
14484 entry.
14485 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
14486 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
14487
a483863f
JM
14488 * conform/data/cpio.h-data [POSIX]: Disable whole file.
14489 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
14490 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
14491 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
14492 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
14493 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
14494 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
14495 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
14496 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
14497 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
14498 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
14499 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
14500 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
14501 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
14502 Likewise.
14503 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
14504 Likewise.
14505 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
14506 Likewise.
14507 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
14508 Likewise.
14509 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
14510 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
14511 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
14512 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
14513 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
14514 Specify lower bound on value.
14515 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
14516 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
14517 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
14518 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
14519 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
14520 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
14521 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
14522 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
14523 value.
14524 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
14525 as optional.
14526 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
14527 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
14528 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
14529 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
14530 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
14531 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
14532 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
14533 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
14534 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
14535 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
14536 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
14537 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
14538 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
14539 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
14540 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
14541 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
14542 entry.
14543 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
14544 optional.
14545 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
14546 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
14547 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
14548 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
14549 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
14550 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
14551 Likewise.
14552 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
14553 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
14554 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
14555 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
14556 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
14557 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
14558 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
14559 as optional.
14560 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
14561 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
14562 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
14563 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
14564 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
14565 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
14566 specify as optional.
14567 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
14568 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
14569 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
14570 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
14571 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
14572 [XPG3] (NL_LANGMAX): Likewise.
14573 [POSIX || XPG3] (NL_MSGMAX): Likewise.
14574 [POSIX || XPG3] (NL_NMAX): Likewise.
14575 [POSIX || XPG3] (NL_SETMAX): Likewise.
14576 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
14577 [XPG3] (NZERO): Likewise.
14578 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
14579 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
14580 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
14581 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
14582 (REG_ERANGE): Expect.
14583 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
14584 optional-constant.
14585 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
14586 Use (void) in prototype.
14587 [POSIX] (*_t): Allow.
14588 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
14589 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
14590 (WRDE_BADVAL): Expect.
14591
5ba924e3
JM
14592 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
14593 expect.
14594 [XPG3 || XPG4] (O_RSYNC): Likewise.
14595 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
14596 Likewise.
14597 [XPG3 || XPG4] (pthread_sigmask): Likewise.
14598 [XPG3 || XPG4] (sigqueue): Likewise.
14599 [XPG3 || XPG4] (sigtimedwait): Likewise.
14600 [XPG3 || XPG4] (sigwaitinfo): Likewise.
14601 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
14602 [XPG3 || XPG4] (vsnprintf): Likewise.
14603 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
14604 Likewise.
14605 [XPG3 || XPG4] (blksize_t): Likewise.
14606 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
14607 Likewise.
14608 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
14609 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
14610 [XPG3 || XPG4] (struct itimerspec): Likewise.
14611 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
14612 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
14613 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
14614 [XPG3 || XPG4] (clockid_t): Likewise.
14615 [XPG3 || XPG4] (timer_t): Likewise.
14616 [XPG3 || XPG4] (clock_getres): Likewise.
14617 [XPG3 || XPG4] (clock_gettime): Likewise.
14618 [XPG3 || XPG4] (clock_settime): Likewise.
14619 [XPG3 || XPG4] (nanosleep): Likewise.
14620 [XPG3 || XPG4] (timer_create): Likewise.
14621 [XPG3 || XPG4] (timer_delete): Likewise.
14622 [XPG3 || XPG4] (timer_gettime): Likewise.
14623 [XPG3 || XPG4] (timer_getoverrun): Likewise.
14624 [XPG3 || XPG4] (timer_settime): Likewise.
14625 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
14626 [XPG3 || XPG4] (getlogin_r): Likewise.
14627 [XPG3 || XPG4] (pread): Likewise.
14628 [XPG3 || XPG4] (pthread_atfork): Likewise.
14629 [XPG3 || XPG4] (pwrite): Likewise.
14630
ee663277
JM
14631 [BZ #14835]
14632 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
14633 <bits/siginfo.h>.
14634
942caa16
PT
146352012-11-19 Pino Toscano <toscano.pino@tiscali.it>
14636
e19af380
PT
14637 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
14638 finalizing MALLSTREAM.
14639
942caa16
PT
14640 * sysdeps/mach/hurd/syncfs.c: New file.
14641
cfde9b46
SP
146422012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14643
14644 [BZ #14719]
14645 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
14646 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
14647 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
14648 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
14649 (_nss_dns_gethostbyname4_r): Likewise.
14650 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
14651 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
14652
f6da27e5
PH
146532012-11-19 Peng Haitao <penght@cn.fujitsu.com>
14654
14655 [BZ #13763]
14656 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
14657
6665d4a2
SM
146582012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
14659
1f51ee92
SM
14660 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
14661 * elf/cache.c (print_entry): Print ",AArch64" for
14662 FLAG_AARCH64_LIB64
14663
6665d4a2
SM
14664 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
14665 * elf/cache.c (print_entry): Print ",hard-float" for
14666 FLAG_ARM_LIBHF.
14667
05b227bd
DM
146682012-11-18 David S. Miller <davem@davemloft.net>
14669
14670 With help from Joseph Myers.
14671 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
14672 cutoff to 2**-13.
14673 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
14674 cutoff to 2**-25.
14675 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
14676 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
14677 small.
14678 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
14679 * math/libm-test.inc (y0_test): New tests.
14680 (y1_test): New tests.
14681 * sysdeps/i386/fpu/libm-test-ulps: Update.
14682 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14683 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14684
786b0b67
AS
146852012-11-18 Andreas Schwab <schwab@linux-m68k.org>
14686
14687 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
14688 64-bit targets.
14689 * configure: Regenerated.
14690
8e18b86d
DM
146912012-11-17 David S. Miller <davem@davemloft.net>
14692
14693 [BZ #14811]
14694 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
14695 nonzero exponents with absolute value below 0x1p-128 to +/-
14696 0x1p-128.
14697
531f1ae0
JM
146982012-11-17 Joseph Myers <joseph@codesourcery.com>
14699
12df29e2
JM
14700 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
14701
150dc1a0
JM
14702 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
14703
531f1ae0
JM
14704 * posix/getconf-speclist.c: New file.
14705 * posix/posix-envs.def: Likewise.
14706 * posix/confstr.c (START_ENV_GROUP): New macro.
14707 (END_ENV_GROUP): Likewise.
14708 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14709 (KNOWN_PRESENT_ENV_STRING): Likewise.
14710 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14711 (UNKNOWN_ENVIRONMENT): Likewise.
14712 (confstr): Include posix-envs.def instead of handling
14713 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
14714 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
14715 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
14716 (END_ENV_GROUP): Likewise.
14717 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14718 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14719 (UNKNOWN_ENVIRONMENT): Likewise.
14720 (__sysconf): Include posix-envs.def instead of handling associated
14721 cases directly here.
14722 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
14723 preprocessing getconf-speclist.c rather than running getconf or
14724 generating empty file.
14725
a93f9cbc
PT
147262012-11-16 Pino Toscano <toscano.pino@tiscali.it>
14727
14728 * scripts/check-local-headers.sh: Ignore 'mach' headers.
14729
d64d9f87
AL
147302012-11-16 Andrej Lajovic <natrij@gmail.com>
14731
14732 [BZ #14672]
14733 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
14734
447885eb
DM
147352012-11-16 David S. Miller <davem@davemloft.net>
14736
14737 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
14738 smaller than LDBL_EPSILON/2.0L, just return xm1.
14739
bcbf9830
L
147402012-11-16 H.J. Lu <hongjiu.lu@intel.com>
14741
14742 * elf/tst-array1.c (init): Set constructor priority to 1000.
14743 (fini): Set destructor priority to 1000.
14744 * elf/tst-array2dep.c: Likewise.
14745
2b766585
SP
147462012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14747
14748 [BZ #11741]
14749 * libio/fileops.c (_IO_new_file_write): Correctly return error.
14750 (_IO_new_file_xsputn): Also return EOF if none of the input
14751 data was written when overflow failed.
14752 * libio/iopadn.c (_IO_padn): Likewise.
14753 * libio/iowpadn.c (_IO_wpadn): Likewise.
14754 * stdio-common/tst-put-error.c: Add copyright notice.
14755 (do_test): Add case for printing padded string.
14756 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
14757 _IO_padn returned error.
14758 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
14759 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
14760 return EOF.
14761
b1848fde
SP
147622012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14763
14764 * libio/libioP.h: Add comment note that the references to C++
14765 bits are now obsolete.
14766
2fd89785
MS
147672012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14768
14769 * math/libm-test.inc (check_complex): Use asprintf.
14770
e3ea5409
JM
147712012-11-14 Joseph Myers <joseph@codesourcery.com>
14772
14773 * debug/pcprofiledump.c (print_version): Update copyright year.
14774 * malloc/memusagestat.c (print_version): Likewise.
14775
2e64d265
L
147762012-11-14 H.J. Lu <hongjiu.lu@intel.com>
14777
14778 [BZ #14831]
14779 * elf/Makefile (tests): Add tst-audit8.
14780 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
14781 ($(objpfx)tst-audit8.out): New target.
14782 (tst-audit8-ENV): New variable.
14783 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
14784 audit if l_reloc_result is NULL.
14785 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
14786 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
14787 * elf/tst-audit8.c: New file.
14788
c485e4d2
MS
147892012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14790
14791 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
14792 * misc/Makefile (CFLAGS-select.c): Define.
14793 * posix/Makefile (CFLAGS-pause.c): Define.
14794
3a0d900a
DM
147952012-11-13 David S. Miller <davem@davemloft.net>
14796
14797 * crypt/Makefile: Move test targets after toplevel Rules
14798 inclusion. Grab any necessary sysdep routines when linking.
14799 * crypt/md5.c (md5_process_block): Remove define, we will always
14800 name it __md5_process_block.
14801 (md5_finish_ctx): Update md5_process_block call.
14802 (md5_stream): Likewise.
14803 (md5_process_bytes): Likewise.
14804 (md5_process_block): Rename to __md5_process_block and move to ...
14805 * crypt/md5-block.c: ... here.
14806 * crypt/sha256.c (sha256_process_block): Move to ...
14807 * crypt/sha256-block.c: ... here.
14808 * crypt/sha512.c (sha512_process_block): Move to ...
14809 * crypt/sha512-block.c: ... here.
14810 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
14811 path.
14812 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
14813 * sysdeps/sparc/sparc64/multiarch/Makefile
14814 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
14815 crypt subdir.
14816 (localedef-aux): Add md5 crypto assembler when in locale subdir.
14817 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
14818 multiarch changes.
14819 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
14820 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
14821 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
14822 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
14823 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
14824 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
14825 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
14826 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
14827 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
14828 file.
14829 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
14830 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
14831 file.
14832 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
14833
8ca89318
JM
148342012-11-13 Joseph Myers <joseph@codesourcery.com>
14835
e27d476a
JM
14836 * timezone/tzselect.ksh: Update from tzcode git revision
14837 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
14838 * timezone/zdump.c: Likewise.
14839 * timezone/zic.c: Likewise.
14840 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
14841 in TZVERSION setting, not $(PKGVERSION).
14842 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
14843 REPORT_BUGS_TO settings.
14844
8ca89318
JM
14845 [BZ #14838]
14846 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
14847 macro.
14848
47594329
MS
148492012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14850
14851 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
14852 detection to immediately after _FP_ROUND().
14853 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
14854 bits are 0.
14855
640ac3f1
DM
148562012-11-11 David S. Miller <davem@davemloft.net>
14857
14858 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
14859 inttypes.h
14860 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
14861 __close rather than their public counterparts.
14862
3d2577bb
JM
148632012-11-10 Joseph Myers <joseph@codesourcery.com>
14864
14865 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
14866 file.
14867 [UNIX98] (sem_timedwait): Do not expect.
14868 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
14869 [XPG4 || UNIX98] (sockatmark): Do not expect.
14870 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
14871 (clock_getcpuclockid): Do not expect.
14872 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
14873 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
14874 Do not expect.
14875 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
14876 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
14877 [UNIX98] (vwscanf): Likewise.
14878 [UNIX98] (vswscanf): Likewise.
14879
fb1ae1ee
JM
148802012-11-09 Joseph Myers <joseph@codesourcery.com>
14881
9ec6f8bd
JM
14882 * timezone/version.h: Remove file.
14883 * timezone/README: Do not refer to version.h.
14884 * timezone/Makefile ($(objpfx)zic.o): New dependency on
14885 $(objpfx)version.h.
14886 ($(objpfx)zdump.o): Likewise.
c3f81911 14887 ($(objpfx)version.h): New target.
9ec6f8bd 14888
0aa8f8a1
JM
14889 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
14890 2012i.
14891 * timezone/README: Don't mention modification to tzselect.ksh.
14892 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
14893 work on unmodified tzselect.ksh. Substitute version numbers in
14894 tzselect.ksh.
14895
4e87147f
JM
14896 * Makefile (format-me): Remove.
14897 (INSTALL): Adjust indentation. Use commands directly instead of
14898 using $(format-me).
14899
8b748aed
JM
14900 * aclocal.m4 (ACX_PKGVERSION): New macro.
14901 (ACX_BUGURL): Likewise.
14902 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
14903 (PKGVERSION): New AC_DEFINE_UNQUOTED.
14904 (REPORT_BUGS_TO): Likewise.
14905 * configure: Regenerated.
14906 * config.h.in (PKGVERSION): New macro.
14907 (REPORT_BUGS_TO): Likewise.
14908 * config.make.in (PKGVERSION): New variable.
14909 (PKGVERSION_TEXI): Likewise.
14910 (REPORT_BUGS_TO): Likewise.
14911 (REPORT_BUGS_TEXI): Likewise.
14912 * Makefile (format-me): Use -I$(common-objpfx)manual.
14913 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
14914 ($(common-objpfx)manual/%): New target.
14915 (manual/%): Remove target.
14916 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
14917 (print_version): Use PKGVERSION.
14918 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
14919 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
14920 and REPORT_BUGS_TO.
14921 ($(objpfx)xtrace): Likewise.
14922 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
14923 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
14924 (print_version): Use PKGVERSION.
14925 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
14926 (do_version): Use PKGVERSION.
14927 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
14928 REPORT_BUGS_TO.
14929 (common-ldd-rewrite): Likewise.
14930 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
14931 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
14932 (print_version): Use PKGVERSION.
14933 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
14934 * elf/pldd.c (argp_program_bug_address): Remove variable.
14935 (more_help): New function.
14936 (argp): Use more_help.
14937 (print_version): Use PKGVERSION.
14938 * elf/sln.c (main): Use PKGVERSION.
14939 (usage): Use REPORT_BUGS_TO.
14940 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
14941 (top level): Use PKGVERSION.
14942 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
14943 (print_version): Use PKGVERSION.
14944 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
14945 (print_version): Use PKGVERSION.
14946 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
14947 (print_version): Use PKGVERSION.
14948 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
14949 (print_version): Use PKGVERSION.
14950 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
14951 (print_version): Use PKGVERSION.
14952 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
14953 (print_version): Use PKGVERSION.
14954 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
14955 and BUGURL.
14956 ($(objpfx)memusage): Likewise.
14957 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
14958 (do_version): Use PKGVERSION.
14959 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
14960 (print_version): Use PKGVERSION.
14961 * malloc/mtrace.pl ($PACKAGE): Remove variable.
14962 ($PKGVERSION): New variable.
14963 ($REPORT_BUGS_TO): Likewise.
14964 (usage): Use $REPORT_BUGS_TO.
14965 (top level): Use $PKGVERSION.
14966 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
14967 ($(objpfx)pkgvers.texi): New rule.
14968 ($(objpfx)stamp-pkgvers): Likewise.
14969 * manual/install.texi: Include pkgvers.texi.
14970 (--with-pkgversion): Document new configure option.
14971 (--with-bugurl): Likewise.
14972 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
14973 than necessarily for this particular distribution. Use
14974 REPORT_BUGS_TO for where to report bugs.
14975 * INSTALL: Regenerated.
14976 * manual/libc.texinfo: Include pkgvers.texi.
14977 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
14978 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
14979 (print_version): Use PKGVERSION.
14980 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
14981 (print_version): Use PKGVERSION.
14982 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
14983 (print_version): Use PKGVERSION.
14984 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
14985 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
14986 macro.
14987 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
14988 (print_version): Use PKGVERSION.
14989 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
14990 (print_version): Use PKGVERSION.
14991 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
14992 and PKGVERSION.
14993
92e4b6a9
JM
14994 * timezone/checktab.awk: Update from tzcode 2012i.
14995 * timezone/ialloc.c: Likewise.
14996 * timezone/private.h: Likewise.
14997 * timezone/scheck.c: Likewise.
14998 * timezone/tzfile.h: Likewise.
14999 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
15000 (TZVERSION): Hardcode tzcode version number.
15001 * timezone/zdump.c: Update from tzcode 2012i.
15002 * timezone/zic.c: Likewise.
15003 * timezone/version.h: New file.
15004 * timezone/README: Describe version.h. Update upstream location.
15005
9bde902c
JM
15006 [BZ #14824]
15007 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
15008 (mktemp): Enable declaration.
15009 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
15010 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
15011 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
15012 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
15013 Likewise.
15014 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
15015 Likewise.
15016 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
15017 Likewise.
15018 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
15019 Likewise.
15020 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
15021 Likewise.
15022 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
15023 Likewise.
15024
fb1ae1ee
JM
15025 [BZ #14821]
15026 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
15027 offset in buffer as u_int32_t not u_long. Consistently use memcpy
15028 for copies of such integer values.
15029 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15030 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15031
2c1adbcb
AJ
150322012-11-09 Andreas Jaeger <aj@suse.de>
15033
15034 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
15035 definitions and declarations that are provided by
15036 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15037
d0f8457e
AK
150382012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15039
3a235abb 15040 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
15041 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
15042 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
15043 definition.
15044
57241e26
MS
150452012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15046
15047 * elf/elf.h: Update comment before AArch64 relocations.
15048
60e8270d
DM
150492012-11-07 David S. Miller <davem@davemloft.net>
15050
15051 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
15052 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15053 (__start_context): Declare.
15054 (__makecontext_ret): Delete.
15055 (__makecontext): Hook up __start_context instead of
15056 __makecontext_ret.
15057 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
15058 (sysdep_routines): Add __start_context when in stdlib.
15059
0fbb0fbc
JM
150602012-11-07 Joseph Myers <joseph@codesourcery.com>
15061
15062 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
15063 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
15064 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
15065 hardcoded "nm".
15066 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
15067 (READELF): New variable. Use it instead of hardcoded "readelf".
15068
eb48db7e
L
150692012-11-07 H.J. Lu <hongjiu.lu@intel.com>
15070
15071 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
15072 * sysdeps/x86/Makefile: Here.
15073 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
15074 * sysdeps/x86/tst-xmmymm.sh: This.
15075
05bcf62a
JM
150762012-11-07 Joseph Myers <joseph@codesourcery.com>
15077
c4b6cf53
JM
15078 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
15079 expectations.
15080 [UNIX98] (pthread_barrier_t): Do not expect.
15081 [UNIX98] (pthread_barrierattr_t): Likewise.
15082 [UNIX98] (pthread_spinlock_t): Likewise.
15083 [UNIX98] (pthread_barrier_destroy): Likewise.
15084 [UNIX98] (pthread_barrier_init): Likewise.
15085 [UNIX98] (pthread_barrier_wait): Likewise.
15086 [UNIX98] (pthread_barrierattr_destroy): Likewise.
15087 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
15088 [UNIX98] (pthread_barrierattr_init): Likewise.
15089 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
15090 [UNIX98] (pthread_getcpuclockid): Likewise.
15091 [UNIX98] (pthread_mutex_timedlock): Likewise.
15092 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
15093 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
15094 [UNIX98] (pthread_sigmask): Likewise.
15095 [UNIX98] (pthread_spin_destroy): Likewise.
15096 [UNIX98] (pthread_spin_init): Likewise.
15097 [UNIX98] (pthread_spin_lock): Likewise.
15098 [UNIX98] (pthread_spin_trylock): Likewise.
15099 [UNIX98] (pthread_spin_unlock): Likewise.
15100 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
15101 Do not expect.
15102 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
15103 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
15104 [XPG3 || XPG4] (pthread_cond_t): Likewise.
15105 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
15106 [XPG3 || XPG4] (pthread_key_t): Likewise.
15107 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
15108 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
15109 [XPG3 || XPG4] (pthread_once_t): Likewise.
15110 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
15111 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
15112 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
15113 [XPG3 || XPG4] (pthread_t): Likewise.
15114
cbe6e120
JM
15115 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
15116 not expect.
15117 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
15118
1b126443
JM
15119 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
15120 Change function return type to int.
15121
b961a573
JM
15122 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
15123 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
15124 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
15125 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
15126 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
15127 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
15128 [!POSIX] (posix_madvise): Likewise.
15129 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
15130 && !UNIX98].
15131 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
15132 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
15133 (mode_t): Likewise.
15134 (posix_mem_offset): Likewise.
15135 (posix_typed_mem_get_info): Likewise.
15136 (posix_typed_mem_open): Likewise.
15137
9e188909
JM
15138 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
15139 Change condition to [XOPEN2K8].
15140
05bcf62a
JM
15141 * conform/conformtest.pl: Preprocess allow-header data with -x c
15142 instead of from stdin.
15143 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
15144 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
15145 [C99-based standards] (cerfc): Likewise.
15146 [C99-based standards] (cexp2): Likewise.
15147 [C99-based standards] (cexpm1): Likewise.
15148 [C99-based standards] (clog10): Likewise.
15149 [C99-based standards] (clog1p): Likewise.
15150 [C99-based standards] (clog2): Likewise.
15151 [C99-based standards] (clgamma): Likewise.
15152 [C99-based standards] (ctgamma): Likewise.
15153 [C99-based standards] (cerff): Likewise.
15154 [C99-based standards] (cerfcf): Likewise.
15155 [C99-based standards] (cexp2f): Likewise.
15156 [C99-based standards] (cexpm1f): Likewise.
15157 [C99-based standards] (clog10f): Likewise.
15158 [C99-based standards] (clog1pf): Likewise.
15159 [C99-based standards] (clog2f): Likewise.
15160 [C99-based standards] (clgammaf): Likewise.
15161 [C99-based standards] (ctgammaf): Likewise.
15162 [C99-based standards] (cerfl): Likewise.
15163 [C99-based standards] (cerfcl): Likewise.
15164 [C99-based standards] (cexp2l): Likewise.
15165 [C99-based standards] (cexpm1l): Likewise.
15166 [C99-based standards] (clog10l): Likewise.
15167 [C99-based standards] (clog1pl): Likewise.
15168 [C99-based standards] (clog2l): Likewise.
15169 [C99-based standards] (clgammal): Likewise.
15170 [C99-based standards] (ctgammal): Likewise.
15171 * conform/data/inttypes.h-data [C99-based standards]: Include
15172 stdint.h-data. Remove all expectations for stdint.h contents.
15173 [C99-based standards] (PRI*): Do not allow.
15174 [C99-based standards] (SCN*): Likewise.
15175 [C99-based standards] (*_t): Likewise.
15176 [C99-based-standards] (PRId8): Expect macro.
15177 [C99-based-standards] (PRIi8): Likewise.
15178 [C99-based-standards] (PRIo8): Likewise.
15179 [C99-based-standards] (PRIu8): Likewise.
15180 [C99-based-standards] (PRIx8): Likewise.
15181 [C99-based-standards] (PRIX8): Likewise.
15182 [C99-based-standards] (SCNd8): Likewise.
15183 [C99-based-standards] (SCNi8): Likewise.
15184 [C99-based-standards] (SCNo8): Likewise.
15185 [C99-based-standards] (SCNu8): Likewise.
15186 [C99-based-standards] (SCNx8): Likewise.
15187 [C99-based-standards] (PRIdLEAST8): Likewise.
15188 [C99-based-standards] (PRIiLEAST8): Likewise.
15189 [C99-based-standards] (PRIoLEAST8): Likewise.
15190 [C99-based-standards] (PRIuLEAST8): Likewise.
15191 [C99-based-standards] (PRIxLEAST8): Likewise.
15192 [C99-based-standards] (PRIXLEAST8): Likewise.
15193 [C99-based-standards] (SCNdLEAST8): Likewise.
15194 [C99-based-standards] (SCNiLEAST8): Likewise.
15195 [C99-based-standards] (SCNoLEAST8): Likewise.
15196 [C99-based-standards] (SCNuLEAST8): Likewise.
15197 [C99-based-standards] (SCNxLEAST8): Likewise.
15198 [C99-based-standards] (PRIdFAST8): Likewise.
15199 [C99-based-standards] (PRIiFAST8): Likewise.
15200 [C99-based-standards] (PRIoFAST8): Likewise.
15201 [C99-based-standards] (PRIuFAST8): Likewise.
15202 [C99-based-standards] (PRIxFAST8): Likewise.
15203 [C99-based-standards] (PRIXFAST8): Likewise.
15204 [C99-based-standards] (SCNdFAST8): Likewise.
15205 [C99-based-standards] (SCNiFAST8): Likewise.
15206 [C99-based-standards] (SCNoFAST8): Likewise.
15207 [C99-based-standards] (SCNuFAST8): Likewise.
15208 [C99-based-standards] (SCNxFAST8): Likewise.
15209 [C99-based-standards] (PRId16): Likewise.
15210 [C99-based-standards] (PRIi16): Likewise.
15211 [C99-based-standards] (PRIo16): Likewise.
15212 [C99-based-standards] (PRIu16): Likewise.
15213 [C99-based-standards] (PRIx16): Likewise.
15214 [C99-based-standards] (PRIX16): Likewise.
15215 [C99-based-standards] (SCNd16): Likewise.
15216 [C99-based-standards] (SCNi16): Likewise.
15217 [C99-based-standards] (SCNo16): Likewise.
15218 [C99-based-standards] (SCNu16): Likewise.
15219 [C99-based-standards] (SCNx16): Likewise.
15220 [C99-based-standards] (PRIdLEAST16): Likewise.
15221 [C99-based-standards] (PRIiLEAST16): Likewise.
15222 [C99-based-standards] (PRIoLEAST16): Likewise.
15223 [C99-based-standards] (PRIuLEAST16): Likewise.
15224 [C99-based-standards] (PRIxLEAST16): Likewise.
15225 [C99-based-standards] (PRIXLEAST16): Likewise.
15226 [C99-based-standards] (SCNdLEAST16): Likewise.
15227 [C99-based-standards] (SCNiLEAST16): Likewise.
15228 [C99-based-standards] (SCNoLEAST16): Likewise.
15229 [C99-based-standards] (SCNuLEAST16): Likewise.
15230 [C99-based-standards] (SCNxLEAST16): Likewise.
15231 [C99-based-standards] (PRIdFAST16): Likewise.
15232 [C99-based-standards] (PRIiFAST16): Likewise.
15233 [C99-based-standards] (PRIoFAST16): Likewise.
15234 [C99-based-standards] (PRIuFAST16): Likewise.
15235 [C99-based-standards] (PRIxFAST16): Likewise.
15236 [C99-based-standards] (PRIXFAST16): Likewise.
15237 [C99-based-standards] (SCNdFAST16): Likewise.
15238 [C99-based-standards] (SCNiFAST16): Likewise.
15239 [C99-based-standards] (SCNoFAST16): Likewise.
15240 [C99-based-standards] (SCNuFAST16): Likewise.
15241 [C99-based-standards] (SCNxFAST16): Likewise.
15242 [C99-based-standards] (PRId32): Likewise.
15243 [C99-based-standards] (PRIi32): Likewise.
15244 [C99-based-standards] (PRIo32): Likewise.
15245 [C99-based-standards] (PRIu32): Likewise.
15246 [C99-based-standards] (PRIx32): Likewise.
15247 [C99-based-standards] (PRIX32): Likewise.
15248 [C99-based-standards] (SCNd32): Likewise.
15249 [C99-based-standards] (SCNi32): Likewise.
15250 [C99-based-standards] (SCNo32): Likewise.
15251 [C99-based-standards] (SCNu32): Likewise.
15252 [C99-based-standards] (SCNx32): Likewise.
15253 [C99-based-standards] (PRIdLEAST32): Likewise.
15254 [C99-based-standards] (PRIiLEAST32): Likewise.
15255 [C99-based-standards] (PRIoLEAST32): Likewise.
15256 [C99-based-standards] (PRIuLEAST32): Likewise.
15257 [C99-based-standards] (PRIxLEAST32): Likewise.
15258 [C99-based-standards] (PRIXLEAST32): Likewise.
15259 [C99-based-standards] (SCNdLEAST32): Likewise.
15260 [C99-based-standards] (SCNiLEAST32): Likewise.
15261 [C99-based-standards] (SCNoLEAST32): Likewise.
15262 [C99-based-standards] (SCNuLEAST32): Likewise.
15263 [C99-based-standards] (SCNxLEAST32): Likewise.
15264 [C99-based-standards] (PRIdFAST32): Likewise.
15265 [C99-based-standards] (PRIiFAST32): Likewise.
15266 [C99-based-standards] (PRIoFAST32): Likewise.
15267 [C99-based-standards] (PRIuFAST32): Likewise.
15268 [C99-based-standards] (PRIxFAST32): Likewise.
15269 [C99-based-standards] (PRIXFAST32): Likewise.
15270 [C99-based-standards] (SCNdFAST32): Likewise.
15271 [C99-based-standards] (SCNiFAST32): Likewise.
15272 [C99-based-standards] (SCNoFAST32): Likewise.
15273 [C99-based-standards] (SCNuFAST32): Likewise.
15274 [C99-based-standards] (SCNxFAST32): Likewise.
15275 [C99-based-standards] (PRId64): Likewise.
15276 [C99-based-standards] (PRIi64): Likewise.
15277 [C99-based-standards] (PRIo64): Likewise.
15278 [C99-based-standards] (PRIu64): Likewise.
15279 [C99-based-standards] (PRIx64): Likewise.
15280 [C99-based-standards] (PRIX64): Likewise.
15281 [C99-based-standards] (SCNd64): Likewise.
15282 [C99-based-standards] (SCNi64): Likewise.
15283 [C99-based-standards] (SCNo64): Likewise.
15284 [C99-based-standards] (SCNu64): Likewise.
15285 [C99-based-standards] (SCNx64): Likewise.
15286 [C99-based-standards] (PRIdLEAST64): Likewise.
15287 [C99-based-standards] (PRIiLEAST64): Likewise.
15288 [C99-based-standards] (PRIoLEAST64): Likewise.
15289 [C99-based-standards] (PRIuLEAST64): Likewise.
15290 [C99-based-standards] (PRIxLEAST64): Likewise.
15291 [C99-based-standards] (PRIXLEAST64): Likewise.
15292 [C99-based-standards] (SCNdLEAST64): Likewise.
15293 [C99-based-standards] (SCNiLEAST64): Likewise.
15294 [C99-based-standards] (SCNoLEAST64): Likewise.
15295 [C99-based-standards] (SCNuLEAST64): Likewise.
15296 [C99-based-standards] (SCNxLEAST64): Likewise.
15297 [C99-based-standards] (PRIdFAST64): Likewise.
15298 [C99-based-standards] (PRIiFAST64): Likewise.
15299 [C99-based-standards] (PRIoFAST64): Likewise.
15300 [C99-based-standards] (PRIuFAST64): Likewise.
15301 [C99-based-standards] (PRIxFAST64): Likewise.
15302 [C99-based-standards] (PRIXFAST64): Likewise.
15303 [C99-based-standards] (SCNdFAST64): Likewise.
15304 [C99-based-standards] (SCNiFAST64): Likewise.
15305 [C99-based-standards] (SCNoFAST64): Likewise.
15306 [C99-based-standards] (SCNuFAST64): Likewise.
15307 [C99-based-standards] (SCNxFAST64): Likewise.
15308 [C99-based-standards] (PRIdMAX): Likewise.
15309 [C99-based-standards] (PRIiMAX): Likewise.
15310 [C99-based-standards] (PRIoMAX): Likewise.
15311 [C99-based-standards] (PRIuMAX): Likewise.
15312 [C99-based-standards] (PRIxMAX): Likewise.
15313 [C99-based-standards] (PRIXMAX): Likewise.
15314 [C99-based-standards] (SCNdMAX): Likewise.
15315 [C99-based-standards] (SCNiMAX): Likewise.
15316 [C99-based-standards] (SCNoMAX): Likewise.
15317 [C99-based-standards] (SCNuMAX): Likewise.
15318 [C99-based-standards] (SCNxMAX): Likewise.
15319 [C99-based-standards] (PRIdPTR): Likewise.
15320 [C99-based-standards] (PRIiPTR): Likewise.
15321 [C99-based-standards] (PRIoPTR): Likewise.
15322 [C99-based-standards] (PRIuPTR): Likewise.
15323 [C99-based-standards] (PRIxPTR): Likewise.
15324 [C99-based-standards] (PRIXPTR): Likewise.
15325 [C99-based-standards] (SCNdPTR): Likewise.
15326 [C99-based-standards] (SCNiPTR): Likewise.
15327 [C99-based-standards] (SCNoPTR): Likewise.
15328 [C99-based-standards] (SCNuPTR): Likewise.
15329 [C99-based-standards] (SCNxPTR): Likewise.
15330 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
15331 allow.
15332 * conform/data/stdint.h-data: Update comments to clarify
15333 requirements.
15334 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
15335 type.
15336 [C99-based standards] (INT8_MAX): Likewise.
15337 [C99-based standards] (INT16_MIN): Likewise.
15338 [C99-based standards] (INT16_MAX): Likewise.
15339 [C99-based standards] (INT32_MIN): Likewise.
15340 [C99-based standards] (INT32_MAX): Likewise.
15341 [C99-based standards] (INT64_MIN): Likewise.
15342 [C99-based standards] (INT64_MAX): Likewise.
15343 [C99-based standards] (UINT8_MAX): Likewise.
15344 [C99-based standards] (UINT16_MAX): Likewise.
15345 [C99-based standards] (UINT32_MAX): Likewise.
15346 [C99-based standards] (UINT64_MAX): Likewise.
15347 [C99-based standards] (INT_LEAST8_MIN): Likewise.
15348 [C99-based standards] (INT_LEAST8_MAX): Likewise.
15349 [C99-based standards] (INT_LEAST16_MIN): Likewise.
15350 [C99-based standards] (INT_LEAST16_MAX): Likewise.
15351 [C99-based standards] (INT_LEAST32_MIN): Likewise.
15352 [C99-based standards] (INT_LEAST32_MAX): Likewise.
15353 [C99-based standards] (INT_LEAST64_MIN): Likewise.
15354 [C99-based standards] (INT_LEAST64_MAX): Likewise.
15355 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
15356 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
15357 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
15358 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
15359 [C99-based standards] (INT_FAST8_MIN): Likewise.
15360 [C99-based standards] (INT_FAST8_MAX): Likewise.
15361 [C99-based standards] (INT_FAST16_MIN): Likewise.
15362 [C99-based standards] (INT_FAST16_MAX): Likewise.
15363 [C99-based standards] (INT_FAST32_MIN): Likewise.
15364 [C99-based standards] (INT_FAST32_MAX): Likewise.
15365 [C99-based standards] (INT_FAST64_MIN): Likewise.
15366 [C99-based standards] (INT_FAST64_MAX): Likewise.
15367 [C99-based standards] (UINT_FAST8_MAX): Likewise.
15368 [C99-based standards] (UINT_FAST16_MAX): Likewise.
15369 [C99-based standards] (UINT_FAST32_MAX): Likewise.
15370 [C99-based standards] (UINT_FAST64_MAX): Likewise.
15371 [C99-based standards] (INTPTR_MIN): Likewise.
15372 [C99-based standards] (INTPTR_MAX): Likewise.
15373 [C99-based standards] (UINTPTR_MAX): Likewise.
15374 [C99-based standards] (INTMAX_MIN): Likewise.
15375 [C99-based standards] (INTMAX_MAX): Likewise.
15376 [C99-based standards] (UINTMAX_MAX): Likewise.
15377 [C99-based standards] (PTRDIFF_MIN): Likewise.
15378 [C99-based standards] (PTRDIFF_MAX): Likewise.
15379 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
15380 [C99-based standards] (SIZE_MAX): Likewise.
15381 [C99-based standards] (WCHAR_MAX): Likewise.
15382 [C99-based standards] (WINT_MAX): Likewise.
15383 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
15384 constraint on value.
15385 [C99-based standards] (WCHAR_MIN): Likewise.
15386 [C99-based standards] (WINT_MIN): Likewise.
15387 [C99-based standards] (*_t): Allow.
15388 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
15389 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
15390 Include math.h-data and complex.h-data. Remove all expectations
15391 of math.h and complex.h contents.
15392 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
15393 at end of line.
15394 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
15395 (struct tm): Expect tag.
15396 [C99-based-standards] (wcstof): Expect function.
15397 [C99-based-standards] (wcstold): Likewise.
15398 [C99-based-standards] (wcstoll): Likewise.
15399 [C99-based-standards] (wcstoull): Likewise.
15400 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
15401 macro-int-constant. Specify type.
15402 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
15403 constraint on value.
15404 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15405 Specify type.
15406 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
15407 Specify value.
15408 [ISO C standards]: Do not allow headers.
15409 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
15410 wcs[abcdefghijklmnopqrstuvwxyz]*.
15411 [ISO C standards] (*_t): Do not allow.
15412 * conform/data/wctype.h-data [C99-based standards] (iswblank):
15413 Expect function.
15414 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
15415 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15416 Specify type.
15417 [ISO C standards]: Do not allow headers.
15418 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
15419 is[abcdefghijklmnopqrstuvwxyz]*.
15420 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
15421 to[abcdefghijklmnopqrstuvwxyz]*.
15422 [ISO C standards] (*_t): Do not allow.
15423 * conform/data/stdalign.h-data: New file.
15424 * conform/data/stdbool.h-data: Likewise.
15425 * conform/data/stdnoreturn.h-data: Likewise.
15426
7514feb8
RM
154272012-11-07 Roland McGrath <roland@hack.frob.com>
15428
15429 [BZ #14815]
15430 * manual/filesys.texi (Directory Entries): Typo fix.
15431 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
15432
19b2ecfc
MS
154332012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15434
15435 * elf/elf.h (EM_AARCH64): New macro.
15436 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
15437 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
15438 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
15439 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
15440 (R_AARCH64_TLSDESC): Likewise.
15441 (NT_ARM_TLS): Likewise.
15442 (NT_ARM_HW_BREAK): Likewise.
15443 (NT_ARM_HW_WATCH): Likewise.
15444
60e235ee
JM
154452012-11-07 Joseph Myers <joseph@codesourcery.com>
15446
15447 [BZ #14811]
15448 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
15449 (__ieee754_powl): Saturate nonzero exponents with absolute value
15450 below 0x1p-79 to +/- 0x1p-79.
15451 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
15452 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
15453 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
15454 nonzero exponents with absolute value below 0x1p-32 to +/-
15455 0x1p-32.
15456 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
15457 (__ieee754_powl): Saturate nonzero exponents with absolute value
15458 below 0x1p-79 to +/- 0x1p-79.
15459 * math/libm-test.inc (pow_test): Add more tests.
15460
0ab234b7
AK
154612012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15462
15463 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
15464 _dl_s390_cap_flags with kernel. Increase string length.
15465 (_dl_s390_platforms): Add z196 and zEC12.
15466
45832f74
JM
154672012-11-07 Joseph Myers <joseph@codesourcery.com>
15468
15469 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
15470 Change XOPEN21K to XOPEN2K.
15471
19218757
MK
154722012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
15473
15474 * string/memmove.c: Use memcpy when possible.
15475
c5f45721
AJ
154762012-11-06 Andreas Jaeger <aj@suse.de>
15477
15478 * po/eo.po: Update from translation team.
15479
82477c28
JM
154802012-11-06 Joseph Myers <joseph@codesourcery.com>
15481
15482 [BZ #14793]
15483 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
15484 exponent and small x and y exponents, scale x or y up. Increase
15485 by 2 the exponent used in scaling up.
15486 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15487 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15488 * math/libm-test.inc (fma_test): Add more tests.
15489 (fma_test_towardzero): Likewise.
15490 (fma_test_downward): Likewise.
15491 (fma_test_upward): Likewise.
15492
99252c8c
JM
154932012-11-05 Joseph Myers <joseph@codesourcery.com>
15494
acfa885f
JM
15495 [BZ #14805]
15496 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
15497 fenv_t *.
15498
99252c8c
JM
15499 [BZ #14801]
15500 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
15501 namespace for names of struct fields.
15502 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
15503 fenv_t fields.
15504 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
15505 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
15506
d6d98dea
ST
155072012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15508
15509 [BZ #3665]
15510 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
15511
e10bb107
TS
155122012-11-04 Thomas Schwinge <thomas@codesourcery.com>
15513
15514 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
15515 PTR_DEMANGLE.
15516
15517 [BZ #5246]
15518 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
15519 PTR_DEMANGLE.
15520
a0c2940d
JM
155212012-11-04 Joseph Myers <joseph@codesourcery.com>
15522
15523 [BZ #14797]
15524 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
15525 definitely overflow as x * y not x * y + z.
15526 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15527 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15528 * math/libm-test.inc (fma_test): Add more tests.
15529 (fma_test_towardzero): Likewise.
15530 (fma_test_downward): Likewise.
15531 (fma_test_upward): Likewise.
15532
b830319d
TS
155332012-11-04 Thomas Schwinge <thomas@codesourcery.com>
15534
15535 [BZ #157]
15536
15537 * include/stub-tag.h: Remove file.
15538 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
15539 '#include' of it.
15540 * manual/maint.texi (Porting): Don't reference it.
15541 * Makerules ($(objpfx)stubs): Likewise.
15542 * dirent/closedir.c: Don't include <stub-tag.h>.
15543 * dirent/dirfd.c: Likewise.
15544 * dirent/fdopendir.c: Likewise.
15545 * dirent/getdents.c: Likewise.
15546 * dirent/getdents64.c: Likewise.
15547 * dirent/opendir.c: Likewise.
15548 * dirent/readdir.c: Likewise.
15549 * dirent/readdir64.c: Likewise.
15550 * dirent/readdir64_r.c: Likewise.
15551 * dirent/readdir_r.c: Likewise.
15552 * dirent/rewinddir.c: Likewise.
15553 * dirent/seekdir.c: Likewise.
15554 * dirent/telldir.c: Likewise.
15555 * gmon/profil.c: Likewise.
15556 * grp/setgroups.c: Likewise.
15557 * inet/if_index.c: Likewise.
15558 * io/access.c: Likewise.
15559 * io/chdir.c: Likewise.
15560 * io/chmod.c: Likewise.
15561 * io/chown.c: Likewise.
15562 * io/close.c: Likewise.
15563 * io/dup.c: Likewise.
15564 * io/dup2.c: Likewise.
15565 * io/dup3.c: Likewise.
15566 * io/euidaccess.c: Likewise.
15567 * io/faccessat.c: Likewise.
15568 * io/fchdir.c: Likewise.
15569 * io/fchmod.c: Likewise.
15570 * io/fchmodat.c: Likewise.
15571 * io/fchown.c: Likewise.
15572 * io/fchownat.c: Likewise.
15573 * io/fcntl.c: Likewise.
15574 * io/flock.c: Likewise.
15575 * io/fstatfs.c: Likewise.
15576 * io/fstatfs64.c: Likewise.
15577 * io/fstatvfs.c: Likewise.
15578 * io/fstatvfs64.c: Likewise.
15579 * io/futimens.c: Likewise.
15580 * io/fxstat.c: Likewise.
15581 * io/fxstat64.c: Likewise.
15582 * io/fxstatat.c: Likewise.
15583 * io/fxstatat64.c: Likewise.
15584 * io/getcwd.c: Likewise.
15585 * io/isatty.c: Likewise.
15586 * io/lchmod.c: Likewise.
15587 * io/lchown.c: Likewise.
15588 * io/link.c: Likewise.
15589 * io/linkat.c: Likewise.
15590 * io/lseek.c: Likewise.
15591 * io/lseek64.c: Likewise.
15592 * io/lxstat64.c: Likewise.
15593 * io/mkdir.c: Likewise.
15594 * io/mkdirat.c: Likewise.
15595 * io/mkfifo.c: Likewise.
15596 * io/mkfifoat.c: Likewise.
15597 * io/open.c: Likewise.
15598 * io/open64.c: Likewise.
15599 * io/openat.c: Likewise.
15600 * io/openat64.c: Likewise.
15601 * io/pipe.c: Likewise.
15602 * io/pipe2.c: Likewise.
15603 * io/poll.c: Likewise.
15604 * io/posix_fadvise.c: Likewise.
15605 * io/posix_fadvise64.c: Likewise.
15606 * io/posix_fallocate.c: Likewise.
15607 * io/posix_fallocate64.c: Likewise.
15608 * io/read.c: Likewise.
15609 * io/readlink.c: Likewise.
15610 * io/readlinkat.c: Likewise.
15611 * io/rmdir.c: Likewise.
15612 * io/sendfile.c: Likewise.
15613 * io/sendfile64.c: Likewise.
15614 * io/statfs.c: Likewise.
15615 * io/statfs64.c: Likewise.
15616 * io/statvfs.c: Likewise.
15617 * io/statvfs64.c: Likewise.
15618 * io/symlink.c: Likewise.
15619 * io/symlinkat.c: Likewise.
15620 * io/ttyname.c: Likewise.
15621 * io/ttyname_r.c: Likewise.
15622 * io/umask.c: Likewise.
15623 * io/unlink.c: Likewise.
15624 * io/unlinkat.c: Likewise.
15625 * io/utime.c: Likewise.
15626 * io/utimensat.c: Likewise.
15627 * io/write.c: Likewise.
15628 * io/xmknod.c: Likewise.
15629 * io/xmknodat.c: Likewise.
15630 * io/xstat.c: Likewise.
15631 * io/xstat64.c: Likewise.
15632 * login/getpt.c: Likewise.
15633 * login/grantpt.c: Likewise.
15634 * login/unlockpt.c: Likewise.
15635 * math/e_acoshl.c: Likewise.
15636 * math/e_acosl.c: Likewise.
15637 * math/e_asinl.c: Likewise.
15638 * math/e_atan2l.c: Likewise.
15639 * math/e_atanhl.c: Likewise.
15640 * math/e_coshl.c: Likewise.
15641 * math/e_expl.c: Likewise.
15642 * math/e_fmodl.c: Likewise.
15643 * math/e_gammal_r.c: Likewise.
15644 * math/e_hypotl.c: Likewise.
15645 * math/e_j0l.c: Likewise.
15646 * math/e_j1l.c: Likewise.
15647 * math/e_jnl.c: Likewise.
15648 * math/e_lgammal_r.c: Likewise.
15649 * math/e_log10l.c: Likewise.
15650 * math/e_log2l.c: Likewise.
15651 * math/e_logl.c: Likewise.
15652 * math/e_powl.c: Likewise.
15653 * math/e_rem_pio2l.c: Likewise.
15654 * math/e_sinhl.c: Likewise.
15655 * math/e_sqrtl.c: Likewise.
15656 * math/fclrexcpt.c: Likewise.
15657 * math/fedisblxcpt.c: Likewise.
15658 * math/feenablxcpt.c: Likewise.
15659 * math/fegetenv.c: Likewise.
15660 * math/fegetexcept.c: Likewise.
15661 * math/fegetround.c: Likewise.
15662 * math/feholdexcpt.c: Likewise.
15663 * math/fesetenv.c: Likewise.
15664 * math/fesetround.c: Likewise.
15665 * math/feupdateenv.c: Likewise.
15666 * math/fgetexcptflg.c: Likewise.
15667 * math/fraiseexcpt.c: Likewise.
15668 * math/fsetexcptflg.c: Likewise.
15669 * math/ftestexcept.c: Likewise.
15670 * math/k_cosl.c: Likewise.
15671 * math/k_rem_pio2l.c: Likewise.
15672 * math/k_sinl.c: Likewise.
15673 * math/k_tanl.c: Likewise.
15674 * math/s_asinhl.c: Likewise.
15675 * math/s_atanl.c: Likewise.
15676 * math/s_cbrtl.c: Likewise.
15677 * math/s_erfl.c: Likewise.
15678 * math/s_expm1l.c: Likewise.
15679 * math/s_log1pl.c: Likewise.
15680 * math/s_tanhl.c: Likewise.
15681 * misc/acct.c: Likewise.
15682 * misc/brk.c: Likewise.
15683 * misc/chflags.c: Likewise.
15684 * misc/chroot.c: Likewise.
15685 * misc/fchflags.c: Likewise.
15686 * misc/fgetxattr.c: Likewise.
15687 * misc/flistxattr.c: Likewise.
15688 * misc/fremovexattr.c: Likewise.
15689 * misc/fsetxattr.c: Likewise.
15690 * misc/fsync.c: Likewise.
15691 * misc/ftruncate.c: Likewise.
15692 * misc/futimes.c: Likewise.
15693 * misc/futimesat.c: Likewise.
15694 * misc/getdomain.c: Likewise.
15695 * misc/getdtsz.c: Likewise.
15696 * misc/gethostid.c: Likewise.
15697 * misc/gethostname.c: Likewise.
15698 * misc/getloadavg.c: Likewise.
15699 * misc/getpagesize.c: Likewise.
15700 * misc/getsysstats.c: Likewise.
15701 * misc/getxattr.c: Likewise.
15702 * misc/gtty.c: Likewise.
15703 * misc/ioctl.c: Likewise.
15704 * misc/lgetxattr.c: Likewise.
15705 * misc/listxattr.c: Likewise.
15706 * misc/llistxattr.c: Likewise.
15707 * misc/lremovexattr.c: Likewise.
15708 * misc/lsetxattr.c: Likewise.
15709 * misc/lutimes.c: Likewise.
15710 * misc/madvise.c: Likewise.
15711 * misc/mincore.c: Likewise.
15712 * misc/mlock.c: Likewise.
15713 * misc/mlockall.c: Likewise.
15714 * misc/mmap.c: Likewise.
15715 * misc/mprotect.c: Likewise.
15716 * misc/msync.c: Likewise.
15717 * misc/munlock.c: Likewise.
15718 * misc/munlockall.c: Likewise.
15719 * misc/munmap.c: Likewise.
15720 * misc/preadv.c: Likewise.
15721 * misc/preadv64.c: Likewise.
15722 * misc/ptrace.c: Likewise.
15723 * misc/pwritev.c: Likewise.
15724 * misc/pwritev64.c: Likewise.
15725 * misc/readv.c: Likewise.
15726 * misc/reboot.c: Likewise.
15727 * misc/remap_file_pages.c: Likewise.
15728 * misc/removexattr.c: Likewise.
15729 * misc/revoke.c: Likewise.
15730 * misc/select.c: Likewise.
15731 * misc/setdomain.c: Likewise.
15732 * misc/setegid.c: Likewise.
15733 * misc/seteuid.c: Likewise.
15734 * misc/sethostid.c: Likewise.
15735 * misc/sethostname.c: Likewise.
15736 * misc/setregid.c: Likewise.
15737 * misc/setreuid.c: Likewise.
15738 * misc/setxattr.c: Likewise.
15739 * misc/sstk.c: Likewise.
15740 * misc/stty.c: Likewise.
15741 * misc/swapoff.c: Likewise.
15742 * misc/swapon.c: Likewise.
15743 * misc/sync.c: Likewise.
15744 * misc/syncfs.c: Likewise.
15745 * misc/syscall.c: Likewise.
15746 * misc/truncate.c: Likewise.
15747 * misc/ualarm.c: Likewise.
15748 * misc/usleep.c: Likewise.
15749 * misc/ustat.c: Likewise.
15750 * misc/utimes.c: Likewise.
15751 * misc/vhangup.c: Likewise.
15752 * misc/writev.c: Likewise.
15753 * posix/_exit.c: Likewise.
15754 * posix/alarm.c: Likewise.
15755 * posix/execve.c: Likewise.
15756 * posix/fexecve.c: Likewise.
15757 * posix/fork.c: Likewise.
15758 * posix/fpathconf.c: Likewise.
15759 * posix/getaddrinfo.c: Likewise.
15760 * posix/getegid.c: Likewise.
15761 * posix/geteuid.c: Likewise.
15762 * posix/getgid.c: Likewise.
15763 * posix/getgroups.c: Likewise.
15764 * posix/getlogin.c: Likewise.
15765 * posix/getlogin_r.c: Likewise.
15766 * posix/getpgid.c: Likewise.
15767 * posix/getpid.c: Likewise.
15768 * posix/getppid.c: Likewise.
15769 * posix/getresgid.c: Likewise.
15770 * posix/getresuid.c: Likewise.
15771 * posix/getsid.c: Likewise.
15772 * posix/getuid.c: Likewise.
15773 * posix/glob64.c: Likewise.
15774 * posix/nanosleep.c: Likewise.
15775 * posix/pathconf.c: Likewise.
15776 * posix/pause.c: Likewise.
15777 * posix/posix_madvise.c: Likewise.
15778 * posix/pread.c: Likewise.
15779 * posix/pread64.c: Likewise.
15780 * posix/pwrite.c: Likewise.
15781 * posix/pwrite64.c: Likewise.
15782 * posix/sched_getaffinity.c: Likewise.
15783 * posix/sched_getp.c: Likewise.
15784 * posix/sched_gets.c: Likewise.
15785 * posix/sched_primax.c: Likewise.
15786 * posix/sched_primin.c: Likewise.
15787 * posix/sched_rr_gi.c: Likewise.
15788 * posix/sched_setaffinity.c: Likewise.
15789 * posix/sched_setp.c: Likewise.
15790 * posix/sched_sets.c: Likewise.
15791 * posix/sched_yield.c: Likewise.
15792 * posix/setgid.c: Likewise.
15793 * posix/setlogin.c: Likewise.
15794 * posix/setpgid.c: Likewise.
15795 * posix/setresgid.c: Likewise.
15796 * posix/setresuid.c: Likewise.
15797 * posix/setsid.c: Likewise.
15798 * posix/setuid.c: Likewise.
15799 * posix/sleep.c: Likewise.
15800 * posix/spawni.c: Likewise.
15801 * posix/sysconf.c: Likewise.
15802 * posix/times.c: Likewise.
15803 * posix/wait.c: Likewise.
15804 * posix/wait3.c: Likewise.
15805 * posix/wait4.c: Likewise.
15806 * posix/waitpid.c: Likewise.
15807 * resolv/gai_sigqueue.c: Likewise.
15808 * resource/getpriority.c: Likewise.
15809 * resource/getrlimit.c: Likewise.
15810 * resource/getrusage.c: Likewise.
15811 * resource/nice.c: Likewise.
15812 * resource/setpriority.c: Likewise.
15813 * resource/setrlimit.c: Likewise.
15814 * resource/ulimit.c: Likewise.
15815 * rt/aio_cancel.c: Likewise.
15816 * rt/aio_fsync.c: Likewise.
15817 * rt/aio_read.c: Likewise.
15818 * rt/aio_sigqueue.c: Likewise.
15819 * rt/aio_suspend.c: Likewise.
15820 * rt/aio_write.c: Likewise.
15821 * rt/clock_getres.c: Likewise.
15822 * rt/clock_gettime.c: Likewise.
15823 * rt/clock_nanosleep.c: Likewise.
15824 * rt/clock_settime.c: Likewise.
15825 * rt/lio_listio.c: Likewise.
15826 * rt/mq_close.c: Likewise.
15827 * rt/mq_getattr.c: Likewise.
15828 * rt/mq_notify.c: Likewise.
15829 * rt/mq_open.c: Likewise.
15830 * rt/mq_receive.c: Likewise.
15831 * rt/mq_send.c: Likewise.
15832 * rt/mq_setattr.c: Likewise.
15833 * rt/mq_timedreceive.c: Likewise.
15834 * rt/mq_timedsend.c: Likewise.
15835 * rt/mq_unlink.c: Likewise.
15836 * rt/shm_open.c: Likewise.
15837 * rt/shm_unlink.c: Likewise.
15838 * rt/timer_create.c: Likewise.
15839 * rt/timer_delete.c: Likewise.
15840 * rt/timer_getoverr.c: Likewise.
15841 * rt/timer_gettime.c: Likewise.
15842 * rt/timer_settime.c: Likewise.
15843 * setjmp/__longjmp.c: Likewise.
15844 * setjmp/setjmp.c: Likewise.
15845 * signal/kill.c: Likewise.
15846 * signal/killpg.c: Likewise.
15847 * signal/raise.c: Likewise.
15848 * signal/sigaction.c: Likewise.
15849 * signal/sigaltstack.c: Likewise.
15850 * signal/sigblock.c: Likewise.
15851 * signal/sigignore.c: Likewise.
15852 * signal/sigintr.c: Likewise.
15853 * signal/signal.c: Likewise.
15854 * signal/sigpause.c: Likewise.
15855 * signal/sigpending.c: Likewise.
15856 * signal/sigqueue.c: Likewise.
15857 * signal/sigreturn.c: Likewise.
15858 * signal/sigset.c: Likewise.
15859 * signal/sigsetmask.c: Likewise.
15860 * signal/sigstack.c: Likewise.
15861 * signal/sigsuspend.c: Likewise.
15862 * signal/sigtimedwait.c: Likewise.
15863 * signal/sigvec.c: Likewise.
15864 * signal/sigwait.c: Likewise.
15865 * signal/sigwaitinfo.c: Likewise.
15866 * signal/sysv_signal.c: Likewise.
15867 * socket/accept.c: Likewise.
15868 * socket/accept4.c: Likewise.
15869 * socket/bind.c: Likewise.
15870 * socket/connect.c: Likewise.
15871 * socket/getpeername.c: Likewise.
15872 * socket/getsockname.c: Likewise.
15873 * socket/getsockopt.c: Likewise.
15874 * socket/isfdtype.c: Likewise.
15875 * socket/listen.c: Likewise.
15876 * socket/recv.c: Likewise.
15877 * socket/recvfrom.c: Likewise.
15878 * socket/recvmsg.c: Likewise.
15879 * socket/send.c: Likewise.
15880 * socket/sendmsg.c: Likewise.
15881 * socket/sendto.c: Likewise.
15882 * socket/setsockopt.c: Likewise.
15883 * socket/shutdown.c: Likewise.
15884 * socket/sockatmark.c: Likewise.
15885 * socket/socket.c: Likewise.
15886 * socket/socketpair.c: Likewise.
15887 * stdio-common/ctermid.c: Likewise.
15888 * stdio-common/cuserid.c: Likewise.
15889 * stdio-common/remove.c: Likewise.
15890 * stdio-common/rename.c: Likewise.
15891 * stdio-common/renameat.c: Likewise.
15892 * stdio-common/tempname.c: Likewise.
15893 * stdlib/getcontext.c: Likewise.
15894 * stdlib/makecontext.c: Likewise.
15895 * stdlib/setcontext.c: Likewise.
15896 * stdlib/swapcontext.c: Likewise.
15897 * stdlib/system.c: Likewise.
15898 * streams/fattach.c: Likewise.
15899 * streams/fdetach.c: Likewise.
15900 * streams/getmsg.c: Likewise.
15901 * streams/getpmsg.c: Likewise.
15902 * streams/putmsg.c: Likewise.
15903 * streams/putpmsg.c: Likewise.
15904 * sysdeps/unix/bsd/getpt.c: Likewise.
15905 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
15906 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
15907 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15909 Likewise.
15910 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
15911 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15912 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
15913 * sysvipc/msgctl.c: Likewise.
15914 * sysvipc/msgget.c: Likewise.
15915 * sysvipc/msgrcv.c: Likewise.
15916 * sysvipc/msgsnd.c: Likewise.
15917 * sysvipc/semctl.c: Likewise.
15918 * sysvipc/semget.c: Likewise.
15919 * sysvipc/semop.c: Likewise.
15920 * sysvipc/semtimedop.c: Likewise.
15921 * sysvipc/shmat.c: Likewise.
15922 * sysvipc/shmctl.c: Likewise.
15923 * sysvipc/shmdt.c: Likewise.
15924 * sysvipc/shmget.c: Likewise.
15925 * termios/tcdrain.c: Likewise.
15926 * termios/tcflow.c: Likewise.
15927 * termios/tcflush.c: Likewise.
15928 * termios/tcgetattr.c: Likewise.
15929 * termios/tcgetpgrp.c: Likewise.
15930 * termios/tcsendbrk.c: Likewise.
15931 * termios/tcsetattr.c: Likewise.
15932 * termios/tcsetpgrp.c: Likewise.
15933 * time/adjtime.c: Likewise.
15934 * time/clock.c: Likewise.
15935 * time/getitimer.c: Likewise.
15936 * time/gettimeofday.c: Likewise.
15937 * time/setitimer.c: Likewise.
15938 * time/settimeofday.c: Likewise.
15939 * time/stime.c: Likewise.
15940 * time/time.c: Likewise.
15941
159422012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 15943
a20492cf
PT
15944 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
15945 /usr/old/bin.
15946
72e182e3
PT
15947 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
15948 instead of spaces.
15949 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
15950
fbeafede
JM
159512012-11-03 Joseph Myers <joseph@codesourcery.com>
15952
5b5b04d6
JM
15953 [BZ #14796]
15954 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
15955 FE_TONEAREST before applying Dekker multiplication and Knuth
15956 addition. Clear inexact exceptions and check for exact zero
15957 results afterwards.
15958 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15959 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15960 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15961 * math/libm-test.inc (fma_test): Add more tests.
15962 (fma_test_towardzero): Likewise.
15963 (fma_test_downward): Likewise.
15964 (fma_test_upward): Likewise.
15965 * sysdeps/generic/math_private.h (default_libc_fesetround): New
15966 function.
15967 (libc_fesetround): New macro.
15968 (libc_fesetroundf): Likewise.
15969 (libc_fesetroundl): Likewise.
15970 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
15971 function.
15972 (libc_fesetround_387): Likewise.
15973 (libc_fesetroundf): New macro.
15974 (libc_fesetround): Likewise.
15975 (libc_fesetroundl): Likewise.
15976 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
15977 function.
15978 (libc_fesetroundf): New macro.
15979 (libc_fesetround): Likewise.
15980 (libc_fesetroundl): Likewise.
15981 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
15982 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
15983 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
15984 libm_hidden_ver.
15985 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
15986 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
15987 libm_hidden_def.
15988 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
15989 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
15990 libm_hidden_ver.
15991 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
15992 libm_hidden_def.
15993
fbeafede
JM
15994 [BZ #3439]
15995 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
15996 integer constant usable in #if and use that to give value to enum
15997 constant.
15998 (FE_DIVBYZERO): Likewise.
15999 (FE_UNDERFLOW): Likewise.
16000 (FE_OVERFLOW): Likewise.
16001 (FE_INVALID): Likewise.
16002 (FE_INVALID_SNAN): Likewise.
16003 (FE_INVALID_ISI): Likewise.
16004 (FE_INVALID_IDI): Likewise.
16005 (FE_INVALID_ZDZ): Likewise.
16006 (FE_INVALID_IMZ): Likewise.
16007 (FE_INVALID_COMPARE): Likewise.
16008 (FE_INVALID_SOFTWARE): Likewise.
16009 (FE_INVALID_SQRT): Likewise.
16010 (FE_INVALID_INTEGER_CONVERSION): Likewise.
16011 (FE_TONEAREST): Likewise.
16012 (FE_TOWARDZERO): Likewise.
16013 (FE_UPWARD): Likewise.
16014 (FE_DOWNWARD): Likewise.
16015 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
16016 (FE_DIVBYZERO): Likewise.
16017 (FE_OVERFLOW): Likewise.
16018 (FE_UNDERFLOW): Likewise.
16019 (FE_INEXACT): Likewise.
16020 (FE_TONEAREST): Likewise.
16021 (FE_DOWNWARD): Likewise.
16022 (FE_UPWARD): Likewise.
16023 (FE_TOWARDZERO): Likewise.
16024 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
16025 (FE_UNDERFLOW): Likewise.
16026 (FE_OVERFLOW): Likewise.
16027 (FE_DIVBYZERO): Likewise.
16028 (FE_INVALID): Likewise.
16029 (FE_TONEAREST): Likewise.
16030 (FE_TOWARDZERO): Likewise.
16031 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
16032 (FE_OVERFLOW): Likewise.
16033 (FE_UNDERFLOW): Likewise.
16034 (FE_DIVBYZERO): Likewise.
16035 (FE_INEXACT): Likewise.
16036 (FE_TONEAREST): Likewise.
16037 (FE_TOWARDZERO): Likewise.
16038 (FE_UPWARD): Likewise.
16039 (FE_DOWNWARD): Likewise.
16040 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
16041 (FE_DIVBYZERO): Likewise.
16042 (FE_OVERFLOW): Likewise.
16043 (FE_UNDERFLOW): Likewise.
16044 (FE_INEXACT): Likewise.
16045 (FE_TONEAREST): Likewise.
16046 (FE_DOWNWARD): Likewise.
16047 (FE_UPWARD): Likewise.
16048 (FE_TOWARDZERO): Likewise.
16049
105ca950
CM
160502012-11-02 Chris Metcalf <cmetcalf@tilera.com>
16051
16052 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
16053
a542b389
AS
160542012-11-03 Andreas Schwab <schwab@linux-m68k.org>
16055
16056 * scripts/cross-test-ssh.sh (command): Use newlines to separate
16057 commands. Quote $PWD.
16058 (blacklist_exports): Don't use remove_newlines. Replace "declare
16059 -x" by "export".
16060 (remove_newlines): Remove.
16061
f62c8abc
L
160622012-11-02 H.J. Lu <hongjiu.lu@intel.com>
16063
16064 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
16065 * stdlib/stdlib.h (atof): Moved to ...
16066 * include/bits/stdlib-float.h: Here. New file.
16067 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
16068 * stdlib/bits/stdlib-float.h: New file.
16069 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
16070 -mno-sse -mno-mmx.
16071 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
16072 <xmmintrin.h>.
16073
0155d5b2
JM
160742012-11-02 Joseph Myers <joseph@codesourcery.com>
16075
a68d0680
JM
16076 * conform/conformtest.pl (@headers): Add fenv.h.
16077 * conform/data/fenv.h-data: New file.
16078 * include/fenv.h [_ISOMAC]: Disable all contents of file except
16079 include of <math/fenv.h>.
16080
caf7f573
JM
16081 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
16082 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
16083 && !UNIX98]. Enables tests for XOPEN2K8.
16084 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
16085 POSIX2008]: Likewise.
16086
6c073ad6
JM
16087 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
16088 (struct rusage): Do not expect type or its members.
16089
0155d5b2
JM
16090 [BZ #3439]
16091 * math/math.h (FP_NAN): Define macro to integer constant usable in
16092 #if and use that to give value to enum constant.
16093 (FP_INFINITE): Likewise.
16094 (FP_ZERO): Likewise.
16095 (FP_SUBNORMAL): Likewise.
16096 (FP_NORMAL): Likewise.
16097
b5dcacb4
AS
160982012-11-02 Andreas Schwab <schwab@linux-m68k.org>
16099
16100 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
16101 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
16102 arguments.
16103
f7934be8
RM
161042012-11-02 Roland McGrath <roland@hack.frob.com>
16105
16106 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
16107 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
16108 autoconf-time if not.
16109 * configure.in: Remove AC_PREREQ.
16110
d7d08bde
TMQMF
161112012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16112
16113 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
16114 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
16115 of the internal implementation.
16116
dcdae19a
JM
161172012-11-02 Joseph Myers <joseph@codesourcery.com>
16118
16119 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
16120 except include of <misc/sys/syslog.h>.
16121
d6cffd3e
AS
161222012-11-01 Andreas Schwab <schwab@linux-m68k.org>
16123
16124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
16125 function returns with a NULL context exit with zero.
16126
b3563932
TMQMF
161272012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16128
16129 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
16130
b288a93d
L
161312012-11-01 H.J. Lu <hongjiu.lu@intel.com>
16132
16133 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
16134 (run_program_cmd): This.
16135 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
16136 (tst_langinfo): New variable. Use it.
16137
a2421a68
SAS
161382012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
16139
16140 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
16141 floating point opcodes.
16142
6f796e1b
TS
161432012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16144
7402596b
TS
16145 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
16146 variable.
16147
d0d4f868
TS
16148 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
16149
6f796e1b
TS
16150 * sysdeps/mach/hurd/powerpc: Remove directory.
16151 * sysdeps/mach/powerpc: Likewise.
16152
4da224a2
AS
161532012-11-01 Andreas Schwab <schwab@linux-m68k.org>
16154
16155 * scripts/check-local-headers.sh: Ignore c++ headers.
16156
341dd673
TS
161572012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16158
16159 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
16160 __libc_cleanup_region_start argument.
16161
473611b2
JM
161622012-11-01 Joseph Myers <joseph@codesourcery.com>
16163
16164 [BZ #14784]
16165 [BZ #14785]
16166 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
16167 x * y using scaling, not as x * y + z.
16168 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16169 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16170 * math/libm-test.inc (fma_test): Add more tests.
16171 (fma_test_towardzero): Likewise.
16172 (fma_test_downward): Likewise.
16173 (fma_test_upward): Likewise.
16174
4078da3d
TS
161752012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16176
16177 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
16178
903252aa
JM
161792012-10-31 Joseph Myers <joseph@codesourcery.com>
16180
16181 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
16182 New variable.
16183
cbc818d0
TS
161842012-10-31 Thomas Schwinge <thomas@codesourcery.com>
16185
16186 * rt/tst-shm.c (worker): Correct checking for mmap failure.
16187
5a03cb1e
AS
161882012-10-31 Andreas Schwab <schwab@linux-m68k.org>
16189
16190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16191 Fix sort order.
16192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16193 Likewise.
16194
90aff2ff
TMQMF
161952012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16196
16197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16198 Fix the order of the list for glibc 2.17.
16199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16200 Likewise.
16201
1818fcb7
AS
162022012-10-31 Andreas Schwab <schwab@linux-m68k.org>
16203
16204 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16205
ef82f4da
JM
162062012-10-31 Joseph Myers <joseph@codesourcery.com>
16207
16a0e2ec
JM
16208 [BZ #14610]
16209 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
16210 for low part of x being zero before using __atanl (y).
16211 * math/libm-test.inc (atan2_test): Add another test.
16212
0eb69512
JM
16213 * manual/install.texi (Configuring and compiling): Document
16214 general use of test-wrapper and test-wrapper-env.
16215 * INSTALL: Regenerated.
16216
ef82f4da
JM
16217 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
16218 (__fma): Do not extract and scale down low bits on after-rounding
16219 systems when result rounded to normal precision would have normal
16220 exponent.
16221 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
16222 (__fmal): Do not extract and scale down low bits on after-rounding
16223 systems when result rounded to normal precision would have normal
16224 exponent.
16225 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
16226 (__fmal): Do not extract and scale down low bits on after-rounding
16227 systems when result rounded to normal precision would have normal
16228 exponent.
16229 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
16230 macro.
16231 (fma_test): Add more tests.
16232 (fma_test_towardzero): Likewise.
16233 (fma_test_downward): Likewise.
16234 (fma_test_upward): Likewise.
16235
954ef0d9
L
162362012-10-30 H.J. Lu <hongjiu.lu@intel.com>
16237
16238 * sysdeps/i386/tininess.h: Renamed to ...
16239 * sysdeps/x86/tininess.h: This.
16240 * sysdeps/x86_64/tininess.h: Removed.
16241
df61ffb2
JM
162422012-10-30 Joseph Myers <joseph@codesourcery.com>
16243
16244 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
16245 input. Use $(build-program-cmd).
16246 ($(objpfx)tst-array1-static.out): Likewise.
16247 ($(objpfx)tst-array2.out): Likewise.
16248 ($(objpfx)tst-array3.out): Likewise.
16249 ($(objpfx)tst-array4.out): Likewise.
16250 ($(objpfx)tst-array5.out): Likewise.
16251 ($(objpfx)tst-array5-static.out): Likewise.
16252
01767843
CM
162532012-10-30 Chris Metcalf <cmetcalf@tilera.com>
16254
47cc1490
CM
16255 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
16256 if defined.
16257
01767843
CM
16258 * nss/nsswitch.h (nss_interface_function): Provide new
16259 macro for use with NSS functions.
16260 * grp/initgroups.c: Use new macro.
16261 * nss/getXXbyYY.c: Likewise.
16262 * nss/getXXbyYY_r.c: Likewise.
16263 * nss/getXXent.c: Likewise.
16264 * nss/getXXent_r.c: Likewise.
16265 * sysdeps/posix/getaddrinfo.c: Likewise.
16266
8321aa97
AJ
162672012-10-30 Andreas Jaeger <aj@suse.de>
16268
16269 * po/ru.po: Update Russion translation from translation project.
16270
2a27fd6d
JM
162712012-10-30 Joseph Myers <joseph@codesourcery.com>
16272
8627a232
JM
16273 [BZ #14152]
16274 [BZ #14783]
16275 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
16276 result and shift together with sticky bit instead of replicating
16277 round-to-nearest rounding.
16278 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16279 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16280 * math/libm-test.inc (fma_test): Add more tests. Do not permit
16281 missing underflow exceptions.
16282 (fma_test_towardzero): Add more tests.
16283 (fma_test_downward): Likewise.
16284 (fma_test_upward): Likewise.
16285
2a27fd6d
JM
16286 [BZ #14047]
16287 * sysdeps/generic/tininess.h: New file.
16288 * sysdeps/i386/tininess.h: Likewise.
16289 * sysdeps/sh/tininess.h: Likewise.
16290 * sysdeps/x86_64/tininess.h: Likewise.
16291 * stdlib/tst-strtod-underflow.c: Likewise.
16292 * stdlib/tst-tininess.c: Likewise.
16293 * stdlib/strtod_l.c: Include <tininess.h>.
16294 (round_and_return): Do not set errno for exact underflow cases.
16295 Force an underflow exception when setting errno for underflow.
16296 Determine underflow based on rounding to normal precision if
16297 TININESS_AFTER_ROUNDING.
16298 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
16299 ERANGE for exact underflow cases.
16300 * stdlib/Makefile (tests): Add tst-tininess and
16301 tst-strtod-underflow.
16302 ($(objpfx)tst-tininess): Use $(link-libm).
16303 ($(objpfx)tst-strtod-underflow): Likewise.
16304
e7170363
AJ
163052012-10-30 Andreas Jaeger <aj@suse.de>
16306
e5088dc6
AJ
16307 [BZ#14767]
16308 * elf/Makefile (tests): Remove conditional for have-initfini-array
16309 since this is now always required and the variable does not exist
16310 anymore.
16311 (tests-static): Likewise.
16312 (modules-names): Likewise.
16313
e7170363 16314 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
16315
16316 * elf/tst-array1.c (fini_array): Make writeable so that it can be
16317 merged with constructor/destructor.
16318 (init_array): Likewise.
16319 * elf/tst-array2dep.c (fini_array): Likewise.
16320 (init_array): Likewise.
16321
60457d8a
MF
163222012-10-29 Mike Frysinger <vapier@gentoo.org>
16323
16324 * manual/message.texi: Delete @cartouche tags.
16325
8bece752
PT
163262012-10-29 Pino Toscano <toscano.pino@tiscali.it>
16327
94ce799f
PT
16328 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
16329 EOPNOTSUPP.
16330 * sysdeps/mach/hurd/fsync.c: Likewise.
16331
8bece752
PT
16332 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
16333 [_POSIX_REALTIME_SIGNALS]: Change condition to
16334 [_POSIX_REALTIME_SIGNALS > 0].
16335
86ebe6b1
AJ
163362012-10-27 Andreas Jaeger <aj@suse.de>
16337
16338 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
16339 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
16340 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
16341 [__WORDSIZE != 64]: Likewise.
16342
54399c08
L
163432012-10-26 H.J. Lu <hongjiu.lu@intel.com>
16344
16345 * iconvdata/tst-table.sh: Remove ${SHELL}.
16346 * iconvdata/tst-tables.sh: Likewise.
16347
e2211bed
DM
163482012-10-25 David S. Miller <davem@davemloft.net>
16349
16350 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16351 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
16352 of strtoull.
16353
f303f97c
DM
16354 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
16355 ifunc-impl-list.c
16356 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16357 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
16358 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
16359 file.
16360
1e9d84cd
RM
163612012-10-25 Roland McGrath <roland@hack.frob.com>
16362
16363 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16364 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
16365 __getdirentries.
16366
df381762
JM
163672012-10-25 Joseph Myers <joseph@codesourcery.com>
16368 Jim Blandy <jimb@codesourcery.com>
16369
16370 * scripts/cross-test-ssh.sh: New file.
16371 * manual/install.texi (Configuring and compiling): Document use of
16372 cross-test-ssh.sh.
16373 * INSTALL: Regenerated.
16374
bff64913
PT
163752012-10-25 Pino Toscano <toscano.pino@tiscali.it>
16376
16377 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
16378 EOPNOTSUPP.
16379
25fe8932
JM
163802012-10-25 Joseph Myers <joseph@codesourcery.com>
16381
16382 * Makeconfig (run-program-prefix): Fix comment.
16383
cc1290d0
JM
163842012-10-24 Joseph Myers <joseph@codesourcery.com>
16385 Jim Blandy <jimb@codesourcery.com>
16386
16387 * Makeconfig (test-wrapper): New variable,
16388 (test-wrapper-env): Likewise.
16389 [$(cross-compiling) = yes && $(test-wrapper) != ""]
16390 (run-built-tests): Define to yes.
16391 (run-program-prefix): Use $(test-wrapper).
16392 (built-program-cmd): Likewise.
16393 * Rules (make-test-out): Use $(test-wrapper-env) and
16394 $(host-built-program-cmd).
16395 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
16396 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
16397 tst-pathopt.sh.
16398 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
16399 $(test-wrapper-env) to tst-rtld-load-self.sh.
16400 ($(objpfx)order2.out): Use $(test-wrapper).
16401 ($(objpfx)tst-initorder.out): Likewise.
16402 ($(objpfx)tst-initorder2.out): Likewise.
16403 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
16404 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
16405 (test_wrapper_env): New variable. Use it to run ld.so.
16406 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
16407 Use it to run ld.so.
16408 (test_wrapper_env): Likewise.
16409 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
16410 $(test-wrapper) to run-iconv-test.sh.
16411 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
16412 (ICONV): Use $test_wrapper.
16413 * posix/Makefile ($(objpfx)globtest.out): Pass
16414 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
16415 globtest.sh, not $(run-program-prefix).
16416 * posix/globtest.sh (run_via_rtld_prefix): New variable.
16417 (test_wrapper): Likewise.
16418 (test_wrapper_env): Likewise. Use it to run globtest with HOME
16419 set together with run_via_rtld_prefix.
16420 (run_program_prefix): Define in terms of test_wrapper and
16421 run_via_rtld_prefix.
16422
6e6249d0
RM
164232012-10-24 Roland McGrath <roland@hack.frob.com>
16424
16425 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
16426 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
16427 Targets removed.
16428
16429 [BZ #14743]
16430 * include/time.h: Remove librt_hidden_proto (clock_gettime).
16431 Declare __clock_getres, __clock_gettime, __clock_settime,
16432 __clock_nanosleep, and __clock_getcpuclockid.
16433 * rt/clock_gettime.c: Define __clock_gettime as an alias.
16434 Remove librt_hidden_def (clock_gettime).
16435 * sysdeps/unix/clock_gettime.c: Likewise.
16436 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
16437 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16438 * rt/clock_getres.c: Define __clock_getres as an alias.
16439 * sysdeps/posix/clock_getres.c: Likewise.
16440 * rt/clock_settime.c: Define __clock_settime as an alias.
16441 * sysdeps/unix/clock_settime.c: Likewise.
16442 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
16443 * sysdeps/unix/clock_nanosleep.c: Likewise.
16444 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16445 * rt/clock-compat.c: New file.
16446 * rt/Makefile (librt-routines): Add clock-compat and move
16447 $(clock-routines) to ...
16448 (routines): ... here, new variable.
16449 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
16450 Don't add get_clockfreq here.
16451 * rt/Versions (libc: GLIBC_2.17): New version set.
16452 Add clock_* symbols here.
16453 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
16454 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
16455 (GLIBC_2.17): Add clock_* symbols.
16456 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16457 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16458 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16460 Likewise.
16461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16462 Likewise.
16463 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16464 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16465 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16466 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16467 * NEWS: Mention the move.
16468
16469 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16470 Use __open, __read, __close rather than their public counterparts.
16471 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16472 (__get_clockfreq_via_cpuinfo): Likewise.
16473 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
16474 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
16475
16476 * config.h.in (HAVE_IFUNC): New #undef.
16477 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
16478 was successful.
16479 * configure: Regenerated.
16480
0cae3f4b
MF
164812012-10-24 Mike Frysinger <vapier@gentoo.org>
16482
16483 * configure.in: Move READELF check to start of file.
16484 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
16485 libc_cv_asm_gnu_indirect_function in the process.
16486 * configure: Regenerated.
16487
8175a253
MF
164882012-10-24 Mike Frysinger <vapier@gentoo.org>
16489
16490 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
16491 send the output to /dev/null.
16492 (libc_cv_cc_with_libunwind): Likewise.
16493 (libc_cv_as_noexecstack): Likewise.
16494 * configure: Regenerate.
16495
0708a7d1
JM
164962012-10-24 Joseph Myers <joseph@codesourcery.com>
16497
10b40d85
JM
16498 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
16499
0708a7d1
JM
16500 * posix/globtest.sh (TMPDIR): Do not set.
16501 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
16502 (testout): Likewise.
16503
9fddec1a
AJ
165042012-10-24 Andreas Jaeger <aj@suse.de>
16505
3a8db22f
AJ
16506 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
16507 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
16508 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
16509 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
16510 posix_fadvise64, posix_fallocate64.
16511
9fddec1a
AJ
16512 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
16513 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
16514 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
16515 Likewise.
16516 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
16517 Likewise.
16518 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
16519
16520 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
16521 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
16522 <bits/fcntl-linux.h>.
16523 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
16524
16525 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
16526 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
16527 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
16528 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
16529 [__WORDSIZE != 64]: Likewise.
16530
ebfd1bbd
JM
165312012-10-23 Joseph Myers <joseph@codesourcery.com>
16532
03ac099f
JM
16533 * Makeconfig (run-built-tests): New variable.
16534 * Rules [$(cross-compiling) = yes]: Change condition to
16535 [$(run-built-tests) = no].
16536 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
16537 to [$(run-built-tests) = yes].
16538 * elf/Makefile [$(cross-compiling) = no]: Likewise
16539 * grp/Makefile [$(cross-compiling) = no]: Likewise.
16540 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
16541 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
16542 * intl/Makefile [$(cross-compiling) = no]: Likewise.
16543 * io/Makefile [$(cross-compiling) = no]: Likewise.
16544 * libio/Makefile [$(cross-compiling) = no]: Likewise.
16545 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
16546 * misc/Makefile [$(cross-compiling) = no]: Likewise.
16547 * posix/Makefile [$(cross-compiling) = no]: Likewise.
16548 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
16549 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
16550 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
16551 * string/Makefile [$(cross-compiling) = no]: Likewise.
16552
ebfd1bbd
JM
16553 * posix/Makefile ($(objpfx)globtest.out): Pass
16554 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
16555 $(rtld-installed-name).
16556 * posix/globtest.sh (elf_objpfx): Remove variable.
16557 (rtld_installed_name): Likewise.
16558 (library_path): Likewise.
16559 (run_program_prefix): New variable. Use for running globtest
16560 binary.
16561
166bca24
JB
165622012-10-23 Jim Blandy <jimb@codesourcery.com>
16563 Joseph Myers <joseph@codesourcery.com>
16564
16565 * Makeconfig (host-built-program-cmd): New variable.
16566 * elf/Makefile (tst-stackguard1-ARGS): Use
16567 $(host-built-program-cmd).
16568 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
16569 (tst-spawn-ARGS): Likewise.
16570 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
16571
88866099
JM
165722012-10-23 Joseph Myers <joseph@codesourcery.com>
16573 Jim Blandy <jimb@codesourcery.com>
16574
16575 * Makeconfig (run-via-rtld-prefix): New variable.
16576 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
16577 (built-program-cmd): Likewise.
16578
b4b4c296
AJ
165792012-10-22 Andreas Jaeger <aj@suse.de>
16580
16581 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
16582 __O_RSYNC if it exists, otherwise to O_SYNC.
16583
6fb54a22
JB
165842012-10-22 Jim Blandy <jimb@codesourcery.com>
16585 Joseph Myers <joseph@codesourcery.com>
16586
16587 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
16588 /dev/null.
16589 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
16590 from /dev/null
16591 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
16592 /dev/null.
16593
481b90b9
AJ
165942012-10-22 Andreas Jaeger <aj@suse.de>
16595
2a0e2669
AJ
16596 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
16597 Define always.
16598 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
16599
76e38f9a
AJ
16600 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16601 bits/fcntl-linux.h.
16602
7cd37b43
AJ
16603 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
16604 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
16605
481b90b9
AJ
16606 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
16607 to __O_LARGEFILE.
16608 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
16609 to __O_LARGEFILE.
16610
aba75984
JB
166112012-10-21 Jim Blandy <jimb@codesourcery.com>
16612 Joseph Myers <joseph@codesourcery.com>
16613
16614 * config.make.in (NM): New variable.
16615
88d4247f
AJ
166162012-10-21 Andreas Jaeger <aj@suse.de>
16617
16618 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
16619 definitions and declarations that are provided by
16620 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16621
f2eed205
L
166222012-10-20 H.J. Lu <hongjiu.lu@intel.com>
16623
16624 [BZ #14683]
16625 * elf/Makefile (tests-static): Add tst-leaks1-static.
16626 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
16627 ($(objpfx)tst-leaks1-static): New rule.
16628 ($(objpfx)tst-leaks1-static-mem): Likewise.
16629 (tst-leaks1-static-ENV): New macro.
16630 * elf/dl-open.c (dl_open_worker): Check the main application
16631 only if SHARED is defined.
16632 * elf/tst-leaks1-static.c: New file.
16633
335e6931
AJ
166342012-10-20 Andreas Jaeger <aj@suse.de>
16635
16636 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
16637 generic values for Linux.
16638 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
16639 and declarations that are provided by <bits/fcntl-linux.h> and
16640 include <bits/fcntl-linux.h>.
16641 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16642 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16643
ac5c94d3
RM
166442012-10-20 Roland McGrath <roland@hack.frob.com>
16645
16646 * io/fcntl.h: Move include of <bits/types.h> to the top and
16647 include it unconditionally.
16648
de54b33a
L
166492012-10-20 H.J. Lu <hongjiu.lu@intel.com>
16650
228cfb01
L
16651 * wcsmbs/Makefile (tests-ifunc): New variable.
16652 (tests): Add $(tests-ifunc).
16653 * wcsmbs/test-wcschr-ifunc.c: New file.
16654 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
16655 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
16656 * wcsmbs/test-wcslen-ifunc.c: Likewise.
16657 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
16658 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
16659
69f07e5f
L
16660 * string/Makefile (tests-ifunc): New variable.
16661 (tests): Add $(tests-ifunc).
16662 * string/test-memccpy.c (TEST_NAME): New macro.
16663 * string/test-memchr.c (TEST_NAME): Likewise.
16664 * string/test-memcmp.c (TEST_NAME): Likewise.
16665 * string/test-memcpy.c (TEST_NAME): Likewise.
16666 * string/test-memmem.c (TEST_NAME): Likewise.
16667 * string/test-memmove.c (TEST_NAME): Likewise.
16668 * string/test-memset.c (TEST_NAME): Likewise.
16669 * string/test-rawmemchr.c (TEST_NAME): Likewise.
16670 * string/test-stpcpy.c (TEST_NAME): Likewise.
16671 * string/test-stpncpy.c (TEST_NAME): Likewise.
16672 * string/test-strcasecmp.c (TEST_NAME): Likewise.
16673 * string/test-strcasestr.c (TEST_NAME): Likewise.
16674 * string/test-strcat.c (TEST_NAME): Likewise.
16675 * string/test-strchr.c (TEST_NAME): Likewise.
16676 * string/test-strcmp.c(TEST_NAME): Likewise.
16677 * string/test-strcpy.c (TEST_NAME): Likewise.
16678 * string/test-strcspn.c (TEST_NAME): Likewise.
16679 * string/test-strlen.c (TEST_NAME): Likewise.
16680 * string/test-strncasecmp.c (TEST_NAME): Likewise.
16681 * string/test-strncmp.c (TEST_NAME): Likewise.
16682 * string/test-strncpy.c (TEST_NAME): Likewise.
16683 * string/test-strnlen.c (TEST_NAME): Likewise.
16684 * string/test-strpbrk.c (TEST_NAME): Likewise.
16685 * string/test-strrchr.c (TEST_NAME): Likewise.
16686 * string/test-strspn.c (TEST_NAME): Likewise.
16687 * string/test-strstr.c (TEST_NAME): Likewise.
16688 * string/test-bcopy-ifunc.c: New file.
16689 * string/test-bzero-ifunc.c: Likewise.
16690 * string/test-memccpy-ifunc.c: Likewise.
16691 * string/test-memchr-ifunc.c: Likewise.
16692 * string/test-memcmp-ifunc.c: Likewise.
16693 * string/test-memcpy-ifunc.c: Likewise.
16694 * string/test-memmem-ifunc.c: Likewise.
16695 * string/test-memmove-ifunc.c: Likewise.
16696 * string/test-mempcpy-ifunc.c: Likewise.
16697 * string/test-memset-ifunc.c: Likewise.
16698 * string/test-rawmemchr-ifunc.c: Likewise.
16699 * string/test-stpcpy-ifunc.c: Likewise.
16700 * string/test-stpncpy-ifunc.c: Likewise.
16701 * string/test-strcasecmp-ifunc.c: Likewise.
16702 * string/test-strcasestr-ifunc.c: Likewise.
16703 * string/test-strcat-ifunc.c: Likewise.
16704 * string/test-strchr-ifunc.c: Likewise.
16705 * string/test-strchrnul-ifunc.c: Likewise.
16706 * string/test-strcmp-ifunc.c: Likewise.
16707 * string/test-strcpy-ifunc.c: Likewise.
16708 * string/test-strcspn-ifunc.c: Likewise.
16709 * string/test-strlen-ifunc.c: Likewise.
16710 * string/test-strncasecmp-ifunc.c: Likewise.
16711 * string/test-strncat-ifunc.c: Likewise.
16712 * string/test-strncmp-ifunc.c: Likewise.
16713 * string/test-strncpy-ifunc.c: Likewise.
16714 * string/test-strnlen-ifunc.c: Likewise.
16715 * string/test-strpbrk-ifunc.c: Likewise.
16716 * string/test-strrchr-ifunc.c: Likewise.
16717 * string/test-strspn-ifunc.c: Likewise.
16718 * string/test-strstr-ifunc.c: Likewise.
16719
de54b33a
L
16720 * debug/Makefile (tests-ifunc): New variable.
16721 (tests): Add $(tests-ifunc).
16722 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
16723 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
16724 * debug/test-stpcpy_chk-ifunc.c: New file.
16725 * debug/test-strcpy_chk-ifunc.c: Likewise.
16726
88481c16
SP
167272012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16728
16729 [BZ #13601]
16730 * elf/dl-load.c (open_verify): Retry read if the entire ELF
16731 header is not read in.
16732
135948bd
JM
167332012-10-19 Joseph Myers <joseph@codesourcery.com>
16734
89f1c388
JM
16735 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
16736 script to $(SHELL) as $<. Pass $(common-objpfx) to script
16737 directly. Pass built executable to script as
16738 $(built-program-cmd).
16739 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
16740 $testprogram without using LD_LIBRARY_PATH and $ldso.
16741
e40a0d21
JM
16742 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
16743 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
16744 $(rtld-installed-name).
16745 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
16746 (rtld_installed_name): Likewise.
16747 (library_path): Likewise.
16748 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
16749 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
16750 $(run-program-prefix) to tst-tables.sh.
16751 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
16752 it to run tst-table-from and tst-table-to.
16753 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
16754 Pass it to tst-table.sh.
16755 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
16756 $(run-program-prefix) to tst-gettext.sh.
16757 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
16758 tst-translit.sh.
16759 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
16760 tst-gettext2.sh.
16761 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
16762 to run tst-gettext.
16763 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
16764 to run tst-gettext2.
16765 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
16766 to run tst-translit.
16767 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
16768 $(run-program-prefix) to tst-mtrace.sh.
16769 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
16770 to run tst-mtrace.
16771 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
16772 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
16773 $(rtld-installed-name).
16774 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
16775 (rtld_installed_name): Likewise.
16776 (run_program_prefix): New variable. Use it to run wordexp-test.
16777
728e272a
JM
16778 * Makeconfig (ARCH): Remove all definitions.
16779 (machine): Likewise.
16780 [ARCH]: Remove conditional code.
16781 [!objdir]: Give error.
16782 [!objdir] (objpfx): Remove.
16783 [!objdir] (common-objpfx): Likewise.
16784 [!objdir] (common-objdir): Likewise.
16785 * configure.in (config_makefile): Remove. Hardcode Makefile in
16786 AC_CONFIG_FILES call.
16787 * configure: Regenerated.
16788
d528cdcf
JM
16789 [BZ #13888]
16790 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
16791 or TMPDIR.
16792 (testout): Likewise.
16793
135948bd
JM
16794 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
16795 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
16796 $(rtld-installed-name).
16797 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
16798 (rtld_installed_name): Likwise.
16799 (runit): Remove function.
16800 (run_getconf): New variable, Use it for running getconf binary.
16801
38c78296
L
168022012-10-18 H.J. Lu <hongjiu.lu@intel.com>
16803
16804 [BZ #14716]
16805 * string/test-memmem.c (check_result): New function.
16806 (do_one_test): Use it.
16807 (check1): New function.
16808 (test_main): Use it.
16809
d077f65f
MT
168102012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
16811
16812 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
16813
ced52c71
JM
168142012-10-18 Joseph Myers <joseph@codesourcery.com>
16815
16816 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
16817 (_G_LSEEK64): Likewise.
16818 (_G_MMAP64): Likewise.
16819 (_G_FSTAT64): Likewise.
16820 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
16821 (_G_LSEEK64): Likewise.
16822 (_G_MMAP64): Likewise.
16823 (_G_FSTAT64): Likewise.
16824 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
16825 unconditional. Call __mmap64 directly.
16826 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
16827 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
16828 __lseek64 directly.
16829 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
16830 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
16831 __mmap64 directly.
16832 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
16833 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
16834 __lseek64 directly.
16835 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
16836 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
16837 __lseek64 directly.
16838 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
16839 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
16840 __lseek64 directly.
16841 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
16842 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
16843 __fxstat64 directly.
16844 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
16845 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
16846 unconditional.
16847 (freopen64) [!_G_OPEN64]: Remove conditional code.
16848 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
16849 unconditional.
16850 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
16851 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
16852 unconditional.
16853 (ftello64) [!_G_LSEEK64]: Remove conditional code.
16854 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
16855 unconditional.
16856 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16857 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
16858 unconditional.
16859 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
16860 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
16861 unconditional.
16862 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16863 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
16864 unconditional.
16865 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16866 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
16867 unconditional.
16868 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16869
b741de23
SP
168702012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16871
16872 [BZ #12140]
16873 * manual/memory.texi (Malloc Tunable Parameters): Add note
16874 about free list pointers overwriting some perturb bytes.
16875 Wording suggested by Roland McGrath.
16876
f9b9d9c9
JM
168772012-10-17 Joseph Myers <joseph@codesourcery.com>
16878
16879 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
16880 (lgamma_test): Likewise.
16881 (tgamma_test): Likewise.
16882
172a631a
FW
168832012-10-16 Florian Weimer <fweimer@redhat.com>
16884
16885 [BZ #14700]
16886 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
16887 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
16888
e9f37252
MK
168892012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
16890
16891 * NEWS: Mention BZ #14716.
16892 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
16893 when removing AVAILABLE1_USES_J macro.
16894
d394eb74
L
168952012-10-12 H.J. Lu <hongjiu.lu@intel.com>
16896
16897 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
16898 (__bswap_64): __uint64_t for unsigned 64-bit int.
16899
ca38dc17
AS
169002012-10-12 Andreas Schwab <schwab@linux-m68k.org>
16901
16902 * include/string.h (memmem): Declare libc hidden alias.
16903 * string/memmem.c (memmem): Define libc hidden alias.
16904 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
16905 __read, __close instead of open, read, close.
16906
9a387d1f
L
169072012-10-11 H.J. Lu <hongjiu.lu@intel.com>
16908
ac49ecaf
L
16909 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
16910 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
16911 global and hidden.
16912 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
16913 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
16914 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
16915 Likewise.
16916 (__rawmemchr_sse2): Likewise.
16917 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
16918 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
16919 (__strchr_sse2): Likewise.
16920 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
16921 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
16922 (__strcasecmp_sse2): Likewise.
16923 (__strncasecmp_sse2): Likewise.
16924 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
16925 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
16926 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
16927 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
16928 (__strrchr_sse2): Likewise.
16929 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
16930 ifunc-impl-list.c.
16931 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16932 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16933 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16934 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16935 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16936 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16937 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16938 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16939 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
16940 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
16941 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
16942 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
16943 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
16944 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16945 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16946 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16947 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16948 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16949 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
16950 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
16951 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
16952 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
16953 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
16954 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16955 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
16956 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16957 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16958 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16959 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16960 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16961
b090e8ea
L
16962 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
16963 global and hidden.
16964 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
16965 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
16966 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
16967 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
16968 Likewise.
16969 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
16970 Likewise.
16971 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
16972 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
16973 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
16974 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
16975 ifunc-impl-list.c.
16976 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16977 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16978 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16979 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16980 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16981 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16982 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16983 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16984 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16985 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16986 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16987 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16988 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16989 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
16990 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
16991 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16992 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
16993 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
16994 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16995 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16996 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16997 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16998 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16999 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17000 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17001 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
17002 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
17003 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
17004 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
17005 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17006 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
17007 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17008 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17009 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
17010 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17011 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17012 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17013 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17014 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17015 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17016 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
17017
11dd4af6
L
17018 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
17019 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
17020 * include/ifunc-impl-list.h: New file.
17021 * misc/ifunc-impl-list.c: Likewise.
17022 * misc/Makefile (routines): Add ifunc-impl-list.
17023 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
17024 * string/test-string.h: Include <ifunc-impl-list.h>.
17025 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
17026 impl_array): New variables.
17027 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
17028 are defined.
17029 (test_init): Call __libc_ifunc_impl_list to initialize
17030 func_list if TEST_IFUNC and TEST_NAME are defined.
17031
9a387d1f
L
17032 * string/Makefile (strop-tests): Add bcopy and bzero.
17033 * string/test-bcopy.c: New file.
17034 * string/test-bzero.c: Likewise.
17035 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
17036 defined.
17037 * string/test-memset.c: Support bzero test if TEST_BZERO is
17038 defined.
17039 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
17040 __libc_memmove.
17041 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
17042 __libc_memset.
17043 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
17044 of memset.
17045
472371b9
JM
170462012-10-10 Joseph Myers <joseph@codesourcery.com>
17047
1e4a9536
JM
17048 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
17049 * configure: Regenerated.
17050
d173d12e
JM
17051 * Makeconfig (+link-static-before-libc): Don't include
17052 $(link-static-libc).
17053
472371b9
JM
17054 * libio/libio.h (_IO_pos_t): Remove.
17055
89a3ad0b
AO
170562012-10-10 Alexandre Oliva <aoliva@redhat.com>
17057
17058 * NEWS: Add note about FIPS mode. Wording suggested by Roland
17059 McGrath.
17060
e7451425
AO
170612012-10-10 Alexandre Oliva <aoliva@redhat.com>
17062
17063 * crypt/crypt-entry.c: Include fips-private.h.
17064 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
17065 * crypt/md5c-test.c (main): Tolerate disabled MD5.
17066 * sysdeps/unix/sysv/linux/fips-private.h: New file.
17067 * sysdeps/generic/fips-private.h: New file, dummy fallback.
17068
4ba74a35
AO
170692012-10-10 Alexandre Oliva <aoliva@redhat.com>
17070
17071 * crypt/crypt-private.h: Include stdbool.h.
17072 (_ufc_setup_salt_r): Return bool.
17073 * crypt/crypt-entry.c: Include errno.h.
17074 (__crypt_r): Return NULL with EINVAL for bad salt.
17075 * crypt/crypt_util.c (bad_for_salt): New.
17076 (_ufc_setup_salt_r): Check that salt is long enough and within
17077 the specified alphabet.
17078 * crypt/badsalttest.c: New file.
17079 * crypt/Makefile (tests): Add it.
17080 ($(objpfx)badsalttest): New.
17081
f96f1242
MK
170822012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
17083
17084 * NEWS: Add entry for BZ #14602.
17085
0e8e0c1c
JM
170862012-10-09 Joseph Myers <joseph@codesourcery.com>
17087
17088 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
17089 type-generic.
17090 * math/libm-test.inc: Update comment listing what functions and
17091 macros are tested.
17092 (isgreater_test): New function.
17093 (isgreaterequal_test): Likewise.
17094 (isless_test): Likewise.
17095 (islessequal_test): Likewise.
17096 (islessgreater_test): Likewise.
17097 (isunordered_test): Likewise.
17098 (main): Call the new functions.
17099
273edc5e
RM
171002012-10-09 Roland McGrath <roland@hack.frob.com>
17101
b8493de0
RM
17102 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
17103 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
17104 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
17105 * sysdeps/i386/configure: Regenerated.
17106 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
17107 * sysdeps/mach/configure: Regenerated.
17108 * sysdeps/mach/hurd/configure: Regenerated.
17109 * sysdeps/powerpc/configure: Regenerated.
17110 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17111 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17112 * sysdeps/s390/s390-32/configure: Regenerated.
17113 * sysdeps/s390/s390-64/configure: Regenerated.
17114 * sysdeps/sh/configure: Regenerated.
17115 * sysdeps/sparc/configure: Regenerated.
17116 * sysdeps/unix/sysv/linux/configure: Regenerated.
17117 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
17118 * sysdeps/x86_64/configure: Regenerated.
17119
273edc5e
RM
17120 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
17121 defined. Don't check if MAP is NULL.
17122
c8450f70
JM
171232012-10-09 Joseph Myers <joseph@codesourcery.com>
17124
17125 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
17126 (_G_stat64): Likewise.
17127 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
17128 (_G_stat64): Likewise.
17129 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
17130 instead of struct _G_stat64.
17131 * libio/fileops.c (mmap_remap_check): Likewise.
17132 (decide_maybe_mmap): Likewise.
17133 (_IO_new_file_seekoff): Likewise.
17134 (_IO_file_stat): Likewise.
17135 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
17136 _G_off64_t.
17137 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
17138 instead of struct _G_stat64.
17139 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17140
57e605ba
MK
171412012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
17142
17143 [BZ #14602]
17144 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17145 Replace with ...
17146 (CHECK_EOL): New macro.
17147 (two_way_short_needle): Check beginning of haystack for EOL. Use
17148 CHECK_EOL.
17149 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17150 Replace with CHECK_EOL.
17151 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17152 Replace with CHECK_EOL.
17153
ef1bb361
JM
171542012-10-08 Joseph Myers <joseph@codesourcery.com>
17155
17156 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
17157 type-generic.
17158 * math/libm-test.inc: Update comment listing what functions and
17159 macros are tested.
17160 (finite_test): New function.
17161 (isinf_test): Likewise.
17162 (isnan_test): Likewise.
17163 (fpclassify_test): Test subnormal input.
17164 (isfinite_test): Likewise.
17165 (isnormal_test): Likewise.
17166 (main): Call the new functions.
17167
55f11534
JN
171682012-10-08 Jonathan Nieder <jrnieder@gmail.com>
17169
17170 [BZ #14660]
17171 * Makerules (%.dynsym): Force C locale when running
17172 $(OBJDUMP) --dynamic-syms.
17173
1ab29350
AS
171742012-10-08 Andreas Schwab <schwab@linux-m68k.org>
17175
17176 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
17177 <stdint.h>.
17178
f1ecb7ef
DM
171792012-10-06 David S. Miller <davem@davemloft.net>
17180
17181 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
17182 upper 32-bits of the length value in %o2 since we use branch-on-register
17183 tests which consider the entire 64-bit register.
17184
5d41d91a
L
171852012-10-06 H.J. Lu <hongjiu.lu@intel.com>
17186
17187 * string/test-strstr.c (check2): Add a test for page boundary.
17188
3baddb72
DM
171892012-10-05 David S. Miller <davem@davemloft.net>
17190
17191 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
17192 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
17193 file.
17194 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17195 sysdep_routines.
17196 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17197 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
17198 and bzero when HWCAP_SPARC_CRYPTO is present.
17199
9cee5585
L
172002012-10-05 H.J. Lu <hongjiu.lu@intel.com>
17201
d7e0dab9
L
17202 [BZ #14602]
17203 * string/test-strstr.c (check2): New function.
17204 (test_main): Call check2.
17205
03759f47
L
17206 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
17207 and bug-strchr1.
17208 * string/bug-strcasestr1.c (do_test): Moved to ...
17209 * string/test-strcasestr.c (check1): Here. New function.
17210 (do_one_test): Break out result checking code into ...
17211 (check_result): This. New function.
17212 (do_one_test): Call check_result.
17213 (test_main): Call check1.
17214 * string/bug-strchr1.c (do_test): Moved to ...
17215 * string/test-strchr.c (check1): Here. New function.
17216 (do_one_test): Break out result checking code into ...
17217 (check_result): This. New function.
17218 (do_one_test): Call check_result.
17219 (test_main): Call check1.
17220 * string/bug-strstr1.c (main): Moved to ...
046f153e 17221 * string/test-strstr.c (check1): Here. New function.
03759f47
L
17222 (do_one_test): Break out result checking code into ...
17223 (check_result): This. New function.
17224 (do_one_test): Call check_result.
17225 (test_main): Call check1.
17226 * string/bug-strcasestr1.c: Removed.
17227 * string/bug-strchr1.c: Likewise.
17228 * string/bug-strstr1.c: Likewise.
17229
53cea63e
L
17230 * elf/Makefile (dl-routines): Add hwcaps.
17231 * elf/dl-support.c (_dl_important_hwcaps): Removed.
17232 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
17233 (_dl_important_hwcaps): Moved to ...
17234 * elf/dl-hwcaps.c: Here. New file.
17235 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
17236
9cee5585 17237 [BZ #14557]
bb859b06
L
17238 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
17239 if IS_IN_rtld isn't defined.
17240
9cee5585
L
17241 * elf/dl-support.c (_dl_sysinfo_map): New.
17242 Include "get-dynamic-info.h" and "setup-vdso.h".
17243 (_dl_non_dynamic_init): Call setup_vdso.
17244 * elf/dynamic-link.h: Don't include <assert.h>.
17245 (elf_get_dynamic_info): Moved to ...
17246 * elf/get-dynamic-info.h: Here. New file.
17247 * elf/dynamic-link.h: Include "get-dynamic-info.h".
17248 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
17249 * elf/setup-vdso.h: Here. New file.
17250 * elf/rtld.c: Include "setup-vdso.h".
17251 (dl_main): Call setup_vdso.
17252
23c31b76
JM
172532012-10-05 Joseph Myers <joseph@codesourcery.com>
17254
28234b07
JM
17255 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
17256 creal in comment listing functions tested. List finite, isinf,
17257 isnan, isless, islessequal, isgreater, isgreaterequal,
17258 islessgreater, isunordered, lgamma_r and pow10 as functions and
17259 macros not tested. Mention which functions not tested are aliases
17260 for other functions. Fix typo. Note that signs of NaNs are not
17261 tested.
17262
23c31b76
JM
17263 * scripts/config.guess: Update from config.git.
17264 * scripts/config.sub: Likewise.
17265
9043e228
RM
172662012-10-04 Roland McGrath <roland@hack.frob.com>
17267
17268 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
17269 * misc/madvise.c (madvise): Renamed to __madvise.
17270 Make madvise a weak alias.
17271 * include/sys/mman.h: Declare __madvise.
17272 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
17273 * sysdeps/unix/syscalls.list
17274 (madvise): Make __madvise the strong name, and madvise a weak alias.
17275 * sysdeps/unix/sysv/linux/syscalls.list
17276 (madvise, mmap): Remove redundant entries.
17277 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
17278 * malloc/malloc.c (mtrim): Likewise.
17279 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
17280
f57f8055
RM
172812012-10-03 Roland McGrath <roland@hack.frob.com>
17282
17283 * sysdeps/mach/hurd/dl-cache.c: File removed.
17284 * config.h.in (USE_LDCONFIG): New #undef.
17285 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
17286 * configure: Regenerated.
17287 * elf/Makefile (dl-routines): Add dl-cache only under
17288 [$(use-ldconfig) = yes].
17289 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
17290 cache on [USE_LDCONFIG].
17291 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
17292 [USE_LDCONFIG].
17293 * elf/rtld.c (dl_main): Likewise.
17294
5bb0c10a
PT
172952012-10-03 Pino Toscano <toscano.pino@tiscali.it>
17296
17297 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
17298 _SC_LEVEL4_CACHE_LINESIZE.
17299
010188c6
RM
173002012-10-03 Roland McGrath <roland@hack.frob.com>
17301
17302 * sysdeps/unix/bsd/confstr.h: File removed.
17303
b6c5ec07
AO
173042012-10-02 Alexandre Oliva <aoliva@redhat.com>
17305
17306 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
17307 sys/sdt-config.h.
17308
408223d4
RM
173092012-10-02 Roland McGrath <roland@hack.frob.com>
17310
17311 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
17312 Make 'mapoff' field ElfW(Off) rather than off_t.
17313
bb9510dc
DL
173142012-10-02 Dmitry V. Levin <ldv@altlinux.org>
17315
fc997c6e
DL
17316 * nscd/Makefile: Remove nscd-cflags and all its users.
17317 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
17318 (CFLAGS-nonlib): Add compiler flags for nscd modules.
17319
bb9510dc
DL
17320 [BZ #10631]
17321 * malloc.c (malloc_printerr): Clarify error message.
17322
05699367
L
173232012-10-02 H.J. Lu <hongjiu.lu@intel.com>
17324
17325 [BZ #14648]
17326 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17327 Set bit_FMA_Usable if FMA is supported.
17328 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
17329 macro.
17330 (bit_FMA4_Usable): Updated.
17331 (index_FMA_Usable): New macro.
17332 (CPUID_FMA): Likewise
17333 (HAS_FMA): Defined with bit_FMA_Usable.
17334
51367701
RM
173352012-10-01 Roland McGrath <roland@hack.frob.com>
17336
17337 * bits/types.h (__swblk_t): Type removed.
17338 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
17339 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
17340 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17341 (__SWBLK_T_TYPE): Likewise.
17342 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17343 (__SWBLK_T_TYPE): Likewise.
17344 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17345 (__SWBLK_T_TYPE): Likewise.
17346 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17347 (__SWBLK_T_TYPE): Likewise.
17348
4d57bf63 173492012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 17350 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
17351
17352 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
17353 (xdr_mapname): Use YPMAXMAP as maxsize.
17354 (xdr_peername): Use YPMAXPEER as maxsize.
17355 (xdr_keydat): Use YPAXRECORD as maxsize.
17356 (xdr_valdat): Use YPMAXRECORD as maxsize.
17357
93c65d43
RM
173582012-10-01 Roland McGrath <roland@hack.frob.com>
17359
497a03d6
RM
17360 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
17361
93c65d43
RM
17362 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
17363 * csu/init-first.c: ... here.
17364 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
17365 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
17366 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
17367 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17368 * sysdeps/i386/init-first.c: File removed.
17369 * sysdeps/sh/init-first.c: File removed.
17370
bec749fd
JM
173712012-10-01 Joseph Myers <joseph@codesourcery.com>
17372
17373 [BZ #14645]
17374 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
17375 if x * y might underflow to zero and z is zero.
17376 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17377 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17378 * math/libm-test.inc (min_subnorm_value): New variable.
17379 (fma_test): Add more tests.
17380 (fma_test_towardzero): Likewise.
17381 (fma_test_downward): Likewise
17382 (fma_test_upward): Likewise.
17383 (initialize): Set min_subnorm_value.
17384
8ec5b013
JM
173852012-09-29 Joseph Myers <joseph@codesourcery.com>
17386
17387 [BZ #14638]
17388 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
17389 0 + 0.
17390 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
17391 mode for addition resulting in exact zero.
17392 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
17393 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
17394 exact 0 + 0.
17395 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17396 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17397 * math/libm-test.inc (fma_test): Add more tests.
17398 (fma_test_towardzero): New function.
17399 (fma_test_downward): Likewise.
17400 (fma_test_upward): Likewise.
17401 (main): Call the new functions.
17402
b1fa802e
DM
174032012-09-28 David S. Miller <davem@davemloft.net>
17404
17405 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
17406
d3b9fd9e
RM
174072012-09-28 Roland McGrath <roland@hack.frob.com>
17408
ea4d37b3
RM
17409 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
17410 instead of SIGALRM.
17411
ac51c949
RM
17412 * sysdeps/gnu/_G_config.h: Moved to ...
17413 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
17414 * sysdeps/mach/hurd/_G_config.h: Moved to ...
17415 * sysdeps/generic/_G_config.h: ... here.
17416
28c195f7
RM
17417 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
17418
848917f9
RM
17419 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
17420
6bacf05b
RM
17421 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
17422 Conditionalize target on [libnss_test1.so-version].
17423
91363dbb
RM
17424 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
17425
cc87f7d8
RM
17426 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
17427 (elfobjdir): Move out of conditionals.
17428
b1c608fe
RM
17429 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
17430 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
17431 (__nss_lookup_function): Conditionalize label remove_from_tree on
17432 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 17433
1d9a6d96
DM
174342012-09-28 David S. Miller <davem@davemloft.net>
17435
17436 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
17437 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
17438 file.
17439 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17440 sysdep_routines.
17441 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17442 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
17443 when HWCAP_SPARC_CRYPTO is present.
17444
72581615
PT
174452012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17446
17447 * io/tst-mknodat.c: Create a FIFO instead of a socket.
17448
715a900c
JL
174492012-09-28 Andreas Schwab <schwab@linux-m68k.org>
17450
17451 [BZ #6530]
17452 * stdio-common/vfprintf.c (process_string_arg): Revert
17453 2000-07-22 change.
17454
174552011-09-28 Jonathan Nieder <jrnieder@gmail.com>
17456
17457 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
17458 for testcase.
17459 * stdio-common/tst-sprintf.c: Include <locale.h>
17460 (main): Test sprintf's handling of incomplete multibyte
17461 characters.
17462
9bac1d86
L
174632012-09-28 H.J. Lu <hongjiu.lu@intel.com>
17464
17465 * elf/dl-runtime.c (VERSYMIDX): Removed.
17466 * elf/dl-version.c (VERSYMIDX): Likewise.
17467 * elf/do-rel.h (VERSYMIDX): Likewise.
17468 (VALIDX): Likewise.
17469 * elf/dynamic-link.h (VERSYMIDX): Likewise.
17470 * elf/rtld.c (VALIDX): Likewise.
17471 (ADDRIDX): Likewise.
9bac1d86
L
17472 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
17473 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
17474 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
17475 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
17476 (VALIDX): Likewise.
17477 (ADDRIDX): Likewise.
9bac1d86 17478
b31606c0
PT
174792012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17480
17481 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
17482
11541177
JL
174832012-09-28 Dmitry V. Levin <ldv@altlinux.org>
17484
17485 [BZ #11438]
17486 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
17487 to global scope.
17488 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
17489 addresses are in the same scope as 192.0.2/24.
17490 * posix/gai.conf: Document new scope table defaults.
17491
adb26fae
SP
174922012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17493
17494 [BZ #5298]
17495 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
17496 for ftell. Compute offsets from write pointers instead.
17497 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17498
4573c6b0
SP
174992012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17500
17501 [BZ #14543]
17502 * libio/Makefile (tests): New test case tst-fseek.
17503 * libio/tst-fseek.c: New test case to verify that fseek/ftell
17504 combination works in wide mode.
17505 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
17506 state when the external buffer state changes.
17507
aa9bbfe6
DM
175082012-09-27 David S. Miller <davem@davemloft.net>
17509
17510 [BZ #14376]
17511 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
17512 pass reloc->r_addend in as the 'high' argument to
17513 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
17514
784421e7
DM
17515 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17516
c39bc8b8
PT
175172012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17518
17519 * rt/tst-aio2.c: Include <pthread.h>.
17520 * rt/tst-aio3.c: Likewise.
17521
1ccc2399
SE
175222012-09-27 Steve Ellcey <sellcey@mips.com>
17523
17524 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
17525
31ed4153
L
175262012-09-27 H.J. Lu <hongjiu.lu@intel.com>
17527
25f5f885
L
17528 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
17529 contents on [SHARED].
31ed4153 17530
b7bfe116
MP
175312012-09-26 Marek Polacek <polacek@redhat.com>
17532
17533 [BZ #14530]
17534 [BZ #13741]
17535 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
17536 for C++ and GCC <4.3 as well as for non GCC compilers.
17537
43c4edba
MT
175382012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
17539
17540 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17541
6a1bf82f
RM
175422012-09-25 Roland McGrath <roland@hack.frob.com>
17543
17544 * Makefile.in (all, install): Declare with .PHONY.
17545 Reported by Michael Hope <michael.hope@linaro.org>.
17546
8ad11b9a
TMQMF
175472012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17548
17549 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
17550 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
17551 system header.
17552 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
17553 Likewise.
17554 (sydep_routines): Add the new and the internal functions.
17555 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
17556 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
17557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
17558 (GLIBC_2.17): Add the new function.
17559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17560 (GLIBC_2.17): Likewise.
17561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
17562 (GLIBC_2.17): Likewise.
17563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
17564 (GLIBC_2.17): Likewise.
17565 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
17566
7e2fca8d
AM
175672012-09-25 Alan Modra <amodra@gmail.com>
17568
17569 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
17570 Add release barrier before setting once_control to say
17571 initialisation is done. Add hints on lwarx. Use macro in
17572 place of isync.
17573 (clear_once_control): Add release barrier.
17574
b87c4b24
JM
175752012-09-25 Joseph Myers <joseph@codesourcery.com>
17576
d032e0d2
JM
17577 [BZ #13629]
17578 * math/s_clog.c (__clog): Handle more values close to |z| = 1
17579 specially.
17580 * math/s_clog10.c (__clog10): Likewise.
17581 * math/s_clog10f.c (__clog10f): Likewise.
17582 * math/s_clog10l.c (__clog10l): Likewise.
17583 * math/s_clogf.c (__clogf): Likewise.
17584 * math/s_clogl.c (__clogl): Likewise.
17585 * math/Makefile (libm-calls): Add x2y2m1.
17586 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
17587 (__x2y2m1): Likewise.
17588 (__x2y2m1l): Likewise.
17589 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
17590 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
17591 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17592 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17593 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
17594 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
17595 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
17596 * sysdeps/i386/fpu/libm-test-ulps: Update.
17597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17598
b87c4b24
JM
17599 [BZ #14621]
17600 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
17601 int as type of variable DEPTH.
17602 (glob): Use size_t instead of int as type of variables NEWCOUNT
17603 and OLD_PATHC.
17604
6d3bf199
LD
176052012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17606
22bf5c17
LD
17607 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17608 Add s_sincosf-sse2.
17609 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
17610 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
17611 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
17612 macros for using routine as __sincosf_ia32.
17613 Use macro for function declaration and weak_alias.
17614 * sysdeps/i386/fpu/libm-test-ulps: Update.
17615
17616 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
17617 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17618
17619 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
17620 subnormal argument.
17621 * math/s_cexpf.c (__cexpf): Likewise.
17622 * math/s_csinf.c (__csinf): Likewise.
17623 * math/s_csinhf.c (__csinhf): Likewise.
17624 * math/s_ctanf.c (__ctanf): Likewise.
17625 * math/s_ctanhf.c (__ctanhf): Likewise.
17626 * math/s_ccosh.c (__ccoshf): Likewise.
17627 * math/s_cexp.c (__cexpl): Likewise.
17628 * math/s_csin.c (__csin): Likewise.
17629 * math/s_csinh.c (__csinh): Likewise.
17630 * math/s_ctan.c (__ctan): Likewise.
17631 * math/s_ctanh.c (ctanh): Likewise.
17632 * math/s_ccoshl.c (__ccoshl): Likewise.
17633 * math/s_cexpl.c (__cexpl): Likewise.
17634 * math/s_csinl.c (__csinl): Likewise.
17635 * math/s_csinhl.c (__csinhl): Likewise.
17636 * math/s_ctanl.c (__ctanl): Likewise.
17637 * math/s_ctanhl.c (__ctanhl): Likewise.
17638
203e5603
JM
176392012-09-25 Joseph Myers <joseph@codesourcery.com>
17640
17641 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
17642 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
17643 (_IO_off_t): Define to __off_t, not _G_off_t.
17644 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
17645 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
17646 (_IO_wint_t): Define to wint_t, not _G_wint_t.
17647 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
17648 type of __dummy and __dummy2 fields.
17649 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
17650 (_G_ssize_t): Likewise.
17651 (_G_off_t): Likewise.
17652 (_G_pid_t): Likewise.
17653 (_G_uid_t): Likewise.
17654 (_G_wchar_t): Likewise.
17655 (_G_wint_t): Likewise.
17656 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
17657 (_G_ssize_t): Likewise.
17658 (_G_off_t): Likewise.
17659 (_G_pid_t): Likewise.
17660 (_G_uid_t): Likewise.
17661 (_G_wchar_t): Likewise.
17662 (_G_wint_t): Likewise.
17663 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
17664 (_G_ssize_t): Likewise.
17665 (_G_off_t): Likewise.
17666 (_G_pid_t): Likewise.
17667 (_G_uid_t): Likewise.
17668 (_G_wchar_t): Likewise.
17669 (_G_wint_t): Likewise.
17670
9fab36eb
SP
176712012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17672
17673 * malloc/arena.c: Include malloc-sysdep.h.
17674 (shrink_heap): Use check_may_shrink_heap to decide if madvise
17675 is sufficient to shrink the heap or an unmap is needed.
17676 * sysdeps/generic/malloc-sysdep.h: New file. Define
17677 new function check_may_shrink_heap.
17678 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
17679 new function check_may_shrink_heap.
17680
2b4f00d1
SP
176812012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17682
17683 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
17684 comments.
17685
9a9028b1
DL
176862012-09-24 Dmitry V. Levin <ldv@altlinux.org>
17687
57c69bef
DL
17688 * catgets/test-gencat.sh: Add "set -e".
17689 * elf/tst-pathopt.sh: Likewise.
17690 * grp/tst_fgetgrent.sh: Likewise.
17691 * iconvdata/run-iconv-test.sh: Likewise.
17692 * intl/tst-gettext.sh: Likewise.
17693 * intl/tst-gettext2.sh: Likewise.
17694 * intl/tst-gettext4.sh: Likewise.
17695 * intl/tst-gettext6.sh: Likewise.
17696 * intl/tst-translit.sh: Likewise.
17697 * io/ftwtest-sh: Likewise.
17698 * libio/test-freopen.sh: Likewise.
17699 * malloc/tst-mtrace.sh: Likewise.
17700 * posix/globtest.sh: Likewise.
17701 * posix/tst-getconf.sh: Likewise.
17702 * posix/wordexp-tst.sh: Likewise.
17703 * stdio-common/tst-printf.sh: Likewise.
17704 * stdio-common/tst-unbputc.sh: Likewise.
17705 * stdlib/tst-fmtmsg.sh: Likewise.
17706 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17707 * catgets/Makefile: Do not specify -e option when running
17708 testsuite shell scripts.
17709 * elf/Makefile: Likewise.
17710 * grp/Makefile: Likewise.
17711 * iconvdata/Makefile: Likewise.
17712 * intl/Makefile: Likewise.
17713 * io/Makefile: Likewise.
17714 * libio/Makefile: Likewise.
17715 * malloc/Makefile: Likewise.
17716 * posix/Makefile: Likewise.
17717 * stdio-common/Makefile: Likewise.
17718 * stdlib/Makefile: Likewise.
17719 * sysdeps/x86_64/Makefile: Likewise.
17720
9a9028b1
DL
17721 * io/ftwtest-sh: Add copyright header.
17722 * posix/globtest.sh: Likewise.
17723 * posix/tst-getconf.sh: Likewise.
17724 * posix/wordexp-tst.sh: Likewise.
17725 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17726
ced6f16e
L
177272012-09-24 H.J. Lu <hongjiu.lu@intel.com>
17728
94b32c39
L
17729 [BZ #13679]
17730 * Makeconfig (+link): Defined as $(+link-static) if
17731 $(build-shared) isn't yes.
17732 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
17733 isn't yes.
17734 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
17735
189e935b
L
17736 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
17737
ced6f16e
L
17738 [BZ #14562]
17739 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
17740 new chunk size with MALLOC_ALIGN_MASK.
17741
a9f8e53a
JM
177422012-09-24 Joseph Myers <joseph@codesourcery.com>
17743
17744 [BZ #5044]
17745 * stdio-common/printf_fphex.c: Include <stdbool.h> and
17746 <rounding-mode.h>.
17747 (__printf_fphex): Determine rounding using get_rounding_mode and
17748 round_away.
17749 * stdio-common/tst-printf-round.c (struct hex_test): New
17750 structure.
17751 (hex_tests): New variable.
17752 (test_hex_in_one_mode): New function.
17753 (do_test): Also run tests for hex float output.
17754
43153109
JM
177552012-09-21 Joseph Myers <joseph@codesourcery.com>
17756
17757 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17758 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17759 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
17760 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17761 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17762 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
17763 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17764 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17765
8a26625d
JM
177662012-09-20 Joseph Myers <joseph@codesourcery.com>
17767
17768 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
17769 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
17770 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
17771 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
17772
f3fd569c
DL
177732012-09-19 Dmitry V. Levin <ldv@altlinux.org>
17774
17775 [BZ #14579]
17776 * elf/rtld.c (dl_main): Limit the check for self loading to normal
17777 mode only.
17778 * elf/tst-rtld-load-self.sh: New test.
17779 * elf/Makefile: Run it.
17780
63bbedd4
JM
177812012-09-18 Joseph Myers <joseph@codesourcery.com>
17782
17783 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
17784 (tst-writev-ENV): Remove.
17785 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
17786
626f8b6a
CM
177872012-09-17 Chris Metcalf <cmetcalf@tilera.com>
17788
17789 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
17790
b7aaa4d6
JM
177912012-09-17 Joseph Myers <joseph@codesourcery.com>
17792
17793 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
17794 unconditional.
17795 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
17796 Likewise.
17797 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
17798 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
17799 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
17800 Likewise.
17801
65513990
L
178022012-09-14 H.J. Lu <hongjiu.lu@intel.com>
17803
17804 [BZ #14587]
17805 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
17806 * config.make.in (have-cpp-asm-debuginfo): Removed.
17807 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
17808 * configure: Regenerated.
17809
784761be
JM
178102012-09-14 Joseph Myers <joseph@codesourcery.com>
17811
17812 [BZ #5044]
17813 * stdio-common/printf_fp.c: Include <stdbool.h> and
17814 <rounding-mode.h>.
17815 (___printf_fp): Determine rounding using get_rounding_mode and
17816 round_away.
17817 * stdio-common/tst-printf-round.c: New file.
17818 * stdio-common/Makefile (tests): Add tst-printf-round.
17819 (link-libm): New variable.
17820 ($(objpfx)tst-printf-round): Depend in $(link-libm).
17821
9503345f
L
178222012-09-13 H.J. Lu <hongjiu.lu@intel.com>
17823
17824 [BZ #14576]
17825 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
17826 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
17827 Likewise.
17828 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
17829 Likewise.
17830
ad35fc00
JM
178312012-09-13 Joseph Myers <joseph@codesourcery.com>
17832
17833 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
17834 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17835 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17836 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17837
6c9b0f68
JM
178382012-09-12 Joseph Myers <joseph@codesourcery.com>
17839
17840 [BZ #14518]
17841 * include/rounding-mode.h: New file.
17842 * sysdeps/generic/get-rounding-mode.h: Likewise.
17843 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
17844 * stdlib/strtod_l.c: Include <rounding-mode.h>.
17845 (MAX_VALUE): New macro.
17846 (MIN_VALUE): Likewise.
17847 (overflow_value): New function.
17848 (underflow_value): Likewise.
17849 (round_and_return): Use overflow_value and underflow_value to
17850 determine return values in overflow and underflow cases. Use
17851 round_away to determine rounding depending on rounding mode.
17852 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
17853 determine return values in overflow and underflow cases.
17854 * stdlib/tst-strtod-round.c: Include <fenv.h>.
17855 (struct test_results): New structure.
17856 (struct test): Use struct test_results to store expected results
17857 for all rounding modes.
17858 (TEST): Include expected results for all rounding modes.
17859 (test_in_one_mode): New function.
17860 (do_test): Use test_in_one_mode to compute and check results.
17861 Check results for all rounding modes.
17862 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
17863 $(link-libm).
17864
19fcedd5
AM
178652012-12-09 Allan McRae <allan@archlinux.org>
17866
1e9d84cd 17867 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 17868
8bbfd2f1
JM
178692012-09-11 Joseph Myers <joseph@codesourcery.com>
17870
17871 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
17872 (_G_int32_t): Likewise.
17873 (_G_uint16_t): Likewise.
17874 (_G_uint32_t): Likewise.
17875 (_G_HAVE_BOOL): Likewise.
17876 (_G_HAVE_ATEXIT): Likewise.
17877 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17878 (_G_HAVE_IO_FILE_OPEN): Likewise.
17879 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
17880 (_G_int32_t): Likewise.
17881 (_G_uint16_t): Likewise.
17882 (_G_uint32_t): Likewise.
17883 (_G_HAVE_BOOL): Likewise.
17884 (_G_HAVE_ATEXIT): Likewise.
17885 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17886 (_G_HAVE_IO_FILE_OPEN): Likewise.
17887 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
17888 (_G_int32_t): Likewise.
17889 (_G_uint16_t): Likewise.
17890 (_G_uint32_t): Likewise.
17891 (_G_HAVE_BOOL): Likewise.
17892 (_G_HAVE_ATEXIT): Likewise.
17893 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17894 (_G_HAVE_IO_FILE_OPEN): Likewise.
17895
b1dc5912
L
178962012-09-11 H.J. Lu <hongjiu.lu@intel.com>
17897
17898 * csu/libc-tls.c: Update copyright years.
17899
0e886ef9
JM
179002012-09-10 Joseph Myers <joseph@codesourcery.com>
17901
28361c5e
JM
17902 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
17903 [!_G_USING_THUNKS]: Remove conditional code.
17904 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
17905 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
17906
0e886ef9
JM
17907 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
17908 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
17909 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17910 (_G_VTABLE_LABEL_PREFIX): Likewise.
17911 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17912 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17913 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17914 (_G_VTABLE_LABEL_PREFIX): Likewise.
17915 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17916 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17917 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17918 (_G_VTABLE_LABEL_PREFIX): Likewise.
17919 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17920
bcba7aa2
L
179212012-09-10 H.J. Lu <hongjiu.lu@intel.com>
17922
17923 * libio/Makefile: Include ../Makeconfig before tests.
17924 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
17925 only if $(build-shared) is yes.
17926
06585ee8
L
17927 * iconv/gconv_db.c: Update copyright years.
17928
80ccd52c
LD
179292012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17930
17931 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
17932 unwind info if defined PIC. Fix special cases description.
17933 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
17934
17935 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
17936 DP_HI_MASK entry.
17937 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
17938
691bc9c1
L
179392012-09-07 H.J. Lu <hongjiu.lu@intel.com>
17940
3d9b46b3
L
17941 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
17942
de2139a9
L
17943 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
17944 is NULL.
17945
5ca78dd0
L
17946 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
17947 (LDLIBS-tst-chk4): This.
17948 (LDFLAGS-tst-chk5): Renamed to ...
17949 (LDLIBS-tst-chk5): This.
17950 (LDFLAGS-tst-chk6): Renamed to ...
17951 (LDLIBS-tst-chk6): This.
17952 (LDFLAGS-tst-lfschk4): Renamed to ...
17953 (LDLIBS-tst-lfschk4): This.
17954 (LDFLAGS-tst-lfschk5): Renamed to ...
17955 (LDLIBS-tst-lfschk5): This.
17956 (LDFLAGS-tst-lfschk6): Renamed to ...
17957 (LDLIBS-tst-lfschk6): This.
17958
691bc9c1
L
17959 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
17960 on $(common-objpfx)soversions.mk.
17961
65cafb1c
JM
179622012-09-07 Joseph Myers <joseph@codesourcery.com>
17963
17964 [BZ #10014]
17965 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
17966 example host name.
17967
c78ab094
SP
179682012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17969
17970 * malloc/arena.c (arena_get_retry): New function that gets
17971 another arena for the caller to try its request on.
17972 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
17973 current arena cannot fulfill the request.
17974 (__libc_memalign): Likewise.
17975 (__libc_memalign): Likewise.
17976 (__libc_pvalloc): Likewise.
17977 (__libc_calloc): Likewise.
17978
01f49f59
JT
179792012-09-05 John Tobey <john.tobey@gmail.com>
17980
17981 [BZ #13542]
17982 * manual/arith.texi (Operations on Complex): Fix description
17983 of carg branch cut.
17984
4c23fed5
JM
179852012-09-06 Joseph Myers <joseph@codesourcery.com>
17986
1d3c8572
JM
17987 [BZ #10014]
17988 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
17989 host name.
17990
4c23fed5
JM
17991 [BZ #10038]
17992 * manual/memory.texi (Memory): Make order of menu items match
17993 order of sections.
17994
04570aaa
L
179952012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17996
17997 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
17998 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
17999 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
18000
b80af2f4
L
180012012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18002
18003 * csu/libc-tls.c (static_dtv): Renamed to ...
18004 (_dl_static_dtv): This. Make it global.
18005 (_dl_initial_dtv): Removed.
18006 (__libc_setup_tls): Updated.
18007 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
18008 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
18009 DL_INITIAL_DTV.
18010
2abe9f15
PM
180112012-09-06 Petr Machata <pmachata@redhat.com>
18012
18013 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
18014 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
18015 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
18016 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
18017
0948c3af
L
180182012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18019
18020 [BZ #14545]
18021 * csu/libc-tls.c (_dl_initial_dtv): New variable.
18022 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
18023 freeing dtv[-1].
18024
a5055ad1
L
180252012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18026
18027 [BZ #14544]
18028 * Makeconfig (link-static-before-libc): Replace $(+prector)
18029 with $(+prectorT).
18030 (link-static-after-libc): Replace $(+postctor) with
18031 $(+postctorT).
18032 (link-bounded): Replace $(+prector)/$(+postctor) with
18033 $(+prectorT)/$(+postctorT).
18034 (+prectorT): New macro.
18035 (+postctorT): Likewise.
18036
ed8c2ecd
JM
180372012-09-06 Joseph Myers <joseph@codesourcery.com>
18038
18039 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
18040 (round_str): Handle values above the maximum for IBM long double
18041 as inexact.
18042 * stdlib/tst-strtod-round.c (tests): Regenerated.
18043
14c996c8
AK
180442012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18045
18046 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
18047 assembler flag.
18048 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
18049 zarch_nohighgprs around the zarch optimized routines.
18050 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
18051 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
18052 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
18053 for zarch.
18054
430d6ce6
DM
180552012-09-05 David S. Miller <davem@davemloft.net>
18056
18057 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18058
ff04dda4
DM
18059 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
18060 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
18061 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
18062 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18063 entries.
18064
24d4e01b
AO
180652012-09-05 Alexandre Oliva <aoliva@redhat.com>
18066
18067 * malloc/arena.c: Fold copyright years.
18068 * malloc/mcheck.c, malloc/memusage.c: Likewise.
18069
61d58174
AO
180702012-09-05 Alexandre Oliva <aoliva@redhat.com>
18071
18072 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
18073
20196a5e
AO
180742012-09-05 Alexandre Oliva <aoliva@redhat.com>
18075
18076 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
18077
5c447383
AO
180782012-09-05 Alexandre Oliva <aoliva@redhat.com>
18079
18080 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
18081 change internal state upon failure.
18082
fad64255
AO
180832012-09-05 Alexandre Oliva <aoliva@redhat.com>
18084
18085 * malloc/mcheck.c (mcheck_check_all): Fix typo.
18086 * malloc/memusage.c (mmap): Likewise.
18087 (mmap64, mremap): Likewise. Adjust name in comment.
18088
1ffb8c90
SP
180892012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18090
18091 * libio/fileops.c: Fix typos in comments.
18092 * libio/oldfileops.c: Likewise.
18093 * libio/wfileops.c: Likewise.
18094
6ef9cc37
SP
180952012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18096
18097 [BZ #1349]
18098 * malloc/Makefile (tests): Add tst-malloc-usable test case.
18099 (tst-malloc-usable-ENV): Set environment for test case.
18100 * malloc/hooks.c (malloc_check_get_size): New function to get
18101 requested size.
18102 * malloc/malloc.c (musable): Use malloc_check_get_size.
18103 * malloc/tst-malloc-usable.c: New test case.
18104
4d038ae3
AS
181052012-09-05 Andreas Schwab <schwab@linux-m68k.org>
18106
18107 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
18108
c4e85184
AM
181092012-09-05 Allan McRae <allan@archlinux.org>
18110
b9dafc56 18111 [BZ #13966]
c4e85184
AM
18112 * configure.in (CXX_SYSINCLUDES): Use compiler output to
18113 determine header location.
18114 * configure: Regenerated.
18115
e1343020
AS
181162012-09-05 Andreas Schwab <schwab@linux-m68k.org>
18117
18118 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
18119 float format.
18120 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
18121 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
18122 format.
e1343020
AS
18123 (test): Regenerate.
18124
0a9f1987
DM
181252012-09-04 David S. Miller <davem@davemloft.net>
18126
18127 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
18128 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
18129 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
18130
29237804
FW
181312012-09-04 Florian Weimer <fweimer@redhat.com>
18132
18133 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
18134 failures.
18135
edb3cb88
FW
18136 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
18137
60160d83
JM
181382012-09-04 Joseph Myers <joseph@codesourcery.com>
18139
18140 [BZ #9914]
18141 * libio/iogetdelim.c: Include <limits.h>.
18142 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
18143 + len + 1 would overflow.
18144
bcd6c8dc
AJ
181452012-09-03 Andreas Jaeger <aj@suse.de>
18146
18147 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18148 * sysdeps/i386/fpu/libm-test-ulps: Update.
18149
4ffffbd2
LD
181502012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18151
18152 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18153 Add s_sinf-sse2, s_conf-sse2.
18154
18155 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
18156 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
18157 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
18158 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
18159
18160 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
18161 for using routine as __sinf_ia32.
18162 Use macro for function declaration and weak_alias.
18163 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
18164 for using routine as __cosf_ia32.
18165 Use macro for function declaration and weak_alias.
18166
18167 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
18168 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
18169
18170 * sysdeps/x86_64/fpu/s_sinf.S: New file.
18171 * sysdeps/x86_64/fpu/s_cosf.S: New file.
18172 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18173
18174 * math/libm-test.inc (cos_test): Add more test cases.
18175 (sin_test): Likewise.
18176 (sincos_test): Likewise.
18177
511fa286
AK
181782012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18179
18180 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
18181 (IFUNC_RESOLVE): Make pointers to the specialized implementations
18182 hidden.
18183 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18184
5f30cfec
L
181852012-09-02 H.J. Lu <hongjiu.lu@intel.com>
18186
18187 [BZ #14538]
18188 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
18189 first element of the GOT.
18190 (elf_machine_load_address): Return the difference between
18191 the runtime address of _DYNAMIC and elf_machine_dynamic ().
18192
0786794f
AM
181932012-09-01 Allan McRae <allan@archlinux.org>
18194
5f30cfec
L
18195 [BZ #13412]
18196 * configure.in (AWK): Require gawk version 3.0 or later.
18197 * configure: Regenerated.
0786794f 18198
26889eac
JM
181992012-09-01 Joseph Myers <joseph@codesourcery.com>
18200
18201 * sysdeps/unix/sysv/linux/kernel-features.h
18202 (__ASSUME_POSIX_CPU_TIMERS): Remove.
18203 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18204 [__NR_clock_getres]: Make code unconditional.
18205 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
18206 (clock_getcpuclockid): Remove code left unreachable by removal of
18207 conditionals.
18208 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
18209 code unconditional.
18210 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18211 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18212 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
18213 Make code unconditional.
18214 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18215 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18216 * sysdeps/unix/sysv/linux/clock_settime.c
18217 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
18218 conditional code.
18219 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
18220 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18221
d22e28b0
L
182222012-08-29 H.J. Lu <hongjiu.lu@intel.com>
18223
18224 [BZ #14476]
18225 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
18226 scripts/test-installation.pl.
18227
18228 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
18229 and $ld_so_version if it is set.
18230
050af9c4
SP
182312012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18232
18233 [BZ #14516]
18234 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
18235 failure if reading from procfs failed.
18236 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
18237
ad845c0b
JM
182382012-08-27 Joseph Myers <joseph@codesourcery.com>
18239
18240 * sysdeps/unix/sysv/linux/kernel-features.h
18241 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
18242 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18243 Remove conditional code.
18244 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18245 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
18246 Remove conditional code.
18247 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18248 * sysdeps/unix/sysv/linux/i386/fxstat.c
18249 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18250 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18251 * sysdeps/unix/sysv/linux/i386/fxstatat.c
18252 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18253 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18254 * sysdeps/unix/sysv/linux/i386/lxstat.c
18255 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18256 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18257 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
18258 Remove conditional code.
18259 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18260 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18261 Remove conditional code.
18262 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18263 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
18264 <kernel-features.h>.
18265 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
18266 Remove.
18267 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
18268 Remove conditional code.
18269 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18270 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
18271 Remove conditional.
18272
5dbf56af
MF
182732012-08-27 Mike Frysinger <vapier@gentoo.org>
18274
18275 [BZ #5400]
18276 * NEWS: Add fixed bug number.
18277
d6e70f43
JM
182782012-08-27 Joseph Myers <joseph@codesourcery.com>
18279
7efb4737
JM
18280 [BZ #14519]
18281 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
18282 underflowing exponent in case of negative sign.
18283 * stdlib/tst-strtod-round-data: Add more tests.
18284 * stdlib/tst-strtod-round.c (tests): Regenerated.
18285
af92131a
JM
18286 [BZ #3479]
18287 * stdlib/strtod_l.c (NDIG): Remove.
18288 (HEXNDIG): Likewise.
18289 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
18290 smallest representable value.
18291 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
18292 lie within an exact representation of 1/2 ulp of the result.
18293 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
18294 unconditionally.
18295 (TENS_P9_IDX): Define unconditionally.
18296 (TENS_P9_SIZE): Likewise.
18297 (TENS_P10_IDX): Likewise.
18298 (TENS_P10_SIZE): Likewise.
18299 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
18300 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
18301 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
18302 entries for 10^2^13 and 10^2^14.
18303 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
18304 (TENS_P13_IDX): Define.
18305 (TENS_P13_SIZE): Likewise.
18306 (TENS_P14_IDX): Likewise.
18307 (TENS_P14_SIZE): Likewise.
18308 (_fpioconst_pow10): Change array size to
18309 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
18310 unconditional.
18311 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
18312 1024]: Add entries for 10^2^13 and 10^2^14.
18313 [LAST_POW10 > _LAST_POW10]: Remove #error.
18314 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
18315 (_fpioconst_pow10): Change array size to
18316 FPIOCONST_POW10_ARRAY_SIZE.
18317 * stdlib/gen-fpioconst.c: New file.
18318 * stdlib/gen-tst-strtod-round.c: Likewise.
18319 * stdlib/tst-strtod-round-data: Likewise.
18320 * stdlib/tst-strtod-round.c: Likewise.
18321 * stdlib/Makefile (tests): Add tst-strtod-round.
18322
d6e70f43
JM
18323 [BZ #14459]
18324 * stdlib/strtod_l.c: Include <stdint.h>.
18325 (NDEBUG): Do not define.
18326 (round_and_return): Change EXPONENT parameter to type intmax_t.
18327 Rearrange calculations to avoid internal overflow possibilities.
18328 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
18329 Rearrange calculations to avoid internal overflow possibilities.
18330 Assert that number fits inside MPNSIZE limbs.
18331 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
18332 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
18333 calculations and add assertions to avoid internal overflow
18334 possibilities. Add casts to avoid signed/unsigned operations.
18335 * stdlib/tst-strtod-overflow.c: New file.
18336 * stdlib/Makefile (tests): Add tst-strtod-overflow.
18337
1f529f7d
MP
183382012-08-25 Marek Polacek <polacek@redhat.com>
18339
18340 * time/time.h: Fix some typos in comments.
18341
59a629f1
RM
183422012-08-23 Roland McGrath <roland@hack.frob.com>
18343
18344 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
18345 * posix/tst-rfc3484-2.c: Likewise.
18346 * posix/tst-rfc3484-3.c: Likewise.
18347
d3bafbc9
SM
183482012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
18349
18350 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
18351 (EF_ARM_ABI_FLOAT_HARD): Likewise.
18352
4efcc022
JM
183532012-08-23 Joseph Myers <joseph@codesourcery.com>
18354
18355 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
18356 #include of fxstatat64.c.
18357
3cc3ef96
RM
183582012-08-22 Roland McGrath <roland@hack.frob.com>
18359
f04e2132
RM
18360 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
18361 * shadow/getspent_r.c: Likewise.
18362 * shadow/getspnam.c: Likewise.
18363 * shadow/getspnam_r.c: Likewise.
18364 * gshadow/getsgent.c: Likewise.
18365 * gshadow/getsgent_r.c: Likewise.
18366 * gshadow/getsgnam.c: Likewise.
18367 * gshadow/getsgnam_r.c: Likewise.
18368 * inet/getnetbyad.c: Likewise.
18369 * inet/getnetbyad_r.c: Likewise.
18370 * inet/getnetbynm.c: Likewise.
18371 * inet/getnetbynm_r.c: Likewise.
18372 * inet/getnetent.c: Likewise.
18373 * inet/getnetent_r.c: Likewise.
18374 * inet/getproto.c: Likewise.
18375 * inet/getproto_r.c: Likewise.
18376 * inet/getprtent.c: Likewise.
18377 * inet/getprtent_r.c: Likewise.
18378 * inet/getprtname.c: Likewise.
18379 * inet/getprtname_r.c: Likewise.
18380 * inet/getrpcbyname.c: Likewise.
18381 * inet/getrpcbyname_r.c: Likewise.
18382 * inet/getrpcbynumber.c: Likewise.
18383 * inet/getrpcbynumber_r.c: Likewise.
18384 * inet/getrpcent.c: Likewise.
18385 * inet/getrpcent_r.c: Likewise.
18386 * inet/getaliasent.c: Likewise.
18387 * inet/getaliasent_r.c: Likewise.
18388 * inet/getaliasname.c: Likewise.
18389 * inet/getaliasname_r.c: Likewise.
18390 * nscd/getgrgid_r.c: Likewise.
18391 * nscd/getgrnam_r.c: Likewise.
18392 * nscd/gethstbyad_r.c: Likewise.
18393 * nscd/gethstbynm3_r.c: Likewise.
18394 * nscd/getpwnam_r.c: Likewise.
18395 * nscd/getpwuid_r.c: Likewise.
18396 * nscd/getsrvbynm_r.c: Likewise.
18397 * nscd/getsrvbypt_r.c: Likewise.
18398 * nscd/gai.c: Likewise.
18399
c53d909c
RM
18400 * configure.in (build_nscd): New substituted variable, set
18401 by --disable-build-nscd and defaults to $use_nscd.
18402 * configure: Regenerated.
18403 * config.make.in (build-nscd): New substituted variable.
18404 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
18405 Change conditional to require [$(build-nscd) = yes] as well.
18406 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
18407
3cc3ef96
RM
18408 [BZ# 13696]
18409 * configure.in (use_nscd): New substituted variable, set by
18410 --disable-nscd. If enabled, define USE_NSCD.
18411 * configure: Regenerated.
18412 * config.h.in: Add USE_NSCD.
18413 * config.make.in (use-nscd): New substituted variable.
18414 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18415 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
18416 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
18417 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
18418 (CFLAGS-getgrnam_r.c): Likewise.
18419 (CFLAGS-initgroups.c): Likewise.
18420 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
18421 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
18422 Variables removed.
18423 * inet/getnetgrent_r.c
18424 (nscd_setnetgrent): New function, broken out of ...
18425 (setnetgrent): ... here. Call it.
18426 (innetgr): Conditionalize nscd bits on [USE_NSCD].
18427 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
18428 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
18429 * nscd/Makefile (routines, aux): Move definitions after include of
18430 Makeconfig. Conditionalize on [$(use-nscd) != no].
18431 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
18432 Conditionalize on [USE_NSCD].
18433 (is_nscd, nscd_init_cb): Likewise.
18434 (nss_load_library): Conditionalize init callback on [USE_NSCD].
18435 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
18436 * nss/nss_db/db-init.c: Likewise.
18437 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
18438 [USE_NSCD].
18439 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
18440 (make_request): Use it.
18441 (cache_valid_p): New function.
18442 (__check_pf): Use it.
18443 * NEWS: Add item for --disable-nscd.
18444
07e51550
DL
184452012-08-22 Dmitry V. Levin <ldv@altlinux.org>
18446
18447 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
18448 to support sed >= 4.2.1-20-ga9bf076.
18449 * configure: Regenerated.
18450
35a5b08b
RM
184512012-08-22 Roland McGrath <roland@hack.frob.com>
18452
18453 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
18454 Conditionalize whole body on [IREL].
18455
8479f23a
JL
184562012-08-22 Jeff Law <law@redhat.com>
18457
18458 [BZ #14505]
18459 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
18460 if the family is PF_UNSPEC.
18461
48da0b21
MF
184622012-08-22 Mike Frysinger <vapier@gentoo.org>
18463
18464 * Makerules (lib-version): Rename from V.
18465 (install-lib-nosubdir): Change V to lib-version.
18466
15d0da8c
WS
184672012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
18468
18469 [BZ #14252]
18470 * powerpc32/power6/wcschr.c: New file.
18471 * powerpc32/power6/wcscpy.c: New file.
18472 * powerpc32/power6/wcsrchr.c: New file.
18473 * powerpc64/power6/wcschr.c: New file.
18474 * powerpc64/power6/wcscpy.c: New file.
18475 * powerpc64/power6/wcsrchr.c: New file.
18476
bcca0895
MK
184772012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
18478
18479 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
18480 (two_way_short_needle): Use it.
5a4aaa33
RM
18481 * string/strstr.c (AVAILABLE1_USES_J): Define.
18482 * string/strcasestr.c: Likewise.
99677e57
MK
18483
18484 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
18485 array references.
18486 * string/strcasestr.c (TOLOWER): Make side-effect safe.
18487
400726de
MK
18488 [BZ #11607]
18489 * NEWS: Add an entry.
18490 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
18491 define their defaults.
18492 (two_way_short_needle): Detect end-of-string on-the-fly.
18493 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
18494 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
18495 * string/bug-strcasestr1.c: New test.
18496 * string/Makefile: Run it.
18497
20a71f2c
MK
184982012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
18499
18500 [BZ #11607]
18501 * string/str-two-way.h (two_way_short_needle): Optimize matching of
18502 the first character.
18503
21ad0558
RM
185042012-08-21 Roland McGrath <roland@hack.frob.com>
18505
18506 * csu/elf-init.c (__libc_csu_irel): Function removed.
18507 * csu/libc-start.c (apply_irel): New function.
18508 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
18509
0e1d9911
JM
185102012-08-21 Joseph Myers <joseph@codesourcery.com>
18511
18512 * sysdeps/unix/sysv/linux/kernel-features.h
18513 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
18514 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18515 <kernel-features.h>.
18516 [__NR_fadvise64_64]: Make code unconditional.
18517 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
18518 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18519 !__NR_fadvise64_64)]: Likewise.
18520 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18521 !__NR_fadvise64_64))]: Likewise.
18522 [__NR_fadvise64]: Make code unconditional.
18523 [!__NR_fadvise64]: Remove conditional code.
18524 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
18525 <kernel-features.h>.
18526 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18527 unconditional.
18528 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18529 conditional code.
18530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
18531 not include <kernel-features.h>.
18532 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18533 unconditional.
18534 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18535 conditional code.
18536 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
18537 include <kernel-features.h>.
18538 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18539 unconditional.
18540 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18541 conditional code.
18542
14a50c9d
WS
185432012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
18544
18545 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
18546 slight instruction rearrangements per scrollpipe analysis.
18547 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18548
c0f4faf0
RM
185492012-08-20 Roland McGrath <roland@hack.frob.com>
18550
696da859
RM
18551 * manual/syslog.texi (syslog; vsyslog, closelog):
18552 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
18553 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
18554
c0f4faf0
RM
18555 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
18556 DSOCAPS to match condition on defining it.
18557
348363b2
JM
185582012-08-20 Joseph Myers <joseph@codesourcery.com>
18559
a35cbf28
JM
18560 * sysdeps/unix/sysv/linux/kernel-features.h
18561 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
18562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
18563 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18564 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
18566 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18567 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
18569 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18570 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18571
445f7ecd
JM
18572 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
18573 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
18574
348363b2
JM
18575 * sysdeps/unix/sysv/linux/kernel-features.h
18576 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
18577 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
18578 unconditional.
18579 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18580 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
18581 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18582 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18583 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
18584 Make code unconditional.
18585 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18586 (__mmap64) [!__NR_mmap2]: Likewise.
18587 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
18588 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18589 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18590 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
18591 [__NR_mmap2]: Make code unconditional.
18592 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18593 (__mmap64) [!__NR_mmap2]: Likewise.
18594
bc5bc0e5
AK
185952012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18596
18597 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
18598
88d506de
AJ
185992012-08-18 Andreas Jaeger <aj@suse.de>
18600
18601 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
18602
493387d2
MF
186032012-08-18 Mike Frysinger <vapier@gentoo.org>
18604
18605 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
18606 * include/unistd.h (__have_sock_cloexec): Likewise.
18607 (__have_pipe2): Likewise.
18608 (__have_dup3): Likewise.
18609
a277af22
MF
186102012-08-18 Mike Frysinger <vapier@gentoo.org>
18611
18612 [BZ #9685]
18613 * include/unistd.h (__have_pipe2): Change define into an extern int.
18614 (__have_dup3): Likewise.
18615 * socket/have_sock_cloexec.c: Include fcntl.h.
18616 (__have_pipe2): New variable.
18617 (__have_dup3): Likewise.
18618
fdab8fd3
MF
186192012-08-17 Mike Frysinger <vapier@gentoo.org>
18620
18621 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
18622
31035e80
MP
186232012-08-17 Marek Polacek <polacek@redhat.com>
18624
18625 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
18626 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
18627
3bd9e993
RM
186282012-08-17 Roland McGrath <roland@hack.frob.com>
18629
c91c505f
RM
18630 * configure.in: Add AC_SUBST for sysheaders.
18631 * configure: Regenerated.
18632 * config.make.in (sysheaders): New substituted variable.
18633
7c6f9d53
RM
18634 * sysdeps/unix/mkfifo.c: Moved ...
18635 * sysdeps/posix/mkfifo.c: ... here.
18636 * sysdeps/unix/mkfifoat.c: Moved ...
18637 * sysdeps/posix/mkfifoat.c: ... here.
18638
18639 * sysdeps/unix/utime.c: Moved ...
18640 * sysdeps/posix/utime.c: ... here.
18641
18642 * sysdeps/unix/time.c: Moved ...
18643 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
18644 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
18645 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
18646
18647 * sysdeps/unix/nice.c: Moved ...
18648 * sysdeps/posix/nice.c: ... here.
18649
18650 * sysdeps/unix/alarm.c: Moved ...
18651 * sysdeps/posix/alarm.c: ... here.
18652
3bd9e993
RM
18653 * intl/Makefile ($(codeset_mo)): Depend on the input file.
18654
d1f09384
JL
186552012-08-17 Jeff Law <law@redhat.com>
18656
18657 * intl/Makefile (codeset_mo): New variable.
18658 ($(codeset_mo)): New target.
18659 (tst-codeset.out): Depend on that. Remove explicit rule.
18660 (tst-gettext3.out, tst-gettext5.out): Likewise.
18661 (LOCPATH-ENV, tst-codeset-ENV): New variables.
18662 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
18663 * intl/tst-codeset.sh: Remove.
18664 * intl/tst-gettext3.sh: Likewise.
18665 * intl/tst-gettext5.sh: Likewise.
18666
2ae1ae5c
RM
186672012-08-17 Roland McGrath <roland@hack.frob.com>
18668
c31fdb83
RM
18669 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
18670 * sysdeps/unix/syscalls.list: ... here.
18671
a0844057
RM
18672 * sysdeps/posix/getaddrinfo.c
18673 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
18674 (gaiconf_init, gaiconf_reload): Use them.
18675 [!_STATBUF_ST_NSEC]
18676 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
18677 Define using time_t rather than struct timespec.
18678
750c1f2a
RM
18679 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
18680 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
18681 Macros removed.
18682 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
18683 [!NO_THREADS].
18684 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
18685 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
18686 Likewise.
18687
2ae1ae5c
RM
18688 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
18689 __libc_cleanup_push argument.
18690
e66a42f5
RM
18691 * bits/param.h: New file.
18692 * misc/sys/param.h: New file.
18693 * include/sys/param.h: New file.
18694 * misc/Makefile (headers): Add bits/param.h.
18695 * sysdeps/generic/sys/param.h: File removed.
18696 * sysdeps/unix/sysv/linux/bits/param.h: New file.
18697 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
18698 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 18699 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 18700
b7c08a66
RM
18701 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
18702 last change.
18703
b2e1c562
RM
18704 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
18705 [_IO_MTSAFE_IO].
18706 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
18707 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
18708 New macros.
18709
c75ccd4c
RM
18710 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
18711 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
18712 rather than -D_IO_MTSAFE_IO conditionally.
18713 * stdio-common/Makefile (CPPFLAGS): Likewise.
18714 * wcsmbs/Makefile (CPPFLAGS): Likewise.
18715 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
18716 Use $(libio-mtsafe).
18717 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
18718 of -D_IO_MTSAFE_IO.
18719 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
18720 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
18721 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
18722 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
18723 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
18724 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
18725 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
18726 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
18727 (CFLAGS-fread_u_chk.c): Likewise.
18728 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
18729 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
18730 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
18731 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
18732 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
18733 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
18734 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
18735 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
18736 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
18737
18738 * libio/Makefile: Test [$(libc-reentrant) = yes]
18739 instead of [$(filter %REENTRANT, $(defines)) nonempty].
18740
18741 * Makeconfig
18742 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
18743 * sysdeps/pthread/configure: File removed.
18744 * sysdeps/pthread/Makeconfig: New file.
18745 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
18746 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
18747
d9195db8
GB
187482012-08-16 Gary Benson <gbenson@redhat.com>
18749
18750 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
18751 unmapping the first object in a namespace.
18752
86466cd9
RM
187532012-08-16 Roland McGrath <roland@hack.frob.com>
18754
18755 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
18756 (__internal_setnetgrent): ... this. Add internal_function to
18757 definition. Add libc_hidden_def.
18758 (setnetgrent): Update caller.
18759 (internal_endnetgrent): Renamed to ...
18760 (__internal_endnetgrent): ... this. Add internal_function to
18761 definition. Add libc_hidden_def.
18762 (endnetgrent): Update caller.
18763 (internal_getnetgrent_r): Renamed to ...
18764 (__internal_getnetgrent_r): ... this. Add internal_function to
18765 definition. Add libc_hidden_def.
18766 (__getnetgrent_r): Update caller.
18767 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
18768
c3c8283c
JM
187692012-08-16 Joseph Myers <joseph@codesourcery.com>
18770
18771 * stdlib/longlong.h: Update from GCC.
18772
db1ee0a8
RM
187732012-08-16 Roland McGrath <roland@hack.frob.com>
18774
18775 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
18776 on _QL, which is set by umul_ppmm but never used.
18777 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
18778 variables, which are set by GMP macros but never used.
18779 * stdio-common/_itowa.c (_itowa): Likewise.
18780 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
18781 * stdlib/mod_1.c (mpn_mod_1): Likewise.
18782
30f69637
CD
187832012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
18784
18785 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
18786 struct La_sh_regs is not constant.
18787 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
18788 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
18789 and struct La_sparc64_regs are not constant.
18790
93a78ac4
JM
187912012-08-16 Joseph Myers <joseph@codesourcery.com>
18792
18793 * sysdeps/unix/sysv/linux/kernel-features.h
18794 (__ASSUME_POSIX_TIMERS): Remove.
18795 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18796 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18797 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
18798 Make code unconditional.
18799 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18800 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
18801 Make code unconditional.
18802 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18803 * sysdeps/unix/sysv/linux/clock_nanosleep.c
18804 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
18805 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18806 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
18807 Make code unconditional.
18808 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18809 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
18810 (__libc_missing_posix_timers): Remove.
18811
dd924cd7
RM
188122012-08-15 Roland McGrath <roland@hack.frob.com>
18813
4b4f2771
RM
18814 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
18815 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
18816
601c888b
RM
18817 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
18818
176790a7
RM
18819 * elf/dl-sym.c: Include <stdlib.h>.
18820
329bc018
RM
18821 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
18822 constants, which avoids warnings in 32-bit builds.
18823
e04e272d
RM
18824 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
18825 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
18826
952bf94a
RM
18827 * misc/lseek.c: File moved to ...
18828 * io/lseek.c: ... here.
18829
7c99b50a
RM
18830 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
18831
dd924cd7
RM
18832 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
18833 shifting LEN more than 31 bits at once.
18834
b3f479a8
LD
188352012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18836
18837 [BZ #14195]
8c4ae0d4
RM
18838 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
18839 segmentation fault for a case of two empty input strings.
b3f479a8
LD
18840 * string/test-strncasecmp.c (check1): Renamed to...
18841 (bz12205): ...this.
18842 (bz14195): Add new testcase for two empty input strings and N > 0.
18843 (test_main): Call new testcase, adapt for renamed function.
18844
9c55864e
AJ
188452012-08-15 Andreas Jaeger <aj@suse.de>
18846
18847 [BZ #14090]
18848 * crypt/md5test2.c: New test, based on test supplied by Serge
18849 Belyshev <belyshev@depni.sinp.msu.ru>.
18850 * crypt/Makefile (xtests): Add md5test-giant..
18851 * crypt/Makefile ($(objpfx)md5test-giant): Add.
18852
02dcb6c5
PE
188532012-08-15 Paul Eggert <eggert@cs.ucla.edu>
18854
18855 [BZ #14090]
18856 * crypt/md5.c (md5_process_block): Don't assume the buffer
18857 length is less than 2**32.
18858 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
18859 length is less than 2**64.
18860
a3f95dcc
RM
188612012-08-15 Roland McGrath <roland@hack.frob.com>
18862
be75d758
RM
18863 * string/str-two-way.h: Include <sys/param.h>.
18864 (MAX): Macro removed.
18865
7312ca90
RM
18866 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
18867 Move #define and #undef of memmove to just before and after
18868 including <string.h>.
18869
9a0a5486
RM
18870 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
18871 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
18872 and after including <string.h>. Move declarations of
18873 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
18874 to before #include "string/memmove.c".
18875
67cc348d
RM
18876 * include/dirent.h: Declare __getdirentries.
18877
a3f95dcc
RM
18878 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
18879 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
18880
ca98e171
MF
188812012-08-14 Mike Frysinger <vapier@gentoo.org>
18882
18883 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
18884 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
18885 * sysdeps/i386/configure: Regenerated.
18886 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
18887 STABS_CURRENT_FILE, and STABS_FUN.
18888 (END): Remove call to STABS_FUN_END.
18889 (STABS_CURRENT_FILE1): Delete.
18890 (STABS_CURRENT_FILE): Likewise.
18891 (STABS_FUN): Likewise.
18892 (STABS_FUN_END): Likewise.
18893 (STABS_FUN2): Likewise.
18894 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
18895 * sysdeps/x86_64/configure: Regenerated.
18896
5908bf46
RM
188972012-08-14 Roland McGrath <roland@hack.frob.com>
18898
18899 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 18900 * elf/dl-lookup.c: Likewise.
5908bf46 18901
f2c05b9e
JM
189022012-08-14 Joseph Myers <joseph@codesourcery.com>
18903
18904 * sysdeps/unix/sysv/linux/kernel-features.h
18905 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
18906 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
18907 unconditionally.
18908 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
18909 unconditionally.
18910 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
18911 condition on __ASSUME_CLONE_THREAD_FLAGS.
18912
e11f5155
AJ
189132012-08-14 Andreas Jaeger <aj@suse.de>
18914
18915 * sysdeps/i386/fpu/libm-test-ulps: Update.
18916
51a9ba86
MK
189172012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
18918
2fdd4f78
AJ
18919 * include/atomic.h (atomic_exchange_and_add): Split into ...
18920 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
18921 New atomic macros.
51a9ba86 18922
ba6cba9e
MT
189232012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
18924
18925 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18926
42443a47
JL
189272012-08-13 Jeff Law <law@redhat.com>
18928
18929 * manual/stdio.texi (snprintf): Clarify handling of the trailing
18930 null byte in the output string.
18931
121dce05
JM
189322012-08-10 Joseph Myers <joseph@codesourcery.com>
18933
18934 * sysdeps/unix/sysv/linux/kernel-features.h
18935 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
18936 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
18937 (__ASSUME_ARG_MAX_STACK_BASED): Define.
18938 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18939 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
18940 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
18941 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
18942
bf51f568
JL
189432012-08-09 Jeff Law <law@redhat.com>
18944
18945 [BZ #13939]
18946 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
18947 When avoid_arena is set, don't retry in the that arena. Pick the
18948 next one, whatever it might be.
18949 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
18950 (arena_lock): Pass in new parameter to arena_get2.
18951 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
18952 arena_get2.
18953 (__libc_malloc): Unify retrying after main arena failure with
18954 __libc_memalign version.
18955 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
18956
f85fa270
L
189572012-08-09 H.J. Lu <hongjiu.lu@intel.com>
18958
18959 [BZ #14166]
18960 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
18961 to __redirect_strstr.
18962 (__strstr_sse42): Use typeof __redirect_strstr.
18963 (__strstr_ia32): Likewise.
18964 (__libc_strstr): New prototype.
18965 (strstr): Renamed to ...
18966 (__libc_strstr): This.
18967 (strstr): New strong alias of __libc_strstr.
18968 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18969 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
18970 __redirect_time.
18971 Include <time.h>.
18972 (__libc_time): New prototype.
18973 (time_ifunc): Replace time with __libc_time.
18974 (time): New strong alias and hidden definition of __libc_time.
18975 (__GI_time): Remove strong alias.
18976 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
18977 Include <stddef.h>.
18978 (memmove): Redefined to __redirect_memmove.
18979 (__memmove_sse2): Use typeof __redirect_memmove.
18980 (__memmove_ssse3): Likewise.
18981 (__memmove_ssse3_back): Likewise.
18982 (__libc_memmove): New prototype.
18983 (memmove): Renamed to ...
18984 (__libc_memmove): This.
18985 (memmove): New strong alias of __libc_memmove.
18986
33b4a91e
MS
189872012-08-08 Mark Salter <msalter@redhat.com>
18988
18989 * elf/elf.h
18990 (R_MN10300_TLS_GD): Define.
18991 (R_MN10300_TLS_LD): Likewise.
18992 (R_MN10300_TLS_LDO): Likewise.
18993 (R_MN10300_TLS_GOTIE): Likewise.
18994 (R_MN10300_TLS_IE): Likewise.
18995 (R_MN10300_TLS_LE): Likewise.
18996 (R_MN10300_TLS_DTPMOD): Likewise.
18997 (R_MN10300_TLS_DTPOFF): Likewise.
18998 (R_MN10300_TLS_TPOFF): Likewise.
18999 (R_MN10300_SYM_DIFF): Likewise.
19000 (R_MN10300_ALIGN): Likewise.
19001 (R_MN10300_NUM): Update.
19002
b36137f1
JM
190032012-08-08 Joseph Myers <joseph@codesourcery.com>
19004
19005 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
19006 Remove.
19007
cdd915fd
RM
190082012-08-08 Roland McGrath <roland@hack.frob.com>
19009
a2433aac
RM
19010 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
19011
cdd915fd
RM
19012 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
19013 sysdeps/unix -> sysdeps/posix move.
19014 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19015
bf9b740a
AM
190162012-08-07 Allan McRae <allan@archlinux.org>
19017
19018 [BZ #14303]
19019 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
19020 (SUNOS_CPP): Likewise.
19021 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
19022 not found.
19023 (open_input): Call CPP using execvp.
19024
93df14ee
JM
190252012-08-07 Joseph Myers <joseph@codesourcery.com>
19026
19027 * sysdeps/unix/sysv/linux/kernel-features.h
19028 (__ASSUME_PROT_GROWSUPDOWN): Remove.
19029 (__ASSUME_NO_CLONE_DETACHED): Likewise.
19030 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19031 (__ASSUME_WAITID_SYSCALL): Likewise.
19032 * sysdeps/unix/sysv/linux/dl-execstack.c
19033 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
19034 code unconditional.
19035 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
19036 conditional code.
19037 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
19038 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
19039 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
19040 code.
19041 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
19042 unconditional.
19043 [__ASSUME_WAITID_SYSCALL]: Likewise.
19044 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
19045
d34689de
RM
190462012-08-07 Roland McGrath <roland@hack.frob.com>
19047
a281decc
RM
19048 * sysdeps/unix/closedir.c: Renamed to ...
19049 * sysdeps/posix/closedir.c: ... here.
19050 * sysdeps/unix/dirfd.c: Renamed to ...
19051 * sysdeps/posix/dirfd.c: ... here.
19052 * sysdeps/unix/dirstream.h: Renamed to ...
19053 * sysdeps/posix/dirstream.h: ... here.
19054 * sysdeps/unix/fdopendir.c: Renamed to ...
19055 * sysdeps/posix/fdopendir.c: ... here.
19056 * sysdeps/unix/opendir.c: Renamed to ...
19057 * sysdeps/posix/opendir.c: ... here.
19058 * sysdeps/unix/readdir.c: Renamed to ...
19059 * sysdeps/posix/readdir.c: ... here.
19060 * sysdeps/unix/readdir_r.c: Renamed to ...
19061 * sysdeps/posix/readdir_r.c: ... here.
19062 * sysdeps/unix/rewinddir.c: Renamed to ...
19063 * sysdeps/posix/rewinddir.c: ... here.
19064 * sysdeps/unix/seekdir.c: Renamed to ...
19065 * sysdeps/posix/seekdir.c: ... here.
19066 * sysdeps/unix/telldir.c: Renamed to ...
19067 * sysdeps/posix/telldir.c: ... here.
19068 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
19069 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
19070 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
19071 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
19072
22895b47
RM
19073 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
19074 * bits/fcntl.h: ... here.
19075
707a53b6
RM
19076 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
19077 not 0.
19078 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
19079 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
19080 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
19081 (struct flock): Move l_start, l_len to the beginning.
19082 Use __pid_t for l_pid.
19083 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
19084 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
19085 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
19086 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
19087 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
19088 [__USE_LARGEFILE64] (struct flock64): New type.
19089 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
19090
f0bd3e25
RM
19091 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
19092 * bits/dirent.h: ... here.
19093
d34689de
RM
19094 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
19095 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
19096
6dad2c06
JM
190972012-08-07 Joseph Myers <joseph@codesourcery.com>
19098
19099 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19100 Change from 2.6.0 to 2.6.16.
19101 * sysdeps/unix/sysv/linux/configure: Regenerated.
19102 * sysdeps/unix/sysv/linux/kernel-features.h
19103 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
19104 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
19105 version.
19106 (__ASSUME_UTIMES): Likewise.
19107 (__ASSUME_CLONE_STOPPED): Remove.
19108 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
19109 architectures, not kernel version.
19110 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
19111 (__ASSUME_NO_CLONE_DETACHED): Likewise.
19112 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19113 (__ASSUME_WAITID_SYSCALL): Likewise.
19114 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
19115 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
19116 * README: State 2.6.16 as minimum Linux kernel version. Do not
19117 refer to older versions.
19118
03af9520
RM
191192012-08-06 Roland McGrath <roland@hack.frob.com>
19120
8e49df1d
RM
19121 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
19122 Define alphasort64 as an alias.
19123 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
19124 Define versionsort64 as an alias.
19125 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
19126 Define scandir64 as an alias.
19127 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
19128 Define scandirat64 as an alias.
19129 * dirent/alphasort64.c (alphasort64):
19130 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
19131 * dirent/versionsort64.c: Likewise.
19132 * dirent/scandir64.c: Likewise.
19133 * dirent/scandirat64.c: Likewise.
19134 * sysdeps/wordsize-64/alphasort.c: File removed.
19135 * sysdeps/wordsize-64/alphasort64.c: File removed.
19136 * sysdeps/wordsize-64/scandir.c: File removed.
19137 * sysdeps/wordsize-64/scandir64.c: File removed.
19138 * sysdeps/wordsize-64/scandirat.c: File removed.
19139 * sysdeps/wordsize-64/scandirat64.c: File removed.
19140 * sysdeps/wordsize-64/versionsort.c: File removed.
19141 * sysdeps/wordsize-64/versionsort64.c: File removed.
19142 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
19143 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
19144 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
19145 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
19146 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
19147 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
19148 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
19149 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
19150
19151 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
19152 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19153 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
19154 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19155 [defined __arch64__ || defined __sparcv9]
19156 (__INO_T_MATCHES_INO64_T): New macro.
19157 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19158 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
19159 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
19160 * sysdeps/unix/sysv/linux/bits/dirent.h
19161 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
19162 (_DIRENT_MATCHES_DIRENT64): New macro.
19163
03af9520
RM
19164 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
19165 Define lockf64 as an alias.
19166 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
19167 Define fseeko64 as an alias.
19168 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
19169 Define ftello64 as an alias.
19170 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
19171 Define _IO_fgetpos64 and fgetpos64 as aliases.
19172 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
19173 Define _IO_fsetpos64 and fsetpos64 as aliases.
19174 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
19175 Conditionalize body on this.
19176 * libio/fseeko64.c: Likewise.
19177 * libio/ftello64.c: Likewise.
19178 * libio/iofgetpos64.c: Likewise.
19179 * libio/iofsetpos64.c: Likewise.
19180 * sysdeps/wordsize-64/lockf.c: File removed.
19181 * sysdeps/wordsize-64/lockf64.c: File removed.
19182 * sysdeps/wordsize-64/fseeko.c: File removed.
19183 * sysdeps/wordsize-64/fseeko64.c: File removed.
19184 * sysdeps/wordsize-64/ftello.c: File removed.
19185 * sysdeps/wordsize-64/ftello64.c: File removed.
19186 * sysdeps/wordsize-64/iofgetpos.c: File removed.
19187 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
19188 * sysdeps/wordsize-64/iofsetpos.c: File removed.
19189 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
19190 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
19191 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
19192 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
19193 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
19194 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
19195 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
19196 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
19197 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
19198 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
19199 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
19200
19201 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19202 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19203 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
19204 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19205 [defined __arch64__ || defined __sparcv9]
19206 (__OFF_T_MATCHES_OFF64_T): New macro.
19207 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19208 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19209 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19210 (__OFF_T_MATCHES_OFF64_T): New macro.
19211
c5757acd
L
192122012-08-06 H.J. Lu <hongjiu.lu@intel.com>
19213
19214 * stdlib/secure-getenv.c (__secure_getenv): Replace
19215 GLIBC_2_16 with GLIBC_2_17.
19216
3a31811e
L
192172012-08-06 H.J. Lu <hongjiu.lu@intel.com>
19218
19219 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
19220 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19221
faa2bccb
DM
192222012-08-03 David S. Miller <davem@davemloft.net>
19223
19224 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19225
85fe1997
JM
192262012-08-03 Joseph Myers <joseph@codesourcery.com>
19227
19228 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
19229 Remove.
19230 (__ASSUME_CORRECT_SI_PID): Likewise.
19231 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
19232 (__ASSUME_TMPFS_NAME): Likewise.
19233 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
19234 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
19235 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
19236 (HAVE_AUX_SECURE): Make definition unconditional.
19237 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
19238 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
19239
4f75b7a0
RM
192402012-08-03 Roland McGrath <roland@hack.frob.com>
19241
19242 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
19243 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
19244 * sysdeps/mach/hurd/eloop-threshold.h: New file.
19245 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19246 __eloop_threshold instead of SYMLOOP_MAX.
19247
19248 * sysdeps/generic/eloop-threshold.h: New file.
19249 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
19250 of MAXSYMLINKS.
19251 * elf/chroot_canon.c (chroot_canon): Likewise.
19252
7aab07e4
JM
192532012-08-03 Joseph Myers <joseph@codesourcery.com>
19254
19255 [BZ #13717]
19256 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19257 Change to 2.6.0 everywhere.
19258 * sysdeps/unix/sysv/linux/configure: Regenerated.
19259 * sysdeps/unix/sysv/linux/kernel-features.h
19260 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
19261 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
19262 kernel versions.
19263 (__ASSUME_POSIX_TIMERS): Define unconditionally.
19264 (__ASSUME_FUTEX_REQUEUE): Remove.
19265 (__ASSUME_STATFS64): Define unconditionally.
19266 (__ASSUME_AT_SECURE): Likewise.
19267 (__ASSUME_CORRECT_SI_PID): Likewise.
19268 (__ASSUME_TGKILL): Define without depending on kernel version for
19269 i386.
19270 (__ASSUME_UTIMES): Likewise.
19271 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
19272 kernel version.
19273 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
19274 (__ASSUME_TMPFS_NAME): Likewise.
19275 * README: Update reference to Linux kernel versions.
19276
b67e9372
MP
192772012-08-02 Marek Polacek <polacek@redhat.com>
19278
1f529f7d 19279 [BZ# 14150]
b67e9372
MP
19280 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
19281 libc_cv_asm_type_prefix with %.
19282 * configure: Regenerated.
d2441631
RM
19283 * include/libc-symbols.h: Remove comment about
19284 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
19285 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
19286 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
19287 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
19288 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
19289 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19290 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
19291 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
19292 * elf/tst-unique2mod1.c: Likewise.
19293 * elf/tst-unique1mod2.c: Likewise.
19294 * elf/tst-unique1mod1.c: Likewise.
19295 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
19296 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
19297 Replace ASM_TYPE_DIRECTIVE with .type.
19298 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19299 * sysdeps/i386/sysdep.h: Likewise.
19300 * sysdeps/x86_64/sysdep.h: Likewise.
19301 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
19302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19303 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 19304 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
19305 * sysdeps/powerpc/powerpc32/sysdep.h:
19306 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
19307 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19308 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19309 * sysdeps/i386/fpu/e_powf.S: Likewise.
19310 * sysdeps/i386/fpu/e_expl.S: Likewise.
19311 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19312 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19313 * sysdeps/i386/fpu/e_pow.S: Likewise.
19314 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19315 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19316 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19317 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19318 * sysdeps/i386/fpu/e_log2.S: Likewise.
19319 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19320 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19321 * sysdeps/i386/fpu/e_powl.S: Likewise.
19322 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19323 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19324 * sysdeps/i386/fpu/e_logl.S: Likewise.
19325 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19326 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19327 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19328 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19329 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19330 * sysdeps/i386/fpu/e_log.S: Likewise.
19331 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19332 * sysdeps/i386/fpu/e_logf.S: Likewise.
19333 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19334 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19335 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19336 * sysdeps/i386/fpu/e_log10.S: Likewise.
19337 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19338 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19339 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19340 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19341 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19342 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
19343 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19344 * sysdeps/i386/i686/strtok.S: Likewise.
19345 * sysdeps/i386/i386-mcount.S: Likewise.
19346 * sysdeps/i386/strtok.S: Likewise.
19347 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
19348 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19349 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19350 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19351 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19352 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19353 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19354 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19355 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19356 * sysdeps/x86_64/_mcount.S: Likewise.
19357 * sysdeps/x86_64/strtok.S: Likewise.
19358 * sysdeps/sh/_mcount.S: Likewise.
19359
2747bf9a
RM
193602012-08-01 Roland McGrath <roland@hack.frob.com>
19361
19362 * libio/iofopen.c: Include <fcntl.h>.
19363 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
19364 (_IO_fopen64, fopen64): Define as aliases.
19365 * libio/iofopen64.c: Include <fcntl.h>.
19366 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
19367 Conditionalize body on this.
19368 * sysdeps/wordsize-64/iofopen.c: File removed.
19369 * sysdeps/wordsize-64/iofopen64.c: File removed.
19370
3fb791b8
MP
193712012-08-01 Marek Polacek <polacek@redhat.com>
19372
19373 * libc/Makeconfig: Use elf in place of binfmt-subdir.
19374 Use dlfcn directly instead of a variable.
19375 (binfmt-subdir): Do not define.
19376 (dlfcn): Likewise.
19377
a9f1039f
JM
193782012-08-01 Joseph Myers <joseph@codesourcery.com>
19379
23bddc06
JM
19380 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
19381 Remove all definitions.
19382 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
19383 <kernel-features.h>.
19384 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19385 (miss_F_GETOWN_EX): Remove all definitions.
19386 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
19387 macro definition.
19388 [!__ASSUME_FCNTL64]: Remove conditional code.
19389 [__ASSUME_FCNTL64]: Make code unconditional.
19390 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
19391 <kernel-features.h>.
19392 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19393 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
19394 (lockf64) [__NR_fcntl64]: Make code unconditional.
19395 (lockf64) [__ASSUME_FCNTL64]: Likewise.
19396
a9f1039f
JM
19397 * sysdeps/unix/sysv/linux/kernel-features.h
19398 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
19399 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
19400 Make code unconditional.
19401 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19402 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
19404 [__NR_vfork]: Make code unconditional.
19405 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19406 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
19408 [__NR_vfork]: Make code unconditional.
19409 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19410 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19411
09c0ee5f
RM
194122012-08-01 Roland McGrath <roland@hack.frob.com>
19413
48aec5b9
RM
19414 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
19415 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
19416
cd97c966
RM
19417 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19418 Define mkstemp64 as an alias.
3f55550c
RM
19419 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19420 Define mkstemps64 as an alias.
cd97c966
RM
19421 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19422 Define mkostemp64 as an alias.
b8625cfc
RM
19423 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19424 Define mkostemps64 as an alias.
cd97c966
RM
19425 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
19426 Conditionalize body on this.
19427 * misc/mkostemp64.c: Likewise.
b8625cfc 19428 * misc/mkostemps64.c: Likewise.
3f55550c 19429 * misc/mkstemps64.c: Likewise.
cd97c966
RM
19430 * sysdeps/wordsize-64/mkstemp64.c: File removed.
19431 * sysdeps/wordsize-64/mkostemp64.c: File removed.
19432 * sysdeps/wordsize-64/mkostemp.c: File removed.
19433 * sysdeps/wordsize-64/mkstemp.c: File removed.
19434 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
19435 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
19436 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
19437 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
19438
09c0ee5f
RM
19439 [BZ #14138]
19440 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
19441 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
19442 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
19443 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
19444
19445 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
19446 compat_symbol macros from <shlib-compat.h> rather than the underlying
19447 default_symbol_version and symbol_version macros, so that DEFAULT
19448 lines in shlib-versions are respected.
19449 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
19450
7e66ee51
FW
194512012-08-01 Florian Weimer <fweimer@redhat.com>
19452
19453 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
19454 Declare with warn_unused_result.
19455 (setgid, setregid, setegid, setresgid): Likewise.
19456 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
19457 Likewise.
19458 * WUR-REPORT: Remove set*id functions.
19459
d2a54255
PT
194602012-07-31 Pino Toscano <toscano.pino@tiscali.it>
19461
19462 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
19463
7ecdb005
RM
194642012-07-31 Roland McGrath <roland@hack.frob.com>
19465
b4180a5e 19466 [BZ #10191]
789bd351
RM
19467 * include/sys/socket.h (__libc_accept, __libc_accept4):
19468 Add attribute_hidden.
19469 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
19470
40ce302d
RM
19471 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
19472 use of PTR_MANGLE.
19473 * inet/getnetgrent_r.c (setup): Likewise.
19474
7ecdb005
RM
19475 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
19476
e2eabb2c
DM
194772012-07-31 David S. Miller <davem@davemloft.net>
19478
19479 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19480
d0419dbf
JM
194812012-07-31 Joseph Myers <joseph@codesourcery.com>
19482
19483 [BZ #13629]
19484 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
19485 value between 1.0 and 2.0 and smaller part has absolute value less
19486 than 1.0.
19487 * math/s_clog10.c (__clog10): Likewise.
19488 * math/s_clog10f.c (__clog10f): Likewise.
19489 * math/s_clog10l.c (__clog10l): Likewise.
19490 * math/s_clogf.c (__clogf): Likewise.
19491 * math/s_clogl.c (__clogl): Likewise.
19492 * math/libm-test.inc (clog_test): Add more tests.
19493 (clog10_test): Likewise.
19494 * sysdeps/i386/fpu/libm-test-ulps: Update.
19495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19496
2bc13872
FW
194972012-07-31 Florian Weimer <fweimer@redhat.com>
19498
19499 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
19500 Exit with zero in case no suitable GID is found, and write a
19501 message to standard error.
19502
bea9b193
RM
195032012-07-30 Roland McGrath <roland@hack.frob.com>
19504
19505 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
19506 rather than to 1.
19507 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
19508 (MAXPATHLEN): Removed.
19509 (NOGROUP, NODEV): New macros.
19510 (setbit, clrbit, isset, isclr): New macros.
19511 (howmany, roundup, powerof2): New macros.
19512 (DEV_BSIZE): New macro.
19513
19514 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
19515 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
19516
19517 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
19518 definition on [!__NO_LONG_DOUBLE_MATH].
19519
19520 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
19521 PTR_MANGLE and PTR_DEMANGLE.
19522
19523 * socket/accept4.c (accept4): Rename to __libc_accept4.
19524 Define accept4 as a weak alias.
19525
19526 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
19527 on [_DIRENT_HAVE_D_TYPE].
19528 * io/ftw.c (ftw_dir): Likewise.
19529
19530 * io/xmknod.c (__xmknod): Don't check PATH for being null.
19531
19532 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
19533
19534 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
19535 Use the BSD numbers rather than the arbitrary ones we had.
19536 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
19537 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
19538 (SIGXCPU, SIGXFSZ): New macros.
19539 (_NSIG): Now 32.
19540
19541 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
19542 initializer on [_LIBC_REENTRANT].
19543
19544 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
19545 definitions inside [_POSIX_MAPPED_FILES].
19546
19547 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
19548
19549 * dirent/opendir.c: Include <fcntl.h>.
19550
19551 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
19552 (__libc_getspecific): Likewise.
19553 (__libc_key_create): Likewise.
19554
19555 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
19556 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
19557 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
19558 (tmpfile64): Define as alias.
19559 * sysdeps/wordsize-64/tmpfile.c: File removed.
19560 * sysdeps/wordsize-64/tmpfile64.c: File removed.
19561 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
19562 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
19563
19564 * stdio-common/vfscanf.c: Include <stdbool.h>.
19565 * nss/makedb.c: Likewise.
19566 * stdio-common/_i18n_number.h: Likewise.
19567 * argp/argp-help.c: Likewise.
19568 * posix/wordexp.c: Likewise.
19569 * sysdeps/posix/spawni.c: Likewise.
19570 * nss/nss_files/files-initgroups.c: Likewise.
19571 * stdio-common/reg-modifier.c: Include <stdlib.h>.
19572 * nss/nss_files/files-initgroups.c: Likewise.
19573 * nss/nss_db/db-netgrp.c: Likewise.
19574 * nss/nss_db/db-initgroups.c: Likewise.
19575 * io/fchmodat.c: Include <sys/stat.h>.
19576
19577 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
19578 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
19579
19580 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
19581 [HAVE_MMAP].
19582
19583 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
19584 Add multiple inclusion protection.
19585
e5abc686
DM
195862012-07-27 David S. Miller <davem@davemloft.net>
19587
19588 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19589
815e6fa3
GB
195902012-07-27 Gary Benson <gbenson@redhat.com>
19591
19592 [BZ #14298]
19593 * elf/rtld.c: Include <stap-probe.h>.
19594 (dl_main): Added static probes "init_start" and "init_complete".
19595 * elf/dl-load.c: Include <stap-probe.h>.
19596 (lose): Take new parameter "nsid".
19597 Added static probe "map_failed".
19598 (_dl_map_object_from_fd): Pass namespace id to lose.
19599 Added static probe "map_start".
19600 (open_verify): Pass namespace id to lose.
19601 * elf/dl-open.c: Include <stap-probe.h>.
19602 (dl_open_worker) Added static probes "map_complete", "reloc_start"
19603 and "reloc_complete".
19604 * elf/dl-close.c: Include <stap-probe.h>.
19605 (_dl_close_worker): Added static probes "unmap_start" and
19606 "unmap_complete".
19607 * elf/rtld-debugger-interface.txt: New file documenting the above.
19608
9f98c16c
RM
196092012-07-26 Roland McGrath <roland@hack.frob.com>
19610
19611 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
19612 rather than a string variable.
19613 * sunrpc/rpc_main.c (h_output): Likewise.
19614 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
19615
f3c22df3
PT
196162012-07-26 Pino Toscano <toscano.pino@tiscali.it>
19617
19618 * inet/check_native.c: New file.
19619
3129cfc6
JM
196202012-07-26 Joseph Myers <joseph@codesourcery.com>
19621
da865e95
JM
19622 [BZ #13629]
19623 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
19624 if larger part has absolute value 1.0.
19625 * math/s_clog10.c (__clog10): Likewise.
19626 * math/s_clog10f.c (__clog10f): Likewise.
19627 * math/s_clog10l.c (__clog10l): Likewise.
19628 * math/s_clogf.c (__clogf): Likewise.
19629 * math/s_clogl.c (__clogl): Likewise.
19630 * math/libm-test.inc (clog_test): Add more tests.
19631 (clog10_test): Likewise.
19632 * sysdeps/i386/fpu/libm-test-ulps: Update.
19633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19634
3129cfc6
JM
19635 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
19636 (pltexit): Likewise.
19637 (La_regs): Likewise.
19638 (La_retval): Likewise.
19639 (int_retval): Likewise.
19640 Update #error for removed macros to refer only to definitions in
19641 tst-audit.h.
19642 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
19643 macro.
19644 (pltexit): Likewise.
19645 (La_regs): Likewise.
19646 (La_retval): Likewise.
19647 (int_retval): Likewise.
19648 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
19649 macro.
19650 (pltexit): Likewise.
19651 (La_regs): Likewise.
19652 (La_retval): Likewise.
19653 (int_retval): Likewise.
19654 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
19655 macro.
19656 (pltexit): Likewise.
19657 (La_regs): Likewise.
19658 (La_retval): Likewise.
19659 (int_retval): Likewise.
19660 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
19661 macro.
19662 (pltexit): Likewise.
19663 (La_regs): Likewise.
19664 (La_retval): Likewise.
19665 (int_retval): Likewise.
19666 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
19667 macro.
19668 (pltexit): Likewise.
19669 (La_regs): Likewise.
19670 (La_retval): Likewise.
19671 (int_retval): Likewise.
19672 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
19673 macro.
19674 (pltexit): Likewise.
19675 (La_regs): Likewise.
19676 (La_retval): Likewise.
19677 (int_retval): Likewise.
19678 * sysdeps/generic/tst-audit.h: Update comment to refer only to
19679 macro definitions in tst-audit.h.
19680 * sysdeps/i386/tst-audit.h: New file.
19681 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
19682 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
19683 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
19684 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
19685 * sysdeps/sh/tst-audit.h: Likewise.
19686 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
19687 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
19688 * sysdeps/x86_64/tst-audit.h: Likewise.
19689
bfc07087
AJ
196902012-07-26 Andreas Jaeger <aj@suse.de>
19691
b1b2aaf8
AJ
19692 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
19693 ptrace.
19694
19695 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
19696 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
19697 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
19698 PTRACE_O_MASK.
19699 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
19700 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
19701 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
19702
bfc07087
AJ
19703 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
19704 value.
19705
19706 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
19707 _sigsys.
19708 (si_call_addr, si_syscall, si_arch): Define new macro.
19709 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
19710 _sigsys.
19711 (si_call_addr, si_syscall, si_arch): Define new marcro.
19712 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
19713 _sigsys.
19714 (si_call_addr, si_syscall, si_arch): Define new macro.
19715 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
19716 _sigsys.
19717 (si_call_addr, si_syscall, si_arch): Define new macro.
19718
89b4b02f
JM
197192012-07-25 Joseph Myers <joseph@codesourcery.com>
19720
19721 [BZ #13717]
19722 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19723 Change to 2.4.21 where previously 2.4.1.
19724 * sysdeps/unix/sysv/linux/configure: Regenerated.
19725 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
19726 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
19727 Linux kernel version.
19728 (__ASSUME_STD_AUXV): Remove.
19729 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
19730 kernel version.
19731 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
19732 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
19733 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
19734 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
19735 (__ASSUME_NETLINK_SUPPORT): Likewise.
19736 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
19737 (__no_netlink_support): Remove conditional definition.
19738 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
19739 Remove.
19740 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19741 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
19742 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
19743 (if_nameindex_ioctl): Remove.
19744 (if_nameindex_netlink): Do not handle __no_netlink_support.
19745 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19746 code.
19747 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
19748 Remove conditional code.
19749 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19750 code.
19751 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
19752 unconditional.
19753 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19754 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
19755 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
19756 Remove.
19757 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
19758 [!__ASSUME_STD_AUXV]: Remove conditional code.
19759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
19760 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
19761 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
19762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
19763 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
19764 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19765 code.
19766 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19768 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
19769 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19770 conditional code.
19771 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19773 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19774 code.
19775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19776 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19777 conditional code.
19778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
19779 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19780 code unconditional.
19781 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19782 conditional code.
19783 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19784 unconditional.
19785 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19786 conditional code.
19787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19788 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19789 unconditional.
19790 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19791 conditional code.
19792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
19793 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19794 code unconditional.
19795 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19796 conditional code.
19797 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19798 unconditional.
19799 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19800 conditional code.
19801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
19802 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19803 code unconditional.
19804 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19805 conditional code.
19806 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19807 unconditional.
19808 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19809 conditional code.
19810
842a39cd
AS
198112012-07-25 Andreas Schwab <schwab@linux-m68k.org>
19812
19813 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
19814 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
19815 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
19816 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
19817 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
19818 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
19819 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
19820 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
19821 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
19822 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
19823 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
19824 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
19825 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
19826 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
19827 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
19828 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
19829 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
19830 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
19831 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
19832 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
19833 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
19834 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
19835 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19836
84b3fd84
FW
198372012-07-25 Florian Weimer <fweimer@redhat.com>
19838
19839 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
19840 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
19841 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
19842 Introduce __libc_secure_getenv.
0c7936d5
FW
19843 * stdlib/Versions (2.17): Add secure_getenv
19844 (GLIBC_PRIVATE): Add __libc_secure_getenv.
19845 * stdlib/secure-getenv.c: Rename __secure_getenv to
19846 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
19847 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
19848 * stdlib/tst-secure-getenv.c: New.
19849 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
19850 * manual/startup.texi (Environment Access): Document
19851 secure_getenv.
84b3fd84
FW
19852 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
19853 __libc_secure_getenv.
19854 * inet/ruserpass.c (ruserpass): Likewise.
19855 * malloc/mtrace.c (mtrace): Likewise.
19856 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 19857 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
19858 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
19859 * sysdeps/posix/tempname.c: Likewise. Evaluate
19860 HAVE_SECURE_GETENV.
19861 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 19862 __secure_getenv to __libc_secure_getenv.
84b3fd84 19863 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
19864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19865 Likewise.
19866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19867 Likewise.
19868 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19869 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19870 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19871 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19872 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19873 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19874 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 19875
56e49b71
JM
198762012-07-25 Joseph Myers <joseph@codesourcery.com>
19877
19878 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
19879 (struct La_i86_retval): Likewise.
19880 (struct La_x86_64_regs): Likewise.
19881 (struct La_x86_64_retval): Likewise.
19882 (struct La_x32_regs): Likewise.
19883 (struct La_x32_retval): Likewise.
19884 (struct La_ppc32_regs): Likewise.
19885 (struct La_ppc32_retval): Likewise.
19886 (struct La_ppc64_regs): Likewise.
19887 (struct La_ppc64_retval): Likewise.
19888 (struct La_sh_regs): Likewise.
19889 (struct La_sh_retval): Likewise.
19890 (struct La_s390_32_regs): Likewise.
19891 (struct La_s390_32_retval): Likewise.
19892 (struct La_s390_64_regs): Likewise.
19893 (struct La_s390_64_retval): Likewise.
19894 (struct La_sparc32_regs): Likewise.
19895 (struct La_sparc32_retval): Likewise.
19896 (struct La_sparc64_regs): Likewise.
19897 (struct La_sparc64_retval): Likewise.
19898 (struct audit_ifaces): Remove architecture-specific pltenter and
19899 pltexit members.
19900 * sysdeps/i386/ldsodefs.h: New file.
19901 * sysdeps/powerpc/ldsodefs.h: Likewise.
19902 * sysdeps/s390/ldsodefs.h: Likewise.
19903 * sysdeps/sh/ldsodefs.h: Likewise.
19904 * sysdeps/sparc/ldsodefs.h: Likewise.
19905 * sysdeps/x86_64/ldsodefs.h: Likewise.
19906
354691b7
MP
199072012-07-25 Marek Polacek <polacek@redhat.com>
19908
19909 [BZ #6808]
19910 * math/libm-test.inc (yn_test): Add another test.
19911 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
19912 to ERANGE when the result is +-Inf.
19913 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19914 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
19915 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
19916 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
19917
bf9e2071
JM
199182012-07-24 Joseph Myers <joseph@codesourcery.com>
19919
19920 * conform/data/time.h-data (NULL): Use macro-constant. Require
19921 equal to 0.
19922 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
19923 clock_t.
19924 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
19925
57633811
TS
199262012-07-23 Thomas Schwinge <thomas@codesourcery.com>
19927
19928 * configure.in <sysdeps resolving>: Correct printing
19929 Implies_before.
19930 * configure: Regenerate.
19931
c23c33b0
TS
199322012-07-22 Thomas Schwinge <thomas@codesourcery.com>
19933
19934 * math/w_ilogb.c: Include <limits.h>.
19935 * math/w_ilogbl.c: Likewise.
19936
b5982523
JM
199372012-07-20 Joseph Myers <joseph@codesourcery.com>
19938
19939 * manual/lang.texi (__va_copy): Document primarily as ISO C99
19940 va_copy. Document allowing for unavailable va_copy only as
19941 pre-C99 compatibility.
19942 * manual/string.texi (Copying and Concatenation): Use va_copy
19943 instead of __va_copy in concat example.
19944
ac4ea442
PT
199452012-07-20 Pino Toscano <toscano.pino@tiscali.it>
19946
19947 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
19948 (__sendto): Use create_address_port. Initialize APORT and deallocate
19949 it if not null.
19950
f98eafbd
PT
19951 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
19952 with O_NOLINK passed to __file_name_lookup.
19953
898c7aab
PT
19954 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
19955 with O_NOLINK passed to __file_name_lookup.
19956
0ced335a
PT
19957 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
19958 negative N or less than NGIDS.
19959
b3404dbd
PT
19960 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
19961 type to string_t. Set ERANGE as errno and return it if NAME is not big
19962 enough. Use memcpy instead of strncpy.
19963
0f48659e
JM
199642012-07-20 Joseph Myers <joseph@codesourcery.com>
19965
19966 * elf/Makefile (check-data): Remove.
19967 (localplt.data): New vpath directive.
19968 ($(objpfx)check-localplt.out): Use localplt.data from vpath
19969 instead of $(check-data).
19970 * scripts/data/localplt-generic.data: Move to ...
19971 * sysdeps/generic/localplt.data: ... here.
19972 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
19973 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
19974 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
19975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
19976 ... here.
19977 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
19978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
19979 ... here.
19980 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
19981 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
19982 ... here.
19983 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
19984 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
19985 ... here.
19986 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
19987 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
19988 ... here.
19989 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
19990 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
19991 ... here.
19992
d37cbdaa
AZ
199932012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19994
19995 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
19996 PPC32 and PPC64 files.
19997 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
19998 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
19999
46f85fc2
AK
200002012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20001
20002 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
20003 __makecontext_ret to ...
20004 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
20005 ... here and call exit if uc_link is NULL. New file.
20006 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
20007 __makecontext_ret.S.
20008 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
20009 __makecontext_ret to ...
20010 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
20011 ... here and call exit if uc_link is NULL. New file.
20012 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
20013 __makecontext_ret.S.
20014
08f43f9b
AK
200152012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20016
20017 * elf/elf.h (R_390_IRELATIVE): New definition.
20018 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
20019 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
20020 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
20021 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20022 (elf_machine_lazy_rel): Likewise.
20023 * sysdeps/s390/dl-irel.h: New file.
20024 * sysdeps/s390/s390-64/memcpy.S: New asm code.
20025 * sysdeps/s390/s390-64/memset.S: New asm code.
20026 * sysdeps/s390/s390-64/memcmp.S: New asm code.
20027 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
20028 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
20029 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
20030 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
20031 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
20032 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
20033 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
20034 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
20035 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
20036 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
20037 * sysdeps/s390/s390-32/memcpy.S: New asm code.
20038 * sysdeps/s390/s390-32/memset.S: New asm code.
20039 * sysdeps/s390/s390-32/memcmp.S: New asm code.
20040
3b05db33
MP
200412012-07-17 Marek Polacek <polacek@redhat.com>
20042
20043 [BZ #14349]
20044 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
20045 * sysdeps/s390/s390-64/configure.in: Likewise.
20046 * sysdeps/sparc/configure.in: Likewise.
20047 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
20048 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
20049 * sysdeps/i386/configure.in: Likewise.
20050 * sysdeps/x86_64/configure.in: Likewise.
20051 * sysdeps/sh/configure.in: Likewise.
20052 * sysdeps/s390/s390-32/configure: Regenerated.
20053 * sysdeps/s390/s390-64/configure: Likewise.
20054 * sysdeps/x86_64/configure: Likewise.
20055 * sysdeps/sh/configure: Likewise.
20056 * sysdeps/powerpc/powerpc64/configure: Likewise.
20057 * sysdeps/powerpc/powerpc32/configure: Likewise.
20058 * sysdeps/sparc/configure: Likwise.
20059 * sysdeps/i386/configure: Likewise.
20060
a66877c6
MP
20061 * elf/dl-open.c: Comment fixes.
20062
cfc82fd8
JM
200632012-07-17 Joseph Myers <joseph@codesourcery.com>
20064
bd29910a
JM
20065 * Makefile [CXX] (check-data): Remove.
20066 [CXX] (c++-types.data): New vpath directive.
20067 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
20068 vpath. Do not allow for C++ type data being missing.
20069 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
20070 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
20071 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
20072 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
20073 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
20074 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
20075 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
20076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
20077 ... here.
20078 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
20079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
20080 ... here.
20081 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
20082 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
20083 ... here.
20084 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
20085 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
20086 ... here.
20087 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
20088 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
20089 ... here.
20090 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
20091 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
20092 ... here.
20093 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
20094 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
20095 ... here.
20096 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
20097 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
20098
cfc82fd8
JM
20099 * elf/tls-macros.h (TLS_LE): Move architecture-specific
20100 definitions to architecture-specific files.
20101 (TLS_IE): Likewise.
20102 (TLS_LD): Likewise.
20103 (TLS_GD): Likewise.
20104 * sysdeps/i386/tls-macros.h: New file.
20105 * sysdeps/powerpc/tls-macros.h: Likewise.
20106 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
20107 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
20108 * sysdeps/sh/tls-macros.h: Likewise.
20109 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
20110 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
20111 * sysdeps/x86_64/tls-macros.h: Likewise.
20112
f7db3170
TS
201132012-07-17 Thomas Schwinge <thomas@codesourcery.com>
20114
07cbfc23
TS
20115 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
20116 zero value for regular exit case.
20117
f7db3170
TS
20118 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20119 (__start_context): Preserve zero value for regular exit case.
20120
dc97c227
TS
201212012-07-17 Thomas Schwinge <thomas@codesourcery.com>
20122 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20123
20124 * manual/setjmp.texi (setcontext): Clarify normal process
20125 termination when uc_link is the null pointer.
20126 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
20127 exit call.
20128
d0cd7d02
AS
201292012-07-16 Andreas Schwab <schwab@linux-m68k.org>
20130
20131 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
20132 preprocessor. Test for each exception mask separately.
20133
dd318934
AJ
201342012-07-16 Andreas Jaeger <aj@suse.de>
20135
20136 * po/ru.po: Update from translation team.
20137
8048311a
JM
201382012-07-15 Joseph Myers <joseph@codesourcery.com>
20139
20140 * conform/data/string.h-data (NULL): Use macro-constant. Require
20141 equal to 0.
20142 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20143 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20144 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
20145 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
20146 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20147
b637d46e
AJ
201482012-07-13 Andreas Jaeger <aj@suse.de>
20149
20150 * po/fr.po: Update from translation team.
20151
541428fe
MP
201522012-07-12 Marek Polacek <polacek@redhat.com>
20153
20154 [BZ #14173]
20155 * math/libm-test.inc (yn_test): Add test for BZ #14173.
20156 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
20157 loop condition.
20158
ec332e94
JM
201592012-07-12 Joseph Myers <joseph@codesourcery.com>
20160
20161 [BZ #13717]
20162 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20163 Change to 2.4.1 where previously 2.4.0.
20164 * sysdeps/unix/sysv/linux/configure: Regenerated.
20165 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
20166 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
20167 version.
20168 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
20169 (__ASSUME_AT_CLKTCK): Remove.
20170 (__ASSUME_AT_PAGESIZE): Likewise.
20171 (__ASSUME_AT_XID): Likewise.
20172 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
20173 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
20174 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
20175 unconditionally.
20176 (HAVE_AUX_PAGESIZE): Likewise.
20177 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
20178 [__ASSUME_AT_CLKTCK]: Make code unconditional.
20179 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
20180
7b6e99be
JB
201812012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
20182
20183 [BZ #14307]
20184 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
20185 the temporary buffer used to invoke __gethostbyname2_r,
20186 __gethostbyaddr_r and gethostbyname4_r to make room for struct
20187 host_data / struct gaih_addrtuple.
20188 * resolv/nss_dns/dns-host.c (global scope): Move definition of
20189 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
20190 header file nss/nsswitch.h.
20191 * nss/nsswitch.h (global scope): Add definition of implementation
20192 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
20193 resolv/nss_dns/dns-host.c).
20194
608404eb
AJ
201952012-07-11 Andreas Jaeger <aj@suse.de>
20196
20197 * po/fr.po: Update from translation team.
20198
71220aca
AJ
20199 * po/sv.po: Update from translation team
20200 * po/fr.po: Another update from translation team.
20201
28cfe843
AZ
202022012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20203
20204 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
20205 for subnormals or multiply small sinh result by itself.
20206 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20207 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20208
6b90f981
DM
202092012-07-11 David S. Miller <davem@davemloft.net>
20210
20211 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20212
c6825772
AS
202132012-07-10 Andreas Schwab <schwab@linux-m68k.org>
20214
20215 [BZ #14347]
20216 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
20217 (INTERNAL_MARK): Shift it here.
20218
7b8e0d49
MP
202192012-07-10 Marek Polacek <polacek@redhat.com>
20220
20221 [BZ #14151]
20222 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
20223 libc_cv_asm_global_directive with .globl.
20224 * configure: Regenerated.
20225 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
20226 with .globl.
20227 * sysdeps/i386/configure: Regenerated.
20228 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
20229 with .globl.
20230 * sysdeps/x86_64/configure: Regenerated.
20231 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
20232 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
20233 * elf/tst-unique2mod2.c: Likewise.
20234 * elf/tst-unique2mod1.c: Likewise.
20235 * elf/tst-unique1mod2.c: Likewise.
20236 * elf/tst-unique1mod1.c: Likewise.
20237 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20238 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20239 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20240 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20241 * sysdeps/mach/sysdep.h: Likewise.
20242 * sysdeps/i386/sysdep.h: Likewise.
20243 * sysdeps/i386/i386-mcount.S: Likewise.
20244 * sysdeps/x86_64/_mcount.S: Likewise.
20245 * sysdeps/x86_64/sysdep.h: Likewise.
20246 * sysdeps/sh/_mcount.S: Likewise.
20247 * sysdeps/sh/sysdep.h: Likewise.
20248 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
20249 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
20250 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
20251 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20252 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
20253 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
20254 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
20255 * locale/localeinfo.h: Likewise.
20256 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
20257 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
20258
6c55cda3
RM
202592012-07-09 Roland McGrath <roland@hack.frob.com>
20260
20261 [BZ #14336]
20262 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
20263 system".
20264 * manual/message.texi (The Uniforum approach): Likewise.
20265 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
20266 (glibc iconv Implementation): Likewise.
20267
638a572e
JM
202682012-07-09 Joseph Myers <joseph@codesourcery.com>
20269
20270 [BZ #14337]
20271 * math/s_clog.c (__clog): Avoid scaling a value down where that
20272 could result in underflow.
20273 * math/s_clog10.c (__clog10): Likewise.
20274 * math/s_clog10f.c (__clog10f): Likewise.
20275 * math/s_clog10l.c (__clog10l): Likewise.
20276 * math/s_clogf.c (__clogf): Likewise.
20277 * math/s_clogl.c (__clogl): Likewise.
20278 * math/libm-test.inc (clog_test): Add more tests.
20279 (clog10_test): Likewise.
20280 * sysdeps/i386/fpu/libm-test-ulps: Update.
20281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20282
261f4859
AS
202832012-07-06 Andreas Schwab <schwab@linux-m68k.org>
20284
0abaf3e4
AS
20285 [BZ #14283]
20286 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
20287 by 7 not 8 to examine high bit of fractional part.
20288
261f4859
AS
20289 [BZ #14042]
20290 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
20291 for call to __mcount_internal.
20292 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
20293 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
20294 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
20295
f17ac40d
JM
202962012-07-06 Joseph Myers <joseph@codesourcery.com>
20297
9ad63c23
JM
20298 [BZ #14154]
20299 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
20300 approximation for values within 0x1p-13f of an odd multiple of
20301 pi/4.
20302 * math/libm-test.inc (tan_test): Do not allow spurious underflow
20303 exception. Add more tests.
20304 * sysdeps/i386/fpu/libm-test-ulps: Update.
20305
f17ac40d
JM
20306 [BZ #6778]
20307 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
20308 inputs and return -1 for them. Do not check for +Inf in case not
20309 reachable for +Inf.
20310 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20311 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
20312 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20313 and return -1 for them. Do not check for +Inf in case not
20314 reachable for +Inf.
20315 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
20316 define.
20317 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20318 and return -1 for them. Do not check for +Inf in case not
20319 reachable for +Inf.
20320 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
20321 spurious underflow.
20322 * sysdeps/i386/fpu/libm-test-ulps: Update.
20323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20324
fb21f89b
MF
203252012-07-06 Mike Frysinger <vapier@gentoo.org>
20326
20327 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
20328
cdfe2c5e
JM
203292012-07-05 Joseph Myers <joseph@codesourcery.com>
20330
20331 [BZ #14157]
20332 [BZ #14331]
20333 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
20334 could result in spurious underflow. Scale down values above
20335 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
20336 * math/s_csqrtf.c (__csqrtf): Likewise.
20337 * math/s_csqrtl.c (__csqrtl): Likewise.
20338 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
20339 spurious underflow.
20340 * sysdeps/i386/fpu/libm-test-ulps: Update.
20341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20342
70d35b67
AS
203432012-07-04 Andreas Schwab <schwab@linux-m68k.org>
20344
704bc459
AS
20345 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
20346 xopen-msg.sed.
20347 * catgets/xopen-msg.awk: New file.
20348 * catgets/xopen-msg.sed: Removed.
20349
70d35b67
AS
20350 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
20351 po2text.sed.
20352 * intl/po2test.awk: New file.
20353 * intl/po2test.sed: Removed.
20354
ca61cf32
JM
203552012-07-04 Joseph Myers <joseph@codesourcery.com>
20356
20357 [BZ #14328]
20358 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
20359 or multiply small sinh result by itself.
20360 * math/s_ctanf.c (__ctanf): Likewise.
20361 * math/s_ctanh.c (__ctanh): Likewise.
20362 * math/s_ctanhf.c (__ctanhf): Likewise.
20363 * math/s_ctanhl.c (__ctanhl): Likewise.
20364 * math/s_ctanl.c (__ctanl): Likewise.
20365 * math/libm-test.inc (ctan_test_tonearest): New function.
20366 (ctan_test_towardzero): Likewise.
20367 (ctan_test_downward): Likewise.
20368 (ctan_test_upward): Likewise.
20369 (ctanh_test_tonearest): Likewise.
20370 (ctanh_test_towardzero): Likewise.
20371 (ctanh_test_downward): Likewise.
20372 (ctanh_test_upward): Likewise.
20373 (main): Call these new functions.
20374 * sysdeps/i386/fpu/libm-test-ulps: Update.
20375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20376
ca48a46a
MF
203772012-07-03 Mike Frysinger <vapier@gentoo.org>
20378
20379 * .gitignore: Delete /ports entry.
20380
9d63d37d
AJ
203812012-07-03 Andreas Jaeger <aj@suse.de>
20382
20383 * po/bg.po: Update from translation team.
20384 * po/cs.po: Likewise.
20385 * po/de.po: Likewise.
20386 * po/hr.po: Likewise.
20387 * po/nl.pl: Likewise.
20388 * po/pl.po: Likewise.
20389 * po/vi.po: Likewise.
20390
370ca3d2
JM
203912012-07-03 Joseph Myers <joseph@codesourcery.com>
20392
95f5a9a8
JM
20393 * Makeconfig [!+link] (+link-before-libc): New variable.
20394 [!+link] (+link-after-libc): Likewise.
20395 [!+link] (+link-tests): Likewise.
20396 [!+link] (+link): Define in terms of $(+link-before-libc) and
20397 $(+link-after-libc).
20398 [!+link-static] (+link-static-before-libc): New variable.
20399 [!+link-static] (+link-static-after-libc): Likewise.
20400 [!+link-static] (+link-static-tests): Likewise.
20401 [!+link-static] (+link-static): Define in terms of
20402 $(+link-static-before-libc) and $(+link-static-after-libc).
20403 [build-shared] (link-libc-before-gnulib): New variable.
20404 [build-shared] (link-libc-tests): Likewise.
20405 [build-shared] (link-libc): Define in terms of
20406 $(link-libc-before-gnulib).
20407 [!build-shared] (link-libc-tests): New variable.
20408 (link-libc-static-tests): New variable.
20409 [!gnulib] (gnulib-arch): New variable.
20410 [!gnulib] (gnulib-tests): Likewise.
20411 [!gnulib] (static-gnulib-arch): Likewise.
20412 [!gnulib] (static-gnulib-tests): Likewise.
20413 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
20414 Define with "=" instead of ":=".
20415 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
20416 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
20417 * Rules (binaries-all-notests): New variable.
20418 (binaries-all-tests): Likewise.
20419 (binaries-static-notests): Likewise.
20420 (binaries-static-tests): Likewise.
20421 (binaries-all): Define using $(binaries-all-notests) and
20422 $(binaries-all-tests).
20423 (binaries-static): Define using $(binaries-static-notests) and
20424 $(binaries-static-tests).
20425 (binaries-shared-tests): New variable.
20426 (binaries-shared-notests): Likewise.
20427 (binaries-shared): Remove variable.
20428 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
20429 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
20430 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
20431 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
20432 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
20433 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
20434 * elf/Makefile (sln-modules): New variable.
20435 (extra-objs): Add $(sln-modules:=.o).
20436 (ldconfig-modules): Add static-stubs.
20437 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
20438 * elf/static-stubs.c: New file.
20439
7a845b2c
JM
20440 [BZ #14283]
20441 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
20442 by 7 not 8 to examine high bit of fractional part. Use volatile
20443 variables when splitting into final array of floats if
20444 __FLT_EVAL_METHOD__ != 0.
20445 * math/libm-test.inc (cos_test): Add another test.
20446 (sin_test): Likewise.
20447 * sysdeps/i386/fpu/libm-test-ulps: Update.
20448
e2283f38
JM
20449 [BZ #14273]
20450 * math/libm-test.inc (cosh_test): Add more tests.
20451
370ca3d2
JM
20452 * version.h (RELEASE): Set to "development".
20453 (VERSION): Set to "2.16.90".
20454
ee9247c3
CD
204552012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
20456
20457 * NEWS: Update copyright. Remove last-updated date.
20458 Mention math library bug fixes and timezone data changes.
20459 * README: Mention GNU/Hurd, x32, and HPPA support status.
20460
4648c381
TS
204612012-06-28 Thomas Schwinge <thomas@codesourcery.com>
20462
20463 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
20464
aac78a43
AJ
204652012-06-27 Andreas Jaeger <aj@suse.de>
20466
20467 * manual/contrib.texi (Contributors): Add Samuel Thibault.
20468
ed3dbfad
AJ
204692012-06-25 Andreas Jaeger <aj@suse.de>
20470
20471 * sysdeps/s390/fpu/libm-test-ulps: Update.
20472
4d0ee855
AS
204732012-06-23 Andreas Schwab <schwab@linux-m68k.org>
20474 Thomas Schwinge <thomas@codesourcery.com>
20475
20476 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
20477 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
20478 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
20479 fanotify_mark.
20480
af1bce34
TS
204812012-06-23 Thomas Schwinge <thomas@codesourcery.com>
20482
a9fa33ba
TS
20483 * sysdeps/mach/start.c: Remove file.
20484 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
20485 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
20486 * sysdeps/sh/init-first.c: Likewise.
20487
58f902b8
TS
20488 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
20489 registers for frame unwinding purposes, add CFI directives.
20490 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20491 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
20492 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
20493 Likewise.
20494
1518f58b
TS
20495 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
20496 __fortify_fail returning.
20497 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20498
db9b5059
TS
20499 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
20500 sysdeps/sh/____longjmp_chk.S.
20501 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
20502 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
20503 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
20504 (gen-as-const-headers): Append sigaltstack-offsets.sym.
20505
967705fe
TS
20506 * sysdeps/sh/abort-instr.h: New file.
20507 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
20508 process in case exit returns.
20509
a9def8c4
TS
20510 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
20511 initialize the GOT register before use.
20512
2a649725
TS
20513 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
20514 calculation of ARGC > 4.
20515
af1bce34
TS
20516 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
20517 meaningful names to some local labels.
20518
d230f50a
KK
205192012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20520 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20521
20522 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
20523 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
20524 (__arch_compare_and_exchange_val_16_acq): Likewise.
20525 (__arch_compare_and_exchange_val_32_acq): Likewise.
20526 (atomic_exchange_and_add): Fix gUSA sequence.
20527 (atomic_add): Likewise.
20528 (atomic_add_negative): Likewise.
20529 (atomic_add_zero): Likewise.
20530 (atomic_bit_test_set): Likewise.
20531
0479b305
AS
205322012-06-22 Andreas Schwab <schwab@redhat.com>
20533
20534 [BZ #13579]
20535 * include/link.h (struct link_map): Add l_free_initfini.
20536 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
20537 l_initfini.
20538 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
20539 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
20540 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
20541 set.
20542
0e3933b9
CD
205432012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
20544
20545 * configure.in: Use AC_LANG_SOURCE.
20546 * configure: Regenerate.
20547
4248b1b1
RM
205482012-06-22 Roland McGrath <roland@hack.frob.com>
20549
20550 * configure.in (libc_cv_localstatedir): New substituted variable.
20551 * configure: Regenerated.
20552 * config.make.in (localstatedir): New variable, substituted from
20553 libc_cv_localstatedir.
20554 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
20555 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
20556 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
20557 * sysdeps/gnu/configure: Regenerated.
20558
006dd861
JL
205592012-06-21 Jeff Law <law@redhat.com>
20560
20561 [BZ #14277]
20562 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
20563 free. Simplify list management for _LIBC case.
20564
79662d42
JM
205652012-06-21 Joseph Myers <joseph@codesourcery.com>
20566
b7abb4bf
JM
20567 [BZ #14273]
20568 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
20569 Clear sign bit of 64-bit integer value before comparing against
20570 overflow value.
20571
79662d42
JM
20572 * sysdeps/mach/configure: Regenerated.
20573
1f150908
L
205742012-06-21 H.J. Lu <hongjiu.lu@intel.com>
20575
20576 [BZ #14278]
20577 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
20578
28363bbf
JL
205792012-06-21 Jeff Law <law@redhat.com>
20580
20581 [BZ #13882]
20582 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
20583 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 20584 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
20585 * elf/dl-open.c (dl_open_worker): Likewise.
20586
09615db4
CD
205872012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
20588
20589 * scripts/list-sources.sh: Scan PORTS for translations.
20590 * po/libc.pot: Regenerated.
20591
2174c6dd
AJ
205922012-06-21 Andreas Jaeger <aj@suse.de>
20593
20594 [BZ #12194]
20595 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
20596 warning.
20597 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
20598 * bits/byteswap-16.h (__bswap_16): Likewise.
20599 * bits/byteswap.h (__bswap_constant_16): Likewise.
20600
3ee947b1
L
206012012-06-18 H.J. Lu <hongjiu.lu@intel.com>
20602
20603 [BZ #14117]
a2f34833
L
20604 * sysdeps/i386/fpu_control.h: Removed.
20605 * sysdeps/x86_64/fpu_control.h: Moved to ...
20606 * sysdeps/x86/fpu_control.h: Here.
20607
3ee947b1
L
20608 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
20609 (_FPU_SETCW): Likewise.
20610
ed1825f8
L
206112012-06-15 H.J. Lu <hongjiu.lu@intel.com>
20612
25f1282a
L
20613 [BZ #14117]
20614 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
20615 * sysdeps/x86/fpu/bits/mathinline.h: This.
20616 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
20617
ed1825f8
L
20618 [BZ #14050]
20619 [BZ #14117]
20620 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
20621 functions if __x86_64__ is defined.
20622
36d54b74
CLT
206232012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
20624
20625 * string/endian.h: Add !__ASSEMBLER__ condition for including
20626 conversion interfaces.
20627
10285c21
JM
206282012-06-15 Joseph Myers <joseph@codesourcery.com>
20629
20630 [BZ #14241]
20631 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
20632 of ABS(x) in calculating zero to negative powers other than odd
20633 integers.
20634 * math/libm-test.inc (pow_test): Add more tests.
20635
06c5abbd
AJ
206362012-06-15 Andreas Jaeger <aj@suse.de>
20637
20638 * manual/contrib.texi (Contributors): Update entry of Liubov
20639 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
20640 Machado Filho.
20641
a3aeac40
CH
206422012-06-15 Cyril Hrubis <metan@ucw.cz>
20643
20644 * string/string.h: Add __wur to GNU version of strerror_r.
20645
49bdf4c1
L
206462012-06-14 H.J. Lu <hongjiu.lu@intel.com>
20647
20648 [BZ #14229]
20649 * string/Makefile (tests): Add tst-strtok_r.
20650 * string/tst-strtok_r.c: New file.
20651 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
20652 RAX_LP/RDX_LP on SAVE_PTR.
20653
834f9b8d
RM
206542012-06-14 Roland McGrath <roland@hack.frob.com>
20655
20656 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
20657
75fa1921
JM
206582012-06-14 Joseph Myers <joseph@codesourcery.com>
20659
20660 * libm_test.inc (csqrt_test): Allow more spurious underflow
20661 exceptions.
20662 (j0_test): Likewise.
20663 (j1_test): Likewise.
20664 (y0_test): Likewise.
20665 (y1_test): Likewise.
20666
771766df
CD
206672012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
20668
20669 * po/Makefile (libc.pot): Use UTF-8 charset.
20670
ceb9e56b
PP
206712012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
20672
20673 [BZ #14210]
20674 Suppress sign-conversion warning from FD_SET.
20675 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
20676 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
20677 not unsigned long int.
20678 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
20679
ddb28975
L
206802012-06-12 H.J. Lu <hongjiu.lu@intel.com>
20681
20682 [BZ #14050]
20683 [BZ #14117]
20684 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
20685 __extern_always_inline instead of __extern_inline.
20686 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
20687 (__signbit): Likewise.
20688 (__signbitl): Support C++ namespace.
20689 (lrintf): New inline function.
20690 (lrint): Likewise.
20691 (llrintf): Likewise.
20692 (llrint): Likewise.
20693 (fmaxf): Likewise.
20694 (fmax): Likewise.
20695 (fminf): Likewise.
20696 (fmin): Likewise.
20697 (rint): Likewise.
20698 (rintf): Likewise.
20699 (ceil): Likewise.
20700 (ceilf): Likewise.
20701 (floor): Likewise.
20702 (floorf): Likewise.
20703 (nearbyint): Likewise.
20704 (nearbyintf): Likewise.
20705
d7b4fb26
TS
207062012-06-12 Thomas Schwinge <thomas@codesourcery.com>
20707
20708 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
20709 non-default versions.
20710
eb55f5c2
RM
207112012-06-11 Roland McGrath <roland@hack.frob.com>
20712
20713 [BZ #14218]
20714 * manual/argp.texi (Argp): Reword argp_parse description slightly.
20715
366af02c
TS
207162012-06-09 Thomas Schwinge <thomas@codesourcery.com>
20717
99ff6e5c
TS
20718 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
20719 (FE_UPWARD, FE_DOWNWARD): Don't define.
20720 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
20721 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20722
366af02c
TS
20723 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
20724 reading it.
20725 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
20726 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20727
793ea851
KK
207282012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20729
20730 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20731 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
20732 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
20733 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
20734
a728a38f
L
207352012-06-06 H.J. Lu <hongjiu.lu@intel.com>
20736
20737 [BZ #14117]
c08010c7
L
20738 * sysdeps/i386/fpu/bits/fenv.h: Removed.
20739 * sysdeps/i386/fpu/Implies: New file.
20740 * sysdeps/x86_64/fpu/Implies: Likewise.
20741 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
20742 * sysdeps/x86/fpu/bits/fenv.h: This.
20743
a728a38f
L
20744 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
20745 __SSE_MATH__.
20746
6e230d11
SP
207472012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20748
20749 [BZ #14134]
20750 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
20751 character 0xffff that matches the last element of the
20752 conversion table.
20753
1b671feb
AZ
207542012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20755
20756 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
20757 fmodl commit.
20758
6043738b
AZ
207592012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20760
20761 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
20762 values higher than 25.6283.
20763
34ae0b32
AZ
207642012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20765
20766 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
20767 subnormal exponent extraction and add some __builtin_expect.
20768 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
20769 Fix for subnormal mantissa calculation.
20770
1214ec8f
MF
207712012-06-04 Mike Frysinger <vapier@gentoo.org>
20772
20773 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
20774 cpu2 is -1 and errno is not ENOSYS.
20775
f3d1f93c
L
207762012-06-04 H.J. Lu <hongjiu.lu@intel.com>
20777
20778 [BZ #14117]
0e4a3cd7
L
20779 * sysdeps/i386/i486/bits/string.h: Renamed to ...
20780 * sysdeps/x86/bits/string.h: This.
20781 * sysdeps/x86_64/bits/string.h: Removed.
20782
6704c645
L
20783 * sysdeps/i386/i486/bits/string.h: Define inline functions only
20784 if not compiling for x86-64, but compiling for >= i486.
20785
48495318
L
20786 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
20787 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
20788
14adcbfc
L
20789 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
20790 New macro from Linux kernel 3.4.0.
20791 (FP_XSTATE_MAGIC2): Likewise.
20792 (FP_XSTATE_MAGIC2_SIZE): Likewise.
20793 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
20794 (struct _fpx_sw_bytes): New struct.
20795 (struct _xsave_hdr): Likewise.
20796 (struct _ymmh_state): Likewise.
20797 (struct _xstate): Likewise.
20798
68e408ab
L
20799 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
20800 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
20801 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
20802 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
20803 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
20804 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
20805
f3d1f93c
L
20806 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
20807 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
20808 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
20809 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
20810 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
20811 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
20812
d9dc34cd
TMQMF
208132012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20814
20815 [BZ #13743]
20816 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
20817 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
20818 (sysdep_headers): Include sys/platform/ppc.h.
20819 * sysdeps/powerpc/test-gettimebase.c: Test for
20820 __ppc_get_timebase() to catch future ISA opcode/insn changes.
20821 * manual/Makefile (appendices): Include platform.texi.
20822 * manual/contrib.texi (Contributors): Update @node pointers.
20823 * manual/maint.texi (Maintenance): Likewise.
20824 (Platform): New node.
20825 * manual/platform.texi: New file. Document the new features.
20826
4af3879c
SP
208272012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20828 Jakub Jelinek <jakub@redhat.com>
20829
20830 [BZ #14188]
20831 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
20832 where __builtin_expect is unavailable.
20833
2fd6ff13
DM
208342012-06-03 David S. Miller <davem@davemloft.net>
20835
20836 * stdlib/longlong.h: Updated from GCC.
20837
173f7220
AS
208382012-06-02 Andreas Schwab <schwab@linux-m68k.org>
20839
20840 [BZ #14042]
20841 * sysdeps/powerpc/powerpc32/mcount.c: New file.
20842 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
20843 __mcount_internal.
20844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20845 (GLIBC_2.16): Likewise.
20846
f34a1c6f
L
208472012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20848
20849 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
20850
88a4576f
JM
208512012-06-01 Joseph Myers <joseph@codesourcery.com>
20852
ea32bcdd
JM
20853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
20854 (default-abi): New variable.
20855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
20856 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
20857 variable.
20858 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
20859 Likewise.
20860 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
20861 Likewise.
20862 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
20863 Likewise.
20864
88a4576f
JM
20865 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
20866 definition. Document in comment.
20867
402fe938
DM
208682012-06-01 David S. Miller <davem@davemloft.net>
20869
20870 * stdlib/longlong.h: Updated from GCC.
20871
3553723f
L
208722012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20873
20874 [BZ #14117]
3bd872c4
L
20875 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
20876 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
20877 sys/debugreg.h sys/io.h here.
20878 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
20879 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
20880 sys/io.h.
20881 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
20882 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
20883 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
20884 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
20885 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
20886 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
20887
3553723f
L
20888 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
20889 Define only if __x86_64__ is defined.
20890
4842e4fe
JM
208912012-06-01 Joseph Myers <joseph@codesourcery.com>
20892
c5bfe3d5
JM
20893 [BZ #14048]
20894 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
20895 Use int64_t for variable i.
20896 * math/libm-test.inc (fmod_test): Add more tests.
20897
4842e4fe
JM
20898 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
20899 z computation is not scheduled after fetestexcept.
20900 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
20901 Use math_force_eval instead of asm to ensure calculation scheduled
20902 before exception test.
20903 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
20904 Ensure a1 + u.d computation is not scheduled after fetestexcept.
20905
efb73488
AJ
209062012-06-01 Aurelien Jarno <aurelien@aurel32.net>
20907
20908 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
20909 computation is not scheduled after fetestexcept.
20910
29bcce7c
L
209112012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20912
20913 [BZ #14117]
20914 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
20915 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
20916
73a68f94
AZ
209172012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20918
20919 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
20920 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
20921
67b6df78
L
209222012-05-31 H.J. Lu <hongjiu.lu@intel.com>
20923
edf2933a 20924 [BZ #14117]
ebc64a18
L
20925 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
20926 <bits/wordsize.h>.
20927 (__WCHAR_MIN): Support __WORDSIZE == 64.
20928 (__WCHAR_MAX): Likewise.
20929
edf2933a
L
20930 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
20931 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
20932
57c6cf40
L
20933 [BZ #14183]
20934 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
20935 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
20936
67b6df78 20937 [BZ #14117]
8eb6281e
L
20938 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
20939 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
20940
aac639f4
L
20941 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
20942 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
20943
67b6df78
L
20944 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
20945 Defined to 1 if __x86_64__ isn't defined.
20946 (_STAT_VER_LINUX_OLD): New.
20947 (st_atime): Remove duplicate.
20948 (st_mtime): Likewise.
20949 (st_ctime): Likewise.
20950
1c2cfe81
DM
209512012-05-31 David S. Miller <davem@davemloft.net>
20952
20953 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
20954 entries.
20955
5be8418c
AS
209562012-06-01 Andreas Schwab <schwab@linux-m68k.org>
20957
e7725326
AS
20958 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
20959 gen-libm-test.pl.
20960
5be8418c
AS
20961 [BZ #14132]
20962 * elf/dl-reloc.c: Include <_itoa.h>.
20963 (_dl_reloc_bad_type): Remove use of INTUSE.
20964 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
20965 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
20966 * stdio-common/psiginfo.c (psiginfo): Likewise.
20967 * stdio-common/psignal.c (psignal): Likewise.
20968 * string/strsignal.c (strsignal): Likewise.
20969 * include/signal.h (_sys_siglist): Declare hidden proto.
20970 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
20971 INTVARDEF with libc_hidden_data_def.
20972 * stdio-common/itoa-udigits.c: Likewise.
20973 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
20974 (_itoa_lower_digits_internal): Remove declaration.
20975 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
20976 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
20977 (_sys_sigabbrev_internal): Remove aliases.
20978 (_sys_siglist): Define hidden alias.
20979
507352f1
MT
209802012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
20981
20982 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20983 bits/sysctl.h.
20984
42bbb1c3
L
209852012-05-31 H.J. Lu <hongjiu.lu@intel.com>
20986
20987 [BZ #14117]
6bd784b6
L
20988 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
20989 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
20990
8bca20f0
L
20991 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
20992 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
20993 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
20994 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
20995 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
20996 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
20997
f9e890a9
L
20998 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
20999 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
21000 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
21001
471101a1
L
21002 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
21003 with __addr.
21004 (insw): Likewise.
21005 (insl): Likewise.
21006 (outsb): Likewise.
21007 (outsw): Likewise.
21008 (outsl): Likewise.
21009
6451c862
L
21010 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
21011 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
21012 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
21013
a254b8c9
L
21014 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
21015 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
21016 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
21017 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
21018 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
21019 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
21020
b8dfdd92
L
21021 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
21022 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
21023
578cd270
L
21024 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
21025 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
21026
de662f5f
L
21027 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
21028 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
21029 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
21030
25653439
L
21031 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
21032 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
21033 to ...
21034 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
21035
6bad24a0
L
21036 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
21037 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
21038 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
21039
42bbb1c3
L
21040 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
21041 for x86-64.
21042 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
21043
2d10d547
JM
210442012-05-31 Joseph Myers <joseph@codesourcery.com>
21045
21046 * math/math.h (M_El): Use two more decimal places.
21047 (M_LOG2El): Likewise.
21048 (M_LOG10El): Likewise.
21049 (M_LN2l): Likewise.
21050 (M_LN10l): Likewise.
21051 (M_PIl): Likewise.
21052 (M_PI_2l): Likewise.
21053 (M_PI_4l): Likewise.
21054 (M_1_PIl): Likewise.
21055 (M_2_PIl): Likewise.
21056 (M_2_SQRTPIl): Likewise.
21057 (M_SQRT2l): Likewise.
21058 (M_SQRT1_2l): Likewise.
21059
f230c29b
DM
210602012-05-31 David S. Miller <davem@davemloft.net>
21061
21062 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
21063 values between float registers.
21064 * sysdeps/sparc/sparc64/memset.S: Likewise.
21065 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21066
fed806c3
MF
210672012-05-31 Mike Frysinger <vapier@gentoo.org>
21068
21069 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
21070 -D_FORTIFY_SOURCE=1.
21071 (CPPFLAGS-tst-longjmp_chk.c): Define.
21072 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
21073 (CPPFLAGS-tst-longjmp_chk2.c): Define.
21074 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
21075 CFLAGS-tst-wchar-h.c.
21076
30917259
MP
210772012-05-31 Marek Polacek <polacek@redhat.com>
21078
21079 [BZ #14132]
21080 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
21081 __endmntent_internal): Remove declaration.
21082 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
21083 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
21084 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
21085
1c58d5dc
DM
210862012-05-30 David S. Miller <davem@davemloft.net>
21087
21088 * sysdeps/sparc/sparc32/soft-fp/q_util.c
21089 (___Q_simulate_exceptions): Use real FP ops rather than writing
21090 into the %fsr.
21091 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
21092 Likewise.
21093
7dc00e0d
L
210942012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21095
21096 [BZ #14117]
0bd53985
L
21097 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
21098 * sysdeps/x86/bits/xtitypes.h: This.
21099
3a257e66
L
21100 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
21101 * sysdeps/x86/bits/wordsize.h: This.
21102
62f62904
L
21103 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
21104 * sysdeps/x86/bits/huge_vall.h: This.
21105
404fe9d9
L
21106 * sysdeps/i386/bits/select.h: Removed.
21107 * sysdeps/x86_64/bits/select.h: Renamed to ...
21108 * sysdeps/x86/bits/select.h: This.
21109
d48d0446
L
21110 * sysdeps/i386/bits/setjmp.h: Removed.
21111 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
21112 * sysdeps/x86/bits/setjmp.h: This.
21113
7dc00e0d
L
21114 * sysdeps/i386/bits/mathdef.h: Removed.
21115 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
21116 * sysdeps/x86/bits/mathdef.h: This.
21117
03277f8f
AS
211182012-05-30 Andreas Schwab <schwab@linux-m68k.org>
21119
21120 [BZ #14132]
21121 * include/sys/socket.h (__connect_internal)
21122 (__libc_sa_len_internal): Remove declaration.
21123 (__connect, __libc_sa_len): Declare hidden_proto.
21124 (SA_LEN): Remove use of INTUSE.
21125 * socket/connect.c: Add libc_hidden_def.
21126 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
21127 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
21128 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
21129 alias.
21130 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
21131 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
21132 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
21133 of adding _internal alias.
21134
13764867
L
211352012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21136
21137 [BZ #14117]
6bd97696
L
21138 * sysdeps/i386/bits/link.h: Removed.
21139 * sysdeps/i386/bits/linkmap.h: Likewise.
21140 * sysdeps/x86_64/bits/link.h: Renamed to ...
21141 * sysdeps/x86/bits/link.h: This.
21142 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
21143 * sysdeps/x86/bits/linkmap.h: This.
21144
f726f0bb
L
21145 * sysdeps/i386/bits/endian.h: Removed.
21146 * sysdeps/x86_64/bits/endian.h: Renamed to ...
21147 * sysdeps/x86/bits/endian.h: This.
21148
13764867
L
21149 * sysdeps/i386/bits/byteswap.h: Removed.
21150 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21151 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
21152 * sysdeps/x86/bits/byteswap.h: This.
21153 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
21154 * sysdeps/x86/bits/byteswap-16.h: This.
21155 * sysdeps/i386/Implies: Add x86.
21156 * sysdeps/x86_64/Implies: Likewise.
21157
ae251b0b
DM
211582012-05-30 David S. Miller <davem@davemloft.net>
21159
21160 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
21161 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
21162 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
21163 (FP_TRAPPING_EXCEPTIONS): Define.
21164 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
21165 (FP_TRAPPING_EXCEPTIONS): Define.
21166 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
21167 subnormals only when inexact has been signalled or underflow
21168 exceptions are enabled.
21169 (_FP_PACK_CANONICAL): Likewise.
21170
d5c90867
L
211712012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21172
21173 [BZ #14183]
21174 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
21175 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
21176
63f1549e
RH
211772012-05-30 Richard Henderson <rth@twiddle.net>
21178
8d8f2279
RH
21179 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
21180 with #ifndef NOT_IN_libc.
21181
63f1549e
RH
21182 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
21183 marked to avoid plt entry.
21184
0ab0291b
L
211852012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21186
21187 [BZ #14112]
21188 * Makeconfig (default-abi): New macro.
21189 (abi-includes): Likewise.
21190 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
21191 $(abi-$(default-abi)-lib-soname) for soname if defined.
21192 ($(common-objpfx)gnu/lib-names.stmp): Generate from
21193 abi-variants.
21194 * Makefile (installed-stubs): Likewise.
21195 * include/stubs-biarch.h: Removed.
21196 * scripts/lib-names.awk: Only handle one library at a time.
21197 * scripts/soversions.awk: Remove WORDSIZE support.
21198 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
21199 entries.
21200 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
21201 Removed.
21202 (syscall-list-default-condition): Likewise.
21203 (syscall-list-default-condition): Likewise.
21204 (syscall-list-includes): Likewise.
21205 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
21206 syscall-list-* with abi-*. Handle undefined abi-variants.
21207 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
21208 * sysdeps/unix/sysv/linux/i386/Implies: New file.
21209 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
21210 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
21211 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
21212 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
21213 Removed.
21214 (syscall-list-32-options): Likewise.
21215 (syscall-list-32-condition): Likewise.
21216 (syscall-list-64-options): Likewise.
21217 (syscall-list-64-condition): Likewise.
21218 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
21219 macro.
21220 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
21221 Renamed to ...
21222 (abi-*): This.
21223 (abi-64-ld-soname): New macro.
21224 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
21225 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
21226 Renamed to ...
21227 (abi-*): This.
21228 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
21229 * sysdeps/x86_64/x32/shlib-versions: Likewise.
21230
4da0431d
JM
212312012-05-30 Joseph Myers <joseph@codesourcery.com>
21232
3a85279c
JM
21233 * sysdeps/unix/sysv/linux/kernel-features.h
21234 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
21235 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
21236 include <kernel-features.h>.
21237 [!__NR_ftruncate64]: Remove conditional code.
21238 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21239 [__NR_ftruncate64]: Make code unconditional.
21240 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21241 * sysdeps/unix/sysv/linux/truncate64.c: Do not
21242 include <kernel-features.h>.
21243 [!__NR_ftruncate64]: Remove conditional code.
21244 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21245 [__NR_ftruncate64]: Make code unconditional.
21246 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
21248 include <kernel-features.h>.
21249 [!__NR_ftruncate64]: Remove conditional code.
21250 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21251 [__NR_ftruncate64]: Make code unconditional.
21252 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21254 include <kernel-features.h>.
21255 [!__NR_ftruncate64]: Remove conditional code.
21256 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21257 [__NR_ftruncate64]: Make code unconditional.
21258 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21259
4da0431d
JM
21260 * configure.in (libc_cv_fpie): Weaken to a compile test using
21261 LIBC_TRY_CC_OPTION.
21262 * configure: Regenerated.
21263
11ef492c
AK
212642012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21265
21266 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
21267 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
21268 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
21269 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21270 Refreshed.
21271 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
21272 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
21273 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
21274 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
21275 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
21276 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21277 Refreshed.
21278
d66ef399
DM
212792012-05-27 David S. Miller <davem@davemloft.net>
21280
21281 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
21282 (___Q_zero): New.
21283 (__Q_simulate_exceptions): Return void. Change to simulate
21284 exceptions by writing into the %fsr.
21285 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
21286 (__Qp_handle_exceptions): Likewise.
21287 (numbers): Delete.
21288 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
21289 __Qp_handle_exceptions.
21290 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
21291 __Qp_handle_exceptions.
21292 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21293 as unused and give dummy FP_RND_NEAREST initializer.
21294 (FP_INHIBIT_RESULTS): Define.
21295 (___Q_simulate_exceptions): Update declaration.
21296 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
21297 formatting.
21298 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21299 as unused and give dummy FP_RND_NEAREST initializer.
21300 (__Qp_handle_exceptions): Update declaration.
21301 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
21302 formatting.
21303
04fb54b5
TS
213042012-05-27 Thomas Schwinge <thomas@codesourcery.com>
21305
21306 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
21307 the temporary FPU control word.
21308 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21309 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
21310 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
21311 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21312 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21313 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
21314 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
21315 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21316 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21317 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
21318 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21319
3f99608f
KK
213202012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21321
21322 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
21323 fields.
21324
65a4de4e
CLT
213252012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
21326
21327 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
21328 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
21329 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
21330 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
21331 Likewise.
21332 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
21333 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
21334 Likewise.
21335
15749d40
UD
213362012-05-27 Ulrich Drepper <drepper@gmail.com>
21337
21338 * po/h.po: Update from translation team.
21339
25dbcb27
AS
213402012-05-26 Andreas Schwab <schwab@linux-m68k.org>
21341
3d3f8e55
AS
21342 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
21343
25dbcb27
AS
21344 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
21345 handling of denormals.
21346 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21347 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21348 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21349 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21350 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21351 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
21352 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
21353 Likewise.
21354
7ad47a80 213552012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
21356
21357 [BZ #14152]
21358 * math/libm-test.inc (fma_test): Don't always expect underflow
21359 exception.
21360
9c6ea9fa
SP
213612012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21362
21363 [BZ #12416]
21364 * elf/tst-execstack.c: Include stackinfo.h.
21365 (do_test): Adjust test case to ensure that pthread_getattr_np
21366 behaviour remains the same after marking stack executable.
21367
a8239222
JM
213682012-05-25 Joseph Myers <joseph@codesourcery.com>
21369
21370 * sysdeps/unix/sysv/linux/kernel-features.h
21371 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
21372 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
21373 kernel-features.h.
21374 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21375 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21376 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
21377 kernel-features.h.
21378 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21379 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21380
918b5606
L
213812012-05-25 H.J. Lu <hongjiu.lu@intel.com>
21382
21383 * configure.in: Define the default includes to being none.
21384 * configure: Regenerated.
21385
3a097cc7
RM
213862012-05-25 Roland McGrath <roland@hack.frob.com>
21387
8422c9a5
RM
21388 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
21389 * sysdeps/x86_64/setjmp.S: Likewise.
21390 * sysdeps/i386/bsd-setjmp.S: Likewise.
21391 * sysdeps/i386/bsd-_setjmp.S: Likewise.
21392 * sysdeps/i386/setjmp.S: Likewise.
21393 * sysdeps/i386/__longjmp.S: Likewise.
21394 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21395 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
21396
3a097cc7
RM
21397 * include/stap-probe.h: New file.
21398 * configure.in: Handle --enable-systemtap.
21399 * configure: Regenerated.
21400 * config.h.in (USE_STAP_PROBE): New #undef.
21401 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
21402 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
21403 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21404
21708942
JM
214052012-05-25 Joseph Myers <joseph@codesourcery.com>
21406
21407 [BZ #13717]
21408 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21409 to 2.4.0 where earlier.
21410 * sysdeps/unix/sysv/linux/configure: Regenerated.
21411 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
21420 [__ASSUME_32BITUIDS]: Make code unconditional.
21421 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
21422 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
21423 <kernel-features.h>.
21424 [__ASSUME_32BITUIDS]: Make code unconditional.
21425 [!__ASSUME_32BITUIDS]: Remove conditional code.
21426 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
21427 <kernel-features.h>.
21428 [__ASSUME_32BITUIDS]: Make code unconditional.
21429 [!__ASSUME_32BITUIDS]: Remove conditional code.
21430 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
21431 <kernel-features.h>.
21432 [__ASSUME_32BITUIDS]: Make code unconditional.
21433 [!__ASSUME_32BITUIDS]: Remove conditional code.
21434 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
21435 <kernel-features.h>.
21436 [__ASSUME_32BITUIDS]: Make code unconditional.
21437 [!__ASSUME_32BITUIDS]: Remove conditional code.
21438 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21439 <kernel-features.h>.
21440 [__ASSUME_32BITUIDS]: Make code unconditional.
21441 [!__ASSUME_32BITUIDS]: Remove conditional code.
21442 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21443 <kernel-features.h>.
21444 [__ASSUME_32BITUIDS]: Make code unconditional.
21445 [!__ASSUME_32BITUIDS]: Remove conditional code.
21446 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
21447 <kernel-features.h>.
21448 [__ASSUME_32BITUIDS]: Make code unconditional.
21449 [!__ASSUME_32BITUIDS]: Remove conditional code.
21450 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21451 <kernel-features.h>.
21452 [__ASSUME_32BITUIDS]: Make code unconditional.
21453 [!__ASSUME_32BITUIDS]: Remove conditional code.
21454 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21455 <kernel-features.h>.
21456 [__ASSUME_32BITUIDS]: Make code unconditional.
21457 [!__ASSUME_32BITUIDS]: Remove conditional code.
21458 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
21459 <kernel-features.h>.
21460 [__ASSUME_32BITUIDS]: Make code unconditional.
21461 [!__ASSUME_32BITUIDS]: Remove conditional code.
21462 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
21463 <kernel-features.h>.
21464 [__NR_setresgid] (__setresgid): Do not declare.
21465 [__ASSUME_32BITUIDS]: Make code unconditional.
21466 [!__ASSUME_32BITUIDS]: Remove conditional code.
21467 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
21468 <kernel-features.h>.
21469 [__NR_setresuid] (__setresuid): Do not declare.
21470 [__ASSUME_32BITUIDS]: Make code unconditional.
21471 [!__ASSUME_32BITUIDS]: Remove conditional code.
21472 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
21473 <kernel-features.h>.
21474 [__ASSUME_32BITUIDS]: Make code unconditional.
21475 [!__ASSUME_32BITUIDS]: Remove conditional code.
21476 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
21477 <kernel-features.h>.
21478 [__ASSUME_32BITUIDS]: Make code unconditional.
21479 [!__ASSUME_32BITUIDS]: Remove conditional code.
21480 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
21481 <kernel-features.h>.
21482 [__ASSUME_32BITUIDS]: Make code unconditional.
21483 [!__ASSUME_32BITUIDS]: Remove conditional code.
21484 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
21485 <kernel-features.h>.
21486 [__ASSUME_32BITUIDS]: Make code unconditional.
21487 [!__ASSUME_32BITUIDS]: Remove conditional code.
21488 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
21489 <kernel-features.h>.
21490 [__ASSUME_32BITUIDS]: Make code unconditional.
21491 [!__ASSUME_32BITUIDS]: Remove conditional code.
21492 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
21493 <kernel-features.h>.
21494 [__ASSUME_32BITUIDS]: Make code unconditional.
21495 [!__ASSUME_32BITUIDS]: Remove conditional code.
21496 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
21497 <kernel-features.h>.
21498 [__ASSUME_32BITUIDS]: Make code unconditional.
21499 [!__ASSUME_32BITUIDS]: Remove conditional code.
21500 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
21501 <kernel-features.h>.
21502 [__ASSUME_32BITUIDS]: Make code unconditional.
21503 [!__ASSUME_32BITUIDS]: Remove conditional code.
21504 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
21505 <kernel-features.h>.
21506 [__ASSUME_32BITUIDS]: Make code unconditional.
21507 [!__ASSUME_32BITUIDS]: Remove conditional code.
21508 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21509 <kernel-features.h>.
21510 [__ASSUME_32BITUIDS]: Make code unconditional.
21511 [!__ASSUME_32BITUIDS]: Remove conditional code.
21512 * sysdeps/unix/sysv/linux/kernel-features.h
21513 (__ASSUME_SETRESUID_SYSCALL): Remove.
21514 (__ASSUME_SETRESGID_SYSCALL): Likewise.
21515 (__ASSUME_32BITUIDS): Likewise.
21516 (__ASSUME_LDT_WORKS): Likewise.
21517 (__ASSUME_O_DIRECTORY): Likewise.
21518 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
21519 architecture but not kernel version.
21520 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
21521 (__ASSUME_MMAP2_SYSCALL): Likewise.
21522 (__ASSUME_STAT64_SYSCALL): Likewise.
21523 (__ASSUME_IPC64): Likewise.
21524 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
21525 <kernel-features.h>.
21526 [__ASSUME_32BITUIDS]: Make code unconditional.
21527 [!__ASSUME_32BITUIDS]: Remove conditional code.
21528 * sysdeps/unix/sysv/linux/opendir.c: Do not include
21529 <kernel-features.h>.
21530 [__ASSUME_O_DIRECTORY]: Make code unconditional.
21531 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
21532 132096]: Remove conditional code.
21533 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
21534 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21535 <kernel-features.h>.
21536 [__ASSUME_32BITUIDS]: Make code unconditional.
21537 [!__ASSUME_32BITUIDS]: Remove conditional code.
21538 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21539 <kernel-features.h>.
21540 [__ASSUME_32BITUIDS]: Make code unconditional.
21541 [!__ASSUME_32BITUIDS]: Remove conditional code.
21542 * sysdeps/unix/sysv/linux/setegid.c: Do not include
21543 <kernel-features.h>.
21544 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
21545 unconditional.
21546 (__setresgid): Do not declare.
21547 [__ASSUME_32BITUIDS]: Make code unconditional.
21548 [!__ASSUME_32BITUIDS]: Remove conditional code.
21549 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
21550 <kernel-features.h>.
21551 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
21552 unconditional.
21553 (__setresuid): Do not declare.
21554 [__ASSUME_32BITUIDS]: Make code unconditional.
21555 [!__ASSUME_32BITUIDS]: Remove conditional code.
21556 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21557 <kernel-features.h>.
21558 [__ASSUME_32BITUIDS]: Make code unconditional.
21559 [!__ASSUME_32BITUIDS]: Remove conditional code.
21560 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
21561 <kernel-features.h>.
21562 [__ASSUME_32BITUIDS]: Make code unconditional.
21563 [!__ASSUME_32BITUIDS]: Remove conditional code.
21564
a386f1cc
RH
215652012-05-25 Richard Henderson <rth@twiddle.net>
21566
21567 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
21568 dl_hwcap to ifunc resolver.
21569 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
21570 elf_ifunc_invoke.
21571 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
21572 dl_hwcap to ifunc resolver.
21573 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
21574
b6550497
JM
215752012-05-24 Joseph Myers <joseph@codesourcery.com>
21576
21577 [BZ #14153]
21578 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
21579 for |x| <= 2**-26, not 2**-57.
21580 * math/libm-test.inc (acos_test): Do not allow spurious underflow
21581 exception.
21582
b0bc23a1
JL
215832012-05-24 Jeff Law <law@redhat.com>
21584
21585 * stdio-common/Makefile (tests): Add bug25.
21586 * stdio-common/bug25.c: New test.
21587
347c92e9
L
215882012-05-24 H.J. Lu <hongjiu.lu@intel.com>
21589
21590 [BZ #13576]
21591 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
21592 multiple of MALLOC_ALIGNMENT in size.
21593 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
21594
6bcc8b3f
JM
215952012-05-24 Joseph Myers <joseph@codesourcery.com>
21596
21597 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
21598 Require >= 256.
21599 (FILENAME_MAX): Use macro-int-constant.
21600 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
21601 (_IOFBF): Use macro-int-constant.
21602 (_IOLBF): Likewise.
21603 (_IONBF): Likewise.
21604 (SEEK_CUR): Likewise.
21605 (SEEK_END): Likewise.
21606 (SEEK_SET): Likewise.
21607 (TMP_MAX): Likewise.
21608 (EOF): Use macro-int-constant. Require < 0.
21609 (NULL): Use macro-constant. Require == 0.
21610 (stdin): Require type to be FILE *.
21611 (stdout): Likewise.
21612 (stderr): Likewise.
21613 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
21614 macro-int-constant.
21615 (EXIT_SUCCESS): Likewise.
21616 (NULL): Use macro-constant. Require == 0.
21617 (RAND_MAX): Use macro-int-constant.
21618 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
21619 [C99-based standards] (strtof): Require function.
21620 [C99-based standards] (strtold): Likewise.
21621 [C99-based standards] (strtoll): Likewise.
21622 [C99-based standards] (strtoull): Likewise.
21623 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21624 [ISO || ISO99 || ISO11] (limits.h): Likewise.
21625 [ISO || ISO99 || ISO11] (math.h): Likewise.
21626 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
21627 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21628 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21629
d18ea0c5
AS
216302012-05-24 Andreas Schwab <schwab@linux-m68k.org>
21631
21632 [BZ #14132]
56d25bb8
AS
21633 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
21634 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
21635 * intl/dgettext.c (DCGETTEXT): Likewise.
21636 * intl/gettext.c (DCGETTEXT): Likewise.
21637 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
21638 * posix/regex_internal.h (gettext): Likewise.
21639 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
21640 Remove declaration.
21641 * include/argz.h (__argz_count_internal)
21642 (__argz_stringify_internal): Remove declaration.
21643 (__argz_count, __argz_stringify): Declare hidden proto.
21644 * intl/dcgettext.c: Remove use of INTDEF.
21645 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
21646 * string/argz-stringify.c: Likewise.
21647 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21648 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21649 Declare hidden proto.
d18ea0c5
AS
21650 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21651 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21652 Declare hidden proto.
21653 * include/stdio.h (__asprintf_internal): Don't declare.
21654 (__asprintf): Don't define as macro. Declare hidden proto.
21655 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
21656 (__fsetlocking): Declare hidden proto.
21657 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
21658 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
21659 hidden proto.
21660 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
21661 (_IO_setlinebuf): Remove use of INTUSE.
21662 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
21663 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
21664 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
21665 Remove declaration.
21666 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
21667 (_IO_do_flush): Remove use of INTUSE.
21668 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
21669 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
21670 (_IO_adjust_column, _IO_least_wmarker)
21671 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
21672 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
21673 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
21674 (_IO_default_doallocate, _IO_wdefault_doallocate)
21675 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
21676 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
21677 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
21678 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
21679 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
21680 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
21681 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
21682 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
21683 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
21684 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
21685 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
21686 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
21687 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
21688 proto.
21689 (_IO_flush_all_internal, _IO_adjust_column_internal)
21690 (_IO_default_uflow_internal, _IO_default_finish_internal)
21691 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
21692 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
21693 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
21694 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
21695 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
21696 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
21697 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
21698 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
21699 (_IO_file_close_internal, _IO_file_close_it_internal)
21700 (_IO_file_underflow_internal, _IO_file_overflow_internal)
21701 (_IO_file_init_internal, _IO_file_attach_internal)
21702 (_IO_file_fopen_internal, _IO_file_read_internal)
21703 (_IO_file_sync_internal, _IO_file_seek_internal)
21704 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
21705 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
21706 (_IO_str_underflow_internal, _IO_str_overflow_internal)
21707 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
21708 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
21709 (_IO_list_all_internal, _IO_link_in_internal)
21710 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
21711 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
21712 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
21713 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
21714 (_IO_do_write_internal, _IO_padn_internal)
21715 (_IO_getline_info_internal, _IO_getline_internal)
21716 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
21717 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
21718 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
21719 (_IO_vfscanf_internal, _IO_vfprintf_internal)
21720 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
21721 (_IO_init_internal, _IO_un_link_internal): Don't declare.
21722 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
21723 with libc_hidden_ver, remove use of INTUSE.
21724 * libio/genops.c: Likewise.
21725 * libio/freopen.c: Likewise.
21726 * libio/freopen64.c: Likewise.
21727 * libio/iofclose.c: Likewise.
21728 * libio/iofdopen.c: Likewise.
21729 * libio/iofflush.c: Likewise.
21730 * libio/iofflush_u.c: Likewise.
21731 * libio/iofgets.c: Likewise.
21732 * libio/iofgets_u.c: Likewise.
21733 * libio/iofopen.c: Likewise.
21734 * libio/iofopncook.c: Likewise.
21735 * libio/iofread.c: Likewise.
21736 * libio/iofread_u.c: Likewise.
21737 * libio/ioftell.c: Likewise.
21738 * libio/iofwrite.c: Likewise.
21739 * libio/iogetline.c: Likewise.
21740 * libio/iogets.c: Likewise.
21741 * libio/iogetwline.c: Likewise.
21742 * libio/iopadn.c: Likewise.
21743 * libio/iopopen.c: Likewise.
21744 * libio/ioseekoff.c: Likewise.
21745 * libio/ioseekpos.c: Likewise.
21746 * libio/iosetbuffer.c: Likewise.
21747 * libio/iosetvbuf.c: Likewise.
21748 * libio/ioungetc.c: Likewise.
21749 * libio/ioungetwc.c: Likewise.
21750 * libio/iovdprintf.c: Likewise.
21751 * libio/iovsprintf.c: Likewise.
21752 * libio/iovsscanf.c: Likewise.
21753 * libio/memstream.c: Likewise.
21754 * libio/obprintf.c: Likewise.
21755 * libio/oldfileops.c: Likewise.
21756 * libio/oldiofclose.c: Likewise.
21757 * libio/oldiofdopen.c: Likewise.
21758 * libio/oldiofopen.c: Likewise.
21759 * libio/oldiopopen.c: Likewise.
21760 * libio/oldstdfiles.c: Likewise.
21761 * libio/putc.c: Likewise.
21762 * libio/setbuf.c: Likewise.
21763 * libio/setlinebuf.c: Likewise.
21764 * libio/stdfiles.c: Likewise.
21765 * libio/strops.c: Likewise.
21766 * libio/vasprintf.c: Likewise.
21767 * libio/vscanf.c: Likewise.
21768 * libio/vsnprintf.c: Likewise.
21769 * libio/vswprintf.c: Likewise.
21770 * libio/wfiledoalloc.c: Likewise.
21771 * libio/wfileops.c: Likewise.
21772 * libio/wgenops.c: Likewise.
21773 * libio/wmemstream.c: Likewise.
21774 * libio/wstrops.c: Likewise.
21775 * libio/__fpurge.c: Likewise.
21776 * libio/__fsetlocking.c: Likewise.
21777 * assert/assert.c: Likewise.
21778 * debug/fgets_chk.c: Likewise.
21779 * debug/fgets_u_chk.c: Likewise.
21780 * debug/fread_chk.c: Likewise.
21781 * debug/fread_u_chk.c: Likewise.
21782 * debug/gets_chk.c: Likewise.
21783 * debug/obprintf_chk.c: Likewise.
21784 * debug/vasprintf_chk.c: Likewise.
21785 * debug/vdprintf_chk.c: Likewise.
21786 * debug/vsnprintf_chk.c: Likewise.
21787 * debug/vsprintf_chk.c: Likewise.
21788 * malloc/mtrace.c: Likewise.
21789 * misc/error.c: Likewise.
21790 * misc/syslog.c: Likewise.
21791 * stdio-common/asprintf.c: Likewise.
21792 * stdio-common/fxprintf.c: Likewise.
21793 * stdio-common/getw.c: Likewise.
21794 * stdio-common/isoc99_fscanf.c: Likewise.
21795 * stdio-common/isoc99_scanf.c: Likewise.
21796 * stdio-common/isoc99_vfscanf.c: Likewise.
21797 * stdio-common/isoc99_vscanf.c: Likewise.
21798 * stdio-common/isoc99_vsscanf.c: Likewise.
21799 * stdio-common/printf-prs.c: Likewise.
21800 * stdio-common/printf_fp.c: Likewise.
21801 * stdio-common/printf_fphex.c: Likewise.
21802 * stdio-common/printf_size.c: Likewise.
21803 * stdio-common/putw.c: Likewise.
21804 * stdio-common/scanf.c: Likewise.
21805 * stdio-common/sprintf.c: Likewise.
21806 * stdio-common/tmpfile.c: Likewise.
21807 * stdio-common/vfprintf.c: Likewise.
21808 * stdio-common/vfscanf.c: Likewise.
21809 * stdlib/strfmon_l.c: Likewise.
21810 * sunrpc/openchild.c: Likewise.
21811 * sunrpc/xdr_stdio.c: Likewise.
21812 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
21813 * sysdeps/mach/hurd/tmpfile.c: Likewise.
21814
d6c33fda
RM
218152012-05-24 Roland McGrath <roland@hack.frob.com>
21816
c1487492
RM
21817 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21818
21819 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
21820 in the third column, to generate for the shared library an IFUNC
21821 that uses _dl_vdso_vsym.
21822 * Makerules (COMPILE.c, compile-stdin.c): New variables.
21823 * Makeconfig (object-suffixes-noshared): New variable.
21824
21825 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
21826 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
21827 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
21828 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
21829
d6c33fda
RM
21830 [BZ #14132]
21831 * include/sys/time.h (__gettimeofday): Remove macro.
21832 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
21833 * time/gettimeofday.c (__gettimeofday): Remove #undef.
21834 Remove INTDEF.
21835 (__gettimeofday): Add libc_hidden_def.
21836 (gettimeofday): Add libc_hidden_weak.
21837 * sysdeps/mach/gettimeofday.c: Likewise.
21838 * sysdeps/posix/gettimeofday.c: Likewise.
21839 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
21840 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
21841 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
21842 (__gettimeofday_internal): Remove strong_alias.
21843 (__gettimeofday): Add libc_hidden_def.
21844 (gettimeofday): Add libc_hidden_weak.
21845 * sysdeps/unix/syscalls.list (gettimeofday):
21846 Remove __gettimeofday_internal alias.
21847
b5a2bbe6
L
218482012-05-24 Daniel Jacobowitz <drow@false.org>
21849 H.J. Lu <hongjiu.lu@intel.com>
21850
21851 [BZ #12495]
21852 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
21853 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
21854 (largebin_index_32_big): New.
21855 (largebin_index): Use it for 16-byte alignment.
21856 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
21857 correction with front_misalign.
21858
cfba4fda
L
218592012-05-24 H.J. Lu <hongjiu.lu@intel.com>
21860
7f907421
L
21861 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
21862 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
21863 Likewise.
21864 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
21865 Likewise.
21866 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21867 Likewise.
21868 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
21869 Likewise.
21870 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
21871 Likewise.
21872 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
21873 Likewise.
21874 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
21875 Likewise.
21876 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
21877 Likewise.
21878 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
21879 Likewise.
21880 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
21881 Likewise.
21882 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
21883 Likewise.
21884 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
21885 Likewise.
21886
cfba4fda
L
21887 * scripts/data/c++-types-x32-linux-gnu.data: New file.
21888 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
21889
80bad0cc
JM
218902012-05-24 Joseph Myers <joseph@codesourcery.com>
21891
7a25eb06
JM
21892 [BZ #10846]
21893 [BZ #14036]
21894 * math/libm-test.inc (exp_test): Add test from bug 14036.
21895 (pow_test): Add test from bug 10846.
21896
795405f9
JM
21897 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
21898 and other flags.
21899 (special_function): Do not include flags in test name.
21900 (parse_args): Likewise.
21901 * sysdeps/i386/fpu/libm-test-ulps: Update.
21902 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21903 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21904 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21906
80bad0cc
JM
21907 * math/gen-libm-test.pl (%beautify): Add entries for underflow
21908 exceptions.
21909 * math/libm-test.inc ("Philosophy"): Update comment about
21910 exception testing.
21911 (UNDERFLOW_EXCEPTION): New macro.
21912 (UNDERFLOW_EXCEPTION_OK): Likewise.
21913 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
21914 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
21915 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
21916 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
21917 (INVALID_EXCEPTION_OK): Update value.
21918 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21919 (OVERFLOW_EXCEPTION_OK): Likewise.
21920 (IGNORE_ZERO_INF_SIGN): Likewise.
21921 (test_exceptions): Handle underflow exceptions.
21922 (acos_test): Update for underflow exception expectations.
21923 (cexp_test): Likewise.
21924 (clog_test): Likewise.
21925 (clog10_test): Likewise.
21926 (csqrt_test): Likewise.
21927 (ctan_test): Likewise.
21928 (ctanh_test): Likewise.
21929 (exp_test): Likewise.
21930 (exp10_test): Likewise.
21931 (exp2_test): Likewise.
21932 (expm1_test): Likewise.
21933 (fma_test): Likewise.
21934 (j0_test): Likewise.
21935 (jn_test): Likewise.
21936 (nexttoward_test): Likewise.
21937 (pow_test): Likewise.
21938 (scalbn_test): Likewise.
21939 (scalbln_test): Likewise.
21940 (tan_test): Likewise.
21941 (y1_test): Likewise.
21942 * sysdeps/i386/fpu/libm-test-ulps: Update.
21943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21944
9e0e3d0b
DM
219452012-05-23 David S. Miller <davem@davemloft.net>
21946
21947 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21948 (__libc_sigaction): Remove unused local variables.
21949
ccd0a08f
L
219502012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21951
21952 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
21953
62bdf9a6
PE
219542012-05-23 Paul Eggert <eggert@cs.ucla.edu>
21955
f8591f80
PE
21956 mktime: avoid signed integer overflow
21957 * time/mktime.c (__mktime_internal): Do not mishandle the case
21958 where diff == INT_MIN.
21959
94c7d826
PE
21960 mktime: simplify computation of average
21961 * time/mktime.c (ranged_convert): Use new time_t_avg function
21962 instead of rolling our own (probably-slower) code.
21963
ce73d683
PE
21964 mktime: do not assume signed right shift propagates sign bit
21965 * time/mktime.c (isdst_differ): New static function.
21966 (__mktime_internal): No need to normalize tm_isdst now.
21967 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
21968 tm_isdst values.
21969
72a22e59
PE
21970 mktime: merge another wrapv change from gnulib
21971 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
21972 from some compilers.
21973
68605433
PE
21974 mktime: remove incorrect attempt at unusual arithmetics
21975 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
21976 The code didn't really work on such machines anyway.
21977 (TYPE_MINIMUM): Assume two's complement.
21978 (twos_complement_arithmetic): Verify that long_int and time_t
21979 are two's complement (or unsigned, in the latter case).
21980
03cf7fe3
PE
21981 mktime: check signed shifts on long_int and time_t, too
21982 * time/mktime.c (SHR): Check that shifts work as desired
21983 on the types long_int and time_t too, as SHR is used on
21984 such types.
21985
f04dfbc2
PE
21986 mktime: do not assume 'long' is wide enough
21987 * time/mktime.c (verify): Move decl up.
21988 (long_int): New type.
21989 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
21990 to remove assumption in the code that 'long' is wide enough to
21991 store year values. This assumption is not true on x32 and on
21992 some non-glibc platforms.
21993
62bdf9a6
PE
21994 mktime: merge wrapv change from gnulib
21995 * time/mktime.c (WRAPV): New macro.
21996 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
21997 (guess_time_tm, __mktime_internal): Do not assume that signed
21998 integer overflow wraps around; modern compilers generate code
21999 where this assumption is no longer valid.
22000
5e292e4f
L
220012012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22002
22003 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22004 Replace "jmp L(pseudo_end)" with "ret".
22005 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
22006 Likewise.
22007
8caf8c87
AJ
220082012-05-23 Andreas Jaeger <aj@suse.de>
22009
22010 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
22011 * sysdeps/unix/sysv/linux/poll.c: Remove file.
22012
1a09dc56
AJ
220132012-05-23 Andreas Jaeger <aj@suse.de>
22014 Maximilian Attems <max@stro.at>
22015
22016 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
22017 New macros.
22018
1c87aba0
L
220192012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22020
22021 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
22022 code so that pseudo_end is just ret and the stack pointer is
22023 correct also for static library in error case.
22024
40e45bd5
JM
220252012-05-23 Joseph Myers <joseph@codesourcery.com>
22026
c2670533
JM
22027 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
22028 move to syscalls.list.
22029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
22030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22033
40e45bd5
JM
22034 * manual/install.texi (Running make install): Do not mention Linux
22035 kernel version for which pt_chown is not needed.
22036 (Linux): Do not mention problems with nscd with 2.0 kernels.
22037 * INSTALL: Regenerated.
22038
be08eda5
AJ
220392012-05-23 Andreas Jaeger <aj@suse.de>
22040
22041 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
22042 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
22043 macro.
22044 * sysdeps/unix/sysv/linux/s390/bits/mman.h
22045 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22046 * sysdeps/unix/sysv/linux/sh/bits/mman.h
22047 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22048 * sysdeps/unix/sysv/linux/i386/bits/mman.h
22049 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22050 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
22051 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22052 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
22053 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22054 * sysdeps/unix/sysv/linux/bits/in.h
22055 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
22056
a6a056bb
RM
220572012-05-22 Roland McGrath <roland@hack.frob.com>
22058
22059 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
22060 (PREPARE_VERSION): Just use assert instead, it will be elided
22061 under [NDEBUG] anyway.
22062
c9009328
L
220632012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22064
22065 * sysdeps/unix/sysv/linux/Makefile: Include
22066 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 22067 (sysdep_routines): Remove sysctl.
c9009328
L
22068 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
22069 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
22070 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
22071 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
22072 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
22073
73338355
AJ
220742012-05-22 Andreas Jaeger <aj@suse.de>
22075
22076 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
22077 that pseudo_end is just ret and the stack pointer is correct also
22078 for static library in error case.
22079
d44638b0
PP
220802012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
22081
22082 [BZ #14122]
22083 * nss/nsswitch.c (defconfig_entries): New variable.
22084 (__nss_database_lookup): Don't leak defconfig entries.
22085 (nss_parse_service_list): Don't leak on error paths.
22086 (free_database_entries): New function.
22087 (free_defconfig): New function.
22088 (free_mem): Move common code to free_database_entries.
22089
31a39bd8
L
220902012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22091
da0331a8
L
22092 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
22093 Add arch_prctl.
22094 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
22095
31a39bd8
L
22096 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22097 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
22098 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
22099 New macro.
22100 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
22101 (INTERNAL_SYSCALL_TYPES): Likewise.
22102 (LOAD_ARGS_TYPES_[1-6]): Likewise.
22103 (LOAD_REGS_TYPES_[1-6]): Likewise.
22104 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
22105 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
22106
45470df3
AZ
221072012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22108
22109 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
22110 copysignl for GLIBC_2_0.
22111 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
22112 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
22113 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
22114 logbl for GLIBC_2_0.
22115 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
22116 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
22117
98a61bcb
L
221182012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22119
a4f6e481
L
22120 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
22121 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22122
f63d5db6
L
22123 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22124 Use "neg %eax".
22125
98a61bcb
L
22126 * time/mktime.c: Update copyright years.
22127
95770f14
PE
221282012-05-22 Paul Eggert <eggert@cs.ucla.edu>
22129
6226efbd
PE
22130 mktime: merge comment-quoting-style change from gnulib
22131 * time/mktime.c: Quote 'like this' in comments.
22132 The GNU coding standards suggest that we no longer quote `like this',
22133 as "`" and "'" are typically rendered asymmetrically nowadays.
22134 The typical gnulib style is to quote 'like this' when quoting
22135 code, and "like this" when quoting English.
22136
b99e4f78
PE
22137 * time/mktime.c (compile-command): Add "-I.".
22138
643e01e6
PE
22139 mktime: merge mktime-internal.h change from gnulib
22140 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
22141
2554247d
PE
22142 mktime: merge time_r change from gnulib
22143 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
22144
826dd0ab
PE
22145 mktime: merge DEBUG change from gnulib
22146 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
22147 case system <time.h> has a #define.
22148
bd83aabe
PE
22149 mktime: merge <sys/types.h> change from gnulib
22150 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
22151 since <time.t> is now guaranteed to define time_t.
22152
95770f14
PE
22153 mktime: merge HAVE_CONFIG_H change from gnulib
22154 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
22155
5e1a27a9
L
221562012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22157
0e44a77e
L
22158 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22159 Use "neg %eax".
22160
5e1a27a9
L
22161 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
22162 __rlim_t cast.
22163 (struct rusage): Use anonymous union to pad each field to
22164 __syscall_slong_t.
22165
46259bec
DM
221662012-05-21 David S. Miller <davem@davemloft.net>
22167
22168 * Makefules (o-iterator): Remove .s cases.
22169 (compile-command.s): Delete.
22170 (COMPILE.s): Delete.
22171 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
22172
59f0c22e
JM
221732012-05-21 Joseph Myers <joseph@codesourcery.com>
22174
22175 * configure.in (libc_cv_predef_stack_protector): Only consider
22176 "foobar" and "__stack_chk_fail" lines in libc_undefs.
22177 * configure: Regenerated.
22178
20c07380
L
221792012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22180
bbb3154b
L
22181 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22182 New macro. Use R*LP on int and pointer.
22183 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
22184 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
22185 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
22186 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
22187
20c07380
L
22188 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
22189 [__WORDSIZE_TIME64_COMPAT32] instead of
22190 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
22191 (struct utmp): Likewise.
22192 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
22193 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
22194 Renamed to ...
22195 (__WORDSIZE_TIME64_COMPAT32): This.
22196 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
22197 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
22198 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
22199 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
22200 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
22201 (__WORDSIZE_TIME64_COMPAT32): New macro.
22202
d8d1017e
AJ
222032012-05-21 Andreas Jaeger <aj@suse.de>
22204
22205 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
22206 only if [SHARED]. Add prototype for __wcschr_ia32.
22207
6c7fb145
RM
222082012-05-21 Roland McGrath <roland@hack.frob.com>
22209
22210 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
22211 of %rbp unmolested in the jmp_buf while mangling the low bits.
22212 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
22213 unmolested high bits of %rbp while demangling the low bits.
22214 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22215
66274218
AJ
222162012-05-21 Andreas Jaeger <aj@suse.de>
22217
07c58f8f
AJ
22218 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
22219 * sunrpc/svc_simple.c: Use it for registerrpc.
22220 * sunrpc/xcrypt.c: Use it for passwd2des.
22221
66274218
AJ
22222 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
22223
61f65140
L
222242012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22225
22226 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
22227 Don't define if [__SYSCALL_WORDSIZE != 32].
22228 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
22229 New macro.
22230
5fefb436
AJ
222312012-05-21 Bruno Haible <bruno@clisp.org>
22232 Andreas Jaeger <aj@suse.de>
22233
22234 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
22235 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
22236 inptr and inend for must_buffer_ch.
22237 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
22238 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
22239 * stdio-common/Makefile (tests): Remove bug15.
22240 (bug15-ENV): Remove macro.
22241 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
22242 anymore.
22243
d8e272ab
AJ
222442012-05-19 Andreas Jaeger <aj@suse.de>
22245 Roland McGrath <roland@hack.frob.com>
22246
22247 * manual/contrib.texi: Completely rewritten. It contains now an
22248 alphabetical list of contributors and their contributions.
22249
4a56a162
RH
222502012-05-21 Richard Henderson <rth@twiddle.net>
22251
22252 * misc/getauxval.c (__getauxval): Use unsigned long int.
22253 * misc/sys/auxv.h: Include <sys/cdefs.h>.
22254 (getauxval): Use unsigned long int.
22255
d024d23c
L
222562012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22257
22258 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22259
cbc00a03
RM
222602012-05-21 Roland McGrath <roland@hack.frob.com>
22261
22262 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
22263 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
22264 __alignof__ (long double).
22265
478143fa
AZ
222662012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22267
22268 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22269
c7683a6d
RH
222702012-05-20 Richard Henderson <rth@twiddle.net>
22271
22272 * misc/getauxval.c: New file.
22273 * misc/sys/auxv.h: New file.
22274 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
22275 (routines): Add getauxval.
22276 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
22277 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
22278 * elf/dl-sysdep.c (_dl_auxv): Remove.
22279 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
22280 * elf/dl-support.c (_dl_auxv): New variable.
22281 (_dl_aux_init): Initialize it.
22282 * manual/startup.texi (Auxiliary Vector): New node.
22283 * sysdeps/generic/bits/hwcap.h: New file.
22284 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
22285 * sysdeps/powerpc/sysdep.h: ... here. Include it.
22286 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
22287 * sysdeps/sparc/sysdep.h: ... here. Include it.
22288 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
22289 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
22290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22291 Update.
c7683a6d
RH
22292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
22293 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
22294 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
22295 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
22296 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22297 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22298 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
22299 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
22300
a6f1845d
AZ
223012012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22302
22303 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22304
cbcbe830
DM
223052012-05-19 David S. Miller <davem@davemloft.net>
22306
22307 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22308
e0b16cc2
JM
223092012-05-19 Joseph Myers <joseph@codesourcery.com>
22310
22311 [BZ #14123]
22312 * math/s_ccosh.c: Include <float.h>
22313 (__ccosh): Avoid internal overflow calculating sinh and cosh
22314 values before multiplying by sin and cos values.
22315 * math/s_ccoshf.c: Likewise.
22316 * math/s_ccoshl.c: Likewise.
22317 * math/s_csin.c: Likewise.
22318 * math/s_csinf.c: Likewise.
22319 * math/s_csinl.c: Likewise.
22320 * math/s_csinh.c: Likewise.
22321 * math/s_csinhf.c: Likewise.
22322 * math/s_csinhl.c: Likewise.
22323 * math/libm-test.inc (ccos_test): Add more tests.
22324 (ccosh_test): Likewise.
22325 (csin_test): Likewise.
22326 (csinh_test): Likewise.
22327 * sysdeps/i386/fpu/libm-test-ulps: Update.
22328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22329
6ad13e08
L
223302012-05-19 H.J. Lu <hongjiu.lu@intel.com>
22331
f66f0ce8
L
22332 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
22333 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
22334
6ad13e08
L
22335 * sysdeps/x86_64/x32/_itoa.h: Add comment.
22336
b1d072a7
JM
223372012-05-19 Joseph Myers <joseph@codesourcery.com>
22338
22339 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
22340 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
22341 * sysdeps/powerpc/soft-fp/Versions: Likewise.
22342 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
22343 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
22344 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
22345 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
22346 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
22347 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
22348 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
22349 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
22350 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
22351 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
22352 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
22353 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
22354 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
22355 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
22356 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
22357 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
22358 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
22359 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
22360 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
22361 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
22362 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
22363 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
22364 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
22365 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
22366 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
22367 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
22368 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
22369 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
22370
9eae47cb
AJ
223712012-05-18 Andreas Jaeger <aj@suse.de>
22372
22373 * csu/.gitignore: Delete.
22374
bb07f69f
L
223752012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22376
22377 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
22378 (timex): Use __syscall_slong_t.
22379
e6bdb741
AJ
223802012-05-18 Andreas Jaeger <aj@suse.de>
22381 Carlos O'Donell <carlos_odonell@mentor.com>
22382
22383 * manual/install.texi (Configuring and compiling): Update
22384 description about files modified in the source directory.
d6c33fda 22385 * INSTALL: Regenerated.
e6bdb741 22386
1b74487e
L
223872012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22388
22389 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
22390 value. Use "or" to set return value to -1.
22391 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
22392 negate return value.
22393
a88b64b9
TMQMF
223942012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22395
22396 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
22397 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
22398 failure if the compiler has Graphite support disabled.
22399 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
22400 Likewise.
22401 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
22402 CFLAGS-memmove.c): Likewise.
22403 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
22404 Likewise.
22405
3707636e
L
224062012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22407
610b8622
L
22408 * sysdeps/x86_64/x32/_itoa.h: New file.
22409
7cd195df
L
22410 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
22411 getdents system call only if kernel and user dirents have the
22412 same d_ino and d_off.
22413
94b07d20
L
22414 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22415 LLONG_MAX != LONG_MAX.
22416 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22417 (_fitoa_word): Likewise.
22418
18298070
L
22419 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
22420 years.
22421 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
22422 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
22423 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
22424
553c7ea4
L
22425 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
22426 include <bits/wordsize.h>. Check __x86_64__ instead of
22427 __WORDSIZE.
22428 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
22429 if __x86_64__ is defined. Use anonymous union on fpstate.
22430
3707636e
L
22431 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
22432 anonymous union.
22433
b53ef01a
AS
224342012-05-18 Andreas Schwab <schwab@linux-m68k.org>
22435
37fb1dc0
AS
22436 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
22437 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
22438 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
22439 Refer to _rtld_local_ro instead of _rtld_global_ro.
22440 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
22441 Likewise.
22442 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
22443 Likewise.
22444 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
22445 Likewise.
22446 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
22447 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
22448 of _rtld_global, and rtld_progname instead of _dl_argv[0].
22449
b53ef01a
AS
22450 * sysdeps/powerpc/powerpc32/dl-machine.c
22451 (__elf_machine_runtime_setup) [PROF]: Don't reference
22452 _dl_prof_resolve.
22453
7a185db2
AJ
224542012-05-18 Andreas Jaeger <aj@suse.de>
22455
22456 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
22457 function only available for GCCs before 3.4 since GCC 3.4
22458 introduced a builtin.
22459 (lrint): Likewise.
22460 (llrintf): Likewise.
22461 (llrint): Likewise.
22462 (fmaxf): Likewise.
22463 (fmax): Likewise.
22464 (fminf): Likewise.
22465 (fmin): Likewise.
22466 (rint): Likewise.
22467 (rintf): Likewise.
22468 (nearbyint): Likewise.
22469 (nearbyintf): Likewise.
22470 (ceil): Likewise.
22471 (ceilf): Likewise.
22472 (floor): Likewise.
22473 (floorf): Likewise.
22474
3e5aef87
L
224752012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22476
428bd707
L
22477 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
22478 on both fields and cast pointer to __syscall_ulong_t.
22479
3e5aef87
L
22480 * bits/types.h (__fsword_t): New type.
22481 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
22482 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
22483 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22484 (__FSWORD_T_TYPE): Likewise.
22485 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22486 (__FSWORD_T_TYPE): Likewise.
22487 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22488 (__FSWORD_T_TYPE): Likewise.
22489 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
22490 (__FSWORD_T_TYPE): Likewise.
22491 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
22492 __SWORD_TYPE with __fsword_t.
22493 (statfs64): Likewise.
22494
1ba7c3dc
DM
224952012-05-17 David S. Miller <davem@davemloft.net>
22496
22497 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
22498
59910343
AJ
224992012-05-17 Andreas Jaeger <aj@suse.de>
22500
22501 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
22502 warning.
22503
2e4c1e9e
L
225042012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22505
22506 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
22507
de7f5ce7
AJ
225082012-05-17 Andreas Jaeger <aj@suse.de>
22509
22510 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
22511 when it is used.
22512
286abc3d
CM
225132012-05-17 Chris Metcalf <cmetcalf@tilera.com>
22514
22515 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
22516
477cc68e
L
225172012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22518
22519 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
22520 * sysdeps/x86_64/tst-mallocalign1.c: New file.
22521
1a0994f5
CD
225222012-05-17 Andreas Jaeger <aj@suse.de>
22523 Carlos O'Donell <carlos_odonell@mentor.com>
22524
22525 [BZ #14059]
22526 * sysdeps/x86_64/multiarch/init-arch.h
22527 (bit_YMM_Usable): Rename to...
22528 (bit_AVX_Usable): ... this.
22529 (bit_FMA4_Usable): New macro.
22530 (bit_XMM_state): New macro.
22531 (bit_YMM_state): New macro.
22532 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
22533 [__ASSEMBLER__] (index_AVX_Usable): ... this.
22534 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
22535 (CPUID_OSXSAVE): New macro.
22536 (CPUID_AVX): New macro.
22537 (CPUID_FMA4): New macro.
22538 (index_YMM_Usable): Rename to...
22539 (index_AVX_Usable): ... this.
22540 (HAS_AVX): Use HAS_ARCH_FEATURE.
22541 (HAS_FMA4): Likewise.
22542 (HAS_YMM_USABLE): Remove.
22543 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22544 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
22545 are present.
22546 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
22547 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
22548 * sysdeps/x86_64/multiarch/Makefile: Likewise.
22549 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
22550 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
22551
0af797de
CM
225522012-05-17 Chris Metcalf <cmetcalf@tilera.com>
22553
22554 * math/libm-test.c: Support platforms without multiple rounding modes.
22555 * math/bug-nextafter.c: Support platforms without FP exceptions.
22556 * math/bug-nexttoward.c: Likewise.
22557 * math/test-fenv.c: Likewise.
22558 * math/test-misc.c: Likewise.
22559 * stdlib/bug-getcontext.c: Likewise.
22560
e39745ff
AJ
225612012-05-17 Andreas Jaeger <aj@suse.de>
22562
22563 * manual/examples/search.c (critter_cmp): Change signature to
22564 avoid warnings.
22565 * manual/string.texi (Collation Functions): Likewise.
22566
48970aba
L
225672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22568
22569 * bits/types.h: Fold copyright years.
22570 * bits/typesizes.h: Likewise.
22571 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
22572 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
22573 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
22574 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
22575 * time/time.h: Likewise.
22576
bedee953
PP
225772012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
22578
22579 [BZ #208]
22580 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
22581 in instead of returning them. Return void.
22582 (__libc_mallinfo): Accumulate over all arenas.
22583 (__malloc_stats): Adjust for change in int_mallinfo interface.
22584
61653dfb
RM
225852012-05-16 Roland McGrath <roland@hack.frob.com>
22586
30b99d79
RM
22587 [BZ #10375]
22588 * configure.in (NM): Add AC_CHECK_TOOL for it.
22589 (libc_extra_cflags): New substituted variable.
22590 Check for -fstack-protector being used implicitly.
22591 * configure: Regenerated.
22592 * config.make.in (config-extra-cflags): New variable,
22593 gets @libc_extra_cflags@.
22594 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
22595
61653dfb
RM
22596 [BZ #10375]
22597 * configure.in: Check for _FORTIFY_SOURCE being predefined.
22598 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
22599 * configure: Regenerated.
22600 * config.make.in (CPPUNDEFS): New substituted variable.
22601 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
22602 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
22603 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
22604
661768bb
L
226052012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22606
22607 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
22608 (mq_attr): Use __syscall_slong_t.
22609
d4261567
L
226102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22611
22612 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
22613 Check __x86_64__ instead of __WORDSIZE.
22614 (_STAT_VER_LINUX): Likewise.
22615 (stat): Check __x86_64__ instead of __WORDSIZE. Use
22616 __syscall_ulong_t and __syscall_slong_t.
22617 (stat64): Likewise.
22618
cf3ff365
L
226192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22620
22621 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
22622
76cf3e4d
L
226232012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22624
22625 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
22626
a637753a
L
226272012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22628
22629 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
22630 __syscall_ulong_t.
22631
d5e05119
L
22632 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
22633 include <bits/wordsize.h>. Check __x86_64__ instead of
22634 __WORDSIZE.
22635 (greg_t): Use "__extension__ long long int" if __x86_64__ is
22636 defined.
22637 (mcontext_t): Replace "unsigned long" with "unsigned long long".
22638
f62ee380
L
22639 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
22640 include <bits/wordsize.h>. Check __x86_64__ instead of
22641 __WORDSIZE.
22642 (user_regs_struct): Use "__extension__ unsigned long long"
22643 instead of "unsigned long" if __x86_64__ is defined.
22644 (user): Likewise. Pad after pointer field if __ILP32__ is
22645 defined.
22646
4e124ced
JM
226472012-05-16 Joseph Myers <joseph@codesourcery.com>
22648
6a3951a0
JM
22649 * configure.in (makeinfo): Require version 4.5 or later. Allow
22650 versions 5 to 9.
22651 * configure: Regenerated.
22652 * manual/install.texi (texinfo): Increase version requirement to
22653 4.5 or later.
22654 * INSTALL: Regenerated.
22655
4e124ced
JM
22656 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
22657
953ca31a
L
226582012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22659
22660 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
22661
617aca05
L
22662 * sysdeps/x86_64/x32/ffs.c: New file.
22663
5762f7ae
L
22664 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
22665 __syscall_ulong_t.
22666 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
22667 defined. Use __syscall_ulong_t.
22668 (shminfo): Use __syscall_ulong_t.
22669 (shm_info): Likewise.
22670
a26b6856
L
22671 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
22672 __syscall_ulong_t.
22673
cb2b9ef7
L
22674 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
22675 <bits/wordsize.h>.
22676 (msgqnum_t): Use __syscall_ulong_t.
22677 (msglen_t): Likewise.
22678 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
22679 __syscall_ulong_t.
22680
34683bb0
L
22681 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
22682 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22683
84a68786
L
22684 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
22685
48baa5f1
L
22686 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
22687 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
22688
180be88b
L
22689 * sysvipc/sys/msg.h (msgbuf): Replace long int with
22690 __syscall_slong_t.
22691
5e90c8ad
L
22692 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
22693 include <bits/wordsize.h>. Check __x86_64__ instead of
22694 __WORDSIZE.
22695
23dfb58b
L
22696 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
22697 "unsigned long long int" if __x86_64__ is defined.
22698 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
22699
ce5d54b0
L
22700 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
22701 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22702 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
22703
13dc9eac
L
22704 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
22705 <stdint.h>.
22706 (GET_PC): Cast to uintptr_t first.
22707 (GET_FRAME): Likewise.
22708 (GET_STACK): Likewise.
22709
a7895d15
L
22710 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
22711 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
22712 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
22713 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
22714 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
22715 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
22716 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
22717 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
22718 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
22719 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
22720 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
22721 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
22722 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
22723 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
22724 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
22725 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
22726 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
22727 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
22728 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
22729 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
22730 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
22731 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
22732 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
22733 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
22734 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
22735 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
22736 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
22737 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
22738 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
22739
656416c9
AS
227402012-05-16 Andreas Schwab <schwab@linux-m68k.org>
22741
5bd66283
AS
22742 * Makerules (+depfiles): Also collect depfiles from .oS in
22743 $(extra-objs).
22744 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
22745 .oS, $(libnldbl-routines)).
22746
656416c9
AS
22747 * Makerules (native-compile-mkdep-flags): Define.
22748 * sunrpc/Makefile (extra-objs): Add $(addprefix
22749 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
22750 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
22751 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
22752 calling $(make-target-directory).
22753
a46f2169
L
227542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22755
22756 * bits/types.h (__snseconds_t): Removed.
22757 * time/time.h (struct timespec): Replace __snseconds_t with
22758 __syscall_slong_t.
22759 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
22760 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
22761 Likewise.
22762 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22763 (__SNSECONDS_T_TYPE): Likewise.
22764 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22765 (__SNSECONDS_T_TYPE): Likewise.
22766 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22767 (__SNSECONDS_T_TYPE): Likewise.
22768
6af6528b
L
227692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22770
22771 * sysdeps/mach/hurd/bits/typesizes.h
22772 (__SYSCALL_SLONG_TYPE): New macro.
22773 (__SYSCALL_ULONG_TYPE): Likewise.
22774
de986b56
L
227752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22776
22777 * bits/types.h (__syscall_slong_t): New type.
22778 (__syscall_ulong_t): Likewise.
22779
22780 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
22781 (__SYSCALL_ULONG_TYPE): Likewise.
22782 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22783 (__SYSCALL_SLONG_TYPE): Likewise.
22784 (__SYSCALL_ULONG_TYPE): Likewise.
22785 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22786 (__SYSCALL_SLONG_TYPE): Likewise.
22787 (__SYSCALL_ULONG_TYPE): Likewise.
22788 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22789 (__SYSCALL_SLONG_TYPE): Likewise.
22790 (__SYSCALL_ULONG_TYPE): Likewise.
22791
85736dc7
L
227922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22793
22794 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
22795 Add sigaltstack-offsets.sym.
22796 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
22797 <sigaltstack-offsets.h>.
22798 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
22799 longjmp_msg pointer.
22800 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
22801 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
22802 signal stack.
22803 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
22804
cc03b296
JM
228052012-05-15 Joseph Myers <joseph@codesourcery.com>
22806
a9538892
JM
22807 * elf/stackguard-macros.h: Remove file.
22808 * sysdeps/generic/stackguard-macros.h: New file.
22809 * sysdeps/i386/stackguard-macros.h: Likewise.
22810 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22811 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22812 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22813 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22814 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22815 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22816 * sysdeps/x86_64/stackguard-macros.h: Likewise.
22817 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
22818 <elf/stackguard-macros.h>.
22819
cc03b296
JM
22820 [BZ #14109]
22821 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
22822 __aligned__ in attribute.
22823 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
22824 (gregset_t): Likewise.
22825
93171016
L
228262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22827
22828 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
22829 * sysdeps/x86_64/64/Implies-after: Here. New file.
22830 * sysdeps/x86_64/x32/Implies-after: New file.
22831
d86813a0
L
228322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22833
22834 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
22835 and access return value for _dl_profile_fixup. Use R10_LP to
22836 load frame size.
22837
2953ec75
L
228382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22839
22840 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
22841
3b550e9e
L
228422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22843
22844 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
22845 * sysdeps/x86_64/x32/sysdep.h: New file.
22846
eda41706
L
228472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22848
22849 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
22850 * sysdeps/x86_64/setjmp.S: Likewise.
22851
9ea01d93
AZ
228522012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22853
22854 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
22855 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
22856 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
22857 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
22858 remove unused global constant.
22859
02a91938
CM
228602012-05-15 Chris Metcalf <cmetcalf@tilera.com>
22861
22862 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
22863 include of <not-cancel.h>.
22864
6540185f
RM
228652012-05-15 Roland McGrath <roland@hack.frob.com>
22866
22867 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
22868
509072a0
AJ
228692012-05-15 Jeff Law <law@redhat.com>
22870 Andreas Jaeger <aj@suse.de>
22871
22872 [BZ #13594]
22873 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
22874 out from...
22875 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
22876 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
22877 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
22878 code changing __hst_map_handle.map.
22879
ba75122d
RM
228802012-05-15 Roland McGrath <roland@hack.frob.com>
22881
22882 * configure.in (sysnames): Look for Implies-before and Implies-after
22883 files.
22884 * configure: Regenerated.
22885
890d8bd8
L
228862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22887
22888 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
22889 8-byte data alignment with LP_SIZE alignment.
22890
f6ee6623
L
228912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22892
22893 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
22894 into R10_LP.
22895
ea2626f6
L
228962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22897
22898 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
22899
085f715e
L
229002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22901
22902 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
22903 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
22904 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
22905 Likewise.
22906 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22907
be8498fc
L
229082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22909
22910 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
22911 (stackinfo_sub_sp): Likewise.
22912
70bc83b9
L
229132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22914
22915 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
22916 RAX_LP.
22917
9bc0b730
L
229182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22919
22920 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
22921 into R*_LP.
22922
6d2850e7
L
229232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22924
22925 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
22926 sizes into R*_LP.
22927
3cb84561
L
229282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22929
22930 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
22931
54e2ed81
L
229322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22933
22934 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
22935 into R11_LP and load __x86_64_shared_cache_size_half into
22936 R8_LP.
22937
8a17f349
L
229382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22939
22940 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
22941 R8_LP.
22942
777b1eea
AZ
229432012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22944
22945 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
22946 logb for POWER7.
22947 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
22948 logbf for POWER7.
22949 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
22950 logbl for POWER7.
22951 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
22952 powerpc32/power7/fpu/s_logb.c via #include.
22953 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
22954 powerpc32/power7/fpu/s_logbf.c via #include.
22955 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
22956 powerpc32/power7/fpu/s_logbl.c via #include.
22957
d20d4ac2
JM
229582012-05-15 Joseph Myers <joseph@codesourcery.com>
22959
22960 * README.libm: Remove file.
22961
6cdef1ab
L
229622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22963
22964 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
22965 count for x32. Use R*_LP and omit operand-size suffix.
22966
0b254d8f
L
229672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22968
22969 * shlib-versions: Move x86_64-.*-linux.* entries to ...
22970 * sysdeps/x86_64/64/shlib-versions: Here. New file.
22971 * sysdeps/x86_64/x32/shlib-versions: New file.
22972
ceb809dc
RM
229732012-05-14 Roland McGrath <roland@hack.frob.com>
22974
22975 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
22976 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
22977 Use _dl_fatal_printf instead.
22978
37f1abd4
JM
229792012-05-14 Joseph Myers <joseph@codesourcery.com>
22980
22981 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
22982 set if not set by the user. Do not allow for being unset.
22983 * sysdeps/unix/sysv/linux/configure: Regenerated.
22984
11de3a33
L
229852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22986
22987 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
22988 the `q' suffix from lea and replace .quad with ASM_ADDR.
22989
e02f153a
L
229902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22991
22992 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
22993 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
22994 instead of $17.
22995 (PTR_DEMANGLE): Likewise.
22996
520ae0fd
L
229972012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22998
22999 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
23000 (LP_OP): Likewise.
23001 (ASM_ADDR): Likewise.
23002 (RAX_LP): Likewise.
23003 (RBP_LP): Likewise.
23004 (RBX_LP): Likewise.
23005 (RCX_LP): Likewise.
23006 (RDI_LP): Likewise.
23007 (RSI_LP): Likewise.
23008 (RSP_LP): Likewise.
23009 (R8_LP): Likewise.
23010 (R9_LP): Likewise.
23011 (R10_LP): Likewise.
23012 (R10_LP): Likewise.
23013 (R11_LP): Likewise.
23014 (R12_LP): Likewise.
23015 (R13_LP): Likewise.
23016 (R14_LP): Likewise.
23017 (R15_LP): Likewise.
23018
b985be81
L
230192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23020
23021 * sysdeps/x86_64/x32/dl-machine.h: New file.
23022
6a4888ff
AJ
230232012-05-14 Andreas Jaeger <aj@suse.de>
23024
23025 * manual/Makefile (subdir): Remove export of subdir.
23026 (all): Remove target.
23027 (.PHONY): Remove all from list.
23028 (mkinstalldirs): Remove.
23029 (.PHONY): Remove installdirs from list.
23030 ($(inst_infodir)/libc.info): Use make-target-directory.
23031 (installdirs): Remove.
23032 (subdir_%): Remove.
23033 (glibc-targets): Remove.
23034 (lib): Remove.
23035 (stubs): Remove.
23036 ($(objpfx)stubs ../po/manual.pot): Remove.
23037 ($(objpfx)stamp%): Remove.
23038 (make-target-directory): Remove.
23039 (subdir_install): Remove.
23040 (routines): Remove.
23041 (aux): Remove.
23042 (sources): Remove.
23043 (objects): Remove.
23044 (headers): Remove.
23045
23046 [BZ #13750]
23047 * manual/.gitignore: Remove, it's not needed anymore.
23048 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
23049 all files in it.
23050 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
23051 directory.
23052 (texis): Renamed to $(objpfx)texis.
23053 (texis-path): New, contains path to generated files.
23054 (chapters.%): Use texis-path for complete path, add extra argument
23055 libc-texinfo.sh.
23056 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
23057 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
23058 (summary,texi, stamp-summary): Use complete path of
23059 files. Generate files in build dir.
23060 (dir-add.texi): Build in build dir.
23061 (libm-err.texi,stamp-libm-err): Likewise.
23062 (version.texi, stamp-version): Likewise.
23063 (.%c.texi): Likewise.
23064 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
23065 (mostlyclean): Remove target.
23066 (realclean): Remove target.
23067 (generated): Add new variable with contents from mostlyclean and
23068 realclean, remove entries duplicated in common-mostlyclean, add
23069 stamp-libm-err and stamp-version.
23070 (generated-dirs): Add libc directory.
23071 ($(inst_infodir)/libc.info): Install files from build dir.
23072
23073 * manual/install.texi (Configuring and compiling): Adjust since
23074 the info files are not part of the tar ball anymore.
23075
7ac77294
AJ
230762012-05-14 Andreas Jaeger <aj@suse.de>
23077
23078 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
23079 variable.
23080
ffb7875d
JM
230812012-05-14 Joseph Myers <joseph@codesourcery.com>
23082
23083 [BZ #13717]
23084 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23085 to 2.2.0 where earlier.
23086 * sysdeps/unix/sysv/linux/configure: Regenerated.
23087 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
23088 Remove conditional code.
23089 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
23090 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
23091 Remove conditional code.
23092 [!__NR_lchown]: Likewise.
23093 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23094 [__NR_lchown]: Likewise.
23095 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
23096 comment referencing __ASSUME_LCHOWN_SYSCALL.
23097 * sysdeps/unix/sysv/linux/i386/sigaction.c
23098 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23099 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23100 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
23101 Remove conditional code.
23102 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
23103 (__protocol_available): Remove #if 0 code.
23104 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
23105 conditional code.
23106 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
23107 * sysdeps/unix/sysv/linux/kernel-features.h
23108 (__ASSUME_GETCWD_SYSCALL): Don't define.
23109 (__ASSUME_REALTIME_SIGNALS): Likewise.
23110 (__ASSUME_PREAD_SYSCALL): Likewise.
23111 (__ASSUME_PWRITE_SYSCALL): Likewise.
23112 (__ASSUME_POLL_SYSCALL): Likewise.
23113 (__ASSUME_LCHOWN_SYSCALL): Likewise.
23114 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
23115 non-SPARC.
23116 (__ASSUME_SIOCGIFNAME): Don't define.
23117 (__ASSUME_MSG_NOSIGNAL): Likewise.
23118 (__ASSUME_SENDFILE): Define unconditionally.
23119 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
23120 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
23121 conditional code.
23122 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
23123 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
23124 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23125 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23126 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
23127 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23128 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
23130 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23131 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23133 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23134 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
23136 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23137 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
23139 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23140 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
23142 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23143 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
23145 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23146 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
23148 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23149 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
23151 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23152 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23153 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
23154 Remove conditional code.
23155 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23156 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23157 Remove conditional code.
23158 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23159 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
23160 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
23161 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23162 Remove conditional code.
23163 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23164 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
23165 Remove conditional code.
23166 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23167 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
23168 Remove conditional code.
23169 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23170 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23171 Remove conditional code.
23172 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23173 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23174 Remove conditional code.
23175 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23176 * sysdeps/unix/sysv/linux/sh/pwrite64.c
23177 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23178 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23179 * sysdeps/unix/sysv/linux/sigaction.c
23180 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23181 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23182 * sysdeps/unix/sysv/linux/sigpending.c
23183 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23184 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23185 * sysdeps/unix/sysv/linux/sigprocmask.c
23186 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23187 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23188 * sysdeps/unix/sysv/linux/sigsuspend.c
23189 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23190 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23191 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23192 (__libc_missing_rt_sigs): Remove.
23193 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
23194 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
23195 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
23196 Remove conditional code.
23197 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
23198 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
23199 return 1.
23200 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
23201 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
23202 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
23203 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
23204
1bfb7291
AJ
232052012-05-14 Andreas Jaeger <aj@suse.de>
23206
caae5a81
AJ
23207 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
23208 it's not used in glibc.
23209 (__coshm1): Likewise.
23210 (__acosh1p): Likewise.
23211 (__sgn): Likewise.
23212
1bfb7291
AJ
23213 * manual/string.texi (Copying and Concatenation): Add missing
23214 variable in concat example.
23215 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
23216
c044d724
L
232172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23218
144c5467 23219 [BZ #14103]
c044d724
L
23220 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
23221 __builtin_clzl with __builtin_clzll.
23222
2523c62b
L
232232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23224
23225 [BZ #14104]
23226 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
23227 libc_freeres_ptr.
23228
d7bb4c42
LD
232292012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23230
23231 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
23232 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
23233 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
23234 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
23235
9dc4e1fb
MF
232362012-05-14 Mike Frysinger <vapier@gentoo.org>
23237
23238 * NEWS: Update ia64 info.
23239
c7df0112
AS
232402012-05-12 Andreas Schwab <schwab@linux-m68k.org>
23241
23242 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
23243 used as bcopy.
23244
dc70356c
TS
232452012-05-12 Thomas Schwinge <thomas@codesourcery.com>
23246
23247 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
23248 * sysdeps/unix/syscalls.list (dup3): Likewise.
23249 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
23250 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
23251
9fb1a21f
L
232522012-05-11 H.J. Lu <hongjiu.lu@intel.com>
23253
23254 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
23255 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
23256
4822a2a5
L
232572012-05-11 H.J. Lu <hongjiu.lu@intel.com>
23258
23259 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
23260 thread pointer.
23261 (TLS_IE): Use mov/add instead of movq/addq to load thread
23262 pointer.
23263 (TLS_GD_PREFIX): New.
23264 (TLS_GD): Use it.
23265
842b81d6
DM
232662012-05-11 David S. Miller <davem@davemloft.net>
23267
23268 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
23269 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
23270 (_FPU_SETCW): Likewise.
23271
1cf463cd
L
232722012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23273
23274 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
23275 is 32-byte aligned.
23276
60cc4a18
AS
232772012-05-11 Andreas Schwab <schwab@linux-m68k.org>
23278
23279 [BZ #11837]
23280 * iconvdata/gb18030.c: Update tables.
23281 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
23282 characters specially.
23283 (BODY for TO_LOOP): Add encoding of missing ranges.
23284
febb44a4
TS
232852012-05-11 Thomas Schwinge <thomas@codesourcery.com>
23286
23287 [BZ #13673]
23288 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
23289 * sysdeps/mach/hurd/dup3.c: Likewise.
23290 * sysdeps/mach/hurd/readlinkat.c: Likewise.
23291 * sysdeps/powerpc/memmove.c:: Likewise.
23292
0a10fb9e
L
232932012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23294
23295 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
23296 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
23297
df8a552f
L
232982012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23299
23300 * elf/elf.h (R_X86_64_RELATIVE64): New.
23301 (R_X86_64_NUM): Updated.
23302 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23303 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
23304 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
23305 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
23306 tst-quad1pie tst-quad2pie
23307 (modules-names): Add tst-quadmod1 tst-quadmod2.
23308 ($(objpfx)tst-quad1): New dependency.
23309 ($(objpfx)tst-quad2): Likewise.
23310 ($(objpfx)tst-quad1pie): Likewise.
23311 ($(objpfx)tst-quad2pie): Likewise.
23312 * sysdeps/x86_64/tst-quad1.c: New file.
23313 * sysdeps/x86_64/tst-quad1pie.c: New file.
23314 * sysdeps/x86_64/tst-quad2.c: Likewise.
23315 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
23316 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
23317 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
23318 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
23319 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
23320
f34d6f84
ST
233212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23322
f42d41d1
ST
23323 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
23324 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
23325 * streams/stropts.h (t_scalar_t): Define type.
23326
3c3571fc
ST
23327 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
23328 (_PATH_PRESERVE): Set to "/var/lib".
23329 (_PATH_RWHODIR): Set to "/var/spool/rwho".
23330
61f06bd3
ST
23331 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
23332 instead of int.
23333
918d4d71
ST
23334 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
23335 if __dir_mkfile succeeded.
23336
f34d6f84
ST
23337 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
23338 checking for _hurd_dtablesize. Unlock it right after having
23339 finished _hurd_dtable allocation.
23340
10589b4a
TS
233412012-05-10 Thomas Schwinge <thomas@schwinge.name>
23342
674cdbc7
TS
23343 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
23344 * sysdeps/mach/hurd/configure: Regenerated.
23345 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
23346 special-casing to...
23347 * sysdeps/gnu/configure.in: ... this new file.
23348 * sysdeps/unix/sysv/linux/configure: Regenerated.
23349 * sysdeps/gnu/configure: New generated file.
23350
8e41b99f
TS
23351 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
23352 for Linux: use nsec instead of usec, as well as:
23353 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
23354 members of type struct timespec.
23355 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
23356 New macros.
23357 (struct stat64): Likewise.
23358 (_STATBUF_ST_NSEC): New macro.
23359 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
23360
10589b4a
TS
23361 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
23362 __strtoul_internal rather than strtoul.
23363
63643c85
PT
233642012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23365
23366 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
23367 and reject them.
23368
3faebe6a
ST
233692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23370
23371 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
23372 which preserves existing values.
23373 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
23374
c6474b07
PT
233752012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23376
23377 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
23378 TIMEOUT values. Return EINVAL for NFDS values either negative or
23379 greater than FD_SETSIZE.
23380
1043890b
ST
233812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23382
23383 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
23384 allocated, call __vm_protect to finish enabling the existing space, and
23385 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
23386 allocate the remainder.
23387
37ed8b9b
PT
233882012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23389
23390 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
23391 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
23392
db653660
ST
233932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23394
37ed8b9b
PT
23395 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
23396 sysdeps/mach/hurd/readlink.c.
b29d4053 23397
db653660
ST
23398 * posix/tst-sysconf.c (posix_options): Only use
23399 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
23400 _POSIX_SYNCHRONIZED_IO when they are defined
23401 * sysdeps/mach/hurd/bits/posix_opt.h:
23402 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
23403 (_XOPEN_REALTIME): Undefine macro.
23404 (_XOPEN_REALTIME_THREADS): Undefine macro.
23405 (_XOPEN_SHM): Undefine macro.
23406 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
23407 macro to -1.
23408 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
23409 macro to -1.
23410 (_POSIX_ASYNC_IO): Undefine macro.
23411 (_POSIX_PRIORITIZED_IO): Undefine macro.
23412 (_POSIX_SPIN_LOCKS): Define macro to -1.
23413
ee16e894
ST
23414 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
23415 SA_NODEFER, SA_RESETHAND.
23416 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
23417 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
23418 F_DUPFD_CLOEXEC.
23419
6103ae3b
TS
234202012-05-10 Thomas Schwinge <thomas@schwinge.name>
23421
23422 * elf/Makefile (pldd-modules): Define unconditionally.
23423
80b4e5f3
TS
234242012-05-10 Thomas Schwinge <thomas@schwinge.name>
23425
23426 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
23427
edadcbd6
ST
234282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23429
23430 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
23431 Return ENOENT when name is empty.
23432 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
23433
80694780
TS
234342012-05-10 Thomas Schwinge <thomas@schwinge.name>
23435
1792c087
TS
23436 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
23437
80694780
TS
23438 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
23439
6b645f0d
ST
234402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23441
80694780
TS
23442 Fix mlock in all cases except non-readable pages.
23443 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
23444 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 23445
6b645f0d
ST
23446 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
23447 (__mkdir): When path is `/', just fail with EEXIST.
23448 * sysdeps/mach/hurd/mkdirat.c: Likewise.
23449
e468f8a3
TS
234502012-05-10 Thomas Schwinge <thomas@schwinge.name>
23451
23452 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
23453 <sys/uio.h> (for writev).
23454 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
23455 and <sys/param.h> (for MIN).
23456
a4186cff
PT
234572012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23458
23459 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
23460 REQUESTED_TIME. Properly set the remaining time and return EINTR
23461 if interrupted.
23462
510bbf14
TS
234632012-05-10 Thomas Schwinge <thomas@schwinge.name>
23464
23465 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
23466 Depend on against $(link-rpcuserlibs).
23467
5d5722e8
ST
234682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23469
a4186cff
PT
23470 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
23471 (__libc_stack_end): Do not use attribute_relro.
23472 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
23473 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 23474 to libthread-provided value.
a4186cff
PT
23475 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
23476 attribute_relro.
5d5722e8 23477
37233df9
TS
234782012-05-10 Thomas Schwinge <thomas@schwinge.name>
23479
be971a2b
TS
23480 [BZ #3748]
23481 * bits/libc-lock.h (__libc_once_get): New macro.
23482 * sysdeps/mach/bits/libc-lock.h: Likewise.
23483 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
23484 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
23485 instead of using implementation details.
23486
37233df9
TS
23487 * libio/fileops.c: Unconditionally include <kernel-features.h>.
23488 * libio/freopen.c: Likewise.
23489 * libio/freopen64.c: Likewise.
23490 * misc/syslog.c: Likewise.
23491 * nscd/connections.c: Likewise.
23492 * nscd/netgroupcache.c: Likewise.
23493 * sysdeps/posix/getcwd.c: Likewise.
23494
38de94a5
RM
234952012-05-10 Roland McGrath <roland@hack.frob.com>
23496
23497 * math/w_ilogbf.c: Add #include <limits.h>.
23498
67530489
ST
234992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23500
a4186cff 23501 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
23502 path instead of returning without unlocking.
23503
67530489
ST
23504 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
23505 immediate-write ioctls.
23506 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
23507
5aa3a74a
TS
235082012-05-10 Thomas Schwinge <thomas@schwinge.name>
23509
18bad2ae
TS
23510 * sysdeps/mach/hurd/i386/init-first.c (init): Use
23511 __builtin_frame_address instead of making assumptions about the
23512 location of the return address relative to DATA. Force early load of
23513 the return address.
23514 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
23515 __builtin_frame_address.
23516
5aa3a74a
TS
23517 dup3 for GNU Hurd.
23518 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
23519 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
23520 implement dup3 and do some further code clean-ups.
23521 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
23522 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
23523
ecd0de9a
ST
235242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23525
cd9fa985
ST
23526 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
23527
a4186cff
PT
23528 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
23529 HURD_CRITICAL_END around holding _hurd_dtable_lock.
23530 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
23531 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
23532 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
23533 d->port.lock.
802ca5a5 23534
a4186cff
PT
23535 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
23536 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
23537 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 23538
bcf55240
TS
235392012-05-10 Thomas Schwinge <thomas@schwinge.name>
23540
6960eb42
TS
23541 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
23542 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
23543 definitions.
23544
eb43375f
TS
23545 accept4 for GNU Hurd.
23546 * include/sys/socket.h (__libc_accept4): New prototype.
23547 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
23548 to implement __libc_accept4.
23549 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
23550 __libc_accept4.
23551 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
23552
bcf55240
TS
23553 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
23554 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
23555 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
23556 signal-defines.sym.
23557
6178c55b
ST
235582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23559
a4186cff 23560 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 23561
6f080c2f
TS
235622012-05-10 Thomas Schwinge <thomas@schwinge.name>
23563
23564 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
23565 assertion on O_CLOEXEC flag.
23566 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
23567 * hurd/intern-fd.c: Likewise.
23568 * hurd/port2fd.c: Likewise.
23569
bcfe3a54
ST
235702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23571
23572 [BZ #3906]
23573 * bits/in.h (IPV6_PKTINFO): Define new macro.
23574 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
23575
89c9aa49
AZ
235762012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23577
23578 [BZ #13954]
23579 [BZ #13955]
23580 [BZ #13956]
23581 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
23582 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23583 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
23584 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23585 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23586 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23587 * math/libm-test.inc (logb_test) : Additional logb tests.
23588
021db4be
AJ
235892012-05-09 Andreas Schwab <schwab@linux-m68k.org>
23590 Andreas Jaeger <aj@suse.de>
23591
23592 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
23593 * configure: Regenerated.
23594 * config.h.in (LINK_OBSOLETE_RPC): New macro.
23595 * config.make.in (link-obsolete-rpc): New substituted variable.
23596 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
23597 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
23598 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23599 (shared-only-routines): Don't set it under [link-obsolete-rpc],
23600 so that libc.a contains the symbols.
23601 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23602 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
23603 * sunrpc/auth_none.c: Likewise.
23604 * sunrpc/auth_unix.c: Likewise.
23605 * sunrpc/authdes_prot.c: Likewise.
23606 * sunrpc/authuxprot.c: Likewise.
23607 * sunrpc/clnt_gen.c: Likewise.
23608 * sunrpc/clnt_perr.c: Likewise.
23609 * sunrpc/clnt_raw.c: Likewise.
23610 * sunrpc/clnt_simp.c: Likewise.
23611 * sunrpc/clnt_tcp.c: Likewise.
23612 * sunrpc/clnt_udp.c: Likewise.
23613 * sunrpc/clnt_unix.c: Likewise.
23614 * sunrpc/des_crypt.c: Likewise.
23615 * sunrpc/des_soft.c: Likewise.
23616 * sunrpc/get_myaddr.c: Likewise.
23617 * sunrpc/key_call.c: Likewise.
23618 * sunrpc/key_prot.c: Likewise.
23619 * sunrpc/netname.c: Likewise.
23620 * sunrpc/pm_getmaps.c: Likewise.
23621 * sunrpc/pm_getport.c: Likewise.
23622 * sunrpc/pmap_clnt.c: Likewise.
23623 * sunrpc/pmap_prot.c: Likewise.
23624 * sunrpc/pmap_prot2.c: Likewise.
23625 * sunrpc/pmap_rmt.c: Likewise.
23626 * sunrpc/publickey.c: Likewise.
23627 * sunrpc/rpc_cmsg.c: Likewise.
23628 * sunrpc/rpc_common.c: Likewise.
23629 * sunrpc/rpc_dtable.c: Likewise.
23630 * sunrpc/rpc_prot.c: Likewise.
23631 * sunrpc/rpc_thread.c: Likewise.
23632 * sunrpc/rtime.c: Likewise.
23633 * sunrpc/svc.c: Likewise.
23634 * sunrpc/svc_auth.c: Likewise.
23635 * sunrpc/svc_raw.c: Likewise.
23636 * sunrpc/svc_run.c: Likewise.
23637 * sunrpc/svc_tcp.c: Likewise.
23638 * sunrpc/svc_udp.c: Likewise.
23639 * sunrpc/svc_unix.c: Likewise.
23640 * sunrpc/svcauth_des.c: Likewise.
23641 * sunrpc/xcrypt.c: Likewise.
23642 * sunrpc/xdr.c: Likewise.
23643 * sunrpc/xdr_array.c: Likewise.
23644 * sunrpc/xdr_float.c: Likewise.
23645 * sunrpc/xdr_intXX_t.c: Likewise.
23646 * sunrpc/xdr_mem.c: Likewise.
23647 * sunrpc/xdr_rec.c: Likewise.
23648 * sunrpc/xdr_ref.c: Likewise.
23649 * sunrpc/xdr_sizeof.c: Likewise.
23650 * sunrpc/xdr_stdio.c: Likewise.
23651
b5c086a2
RM
236522012-05-10 Roland McGrath <roland@hack.frob.com>
23653
23654 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
23655 change. Update copyright years.
23656
6d74dd09
JM
236572012-05-10 Joseph Myers <joseph@codesourcery.com>
23658
23659 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
23660
28e72501
MK
236612012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
23662 Joseph Myers <joseph@codesourcery.com>
23663 Paul Pluzhnikov <ppluzhnikov@google.com>
23664
23665 [BZ #14012]
23666 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
23667 requiring rpcgen.
23668 [cross-compiling] (extra-libs): Likewise.
23669 [cross-compiling] (extra-libs-others): Likewise.
23670 [cross-compiling] (librpcsvc-routines): Likewise.
23671 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
23672 [cross-compiling] (omit-deps): Likewise.
23673 (sunrpc-CPPFLAGS): New variable.
23674 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
23675 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
23676 (cross-rpcgen-objs): New variable.
23677 (extra-objs): Append $(cross-rpcgen-objs).
23678 ($(cross-rpcgen-objs)): New rule.
23679 ($(objpfx)cross-rpcgen): Likewise.
23680 (rpcgen-cmd): Define to use $(built-program-file). Expand
23681 comment.
23682 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
23683 ($(objpfx)x%.stmp): Likewise.
23684 * sunrpc/proto.h [IS_IN_build] (_): Define.
23685 [IS_IN_build] (_libc_intl_domainname): Likewise.
23686
c8c59454
L
236872012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23688
23689 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
23690 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
23691 and R_X86_64_TPOFF64.
23692
6f27cd16
JM
236932012-05-10 Joseph Myers <joseph@codesourcery.com>
23694
23695 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
23696 sysdeps/unix/sysv/syscalls.list.
23697 (stime): Likewise.
23698 (utime): Likewise.
23699 * sysdeps/unix/sysv/syscalls.list: Remove file.
23700
02467e1c
PE
237012012-05-10 Paul Eggert <eggert@cs.ucla.edu>
23702
23703 [BZ #3440]
23704 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
23705 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
23706 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
23707 (__LC_IDENTIFICATION): Make these macros useful in #if
23708 expressions, as required by C99.
23709
da392631
AS
237102012-05-10 Andreas Schwab <schwab@linux-m68k.org>
23711
23712 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
23713 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
23714 after this.
23715
8115f29b
L
237162012-05-09 H.J. Lu <hongjiu.lu@intel.com>
23717
23718 * stdlib/longlong.h: Updated from GCC.
23719
bdd74070
AJ
237202012-05-09 Andreas Jaeger <aj@suse.de>
23721
edfe0dbe
AJ
23722 * nscd/nscd.c (run_modes): Make named enum, reorder so that
23723 default is first entry.
23724 (run_mode): Set type.
23725 (main): Remove informal message about syslog.
23726 (options): Fix typo.
23727
bcfe3a54
ST
23728 [BZ #14053]
23729 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 23730 to asm.
bcfe3a54
ST
23731 (lrint): Likewise.
23732 (llrintf): Likewise.
23733 (llrint): Likewise.
23734 (rint): Likewise.
23735 (rintf): Likewise.
23736 (nearbyint): Likewise.
23737 (nearbyintf): Likewise.
bdd74070 23738
91d8d69e
AJ
237392012-05-09 Andreas Jaeger <aj@suse.de>
23740 Pedro Alves <palves@redhat.com>
23741
23742 * nscd/nscd.c (run_mode): Use enum.
23743 (main): Cleanup coding style issue.
23744
bb90b80b
AJ
237452012-05-09 Alexandre Oliva <aoliva@redhat.com>
23746 Andreas Jaeger <aj@suse.de>
23747
bcfe3a54
ST
23748 * nscd/nscd.c (go_background): Replaced with...
23749 (run_mode): ... this.
bb90b80b 23750 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
23751 (options): Add -F --foreground.
23752 (main): Implement it.
23753 (parse_opt): Parse it.
bb90b80b 23754
1a4b75a1
AJ
237552012-05-09 Andreas Jaeger <aj@suse.de>
23756
23757 [BZ #14083]
23758 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
23759 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
23760 -Wconversion warning.
23761 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
23762 Likewise.
23763
b1cc2472
JM
237642012-05-09 Joseph Myers <joseph@codesourcery.com>
23765
23766 * conform/data/locale.h-data (NULL): Use macro-constant. Require
23767 == 0.
23768 (LC_ALL): Use macro-int-constant.
23769 (LC_COLLATE): Likewise.
23770 (LC_CTYPE): Likewise.
23771 (LC_MESSAGES): Likewise.
23772 (LC_MONETARY): Likewise.
23773 (LC_NUMERIC): Likewise.
23774 (LC_TIME): Likewise.
23775 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
23776 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23777 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23778 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
23779 Specify type.
23780 [C99-based standards] (float_t): Expect type.
23781 [C99-based standards] (double_t): Expect type.
23782 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
23783 type.
23784 [C99-based standards] (HUGE_VALL): Likewise.
23785 [C99-based standards] (INFINITY): Likewise.
23786 [C99-based standards] (NAN): Likewise.
23787 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
23788 [C99-based standards] (FP_NAN): Likewise.
23789 [C99-based standards] (FP_NORMAL): Likewise.
23790 [C99-based standards] (FP_SUBNORMAL): Likewise.
23791 [C99-based standards] (FP_ZERO): Likewise.
23792 [C99-based standards] (FP_FAST_FMA): Use
23793 optional-macro-int-constant. Specify type. Require == 1.
23794 [C99-based standards] (FP_FAST_FMAF): Likewise.
23795 [C99-based standards] (FP_FAST_FMAL): Likewise.
23796 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
23797 [C99-based standards] (FP_ILOGBNAN): Likewise.
23798 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
23799 Specify type.
23800 [C99-based standards] (MATH_ERREXCEPT): Likewise.
23801 [C99-based standards] (math_errhandling): Specify type.
23802 [ISO99 || ISO11] (signgam): Do not allow.
23803 [non-C99-based standards] (copysignf): Do not allow.
23804 [non-C99-based standards] (exp2f): Likewise.
23805 [non-C99-based standards] (log2f): Likewise.
23806 [non-C99-based standards] (modff): Allow.
23807 [non-C99-based standards] (erff): Do not allow.
23808 [non-C99-based standards] (erfcf): Likewise.
23809 [non-C99-based standards] (gammaf): Likewise.
23810 [non-C99-based standards] (hypotf): Likewise.
23811 [non-C99-based standards] (j0f): Likewise.
23812 [non-C99-based standards] (j1f): Likewise.
23813 [non-C99-based standards] (jnf): Likewise.
23814 [non-C99-based standards] (lgammaf): Likewise.
23815 [non-C99-based standards] (tgammaf): Likewise.
23816 [non-C99-based standards] (y0f): Likewise.
23817 [non-C99-based standards] (y1f): Likewise.
23818 [non-C99-based standards] (ynf): Likewise.
23819 [non-C99-based standards] (isnanf): Likewise.
23820 [non-C99-based standards] (acoshf): Likewise.
23821 [non-C99-based standards] (asinhf): Likewise.
23822 [non-C99-based standards] (atanhf): Likewise.
23823 [non-C99-based standards] (cbrtf): Likewise.
23824 [non-C99-based standards] (expm1f): Likewise.
23825 [non-C99-based standards] (ilogbf): Likewise.
23826 [non-C99-based standards] (log1pf): Likewise.
23827 [non-C99-based standards] (logbf): Likewise.
23828 [non-C99-based standards] (nextafterf): Likewise.
23829 [non-C99-based standards] (remainderf): Likewise.
23830 [non-C99-based standards] (rintf): Likewise.
23831 [non-C99-based standards] (scalbf): Likewise.
23832 [non-C99-based standards] (copysignl): Likewise.
23833 [non-C99-based standards] (exp2l): Likewise.
23834 [non-C99-based standards] (log2l): Likewise.
23835 [non-C99-based standards] (modfl): Allow.
23836 [non-C99-based standards] (erfl): Do not allow.
23837 [non-C99-based standards] (erfcl): Likewise.
23838 [non-C99-based standards] (gammal): Likewise.
23839 [non-C99-based standards] (hypotl): Likewise.
23840 [non-C99-based standards] (j0l): Likewise.
23841 [non-C99-based standards] (j1l): Likewise.
23842 [non-C99-based standards] (jnl): Likewise.
23843 [non-C99-based standards] (lgammal): Likewise.
23844 [non-C99-based standards] (tgammal): Likewise.
23845 [non-C99-based standards] (y0l): Likewise.
23846 [non-C99-based standards] (y1l): Likewise.
23847 [non-C99-based standards] (ynl): Likewise.
23848 [non-C99-based standards] (isnanl): Likewise.
23849 [non-C99-based standards] (acoshl): Likewise.
23850 [non-C99-based standards] (asinhl): Likewise.
23851 [non-C99-based standards] (atanhl): Likewise.
23852 [non-C99-based standards] (cbrtl): Likewise.
23853 [non-C99-based standards] (expm1l): Likewise.
23854 [non-C99-based standards] (ilogbl): Likewise.
23855 [non-C99-based standards] (log1pl): Likewise.
23856 [non-C99-based standards] (logbl): Likewise.
23857 [non-C99-based standards] (nextafterl): Likewise.
23858 [non-C99-based standards] (remainderl): Likewise.
23859 [non-C99-based standards] (rintl): Likewise.
23860 [non-C99-based standards] (scalbl): Likewise.
23861 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23862 [non-C99-based standards] (FP_*): Do not allow.
23863 [C99-based standards] (FP_*): Change to
23864 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23865 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23866 allow.
23867 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
23868 (SIG_ERR): Likewise.
23869 [X/Open-based standards] (SIG_HOLD): Likewise.
23870 (SIG_IGN): Likewise.
23871 (SIGABRT): Use macro-int-constant. Specify type. Require
23872 positive value.
23873 (SIGFPE): Likewise.
23874 (SIGILL): Likewise.
23875 (SIGINT): Likewise.
23876 (SIGSEGV): Likewise.
23877 (SIGTER): Likewise.
23878 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
23879 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
23880 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
23881 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
23882 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
23883 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
23884 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
23885 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
23886 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
23887 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
23888 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
23889 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
23890 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
23891 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
23892 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
23893 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
23894 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
23895 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
23896 [X/Open-based standards] (SIGTRAP): Likewise.
23897 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
23898 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
23899 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
23900 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
23901 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23902 allow.
23903
b9f1922d
IW
239042012-05-08 Ian Wienand <ianw@vmware.com>
23905
23906 [BZ #14080]
23907 * time/tzset.c (__tzset_parse_tz): Update default rules for
23908 daylight time changes in the Energy Policy Act of 2005.
23909
1db86e88
AJ
239102012-05-09 Andreas Jaeger <aj@suse.de>
23911
23912 [BZ #13983]
23913 * elf/ldconfig.c (parse_conf): Change string to make clear that
23914 ldconfig only issued a warning if ld.so.conf does not exist.
23915
dee4a4e3
DM
239162012-05-08 David S. Miller <davem@davemloft.net>
23917
ee0db190
DM
23918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
23919 movxtod instead of popping the value on the stack.
23920
dee4a4e3
DM
23921 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23922
6a43ec98
CD
239232012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
23924
23925 * config.h.in: Add HAVE_ARM_PCS_VFP.
23926
05c2c961
RMG
239272012-05-08 Roland Mc Grath <roland@hack.frob.com>
23928
bcfe3a54
ST
23929 [BZ #13979]
23930 * include/features.h: Warn if user requests __FORTIFY_SOURCE
23931 checking but the checks are disabled for any reason.
05c2c961 23932
4b30f61a
L
239332012-05-08 H.J. Lu <hongjiu.lu@intel.com>
23934
23935 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
23936 and ELF64_R_TYPE with ELFW(R_TYPE).
23937
eee2bc67
JM
239382012-05-08 Joseph Myers <joseph@codesourcery.com>
23939
7ea5391a
JM
23940 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
23941 (ulimit): Likewise.
23942
eee2bc67
JM
23943 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
23944 (settimeofday): Likewise.
23945
abb66a67
MF
239462012-05-08 Mike Frysinger <vapier@gentoo.org>
23947
23948 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
23949 a struct th_u2 inside the union, and move tu_block/tu_code into
23950 a new th_u3 union of tu_block/tu_code inside of that. Move
23951 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
23952 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
23953 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
23954 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
23955 (th_stuff): Change to th_u1.tu_stuff.
23956 (th_data): Define.
23957 (th_msg): Change to th_u1.th_u2.tu_data.
23958
7f18b530
DM
239592012-05-07 David S. Miller <davem@davemloft.net>
23960
05760585
DM
23961 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23962
7f18b530
DM
23963 [BZ #14074]
23964 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
23965 (SETUP_PIC_REG): Use it.
23966 (SETUP_PIC_REG_LEAF): Use it.
23967
495fd99f
JM
239682012-05-07 Joseph Myers <joseph@codesourcery.com>
23969
23970 [BZ #13885]
23971 [BZ #13923]
23972 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23973 USE_AS_EXPM1L.
23974 (EXPL_FINITE): Likewise.
23975 (FLDLOG): Likewise.
23976 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23977 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23978 e_expl.S.
23979 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23980 USE_AS_EXPM1L.
23981 (EXPL_FINITE): Likewise.
23982 (FLDLOG): Likewise.
23983 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23984 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23985 e_expl.S.
23986 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
23987 test of -max_value argument for long double.
23988 * sysdeps/i386/fpu/libm-test-ulps: Update.
23989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23990
6693d694
DM
239912012-05-06 David S. Miller <davem@davemloft.net>
23992
23993 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
23994 quad soft-float symbols whose references which are compiler
23995 generated.
23996 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23997
6c23e11c
JM
239982012-05-06 Joseph Myers <joseph@codesourcery.com>
23999
d8b82cad
JM
24000 [BZ #13884]
24001 [BZ #13914]
24002 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24003 USE_AS_EXP10L.
24004 (EXPL_FINITE): Likewise.
24005 (FLDLOG): Likewise.
24006 (c0): Likewise.
24007 (c1): Likewise.
24008 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24009 Adjust comments for base varying.
24010 (__expl_finite): Change alias to EXPL_FINITE.
24011 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
24012 e_expl.S.
24013 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
24014 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
24015 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24016 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
24017 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24018 USE_AS_EXP10L.
24019 (EXPL_FINITE): Likewise.
24020 (FLDLOG): Likewise.
24021 (c0): Likewise.
24022 (c1): Likewise.
24023 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24024 Adjust comments for base varying.
24025 (__expl_finite): Change alias to EXPL_FINITE.
24026 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
24027 tests for bugs.
24028 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24029
6c23e11c
JM
24030 [BZ #14064]
24031 * math/libm-test.inc (check_float_internal): Correct ulp
24032 calculation for subnormal expected results.
24033
29ba805c
AJ
240342012-05-06 Andreas Jaeger <aj@suse.de>
24035
24036 * Makeconfig (+math-flags): New, set to -frounding-math.
24037 (+cflags): Add +math-flags so that all of glibc gets compiled with
24038 it.
24039
24040 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
24041
7b17aeda
JM
240422012-05-05 Joseph Myers <joseph@codesourcery.com>
24043
5779f134
JM
24044 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
24045 Disable one test.
24046
41498f4d
JM
24047 [BZ #13787]
24048 [BZ #13922]
24049 [BZ #14036]
24050 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
24051 (__ieee754_expl): Allow for and saturate large arguments.
24052 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
24053 (u_threshold): Likewise.
24054 (__exp): Call __ieee754_exp before checking for overflow and
24055 underflow.
24056 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
24057 (u_threshold): Likewise.
24058 (__expf): Call __ieee754_expf before checking for overflow and
24059 underflow.
24060 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
24061 (u_threshold): Likewise.
24062 (__expl): Call __ieee754_expl before checking for overflow and
24063 underflow.
24064 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
24065 (__ieee754_expl): Allow for and saturate large arguments.
24066 * math/libm-test.inc (exp_test): Add another test. Do not allow
24067 missing overflow exception on overflow.
24068 (expm1_test): Do not allow missing overflow exception on overflow.
24069
6698b8bf
JM
24070 * sysdeps/i386/fpu/e_expl.c: Move to ...
24071 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
24072 rather than using inline asm.
24073 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
24074 * sysdeps/x86_64/fpu/e_expl.S: Copy from
24075 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
24076
7b17aeda
JM
24077 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
24078 (nice): Likewise.
24079 (poll): Likewise.
24080 (signal): Likewise.
24081 (time): Likewise.
24082 (times): Likewise.
24083
f7c85819
JM
240842012-05-04 Joseph Myers <joseph@codesourcery.com>
24085
24086 * sysdeps/unix/syscalls.list (adjtime): Add entry from
24087 sysdeps/unix/common/syscalls.list.
24088 (fchmod): Likewise.
24089 (fchown): Likewise.
24090 (ftruncate): Likewise.
24091 (getrusage): Likewise.
24092 (gettimeofday): Likewise.
24093 (setpgid): Likewise.
24094 (setregid): Likewise.
24095 (setreuid): Likewise.
24096 (sigaction): Likewise.
24097 (truncate): Likewise.
24098 (vhangup): Likewise.
24099 * sysdeps/unix/common/syscalls.list: Remove file.
24100 * sysdeps/unix/bsd/Implies: Don't include unix/common.
24101 * sysdeps/unix/sysv/linux/Implies: Likewise.
24102
336270d0
L
241032012-05-04 H.J. Lu <hongjiu.lu@intel.com>
24104
24105 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
24106 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
24107 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
24108 Moved to ...
24109 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
24110 Here.
24111 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
24112 to ...
24113 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
24114 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
24115 to ...
24116 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
24117 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
24118 to ...
24119 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
24120 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
24121 to ...
24122 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
24123 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
24124 to ...
24125 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
24126 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
24127 to ...
24128 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
24129 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
24130 to ...
24131 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24132 Here.
24133 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
24134 to ...
24135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
24136 Here.
24137 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
24138 to ...
24139 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
24140 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
24141 Moved to ...
24142 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
24143 Here.
24144 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
24145 to ...
24146 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
24147
d128e450
JM
241482012-05-04 Joseph Myers <joseph@codesourcery.com>
24149
fa8ee516
JM
24150 * sysdeps/unix/common/bits/dirent.h: Remove file.
24151 * sysdeps/unix/common/bits/fcntl.h: Likewise.
24152
d128e450
JM
24153 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
24154 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
24155 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
24156 * sysdeps/unix/bsd/isatty.c: Likewise.
24157 * sysdeps/unix/bsd/tcdrain.c: Likewise.
24158 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
24159 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
24160
ff8faaf0 241612012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 24162
62881be4 24163 [BZ #13563]
31dc8730
AZ
24164 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
24165 long double comparison inaccuracies.
24166 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24167 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24168
6fef930c
AS
241692012-05-04 Andreas Schwab <schwab@linux-m68k.org>
24170
24171 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
24172 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
24173
8f203e6c
JM
241742012-05-04 Joseph Myers <joseph@codesourcery.com>
24175
24176 [BZ #14049]
24177 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
24178 nonzero digits before rounding a hex value.
24179 * stdlib/tst-strtod.c (tests): Add another test.
24180
5197d9c2
AK
241812012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24182
24183 * sysdeps/s390/fpu/libm-test-ulps: Update.
24184
f0c1dedf
AJ
241852012-05-03 Andreas Jaeger <aj@suse.de>
24186
24187 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
24188 does not get optimized out.
24189 (malloc_opt_barrier): New.
24190
a65ef2ae 241912012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 24192 Roland McGrath <roland@hack.frob.com>
a65ef2ae 24193
2b942cb7 24194 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 24195 intermediate file deletion.
2b942cb7 24196 (generated): Add .symlist files.
a65ef2ae 24197
54b71e02
JM
241982012-05-03 Joseph Myers <joseph@codesourcery.com>
24199
24200 [BZ #13775]
24201 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
24202 Redirect under this condition.
24203 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24204 [__USE_GNU] (__dprintf_chk): Not under this condition.
24205 [__USE_GNU] (__vdprintf_chk): Likewise.
24206 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
24207 under this condition.
24208 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24209 [__USE_XOPEN2K8] (dprintf): Define under this condition.
24210 [__USE_XOPEN2K8] (vdprintf): Likewise.
24211 [__USE_GNU] (__dprintf_chk): Not under this condition.
24212 [__USE_GNU] (__vdprintf_chk): Likewise.
24213 [__USE_GNU] (dprintf): Likewise.
24214 [__USE_GNU] (vdprintf): Likewise.
24215
d3dfcc41
RM
242162012-05-03 Roland McGrath <roland@hack.frob.com>
24217
24218 * elf/Makefile (common-generated): Set this instead of generated for
24219 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
24220 $(all-built-dso)-derived lists.
24221
7ac30cc5
AJ
242222012-05-03 Andreas Jaeger <aj@suse.de>
24223
0c51e550
AJ
24224 * sysdeps/i386/fpu/libm-test-ulps: Update.
24225
7ac30cc5
AJ
24226 * FAQ: Removed.
24227 * FAQ.in: Likewise.
24228 * scripts/gen-FAQ.pl: Likewise.
24229 * manual/install.texi (Installation): Point to online location of
24230 FAQ.
24231 * Makefile (files-for-dist): Remove FAQ.
24232 (FAQ): Remove.
24233
d4c2917f
AM
242342012-05-02 Allan McRae <allan@archlinux.org>
24235
24236 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
24237 (LDFLAGS-reldepmod5.so): Likewise.
24238 (LDFLAGS-reldep6mod1.so): Likewise.
24239 (LDFLAGS-reldep6mod4.so): Likewise.
24240 (LDFLAGS-reldep8mod3.so): Likewise.
24241 (LDFLAGS-unload4mod1.so): Likewise.
24242 (LDFLAGS-unload4mod2.so): Likewise.
24243 (LDFLAGS-tst-initorder): Likewise.
24244 (LDFLAGS-tst-initordera2.so): Likewise.
24245 (LDFLAGS-tst-initordera3.so): Likewise.
24246 (LDFLAGS-tst-initordera4.so): Likewise.
24247 (LDFLAGS-tst-initorderb2.so): Likewise.
24248 (LDFLAGS-noload): Likewise.
24249 (LDFLAGS-next): Likewise.
24250 (LDFLAGS-order2mod1.so): Likewise.
24251 (LDFLAGS-order2mod2.so): Likewise.
24252 (LDFLAGS-tst-initorder2): Likewise.
24253 (LDFLAGS-tst-initorder2a.so): Likewise.
24254 (LDFLAGS-tst-initorder2b.so): Likewise.
24255 (LDFLAGS-tst-initorder2c.so): Likewise.
24256 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
24257
d77f993f
DM
242582012-05-02 David S. Miller <davem@davemloft.net>
24259
24260 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24261
171a70b4
PP
242622012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
24263
24264 [BZ #14055]
24265 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
24266
0be196ad
AJ
242672012-05-02 Andreas Jaeger <aj@suse.de>
24268
24269 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
24270 since we manipulate rounding mode.
24271 (CPPFLAGS-test-idouble.c): Likewise.
24272 (CPPFLAGS-test-ifloat.c): Likewise.
24273 (CFLAGS-test-ldouble.c): Likewise.
24274 (CFLAGS-test-double.c): Likewise.
24275 (CFLAGS-test-float.c): Likewise.
24276 (CFLAGS-test-misc.c): Likewise.
24277 (CFLAGS-test-test-fenv.c): Likewise.
24278
4f9d04aa
AZ
242792012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24280
2b942cb7
RM
24281 [BZ #2550]
24282 [BZ #2570]
24283 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
24284 comparisons to determine direction to adjust input.
4f9d04aa 24285
82a79e7d
RM
242862012-05-01 Roland McGrath <roland@hack.frob.com>
24287
f5a01ca9
RM
24288 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
24289 output to the target.
24290
90fe4186
RM
24291 * scripts/localplt.awk: New file.
24292 * elf/Makefile ($(objpfx)check-localplt): Target removed.
24293 (check-localplt-CFLAGS): Variable removed.
24294 ($(all-built-dso:=.jmprel)): New static pattern rule.
24295 (generated): Add those targets.
24296 (localplt-built-dso): New variable.
24297 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
24298
24299 * elf/check-localplt.c: File removed.
24300
82397ed6
RM
24301 * scripts/check-execstack.awk: New file.
24302 * elf/Makefile ($(objpfx)check-execstack): Target removed.
24303 (check-execstack-CFLAGS): Variable removed.
24304 ($(objpfx)check-execstack.h): Target removed.
24305 ($(objpfx)execstack-default): New target.
24306 (generated): Add that instead of check-execstack.h.
24307 ($(all-built-dso:=.phdr)): New static pattern rule.
24308 (generated): Add those targets.
24309 * elf/check-execstack.c: File removed.
24310
82a79e7d
RM
24311 * scripts/check-textrel.awk: New file.
24312 * elf/Makefile ($(objpfx)check-textrel): Target removed.
24313 (check-textrel-CFLAGS): Variable removed.
24314 (all-built-dso): Use := to define.o
24315 ($(all-built-dso:=.dyn)): New static pattern rule.
24316 (generated): Add those targets.
24317 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
24318 * config.make.in (READELF): New substituted variable.
24319 * elf/check-textrel.c: File removed.
24320
62fde54f 243212012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 24322
615605c9
JM
24323 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24324 allow.
24325 * conform/data/ctype.h-data [C99-based standards] (isblank):
24326 Expect function.
24327 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
24328 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
24329 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24330 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
24331 Specify type. Require positive value.
24332 (EILSEQ): Likewise.
24333 (ERANGE): Likewise.
24334 [ISO || POSIX] (EILSEQ): Do not expect.
24335 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
24336 Specify type. Require positive value.
24337 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
24338 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
24339 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
24340 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
24341 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
24342 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
24343 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
24344 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
24345 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
24346 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
24347 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
24348 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
24349 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
24350 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
24351 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
24352 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
24353 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
24354 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
24355 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
24356 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
24357 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
24358 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
24359 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
24360 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
24361 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
24362 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
24363 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
24364 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
24365 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
24366 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
24367 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
24368 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
24369 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
24370 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
24371 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
24372 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
24373 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
24374 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
24375 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
24376 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
24377 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
24378 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
24379 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
24380 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
24381 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
24382 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
24383 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
24384 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
24385 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
24386 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
24387 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
24388 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
24389 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
24390 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
24391 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
24392 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
24393 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
24394 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
24395 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
24396 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
24397 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
24398 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
24399 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
24400 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
24401 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
24402 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
24403 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
24404 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
24405 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
24406 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
24407 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
24408 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
24409 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
24410 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
24411 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
24412 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
24413 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
24414 Require >= 2.
24415 (FLT_ROUNDS): Expect as macro, not constant.
24416 (FLT_MANT_DIG): Use macro-int-constant.
24417 (DBL_MANT_DIG): Likewise.
24418 (LDBL_MANT_DIG): Likewise.
24419 (FLT_DIG): Likewise.
24420 (DBL_DIG): Likewise.
24421 (LDBL_DIG): Likewise.
24422 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
24423 (DBL_MIN_EXP): Likewise.
24424 (LDBL_MIN_EXP): Likewise.
24425 (FLT_MAX_EXP): Use macro-int-constant.
24426 (DBL_MAX_EXP): Likewise.
24427 (LDBL_MAX_EXP): Likewise.
24428 (FLT_MAX_10_EXP): Likewise.
24429 (DBL_MAX_10_EXP): Likewise.
24430 (LDBL_MAX_10_EXP): Likewise.
24431 (FLT_MAX): Use macro-constant.
24432 (DBL_MAX): Likewise.
24433 (LDBL_MAX): Likewise.
24434 (FLT_EPSILON): Use macro-constant. Give upper bound.
24435 (DBL_EPSILON): Likewise.
24436 (LDBL_EPSILON): Likewise.
24437 (FLT_MIN): Likewise.
24438 (DBL_MIN): Likewise.
24439 (LDBL_MIN): Likewise.
24440 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
24441 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
24442 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
24443 [ISO11] (FLT_HAS_SUBNORM): Likewise.
24444 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
24445 [ISO11] (DBL_DECIMAL_DIG): Likewise.
24446 [ISO11] (FLT_DECIMAL_DIG): Likewise.
24447 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
24448 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
24449 [ISO11] (FLT_TRUE_MIN): Likewise.
24450 [ISO11] (LDBL_TRUE_MIN): Likewise.
24451 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24452 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
24453 (SCHAR_MIN): Use macro-int-constant. Specify type.
24454 (SCHAR_MAX): Likewise.
24455 (UCHAR_MAX): Likewise.
24456 (CHAR_MIN): Likewise.
24457 (CHAR_MAX): Likewise.
24458 (MB_LEN_MAX): Use macro-int-constant.
24459 (SHRT_MIN): Use macro-int-constant. Specify type.
24460 (SHRT_MAX): Likewise.
24461 (USHRT_MAX): Likewise.
24462 (INT_MAX): Likewise.
24463 (INT_MIN): Use macro-int-constant. Specify type. Make upper
24464 bound negative.
24465 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
24466 bound with "U".
24467 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
24468 bound with "L".
24469 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
24470 bound negative. Suffix upper bound with "L".
24471 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
24472 bound with "UL".
24473 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
24474 Specify type.
24475 [C99-based standards] (LLONG_MAX): Likewise.
24476 [C99-based standards] (ULLONG_MAX): Likewise.
24477 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
24478 == 0.
24479 [ISO11] (max_align_t): Require type.
24480 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24481
c9140a62
JM
24482 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
24483 from $CFLAGS, without defining away __attribute__ calls.
24484 (checknamespace): Use $CFLAGS_namespace.
24485
9af0bf29
JM
24486 * conform/conformtest.pl (@keywords): Only include C99 keywords
24487 for standards based on C99 or C11.
24488
343222a2
JM
24489 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
24490 Disable tests.
24491 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
24492 UNIX98]: Likewise.
24493
661f8cf0
JM
24494 * conform/conformtest.pl: Handle "macro-int-constant" and test for
24495 usability of symbols in #if.
24496
ee74b9cb
JM
24497 * conform/conformtest.pl: If macro or constant types start
24498 "promoted:", expect the symbol to be of the following type
24499 promoted by the integer promotions.
62fde54f 24500
aafc49b3
JM
24501 * conform/conformtest.pl: Parse all "constant" and "macro" lines
24502 in one place. Also handle "macro-constant".
24503
fefdf574
JM
24504 * conform/conformtest.pl: Only accept expected macro values with
24505 "==". Parse all "macro" lines in one place.
24506 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
24507
f2d922fe
JM
24508 * conform/conformtest.pl: Handle braced types on "constant" lines
24509 instead of handling "typed-constant".
24510 * conform/data/signal.h-data: Use "constant" instead of
24511 "typed-constant".
24512
d22956c9
JM
24513 * conform/conformtest.pl: Handle "optional-" at start of lines in
24514 one place rather than duplicating several cases. Handle each
24515 format of "macro" line with initial "optional-".
24516
028e2e38
JM
24517 * conform/conformtest.pl: Only accept expected constant or
24518 optional-constant values with "==". Parse all "constant" lines in
24519 one place. Parse all "optional-constant" lines in one place.
24520 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
24521 * conform/data/fmtmsg.h-data: Likewise.
24522 * conform/data/netinet/in.h-data: Likewise.
24523 * conform/data/tar.h-data: Likewise.
24524 * conform/data/limits.h-data: Use "==" form on "constant" and
24525 "optional-constant" lines.
24526
1b8f2850
JM
24527 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
24528 Use -std=c99 for XOPEN2K.
24529 (@knownproblems): Remove.
24530 (newtoken): Don't check %isknown.
24531
a05a144b
JM
24532 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
24533 Do not expect macro.
24534 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
24535 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
24536 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
24537 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
24538 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
24539 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
24540 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
24541 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
24542 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
24543 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
24544 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
24545 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
24546 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
24547 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
24548 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
24549 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
24550 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
24551 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
24552 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
24553 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
24554 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
24555 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
24556 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
24557 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
24558 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
24559 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
24560 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
24561 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
24562 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
24563 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
24564 [XPG3] (acosh): Likewise.
24565 [XPG3] (asinh): Likewise.
24566 [XPG3] (atanh): Likewise.
24567 [XPG3] (cbrt): Likewise.
24568 [XPG3] (expm1): Likewise.
24569 [XPG3] (ilogb): Likewise.
24570 [XPG3] (log1p): Likewise.
24571 [XPG3] (logb): Likewise.
24572 [XPG3] (nextafter): Likewise.
24573 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
24574 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
24575 [XPG3] (remainder): Likewise.
24576 [XPG3] (rint): Likewise.
24577 [XPG3 || XPG4 || UNIX98] (round): Likewise.
24578 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
24579 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
24580 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
24581 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
24582 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
24583 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
24584 [UNIX98 || XOPEN2K] (scalb): Expect.
24585 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
24586 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
24587 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
24588 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
24589 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
24590 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
24591 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
24592 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
24593 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
24594 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
24595 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
24596 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
24597 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
24598 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
24599 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
24600 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
24601 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
24602 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
24603 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
24604 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
24605 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
24606 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
24607 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
24608 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
24609 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
24610 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
24611 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
24612 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
24613 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
24614 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
24615 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
24616 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
24617 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
24618 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
24619 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
24620 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
24621 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
24622 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
24623 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
24624 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
24625 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
24626 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
24627 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
24628 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
24629 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
24630 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
24631 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
24632 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
24633 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
24634 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
24635 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
24636 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
24637 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
24638 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
24639 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
24640 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
24641 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
24642 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
24643 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
24644 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
24645 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
24646 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
24647 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
24648 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
24649 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
24650 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
24651 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
24652 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
24653 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
24654 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
24655 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
24656 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
24657 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
24658 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
24659 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
24660 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
24661 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
24662 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
24663 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
24664 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
24665 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
24666 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
24667 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
24668 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
24669 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
24670 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
24671 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
24672 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
24673 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
24674 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
24675 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
24676 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
24677 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
24678 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
24679 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
24680 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
24681 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
24682 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
24683 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
24684 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
24685 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
24686 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
24687 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
24688 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
24689 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
24690 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
24691 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
24692 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
24693 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
24694 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
24695 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
24696 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
24697 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
24698 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
24699 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
24700 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
24701 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
24702 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
24703 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
24704 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
24705 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
24706 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
24707 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
24708 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
24709 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
24710 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
24711 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
24712 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
24713 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
24714 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
24715 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
24716 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
24717 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
24718 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
24719 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
24720 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
24721 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
24722
73c5ebe3
JM
24723 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
24724 _XOPEN_SOURCE_EXTENDED for XPG4.
24725
39c33b6c
JM
24726 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
24727
62fde54f
JM
24728 * Makeconfig (localtime): Remove variable.
24729 (inst_localtime-file): Likewise.
24730
0741d64c
AS
247312012-05-01 Andreas Schwab <schwab@linux-m68k.org>
24732
24733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
24734 Update.
24735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24736 Update.
24737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
24738 Update.
24739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24740 Update.
24741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
24742 Update.
24743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
24744 Update.
24745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24746 Update.
24747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
24748 Update.
24749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24750 Update.
24751
7cb029ee
JM
247522012-05-01 Joseph Myers <joseph@codesourcery.com>
24753
24754 [BZ #2550]
24755 [BZ #2570]
24756 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
24757 comparisons to determine direction to adjust input.
24758 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
24759 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
24760 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
24761 Likewise.
24762 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
24763 Likewise.
24764 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24765 Likewise.
24766 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
24767 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
24768 Likewise.
24769 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
24770 Likewise.
24771 * math/libm-test.inc (nexttoward_test): Add more tests.
24772
412bd966
AS
247732012-05-01 Andreas Schwab <schwab@linux-m68k.org>
24774
24775 [BZ #14040]
24776 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
24777 in version GLIBC_2.1, not GLIBC_2.0.
24778 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
24779 Likewise.
24780
9568c0c2
JM
247812012-04-30 Joseph Myers <joseph@codesourcery.com>
24782
adfbc8ac
JM
24783 [BZ #13942]
24784 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
24785 (1 - x) * (1 + x).
24786 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24787 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
24788 * math/libm-test.inc (acos_test): Add more tests.
24789 (asin_test): Likewise.
24790 * sysdeps/i386/fpu/libm-test-ulps: Update.
24791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24792
5ba3cc69
JM
24793 [BZ #14034]
24794 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
24795 of square root.
24796 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
24797 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24798 * math/libm-test.inc (acos_test_tonearest): New function.
24799 (acos_test_towardzero): Likewise.
24800 (acos_test_downward): Likewise.
24801 (acos_test_upward): Likewise.
24802 (asin_test_tonearest): Likewise.
24803 (asin_test_towardzero): Likewise.
24804 (asin_test_downward): Likewise.
24805 (asin_test_upward): Likewise.
24806 (main): Call the new functions.
24807 * sysdeps/i386/fpu/libm-test-ulps: Update.
24808 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24809
9568c0c2
JM
24810 [BZ #13884]
24811 [BZ #13924]
24812 * math/e_exp10.c: Include <float.h>.
24813 (__ieee754_exp10): Handle underflow here rather than multiplying
24814 large negative argument by M_LN10.
24815 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
24816 of __ieee754_expf.
24817 * math/e_exp10l.c: Include <float.h>.
24818 (__ieee754_exp10l): Handle underflow here rather than multiplying
24819 large negative argument by M_LN10l.
24820 * math/libm-test.inc (exp10_test): Add another test. Do not allow
24821 spurious overflow exception on underflow.
24822
5ac3ea17
MP
248232012-04-29 Marek Polacek <polacek@redhat.com>
24824
24825 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
24826 (__fortify_function): New macro.
24827 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
24828 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
24829 __extern_always_inline.
24830 * libio/bits/stdio2.h: Likewise.
24831 * libio/bits/stdio.h: Likewise.
24832 * string/string.h: Likewise.
24833 * string/bits/string3.h: Likewise.
24834 * include/stdio.h: Likewise.
24835 * stdlib/bits/stdlib.h: Likewise.
24836 * stdlib/stdlib.h: Likewise.
24837 * rt/bits/mqueue2.h: Likewise.
24838 * rt/mqueue.h: Likewise.
24839 * posix/bits/unistd.h: Likewise.
24840 * posix/unistd.h: Likewise.
24841 * io/bits/poll2.h: Likewise.
24842 * io/bits/fcntl2.h: Likewise.
24843 * io/fcntl.h: Likewise.
24844 * io/sys/poll.h: Likewise.
24845 * misc/bits/syslog.h: Likewise.
24846 * misc/bits/syslog-ldbl.h: Likewise.
24847 * misc/sys/syslog.h: Likewise.
24848 * socket/bits/socket2.h: Likewise.
24849 * socket/sys/socket.h: Likewise.
24850 * debug/tst-chk1.c: Likewise.
24851 * wcsmbs/bits/wchar2.h: Likewise.
24852 * wcsmbs/bits/wchar-ldbl.h: Likewise.
24853 * wcsmbs/wchar.h: Likewise.
24854
ecf0ebfb
AJ
248552012-04-29 Andreas Jaeger <aj@suse.de>
24856
24857 * Makerules (tests): Remove enable-check-abi protection.
24858 (check-abi-warn): Remove.
24859 (check-abi-%): Remove check-abi-warn usage.
24860
24861 * configure.in: Remove check-abi configure option.
24862 * configure: Regenerated.
24863 * config.make.in (enable-check-abi): Remove.
24864
6d5c57fa
AS
248652012-04-28 Andreas Schwab <schwab@linux-m68k.org>
24866
24c5d07e 24867 [BZ #14033]
ded5180a
AS
24868 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
24869 double functions to double *_finite functions.
24870
7e0d315d
AS
24871 [BZ #13941]
24872 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
24873 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
24874 LDBL_MIN_EXP.
24875 * stdio-common/Makefile (tests): Add tst-sprintf3.
24876 * stdio-common/tst-sprintf3.c: New file.
24877
6d5c57fa
AS
24878 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
24879 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
24880
0749ff8b
JM
248812012-04-28 Joseph Myers <joseph@codesourcery.com>
24882
24883 * conform/conformtest.pl: Remove duplicate typed-constant
24884 handling.
24885
8dbd5d7b
DM
248862012-04-28 David S. Miller <davem@davemloft.net>
24887
24888 * Makerules (%.abilist): Add vpath on sysdep_dirs.
24889 (check-abi-%): Remove AWK script prerequisite and explicit
24890 abilist directory.
24891 (check-abi): Rewrite to just diff the symlist with the abilist.
24892 (config-tls, config-abi-config): Delete, no longer used.
24893 (update-abi-%): Remove AWK script and explicit abilist directory.
24894 (update-abi): Rewrite to simply compare and conditionally copy the
24895 symlist and the sysdep abilist file. Remove update-abi-config
24896 checks.
24897 * abilist/ld.abilist: Remove.
24898 * abilist/libBrokenLocale.abilist: Remove.
24899 * abilist/libanl.abilist: Remove.
24900 * abilist/libcrypt.abilist: Remove.
24901 * abilist/libdl.abilist: Remove.
24902 * abilist/librt.abilist: Remove.
24903 * abilist/libthread_db.abilist: Remove.
24904 * abilist/libutil.abilist: Remove.
24905 * scripts/extract-abilist.awk: Remove.
24906 * scripts/merge-abilist.awk: Remove.
24907 * sysdeps/generic/libcidn.abilist: New file.
24908 * sysdeps/generic/libnss_compat.abilist: New file.
24909 * sysdeps/generic/libnss_db.abilist: New file.
24910 * sysdeps/generic/libnss_dns.abilist: New file.
24911 * sysdeps/generic/libnss_files.abilist: New file.
24912 * sysdeps/generic/libnss_hesiod.abilist: New file.
24913 * sysdeps/generic/libnss_nis.abilist: New file.
24914 * sysdeps/generic/libnss_nisplus.abilist: New file.
24915 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
24916 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
24917 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
24918 file.
24919 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
24920 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
24921 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
24922 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
24923 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
24924 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
24925 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
24926 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
24927 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
24928 file.
24929 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
24930 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
24931 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
24932 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
24933 file.
24934 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
24935 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
24936 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
24937 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
24938 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
24939 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
24940 file.
24941 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
24942 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
24943 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
24944 file.
24945 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
24946 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
24947 New file.
24948 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
24949 New file.
24950 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
24951 New file.
24952 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
24953 New file.
24954 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
24955 New file.
24956 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
24957 New file.
24958 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
24959 New file.
24960 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
24961 New file.
24962 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
24963 New file.
24964 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
24965 New file.
24966 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
24967 New file.
24968 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
24969 New file.
24970 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
24971 New file.
24972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
24973 file.
24974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
24975 New file.
24976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
24977 New file.
24978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
24979 file.
24980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
24981 New file.
24982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
24983 New file.
24984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
24985 file.
24986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
24987 New file.
24988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24989 New file.
24990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
24991 New file.
24992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
24993 New file.
24994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
24995 New file.
24996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
24997 New file.
24998 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
24999 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
25000 file.
25001 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25002 New file.
25003 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
25004 file.
25005 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
25006 file.
25007 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
25008 file.
25009 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
25010 file.
25011 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
25012 file.
25013 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25014 New file.
25015 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
25016 file.
25017 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
25018 file.
25019 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25020 New file.
25021 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
25022 file.
25023 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
25024 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
25025 file.
25026 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25027 New file.
25028 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
25029 file.
25030 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
25031 file.
25032 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
25033 file.
25034 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
25035 file.
25036 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
25037 file.
25038 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25039 New file.
25040 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
25041 file.
25042 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
25043 file.
25044 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
25045 New file.
25046 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
25047 file.
25048 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25049 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
25050 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
25051 file.
25052 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
25053 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
25054 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
25055 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
25056 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
25057 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
25058 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
25059 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
25060 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
25061 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
25062 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
25063 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
25064 file.
25065 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
25066 New file.
25067 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
25068 file.
25069 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
25070 file.
25071 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
25072 file.
25073 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
25074 file.
25075 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
25076 file.
25077 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25078 New file.
25079 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
25080 New file.
25081 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
25082 file.
25083 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
25084 New file.
25085 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
25086 file.
25087 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
25088 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
25089 file.
25090 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
25091 New file.
25092 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
25093 file.
25094 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
25095 file.
25096 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
25097 file.
25098 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
25099 file.
25100 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
25101 file.
25102 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25103 New file.
25104 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
25105 New file.
25106 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
25107 file.
25108 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
25109 New file.
25110 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
25111 file.
25112
41d73a1b
JM
251132012-04-28 Joseph Myers <joseph@codesourcery.com>
25114
25115 * conform/conformtest.pl: Fix typo in handling typed-constant from
25116 allow-header.
25117
28aeeda4
JM
251182012-04-27 Joseph Myers <joseph@codesourcery.com>
25119
adae8f5e
JM
25120 * README: Cut down references to pre-2.6 Linux kernels and
25121 Linuxthreads. Update lists of configurations in libc and ports
25122 and sort alphabetically. Say "or newer" with Linux kernel version
25123 requirements.
25124
28aeeda4
JM
25125 * config.h.in [IS_IN_build]: Allow compiling without optimization.
25126
a462cb63
RA
251272012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25128
25129 [BZ #887]
25130 * math/libm-test.inc (logb_test_downward): New test to expose
25131 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
25132 rounding mode.
25133
6ad3493e
JM
251342012-04-27 Joseph Myers <joseph@codesourcery.com>
25135
25136 [BZ #14027]
25137 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
25138 to be done.
25139 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
25140 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
25141
2ce4f015
JM
251422012-04-26 Joseph Myers <joseph@codesourcery.com>
25143
5aeb141a
JM
25144 * sysdeps/unix/i386/brk.S: Remove file.
25145 * sysdeps/unix/i386/dl-brk.S: Likewise.
25146 * sysdeps/unix/i386/pipe.S: Likewise.
25147 * sysdeps/unix/i386/sigreturn.S: Likewise.
25148 * sysdeps/unix/i386/syscall.S: Likewise.
25149 * sysdeps/unix/i386/vfork.S: Likewise.
25150 * sysdeps/unix/i386/wait.S: Likewise.
25151
7143acae
JM
25152 * sysdeps/unix/common/tcsendbrk.c: Move to ...
25153 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
25154
2ce4f015
JM
25155 * configure.in (arm*-none*): Do not allow without
25156 --enable-hacker-mode.
25157 (netbsd*): Remove case setting base_os.
25158 (386bsd*): Likewise.
25159 (freebsd*): Likewise.
25160 (bsdi*): Likewise.
25161 (osf*): Likewise.
25162 (sunos*): Likewise.
25163 (ultrix*): Likewise.
25164 (newsos*): Likewise.
25165 (dynix*): Likewise.
25166 (*bsd*): Likewise.
25167 (sysv*): Likewise.
25168 (isc*): Likewise.
25169 (esix*): Likewise.
25170 (sco*): Likewise.
25171 (minix*): Likewise.
25172 (irix4*): Likewise.
25173 (irix6*): Likewise.
25174 (solaris[2-9]*): Likewise.
25175 (none): Likewise.
25176 * configure: Regenerated.
25177
0ac229c8
AZ
251782012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25179
25180 [BZ #11521]
25181 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
25182 overflow or cancellation in calculating denominator.
25183 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
25184 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
25185 down expression to avoid unexpected rounding in newer GCCs.
25186 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
25187
33f244f4
DM
251882012-04-26 David S. Miller <davem@davemloft.net>
25189
25190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
25191 long-double compat symbols.
25192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
25196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
25198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
25199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
25200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
25201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
25202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
25203 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
25204 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25205
cfa1f3e8
DM
252062012-04-25 David S. Miller <davem@davemloft.net>
25207
25208 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
25209 HWCAP_* values only after the memory barriers have been defined.
25210 (atomic_full_barrier): Define.
25211 (atomic_read_barrier): Define.
25212 (atomic_write_barrier): Define.
25213
6e236b92
SP
252142012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25215
25216 * shlib-versions: Add libgcc_s version information.
25217 * sysdeps/generic/libgcc_s.h: Remove.
25218 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
25219 libgcc_s.h.
25220 * sysdeps/gnu/unwind-resume.c: Likewise.
25221 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
25222
aab39a09
DM
252232012-04-25 David S. Miller <davem@davemloft.net>
25224
25225 * sysdeps/unix/sparc/brk.S: Delete.
25226 * sysdeps/unix/sparc/dl-brk.S: Delete.
25227 * sysdeps/unix/sparc/pipe.S: Delete.
25228 * sysdeps/unix/sparc/sysdep.S: Delete.
25229 * sysdeps/unix/sparc/sysdep.h: Delete.
25230 * sysdeps/unix/sparc/vfork.S: Delete.
25231 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
25232 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
25233 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
25234 ret_ERRVAL, r0, r1, MOVE): Define.
25235 (JUMPTARGET): Remove.
25236 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
25237 sysdeps/unix/sparc/sysdep.h
25238 (ENTRY, END): Remove.
25239 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25240
a3cc4f48
JM
252412012-04-25 Joseph Myers <joseph@codesourcery.com>
25242
2ed8cda2
JM
25243 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
25244 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
25245 -DIS_IN_build.
25246
35d76d59
JM
25247 * timezone/README: Update upstream location and email address for
25248 tzcode and tzdata.
25249 * timezone/zdump.c: Update from tzcode 2012b.
25250 * timezone/zic.c: Likewise.
25251
a3cc4f48
JM
25252 * configure.in (libc_cv_as_needed): Remove test.
25253 * configure: Regenerated.
25254 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
25255 conditional definition.
25256 [$(have-as-needed) != yes] (no-as-needed): Likewise.
25257 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
25258 * config.make.in (have-as-needed): Remove variable.
25259
ceab42c3
SP
252602012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25261 Paul Pluzhnikov <ppluzhnikov@google.com>
25262
25263 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
25264 strings correctly.
25265
3ce2865f
CLT
252662012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
25267
25268 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
25269 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
25270 * sysdeps/sh/strlen.S: Likewise.
25271
f37e0d68
JM
252722012-04-24 Joseph Myers <joseph@codesourcery.com>
25273
ae186e9a
JM
25274 * sysdeps/unix/fork.S: Remove file.
25275 * sysdeps/unix/i386/fork.S: Likewise.
25276 * sysdeps/unix/sparc/fork.S: Likewise.
25277
b96914af
JM
25278 * sysdeps/unix/system.c: Remove file.
25279 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
25280
f37e0d68
JM
25281 * sysdeps/unix/getegid.S: Remove file.
25282 * sysdeps/unix/geteuid.S: Likewise.
25283
87ef29ca
RM
252842012-04-24 Roland McGrath <roland@hack.frob.com>
25285
83bcd236
RM
25286 * scripts/check-localplt.awk: New file.
25287 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
25288 of diff.
25289 * scripts/data/localplt-generic.data: Add a comment.
25290
87ef29ca
RM
25291 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
25292 NODE when __dir_mkfile failed.
25293 * sysdeps/mach/hurd/symlinkat.c: Likewise.
25294 Reported by Ludovic Courtès <ludo@gnu.org>.
25295
e5a6e567
AJ
252962012-04-24 Andreas Jaeger <aj@suse.de>
25297
25298 * Makerules (common-clean): Also remove gen-as-const-headers
25299 files.
25300
c1820385
JM
253012012-04-24 Joseph Myers <joseph@codesourcery.com>
25302
25303 * Makerules (native-compile): Do not change working directory for
25304 build. Use $(OUTPUT_OPTION) in command.
25305 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
25306
94e02fc4
AZ
253072012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25308
25309 [BZ #13886]
25310 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
25311 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
25312 * math/libm-test.inc (floor_test): Add more tests.
25313 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
25314
3a533ca3
JM
253152012-04-24 Joseph Myers <joseph@codesourcery.com>
25316
940ab4b3
JM
25317 * sysdeps/unix/getdents.c: Remove file.
25318 * sysdeps/unix/sysv/getdents.c: Likewise.
25319 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
25320
90e037bd
JM
25321 * sysdeps/unix/syscalls.list (madvise): Add syscall from
25322 sysdeps/unix/mman/syscalls.list.
25323 (mmap): Likewise.
25324 (mprotect): Likewise.
25325 (msync): Likewise.
25326 (munmap): Likewise.
25327 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
25328 * sysdeps/unix/mman/syscalls.list: Remove.
25329 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
25330
3a533ca3
JM
25331 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
25332 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
25333 * configure: Regenerated.
25334 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
25335 $(libgcc_s_suffix).
25336 * config.make.in (libgcc_s_suffix): Remove variable.
25337
1ad743de
JM
253382012-04-23 Joseph Myers <joseph@codesourcery.com>
25339
4ad451e2
JM
25340 * sysdeps/unix/sysv/gethostname.c: Move to ...
25341 * sysdeps/posix/gethostname.c: ... here.
25342
5e37ce39
JM
25343 * sysdeps/unix/execve.S: Remove file.
25344
1ad743de
JM
25345 * sysdeps/unix/_exit.S: Remove file.
25346
4e681b5b
AJ
253472012-04-23 Andreas Jaeger <aj@suse.de>
25348
25349 [BZ #13739]
25350 * manual/Makefile: Remove make dist support, there's no
25351 need for a stand-alone documentation tar ball.
25352 (TEXI2DVI): Define always, it's not in Makeconfig.
25353 (dist): Removed.
25354 (tar-it): Removed.
25355 (edition): Removed.
25356 (glibc-doc-$(edition).tar): Removed
25357 (%.Z): Removed.
25358 (%.gz): Removed.
25359 (%.uu): Removed.
25360 (ETAGS): Remove, it's in Makeconfig.
25361 (move-if-change): Remove, it's in Makeconfig.
25362
38686a03 253632012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
25364
25365 [BZ #13970]
25366 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
25367 (strtod, strtof, strtold, strtol, strtoul, strtoq)
25368 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
25369 (strtod_l, strtof_l, strtold_l): Remove __wur.
25370 It is not necessarily an error to ignore strtol's return value.
25371 One can reliably look at the stored endptr to decide whether
25372 the number had valid syntax.
25373
7c0616fa
AJ
253742012-04-21 Andreas Jaeger <aj@suse.de>
25375
803cb6b7 25376 [BZ #13739]
7c0616fa
AJ
25377 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
25378
b0fe253f
JM
253792012-04-21 Joseph Myers <joseph@codesourcery.com>
25380
25381 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
25382 * sysdeps/unix/sysv/Versions: Remove file.
25383
8280f22d
MT
253842012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
25385
25386 [BZ #13927]
25387 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25388
75ce411f 253892012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
25390
25391 [BZ #7064]
25392 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
25393 version from __vm86.
25394
097d59fa
JM
253952012-04-20 Joseph Myers <joseph@codesourcery.com>
25396
a90f3bcb
JM
25397 * sysdeps/unix/common/lxstat.c: Remove file.
25398 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
25399
edc7ea78
JM
25400 * sysdeps/unix/sysv/Makefile: Remove file.
25401
cb78c221
JM
25402 * sysdeps/unix/sysv/direct.h: Remove file.
25403
efa6a45f
JM
25404 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
25405 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
25406 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
25407 * sysdeps/unix/sysv/bits/signum.h: Likewise.
25408 * sysdeps/unix/sysv/bits/stat.h: Likewise.
25409 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
25410 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
25411
9c9f2d0c
JM
25412 * sysdeps/unix/sysv/setrlimit.c: Remove file.
25413
4541c83b
JM
25414 * sysdeps/unix/xmknod.c: Remove file.
25415 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
25416
f5d153a0
JM
25417 * sysdeps/unix/sysv/settimeofday.c: Remove file.
25418
aa746595
JM
25419 * sysdeps/unix/sysv/i386/time.S: Remove file.
25420
cce5905e
JM
25421 * sysdeps/unix/fxstat.c: Remove file.
25422 * sysdeps/unix/xstat.c: Likewise.
25423 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
25424
37fa3841
JM
25425 * sysdeps/unix/sysv/sigaction.c: Remove file.
25426
ff1962a3
JM
25427 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
25428 (sysdep_headers): Remove variable.
25429 [termio.h not in sysdep_headers] (generated): Likewise.
25430 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
25431 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
25432 * sysdeps/unix/sysv/tcdrain.c: Likewise.
25433 * sysdeps/unix/sysv/tcflow.c: Likewise.
25434 * sysdeps/unix/sysv/tcflush.c: Likewise.
25435 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
25436 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
25437 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
25438 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
25439 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
25440
e7740d31
JM
25441 * sysdeps/unix/siglist.c: Remove file.
25442
ee06f18b
JM
25443 * sysdeps/unix/getppid.S: Remove file.
25444
097d59fa
JM
25445 * sysdeps/unix/mkdir.c: Remove file.
25446 * sysdeps/unix/rmdir.c: Likewise.
25447
ff3d51ec
AS
254482012-04-19 Andreas Schwab <schwab@linux-m68k.org>
25449
25450 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
25451 ERR_MAX value.
25452 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
25453 errlist-compat value.
25454
50f81fd7
DM
254552012-04-18 David S. Miller <davem@davemloft.net>
25456
25457 * sysdeps/generic/memcopy.h (reg_char): Delete.
25458 * debug/strcat_chk.c: Use char, not reg_char.
25459 * debug/strcpy_chk.c: Likewise.
25460 * debug/strncat_chk.c: Likewise.
25461 * debug/strncpy_chk.c: Likewise.
25462 * string/memchr.c: Likewise.
25463 * string/memrchr.c: Likewise.
25464 * string/rawmemchr.c: Likewise.
25465 * string/strcat.c: Likewise.
25466 * string/strchr.c: Likewise.
25467 * string/strchrnul.c: Likewise.
25468 * string/strcmp.c: Likewise.
25469 * string/strcpy.c: Likewise.
25470 * string/strncat.c: Likewise.
25471 * string/strncmp.c: Likewise.
25472 * string/strncpy.c: Likewise.
25473
8ff41c46
WS
254742012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25475
25476 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
25477 __builtin_memcopy is called when src and dest ranges are known to not
25478 overlap.
25479
6b652f46
WS
254802012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25481
25482 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
25483 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
25484 fwd_align_merge macro call.
25485 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
25486 bwd_align_merge macro call.
25487 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25488
b282631e
WS
254892012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25490
25491 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
25492 bwd_align_merge macros.
25493 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
25494 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
25495 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25496
95aa737c
DM
254972012-04-18 David S. Miller <davem@davemloft.net>
25498
25499 * sysdeps/sparc/sparc64/memcopy.h: Delete.
25500
7a99a614
AJ
255012012-04-18 Andreas Jaeger <aj@suse.de>
25502
25503 [BZ# 6794]
25504 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
25505 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
25506 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25507
25508 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
25509 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
25510 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25511
25512 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
25513 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
25514 Adjust for changed ldbl-128 files.
25515
25516 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
25517 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
25518 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25519
e5270c23
DM
255202012-04-17 David S. Miller <davem@davemloft.net>
25521
25522 * sysdeps/sparc/sparc32/memcopy.h: Delete.
25523
fb5e92c9
AS
255242012-04-17 Andreas Schwab <schwab@linux-m68k.org>
25525
25526 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
25527 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
25528 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
25529 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
25530 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25531 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
25532
76da7265
AZ
255332012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25534
25535 [BZ #6794]
25536 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
25537 * math/libm-test.inc: Add ilogb errno and exception tests.
25538 * math/w_ilogb.c: New file: ilogb wrapper.
25539 * math/w_ilogbf.c: New file: ilogbf wrapper.
25540 * math/w_ilogbl.c: New file: ilogbl wrapper.
25541 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
25542 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
25543 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
25544 exception being thrown with 0.0 as argument.
25545 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
25546 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
25547 exception being thrown with 0.0 as argument.
25548 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
25549 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25550 exception being thrown with 0.0 as argument.
25551 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
25552 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25553 exception being thrown with 0.0 as argument.
25554 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
25555 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 25556 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
25557 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
25558 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
25559 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
25560 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
25561 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
25562 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
25563
0396e69d
PB
255642012-04-17 Petr Baudis <pasky@ucw.cz>
25565
25566 * include/sys/uio.h: Change __vector to __iovec to avoid clash
25567 with altivec.
25568
750b5926
MP
255692012-04-16 Marek Polacek <polacek@redhat.com>
25570
25571 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
25572
751728a1
MP
255732012-04-16 Marek Polacek <polacek@redhat.com>
25574
25575 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
25576 operands of fdivp instruction.
25577
34a27407
L
255782012-04-13 H.J. Lu <hongjiu.lu@intel.com>
25579
25580 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
25581 * elf/tst-auditmod3b.c: Likewise.
25582 * elf/tst-auditmod4b.c: Likewise.
25583 * elf/tst-auditmod5b.c: Likewise.
25584 * elf/tst-auditmod6b.c: Likewise.
25585 * elf/tst-auditmod6c.c: Likewise.
25586 * elf/tst-auditmod7b.c: Likewise.
25587 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
25588 * sysdeps/x86_64/preconfigure.in: Likewise.
25589 * sysdeps/x86_64/preconfigure: Regenerated.
25590
7e73e17d
L
255912012-04-13 H.J. Lu <hongjiu.lu@intel.com>
25592
25593 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
25594 __ILP32__.
25595
c7a6ab72
AB
255962012-04-13 Antoine Balestrat <merkil33@gmail.com>
25597
25598 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25599 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
25600
a9e8e0e0
CL
256012012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
25602
25603 [BZ #13973]
25604 * locale/iso-639.def: Fix gl language name. Spotted by
25605 Yaron Shahrabani.
25606
ec98af7d
RM
256072012-04-12 Roland McGrath <roland@hack.frob.com>
25608
25609 [BZ #2074]
25610 * libio/libio.h (__io_write_fn): Update comment.
25611
247c3ede
PB
256122012-04-12 Petr Baudis <pasky@ucw.cz>
25613
25614 [BZ #2074]
25615 * stdio.texi (Hook Functions): The user provided writer function
25616 is not allowed to return -1.
25617
55939d6d
DM
256182012-04-11 David S. Miller <davem@davemloft.net>
25619
25620 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25621
90020f5a
MF
256222012-04-11 Mike Frysinger <vapier@gentoo.org>
25623
25624 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
25625 Add a leading slash to rtkaio.
25626
288f9098
JM
256272012-04-11 Jim Meyering <meyering@redhat.com>
25628
90020f5a
MF
25629 [BZ #11959]
25630 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
25631 It is not necessarily an error to ignore fwrite's return
25632 value. One can reliably use ferror to test for errors after
25633 the fact.
288f9098 25634
4be2b570
L
256352012-04-10 H.J. Lu <hongjiu.lu@intel.com>
25636
25637 * bits/types.h (__snseconds_t): New type.
25638 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
25639
25640 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
25641 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25642 (__SNSECONDS_T_TYPE): Likewise.
25643 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25644 (__SNSECONDS_T_TYPE): Likewise.
25645 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25646 (__SNSECONDS_T_TYPE): Likewise.
25647
288f9098 256482012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
25649
25650 [BZ #2636]
25651 * manual/time.texi (Processor Time): Return type of times is
25652 elapsed real time since an arbitrary point in the past.
25653 (CPU Time): Move CLK_TCK from here...
25654 (Processor Time): ...to here. Correct description.
25655 * manual/conf.texi (Constants for Sysconf): Correct description of
25656 _SC_CLK_TCK.
25657
d7dd4413
DM
256582012-04-10 David S. Miller <davem@davemloft.net>
25659
25660 [BZ #13967]
25661 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
25662 where the is a gap between DT_REL(A) and DT_JMPREL.
25663
b46068fc
L
256642012-04-10 H.J. Lu <hongjiu.lu@intel.com>
25665
25666 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
25667 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25668 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25669
73d65cc3
SP
256702012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25671
25672 * elf/dl-support.c (_dl_inhibit_cache): New variable.
25673 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
25674 (dl_main): Handle --inhibit-cache.
25675 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
25676 _dl_inhibit_cache.
25677 * elf/dl-load.c (_dl_map_object): Use it.
25678 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
25679
bcc8d661
JM
256802012-04-09 Joseph Myers <joseph@codesourcery.com>
25681
8f9a2fae
JM
25682 [BZ #13872]
25683 * sysdeps/i386/fpu/e_powl.S (p78): New object.
25684 (__ieee754_powl): Saturate large exponents rather than testing for
25685 overflow of y*log2(x).
25686 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25687 * math/libm-test.inc (pow_test): Do not permit spurious overflow
25688 exceptions.
25689
bcc8d661
JM
25690 [BZ #11521]
25691 * math/s_ctan.c: Include <float.h>.
25692 (__ctan): Avoid internal overflow or cancellation in calculating
25693 denominator.
25694 * math/s_ctanf.c: Likewise.
25695 * math/s_ctanl.c: Likewise.
25696 * math/s_ctanh.c: Likewise.
25697 * math/s_ctanhf.c: Likewise.
25698 * math/s_ctanhl.c: Likewise.
25699 * math/libm-test.inc (ctan_test): Add more tests.
25700 (ctanh_test): Likewise.
25701 * sysdeps/i386/fpu/libm-test-ulps: Update.
25702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25703
823fbbb4
AJ
257042012-04-09 Andreas Jaeger <aj@suse.de>
25705
03879793
AJ
25706 [BZ #6894]
25707 * manual/filesys.texi (Directory Entries): Mention that d_namlen
25708 is an optional BSD extension.
25709
823fbbb4
AJ
25710 [BZ #10254]
25711 * manual/stdio.texi (Opening Streams): Document additional fopen
25712 parameters.
25713
8de131cb
RM
257142012-04-09 Roland McGrath <roland@hack.frob.com>
25715
25716 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
25717 %eax without telling the compiler.
25718
c0ed9d7d
CD
257192012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
25720
25721 [BZ # 13963]
25722 * manual/install.texi: Use sourceware.org.
25723
c483f6b4
JM
257242012-04-09 Joseph Myers <joseph@codesourcery.com>
25725
d7dd9453
JM
25726 [BZ #13873]
25727 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
25728 (__ieee754_pow): Generate overflow and underflow using huge*huge
25729 and tiny*tiny rather than just returning constant infinity or zero
25730 for large exponents.
25731 * math/libm-test.inc (pow_test): Require overflow exceptions for
25732 applicable cases of large exponents.
25733
c483f6b4
JM
25734 [BZ #706]
25735 * sysdeps/i386/fpu/e_pow.S (p10): New object.
25736 (__ieee754_pow): Use iterative multiplication algorithm only for
25737 integer exponents with absolute value below 1024. Check for odd
25738 integer exponents when using algorithm for real exponents.
25739 * math/libm-test.inc (pow_test): Add more tests.
25740 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25741
d2de7579
JM
257422012-04-08 Joseph Myers <joseph@codesourcery.com>
25743
25744 [BZ #13705]
25745 * math/libm-test.inc (exp_test): Do not allow overflow exception
25746 on underflow test.
25747
f77f1232
AJ
257482012-04-08 Aurelien Jarno <aurelien@aurel32.net>
25749
25750 [BZ #13705]
25751 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
25752 instead of __kernel_standard_f.
25753
3884932b
MF
257542012-04-08 Mike Frysinger <vapier@gentoo.org>
25755
25756 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
25757 * sysdeps/x86_64/memset_chk.S: Likewise.
25758
54472e9c
AJ
257592012-04-08 Andreas Jaeger <aj@suse.de>
25760
6ab0fbfc
AJ
25761 [BZ #10153]
25762 * manual/startup.texi (Environment Access): Describe return value
25763 for putenv and setenv.
25764
61efba8c
AJ
25765 [BZ #6895]
25766 * manual/filesys.texi (Directory Entries): Add description for
25767 DT_LNK.
25768
95c3f29a
AJ
25769 [BZ #6890]
25770 * manual/filesys.texi (Directory Entries): Clarify that it's file
25771 system not operating system in the description of DT_UNKNOWN.
25772
54472e9c
AJ
25773 [BZ #6578]
25774 * manual/syslog.texi (closelog): Fix reference, it's openlog.
25775
624254b1
SC
257762012-04-08 Stephen Compall <s11@member.fsf.org>
25777
25778 [BZ #6649]
25779 * manual/llio.texi (Opening and Closing Files): Add cross
25780 reference to explain mode argument.
25781
1e4920e0
MF
257822012-04-07 Mike Frysinger <vapier@gentoo.org>
25783
25784 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
25785 * sysdeps/x86_64/memset_chk.S: Likewise.
25786
5ed848f3
DM
257872012-04-07 David S. Miller <davem@davemloft.net>
25788
25789 * elf/elf.h (R_SPARC_WDISP10): Define.
25790 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
25791 R_SPARC_SIZE32.
25792 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
25793 R_SPARC_SIZE64 and R_SPARC_H34.
25794
96154cd8
CD
257952012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
25796
25797 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
25798 conditions and remove no longer applicable assertion.
25799
9904dc47
L
258002012-04-06 H.J. Lu <hongjiu.lu@intel.com>
25801
25802 * bits/byteswap.h: Include <features.h>.
25803 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25804 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25805
f8887d0a
L
258062012-04-06 H.J. Lu <hongjiu.lu@intel.com>
25807
25808 * bits/byteswap.h (__bswap_16): Removed.
25809 Include <bits/byteswap-16.h> to get __bswap_16.
25810 * sysdeps/i386/bits/byteswap.h: Likewise.
25811 * sysdeps/s390/bits/byteswap.h: Likewise.
25812 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25813 * bits/byteswap-16.h: New file.
25814 * sysdeps/i386/bits/byteswap-16.h: Likewise.
25815 * sysdeps/s390/bits/byteswap-16.h: Likewise.
25816 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
25817 * string/Makefile (headers): Add bits/byteswap-16.h.
25818
62470f60
PP
258192012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25820
25821 [BZ #13895]
25822 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
25823 extra indirection.
25824 * nss/Makefile (tests-static, tests): Add tst-nss-static.
25825 * nss/tst-nss-static.c: New.
25826
4dad7bab
RM
258272012-04-06 Robert Millan <rmh@gnu.org>
25828
25829 [BZ #6486]
25830 * manual/llio.texi (File Position Primitive): lseek
25831 refers to WHENCE when it really means OFFSET.
25832
e9142a17
AJ
258332012-04-06 Andreas Jaeger <aj@suse.de>
25834
2c040eff
AJ
25835 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
25836 strncmp declarations.
25837
e9142a17
AJ
25838 * abilist/libc.abilist: Add __poll and __ppoll.
25839
ff9f1c5f
DM
258402012-04-05 David S. Miller <davem@davemloft.net>
25841
dcd2ae90
DM
25842 * scripts/check-local-headers.sh: Accept a host triplet in the
25843 path matched by the exclude regexp.
25844
993eb054
DM
25845 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
25846 definition.
25847 * sysdeps/powerpc/powerpc32/dl-machine.h
25848 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
25849 * sysdeps/s390/s390-32/dl-machine.h
25850 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25851 * sysdeps/sparc/sparc32/dl-machine.h
25852 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25853 * sysdeps/sparc/sparc64/dl-machine.h
25854 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25855
ff9f1c5f
DM
25856 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
25857 lazy binding.
48e2e132 25858 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
25859 undefined symbol errors.
25860
48e2e132 25861 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
25862 DT_NEEDED entries.
25863
e80d6f94
MM
258642012-04-05 Michael Matz <matz@suse.de>
25865
25866 [BZ #13592]
25867 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
25868
349fa79f
AJ
258692012-04-05 Andreas Jaeger <aj@suse.de>
25870
25871 [BZ #13908]
25872 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
25873 comment.
25874
f402708f
KK
258752012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25876
25877 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
25878 which ROUND is no valid rounding mode.
25879
2ecccfc9
KK
258802012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25881
25882 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
25883 read again.
25884 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
25885
8a53f50f
KK
258862012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25887
25888 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
25889 an exception using FPU order intentionally.
25890
258912012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25892
25893 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
25894 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
25895 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
25896 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
25897
d653abb7
SJ
258982012-04-05 Simon Josefsson <simon@josefsson.org>
25899
25900 [BZ #12340]
25901 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
25902 EINVAL when BUFLEN is too smal.
25903
c3b1bf7d
TS
259042012-04-05 Thomas Schwinge <thomas@codesourcery.com>
25905
25906 [BZ #13553]
25907 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
25908 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
25909
b1aa60f3
AJ
259102012-04-03 Andreas Jaeger <aj@suse.de>
25911
c3b1bf7d 25912 [BZ #13938]
67f60a26
AJ
25913 * manual/setjmp.texi (System V contexts): Fix sentence.
25914
b1aa60f3
AJ
25915 [BZ #13926]
25916 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
25917 New macro for this case.
25918 [!__GNUC__] (__bswap_64): New inline function for this case.
25919 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25920 * bits/byteswap.h: Likewise.
25921 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
25922 ull, guard with __GLIBC_HAVE_LONG_LONG.
25923
25924 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
25925 __GLIBC_HAVE_LONG_LONG.
25926
25927 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
25928 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
25929
39c59c35
TMQMF
259302012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25931
25932 [BZ #13691]
25933 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
25934 inptr and inend, rather than using last_ch.
25935
135ffda8
DM
259362012-04-02 David S. Miller <davem@davemloft.net>
25937
25938 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
25939 * stdio-common/printf-parse.h (read_int): Change return type to
25940 'int', return -1 on INT_MAX overflow.
25941 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
25942 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
25943 overflows INT_MAX. Check for overflow of in-format-string precision
25944 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
25945 SIZE_MAX not INT_MAX for integer overflow test.
25946 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
25947 skip the construct in the format string but do not record anything.
25948 * stdio-common/bug22.c: Adjust to test both width/prevision
25949 INT_MAX overflow as well as total length INT_MAX overflow. Check
25950 explicitly for proper errno values.
25951
228c019e
TS
259522012-04-02 Thomas Schwinge <thomas@codesourcery.com>
25953
302cadd3
TS
25954 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
25955 CHAR_MAX.
25956 * string/test-strcmp.c [! WIDE]: Likewise.
25957 * time/tst-mktime2.c: Likewise for INT_MAX.
25958 * string/test-string.h: #include <sys/param.h> for MIN.
25959
228c019e
TS
25960 * csu/init-first.c (__libc_init_first): Call __ctype_init.
25961 * sysdeps/i386/init-first.c (init): Likewise.
25962 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
25963 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
25964 * sysdeps/sh/init-first.c (init): Likewise.
25965
cfa633f5
UD
259662012-04-01 Ulrich Drepper <drepper@gmail.com>
25967
25968 * po/ru.po: Update from translation team.
d1635ef8 25969 * po/vi.po: Likewise.
cfa633f5 25970
6cd0a5ea
SP
259712012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25972
25973 * resolv/nss_dns/dns-host.c: Merge copyright years.
25974
4b43400f
LD
259752012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25976
25977 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25978 Optimize memcpy with prefetch if
25979 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
25980 src, dst pointers have unequal 16 byte alignments.
25981
48c41d04
SP
259822012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25983
25984 [BZ #13928]
25985 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
25986 from a CNAME entry and return the minimum ttl for the query.
25987 (gaih_getanswer_slice): Likewise.
25988
b8dc394d
JL
259892012-03-30 Jeff Law <law@redhat.com>
25990
25991 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
25992 due to long keys.
25993 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
25994 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
25995
2f5a5ed0
JL
25996 * resolv/nss_dns/dns-host.c: Update copyright year.
25997
1d39e359
UD
259982012-03-30 Ulrich Drepper <drepper@gmail.com>
25999
c030f70c 26000 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 26001 requests to save a system call. Fix check that all bytes are sent.
c030f70c 26002
1d39e359
UD
26003 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
26004 comments for sendmmsg.
26005
260062012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
26007
26008 [BZ #13691]
26009 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
26010 with only 1 character between 0x0041 and 0x01b0.
26011 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
26012 * wcsmbs/tst-mbsnrtowcs.c: New file.
26013
20fde227
DM
260142012-03-29 David S. Miller <davem@davemloft.net>
26015
26016 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
26017 small copies by hand.
26018
984a4237
JL
260192012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26020
26021 [BZ #13761]
26022 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
26023 _nss_compat_initgroups_dyn): Fall back to malloc/free
26024 for large group memberships.
26025
18c9d62b
DM
260262012-03-28 David S. Miller <davem@davemloft.net>
26027
88d85d4f
DM
26028 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
26029 that branches into memcpy.
26030 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26031 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26032 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26033 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26034 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
26035 bits.
26036 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
26037 implementation too.
26038 * sysdeps/sparc/mempcpy.S: New file.
26039
e5aa83e1
DM
26040 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
26041 the IFUNC routine in the libc case.
26042 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26043
88570753
DM
26044 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
26045 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
26046 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
26047 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
26048 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
26049 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
26050 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
26051 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
26052
249d7567
DM
26053 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
26054 loop to 256 bytes instead of 64 bytes and fix test signedness.
26055
18c9d62b
DM
26056 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
26057 * sysdeps/sparc/sparc32/Makefile: rather than here...
26058 * sysdeps/sparc/sparc64/Makefile: and here.
26059
05f3d1f6
UD
260602012-03-28 Ulrich Drepper <drepper@gmail.com>
26061
26062 * malloc/mallocbug.c: Avoid warnings about unused variables.
26063
86ae07a8
JL
260642012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26065
26066 [BZ #13760]
26067 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
26068 in the right place. Discard and retry query if response is
26069 larger than input buffer size.
26070
41bf21a1
JM
260712012-03-28 Joseph Myers <joseph@codesourcery.com>
26072
d6270972
JM
26073 [BZ #369]
26074 [BZ #2678]
26075 [BZ #3866]
26076 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
26077 x for large integer exponent.
26078 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26079 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
26080 sign of result as needed afterwards.
26081 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26082 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
26083 result for underflowing pow the same as for overflow.
26084 (__kernel_standard_l): Handle powl overflow and underflow here
26085 rather than calling __kernel_standard.
26086 * math/libm-test.inc (pow_test): Add more tests.
26087
414fca03 26088 [BZ #3868]
41bf21a1
JM
26089 [BZ #13879]
26090 [BZ #13910]
26091 [BZ #13911]
26092 [BZ #13912]
26093 [BZ #13913]
26094 [BZ #13915]
26095 [BZ #13916]
26096 [BZ #13917]
26097 [BZ #13918]
26098 [BZ #13919]
26099 [BZ #13920]
26100 [BZ #13921]
26101 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
26102 * sysdeps/ieee754/k_standard.c: Include <float.h>.
26103 (__kernel_standard_l): New function.
26104 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
26105 __kernel_standard.
26106 * math/w_acosl.c (__acosl): Likewise.
26107 * math/w_asinl.c (__asinl): Likewise.
26108 * math/w_atan2l.c (__atan2l): Likewise.
26109 * math/w_atanhl.c (__atanhl): Likewise.
26110 * math/w_coshl.c (__coshl): Likewise.
26111 * math/w_exp10l.c (__exp10l): Likewise.
26112 * math/w_exp2l.c (__exp2l): Likewise.
26113 * math/w_fmodl.c (__fmodl): Likewise.
26114 * math/w_hypotl.c (__hypotl): Likewise.
26115 * math/w_j0l.c (__j0l, __y0l): Likewise.
26116 * math/w_j1l.c (__j1l, __y1l): Likewise.
26117 * math/w_jnl.c (__jnl, __ynl): Likewise.
26118 * math/w_lgammal.c (__lgammal): Likewise.
26119 * math/w_log10l.c (__log10l): Likewise.
26120 * math/w_log2l.c (__log2l): Likewise.
26121 * math/w_logl.c (__logl): Likewise.
26122 * math/w_powl.c (__powl): Likewise.
26123 * math/w_remainderl.c (__remainderl): Likewise.
26124 * math/w_scalbl.c (sysv_scalbl): Likewise.
26125 * math/w_sinhl.c (__sinhl): Likewise.
26126 * math/w_sqrtl.c (__sqrtl): Likewise.
26127 * math/w_tgammal.c (__tgammal): Likewise.
26128 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
26129 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
26130 * math/libm-test.inc (acos_test): Add more tests.
26131 (acosh_test): Likewise.
26132 (asin_test): Likewise.
26133 (atanh_test): Likewise.
26134 (exp_test): Likewise.
26135 (exp10_test): Likewise.
26136 (exp2_test): Likewise.
26137 (expm1_test): Likewise.
26138 (lgamma_test): Likewise.
26139 (log_test): Likewise.
26140 (log10_test): Likewise.
26141 (log1p_test): Likewise.
26142 (log2_test): Likewise.
26143 (pow_test): Do not allow some spurious overflow exceptions.
26144 (sqrt_test): Add more tests.
26145 (tgamma_test): Likewise.
26146 (y0_test): Likewise.
26147 (y1_test): Likewise.
26148 (yn_test): Likewise.
26149
dd62fda6
AB
261502012-03-27 Anton Blanchard <anton@samba.org>
26151
26152 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
26153 MAP_HUGETLB.
26154 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26155 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26156 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26157
1e3cdfda
AJ
261582012-03-27 David S. Miller <davem@davemloft.net>
26159
b855ab85
DM
26160 * conform/Makefile: Run run-conformtest.sh using $(BASH).
26161
1e3cdfda
AJ
26162 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
26163 have-as-vis3 check.
26164
261652012-03-27 Andreas Jaeger <aj@suse.de>
26166
26167 * sysdeps/x86_64/elf/configure.in: Moved to ...
26168 * sysdeps/x86_64/configure.in: ... here.
26169 * sysdeps/x86_64/elf/start.S: Moved to ...
26170 * sysdeps/x86_64/start.S: ... here.
26171 * sysdeps/x86_64/elf/configure: Delete.
26172
26173 * sysdeps/x86_64/configure.in: Merge contents from
26174 sysdeps/i386/configure.in (without i686 check).
26175
26176 * sysdeps/i386/elf/Versions: Merge into ...
26177 * sysdeps/i386/Versions: ... this.
26178 * sysdeps/i386/elf/Versions: Delete file.
26179 * sysdeps/i386/elf/start.S: Moved to ...
26180 * sysdeps/i386/start.S: ...here.
26181 * sysdeps/i386/elf/configure.in: Merge into...
26182 * sysdeps/i386/configure.in: ...here.
26183 * sysdeps/i386/elf/configure.in: Delete file.
26184 * sysdeps/i386/elf/configure: Delete file.
26185
26186 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
26187 * debug/backtracesyms.c: ... here.
26188 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
26189 * debug/backtracesymsfd.c: ... here.
26190 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
26191 * sysdeps/generic/ifunc-sel.h: ... here.
26192
26193 * sysdeps/unix/i386/start.c: Delete file.
26194 * sysdeps/unix/sparc/start.c: Delete file.
26195 * sysdeps/unix/start.c: Delete file.
26196
26197 * sysdeps/sh/elf/configure.in: Moved to ...
26198 * sysdeps/sh/configure.in: ... here.
26199 * sysdeps/sh/elf/start.S: Moved to ...
26200 * sysdeps/sh/start.S: ... here.
26201 * sysdeps/sh/elf/configure: Delete file.
26202
26203 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
26204 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
26205 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
26206 * sysdeps/powerpc/powerpc64/entry.h: ... here.
26207 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
26208 * sysdeps/powerpc/powerpc64/start.S: here.
26209 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
26210 * sysdeps/powerpc/powerpc64/Makefile: ... this.
26211 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
26212 * sysdeps/powerpc/powerpc64/configure.in: ... this.
26213 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
26214
26215 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
26216 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
26217 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
26218 * sysdeps/powerpc/powerpc32/start.S: ... here.
26219 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
26220 * sysdeps/powerpc/powerpc32/configure.in: ... this.
26221 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
26222
26223 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
26224 * sysdeps/powerpc/ifunc-sel.h: ... here.
26225 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
26226 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
26227
26228 * sysdeps/sparc/elf/configure.in: Moved to ...
26229 * sysdeps/sparc/configure.in: ... here.
26230 * sysdeps/sparc/elf/configure: Delete file.
26231 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
26232 * sysdeps/sparc/sparc32/start.S: ... here.
26233 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
26234 * sysdeps/sparc/sparc64/start.S: ... here.
26235 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
26236 * sysdeps/sparc/sparc32/Makefile: ... this.
26237 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
26238 * sysdeps/sparc/sparc64/Makefile: ... this.
26239
26240 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
26241 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
26242 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
26243 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
26244 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
26245 * sysdeps/s390/s390-32/setjmp.S: ... here.
26246 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
26247 * sysdeps/s390/s390-32/configure.in: ... here.
26248 * sysdeps/s390/s390-32/elf/configure: Delete file.
26249 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
26250 * sysdeps/s390/s390-32/start.S: ... here.
26251
26252 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
26253 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
26254 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
26255 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
26256 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
26257 * sysdeps/s390/s390-64/setjmp.S: ... here.
26258 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
26259 * sysdeps/s390/s390-64/configure.in: ... here
26260 * sysdeps/s390/s390-64/elf/configure: Delete file.
26261 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
26262 * sysdeps/s390/s390-64/start.S: ... here.
26263 * sysdeps/s390/s390-64/elf/configure: Delete.
26264
26265 * configure.in: Remove support for elf directories in sysdeps.
26266
26267 * configure: Regenerated.
26268 * sysdeps/i386/configure: Regenerated.
26269 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26270 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26271 * sysdeps/s390/s390-32/configure: Regenerated.
26272 * sysdeps/s390/s390-64/configure: Regenerated.
26273 * sysdeps/sh/configure: Regenerated.
26274 * sysdeps/sparc/configure: Regenerated.
26275 * sysdeps/x86_64/configure: Regenerated.
26276
a3f61311
AS
262772012-03-26 Andreas Schwab <schwab@linux-m68k.org>
26278
c876e002
AS
26279 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26280
a3f61311
AS
26281 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
26282 denormal result into account.
26283
ac4c54f0
RM
262842012-03-25 Roland McGrath <roland@hack.frob.com>
26285
26286 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
26287 Reported by Allan McRae <allan@archlinux.org>.
26288
6a9b9c02
JL
262892012-03-23 Jeff Law <law@redhat.com>
26290
26291 * nss/getnssent.c (__nss_getent): Fix typo.
26292
4c42a0c1
DM
262932012-03-23 David S. Miller <davem@davemloft.net>
26294
26295 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26296
1532c7ac
L
262972012-03-23 H.J. Lu <hongjiu.lu@intel.com>
26298
26299 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
26300 to pad to uint64_t for each field.
26301 (dl_tls_index): Replace unsigned long with uint64_t.
26302
3ff42526
PP
263032012-03-23 Daniel Jacobowitz <dmj@google.com>
26304 Paul Pluzhnikov <ppluzhnikov@google.com>
26305
26306 [BZ #6528]
26307 * grp/Makefile (otherlibs): Don't set it.
26308 * inet/Makefile (otherlibs): Likewise.
26309 * login/Makefile (otherlibs): Likewise.
26310 * nscd/Makefile (otherlibs): Likewise.
26311 * posix/Makefile (otherlibs): Likewise.
26312 * pwd/Makefile (otherlibs): Likewise.
26313 * rt/Makefile (otherlibs): Likewise.
26314 * sunrpc/Makefile (otherlibs): Likewise.
26315 * nss/Makefile (otherlibs): Likewise.
26316 Add libnss_files to routines and static-only-routines.
26317 ($(objpfx)getent): Remove rule.
26318 * resolv/Makefile: Add libnss_dns and libresolv to routines and
26319 static-only-routines.
26320
7c69cd14
JM
263212012-03-22 Joseph Myers <joseph@codesourcery.com>
26322
26323 [BZ #13892]
26324 * math/s_cexp.c: Include <float.h>.
26325 (__cexp): Handle exp result overflowing not necessarily
26326 overflowing both real and imaginary parts of result.
26327 * math/s_cexpf.c: Likewise.
26328 * math/s_cexpl.c: Likewise.
26329 * math/libm-test.inc (cexp_test): Add more tests.
26330 * sysdeps/i386/fpu/libm-test-ulps: Update.
26331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26332
81b035fe
L
263332012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26334
26335 * include/link.h (ELFW): New macro.
26336 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
26337 Replace ELF64_R_TYPE with ELFW(R_TYPE).
26338
1da7940c
L
263392012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26340
26341 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
26342 with uint64_t.
26343
b749dbb9
L
263442012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26345
26346 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
26347 declaration.
26348 (struct La_x32_retval): Likewise.
26349
2ff87f3f
L
263502012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26351
26352 * sysdeps/x86_64/preconfigure.in: New file.
26353 * sysdeps/x86_64/preconfigure: New generated file.
26354
c0df8e69
JM
263552012-03-22 Joseph Myers <joseph@codesourcery.com>
26356
48e44791
JM
26357 [BZ #13824]
26358 * math/e_exp2l.c: Include <float.h>.
26359 (__ieee754_exp2l): Handle overflow and underflow cases
26360 separately. Only pass fractional part of argument to
26361 __ieee754_expl.
26362 * math/libm-test.inc (exp2_test): Add more tests.
26363
c0df8e69
JM
26364 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
26365 negating x to take absolute value.
26366 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
26367 Likewise.
26368 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26369 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
26370 Likewise.
26371 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
26372 computing low part if x was negated.
26373 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26374
c8e43ba7
L
263752012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26376
26377 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
26378 la_x32_gnu_pltexit.
26379 (pltexit): Cast int_retval to ptrdiff_t.
26380 * elf/tst-auditmod3b.c: Likewise.
26381 * elf/tst-auditmod4b.c: Likewise.
26382 * elf/tst-auditmod5b.c: Likewise.
26383 * elf/tst-auditmod6b.c: Likewise.
26384 * elf/tst-auditmod6c.c: Likewise.
26385 * elf/tst-auditmod7b.c: Likewise.
26386
26387 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
26388 and x32_gnu_pltexit.
26389
26390 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
26391 __ELF_NATIVE_CLASS.
26392 (La_x32_regs): New macro.
26393 (La_x32_retval): Likewise.
26394 (la_x32_gnu_pltenter): New function prototype.
26395 (la_x32_gnu_pltexit): Likewise.
26396
7998fa78
AS
263972012-03-21 Andreas Schwab <schwab@linux-m68k.org>
26398
dcb33988
AS
26399 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
26400 exponent.
26401
233fc563
AS
26402 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26403
7998fa78
AS
26404 * configure.in (libc_cv_cc_nofma): Check for option to disable
26405 generation of FMA instructions.
26406 * configure: Regenerate.
26407 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
26408 * sysdeps/ieee754/dbl-64/Makefile: New file.
26409 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26410 Remove brandred-fma4.
26411 (CFLAGS-brandred-fma4.c): Remove.
26412 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
26413 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
26414 define.
26415 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
26416 define.
26417
8e95c99a
L
264182012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26419
26420 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
26421 LLONG_MAX != LONG_MAX.
26422 (_itoa_word): Use _ITOA_WORD_TYPE on value.
26423 (_fitoa_word): Likewise.
26424 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
26425 LLONG_MAX != LONG_MAX.
26426 * stdio-common/_itowa.h: Include <_itoa.h>.
26427 (_itowa_word): Use _ITOA_WORD_TYPE on value.
26428 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
26429 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
26430 only if not defined.
26431 (_ITOA_WORD_TYPE): Likewise.
26432 (_itoa_word): Use _ITOA_WORD_TYPE on value.
26433 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
26434
6f4db457
DM
264352012-03-21 David S. Miller <davem@davemloft.net>
26436
26437 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26438
7785fe5a
L
264392012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26440
26441 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
26442 of x86_64 when setting libc_cv_slibdir, libdir and
26443 libc_cv_localedir.
26444 * sysdeps/unix/sysv/linux/configure: Regenerated.
26445
4535cd55
JM
264462012-03-21 Joseph Myers <joseph@codesourcery.com>
26447
26448 * manual/lang.texi (Old Varargs): Remove section.
26449 (How Variadic): Update menu.
26450 (va_start): Do not mention varargs.h.
26451
17228132
TS
264522012-03-21 Thomas Schwinge <thomas@codesourcery.com>
26453 Joseph Myers <joseph@codesourcery.com>
26454
26455 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
26456 link test.
26457 * configure: Regenerated.
26458
8149f976
TS
264592012-03-21 Thomas Schwinge <thomas@codesourcery.com>
26460
05f3d1f6
UD
26461 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
26462 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
26463 conformtest.pl
8149f976 26464
1a4ac776
JM
264652012-03-21 Joseph Myers <joseph@codesourcery.com>
26466
be22ce65
JM
26467 * NOTES: Remove.
26468 * Makefile (files-for-dist): Remove NOTES.
26469 (NOTES): Remove rule.
26470 * README: Don't refer to NOTES.
26471 * manual/creature.texi: Don't include macros.texi.
26472 * manual/intro.texi (creature.texi): Remove comment referring to
26473 NOTES.
26474
40b601fb
JM
26475 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
26476 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
26477 * configure: Regenerated.
26478 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
26479 LIBC_TRY_CC_OPTION.
26480 (libc_cv_as_i686): Likewise.
26481 (libc_cv_cc_avx): Likewise.
26482 (libc_cv_cc_sse2avx): Likewise.
26483 (libc_cv_cc_fma4): Likewise.
26484 (libc_cv_cc_novzeroupper): Likewise.
26485 * sysdeps/i386/configure: Regenerated.
26486
1a4ac776
JM
26487 [BZ #13883]
26488 * sysdeps/i386/fpu/s_cexp.S: Remove.
26489 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26490 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26491 * math/libm-test.inc (cexp_test): Add more tests.
26492 * sysdeps/i386/fpu/libm-test-ulps: Update.
26493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26494
a458e7fe
AM
264952012-03-21 Allan McRae <allan@archlinux.org>
26496
26497 * timezone/Makefile: Do not install iso3166.tab and zone.tab
26498
0cb7efc5
JM
264992012-03-21 Joseph Myers <joseph@codesourcery.com>
26500
26501 [BZ #13871]
26502 * math/w_exp2.c: Do not include <float.h>.
26503 (o_threshold, u_threshold): Remove.
26504 (__exp2): Calculate result before checking finiteness and calling
26505 __kernel_standard.
26506 * math/w_exp2f.c: Likewise.
26507 * math/w_exp2l.c: Likewise.
26508 * math/libm-test.inc (exp2_test): Require overflow exception for
26509 1e6 input.
2460d3aa
JM
26510
26511 [BZ #3866]
26512 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
26513 range of signed 64-bit integers before using fistpll. Remove
26514 checks for whether integers fit in mantissa bits.
26515 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
26516 the range of signed 32-bit integers before using fistpl. Remove
26517 checks for whether integers fit in mantissa bits.
26518 * sysdeps/i386/fpu/e_powl.S (p64): New object.
26519 (__ieee754_powl): Test for y outside the range of signed 64-bit
26520 integers before using fistpll. Reduce 64-bit values to 63-bit
26521 ones as needed.
26522 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
26523 divide-by-zero is raised for zero to large negative powers.
26524 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
26525 (__ieee754_powl): Test for y outside the range of signed 64-bit
26526 integers before using fistpll. Reduce 64-bit values to 63-bit
26527 ones as needed.
26528 * math/libm-test.inc (pow_test): Add more tests.
26529
eb96ffb0
L
265302012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26531
26532 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
26533 <stdio-common/_itoa.h>.
26534 * debug/segfault.c: Likewise.
26535 * elf/dl-cache.c: Likewise.
26536 * elf/dl-minimal.c: Likewise.
26537 * elf/dl-misc.c: Likewise.
26538 * elf/dl-sysdep.c: Likewise.
26539 * elf/dl-version.c: Likewise.
26540 * elf/rtld.c: Likewise.
26541 * hurd/hurdsock.c: Likewise.
26542 * hurd/lookup-retry.c: Likewise.
26543 * malloc/malloc.c: Likewise.
26544 * malloc/mtrace.c: Likewise.
26545 * nscd/nscd_getgr_r.c: Likewise.
26546 * nscd/nscd_getpw_r.c: Likewise.
26547 * nscd/nscd_getserv_r.c: Likewise.
26548 * posix/getopt_init.c: Likewise.
26549 * posix/wordexp.c: Likewise.
26550 * stdio-common/_itoa.c: Likewise.
26551 * stdio-common/printf_fphex.c: Likewise.
26552 * stdio-common/vfprintf.c: Likewise.
26553 * string/_strerror.c: Likewise.
26554 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
26555 * sysdeps/i386/i686/hp-timing.h: Likewise.
26556 * sysdeps/mach/_strerror.c: Likewise.
26557 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
26558 * sysdeps/mach/hurd/sethostid.c: Likewise.
26559 * sysdeps/mach/hurd/xmknodat.c: Likewise.
26560 * sysdeps/mach/xpg-strerror.c: Likewise.
26561 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26562 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26563 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
26564 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
26565 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26566 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
26567 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
26568 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
26569 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
26570 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
26571 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
26572 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
26573 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
26574 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26575 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26576 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
26577 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
26578 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
26579 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
26580 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
26581 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
26582
26583 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
26584
26585 * stdio-common/_itoa.h: Moved to ...
26586 * sysdeps/generic/_itoa.h: Here.
26587
26588 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
26589
26590 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
26591 instead of "_itoa.h" and "_itowa.h".
26592 * stdio-common/vfprintf.: Likewise.
26593
d1af992d
L
265942012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26595
26596 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
26597 <bits/wordsize.h>.
26598 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
26599 (__signbit): Likwise.
26600 (llrintf): Likwise.
26601 (llrint): Likwise.
26602
114883e0
L
266032012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26604
26605 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
26606 __WORDSIZE != 64.
26607
c135cc1b
JM
266082012-03-20 Joseph Myers <joseph@codesourcery.com>
26609
26610 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
26611 OVERFLOW_EXCEPTION_OK.
26612 * math/libm-test.inc ("Philosophy"): Update comment about
26613 exception testing.
26614 (OVERFLOW_EXCEPTION): Define.
26615 (OVERFLOW_EXCEPTION_OK): Likewise.
26616 (INVALID_EXCEPTION_OK): Renumber.
26617 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26618 (IGNORE_ZERO_INF_SIGN): Likewise.
26619 (test_exceptions): Handle FE_OVERFLOW.
26620 (exp10_test): Expect overflow exceptions.
26621 (exp2_test): Likewise.
26622 (expm1_test): Likewise.
26623 (nextafter_test): Likewise.
26624 (pow_test): Likewise.
26625 (scalbn_test): Likewise.
26626 (scalbln_test): Likewise.
26627
95443d88
L
266282012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26629
26630 * sysdeps/x86_64/bits/atomic.h
26631 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
26632 64bit integer.
26633 (atomic_exchange_acq): Likewise.
26634 (__arch_exchange_and_add_body): Likewise.
26635 (__arch_add_body): Likewise.
26636 (atomic_add_negative): Likewise.
26637 (atomic_add_zero): Likewise.
26638
490df6c4
L
266392012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26640
c2722551 26641 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
26642 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
26643
5e52b189
L
266442012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26645
26646 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
26647 Check __x86_64__ instead of __WORDSIZE.
26648
a9879d4c
L
266492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26650
26651 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
26652
5df98260
DM
266532012-03-19 David S. Miller <davem@davemloft.net>
26654
e1497744
DM
26655 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26656
5df98260
DM
26657 * sysdeps/sparc/fpu/fenv_private.h: New file.
26658 * sysdeps/sparc/fpu/math_private.h: Use it.
26659 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
26660 Remove.
26661 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
26662 (libc_feholdexcept_setroundl): Remove.
26663 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
26664 Remove.
26665 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
26666 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
26667
b4c35121
L
266682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26669
26670 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
26671 int64_t instead of long int.
26672 (INSERT_WORDS64): Likwise.
26673
56965fd7
L
266742012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26675
26676 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
26677 _Unwind_GetCFA return to _Unwind_Ptr first.
26678
83d1aec8
JM
266792012-03-19 Joseph Myers <joseph@codesourcery.com>
26680
1897ad44
JM
26681 [BZ #13629]
26682 * math/s_clog.c: Include <float.h>.
26683 (__clog): Scale large or subnormal inputs.
26684 * math/s_clogf.c: Likewise.
26685 * math/s_clogl.c: Likewise.
26686 * math/s_clog10.c: Include <float.h>.
26687 (M_LOG10_2): Define.
26688 (__clog10): Scale large or subnormal inputs.
26689 * math/s_clog10f.c: Likewise.
26690 * math/s_clog10l.c: Likewise.
26691 * math/libm-test.inc (clog_test): Add more tests.
26692 (clog10_test): Likewise.
26693 * sysdeps/i386/fpu/libm-test-ulps: Update.
26694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26695
7726d6a9
JM
26696 [BZ #11451]
26697 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
26698 x and y.
26699 * math/libm-test.inc (atan2_test): Add another test.
26700
83d1aec8
JM
26701 * Makerules (common-objdir-compile): Remove.
26702 * sysdeps/unix/Makefile (config-generated): Do not add
26703 $(unix-generated) to variable.
26704 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
26705 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
26706 Remove rule.
26707 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
26708 Likewise.
26709 [generic bits/local_lim.h] (before-compile): Do not append to
26710 variable.
26711 [generic bits/local_lim.h] (common-generated): Likewise.
26712 [generic sys/param.h] (before-compile): Do not append to variable.
26713 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
26714 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
26715 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
26716 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
26717 include.
26718 [generic sys/param.h] (sys/param.h-includes): Remove variable.
26719 [generic sys/param.h] (sys/param.h-includes): Remove rule.
26720 [generic sys/param.h] ($(addprefix
26721 $(common-objpfx),$(sys/param.h-includes))): Likewise.
26722 [generic sys/param.h] (common-generated): Do not append to
26723 variable.
26724 [generic sys/param.h] (sysdep_headers): Likewise.
26725 [generic bits/errno.h] (before-compile): Do not append to
26726 variable.
26727 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
26728 rule.
26729 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
26730 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
26731 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
26732 [generic bits/errno.h] (common-generated): Do not append to
26733 variable.
26734 [generic bits/ioctls.h] (before-compile): Do not append to
26735 variable.
26736 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
26737 rule.
26738 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
26739 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
26740 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
26741 rule.
26742 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
26743 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
26744 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
26745 [generic bits/ioctls.h] (common-generated): Do not append to
26746 variable.
26747 [generic sys/syscall.h] (syscall.h): Remove variable.
26748 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
26749 rule.
26750 [generic sys/syscall.h] (before-compile): Do not append to
26751 variable.
26752 [generic sys/syscall.h] (common-generated): Likewise.
26753 * sysdeps/unix/errnos-tmpl.c: Remove file.
26754 * sysdeps/unix/errnos.awk: Likewise.
26755 * sysdeps/unix/ioctls-tmpl.c: Likewise.
26756 * sysdeps/unix/ioctls.awk: Likewise.
26757 * sysdeps/unix/mk-local_lim.c: Likewise.
26758 * sysdeps/unix/snarf-ioctls: Likewise.
26759
4851a949
RH
267602012-03-19 Richard Henderson <rth@twiddle.net>
26761
bd37f2ee
RH
26762 * sysdeps/i386/fpu/fenv_private.h: New file.
26763 * sysdeps/i386/fpu/math_private.h: Use it.
26764 (math_opt_barrier, math_force_eval): Remove.
26765 (libc_feholdexcept_setround_53bit): Remove.
26766 (libc_feupdateenv_53bit): Remove.
26767 * sysdeps/x86_64/fpu/math_private.h: Likewise.
26768 (math_opt_barrier, math_force_eval): Remove.
26769 (libc_feholdexcept): Remove.
26770 (libc_feholdexcept_setround): Remove.
26771 (libc_fetestexcept, libc_fesetenv): Remove.
26772 (libc_feupdateenv_test): Remove.
26773 (libc_feupdateenv, libc_feholdsetround): Remove.
26774 (libc_feresetround): Remove.
26775
d0adc922
RH
26776 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
26777 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26778
0fe0f1f8
RH
26779 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
26780 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
26781 (libc_feupdateenv_testl): New.
26782 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
26783 (libc_feupdateenv_testf): New.
26784 (libc_feupdateenv): Use libc_feupdateenv_test.
26785 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
26786 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
26787
eb92c487
RH
26788 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
26789 (libc_feholdsetroundf, libc_feholdsetroundl): New.
26790 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
26791 (libc_feresetround_noex): New.
26792 (libc_feresetround_noexf): New.
26793 (libc_feresetround_noexl): New.
26794 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
26795 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
26796 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
26797 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
26798 SET_RESTORE_ROUND.
26799 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26800 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
26801 (__cos): Likewise.
26802 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
26803 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
26804 SET_RESTORE_ROUND_NOEX.
26805 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
26806 SET_RESTORE_ROUND_NOEXF.
26807 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
26808 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
26809 (libc_feholdsetroundf): New.
26810 (libc_feresetround, libc_feresetroundf): New.
26811
7d2e8012
RH
26812 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
26813 (libc_feholdexcept_setround_53bit): Convert from macro to function.
26814 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
26815
b4dabbb4
RH
26816 * sysdeps/generic/math_private.h: Include <fenv.h>.
26817 (default_libc_feholdexcept): New.
26818 (default_libc_feholdexcept_setround): New.
26819 (default_libc_fesetenv, default_libc_feupdateenv): New.
26820 (libc_feholdexcept): Only define if undefined.
26821 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
26822 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
26823 (libc_feholdexcept_setroundl): Likewise.
26824 (libc_feholdexcept_setround_53bit): Likewise.
26825 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
26826 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
26827 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
26828 (libc_feupdateenv_53bit): Likewise.
26829 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
26830 (libc_feholdexcept): Convert from macro to inline function.
26831 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
26832 (libc_fesetenv, libc_feupdateenv): Likewise.
26833
4851a949
RH
26834 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
26835 not previously defined.
26836 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
26837 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
26838 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
26839 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
26840 * sysdeps/ieee754/flt-32/math_private.h: New file.
26841 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
26842 math_private.h below SET_FLOAT_WORD.
26843 (__isnan, __isinf_ns, __finite): Remove.
26844 (__isnanf, __isinf_nsf, __finitef): Remove.
26845
e79d442e
AS
268462012-03-18 Andreas Schwab <schwab@linux-m68k.org>
26847
26848 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26849
90b80344
DM
268502012-03-17 David S. Miller <davem@davemloft.net>
26851
26852 [BZ #6471]
26853 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
26854 for 2.16.
26855
edc21804
DM
268562012-03-16 David S. Miller <davem@davemloft.net>
26857
77e927af
DM
26858 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
26859 warnings.
26860
374976dd
DM
26861 [BZ #6471]
26862 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
26863 properly.
26864 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
26865 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
26866 sysdep_routines when subdir is sysvipc.
26867 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
26868 __getshmlba helper.
26869
edc21804
DM
26870 * sysdeps/sparc/fpu/libm-test/ulps: Update.
26871
473c3ef3
L
268722012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26873
26874 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
26875 [__LP64__].
26876
eb0f39b6
L
268772012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26878
26879 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
26880 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
26881 (__lround): Renamed to ...
26882 (__llround): This. Replace long int with long long int.
26883 Define lround functions as aliases of llround functions.
26884 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
26885
6b6cd74b
L
268862012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26887
26888 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
26889 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
26890 adresses to uintptr_t. Replace "long int" and "unsigned long
26891 int" with "greg_t" on va_arg.
26892
f1a77b01
L
268932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26894
26895 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
26896 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
26897
26898 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
26899 Move e_machine check before EI_CLASS check. Handle x32
26900 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
26901 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
26902 SKIP_EM_IA_64 and include
26903 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
26904
26905 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
26906 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
26907 (add_system_dir): New macro.
26908
26909 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
26910 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
26911
11b90b9f
JM
269122012-03-16 Joseph Myers <joseph@codesourcery.com>
26913
c36e1d23
JM
26914 [BZ #2551]
26915 [BZ #2552]
26916 [BZ #2553]
26917 [BZ #2554]
26918 [BZ #2562]
26919 [BZ #2563]
26920 [BZ #2565]
26921 [BZ #2566]
26922 [BZ #2576]
26923 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
26924 (y0): Likewise.
26925 * math/w_j0f.c (j0f): Likewise.
26926 (y0f): Likewise.
26927 * math/w_j0l.c (__j0l): Likewise.
26928 (__y0l): Likewise.
26929 * math/w_j1.c (j1): Likewise.
26930 (y1): Likewise.
26931 * math/w_j1f.c (j1f): Likewise.
26932 (y1f): Likewise.
26933 * math/w_j1l.c (__j1l): Likewise.
26934 (__y1l): Likewise.
26935 * math/w_jn.c (jn): Likewise.
26936 (yn): Likewise.
26937 * math/w_jnf.c (jnf): Likewise.
26938 (ynf): Likewise.
26939 * math/w_jnl.c (__jnl): Likewise.
26940 (__ynl): Likewise.
26941 * math/libm-test.inc (j0_test): Add more tests.
26942 (j1_test): Likewise.
26943 (jn_test): Likewise. Add trailing semicolon to existing test.
26944 (y0_test): Likewise.
26945 (y1_test): Likewise.
26946 * sysdeps/i386/fpu/libm-test-ulps: Update.
26947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26948
11b90b9f
JM
26949 [BZ #13851]
26950 [BZ #13854]
26951 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
26952 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
26953 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
26954 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
26955 (__tanl): Set errno for infinite argument.
26956 * sysdeps/i386/fpu/mptan.c: Remove.
26957 * sysdeps/i386/fpu/s_tan.S: Likewise.
26958 * sysdeps/i386/fpu/s_tanl.S: Likewise.
26959 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
26960 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
26961 * math/libm-test.inc (tan_test): Add more tests and enable more
26962 tests for double and long double.
26963 * sysdeps/i386/fpu/libm-test-ulps: Update.
26964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26965
6a1bd2a1
JK
269662012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
26967
26968 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
26969 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
26970
10a803e0
RM
269712012-03-16 Roland McGrath <roland@hack.frob.com>
26972
26973 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
26974 * configure.in: Use it for both main tree and add-ons.
26975 * configure: Regenerated.
26976
f196c7f7
L
269772012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26978
26979 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
26980
8848d99d
JM
269812012-03-16 Joseph Myers <joseph@codesourcery.com>
26982
96cbe7f4
JM
26983 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
26984 in comment.
26985
8848d99d
JM
26986 [BZ #13851]
26987 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
26988 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
26989 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
26990 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
26991 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
26992 infinite argument.
26993 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
26994 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
26995 != 0 for prec == 2.
26996 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
26997 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
26998 * sysdeps/i386/fpu/s_cosl.S: Likewise.
26999 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
27000 * sysdeps/i386/fpu/s_sinl.S: Likewise.
27001 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
27002 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
27003 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
27004 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
27005 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
27006 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
27007 * math/libm-test.inc (cos_test): Add more tests and enable more
27008 tests for long double.
27009 (sin_test): Likewise.
27010 (sincos_test): Likewise.
27011 * sysdeps/i386/fpu/libm-test-ulps: Update.
27012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27013
dd7f4703
DM
270142012-03-16 David S. Miller <davem@davemloft.net>
27015
27016 * sysdeps/sparc/fpu/math_private.h: New file.
27017
006f1daa
DM
270182012-03-15 David S. Miller <davem@davemloft.net>
27019
c0c83bc8
DM
27020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
27021 file.
e6a62e18 27022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
27023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
27024 file.
e6a62e18
DM
27025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
27026 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
27027 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
27028 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
27029 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
27030 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
27031 sysdep routines.
27032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27033
88cb87d9
DM
27034 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
27035 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
27036
006f1daa 27037 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
27038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
27039 sparc-ifunc.h
006f1daa 27040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
27041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27042 Likewise.
27043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
27044 Likewise.
006f1daa
DM
27045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
27046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
27047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
27048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27049 Likewise.
006f1daa
DM
27050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
27052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
27054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
27055 Likewise.
27056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
27057 Likewise.
006f1daa
DM
27058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
27060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
27061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
27062 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27063 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27064 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
27065 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
27066 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27067 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27068 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
27069 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
27070 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
27071 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
27072 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
27073 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
27074 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
27075 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
27076 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
27077 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
27078 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
27079 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
27080 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
27081 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
27082
11e0098e
AS
270832012-03-15 Andreas Schwab <schwab@linux-m68k.org>
27084
27085 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
27086 scaling.
27087 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27088
e85b09d0
AJ
270892012-03-15 Andreas Jaeger <aj@suse.de>
27090
27091 [BZ #13852]
27092 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
27093 ieee754/flt-32 implementation for sin, cos and sincos.
27094 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
27095 * sysdeps/i386/fpu/s_cosf.S: Likewise.
27096 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
27097 * sysdeps/i386/fpu/s_sinf.S: Likewise.
27098 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
27099 ieee754/flt-32 implementation for tan.
27100
27101 * math/libm-test.inc (cos_test): Enable some large input tests for
27102 float as well
27103 (sin_test): Likewise.
27104 (sincos_test): Likewise.
27105 (tan_test): Add tests for large input.
27106
27107 * sysdeps/i386/fpu/libm-test-ulps: Update.
27108
81c64153
AJ
271092012-03-15 Andreas Jaeger <aj@suse.de>
27110
27111 [BZ #13658]
27112 * math/libm-test.inc (cos_test): Add more test cases.
27113 (sin_test): Likewise.
27114 (sincos_test): Likewise.
27115
7bbfa5c6
AJ
271162012-03-15 Andreas Jaeger <aj@suse.de>
27117
27118 [BZ #13837]
27119 * math/libm-test.inc (cos_test): Add a test case for large input
27120 value.
27121 (sin_test): Likewise.
27122 (sincos_test): Likewise.
27123
271242012-03-15 Andreas Jaeger <aj@suse.de>,
27125 Joseph Myers <joseph@codesourcery.com>
27126
27127 [BZ #13658]
0671f479 27128 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
27129 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
27130 * sysdeps/i386/fpu/branred.c: Likewise.
27131 * sysdeps/i386/fpu/dosincos.c: Likewise.
27132 * sysdeps/i386/fpu/mpa.c: Likewise.
27133 * sysdeps/i386/fpu/s_cos.S: Likewise.
27134 * sysdeps/i386/fpu/s_sin.S: Likewise.
27135 * sysdeps/i386/fpu/s_sincos.S: Likewise.
27136 * sysdeps/i386/fpu/sincos32.c: Likewise.
27137
27138 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
27139 Define.
27140 (libc_feupdateenv_53bit): Define.
27141 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
27142 Define.
27143 (libc_feupdateenv_53bit): Define.
27144
27145 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
27146 53 bit (without extend i386 double precision).
27147
27148 * math/libm-test.inc (sincos_test): Add tests for large input.
27149 (sin): Likewise.
27150 (cos): Likewise.
27151
27152 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27153
9cad04ea
AS
271542012-03-15 Andreas Schwab <schwab@linux-m68k.org>
27155
27156 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27157
f7062b9a
DM
271582012-03-15 David S. Miller <davem@davemloft.net>
27159
27160 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
27161 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
27162 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
27163 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
27164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
27165 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
27166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
27167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
27168 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
27169 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
27170 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
27171 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
27172 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
27173 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
27174 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
27175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
27176 file.
f7062b9a 27177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
27178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
27179 file.
f7062b9a 27180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
27181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
27182 file.
f7062b9a 27183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
27184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
27185 file.
f7062b9a
DM
27186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
27187 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
27188 fmin/fmax sysdep routines.
27189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27190
7bd951ff
DM
271912012-03-14 David S. Miller <davem@davemloft.net>
27192
559398ab
DM
27193 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
27194 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
27195 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
27196 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
27197 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
27198 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
27199 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
27200 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
27201 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
27202 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
27203 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
27204 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
27205 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
27206 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
27207 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
27208 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
27209 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
27210 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
27211 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
27212 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
27213 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
27214 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
27215 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
27216 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
27217 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
27218 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
27219 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
27220 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
27221 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
27222 routines.
27223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
27224 file.
559398ab 27225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
27226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
27227 file.
559398ab 27228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
27229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
27230 file.
559398ab 27231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
27232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
27233 file.
559398ab 27234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
27235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
27236 file.
559398ab 27237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
27238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
27239 file.
27240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
27241 file.
27242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
27243 file.
27244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
27245 file.
27246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
27247 New file.
27248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
27249 file.
27250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
27251 file.
559398ab 27252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
27253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
27254 file.
559398ab 27255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
27256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
27257 file.
559398ab 27258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
27259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
27260 file.
559398ab 27261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
27262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
27263 VIS3 routines.
559398ab
DM
27264
27265 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27266 New file.
27267
5a1c1e32
DM
27268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27269
eae47a36
DM
27270 * sysdeps/sparc/configure.in: New file.
27271 * sysdeps/sparc/configure: Generate.
27272 * configure.in (libc_cv_sparc_as_vis3): Substitute.
27273 * configure: Regenerate.
27274 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
27275 * config.make.in (have-as-vis3): New.
27276 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
27277 available use -Av9d instead of -Av9a.
27278 * sysdeps/sparc/sparc64/Makefile: Likewise.
27279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
27280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
27281 New file.
27282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
27283 file.
27284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
27285 New file.
27286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
27287 file.
eae47a36
DM
27288 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
27289 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
27290 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
27291 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
27292 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
27293
c0c83bc8
DM
27294 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
27295 fzeros/fnegs to load 0x80000000 into a float register instead of
27296 using the stack.
7bd951ff
DM
27297 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
27298
bd951ccb
JM
272992012-03-14 Joseph Myers <joseph@codesourcery.com>
27300
27301 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27302 bits/syscall.h.
27303 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
27304 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
27305 ($(inst_includedir)/bits/syscall.h): Remove rule.
27306 ($(objpfx)bits/syscall.d): Include instead of
27307 $(objpfx)syscall-list.d.
27308 (generated): Change syscall-list.h and syscall-list.d to
27309 bits/syscall.h and bits/syscall.d.
27310
bb4e6db2
RM
273112012-03-14 Roland McGrath <roland@hack.frob.com>
27312
27313 [BZ #13846]
27314 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
27315
aa4a2ae1
JM
273162012-03-14 Joseph Myers <joseph@codesourcery.com>
27317
e456826d
JM
27318 [BZ #13841]
27319 * math/s_csqrt.c: Include <float.h>.
27320 (__csqrt): Scale large or subnormal inputs.
27321 * math/s_csqrtf.c: Likewise.
27322 * math/s_csqrtl.c: Likewise.
27323 * math/libm-test.inc (csqrt_test): Add more tests.
27324 * sysdeps/i386/fpu/libm-test-ulps: Update.
27325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27326
aa4a2ae1
JM
27327 [BZ #13840]
27328 * math/libm-test.inc (hypot_test): Add more tests.
27329
7c10fd35
DM
273302012-03-13 David S. Miller <davem@davemloft.net>
27331
27332 [BZ #13840]
27333 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
27334 double-precision for the calculation instead of scaling.
27335
f453b98b
JM
273362012-03-13 Joseph Myers <joseph@codesourcery.com>
27337
27338 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
27339 manipulate bits before adding and subtracting TWO52[sx].
27340 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
27341 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27342 Likewise.
27343 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
27344
09a3453f
DM
273452012-03-13 David S. Miller <davem@davemloft.net>
27346
8e59da90
DM
27347 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
27348 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
27349 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
27350 rtld-global-offsets.h
27351 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27352
2a8ab7f2
DM
27353 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
27354 large parameters.
27355
10f62770
DM
27356 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
27357
5f0bdb18
DM
27358 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
27359 'err' in the ifdef scope in which it is actually used.
27360
09a3453f
DM
27361 * nss/nss_db/db-init.c: Include string.h
27362
b4b2eb5e
DM
273632012-03-12 David S. Miller <davem@davemloft.net>
27364
98bb2f1c
DM
27365 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27366 masking out of the most significant byte of random value used.
27367 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27368 Fix coding style in previous change.
27369
b4b2eb5e
DM
27370 * sysdeps/unix/sysv/linux/kernel-features.h
27371 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
27372 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
27373 expression.
27374 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
27375 later.
27376
6e226b09
DM
273772012-03-11 David S. Miller <davem@davemloft.net>
27378
a1bcbd40
DM
27379 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27380 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
27381 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
27382 for 'resultvar' otherwise things get truncated on 64-bit.
27383
cb9d6174
DM
27384 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27385 Fix masking out of the most significant byte of random value used.
27386
6e226b09
DM
27387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27388
058c132d
AS
273892012-03-10 Andreas Schwab <schwab@linux-m68k.org>
27390
27391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27392
2d2cd515
DM
273932012-03-09 David S. Miller <davem@davemloft.net>
27394
27395 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
27396 variables with appropriate CPP guards.
27397 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
27398 frame pointer, not the stack pointer. Correct layout comments. Fix test
27399 on resulting framesize and the management of the outregs buffer for pltexit.
27400 Preserve floating point return values across _dl_call_pltexit call.
27401 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
27402 framesize and the management of the outregs buffer for pltexit.
27403 Preserve floating point return values across _dl_call_pltexit
27404 call.
27405 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
27406 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
27407 (print_exit): Fix format string for return register value.
27408
9a07f9d0
JM
274092012-03-10 Joseph Myers <joseph@codesourcery.com>
27410
27411 * sunrpc/Makefile (others): Add rpcgen.
27412 ($(objpfx)rpcgen): Remove special build rule and dependency on
27413 libc.
27414 * sunrpc/rpcgen.c: New file.
27415
547b5e30
PE
274162012-03-09 Paul Eggert <eggert@cs.ucla.edu>
27417
c524201a
PE
27418 [BZ #13673]
27419 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
27420 * stdio-common/bug-vfprintf-nargs.c: Likewise.
27421 * sysdeps/i386/crti.S: Likewise.
27422 * sysdeps/i386/crtn.S: Likewise.
27423 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
27424 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
27425 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
27426 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
27427 * sysdeps/sh/crti.S: Likewise.
27428 * sysdeps/sh/crtn.S: Likewise.
27429 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27430
7b6235f2
PE
27431 [BZ #13673]
27432 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
27433 with URL.
27434 * locale/programs/locfile-kw.gperf: Likewise.
27435 * locale/programs/charmap-kw.h: Regenerated.
27436 * locale/programs/locfile-kw.h: Likewise.
27437
547b5e30
PE
27438 [BZ #13673]
27439 * intl/plural.y: Replace FSF snail mail address with URL.
27440 * intl/plural.c: Regenerated.
27441
5f0a5dae
RH
274422012-03-09 Richard Henderson <rth@twiddle.net>
27443
27444 * include/math_private.h: Remove file.
27445 * math/math_private.h: Move file ...
27446 * sysdeps/generic/math_private.h: ... here.
27447
b8c03620
RH
27448 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
27449 * sysdeps/powerpc/fpu/math_private.h: Likewise.
27450 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27451
4e234f5d 27452 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
27453 and <math_private.h>.
27454 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27455 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27456 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27457 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27458 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27459 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
27460 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27461 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27462 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27463 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27464 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27465 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27466 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27467 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27468 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27469 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27470 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27471 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27472 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27473 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27474 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27475 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27476 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27477 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27478 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27479 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27480 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27481 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27482 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27483 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27484 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27485 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27486 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27487 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27488 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27489 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27490 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27491 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27492 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27493 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27494 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
27495 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27496 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27497 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27498 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27499 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27500 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
27501 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27502 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27503 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27504 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27505 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
27506 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27507 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27508 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27509 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27510 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27511 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27512 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27513 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
27514 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27515 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27516 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27517 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27518 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
27519 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27520 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27521 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27522 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
27523 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
27524 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27525 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27526 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27527 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27528 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
27529 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
27530 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
27531 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27532 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
27533 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
27534 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27535 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
27536 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27537 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27538 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27539 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
27540 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
27541 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
27542 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27543 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27544 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27545 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27546 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27547 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27548 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27549 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27550 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27551 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27552 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27553 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27554 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27555 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27556 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27557 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27558 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27559 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27560 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27561 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27562 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27563 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27564 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27565 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27566 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27567 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27568 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
27569 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27570 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27571 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27572 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27573 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27574 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27575 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27576 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27577 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
27578 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27579 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27580 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27581 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
27582 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27583 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
27584 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
27585 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27586 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27587 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
27588 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
27589 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27590 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27591 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27592 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
27593 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27594 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27595 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27596 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27597 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
27598 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
27599 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27600 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27601 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27602 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
27603 * sysdeps/ieee754/k_standard.c: Likewise.
27604 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27605 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27606 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27607 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27608 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27609 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27610 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27611 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27612 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27613 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27614 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27615 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27616 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27617 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27618 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27619 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27620 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27621 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27622 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27623 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
27624 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
27625 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
27626 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27627 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27628 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27629 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
27630 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27631 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27632 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27633 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27634 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27635 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27636 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27637 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27638 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27639 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27640 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27641 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
27642 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
27643 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27644 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27645 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27646 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27647 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27648 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27649 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27650 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27651 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27652 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27653 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27654 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27655 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27656 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27657 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
27658 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27659 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27660 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
27661 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
27662 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27663 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27664 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27665 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27666 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27667 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27668 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27669 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27670 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27671 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27672 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27673 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27674 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27675 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27676 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27677 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27678 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27679 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27680 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
27681 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27682 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27683 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27684 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27685 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27686 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27687 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27688 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
27689 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27690 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27691 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
27692 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27693 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27694 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
27695 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27696 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
27697 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27698 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27699 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27700 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
27701 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
27702 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
27703 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
27704 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27705 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27706 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27707 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27708 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
27709 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27710 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27711 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
27712 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
27713 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27714 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27715 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27716 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27717 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27718 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27719 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27720 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27721 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27722 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27723 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27724 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27725 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27726 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27727 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27728 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27729 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
27730 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27731 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27732 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27733 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27734 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27735 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27736 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27737 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
27738 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27739 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27740 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
27741 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
27742 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27743 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
27744 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
27745 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27746 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
27747 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
27748 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27749 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27750 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27751 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27752 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27753 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
27754 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27755 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27756 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27757 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27758 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
27759 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
27760 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27761 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27762 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27763 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
27764 * sysdeps/ieee754/s_lib_version.c: Likewise.
27765 * sysdeps/ieee754/s_matherr.c: Likewise.
27766 * sysdeps/ieee754/s_signgam.c: Likewise.
27767 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27768 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27769 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
27770 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
27771 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
27772 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27773 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
27774 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
27775 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
27776 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
27777 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27778 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
27779 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27780 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27781 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
27782 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27783 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27784 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27785 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27786 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27787 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 27788
1991fa03
JM
277892012-03-09 Joseph Myers <joseph@codesourcery.com>
27790
27791 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
27792 * sunrpc/rpc_main.c: Likewise.
27793 * sunrpc/rpc_svcout.c: Likewise.
27794
60d6f5a6
DM
277952012-03-09 David S. Miller <davem@davemloft.net>
27796
27797 * include/math_private.h: New file.
27798
4962050e
JM
277992012-03-09 Joseph Myers <joseph@codesourcery.com>
27800
02a6f887
JM
27801 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
27802 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
27803 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
27804 from <bits/socket_type.h>.
27805 (enum __socket_type): Don't define here.
27806 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
27807 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27808 bits/socket_type.h.
27809
c6e013c1
JM
27810 [BZ #13566]
27811 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
27812 checking __USE_GNU.
27813
4962050e
JM
27814 * Makerules ($(inst_includedir)/%.h): New rule.
27815 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
27816 (install-others): Remove variable setting.
27817 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
27818
38842f45
RH
278192012-03-08 Richard Henderson <rth@twiddle.net>
27820
67bb6da6
RH
27821 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
27822 from macro to inline function; merge with the
27823 !__LIBC_INTERNAL_MATH_INLINES version.
27824 (__ieee754_sqrtf): Likewise.
27825
15194b4b
RH
27826 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
27827 to inline function.
27828 (__rintf, __floor, __floorf): Likewise.
27829
64e21ede
RH
27830 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
27831 macro to inline function.
27832 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
27833
38842f45
RH
27834 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
27835 not <math/math_private.h>.
27836
c64bf5fe
DM
278372012-03-08 David S. Miller <davem@davemloft.net>
27838
27839 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
27840 copyright year.
27841 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
27842
82d86f28
TS
278432012-03-08 Thomas Schwinge <thomas@codesourcery.com>
27844
27845 * resolv/gai_misc.c (handle_requests): Fix struct timespec
27846 normalization.
27847 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
27848 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
27849
aea5d727
UD
278502012-03-08 Ulrich Drepper <drepper@gmail.com>
27851
27852 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
27853 be defined individually, they must be defined as a block. Define
27854 S for printing a string instead of hidint the different by using a
27855 macro for adding the 'l'.
27856 * stdio-common/tst-fphex-wide.c: Adjust.
27857
70bca0a3
MP
278582012-03-07 Marek Polacek <polacek@redhat.com>
27859
27860 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
27861
65b81130
MP
278622012-03-08 Marek Polacek <polacek@redhat.com>
27863
27864 [BZ #13806]
27865 * stdio-common/Makefile (tests): Add tst-fphex-wide.
27866 * stdio-common/tst-fphex.c: Define a few macros to make the
27867 test reusable. Use them.
27868 * stdio-common/tst-fphex-wide.c: New file.
27869
07037eeb
JM
278702012-03-08 Joseph Myers <joseph@codesourcery.com>
27871
a7a93d50
JM
27872 [BZ #6911]
27873 * manual/macros.texi (gnusystems): New macro.
27874 (nongnusystems): Likewise.
27875 (gnulinuxhurdsystems): Likewise.
27876 (gnuhurdsystems): Likewise..
27877 (gnulinuxsystems): Likewise.
27878 * manual/charset.texi: Use new macros or @theglibc{} to refer to
27879 variants of the GNU system, not "GNU system".
27880 * manual/conf.texi: Likewise.
27881 * manual/errno.texi: Likewise. Update example of errno macro
27882 expansion.
27883 * manual/filesys.texi: Likewise.
27884 (getumask): Document as specific to GNU/Hurd.
27885 * manual/install.texi: Likewise. Reword some references to
27886 GNU/Linux.
27887 * manual/intro.texi: Likewise.
27888 * manual/io.texi: Likewise.
27889 (File Name Portability): Detail which constraints are inapplicable
27890 to all GNU systems and which are only inapplicable to GNU/Hurd.
27891 * manual/job.texi: Likewise.
27892 * manual/llio.texi: Likewise.
27893 (O_NOCTTY): Document as present on GNU/Linux.
27894 * manual/maint.texi: Likewise.
27895 * manual/memory.texi: Likewise.
27896 * manual/pattern.texi: Likewise.
27897 * manual/pipe.texi: Likewise.
27898 * manual/process.texi: Likewise.
27899 * manual/resource.texi: Likewise.
27900 (RUSAGE_CHILDREN): Remove statement about specifying a particular
27901 child on GNU/Hurd.
27902 * manual/setjmp.texi: Likewise.
27903 * manual/signal.texi: Likewise.
27904 * manual/startup.texi: Likewise.
27905 * manual/stdio.texi: Likewise.
27906 * manual/terminal.texi: Likewise.
27907 (ONLCR): Document as POSIX.
27908 (OXTABS): Document availability on GNU/Linux as XTABS.
27909 (ONOEOT): Document availability separately from other bits.
27910 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
27911 * manual/time.texi: Likewise.
27912 * manual/users.texi: Likewise.
27913 * INSTALL: Regenerated.
27914 * sysdeps/gnu/errlist.c: Regenerated.
27915
07037eeb
JM
27916 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
27917 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
27918 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
27919 puts.
27920 * configure: Regenerated.
27921
d1d3431a
JM
279222012-03-07 Joseph Myers <joseph@codesourcery.com>
27923
af6a1e37
JM
27924 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
27925 default includes instead of AC_HEADER_CHECK.
27926 * sysdeps/i386/configure: Regenerated.
27927
d1d3431a
JM
27928 [BZ #10716]
27929 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
27930 * math/s_cacoshf.c (__cacoshf): Likewise.
27931 * math/s_cacoshl.c (__cacoshl): Likewise.
27932 * math/s_casinh.c (__casinh): Set signs of result from argument.
27933 * math/s_casinhf.c (__casinhf): Likewise.
27934 * math/s_casinhl.c (__casinhl): Likewise.
27935 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
27936 (casinh_test): Add more tests.
27937 * sysdeps/i386/fpu/libm-test-ulps: Update.
27938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27939
482ff4da
UD
279402012-03-07 Ulrich Drepper <drepper@gmail.com>
27941
872fda05
UD
27942 * po/zh_TW.po: Update from translation team.
27943
a4300c7a
UD
27944 * login/Makefile (distribute): Remove variable.
27945 * catgets/Makefile: Likewise.
27946 * mach/Makefile: Likewise.
27947 * malloc/Makefile: Likewise.
27948 * misc/Makefile: Likewise.
27949 * iconv/Makefile: Likewise.
27950 * nscd/Makefile: Likewise.
27951 * hurd/Makefile: Likewise.
27952 * manual/Makefile: Likewise.
27953 * locale/Makefile: Likewise.
27954 * intl/Makefile: Likewise.
27955 * conform/Makefile: Likewise.
27956 * nss/Makefile: Likewise.
27957 * time/Makefile: Likewise.
27958 * soft-fp/Makefile: Likewise.
27959 * dirent/Makefile: Likewise.
27960 * gmon/Makefile: Likewise.
27961 * po/Makefile: Likewise.
27962 * rt/Makefile: Likewise.
27963 * socket/Makefile: Likewise.
27964 * math/Makefile: Likewise.
27965 * signal/Makefile: Likewise.
27966 * debug/Makefile: Likewise.
27967 * elf/Makefile: Likewise.
27968 * timezone/Makefile: Likewise.
27969 * stdlib/Makefile: Likewise.
27970 * iconvdata/Makefile: Likewise.
27971 * sunrpc/Makefile: Likewise.
27972 * io/Makefile: Likewise.
27973 * argp/Makefile: Likewise.
27974 * inet/Makefile: Likewise.
27975 * hesiod/Makefile: Likewise.
27976 * grp/Makefile: Likewise.
27977 * csu/Makefile: Likewise.
27978 * wctype/Makefile: Likewise.
27979 * crypt/Makefile: Likewise.
27980 * libio/Makefile: Likewise.
27981 * string/Makefile: Likewise.
27982 * nis/Makefile: Likewise.
27983 * resolv/Makefile: Likewise.
27984 * stdio-common/Makefile: Likewise.
27985 * wcsmbs/Makefile: Likewise.
27986 * dlfcn/Makefile: Likewise.
27987 * posix/Makefile: Likewise.
27988
3b7c4e74 27989 [BZ #6959]
482ff4da
UD
27990 * timezone/Makefile: Don't install timezone files, just the programs
27991 and scripts.
27992
f72ed77d
UD
279932012-03-06 Ulrich Drepper <drepper@gmail.com>
27994
a000466f
UD
27995 * nss/databases.def: Add missing gshadow entry.
27996
f72ed77d
UD
27997 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
27998
a53b7a4e
MP
279992012-03-06 Marek Polacek <polacek@redhat.com>
28000
28001 [BZ #13726]
28002 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
28003 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28004 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
28005 * stdio-common/tst-long-dbl-fphex.c: New file.
28006
e9258400
DM
280072012-03-06 David S. Miller <davem@davemloft.net>
28008
28009 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28010 (set_obp_int): New function.
28011 (get_obp_int): New function.
28012 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
28013 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
28014 Avoid unused variable warnings on 'val' and use builtin_expect.
28015 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
28016 __builtin_expect.
e9258400
DM
28017 (INLINE_CLONE_SYSCALL): Likewise.
28018
3bd2c723
DM
280192012-03-05 David S. Miller <davem@davemloft.net>
28020
28021 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28022
bbb78d03
AS
280232012-03-05 Andreas Schwab <schwab@linux-m68k.org>
28024
884c5db4
AS
28025 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28026
bbb78d03
AS
28027 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
28028 only for |x| >= 40.
28029 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28030
1c9f702a 280312012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
28032
28033 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
28034 Replace gettimeofday with __vdso_gettimeofday.
28035
7be16f82
RM
28036 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28037 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
28038 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
28039
28040 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
28041 time with __vdso_time.
28042
ed58a00f
JM
280432012-03-05 Joseph Myers <joseph@codesourcery.com>
28044
28045 * manual/lang.texi (size_t): Note types to which size_t may be
28046 equivalent with the GNU C Library, but do not describe when
28047 differences between them are significant.
28048
30ee4ced
AJ
280492012-03-05 Andreas Jaeger <aj@suse.de>
28050
28051 * sysdeps/i386/fpu/libm-test-ulps: Update.
28052
b7cd39e8
JM
280532012-03-05 Joseph Myers <joseph@codesourcery.com>
28054
28055 [BZ #3976]
28056 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
28057 (__ieee754_pow): Save and restore rounding mode and use
28058 round-to-nearest for main computations.
28059 * math/libm-test.inc (pow_test_tonearest): New function.
28060 (pow_test_towardzero): Likewise.
28061 (pow_test_downward): Likewise.
28062 (pow_test_upward): Likewise.
28063 (main): Call the new functions.
28064 * sysdeps/i386/fpu/libm-test-ulps: Update.
28065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
28066
28067 [BZ #3976]
28068 * math/libm-test.inc (cosh_test_tonearest): New function.
28069 (cosh_test_towardzero): Likewise.
28070 (cosh_test_downward): Likewise.
28071 (cosh_test_upward): Likewise.
28072 (sinh_test_tonearest): Likewise.
28073 (sinh_test_towardzero): Likewise.
28074 (sinh_test_downward): Likewise.
28075 (sinh_test_upward): Likewise.
28076 (main): Call the new functions.
28077 * sysdeps/i386/fpu/libm-test-ulps: Update.
28078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28079
6c6a98c9
TV
280802012-03-05 Tom de Vries <tom@codesourcery.com>
28081
28082 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
28083 default stack guard is set in last bytes.
28084 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
28085
21bb2d2e 280862012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 28087
21bb2d2e 28088 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 28089
21bb2d2e
AJ
28090 [BZ #13656]
28091 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
28092 possibly allocate from heap instead of stack.
28093 * stdio-common/bug-vfprintf-nargs.c: New file.
28094 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 28095
c6922934
AS
280962012-03-03 Andreas Schwab <schwab@linux-m68k.org>
28097
28098 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28099
bc957d53
MP
281002012-03-03 Marek Polacek <polacek@redhat.com>
28101
28102 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
28103 * math/math_private.h: Likewise.
28104 * stdlib/tst-strtod.c: Likewise.
28105 * sysdeps/i386/i486/bits/atomic.h: Likewise.
28106 * sysdeps/x86_64/bits/atomic.h: Likewise.
28107
6358490d
DM
281082012-03-02 David S. Miller <davem@davemloft.net>
28109
28110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
28111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
28112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
28113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
28114 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
28115 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
28116 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
28117 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
28118
01ae168d
RM
281192012-03-02 Roland McGrath <roland@hack.frob.com>
28120
d9a17c07
RM
28121 [BZ #13792]
28122 * manual/examples/README: New file, says the example source files
28123 can be used under GPL>=2.
28124 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
28125 line containing just "*/".
28126 * manual/examples/add.c: Add copyright header (GPL>=2).
28127 * manual/examples/argp-ex1.c: Likewise.
28128 * manual/examples/argp-ex2.c: Likewise.
28129 * manual/examples/argp-ex3.c: Likewise.
28130 * manual/examples/argp-ex4.c: Likewise.
28131 * manual/examples/atexit.c: Likewise.
28132 * manual/examples/db.c: Likewise.
28133 * manual/examples/dir.c: Likewise.
28134 * manual/examples/dir2.c: Likewise.
28135 * manual/examples/execinfo.c: Likewise.
28136 * manual/examples/filecli.c: Likewise.
28137 * manual/examples/filesrv.c: Likewise.
28138 * manual/examples/fmtmsgexpl.c: Likewise.
28139 * manual/examples/genpass.c: Likewise.
28140 * manual/examples/inetcli.c: Likewise.
28141 * manual/examples/inetsrv.c: Likewise.
28142 * manual/examples/isockad.c: Likewise.
28143 * manual/examples/longopt.c: Likewise.
28144 * manual/examples/memopen.c: Likewise.
28145 * manual/examples/memstrm.c: Likewise.
28146 * manual/examples/mkfsock.c: Likewise.
28147 * manual/examples/mkisock.c: Likewise.
28148 * manual/examples/mygetpass.c: Likewise.
28149 * manual/examples/pipe.c: Likewise.
28150 * manual/examples/popen.c: Likewise.
28151 * manual/examples/rprintf.c: Likewise.
28152 * manual/examples/search.c: Likewise.
28153 * manual/examples/select.c: Likewise.
28154 * manual/examples/setjmp.c: Likewise.
28155 * manual/examples/sigh1.c: Likewise.
28156 * manual/examples/sigusr.c: Likewise.
28157 * manual/examples/stpcpy.c: Likewise.
28158 * manual/examples/strdupa.c: Likewise.
28159 * manual/examples/strftim.c: Likewise.
28160 * manual/examples/strncat.c: Likewise.
28161 * manual/examples/subopt.c: Likewise.
28162 * manual/examples/swapcontext.c: Likewise.
28163 * manual/examples/termios.c: Likewise.
28164 * manual/examples/testopt.c: Likewise.
28165 * manual/examples/testpass.c: Likewise.
28166 * manual/examples/timeval_subtract.c: Likewise.
28167
01ae168d
RM
28168 [BZ #13792]
28169 * manual/time.texi (Elapsed Time): Move timeval_subtract example
28170 function to ...
28171 * manual/timeval_subtract.c.texi: ... here, new file.
28172
49efa33d
DM
281732012-03-02 David S. Miller <davem@davemloft.net>
28174
28175 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
28176
28afd92d
JM
281772012-03-02 Joseph Myers <joseph@codesourcery.com>
28178
804360ed
JM
28179 [BZ #3976]
28180 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
28181 (__sin): Save and restore rounding mode and use round-to-nearest
28182 for all computations.
28183 (__cos): Save and restore rounding mode and use round-to-nearest
28184 for all computations.
28185 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
28186 <fenv.h>.
28187 (tan): Save and restore rounding mode and use round-to-nearest for
28188 all computations.
28189 * math/libm-test.inc (cos_test_tonearest): New function.
28190 (cos_test_towardzero): Likewise.
28191 (cos_test_downward): Likewise.
28192 (cos_test_upward): Likewise.
28193 (sin_test_tonearest): Likewise.
28194 (sin_test_towardzero): Likewise.
28195 (sin_test_downward): Likewise.
28196 (sin_test_upward): Likewise.
28197 (tan_test_tonearest): Likewise.
28198 (tan_test_towardzero): Likewise.
28199 (tan_test_downward): Likewise.
28200 (tan_test_upward): Likewise.
28201 (main): Call the new functions.
28202 * sysdeps/i386/fpu/libm-test-ulps: Update.
28203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28204
a6d06d7b
JM
28205 [BZ #10135]
28206 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
28207 small n, then large n, before computing and testing k+n.
28208 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
28209 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
28210 Likewise.
28211 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
28212 Likewise.
28213 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
28214 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
28215 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
28216 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
28217 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28218 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28219 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
28220 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
28221 * math/libm-test.inc (scalbn_test): Add more tests.
28222 (scalbln_test): Likewise.
28223
07e12bb3
JM
28224 * manual/filesys.texi (mode_t): Describe constraints on size and
28225 signedness, not exact equivalence to a particular type.
28226 (ino_t): Likewise.
28227 (ino64_t): Likewise.
28228 (dev_t): Likewise.
28229 (nlink_t): Likewise.
28230 (blkcnt_t): Likewise.
28231 (blkcnt64_t): Likewise.
28232 * manual/llio.texi (off_t): Likewise.
28233
28afd92d
JM
28234 [BZ #3976]
28235 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
28236 (__ieee754_exp): Save and restore rounding mode and use
28237 round-to-nearest for all computations.
28238 * math/libm-test.inc (exp_test_tonearest): New function.
28239 (exp_test_towardzero): Likewise.
28240 (exp_test_downward): Likewise.
28241 (exp_test_upward): Likewise.
28242 (main): Call the new functions.
28243 * sysdeps/i386/fpu/libm-test-ulps: Update.
28244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28245
b1eeb65d
CD
282462012-03-01 Chris Demetriou <cgd@google.com>
28247
28248 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
28249 have predictable order.
28250
53362a4b
DM
282512012-03-01 David S. Miller <davem@davemloft.net>
28252
3c969083
DM
28253 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
28254
759707de
DM
28255 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
28256 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
28257 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
28258 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
28259
dfdb8ff2
DM
28260 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
28261 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
28262 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
28263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
28264 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
28265 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
28266 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
28267 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
28268 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
28269
ead89f96
DM
28270 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28271
7f66bd07
DM
28272 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
28273 * sysdeps/sparc/fpu/libm-test-ulps: to here.
28274 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
28275
53362a4b
DM
28276 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
28277 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28278 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28279 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
28280 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
28281 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
28282 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
28283 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28284 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28285 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
28286 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
28287 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28288 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28289 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28290 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28291 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28292 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
28293 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
28294 * sysdeps/sparc/elf/configure: Regenerated.
28295
7b1902cb
JM
282962012-03-01 Joseph Myers <joseph@codesourcery.com>
28297
bec039bc
JM
28298 * configure.in (AS, LD): Require binutils 2.20 or later.
28299 * configure: Regenerated.
28300 * manual/install.texi (Tools for Compilation): Give binutils 2.20
28301 as required minimum version.
28302 * INSTALL: Regenerated.
28303
7b1902cb
JM
28304 [BZ #2541]
28305 [BZ #4108]
28306 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
28307 before squaring exponent.
28308 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
28309 bottom long double and 27 bits of top long double before squaring
28310 exponent.
28311 * math/libm-test.inc (erfc_test): Add more tests.
28312 * sysdeps/i386/fpu/libm-test-ulps: Update.
28313 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28315
f775c276
KT
283162012-03-01 Kai Tietz <ktietz@redhat.com>
28317
28318 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
28319 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
28320 containing bit-fields.
28321 * soft-fp/extended.h (_FP_UNION_E): Likewise.
28322 * soft-fp/single.h (_FP_UNION_S): Likewise.
28323 * soft-fp/double.h (_FP_UNION_D): Likewise.
28324
5b8a4d4a
JM
283252012-02-29 Joseph Myers <joseph@codesourcery.com>
28326
0bab47b6
JM
28327 [BZ #13786]
28328 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
28329 not include ../strcmp.S.
28330 [USE_AS_STRNCASECMP_L]: Likewise.
28331 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
28332 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
28333 * sysdeps/i386/i686/multiarch/strncase_l-c.c
28334 (__strncasecmp_l_ia32): Define as alias to
28335 __strncasecmp_l_nonascii.
28336
0fcad3e2
JM
28337 [BZ #5794]
28338 * math/libm-test.inc (expm1_test): Add test for bug 5794.
28339 * sysdeps/i386/fpu/libm-test-ulps: Update.
28340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28341
5b8a4d4a
JM
28342 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
28343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28344
8fdceb2e
JL
283452012-02-29 Jeff Law <law@redhat.com>
28346
28347 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
28348 out of bounds read.
28349
1f393a11
MP
283502012-02-29 Marek Polacek <polacek@redhat.com>
28351
28352 [BZ #13706]
28353 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
28354 * elf/Makefile: Add rules to run tst-unused-dep.out.
28355
8847f037
DM
283562012-02-28 David S. Miller <davem@davemloft.net>
28357
28358 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
28359 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
28360 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
28361 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
28362 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
28363 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
28364
169d7f11
JM
283652012-02-29 Joseph Myers <joseph@codesourcery.com>
28366
28367 * math/libm-test.inc (llround_test): Move one test from
28368 lround_test. Use TEST_f_L in moved test.
28369 (lround_test): Move misplaced test to llround_test. Add testcase
28370 from bug 2561.
28371
39adf059
UD
283722012-02-28 Ulrich Drepper <drepper@gmail.com>
28373
28374 * sysdeps/x86_64/fpu/e_expf.S: New file.
28375 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
28376
71b5d1c5
SB
283772012-02-28 Stanislav Brabec <sbrabec@suse.cz>
28378
28379 [BZ #13637]
28380 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
28381 of remain_len that may cause incomplete multi-byte character and
28382 false match.
28383 * posix/bug-regex33.c: New file.
28384 * posix/Makefile (tests): Add bug-regex33.
28385
1f77f049
JM
283862012-02-28 Joseph Myers <joseph@codesourcery.com>
28387
28388 * manual/macros.texi: New file.
28389 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
28390 * manual/libc.texinfo: Include macros.texi.
28391 * manual/creatute.texi: Likewise.
28392 * manual/install.texi: Likewise.
28393 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
28394 @glibcadj{} in references to the GNU C Library.
28395 * manual/charset.texi: Likewise.
28396 * manual/conf.texi: Likewise.
28397 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
28398 when not using those macros.
28399 * manual/creature.texi: Likewise.
28400 * manual/crypt.texi: Likewise.
28401 * manual/errno.texi: Likewise.
28402 * manual/filesys.texi: Likewise.
28403 * manual/header.texi: Likewise.
28404 * manual/install.texi: Likewise.
28405 * manual/intro.texi: Likewise.
28406 * manual/io.texi: Likewise.
28407 * manual/job.texi: Likewise.
28408 * manual/lang.texi: Likewise.
28409 * manual/libc.texiinfo: Likewise.
28410 * manual/llio.texi: Likewise.
28411 * manual/locale.texi: Likewise.
28412 * manual/maint.texi: Likewise.
28413 * manual/math.texi: Likewise.
28414 * manual/memory.texi: Likewise.
28415 * manual/message.texi: Likewise.
28416 * manual/nss.texi: Likewise.
28417 * manual/pattern.texi: Likewise.
28418 * manual/process.texi: Likewise.
28419 * manual/resource.texi: Likewise.
28420 * manual/search.texi: Likewise.
28421 * manual/setjmp.texi: Likewise.
28422 * manual/signal.texi: Likewise.
28423 * manual/socket.texi: Likewise.
28424 * manual/startup.texi: Likewise.
28425 * manual/stdio.texi: Likewise.
28426 * manual/string.texi: Likewise.
28427 * manual/sysinfo.texi: Likewise.
28428 * manual/syslog.texi: Likewise.
28429 * manual/terminal.texi: Likewise.
28430 * manual/time.texi: Likewise.
28431 * manual/users.texi: Likewise.
28432 * INSTALL: Regenerated.
28433 * NOTES: Regenerated.
d40c5d54 28434 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 28435
450bf206
AS
284362012-02-28 Andreas Schwab <schwab@linux-m68k.org>
28437
28438 * include/dirent.h: Include <dirstream.h> before
28439 <dirent/dirent.h>.
28440
741a235b
DM
284412012-02-28 David S. Miller <davem@davemloft.net>
28442
28443 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
28444 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
28445 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
28446 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
28447
d6b5aa58
DM
284482012-02-27 David S. Miller <davem@davemloft.net>
28449
1aff59a3
DM
28450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
28451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
28452 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
28453 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
28454
d6b5aa58
DM
28455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
28456 frame pointer instead of stack pointer relative arg slot.
28457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28458 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28459 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28460
433f48bf
CD
284612012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
28462
28463 [BZ #3992]
28464 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
28465
d674b76d
DM
284662012-02-27 David S. Miller <davem@davemloft.net>
28467
28468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
28469 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28470 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
28472 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28473 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28474 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
28475 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
28476
0e7727f7
JM
284772012-02-27 Joseph Myers <joseph@codesourcery.com>
28478
28479 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
28480 later. Allow versions 5-9.
43be4ca2 28481 * configure: Regenerated.
0e7727f7
JM
28482 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
28483 required minimum version and 4.6 as recommended version. Do not
28484 mention bugs in GCC 2.7 and 2.8.
43be4ca2 28485 * INSTALL: Regenerated.
0e7727f7 28486
a78bc654
DM
284872012-02-27 David S. Miller <davem@davemloft.net>
28488
428d5830
DM
28489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
28490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
28491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
28492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
28493 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
28494 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
28495 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
28496 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
28497
a78bc654
DM
28498 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
28499 manipulate bits before adding and subtracting TWO112[sx].
28500 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28501
4579f81c
RM
285022012-02-27 Roland McGrath <roland@hack.frob.com>
28503
36c8acb4
RM
28504 [BZ #13775]
28505 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
28506 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
28507 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
28508 being in POSIX, because they are in 1003.1-2008.
28509
84ad622b
RM
28510 * rt/tst-aio.c: Include <fcntl.h>.
28511 * rt/tst-aio7.c: Likewise.
28512 * rt/tst-aio64.c: Likewise.
28513
4579f81c
RM
28514 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
28515
abd923db
JM
285162012-02-27 Joseph Myers <joseph@codesourcery.com>
28517
28518 * manual/install.texi (--with-headers): Describe headers as
28519 interface headers, not private headers.
28520 (Specific advice for GNU/Linux systems): Describe use of headers
28521 from "make headers_install", not private headers from older
28522 kernels.
43be4ca2 28523 * INSTALL: Regenerated.
abd923db
JM
28524 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
28525 Change to 2.6.19.
28526 * sysdeps/unix/sysv/linux/configure: Regenerated.
28527
6664049b
JM
28528 * manual/llio.texi (fclean): Remove documentation.
28529
bb8b6697
JM
28530 * manual/Makefile (libc-texi-generated): New variable. Include
28531 version.texi.
28532 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
28533 $(libc-texi-generated), not duplicated list of files.
28534 (version.texi, stamp-version): New rules.
28535 (realclean): Remove $(libc-texi-generated), not individual files
28536 from that list. Do not remove dir-add.texinfo.
28537 * manual/libc.texinfo: Comment out uses of edition numbers and
28538 references to printed manual. Remove last-updated dates.
28539 (EDITION): Comment out.
28540 (ISBN): Likewise.
28541 (VERSION, UPDATED): Remove.
28542 (version.texi): Include.
28543
12e5c3b9
AS
285442012-02-27 Andreas Schwab <schwab@linux-m68k.org>
28545
28546 * sysdeps/posix/spawni.c: Include <signal.h>.
28547 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
28548 * sysdeps/pthread/aio_fsync.c: Likewise.
28549
4efeffc1 285502012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 28551
ba63ba08
UD
28552 * conform/Makefile (tests): Run only when not cross-compiling and
28553 when fast-check is not defined.
28554
d94a4670
UD
28555 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
28556 * conform/data/limits.h-data: Fixes for POSIX2008.
28557 * conform/run-conformtest.sh: Run all tests.
28558 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
28559 headers.
28560 * include/bits/dlfcn.h: Likewise.
28561 * include/langinfo.h: Likewise.
28562 * include/monetary.h: Likewise.
28563 * include/sys/poll.h: Likewise.
28564
28565 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
28566 for __USE_GNU.
28567 * posix/spawn.h: Define __need_sigset_t.
28568 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
28569 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
28570 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
28571 to get sigevent_t only.
28572 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
28573 only for __USE_GNU.
28574 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28575 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28576 process_vm_writev only for __USE_GNU.
28577 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
28578
28579 * conform/Makefile: For now ignore errors from run-conformtest.
28580 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
28581 POSIX to avoid namespace pollution. Don't prepend headers.
28582 * conform/data/aio.h-data: Fixes for POSIX testing.
28583 * conform/data/fcntl.h-data: Likewise.
28584 * conform/data/glob.h-data: Likewise.
28585 * conform/data/grp.h-data: Likewise.
28586 * conform/data/pthread.h-data: Likewise.
28587 * conform/data/pwd.h-data: Likewise.
28588 * conform/data/signal.h-data: Likewise.
28589 * conform/data/spawn.h-data: Likewise.
28590 * conform/data/stdio.h-data: Likewise.
28591 * conform/data/stdlib.h-data: Likewise.
28592 * conform/data/stropts.h-data: Likewise.
28593 * conform/data/sys/mman.h-data: Likewise.
28594 * conform/data/sys/stat.h-data: Likewise.
28595 * conform/data/sys/types.h-data: Likewise.
28596 * conform/data/sys/wait.h-data: Likewise.
28597 * conform/data/time.h-data: Likewise.
28598 * conform/data/unistd.h-data: Likewise.
28599 * conform/data/utime.h-data: Likewise.
28600
28601 * io/sys/stat.h: fchmod was always in POSIX.
28602 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
28603 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
28604 * rt/aio.h: Define __need_timespec before including <time.h>.
28605 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
28606 struct. Add forward declaration of pthread_attr_t and use it in
28607 sigevent.
28608 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28609 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28610 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
28611 always remove CLK_TCK definition.
28612
c20105c3
AS
286132012-02-26 Andreas Schwab <schwab@linux-m68k.org>
28614
28615 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
28616
7a270350
UD
286172012-02-25 Ulrich Drepper <drepper@gmail.com>
28618
31341567
UD
28619 * conform/run-conformtest.sh: New file.
28620 * conform/Makefile: Run run-conformtest for tests.
28621 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
28622 support.
28623
28624 * conform/data/uchar.h-data: New file.
28625 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
28626 * conform/data/arpa/inet.h-data: Likewise.
28627 * conform/data/assert.h-data: Likewise.
28628 * conform/data/complex.h-data: Likewise.
28629 * conform/data/cpio.h-data: Likewise.
28630 * conform/data/ctype.h-data: Likewise.
28631 * conform/data/dirent.h-data: Likewise.
28632 * conform/data/dlfcn.h-data: Likewise.
28633 * conform/data/errno.h-data: Likewise.
28634 * conform/data/fcntl.h-data: Likewise.
28635 * conform/data/float.h-data: Likewise.
28636 * conform/data/fmtmsg.h-data: Likewise.
28637 * conform/data/fnmatch.h-data: Likewise.
28638 * conform/data/ftw.h-data: Likewise.
28639 * conform/data/glob.h-data: Likewise.
28640 * conform/data/grp.h-data: Likewise.
28641 * conform/data/iconv.h-data: Likewise.
28642 * conform/data/inttypes.h-data: Likewise.
28643 * conform/data/langinfo.h-data: Likewise.
28644 * conform/data/libgen.h-data: Likewise.
28645 * conform/data/limits.h-data: Likewise.
28646 * conform/data/locale.h-data: Likewise.
28647 * conform/data/math.h-data: Likewise.
28648 * conform/data/monetary.h-data: Likewise.
28649 * conform/data/mqueue.h-data: Likewise.
28650 * conform/data/ndbm.h-data: Likewise.
28651 * conform/data/net/if.h-data: Likewise.
28652 * conform/data/netdb.h-data: Likewise.
28653 * conform/data/netinet/in.h-data: Likewise.
28654 * conform/data/nl_types.h-data: Likewise.
28655 * conform/data/poll.h-data: Likewise.
28656 * conform/data/pthread.h-data: Likewise.
28657 * conform/data/pwd.h-data: Likewise.
28658 * conform/data/regex.h-data: Likewise.
28659 * conform/data/sched.h-data: Likewise.
28660 * conform/data/search.h-data: Likewise.
28661 * conform/data/semaphore.h-data: Likewise.
28662 * conform/data/setjmp.h-data: Likewise.
28663 * conform/data/signal.h-data: Likewise.
28664 * conform/data/spawn.h-data: Likewise.
28665 * conform/data/stdarg.h-data: Likewise.
28666 * conform/data/stdio.h-data: Likewise.
28667 * conform/data/stdlib.h-data: Likewise.
28668 * conform/data/string.h-data: Likewise.
28669 * conform/data/strings.h-data: Likewise.
28670 * conform/data/stropts.h-data: Likewise.
28671 * conform/data/sys/ipc.h-data: Likewise.
28672 * conform/data/sys/mman.h-data: Likewise.
28673 * conform/data/sys/msg.h-data: Likewise.
28674 * conform/data/sys/resource.h-data: Likewise.
28675 * conform/data/sys/select.h-data: Likewise.
28676 * conform/data/sys/sem.h-data: Likewise.
28677 * conform/data/sys/shm.h-data: Likewise.
28678 * conform/data/sys/socket.h-data: Likewise.
28679 * conform/data/sys/stat.h-data: Likewise.
28680 * conform/data/sys/statvfs.h-data: Likewise.
28681 * conform/data/sys/time.h-data: Likewise.
28682 * conform/data/sys/timeb.h-data: Likewise.
28683 * conform/data/sys/times.h-data: Likewise.
28684 * conform/data/sys/types.h-data: Likewise.
28685 * conform/data/sys/uio.h-data: Likewise.
28686 * conform/data/sys/un.h-data: Likewise.
28687 * conform/data/sys/utsname.h-data: Likewise.
28688 * conform/data/sys/wait.h-data: Likewise.
28689 * conform/data/syslog.h-data: Likewise.
28690 * conform/data/tar.h-data: Likewise.
28691 * conform/data/termios.h-data: Likewise.
28692 * conform/data/utime.h-data: Likewise.
28693 * conform/data/utmpx.h-data: Likewise.
28694 * conform/data/varargs.h-data: Likewise.
28695 * conform/data/wchar.h-data: Likewise.
28696 * conform/data/wctype.h-data: Likewise.
28697 * conform/data/wordexp.h-data: Likewise.
28698
28699 * include/stropts.h: New file.
28700 * include/uchar.h: New file.
28701 * include/aio.h: Changes to allow conformtest.pl to use the headers.
28702 * include/assert.h: Likewise.
28703 * include/ctype.h: Likewise.
28704 * include/dirent.h: Likewise.
28705 * include/dlfcn.h: Likewise.
28706 * include/fcntl.h: Likewise.
28707 * include/fnmatch.h: Likewise.
28708 * include/glob.h: Likewise.
28709 * include/grp.h: Likewise.
28710 * include/libio.h: Likewise.
28711 * include/locale.h: Likewise.
28712 * include/math.h: Likewise.
28713 * include/net/if.h: Likewise.
28714 * include/netdb.h: Likewise.
28715 * include/netinet/in.h: Likewise.
28716 * include/pthread.h: Likewise.
28717 * include/pwd.h: Likewise.
28718 * include/regex.h: Likewise.
28719 * include/sched.h: Likewise.
28720 * include/search.h: Likewise.
28721 * include/setjmp.h: Likewise.
28722 * include/signal.h: Likewise.
28723 * include/stdio.h: Likewise.
28724 * include/stdlib.h: Likewise.
28725 * include/string.h: Likewise.
28726 * include/sys/cdefs.h: Likewise.
28727 * include/sys/mman.h: Likewise.
28728 * include/sys/msg.h: Likewise.
28729 * include/sys/resource.h: Likewise.
28730 * include/sys/select.h: Likewise.
28731 * include/sys/socket.h: Likewise.
28732 * include/sys/stat.h: Likewise.
28733 * include/sys/statvfs.h: Likewise.
28734 * include/sys/time.h: Likewise.
28735 * include/sys/times.h: Likewise.
28736 * include/sys/uio.h: Likewise.
28737 * include/sys/utsname.h: Likewise.
28738 * include/sys/wait.h: Likewise.
28739 * include/termios.h: Likewise.
28740 * include/time.h: Likewise.
28741 * include/ulimit.h: Likewise.
28742 * include/unistd.h: Likewise.
28743 * include/utime.h: Likewise.
28744 * include/wchar.h: Likewise.
28745 * include/wctype.h: Likewise.
28746 * include/wordexp.h: Likewise.
28747
28748 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
28749
7a270350
UD
28750 * time/time.h: TIME_UTC must be a macro.
28751 Make timespec_get available for ISO C11 only as well.
28752
7724defc
UD
287532012-02-24 Ulrich Drepper <drepper@gmail.com>
28754
28755 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
28756 Reported by Peng Haitao <penght@cn.fujitsu.com>.
28757
6b1d1d46
JM
287582012-02-24 Joseph Myers <joseph@codesourcery.com>
28759
28760 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 28761
0f8bbd69
JM
287622012-02-24 Joseph Myers <joseph@codesourcery.com>
28763
28764 * manual/texinfo.tex: Update to version 2012-01-19.16.
28765
66ab80bc
JM
287662012-02-24 Joseph Myers <joseph@codesourcery.com>
28767
28768 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
28769
74981cc5
RM
287702012-02-24 Roland McGrath <roland@hack.frob.com>
28771
ee968201
RM
28772 [BZ #13738]
28773 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
28774 * manual/fdl-1.3.texi: New file.
28775 * manual/fdl-1.1.texi: File removed.
28776
74981cc5
RM
28777 [BZ #13738]
28778 * manual/libc.texinfo (FDL_VERSION): New @set.
28779 Use it for mention of FDL in cover text.
28780 (Documentation License): Use it in @include file name.
28781
7bb764bc
JM
287822012-02-22 Joseph Myers <joseph@codesourcery.com>
28783 Roland McGrath <roland@hack.frob.com>
28784
28785 [BZ #5461]
28786 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
28787 not LONG_LONG_MAX and LONG_LONG_MIN.
28788 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
28789 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
28790 name.
28791 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
28792
6cbeae47
JM
287932012-02-22 Joseph Myers <joseph@codesourcery.com>
28794
28795 [BZ #2547]
28796 [BZ #11365]
28797 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
28798 manipulate bits before adding and subtracting TWO23[sx].
28799 * math/libm-test.inc (nearbyint_test): Add more tests.
28800
fe45ce09
JM
288012012-02-22 Joseph Myers <joseph@codesourcery.com>
28802
28803 [BZ #2548]
28804 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
28805 bits before adding and subtracting TWO23[sx].
28806 * math/libm-test.inc (rint_test): Add more tests.
28807 (rint_test_tonearest): Likewise.
28808 (rint_test_towardzero): Likewise.
28809 (rint_test_downward): Likewise.
28810 (rint_test_upward: Likewise.
28811
ff3b3d82
JM
288122012-02-22 Joseph Myers <joseph@codesourcery.com>
28813
28814 [BZ #10110]
28815 * include/stdc-predef.h: New file. Extracted from features.h.
28816 * include/features.h: Include stdc-predef.h.
28817 * Makefile (headers): Add stdc-predef.h.
28818 * CONFORMANCE (Compiler limitations): Update.
28819
ef0aab35
JM
288202012-02-22 Joseph Myers <joseph@codesourcery.com>
28821
28822 * manual/libc.texinfo (VERSION, UPDATED): Revert.
28823
58639409
DM
288242012-02-21 David S. Miller <davem@davemloft.net>
28825
28826 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
28827 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28828
c0e70b25
DM
288292012-02-20 David S. Miller <davem@davemloft.net>
28830
28831 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
28832 using a normal save/restore sequence, rather than allocating a
28833 dummy stack frame just to store a frame pointer and restore.
28834 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28835
fb06851d
JM
288362012-02-21 Joseph Myers <joseph@codesourcery.com>
28837
28838 * manual/install.texi: Fix stray word in line-wrapped comment.
28839
7a8b71c3
DM
288402012-02-20 David S. Miller <davem@davemloft.net>
28841
d510c123
DM
28842 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
28843 both binutils and gcc support GOTDATA.
28844
0722d7c2
DM
28845 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
28846 "rd %pc" in the PIC register setup sequences.
28847
3d2b3019
DM
28848 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
28849 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
28850 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28851 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
28852 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28853 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28854 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28855 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28856 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
28857 (SYSCALL_ERROR_HANDLER): Likewise.
28858 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28859 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28860 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
28861 (SYSCALL_ERROR_HANDLER): Likewise.
28862
c80098a9
DM
28863 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
28864 (HAVE_GCC_GOTDATA): New.
28865 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
28866 relocation support in both binutils and gcc.
28867 * sysdeps/sparc/elf/configure: Regenerate.
28868
3a2545a0
DM
28869 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
28870 * sysdeps/sparc/sparc32/elf/configure: Delete.
28871 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
28872 * sysdeps/sparc/sparc64/elf/configure: Delete.
28873 * sysdeps/sparc/elf/configure.in: New file.
28874 * sysdeps/sparc/elf/configure: Generate.
28875
7a8b71c3
DM
28876 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
28877 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
28878 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28879 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
28880 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
28881
f1e86fca
JM
288822012-02-21 Joseph Myers <joseph@codesourcery.com>
28883
28884 * manual/install.texi: Do not mention specific glibc version
28885 numbers.
28886 * manual/libc.texinfo (VERSION, UPDATED): Update.
28887 (@copying): Use @copyright{} and range of years.
28888
0e7dfaef
JM
288892012-02-21 Joseph Myers <joseph@codesourcery.com>
28890
28891 [BZ #13695]
28892 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
28893 [crti.S not in sysdirs] (generated): Do not append.
28894 [crti.S not in sysdirs] (omit-deps): Likewise.
28895 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
28896 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
28897 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
28898 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
28899 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
28900 Likewise.
28901 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
28902 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
28903 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
28904 * csu/defs.awk: Remove file.
28905 * sysdeps/generic/initfini.c: Likewise.
28906 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
28907 variable.
28908 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
28909 Likewise.
28910
599af3ca
JM
289112012-02-20 Joseph Myers <joseph@codesourcery.com>
28912
28913 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
28914 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
28915 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
28916 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
28917 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28918 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
28919 <bits/epoll.h>.
28920 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
28921 (__EPOLL_PACKED): Define to empty if not defined by
28922 <bits/epoll.h>.
28923 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
28924 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28925 bits/epoll.h.
28926
0e499750
JM
289272012-02-20 Joseph Myers <joseph@codesourcery.com>
28928
28929 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
28930 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
28931 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
28932 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
28933 <bits/timerfd.h>.
28934 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
28935 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28936 bits/timerfd.h.
28937
5ad91f6e
JM
289382012-02-20 Joseph Myers <joseph@codesourcery.com>
28939
28940 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
28941 in C locale.
28942 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28943 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28944 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
28945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28946
06b99b02
AJ
289472012-02-20 Aurelien Jarno <aurelien@aurel32.net>
28948
28949 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28950 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28951
7638c0fd
AS
289522012-02-19 Andreas Schwab <schwab@linux-m68k.org>
28953
28954 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
28955 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
28956 defined.
28957 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
28958 Likewise.
28959 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
28960 entry for 2.16.
28961
92221550
AJ
289622012-02-19 Aurelien Jarno <aurelien@aurel32.net>
28963
28964 * math/w_acos.c: Use non-signaling floating-point comparisons.
28965 * math/w_acosf.c: Likewise.
28966 * math/w_acosh.c: Likewise.
28967 * math/w_acoshf.c: Likewise.
28968 * math/w_acoshl.c: Likewise.
28969 * math/w_acosl.c: Likewise.
28970 * math/w_asin.c: Likewise.
28971 * math/w_asinf.c: Likewise.
28972 * math/w_asinl.c: Likewise.
28973 * math/w_atanh.c: Likewise.
28974 * math/w_atanhf.c: Likewise.
28975 * math/w_atanhl.c: Likewise.
28976 * math/w_exp2.c: Likewise.
28977 * math/w_exp2f.c: Likewise.
28978 * math/w_exp2l.c: Likewise.
28979 * math/w_j0.c: Likewise.
28980 * math/w_j0f.c: Likewise.
28981 * math/w_j0l.c: Likewise.
28982 * math/w_j1.c: Likewise.
28983 * math/w_j1f.c: Likewise.
28984 * math/w_j1l.c: Likewise.
28985 * math/w_jn.c: Likewise.
28986 * math/w_jnf.c: Likewise.
28987 * math/w_log.c: Likewise.
28988 * math/w_log10.c: Likewise.
28989 * math/w_log10f.c: Likewise.
28990 * math/w_log10l.c: Likewise.
28991 * math/w_log2.c: Likewise.
28992 * math/w_log2f.c: Likewise.
28993 * math/w_log2l.c: Likewise.
28994 * math/w_logf.c: Likewise.
28995 * math/w_logl.c: Likewise.
28996 * math/w_sqrt.c: Likewise.
28997 * math/w_sqrtf.c: Likewise.
28998 * math/w_sqrtl.c: Likewise.
28999 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29000 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
29001 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29002 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29003 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29004
ebaf36eb
JM
290052012-02-19 Joseph Myers <joseph@codesourcery.com>
29006
29007 [BZ #9739]
29008 * manual/string.texi (strnlen): Use correct parameter name in
29009 equivalent expression.
29010
71c254a6
JM
290112012-02-19 Joseph Myers <joseph@codesourcery.com>
29012
29013 [BZ #11174]
29014 * manual/users.texi (seteuid): Consistently use neweuid for
29015 argument name.
29016
16d2c631
JM
290172012-02-19 Joseph Myers <joseph@codesourcery.com>
29018
29019 [BZ #13704]
29020 * manual/nss.texi (Services in the NSS configuration): Correct
29021 list of services in example configuration file.
29022
cd837b09
NB
290232012-02-19 Nick Bowler <nbowler@draconx.ca>
29024
29025 [BZ #11322]
29026 * manual/arith.texi: Remove statements about negative zero
29027 behaving identically to zero.
29028
02c4bbad
JM
290292012-02-18 Joseph Myers <joseph@codesourcery.com>
29030
29031 [BZ #5993]
29032 * manual/install.texi: Do not document upgrading from libc5.
29033
366842e7
JM
290342012-02-18 Joseph Myers <joseph@codesourcery.com>
29035
29036 [BZ #4596]
29037 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
29038
dd54084d
DM
290392012-02-18 David S. Miller <davem@davemloft.net>
29040
29041 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
29042 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
29043 %o7 across the call.
29044 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
29045 instead.
29046 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
29047 SETUP_PIC_REG_LEAF.
29048 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29049 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
29050 * sysdeps/sparc/crtn.S: Likewise.
29051
2bcc53a3
UD
290522012-02-17 Ulrich Drepper <drepper@gmail.com>
29053
29054 * aout/Makefile: Remove.
29055
09c093b5
RK
290562012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
29057
29058 [BZ #13058]
29059 * manual/examples/argp-ex1.c (main): Format definition in GNU
29060 style.
29061 * manual/examples/argp-ex2.c (main): Likewise.
29062 * manual/examples/argp-ex3.c (main): Likewise.
29063 * manual/examples/argp-ex4.c (main): Likewise.
29064 * manual/examples/longopt.c (main): Use new-style prototype
29065 definition.
29066 * manual/examples/strncat.c (main): Specify return type and use
29067 (void) for arguments.
29068 * manual/examples/subopt.c (main): Use char **argv argument.
29069
2ee633a2
JM
290702012-02-17 Joseph Myers <joseph@codesourcery.com>
29071
29072 [BZ #5077]
29073 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
29074 rounding modes.
29075
0520adde
FB
290762012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
29077
29078 [BZ #6907]
29079 * manual/string.texi (strchr): Change when strchrnul is
29080 recommended.
29081
3f4081cd
DGM
290822012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
29083
29084 [BZ #174]
29085 * manual/locale.texi (setlocale): Document LOCPATH.
29086
d1b10e78
JM
290872012-02-17 Joseph Myers <joseph@codesourcery.com>
29088
29089 [BZ #10210]
29090 * manual/process.texi (execle): Move @dots{} before last argument.
29091
79c6869c
PB
290922012-02-17 Paul Bolle <pebolle@tiscali.nl>
29093
29094 [BZ #12047]
29095 * manual/charset.texi (Generic Charset Conversion): Fix typo
29096 (LC_TYPE -> LC_CTYPE).
29097
cc6e48bc
NB
290982012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
29099
29100 [BZ #5805]
29101 * manual/arith.texi (scalbn): Use @var{} on parameter names.
29102 (scalbnf): Likewise.
29103 (scalbnl): Likewise.
29104 (scalbln): Likewise.
29105 (scalblnf): Likewise.
29106 (scalblnl): Likewise.
29107 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
29108 (vwarnx): Likewise.
29109 (verr): Likewise.
29110 (verrx): Likewise.
29111 * manual/filesys.texi (telldir): Use braces around return type.
29112 * manual/llio.texi (mmap): Add space after comma.
29113 (mmap64): Likewise.
29114 * manual/math.texi (jn): Use @var{} on parameter names.
29115 (jnf): Likewise.
29116 (jnl): Likewise.
29117 (yn): Likewise.
29118 (ynf): Likewise.
29119 (ynl): Likewise.
29120 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
29121 line.
29122 * manual/resource.texi (ulimit): Use @dots{} instead of literal
29123 "...".
29124 (sched_get_priority_min): Remove semicolon on @deftypefun line.
29125 (sched_get_priority_max): Likewise.
29126 * manual/signal.texi (sigvec): Add space after comma.
29127 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
29128 names.
29129 (if_indextoname): Likewise.
29130 (if_freenameindex): Likewise.
29131 (sendto): Use ',' instead of '.' in prototype.
29132 * manual/startup.texi (syscall): Use @dots{} instead of literal
29133 "...".
29134 * manual/stdio.texi (__fpending): Separate initial words of
29135 paragraph from @deftypefun line.
29136 * manual/syslog.texi (syslog): Use @dots{} instead of literal
29137 "...".
29138 (vsyslog): Use @var{} on parameter names.
29139 * manual/terminal.texi (stty): Use @var{} on parameter names.
29140 * manual/users.texi (getutmp): Use @var{} on parameter names.
29141 (getutmpx): Likewise.
29142
5b23062f
JM
291432012-02-17 Joseph Myers <joseph@codesourcery.com>
29144
29145 [BZ #6884]
29146 * manual/stdio.texi (fopen): Fix typos in description of
29147 ",ccs=STRING".
29148
8dee4833
AJ
291492012-02-17 Aurelien Jarno <aurelien@aurel32.net>
29150
29151 [BZ #4026]
29152 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
29153 get clock_id definition.
29154
9078ce93
TS
291552012-02-17 Thomas Schwinge <thomas@schwinge.name>
29156
29157 [BZ #4822]
29158 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
29159 (madvise): Cast every argument to void on its own.
29160
3835c55f
JM
291612012-02-17 Joseph Myers <joseph@codesourcery.com>
29162
29163 [BZ #9902]
29164 * manual/startup.texi (Exit Status): Fix typo.
29165
35c47e37
JM
291662012-02-17 Joseph Myers <joseph@codesourcery.com>
29167
29168 [BZ #10140]
29169 * manual/examples/argp-ex1.c: Include <stdlib.h>.
29170 * manual/examples/argp-ex2.c: Likewise.
29171 * manual/examples/argp-ex3.c: Likewise.
29172
e3b69ca7
RH
291732012-02-16 Richard Henderson <rth@redhat.com>
29174
29175 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
29176 * sysdeps/s390/s390-32/initfini.c: Remove.
29177 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
29178 * sysdeps/s390/s390-64/initfini.c: Remove.
29179
df83af67
KK
291802012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29181
29182 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
29183 compiler output for sysdeps/generic/initfini.c.
29184 * sysdeps/sh/elf/initfini.c: Remove file.
29185
f63f3380
DM
291862012-02-16 David S. Miller <davem@davemloft.net>
29187
fb59b3a4
DM
29188 [BZ #11494]
29189 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
29190
f63f3380
DM
29191 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
29192 * sysdeps/sparc/crti.S: New file.
29193 * sysdeps/sparc/crtn.S: New file.
29194 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
29195 * sysdeps/sparc/sparc64/Makefile: Likewise.
29196
df6a4a4a
MF
291972012-02-15 Mike Frysinger <vapier@gentoo.org>
29198
6dd8f3dc 29199 [BZ #3335]
df6a4a4a
MF
29200 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
29201
1cac7236
RM
292022012-02-15 Roland McGrath <roland@hack.frob.com>
29203
d2c736f8
RM
29204 [BZ #4822]
29205 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
29206
1cac7236
RM
29207 * mach/devstream.c (cookie_io_functions_t): Macro removed.
29208 (write, read, close): Likewise.
29209 Patch by Aurelien Jarno <aurelien@aurel32.net>.
29210
8e475601
JM
292112012-02-15 Joseph Myers <joseph@codesourcery.com>
29212
29213 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
29214 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
29215 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
29216 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
29217 <bits/signalfd.h>.
29218 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
29219 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29220 bits/signalfd.h.
29221
ed656b40
MP
292222012-02-14 Marek Polacek <polacek@redhat.com>
29223
29224 * sysdeps/x86_64/crti.S: New file.
29225 * sysdeps/x86_64/crtn.S: New file.
29226 * sysdeps/x86_64/elf/initfini.c: Remove file.
29227
2a979d3a
JM
292282012-02-13 Joseph Myers <joseph@codesourcery.com>
29229
29230 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
29231 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
29232 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
29233 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
29234 <bits/inotify.h>.
29235 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
29236 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29237 bits/inotify.h.
29238
2a418ac3
JM
292392012-02-13 Joseph Myers <joseph@codesourcery.com>
29240
29241 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
29242 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
29243 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
29244 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
29245 <bits/eventfd.h>.
29246 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
29247 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29248 bits/eventfd.h.
29249
fb779be7
TS
292502012-02-10 Thomas Schwinge <thomas@codesourcery.com>
29251
e19e83c5
RM
29252 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
29253 __feraiseexcept instead of feraiseexcept.
7c35ffed 29254
fb779be7
TS
29255 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
29256 nanosleep invocations.
29257 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
29258 strings, and add error checking for a nanosleep invocations.
29259
59ba27a6
PE
292602012-02-09 Paul Eggert <eggert@cs.ucla.edu>
29261
29262 Replace FSF snail mail address with URLs, as per GNU coding standards.
29263 Most of the snail mail addresses were wrong anyway, and omitting
29264 them makes the source code easier to maintain. Almost all of the
29265 changes are to license notices and to locale LC_IDENTIFICATION
29266 addresses, except for this one:
29267 * manual/libc.texinfo: In "Published by", give the FSF's URL,
29268 not its snail mail address.
29269
57b957eb
RH
292702012-02-09 Richard Henderson <rth@twiddle.net>
29271
af850b1c
RH
29272 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
29273 of kernel-features.h.
29274
57b957eb
RH
29275 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
29276
6b73181a
MP
292772012-02-08 Marek Polacek <polacek@redhat.com>
29278
29279 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
29280 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
29281 * sysdeps/gnu/_G_config.h: Likewise.
29282 * sysdeps/generic/_G_config.h: Likewise.
29283
26ecc33a
AS
292842012-02-08 Andreas Schwab <schwab@linux-m68k.org>
29285
6c6dbc63
AS
29286 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
29287 tests.
29288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29289
e216c012
AS
29290 * sysdeps/powerpc/powerpc32/crti.S: New file.
29291 * sysdeps/powerpc/powerpc32/crtn.S: New file.
29292 * sysdeps/powerpc/powerpc64/crti.S: New file.
29293 * sysdeps/powerpc/powerpc64/crtn.S: New file.
29294
26ecc33a
AS
29295 * Makeconfig (have-initfini): Don't set.
29296 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
29297 * configure.in (nopic_initfini): Don't substitute.
29298 * config.h.in (HAVE_INITFINI): Don't #undef.
29299 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
29300 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
29301
3add8e13
JM
293022012-02-08 Joseph Myers <joseph@codesourcery.com>
29303
29304 Support crti.S and crtn.S provided directly by architectures.
29305 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
29306 [crti.S in sysdirs] (omit-deps): Likewise.
29307 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
29308 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
29309 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
29310 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
29311 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
29312 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
29313 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
29314 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
29315 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
29316 compiler output for sysdeps/generic/initfini.c.
29317 * sysdeps/i386/elf/Makefile: Remove file.
29318 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
29319
a22f12b4
MP
293202012-02-07 Marek Polacek <polacek@redhat.com>
29321
29322 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
29323 * sysdeps/gnu/_G_config.h: Likewise.
29324 * sysdeps/mach/hurd/_G_config.h: Likewise.
29325
148cf100
MP
293262012-02-07 Marek Polacek <polacek@redhat.com>
29327
29328 * math/Makefile (tests): Add tst-CMPLX2.
29329 * math/tst-CMPLX2.c: New file.
29330
cfdc0dd7
AS
293312012-02-07 Andreas Schwab <schwab@linux-m68k.org>
29332
84ba42c4
AS
29333 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29334
cfdc0dd7
AS
29335 * math/libm-test.inc (jn_test): Add missing L suffix.
29336
622c86f4
MP
293372012-02-06 Marek Polacek <polacek@redhat.com>
29338
29339 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
29340 * sysdeps/i386/fpu/e_powf.S: Likewise.
29341 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29342 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29343 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29344 * sysdeps/i386/fpu/e_pow.S: Likewise.
29345 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29346 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29347 * sysdeps/i386/fpu/s_expm1.S: Likewise.
29348 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29349 * sysdeps/i386/fpu/e_log2.S: Likewise.
29350 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29351 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29352 * sysdeps/i386/fpu/e_powl.S: Likewise.
29353 * sysdeps/i386/fpu/s_log1p.S: Likewise.
29354 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29355 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29356 * sysdeps/i386/fpu/e_logl.S: Likewise.
29357 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29358 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
29359 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29360 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29361 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29362 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29363 * sysdeps/i386/fpu/e_log.S: Likewise.
29364 * sysdeps/i386/fpu/s_cexp.S: Likewise.
29365 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29366 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
29367 * sysdeps/i386/fpu/e_logf.S: Likewise.
29368 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29369 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29370 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
29371 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29372 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29373 * sysdeps/i386/fpu/e_log10.S: Likewise.
29374 * sysdeps/i386/fpu/s_frexp.S: Likewise.
29375 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29376 * sysdeps/i386/fpu/s_asinh.S: Likewise.
29377 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29378 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29379 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29380 * sysdeps/i386/asm-syntax.h: Likewise.
29381 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29382 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29383 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29384 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
29385 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
29386 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29387 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29388 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29389 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29390 * sysdeps/powerpc/sysdep.h: Likewise.
29391 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
29392 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29393
d4a54ac6
JM
293942012-02-06 Joseph Myers <joseph@codesourcery.com>
29395
29396 [BZ #411]
29397 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
29398
314054ea
JM
293992012-02-06 Joseph Myers <joseph@codesourcery.com>
29400
29401 * sysdeps/i386/sysdep.h: Include <features.h>.
29402 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
29403 version.
29404
d8e0ca50
JM
294052012-02-05 Joseph Myers <joseph@codesourcery.com>
29406
29407 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
29408 Define.
29409 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
29410 LOAD_PIC_REG_STR.
29411
b1da7dd9
JM
294122012-02-03 Joseph Myers <joseph@codesourcery.com>
29413
29414 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
29415 (SETUP_PIC_REG): Use GET_PC_THUNK.
29416 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
29417 macro.
29418
9a1d9254
JM
294192012-02-03 Joseph Myers <joseph@codesourcery.com>
29420
29421 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
29422 for non-PIC compilation.
29423 (SETUP_PIC_REG): Add .p2align directive.
29424 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
29425 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
29426 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29427 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29428 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29429 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29430 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
29431 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29432 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29433 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29434 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29435 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29436 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29437 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29438 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29439 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29440 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29441 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29442 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29443 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29444 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29445 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29446 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29447 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29448 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29449 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29450 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29451 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29452 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29453 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29454 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29455 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29456 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29457 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29458 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29459 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29460 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29461 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29462 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29463 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29464 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29465
65dc3b75
JM
294662012-02-03 Joseph Myers <joseph@codesourcery.com>
29467
29468 * math/tst-CMPLX.c: Include <stdio.h>.
29469
d55bf177
JM
294702012-01-31 Joseph Myers <joseph@codesourcery.com>
29471
29472 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
29473 float.
29474 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29475 * sysdeps/sparc/bits/mathdef.h: Likewise.
29476
69db4f8f
MP
294772012-01-31 Marek Polacek <polacek@redhat.com>
29478
29479 * libio/libio.h: Don't define _PARAMS.
29480 * locale/programs/config.h: Don't define PARAMS.
29481 * stdlib/strtol_l.c: Likewise.
29482 (__strtol_l): Remove PARAMS from the prototype.
29483
41b81892
UD
294842012-01-31 Ulrich Drepper <drepper@gmail.com>
29485
3b49edc0
UD
29486 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
29487 names. Just use the correct names. Remove unnecessary wrapper
29488 functions.
29489 * malloc/arena.c: Likewise.
29490 * malloc/hooks.c: Likewise.
29491
41b81892
UD
29492 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
29493 ARENA_TEST says not to. Simplify test for creation of a new arena.
29494 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
29495
27a25b6e
UD
294962012-01-30 Ulrich Drepper <drepper@gmail.com>
29497
29498 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
29499 into tail calls.
29500 (update_get_addr): New function.
29501 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
29502 GET_ADDR_MODULE parameter.
29503
c8a89e7d
JM
295042012-01-30 Joseph Myers <joseph@codesourcery.com>
29505
29506 * crypt/cert.c: Remove __STDC__ conditionals.
29507 * crypt/crypt-entry.c: Likewise.
29508 * crypt/crypt_util.c: Likewise.
29509 * libio/filedoalloc.c: Likewise.
29510 * libio/fileops.c: Likewise.
29511 * libio/genops.c: Likewise.
29512 * libio/iofclose.c: Likewise.
29513 * libio/iofdopen.c: Likewise.
29514 * libio/iofopen.c: Likewise.
29515 * libio/iofopen64.c: Likewise.
29516 * libio/iogetdelim.c: Likewise.
29517 * libio/iopopen.c: Likewise.
29518 * libio/obprintf.c: Likewise.
29519 * libio/oldfileops.c: Likewise.
29520 * libio/oldiofclose.c: Likewise.
29521 * libio/oldiofdopen.c: Likewise.
29522 * libio/oldiofopen.c: Likewise.
29523 * libio/oldiopopen.c: Likewise.
29524 * libio/wfiledoalloc.c: Likewise.
29525 * libio/wgenops.c: Likewise.
29526 * locale/programs/xmalloc.c: Likewise.
29527 * misc/syslog.c: Likewise.
29528 * stdio-common/xbug.c: Likewise.
29529 * string/memchr.c: Likewise.
29530 * string/memcmp.c: Likewise.
29531 * string/memrchr.c: Likewise.
29532 * string/rawmemchr.c: Likewise.
29533 * sysdeps/posix/getcwd.c: Likewise.
29534 * time/strftime_l.c: Likewise.
29535
3b100462
JM
295362012-01-30 Joseph Myers <joseph@codesourcery.com>
29537
29538 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
29539 * config.make.in (config-cflags-sse2avx): Define.
29540 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
29541 Fix typo.
29542
607998af
CM
295432012-01-29 Chris Metcalf <cmetcalf@tilera.com>
29544
29545 * scripts/config.guess: Update from upstream config git repository.
29546 * scripts/config.sub: Likewise.
29547
3601428f
CM
295482012-01-28 Chris Metcalf <cmetcalf@tilera.com>
29549
3ac8b282
CM
29550 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
29551 (EM_NUM): Update.
29552 (R_TILEPRO_*, R_TILEGX_*): New macros.
29553
e034841e
CM
29554 * scripts/firstversions.awk: Fix bug in version range handling.
29555
540d7568
CM
29556 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
29557
3601428f
CM
29558 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
29559
463de862
CM
29560 * include/sys/epoll.h: New file.
29561 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
29562 libc_hidden_def.
29563
73139a76
UD
295642012-01-28 Ulrich Drepper <drepper@gmail.com>
29565
96bc5b45
UD
29566 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
29567 Avoid unnecessary __WORDSIZE == 64 test.
29568 (fmaxf): Use VEX format if possible.
29569 (fmax): Likewise.
29570 (fminf): Likewise.
29571 (fmin): Likewise.
29572
56f6f6a2
UD
29573 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
29574 * math/math_private.h: Remove libc_fegetround* and
29575 libc_fesetround*.
29576 * sysdeps/i386/configure.in: Check for -msse2avx.
29577 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
29578 also if SSE2AVX is defined.
29579 Remove libc_fegetround* and libc_fesetround*.
29580 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
29581 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
29582 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
29583 of HAS_YMM_USABLE.
29584 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29585 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29586 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29587 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29588 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29589
73139a76
UD
29590 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
29591
d73f93a4
AZ
295922012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29593
29594 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
29595 size is not set.
29596 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
29597
6ee65ed6
UD
295982012-01-27 Ulrich Drepper <drepper@gmail.com>
29599
29600 [BZ #13618]
29601 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
29602 relocation.
29603 * Makeconfig (libm): Define.
29604 * elf/Makefile: Add rules to build and run tst-relsort1.
29605 * elf/tst-relsort1.c: New file.
29606 * elf/tst-relsort1mod1.c: New file.
29607 * elf/tst-relsort1mod2.c: New file.
29608
8db21882
JM
296092012-01-27 Joseph Myers <joseph@codesourcery.com>
29610
29611 * math/s_ldexp.c: Remove __STDC__ conditionals.
29612 * math/s_ldexpf.c: Likewise.
29613 * math/s_ldexpl.c: Likewise.
29614 * math/s_nextafter.c: Likewise.
29615 * math/s_nexttowardf.c: Likewise.
29616 * math/s_significand.c: Likewise.
29617 * math/s_significandf.c: Likewise.
29618 * math/s_significandl.c: Likewise.
29619 * math/w_jnl.c: Likewise.
29620 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29621 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29622 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29623 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29624 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29625 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29626 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
29627 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29628 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29629 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29630 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29631 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29632 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29633 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29634 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29635 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29636 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29637 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29638 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29639 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29640 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29641 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29642 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29643 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29644 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29645 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29646 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29647 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29648 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29649 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29650 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29651 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29652 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29653 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29654 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29655 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29656 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29657 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29658 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29659 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29660 * sysdeps/ieee754/k_standard.c: Likewise.
29661 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29662 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29663 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29664 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29665 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29666 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29667 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29668 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29669 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29670 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29671 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29672 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29673 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29674 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29675 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29676 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29677 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29678 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29679 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29680 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29681 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29682 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29683 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29684 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29685 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29686 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29687 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29688 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29689 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29690 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29691 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29692 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
29693 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29694 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29695 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29696 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29697 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
29698 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29699 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29700 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
29701 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
29702 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29703 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
29704 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
29705 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29706 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
29707 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
29708 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29709 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29710 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
29711 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
29712 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29713 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29714 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29715 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29716 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29717 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
29718 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29719 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29720 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29721 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29722 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29723 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29724 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29725 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29726 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29727 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29728 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29729 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29730 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29731 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29732 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29733 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29734 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29735 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29736 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29737 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29738 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29739 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29740 * sysdeps/ieee754/s_matherr.c: Likewise.
29741 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29742 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29743 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29744 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29745
965a54a4
JM
297462012-01-26 Joseph Myers <joseph@codesourcery.com>
29747
29748 * crypt/md5.h: Remove __STDC__ conditionals.
29749 * libio/libioP.h: Likewise.
29750 * locale/programs/config.h: Likewise.
29751 * sysdeps/generic/sysdep.h: Likewise.
29752 * sysdeps/i386/asm-syntax.h: Likewise.
29753 * sysdeps/s390/asm-syntax.h: Likewise.
29754 * sysdeps/unix/sysdep.h: Likewise.
29755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29757
7071ad79
JM
297582012-01-26 Joseph Myers <joseph@codesourcery.com>
29759
29760 * libio/libio.h: Remove __STDC__ conditionals.
29761 * malloc/obstack.h: Likewise.
29762 * math/complex.h: Likewise.
29763 * math/math.h: Likewise.
29764 * sysdeps/generic/_G_config.h: Likewise.
29765 * sysdeps/gnu/_G_config.h: Likewise.
29766 * sysdeps/mach/hurd/_G_config.h: Likewise.
29767 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29768 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29769 * sysdeps/sparc/bits/mathdef.h: Likewise.
29770
afc5ed09
UD
297712012-01-26 Ulrich Drepper <drepper@gmail.com>
29772
29773 [BZ #13583]
29774 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 29775 Clean up HAS_* macros.
afc5ed09 29776 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
29777 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
29778 possible.
29779 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
29780 HAS_AVX.
29781 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29782 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29783 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29784 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29785 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 29786
bdb6de1d
JM
297872012-01-25 Joseph Myers <joseph@codesourcery.com>
29788
29789 * elf/tst-unique3.cc (gets): Remove declaration.
29790 * elf/tst-unique3lib.cc (gets): Likewise.
29791 * elf/tst-unique3lib2.cc (gets): Likewise.
29792 * elf/tst-unique4.cc (gets): Likewise.
29793
b15549e6
UD
297942012-01-24 Ulrich Drepper <drepper@gmail.com>
29795
29796 * include/stdio.h: Add C++ protection. Add gets declarations and
29797 definitions.
29798 * debug/tst-chk1.c: Don't declare gets here.
29799 * stdio-common/tst-gets.c: Likewise.
29800
a037381f
JM
298012012-01-24 Joseph Myers <joseph@codesourcery.com>
29802
29803 * posix/glob: Remove directory.
29804
f1d4aa75
JM
298052012-01-24 Joseph Myers <joseph@codesourcery.com>
29806
29807 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
29808
81c0c964
PT
298092012-01-22 Pino Toscano <toscano.pino@tiscali.it>
29810
29811 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
29812 of the non-standard EPFNOSUPPORT.
29813
0ea698ae
ST
298142011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
29815
29816 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
29817 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
29818 ANYWHERE set to 1 only on KERN_NO_SPACE error.
29819
d220b117
UD
298202012-01-21 Ulrich Drepper <drepper@gmail.com>
29821
29822 * wcsmbs/uchar.h: Test __STDC_VERSION__.
29823
3e1aa84e
UD
298242012-01-20 Ulrich Drepper <drepper@gmail.com>
29825
29826 * nscd/aicache.c (addhstaiX): Do not cache negative results of
29827 transient errors.
29828 * nscd/grpcache.c (cache_addgr): Likewise.
29829 * nscd/hstcache.c (cache_addhst): Likewise.
29830 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29831 * nscd/pwdcache.c (cache_addpw): Likewise.
29832 * nscd/servicescache.c (cache_addserv): Likewise.
29833
400aa020
UD
298342012-01-16 Ulrich Drepper <drepper@gmail.com>
29835
d77e7869
UD
29836 * malloc/malloc.c: Various cleanups.
29837 * malloc/hooks.c: Likewise.
29838
400aa020
UD
29839 * stdlib/Makefile (tests): Add bug-fmtmsg1.
29840 * stdlib/bug-fmtmsg1.c: New file.
29841
29842 * stdlib/fmtmsg.c (init): Add missing unlock.
29843 Patch by Peng Haitao <penght@cn.fujitsu.com>.
29844
e0a309cf
MP
298452012-01-12 Marek Polacek <polacek@redhat.com>
29846
29847 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
29848 and _GNU_SOURCE.
29849
929d11c7
WS
298502012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29851
29852 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
29853 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
29854 macro to ensure uniqueness of label name.
29855 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29856 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29857
41d0e869
UD
298582012-01-11 Ulrich Drepper <drepper@gmail.com>
29859
0cc5ed3b
UD
29860 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
29861
41d0e869
UD
29862 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
29863 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29864 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29865 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
29866
a47a831a
UD
298672012-01-10 Ulrich Drepper <drepper@gmail.com>
29868
daa891c0
UD
29869 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
29870
29871 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
29872 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29873 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29874
e58ef0f2
UD
29875 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
29876
a47a831a 29877 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
29878 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29879 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 29880 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
29881
29882 * math/bits/math-finite.h: Add ldexp support.
29883
a0bfc9c7
MP
298842012-01-10 Marek Polacek <polacek@redhat.com>
29885
29886 * locale/programs/localedef.h (show_archive_content): Add noreturn
29887 attribute.
29888
d6e97a1d
UD
298892012-01-09 Ulrich Drepper <drepper@gmail.com>
29890
29891 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
29892
d5835c26
UD
298932012-01-08 Ulrich Drepper <drepper@gmail.com>
29894
e5f484c6
UD
29895 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
29896
d5835c26
UD
29897 * io/Makefile (headers): Add bits/poll2.h.
29898
d1f741e9
WS
298992011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
29900
29901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
29902 typo #include statement.
29903
ec09c1c4
UD
299042012-01-08 Ulrich Drepper <drepper@gmail.com>
29905
29906 * include/sys/cdefs.h: Define __attribute_alloc_size.
29907 * catgets/gencat.c: Add alloc_size attribute and apply consistently
29908 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
29909 * elf/pldd.c: Likewise.
29910 * iconv/iconv_charmap.c: Likewise.
29911 * iconv/iconvconfig.c: Likewise.
29912 * iconv/strtab.c: Likewise.
29913 * locale/programs/locale.c: Likewise.
29914 * locale/programs/localedef.h: Likewise.
29915 * locale/programs/simple-hash.c: Likewise.
29916 * nscd/nscd.h: Likewise.
29917 * nss/makedb.c: Likewise.
29918 * sysdeps/generic/ldconfig.h: Likewise.
29919 * locale/programs/localedef.c: Remove xmalloc prototype.
29920 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
29921
20b38e03
PP
299222012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29923
29924 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
29925 appropriate.
29926
a0da5fe1
UD
299272012-01-08 Ulrich Drepper <drepper@gmail.com>
29928
1d5a644a 29929 * math/Makefile (tests): Add tst-CMPLX.
669704fd 29930 * math/tst-CMPLX.c: New file.
1d5a644a 29931
8784a6db
UD
29932 * math/complex.h (CMPLXL): Fix typo.
29933
d9a216c0
UD
29934 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
29935 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
29936 GLIBC_2.16.
29937 * debug/tst-chk1.c: Add poll and ppoll tests.
29938 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
29939 * include/sys/poll.h: Add hidden proto for ppoll.
29940 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
29941 * sysdeps/mach/hurd/ppoll.c: Likewise.
29942 * io/ppoll.c: Likewise.
29943 * debug/poll_chk.c: New file.
29944 * debug/ppoll_chk.c: New file.
29945 * include/bits/poll2.h: New file.
29946 * io/bits/poll2.h: New file.
29947
ac097f5c
UD
29948 [BZ #1350]
29949 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
29950
2119dcfa
UD
29951 * configure.in: static is always set to yes. Remove.
29952 * config.make.in: Don't set build-static.
29953 * Makeconfig: Remove use of build-static.
29954 * dlfcn/Makefile: Likewise.
29955 * elf/Makefile: Likewise.
29956 * math/Makefile: Likewise.
29957 * misc/Makefile: Likewise.
29958 * nptl/Makefile: Likewise.
29959 * sysdeps/mach/hurd/Makefile: Likewise.
29960
121766a9
UD
29961 * configure.in: PWD_P is not used anymore.
29962 * config.make.in: Remove PWD_P entry.
29963
51a1d39c 29964 * configure.in: Remove last remnants of RANLIB.
8720d066 29965 No need to check for signed size_t anymore.
215f4bdc
UD
29966 Don't set libc_commonpagesize and libc_relro_required here for Alpha
29967 and IA-64.
3857022a 29968 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
29969 * aclocal.m4: Likewise.
29970
d3ed7225
UD
29971 * wcsmbs/mbrtoc16.c: Implement using towc function.
29972 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
29973 * wcsmbs/wcsmbsload.c: Likewise.
29974 * iconv/gconv_simple.c: Likewise.
29975 * iconv/gconv_int.h: Likewise.
29976 * iconv/gconv_builtin.h: Likewise.
29977 * iconv/iconv_prog.c: Remove CHAR16 handling.
29978
29979 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
29980
29981 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
29982
a0da5fe1
UD
29983 * configure.in: Remove --with-elf and --enable-bounded options.
29984 Dont set base_machine for ia64. More non-ELF conditions removed.
29985 Remove testing and setting of leading underscore information.
29986 * config.make.in (build-bounded): Set to no.
29987 * config.h.in: Remove NO_UNDERSCORES entry.
29988 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
29989 them.
29990 * csu/start.c: Remove !NO_UNDERSCORE code.
29991 * locale/localeinfo.h: Likewise.
29992 * sysdeps/generic/machine-gmon.h: Likewise.
29993 * sysdeps/generic/sysdep.h: Likewise.
29994 * sysdeps/i386/sysdep.h: Likewise.
29995 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
29996 * sysdeps/mach/sysdep.h: Likewise.
29997 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29998 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29999 * sysdeps/sh/sysdep.h: Likewise.
30000 * sysdeps/sparc/sparc32/alloca.S: Likewise.
30001 * sysdeps/unix/i386/sysdep.S: Likewise.
30002 * sysdeps/unix/sparc/start.c: Likewise.
30003 * sysdeps/unix/sparc/sysdep.S: Likewise.
30004 * sysdeps/unix/sparc/sysdep.h: Likewise.
30005 * sysdeps/unix/start.c: Likewise.
30006 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30007 * sysdeps/x86_64/sysdep.h: Likewise.
30008
df78418a
UD
300092012-01-07 Ulrich Drepper <drepper@gmail.com>
30010
a784e502
UD
30011 [BZ #13553]
30012 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
30013 for non-gcc.
30014 * argp/argp-fmtstream.h: Use const instead __const.
30015 * argp/argp.h: Likewise.
30016 * assert/assert.h: Likewise.
30017 * bits/fenv.h: Likewise.
30018 * bits/sched.h: Likewise.
30019 * bits/sigset.h: Likewise.
30020 * bits/sigthread.h: Likewise.
30021 * catgets/nl_types.h: Likewise.
30022 * conform/data/pthread.h-data: Likewise.
30023 * crypt/crypt-private.h: Likewise.
30024 * crypt/crypt.h: Likewise.
30025 * crypt/crypt_util.c: Likewise.
30026 * ctype/ctype.h: Likewise.
30027 * debug/execinfo.h: Likewise.
30028 * debug/mbsnrtowcs_chk.c: Likewise.
30029 * debug/mbsrtowcs_chk.c: Likewise.
30030 * debug/wcsnrtombs_chk.c: Likewise.
30031 * debug/wcsrtombs_chk.c: Likewise.
30032 * debug/wcstombs_chk.c: Likewise.
30033 * dirent/dirent.h: Likewise.
30034 * dlfcn/dlfcn.h: Likewise.
30035 * elf/neededtest4.c: Likewise.
30036 * grp/grp.h: Likewise.
30037 * gshadow/gshadow.h: Likewise.
30038 * iconv/gconv.h: Likewise.
30039 * iconv/gconv_int.h: Likewise.
30040 * iconv/gconv_simple.c: Likewise.
30041 * iconv/iconv.h: Likewise.
30042 * iconv/loop.c: Likewise.
30043 * iconv/skeleton.c: Likewise.
30044 * include/aio.h: Likewise.
30045 * include/aliases.h: Likewise.
30046 * include/argz.h: Likewise.
30047 * include/arpa/inet.h: Likewise.
30048 * include/assert.h: Likewise.
30049 * include/dirent.h: Likewise.
30050 * include/dlfcn.h: Likewise.
30051 * include/execinfo.h: Likewise.
30052 * include/fcntl.h: Likewise.
30053 * include/fenv.h: Likewise.
30054 * include/glob.h: Likewise.
30055 * include/grp.h: Likewise.
30056 * include/libintl.h: Likewise.
30057 * include/mntent.h: Likewise.
30058 * include/netdb.h: Likewise.
30059 * include/pwd.h: Likewise.
30060 * include/rpc/netdb.h: Likewise.
30061 * include/sched.h: Likewise.
30062 * include/search.h: Likewise.
30063 * include/shadow.h: Likewise.
30064 * include/signal.h: Likewise.
30065 * include/stdio.h: Likewise.
30066 * include/stdlib.h: Likewise.
30067 * include/string.h: Likewise.
30068 * include/sys/socket.h: Likewise.
30069 * include/sys/stat.h: Likewise.
30070 * include/sys/statfs.h: Likewise.
30071 * include/sys/statvfs.h: Likewise.
30072 * include/sys/syslog.h: Likewise.
30073 * include/sys/time.h: Likewise.
30074 * include/sys/uio.h: Likewise.
30075 * include/time.h: Likewise.
30076 * include/unistd.h: Likewise.
30077 * include/utmp.h: Likewise.
30078 * include/wchar.h: Likewise.
30079 * include/wctype.h: Likewise.
30080 * inet/aliases.h: Likewise.
30081 * inet/arpa/inet.h: Likewise.
30082 * inet/netinet/ether.h: Likewise.
30083 * inet/netinet/in.h: Likewise.
30084 * intl/libintl.h: Likewise.
30085 * io/bits/fcntl2.h: Likewise.
30086 * io/fcntl.h: Likewise.
30087 * io/ftw.h: Likewise.
30088 * io/sys/poll.h: Likewise.
30089 * io/sys/stat.h: Likewise.
30090 * io/sys/statfs.h: Likewise.
30091 * io/sys/statvfs.h: Likewise.
30092 * io/utime.h: Likewise.
30093 * libio/bits/stdio.h: Likewise.
30094 * libio/bits/stdio2.h: Likewise.
30095 * libio/libio.h: Likewise.
30096 * libio/libioP.h: Likewise.
30097 * libio/stdio.h: Likewise.
30098 * locale/lc-ctype.c: Likewise.
30099 * locale/locale.h: Likewise.
30100 * login/utmp.h: Likewise.
30101 * malloc/arena.c: Likewise.
30102 * malloc/malloc.c: Likewise.
30103 * malloc/malloc.h: Likewise.
30104 * malloc/mcheck.c: Likewise.
30105 * malloc/mtrace.c: Likewise.
30106 * math/bits/mathcalls.h: Likewise.
30107 * math/fenv.h: Likewise.
30108 * math/math_private.h: Likewise.
30109 * misc/bits/error.h: Likewise.
30110 * misc/bits/syslog.h: Likewise.
30111 * misc/err.h: Likewise.
30112 * misc/error.h: Likewise.
30113 * misc/fstab.h: Likewise.
30114 * misc/mntent.h: Likewise.
30115 * misc/regexp.h: Likewise.
30116 * misc/search.h: Likewise.
30117 * misc/sgtty.h: Likewise.
30118 * misc/sys/mman.h: Likewise.
30119 * misc/sys/syslog.h: Likewise.
30120 * misc/sys/uio.h: Likewise.
30121 * misc/sys/xattr.h: Likewise.
30122 * misc/ttyent.h: Likewise.
30123 * nis/rpcsvc/ypclnt.h: Likewise.
30124 * nss/nss.h: Likewise.
30125 * posix/bits/unistd.h: Likewise.
30126 * posix/fnmatch.h: Likewise.
30127 * posix/glob.h: Likewise.
30128 * posix/sched.h: Likewise.
30129 * posix/spawn.h: Likewise.
30130 * posix/sys/wait.h: Likewise.
30131 * posix/unistd.h: Likewise.
30132 * posix/wordexp.h: Likewise.
30133 * pwd/pwd.h: Likewise.
30134 * resolv/netdb.h: Likewise.
30135 * resource/sys/resource.h: Likewise.
30136 * rt/aio.h: Likewise.
30137 * rt/bits/mqueue2.h: Likewise.
30138 * rt/mqueue.h: Likewise.
30139 * shadow/shadow.h: Likewise.
30140 * signal/signal.h: Likewise.
30141 * socket/send.c: Likewise.
30142 * socket/sendto.c: Likewise.
30143 * socket/sys/socket.h: Likewise.
30144 * stdio-common/printf.h: Likewise.
30145 * stdlib/bits/stdlib.h: Likewise.
30146 * stdlib/fmtmsg.h: Likewise.
30147 * stdlib/monetary.h: Likewise.
30148 * stdlib/stdlib.h: Likewise.
30149 * stdlib/ucontext.h: Likewise.
30150 * streams/stropts.h: Likewise.
30151 * string/argz.h: Likewise.
30152 * string/bits/string2.h: Likewise.
30153 * string/string.h: Likewise.
30154 * string/strings.h: Likewise.
30155 * sunrpc/rpc/auth.h: Likewise.
30156 * sunrpc/rpc/auth_des.h: Likewise.
30157 * sunrpc/rpc/clnt.h: Likewise.
30158 * sunrpc/rpc/netdb.h: Likewise.
30159 * sunrpc/rpc/pmap_clnt.h: Likewise.
30160 * sunrpc/rpc/xdr.h: Likewise.
30161 * sysdeps/generic/inttypes.h: Likewise.
30162 * sysdeps/generic/net/if.h: Likewise.
30163 * sysdeps/generic/sys/swap.h: Likewise.
30164 * sysdeps/gnu/net/if.h: Likewise.
30165 * sysdeps/gnu/utmpx.h: Likewise.
30166 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
30167 * sysdeps/i386/i486/bits/string.h: Likewise.
30168 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
30169 * sysdeps/s390/bits/string.h: Likewise.
30170 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
30171 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
30172 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
30173 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
30174 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
30175 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
30176 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
30177 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
30178 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
30179 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30180 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
30181 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
30182 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
30183 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
30184 * sysdeps/unix/sysv/linux/readv.c: Likewise.
30185 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
30186 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
30187 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30188 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
30189 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
30190 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30191 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
30192 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
30193 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
30194 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
30195 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
30196 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
30197 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30198 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
30199 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
30200 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
30201 * sysvipc/sys/ipc.h: Likewise.
30202 * sysvipc/sys/msg.h: Likewise.
30203 * sysvipc/sys/sem.h: Likewise.
30204 * sysvipc/sys/shm.h: Likewise.
30205 * termios/termios.h: Likewise.
30206 * time/sys/time.h: Likewise.
30207 * time/time.h: Likewise.
30208 * wcsmbs/bits/wchar2.h: Likewise.
30209 * wcsmbs/uchar.h: Likewise.
30210 * wcsmbs/wchar.h: Likewise.
30211 * wctype/wctype.h: Likewise.
30212
0269750c
UD
30213 [BZ #13551]
30214 * Makeconfig: Remove all but ELF support including AIX support.
30215 * Makerules: Likewise.
30216 * config.h.in: Likewise.
30217 * config.make.in: Likewise.
30218 * configure: Likewise.
30219 * configure.in: Likewise.
30220 * csu/Makefile: Likewise.
30221 * csu/version.c: Likewise.
30222 * debug/Makefile: Likewise.
30223 * dlfcn/Makefile: Likewise.
30224 * elf/Makefile: Likewise.
30225 * extra-lib.mk: Likewise.
30226 * iconv/Makefile: Likewise.
30227 * include/libc-symbols.h: Likewise.
30228 * include/shlib-compat.h: Likewise.
30229 * resolv/Makefile: Likewise.
30230 * resolv/res_libc.c: Likewise.
30231 * rt/Makefile: Likewise.
30232 * sysdeps/i386/asm-syntax.h: Likewise.
30233 * sysdeps/i386/sysdep.h: Likewise.
30234 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30235 * sysdeps/mach/sysdep.h: Likewise.
30236 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
30237 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
30238 * sysdeps/s390/asm-syntax.h: Likewise.
30239 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30240 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30241 * sysdeps/sh/sysdep.h: Likewise.
30242 * sysdeps/unix/sparc/sysdep.h: Likewise.
30243 * sysdeps/wordsize-32/divdi3.c: Likewise.
30244 * sysdeps/x86_64/sysdep.h: Likewise.
30245
00bbd29b
UD
30246 * argp/Versions: Remove _argp_unlock_xxx.
30247
30248 [BZ #13559]
30249 * abilist/ld.abilist: Update. Adjust for removal of tls option.
30250 * abilist/libBrokenLocale.abilist: Likewise.
30251 * abilist/libanl.abilist: Likewise.
30252 * abilist/libc.abilist: Likewise.
30253 * abilist/libcrypt.abilist: Likewise.
30254 * abilist/libdl.abilist: Likewise.
30255 * abilist/libm.abilist: Likewise.
30256 * abilist/libnsl.abilist: Likewise.
30257 * abilist/libpthread.abilist: Likewise.
30258 * abilist/libresolv.abilist: Likewise.
30259 * abilist/librt.abilist: Likewise.
30260 * abilist/libthread_db.abilist: Likewise.
30261 * abilist/libutil.abilist: Likewise.
30262 * abilist/libnss_db.abilist: New file.
30263
30264 * scripts/abilist.awk: Add support for indirect functions.
30265
a2693a0e
UD
30266 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
30267
3f05895f
UD
30268 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
30269
ecb6fb48
UD
30270 * shlib-versions: Remove entries for ports architectures.
30271
664f8cb9
UD
30272 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
30273 files in ports.
30274 * elf/stackguard-macros.h: Remove support for IA-64.
30275 * elf/tst-auditmod1.c: Likewise.
30276 * sysdeps/generic/ldsodefs.h: Likewise.
30277
7ae81d88
UD
30278 * sysdeps/unix/sysv/linux/configure.in: Ports should define
30279 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
30280 configure files.
30281
bdeba135
UD
30282 [BZ #13552]
30283 * configure.in: Remove --enable-omitfp support.
30284 * FAQ.in: Adjust.
30285 * config.make.in: Likewise.
30286 * Makeconfig: Likewise.
30287 * manual/install.texi: Likewise.
30288
d75a0a62
UD
30289 In case anyone cares, the IA-64 architecture could move to ports.
30290 * sysdeps/ia64/*: Removed.
30291 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 30292 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 30293
dcc9756b
UD
30294 [BZ #13555]
30295 * configure.in: Remove entries for unsupported architectures.
30296
d3761ebc 30297 [BZ #13533]
9954432e
UD
30298 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
30299 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
30300 routines.
30301 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
30302 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
30303 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
30304 fall back to using wcrtomb.
30305 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
30306 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
30307 renaming.
30308 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
30309 * wcsmbs/tst-c16c32-1.c: New file.
30310
30311 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
30312 local variable.
30313
c3a87236
UD
30314 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
30315
28926a1b
UD
30316 * elf/tst-unique3.cc: Add explicit declaration of gets.
30317 * elf/tst-unique3lib.cc: Likewise.
30318 * elf/tst-unique3lib2.cc: Likewise.
30319 * elf/tst-unique4.cc: Likewise.
30320
df78418a
UD
30321 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
30322
8ecd6b2a
JM
303232012-01-06 Joseph Myers <joseph@codesourcery.com>
30324
30325 [BZ #13566]
30326 * assert/assert.h (static_assert): Don't define for C++.
30327 * libio/stdio.h (gets): Do declare for C++ <= C++11.
30328 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
30329
9f115170
UD
303302012-01-03 Ulrich Drepper <drepper@gmail.com>
30331
5e0d0300
UD
30332 * iconv/loop.c (single loop): Fix assertion in storing of
30333 remaining bytes.
30334
9f115170
UD
30335 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
30336
81fb02b0
UD
303372012-01-01 Ulrich Drepper <drepper@gmail.com>
30338
30339 * posix/getconf.c: Update copyright year.
30340 * nss/getent.c: Likewise.
a316c1f6 30341 * nss/makedb.c: Likewise.
81fb02b0
UD
30342 * iconv/iconvconfig.c: Likewise.
30343 * iconv/iconv_prog.c: Likewise.
30344 * elf/ldconfig.c: Likewise.
a316c1f6
UD
30345 * elf/pldd.c: Likewise.
30346 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
30347 * catgets/gencat.c: Likewise.
30348 * csu/version.c: Likewise.
30349 * elf/ldd.bash.in: Likewise.
30350 * elf/sprof.c (print_version): Likewise.
30351 * locale/programs/locale.c: Likewise.
30352 * locale/programs/localedef.c: Likewise.
a316c1f6 30353 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
30354 * nscd/nscd.c (print_version): Likewise.
30355 * debug/xtrace.sh: Likewise.
30356 * malloc/memusage.sh: Likewise.
30357 * malloc/mtrace.pl: Likewise.
30358 * debug/catchsegv.sh: Likewise.
30359
2ba92745
JJ
303602011-12-30 Jakub Jelinek <jakub@redhat.com>
30361
30362 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
30363 pure attribute.
30364
dadebdae
UD
303652011-12-24 Ulrich Drepper <drepper@gmail.com>
30366
d3761ebc 30367 [BZ #13533]
db6af3eb
UD
30368 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
30369 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
30370 transformations.
30371 * iconv/gconv_int.h: Likewise.
30372 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
30373 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
30374 from libc for GLIBC_2.16.
30375 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
30376 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
30377 * wcsmbs/uchar.h: Really define mbstate_t.
30378 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
30379 * wcsmbs/c16rtomb.c: New file.
30380 * wcsmbs/mbrtoc16.c: New file.
30381 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
30382 for C/POSIX locale.
30383 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
30384 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
30385
dadebdae
UD
30386 * wcsmbs/wchar.h: Add missing __restrict.
30387
67371b56
UD
303882011-12-23 Ulrich Drepper <drepper@gmail.com>
30389
74033a25
UD
30390 [BZ #13532]
30391 * time/Makefile (routines): Add timespec_get.
30392 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
30393 * time/time.h: Define TIME_UTC and declare timespec_get. Define
30394 timespec for ISO C11.
30395 * time/timespec_get.c: New file.
30396 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
30397 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
30398
380d7e87
UD
30399 [BZ #13531]
30400 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
30401 * stdlib/stdlib.h: Declare aligned_alloc.
30402 * Versions.def: Add GLIBC_2.16 for libc.
30403 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
30404
4e9e7a35
UD
30405 [BZ 13527]
30406 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
30407 ISO C11.
30408
380d7e87 30409 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
30410 code.
30411
03a71829
UD
30412 [BZ #13528]
30413 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
30414
839e283e
UD
30415 [BZ #13529]
30416 * assert/assert.h (static_assert): Define.
30417
ce5294e2 30418 * version.h: Update for 2.16 development version.
90fa7312 30419
8d44e150 30420 [BZ #13526]
d7809905
UD
30421 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
30422 _ISOC11_SOURCE.
30423
c0da14cd
UD
30424 * version.h (RELEASE): Bump for 2.15 release.
30425 * include/features.h (__GLIBC_MINOR__): Bump to 15.
30426
530a3249
MP
30427 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
30428 Patch by Marek Polacek <mpolacek@redhat.com>.
30429
67371b56
UD
30430 * bits/byteswap.h: Protect long long constants with __extension__.
30431 * sysdeps/i386/bits/byteswap.h: Likewise.
30432 * sysdeps/ia64/bits/byteswap.h: Likewise.
30433 * sysdeps/s390/bits/byteswap.h: Likewise.
30434 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30435
15db4de1
LD
304362011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30437
30438 [BZ #13540]
bbe315ea
LD
30439 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
30440 destination buffer.
15db4de1
LD
30441 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
30442
2b2596b1
MP
304432011-12-23 Marek Polacek <polacek@redhat.com>
30444
30445 * elf/dl-addr.c (determine_info): Add inline keyword.
30446 * elf/tst-auditmod4b.c (check_avx): Likewise.
30447 * elf/tst-auditmod6b.c (check_avx): Likewise.
30448 * elf/tst-auditmod6c.c (check_avx): Likewise.
30449 * elf/tst-auditmod7b.c (check_avx): Likewise.
30450
70c6c246
UD
304512011-12-23 Ulrich Drepper <drepper@gmail.com>
30452
30453 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
30454 !__SSE_MATH__.
30455
c044cf14
LD
304562011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30457
15db4de1 30458 [BZ #13540]
c044cf14
LD
30459 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
30460 processing for last bytes.
30461
6b13d9d9
BH
304622011-08-06 Bruno Haible <bruno@clisp.org>
30463
d455f537
BH
30464 [BZ #13061]
30465 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
30466 U+0385, not to U+1FEE.
30467
6b13d9d9
BH
30468 [BZ #13062]
30469 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
30470 entry for U+00A5 U+0301.
30471
db910efd
UD
304722011-12-22 Ulrich Drepper <drepper@gmail.com>
30473
27deeafc
UD
30474 [BZ #13166]
30475 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
30476 buffer for the output is too small.
30477
aed9d171
UD
30478 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
30479 optimization.
30480
db910efd
UD
30481 [BZ #13185]
30482 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
30483 SSE flags if possible.
30484
2bd779ae
LD
304852011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30486
e7f9dac3 30487 [BZ #13540]
2bd779ae
LD
30488 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
30489 processing for last bytes.
30490
154bfc16
JM
304912011-12-22 Joseph Myers <joseph@codesourcery.com>
30492
30493 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
30494 (syscall-list-default-options, syscall-list-default-condition)
30495 (syscall-list-includes): Define.
30496 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
30497 list of ABIs and options and #if conditions for each ABI. Do not
30498 handle common syscalls between ABIs specially.
30499 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
30500 Remove.
30501 (syscall-list-variants, syscall-list-32bit-options)
30502 (syscall-list-32bit-condition, syscall-list-64bit-options)
30503 (syscall-list-64bit-condition): Define.
30504 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
30505 (syscall-list-variants, syscall-list-32bit-options)
30506 (syscall-list-32bit-condition, syscall-list-64bit-options)
30507 (syscall-list-64bit-condition): Define.
30508 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
30509 Remove.
30510 (syscall-list-variants, syscall-list-32bit-options)
30511 (syscall-list-32bit-condition, syscall-list-64bit-options)
30512 (syscall-list-64bit-condition): Define.
30513 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
30514 Remove.
30515 (syscall-list-variants, syscall-list-32bit-options)
30516 (syscall-list-32bit-condition, syscall-list-64bit-options)
30517 (syscall-list-64bit-condition): Define.
30518
21eaf3a5
UD
305192011-12-22 Ulrich Drepper <drepper@gmail.com>
30520
16c6f992
UD
30521 * locale/iso-639.def: Add brx entry.
30522
41043168
UD
30523 [BZ #13328]
30524 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
30525 Proposed by Mariusz_Cukr <marcukr@op.pl>.
30526
21eaf3a5
UD
30527 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
30528 __feraiseexcept_renamed.
30529
e3a851a2
UD
305302011-12-21 Ulrich Drepper <drepper@gmail.com>
30531
4920765e
UD
30532 [BZ #13538]
30533 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
30534 EPOLLET with unsigned values.
30535 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30536 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30537
e3a851a2
UD
30538 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
30539 to large cancellation.
30540 * math/s_cacoshf.c: Likewise.
30541 * math/s_cacoshl.c: Likewise.
30542
b27e24b8
RK
305432011-11-18 Richard B. Kreckel <kreckel@ginac.de>
30544
30545 [BZ #13305]
aebefeee 30546 [BZ #12786]
b27e24b8
RK
30547 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
30548 * math/s_cacoshf.c: Likewise.
30549 * math/s_cacoshl.c: Likewise.
30550
ee190f67
UD
305512011-12-21 Ulrich Drepper <drepper@gmail.com>
30552
30553 [BZ #13439]
30554 * iconv/gconv.h: Define __GCONV_SWAP.
30555 * iconvdata/unicode.c: The swap bit must be stored in __flags.
30556 * iconvdata/utf-16.c: Likewise.
30557 * iconvdata/utf-32.c: Likewise.
30558
707f25df
AS
305592011-12-21 Andreas Schwab <schwab@linux-m68k.org>
30560
30561 [BZ #13524]
30562 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
30563 numerator after shifting it by one limb.
30564
d2daaa1e
RÁE
305652011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
30566
30567 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
30568 under [__USE_EXTERN_INLINES].
30569
a4647e72
UD
305702011-12-17 Ulrich Drepper <drepper@gmail.com>
30571
30572 [BZ #13446]
30573 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
30574
f0b264f1
AZ
305752011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30576
30577 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
30578 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
30579 optimized code.
30580 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
30581 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
30582 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
30583 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
30584 for strncasecmp/strncasecmp_l compilation.
30585 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
30586 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
30587
8ef4f244
MP
305882011-12-08 Marek Polacek <mpolacek@redhat.com>
30589
30590 [BZ #13484]
30591 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
30592 of __asm__.
30593
97ac2654
UD
305942011-12-17 Ulrich Drepper <drepper@gmail.com>
30595
30596 [BZ #13506]
30597 * time/tzfile.c (__tzfile_read): Check values from file header.
30598
91d2a845
WS
305992011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30600
30601 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
30602 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
30603 * powerpc/powerpc32/dl-start.S: Likewise.
30604 * powerpc/powerpc32/elf/start.S: Likewise.
30605 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30606 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
30607 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
30608 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
30609 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30610 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
30611 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
30612 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30613 * powerpc/powerpc32/fpu/s_round.S: Likewise.
30614 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
30615 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
30616 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
30617 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
30618 * powerpc/powerpc32/memset.S: Likewise.
30619 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30620 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30621 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30622 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30623 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30624 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30625 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30626 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30627 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
30628 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
30629 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
30630 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30631 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30632
a1267ba1
AZ
306332011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30634
30635 * math/libm-test.inc: Added more nearbyint tests.
30636 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
30637 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
30638 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
30639 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
30640
ad8ac1bd
RL
306412011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
30642
30643 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
30644 FD_CLOEXEC.
30645
1d3e4b61
UD
306462011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30647
30648 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
30649 Add wcscpy-ssse3 wcscpy-c.
30650 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
30651 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
30652 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
30653 * sysdeps/x86_64/wcschr.S: New file.
30654 * sysdeps/x86_64/wcsrchr.S: New file.
30655 * string/test-strcmp.c: Remove checking of wcscmp function for
30656 wrong alignments.
30657 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
30658 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
30659 wcsrchr-sse2 wcsrchr-c.
30660 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
30661 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
30662 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
30663 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
30664 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
30665 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
30666 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
30667 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
30668 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
30669 * wcsmbc/wcschr.c (WCSCHR): New macro.
30670
5b330a2d
UD
306712011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30672
30673 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
30674 * wcsmbs/test-wcsrchr.c: New file.
30675 * string/test-strrchr.c: Add wcsrchr support.
30676 (WIDE): New macro.
30677 * wcsmbs/test-wcscpy.c: New file.
30678 * string/test-strcpy.c: Add wcscpy support.
30679 (WIDE): New macro.
26428b7c 30680
f039c043
UD
306812011-12-10 Ulrich Drepper <drepper@gmail.com>
30682
30683 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
30684 the inner loop.
30685
850fb039
AS
306862011-12-06 Andreas Schwab <schwab@linux-m68k.org>
30687
30688 [BZ #13472]
30689 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
30690
4efbd5cb
UD
306912011-12-04 Ulrich Drepper <drepper@gmail.com>
30692
52ff5dd0 30693 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 30694 Minor optimizations.
52ff5dd0 30695
4efbd5cb
UD
30696 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
30697 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
30698 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
30699
8a426e12
UD
307002011-12-03 Ulrich Drepper <drepper@gmail.com>
30701
aff2453d
UD
30702 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
30703 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
30704 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
30705 for gcc to avoid warnings.
30706 * inet/Makefile (tests): Add tst-checks.
30707 * inet/tst-checks.c: New file.
30708
30709 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
30710 warning.
30711
30712 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
30713 __wmemcmp_sse2.
30714
30715 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
30716 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
30717
8a426e12
UD
30718 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
30719
9bea3473
UD
307202011-12-02 Ulrich Drepper <drepper@gmail.com>
30721
3a965496
UD
30722 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
30723 problem.
30724
9bea3473
UD
30725 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
30726
f101631b
UD
307272011-11-29 Joseph Myers <joseph@codesourcery.com>
30728
30729 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
30730 conditional on GCC version.
30731 (__arch_compare_and_exchange_val_8_acq)
30732 (__arch_compare_and_exchange_val_16_acq)
30733 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
30734 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
30735 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
30736
a98275aa
UD
307372011-12-02 Joseph Myers <joseph@codesourcery.com>
30738
30739 * sysdeps/sh/backtrace.c: New file.
30740
d4cc29a2
AS
307412011-12-02 Andreas Schwab <schwab@redhat.com>
30742
30743 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
30744 parenthesis.
30745
6257af2d
AS
307462011-12-01 Andreas Schwab <schwab@redhat.com>
30747
30748 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
30749 falling back to utime.
30750
b5f44c1a
AS
307512011-11-30 Andreas Schwab <schwab@redhat.com>
30752
30753 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
30754 expectations for float.
30755
f3a6cc0a
AS
307562011-11-29 Andreas Schwab <schwab@redhat.com>
30757
30758 * locale/weight.h (findidx): Add parameter len.
30759 * locale/weightwc.h (findidx): Likewise.
30760 * posix/fnmatch_loop.c (FCT): Adjust caller.
30761 * posix/regcomp.c (build_equiv_class): Likewise.
30762 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
30763 * posix/regexec.c (check_node_accept_bytes): Likewise.
30764 * string/strcoll_l.c (STRCOLL): Likewise.
30765 * string/strxfrm_l.c (STRXFRM): Likewise.
30766
9d65ea3a
UD
307672011-11-17 Ulrich Drepper <drepper@gmail.com>
30768
30769 * Makefile.in: Remove CVSOPT handling.
30770 * configure.in: Remove use of AC_REVISION.
30771 * iconvdata/Makefile (distribute): No need to filter out CVS.
30772 * scripts/list-sources.sh: Remove CVS, subversion and monotone
30773 handling.
30774
5583a086
AS
307752011-11-16 Andreas Schwab <schwab@redhat.com>
30776
30777 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
30778 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
30779 [USE_AS_STRNCASECMP_L]: Likewise.
30780 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
30781 NO_TLS_DIRECT_SEG_REFS.
30782 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
30783 Fix argument offsets for non-PIC.
30784 [USE_AS_STRNCASECMP_L]: Likewise.
30785 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
30786 NO_TLS_DIRECT_SEG_REFS.
30787
d62a8200
UD
307882011-11-15 Ulrich Drepper <drepper@gmail.com>
30789
9d65ea3a 30790 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
30791 O_CLOEXEC.
30792 * locale/loadlocale.c (_nl_load_locale): Likewise.
30793
09f93bd3
AS
307942011-11-15 Andreas Schwab <schwab@redhat.com>
30795
446514f9
AS
30796 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
30797 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
30798 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
30799 (SYSCALL_GETTIME): Set errno on error.
30800
09f93bd3
AS
30801 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
30802 count references to noai6ai_cached.
30803
312be3f9
UD
308042011-11-15 Ulrich Drepper <drepper@gmail.com>
30805
30806 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
30807
30808 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
30809 FD_CLOEXEC for /proc/self/maps.
30810
30811 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
30812 FD_CLOEXEC for /proc/meminfo.
30813
30814 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
30815 gai.conf.
30816
30817 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
30818 FD_CLOEXEC for given file.
30819
30820 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
30821
30822 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
30823 FD_CLOEXEC for /etc/hosts.
30824 (_gethtent): Likewise.
30825
30826 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
30827
30828 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
30829 cancellation and set FD_CLOEXEC for /etc/netgroup.
30830
30831 * nss/nss_files/files-key.c (search): Don't allow cancellation when
30832 reading /etc/publickey.
30833
30834 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
30835 allow cancellation when reading /etc/group.
30836
30837 * nss/nss_files/files-alias.c (internal_setent): Don't allow
30838 cancellation.
30839 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
30840
30841 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
30842 when using data file.
30843
30844 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
30845
30846 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
30847 (write_nis_obj): Use "c" and "e" in fopen.
30848
30849 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
30850
30851 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
30852
30853 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
30854
30855 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
30856
30857 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
30858 locale.alias.
30859
30860 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
30861
30862 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
30863
30864 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
30865
30866 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
30867 file parsing and set FD_CLOEXEC.
30868
82af0fa8
UD
308692011-11-14 Ulrich Drepper <drepper@gmail.com>
30870
30871 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
30872
a5fb313c
AS
308732011-11-14 Andreas Schwab <schwab@redhat.com>
30874
30875 * malloc/arena.c (arena_get2): Don't call reused_arena when
30876 _int_new_arena failed.
30877
6abf3465
UD
308782011-11-14 Ulrich Drepper <drepper@gmail.com>
30879
30880 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
30881 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
30882 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
30883 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30884 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30885 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
30886 to compile strcasecmp and strncasecmp.
30887 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
30888 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
30889
30890 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
30891
76e3966e
UD
308922011-11-13 Ulrich Drepper <drepper@gmail.com>
30893
30894 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
30895 locale-defines.sym to gen-as-const-headers.
30896 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
30897 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
30898 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
30899 to compile strcasecmp and strncasecmp.
30900 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
30901 strcasecmp_l and strncasecmp_l.
30902 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
30903 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
30904 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
30905 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
30906 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
30907 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
30908 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
30909 * sysdeps/i386/i686/multiarch/strncase.S: New file.
30910 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
30911 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
30912 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
30913
ab26144e
UD
309142011-11-12 Ulrich Drepper <drepper@gmail.com>
30915
7edb22ef
UD
30916 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
30917 result of SYSDEP_GETTIME_CPU to retval.
30918 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
30919 parameter list to macro. Remove trailing semicolon. Adjust users.
30920
9694fc44
UD
30921 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
30922 variable.
30923
8ad89ef8
UD
30924 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
30925 mantissa words.
30926 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
30927
0c822ef9
UD
30928 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
30929 from unused variable.
30930
874e0564
UD
30931 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
30932 DWARF definitions.
30933 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
30934 for assembling.
30935
3a2edc79
UD
30936 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
30937 over namespaces.
30938
f3c2577f
UD
30939 * sunrpc/rpc_prot.c (rejected): Fix case value.
30940
294ce126
UD
30941 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
30942 unsigned long long int to avoid warnings in shift.
30943
5e2b63c6
UD
30944 * posix/regex_internal.c (re_string_reconstruct): Actually use result
30945 of use of trans.
30946 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
30947 variable tmp.
30948
e7f4b08e
UD
30949 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
30950 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
30951 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
30952
ab26144e
UD
30953 * nis/nis_table.c (nis_list): Use variable of correct type for
30954 result of __follow_path call.
30955
8a6d5255
AZ
309562011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30957
30958 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
30959 of math functions ceil, trunc, floor, round, and sqrt, when
30960 avaliable on the platform.
30961 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
30962 name clash.
30963 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30964 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30965 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30966
aaddc98c
MP
309672011-10-30 Marek Polacek <mpolacek@redhat.com>
30968
30969 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
30970 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30971
95b7042b
RM
309722011-11-11 Roland McGrath <roland@hack.frob.com>
30973
30974 * include/unistd.h: Fix __readlink return type.
30975 Reported by Chris Metcalf <cmetcalf@tilera.com>.
30976
57769839
UD
309772011-11-11 Ulrich Drepper <drepper@gmail.com>
30978
30979 * stdlib/ucontext.h: Undo last change for makecontext.
30980
edc5984d
AS
309812011-11-11 Andreas Schwab <schwab@redhat.com>
30982
98591e58
AS
30983 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
30984
edc5984d
AS
30985 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
30986 * setjmp/setjmp.h: Mark functions as non-leaf.
30987 * setjmp/bits/setjmp2.h: Likewise.
30988 * stdlib/ucontext.h: Likewise.
30989
77cdc054
AS
309902011-11-10 Andreas Schwab <schwab@redhat.com>
30991
30992 * malloc/arena.c (_int_new_arena): Don't increment narenas.
30993 (reused_arena): Don't check arena limit.
30994 (arena_get2): Atomically check arena limit.
30995
fe72eebd
UD
309962011-11-08 Ulrich Drepper <drepper@gmail.com>
30997
5f078c32
UD
30998 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
30999 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
31000
fe72eebd
UD
31001 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
31002 instructions.
31003
ae1bc2fa
AS
310042011-11-07 Andreas Schwab <schwab@redhat.com>
31005
7583a88d
AS
31006 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
31007 handler when locking.
31008
ae1bc2fa
AS
31009 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31010 Fix size of allocated buffer.
31011
10fb0bfa
AS
310122011-11-04 Andreas Schwab <schwab@redhat.com>
31013
998832a4
AS
31014 [BZ #10103]
31015 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
31016 declarations for long double functions.
31017 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
31018
10fb0bfa
AS
31019 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
31020
3d7ba52b
AS
310212011-11-03 Andreas Schwab <schwab@redhat.com>
31022
a9ae54a1
AS
31023 * nscd/nscd.c (main): Don't start AVC thread until credentials are
31024 installed.
31025
3d7ba52b
AS
31026 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
31027 is disabled.
31028
bc8db248
ST
310292011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
31030
31031 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
31032
45b96dd6
AS
310332011-11-01 Andreas Schwab <schwab@linux-m68k.org>
31034
647776f6
AS
31035 * include/alloca.h (stackinfo_alloca_round): Define.
31036 (extend_alloca): Use it.
31037 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
31038 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
31039 here.
31040
d91a8b93
AS
31041 * scripts/check-local-headers.sh: Ignore libaudit.h.
31042
45b96dd6
AS
31043 * nscd/Makefile (extra-objs): Make recursively expanded.
31044
432d41ce
UD
310452011-11-01 Ulrich Drepper <drepper@gmail.com>
31046
34372fc6
UD
31047 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
31048 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31049
fadb59f8
UD
31050 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
31051 * posix/tst-rfc3484-2.c: Likewise.
31052 * posix/tst-rfc3484-3.c: Likewise.
31053
78239589
UD
31054 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31055 process_vm_writev.
31056 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
31057 process_vm_writev.
31058 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
31059 process_vm_writev from libc using GLIBC_2.15 version.
31060
432d41ce
UD
31061 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
31062
02f9c6cf
PP
310632011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
31064
31065 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
31066 stack usage.
31067
3a2c0242
UD
310682011-10-31 Ulrich Drepper <drepper@gmail.com>
31069
f4ec4833
UD
31070 [BZ #13367]
31071 * nss/getent.c (initgroups_keys): Show error message in case no group
31072 names are given.
31073
3a2c0242
UD
31074 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
31075 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
31076 __bump_nl_timestamp.
31077 * nscd/connections (nscd_init): When host database is served open
31078 netlink socket and request notification about configuration changes.
31079 (main_loop_poll): Track netlink file descriptor and bump timestamp
31080 in case data becomes available.
31081 (main_loop_epoll): Likewise.
31082 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
31083 (database_pers_head): Add extra_data fileds.
31084 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
31085 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
31086 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
31087 Adjust caller.
31088 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
31089 in6ai data, call __free_in6ai.
31090 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
31091 Add -DHAVE_NETLINK.
31092 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
31093 interface information. Reuse previous data if netlink timestamp
31094 is not changed.
31095 (__bump_nl_timestamp): New function.
31096 (__free_in6ai): New function.
31097
636064eb
UD
310982011-10-30 Ulrich Drepper <drepper@gmail.com>
31099
31100 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
31101 close_not_cancel_no_status here.
31102 (__check_pf): Reorganize code a bit to not call close twice if OOM.
31103
9beb2334
UD
311042011-10-29 Ulrich Drepper <drepper@gmail.com>
31105
6ef76f3b
UD
31106 [BZ #13276]
31107 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
31108 return value.
31109
0ffc4f3e 31110 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
31111 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
31112 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
31113
cb95113e
UD
311142011-07-03 Andreas Jaeger <aj@suse.de>
31115
31116 [BZ #10709]
31117 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
31118 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
31119 * math/libm-test.inc (sin_test): Add test case.
31120
a1b560ff
UD
311212011-10-29 Ulrich Drepper <drepper@gmail.com>
31122
c9aaface
UD
31123 [BZ #13337]
31124 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
31125 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31126
d272e7f1
UD
31127 * elf/chroot_canon.c (chroot_canon): Cleanups.
31128
1bc33071
UD
31129 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
31130
1760874d
TJ
31131 [BZ #13335]
31132 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
31133 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31134
51d91b18
UD
31135 * string/test-strchr.c: Make usable for strchrnul testing.
31136 * string/test-strchrnul.c: New file.
31137 * string/Makefile (strop-tests): Add strchrnul.
31138
a1b560ff 31139 * po/it.po: Update from translation team.
b611fb81 31140 * po/es.po: Likewise.
a1b560ff 31141
a5b81e1f
UD
311422011-10-28 Ulrich Drepper <drepper@gmail.com>
31143
fd52bc6d
UD
31144 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
31145 the three constants needed as parameters. Drop the others.
31146 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
31147 __m128i_strloadu_tolower.
52e4b9eb
UD
31148 Create and initialize variable zero and use it in all the places
31149 where _mm_setzero_si128 was used.
fd52bc6d 31150
a5b81e1f
UD
31151 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
31152 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
31153 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
31154 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
31155 anymore.
31156 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
31157 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
31158 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
31159 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
31160 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
31161 __mpranred, __mptan.
31162 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
31163 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
31164 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
31165 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
31166 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
31167 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
31168 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
31169 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
31170 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
31171
b4343346
AS
311722011-10-28 Andreas Schwab <schwab@redhat.com>
31173
0c92d8a8
AS
31174 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
31175 redefine if SHARED.
31176 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
31177
b4343346
AS
31178 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
31179 wide char related routines to wcsmbs subdir.
31180
3871f58f
AS
311812011-10-27 Andreas Schwab <schwab@redhat.com>
31182
31183 [BZ #13344]
31184 * misc/sys/cdefs.h (__THROWNL): Define.
31185 * posix/unistd.h: Use __THREADNL instead of __THREAD
31186 for memory synchronization functions.
31187
94d44d9f
RM
311882011-10-26 Roland McGrath <roland@hack.frob.com>
31189
21b64b15 31190 [BZ #13349]
94d44d9f
RM
31191 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
31192 doesn't exist.
31193 * manual/stdio.texi (Obstack Streams): Node removed.
31194
f6ce9294
AS
311952011-10-26 Andreas Schwab <schwab@redhat.com>
31196
80479147
AS
31197 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
31198 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31199 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31200
f6ce9294
AS
31201 * math/math_private.h (math_force_eval): Allow non-addressable
31202 arguments.
31203 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
31204
618280a1
UD
312052011-10-25 Ulrich Drepper <drepper@gmail.com>
31206
e0016b11
UD
31207 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
31208 file is not needed.
31209
31210 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
31211 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31212 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31213 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31214 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31215 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31216 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31217 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
31218 Add AVX variants.
31219 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
31220 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
31221 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
31222 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
31223 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
31224 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
31225 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
31226 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
31227 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
31228 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
31229 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
31230 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
31231 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
31232 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
31233 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
31234 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
31235 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
31236 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
31237 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
31238
31239 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
31240 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
31241
618280a1
UD
31242 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
31243 place. Use VEX encoding when compiling for AVX.
31244
37822576
AS
312452011-10-25 Andreas Schwab <schwab@redhat.com>
31246
1f1e1947
AS
31247 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
31248 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31249
37822576
AS
31250 * string/test-strchr.c (do_test): Don't generate NUL bytes.
31251
31ea014d
UD
312522011-10-25 Ulrich Drepper <drepper@gmail.com>
31253
d7826aa1 31254 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 31255 useless if() expression.
d7826aa1
UD
31256 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31257 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31258 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31259 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31260 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31261 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31262 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31263 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31264 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31265 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31266 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31267 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31268 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
31269 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31270 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
31271 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31272 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31273 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31274 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
31275
31ea014d
UD
31276 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
31277
16437fec
AS
312782011-10-25 Andreas Schwab <schwab@redhat.com>
31279
31280 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
31281 condition.
31282 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31283
31d3cc00
UD
312842011-10-25 Ulrich Drepper <drepper@gmail.com>
31285
31286 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
31287 .text section. Avoid duplicate constants.
31288 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31289 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31290 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31291 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31292 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31293 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31294 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31295 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31296 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31297 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
31298 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31299 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31300 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31301 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31302 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31303 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31304 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31305 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31306 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31307 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31308 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31309 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31310 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31311 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
31312 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
31313 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
31314 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
31315 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
31316 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
31317 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
31318 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
31319 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
31320 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31321 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
31322 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
31323 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
31324 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
31325 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
31326 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
31327 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
31328 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
31329 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
31330 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
31331 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
31332 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
31333
58985aa9
UD
313342011-10-24 Ulrich Drepper <drepper@gmail.com>
31335
202c9deb
UD
31336 * sysdeps/x86_64/dla.h: Move to ...
31337 * sysdeps/x86_64/fpu/dla.h: ...here.
31338 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
31339 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 31340
af968f62
UD
31341 * config.make.in: Add have-mfma4 entry.
31342 * configure.in: Substitute libc_cv_cc_fma4.
31343 * math/Makefile (dbl-only-routines): Add sincostab.
31344 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
31345 Use __sincostab not sincos.
31346 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
31347 name is a macro.
31348 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31349 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31350 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31351 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
31352 using __copysign.
31353 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
31354 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
31355 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
31356 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
31357 and __inv.
31358 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
31359 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
31360 __copysign.
31361 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
31362 define aliases when function name is a macro.
31363 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
31364 sysdeps/ieee754/dbl-64/sincos.tbl.
31365 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
31366 fma4-enabled routines.
31367 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
31368 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
31369 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
31370 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
31371 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
31372 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
31373 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
31374 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
31375 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
31376 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
31377 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
31378 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
31379 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
31380 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
31381 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
31382 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
31383 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
31384 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
31385 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
31386 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
31387 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
31388 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
31389 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
31390 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
31391 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
31392 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
31393 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
31394 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
31395 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
31396 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
31397
58985aa9
UD
31398 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
31399 rename.
31400 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31401 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31402 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31403 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31404 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31405 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31406 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31407 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31408
a201fbcf
AS
314092011-10-24 Andreas Schwab <schwab@redhat.com>
31410
31411 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
31412
fc2ee42a
LD
314132011-10-23 Ulrich Drepper <drepper@gmail.com>
31414
bb3129bd
UD
31415 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
31416
0275fff8
UD
31417 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
31418 prediction.
31419 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
31420
2fa2ae85
UD
31421 * string/strnlen.c: Don't define STRNLEN, reverse logic.
31422 Remove unused variable magic_bits.
31423 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
31424
fc2ee42a
LD
31425 * string/strnlen.c: Define and use STRNLEN macro.
31426 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
31427 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
31428 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
31429 * wcsmbs/wcslen.c: Define and use WCSLEN.
31430 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
31431 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
31432 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
31433 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
31434 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
31435 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
31436 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31437
ce7dd29f
LD
314382011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31439
31440 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31441 strnlen-sse2-no-bsf.
31442 Rename strlen-no-bsf to strlen-sse2-no-bsf.
31443 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
31444 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
31445 Add strnlen support.
31446 (USE_AS_STRNLEN): New macro.
31447 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
31448 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
31449 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
31450 * sysdeps/x86_64/wcslen.S: New file.
31451
979c70a3
MZ
314522011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
31453
31454 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31455 XMM-moves are used for copying on small sizes.
31456
2d09f82f
LD
314572011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31458
31459 * wcsmbs/Makefile (strop-tests): Add wcschr.
31460 * wcsmbs/test-wcschr.c: New file.
31461 * string/test-strchr.c: Update.
31462 Add wcschr support.
31463 (WIDE): New macro.
31464
619fccca
LD
314652011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31466
2d09f82f 31467 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
31468 * wcsmbs/test-wcslen.c: New file.
31469 * string/test-strlen.c: Update.
31470 Add wcslen support.
31471 (WIDE): New macro.
31472
09f699ea
UD
314732011-10-23 Ulrich Drepper <drepper@gmail.com>
31474
31475 * po/it.po: Update from translation team.
31476
95584d3b
LD
314772011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31478
31479 * sysdeps/x86_64/wcscmp.S: Update.
31480 Fix wrong comparison semantics.
31481 wcscmp shall use signed comparison not unsigned.
31482 Don't use substraction to avoid overflow bug.
31483 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
31484 * wcsmbc/wcscmp.c: Likewise.
31485 * string/test-strcmp.c: Likewise.
31486 Add new tests to check cases with negative values.
31487
c8b3296b
UD
314882011-10-23 Ulrich Drepper <drepper@gmail.com>
31489
31490 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
31491 * sysdeps/x86_64/dla.h: ...here. New file.
31492 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
31493 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31494 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31495 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31496 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31497 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31498 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31499 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31500 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31501
246ad57a
AS
315022011-10-23 Andreas Schwab <schwab@linux-m68k.org>
31503
31504 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
31505 __ynl_finite aliases.
31506
a1a87169
UD
315072011-10-22 Ulrich Drepper <drepper@gmail.com>
31508
0d355eb7
UD
31509 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31510
a1a87169
UD
31511 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
31512 define DLA_FMA.
31513 [DLA_FMA] (EMULV): Use DLA_FMA.
31514 [DLA_FMA] (MUL12): Use EMULV.
31515 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
31516 that are not needed.
31517 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31518 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31519 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31520 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31521 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31522 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31523 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31524
ee2aafe0
AS
315252011-10-22 Andreas Schwab <schwab@linux-m68k.org>
31526
31527 * math/s_nan.c: Undef __nan.
31528 * math/s_nanf.c: Undef __nanf.
31529 * math/s_nanl.c: Undef __nanl.
31530 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
31531 "math_private.h".
31532
bc62c2fb
UD
315332011-10-22 Ulrich Drepper <drepper@gmail.com>
31534
77425c63
UD
31535 * math/s_catan.c: Add branch predictions.
31536 * math/s_catanf.c: Likewise.
31537 * math/s_catanh.c: Likewise.
31538 * math/s_catanhf.c: Likewise.
31539 * math/s_catanhl.c: Likewise.
31540 * math/s_catanl.c: Likewise.
31541 * math/s_cexp.c: Likewise.
31542 * math/s_cexpf.c: Likewise.
31543 * math/s_cexpl.c: Likewise.
31544 * math/s_clog.c: Likewise.
31545 * math/s_clog10.c: Likewise.
31546 * math/s_clog10f.c: Likewise.
31547 * math/s_clog10l.c: Likewise.
31548 * math/s_clogf.c: Likewise.
31549 * math/s_clogl.c: Likewise.
31550 * math/s_csqrt.c: Likewise.
31551 * math/s_csqrtf.c: Likewise.
31552 * math/s_csqrtl.c: Likewise.
31553 * math/s_ctanf.c: Likewise.
31554 * math/s_ctanh.c: Likewise.
31555 * math/s_ctanhf.c: Likewise.
31556 * math/s_ctanhl.c: Likewise.
31557 * math/s_ctanl.c: Likewise.
31558
bc62c2fb
UD
31559 * math/math_private.h: Define __nan, __nanf, __nanl.
31560 * math/s_cacosh.c: Include <math_private.h>.
31561 * math/s_cacoshl.c: Likewise.
31562 * math/s_casinh.c: Likewise.
31563 * math/s_casinhf.c: Likewise.
31564 * math/s_casinhl.c: Likewise.
31565 * math/s_ccos.c: Rely entire on ccosh.
31566 * math/s_ccosf.c: Rely entire on ccoshf.
31567 * math/s_ccosl.c: Rely entirely on ccoshl.
31568 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
31569 Remove tests for FE_INVALID.
31570 * math/s_ccoshf.c: Likewise.
31571 * math/s_ccoshl.c: Likewise.
31572 * math/s_csin.c: Likewise.
31573 * math/s_csinf.c: Likewise.
31574 * math/s_csinh.c Likewise.
31575 * math/s_csinhf.c: Likewise.
31576 * math/s_csinhl.c: Likewise.
31577 * math/s_csinl.c: Likewise.
31578 * math/s_ctan.c: Likewise.
31579 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
31580 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
31581 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
31582
8ec250a4
UD
315832011-10-21 Ulrich Drepper <drepper@gmail.com>
31584
c196fed8
UD
31585 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
31586 compilation problems.
31587
8ec250a4
UD
31588 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
31589 __builtin_expect.
31590
8d4f46c6
UD
315912011-10-20 Ulrich Drepper <drepper@gmail.com>
31592
ed72b654
UD
31593 * sysdeps/i386/configure.in: Test for -mfma4 option.
31594 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
31595 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
31596 COMMON_CPUID_INDEX_80000001.
31597 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
31598 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
31599 use it if FMA3 is not supported.
31600 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
31601
8d4f46c6
UD
31602 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
31603 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31604
d45c60c2
AS
316052011-10-20 Andreas Schwab <schwab@redhat.com>
31606
31607 [BZ #12892]
31608 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
31609 it would create a cycle with a link time dependency.
31610
d9a4d2ab
UD
316112011-10-19 Ulrich Drepper <drepper@gmail.com>
31612
855d1560
UD
31613 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
31614 instruction.
31615 * string/Makefile (strop-tests): Add rawmemchr.
31616 * string/test-rawmemchr.c: New file.
31617
d9a4d2ab
UD
31618 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
31619 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
31620 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
31621 when compiling str{,n}casecmp and when AVX is available. Hook up
31622 new optimized code in initializers.
31623
8f3b1ffe
AS
316242011-10-19 Andreas Schwab <schwab@redhat.com>
31625
31626 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
31627 __feraiseexcept instead of feraiseexcept.
31628
d38f1dba
UD
316292011-10-18 Ulrich Drepper <drepper@gmail.com>
31630
d9a8d0ab
UD
31631 * math/math_private.h: Define defaults for libc_fetestexcept and
31632 libc_feupdateenv.
31633 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
31634 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
31635 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31636 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31637 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
31638 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31639 libc_fetestexcept and libc_feupdateenv.
31640
4855e3dd
UD
31641 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
31642 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
31643 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
31644 * sysdeps/x86_64/fpu/math_private.h: Define special version of
31645 libc_feholdexcept_setround.
31646
581d30e3
UD
31647 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
31648 Add s_nearbyint-c and s_nearbyintf-c.
31649 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
31650 nearbyintf inlines.
31651 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
31652 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
31653 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
31654 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
31655
d38f1dba
UD
31656 * math/math_private.h: Define defaults for libc_fegetround,
31657 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
31658 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
31659 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
31660 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
31661 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
31662 standard functions.
31663 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31664 Remove comments and hacks for old compiler versions.
31665 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31666 libc_fegetround, libc_fesetround, libc_feholdexcept, and
31667 libc_feholdexceptl.
31668
caa6c9d8
AS
316692011-10-18 Andreas Schwab <schwab@redhat.com>
31670
31671 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
31672 (__feraiseexcept_renamed): Add __NTH.
31673 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
31674 namespace violations.
31675
97c066e6
UD
316762011-10-17 Ulrich Drepper <drepper@gmail.com>
31677
99ce7b04
UD
31678 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
31679
1004d182
UD
31680 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
31681
228a984d
UD
31682 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
31683 recently added interfaces.
31684 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
31685
c8553a6a
UD
31686 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
31687 about macro parameter expansion.
31688
ed22dcf6
UD
31689 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
31690 __NO_MATH_INLINES is defined. Cleanups.
31691
31692 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
31693 and __floorf is target has SSE4.1.
31694 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
31695 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
31696 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
31697 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
31698
b171c137
UD
31699 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
31700 name.
31701 (floorf): Likewise.
31702
97c066e6
UD
31703 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
31704
629f62ef
AS
317052011-10-17 Andreas Schwab <schwab@redhat.com>
31706
49a43d80
AS
31707 * misc/sys/cdefs.h: Fix last change.
31708
629f62ef
AS
31709 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
31710 database lookup.
31711
e453f6cd
UD
317122011-10-16 Ulrich Drepper <drepper@gmail.com>
31713
aa78043a
UD
31714 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
31715
ad0f5cad
UD
31716 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
31717 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31718 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
31719 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31720 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31721 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
31722 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31723 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31724 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
31725 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
31726 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
31727 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
31728 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
31729 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
31730 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
31731 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
31732 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
31733 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
31734 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
31735 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
31736 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
31737 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
31738
31739 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
31740 ceil, ceilf, floor, floorf.
31741
31742 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
31743 Perform IRELATIVE relocations last.
31744
e453f6cd
UD
31745 * elf/do-rel.h: Add another parameter nrelative, replacing the
31746 local variable with the same name. Change name of the function
31747 to end in Rel or Rela (uppercase).
31748 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
31749 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
31750 elf_dynamic_do_##reloc function.
31751
fd5bdc09
UD
317522011-10-15 Ulrich Drepper <drepper@gmail.com>
31753
79b195b5
UD
31754 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
31755 is sufficient, at least on modern CPUs.
31756
d4a28569
UD
31757 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
31758
b61099b5
UD
31759 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
31760 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
31761
bcf01e6d
UD
31762 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
31763 __expl_finite.
31764 * math/bits/math-finite.h: Add entries for exp.
31765 * math/e_expl.c: Add __*_finite alias.
31766 * sysdeps/i386/fpu/e_exp.S: Likewise.
31767 * sysdeps/i386/fpu/e_expf.S: Likewise.
31768 * sysdeps/i386/fpu/e_expl.c: Likewise.
31769 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31770 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31771 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31772 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31773 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
31774 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31775 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31776
ba1a0d59
UD
31777 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
31778 is sufficient, at least on modern CPUs.
31779
fd5bdc09
UD
31780 * ctype/ctype-info.c (__ctype_init): Define.
31781 * include/ctype.h (__ctype_init): Declare.
31782 (__ctype_b_loc): The variable is always initialized.
31783 (__ctype_toupper_loc): Likewise.
31784 (__ctype_tolower_loc): Likewise.
31785 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
31786 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
31787
7872cfb0
AS
317882011-10-15 Andreas Schwab <schwab@linux-m68k.org>
31789
b468825a
AS
31790 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
31791
7872cfb0
AS
31792 * configure.in: Also look in $cxxmachine/include for C++ system
31793 headers.
31794
be13f7bf
LD
317952011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31796
31797 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
31798 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
31799 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
31800 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
31801 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
31802 (USE_AS_WMEMCMP): New macro.
31803 Fixing indents.
31804 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
31805 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
31806 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
31807 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
31808 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31809 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
31810 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
31811 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
31812 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
31813 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
31814 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
31815 (USE_AS_WMEMCMP): New macro.
31816 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
31817 * sysdeps/string/test-memcmp.c: Update.
31818 Fix simple_wmemcmp.
31819 Add new tests.
31820 * wcsmbs/wmemcmp.c: Update.
31821 (WMEMCMP): New macro.
31822 Fix overflow bug.
31823
556a2007
AJ
318242011-10-12 Andreas Jaeger <aj@suse.de>
31825
31826 [BZ #13268]
31827 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
31828
538faaa7
UD
318292011-10-15 Ulrich Drepper <drepper@gmail.com>
31830
ab6737ff
UD
31831 * libio/iofwide.c (do_length): Avoid warning.
31832
538faaa7
UD
31833 * ctype/ctype.h (__isctype_f): Add missing __THROW.
31834
396a21b1
UD
318352011-10-14 Ulrich Drepper <drepper@gmail.com>
31836
cdf2901f
UD
31837 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
31838
38ad40ce
UD
31839 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
31840 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
31841 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
31842 * sysdeps/i386/i686/fpu/e_log.S: New file.
31843 * sysdeps/i386/i686/fpu/e_logf.S: New file.
31844 * sysdeps/i386/i686/fpu/e_logl.S: New file.
31845
396a21b1
UD
31846 * ctype/ctype.h: Add support for inlined isXXX functions when
31847 compiling C++ code.
31848
6b1f68c9
AS
318492011-10-14 Andreas Schwab <schwab@redhat.com>
31850
349290c0
AS
31851 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31852
6b1f68c9
AS
31853 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
31854
f2282d42
RM
318552011-10-13 Roland McGrath <roland@hack.frob.com>
31856
31857 [BZ #13291]
31858 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
31859
5298ffa8
AS
318602011-10-13 Andreas Schwab <schwab@redhat.com>
31861
714fad23
AS
31862 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
31863 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
31864 feraiseexcept.
31865
81dcc7fb
AS
31866 * sysdeps/x86_64/memrchr.S: Check for zero size.
31867
5298ffa8
AS
31868 * string/stratcliff.c: Add memrchr tests.
31869
951fbcec
LD
318702011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31871
31872 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31873 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
31874 rawmemchr-sse2 rawmemchr-sse2-bsf.
31875 * sysdeps/i386/i686/multiarch/memchr.S: New file.
31876 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
31877 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
31878 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
31879 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
31880 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
31881 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
31882 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
31883 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
31884 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
31885 * string/memrchr.c (MEMRCHR): New macro.
31886
0ac5ae23
UD
318872011-10-12 Ulrich Drepper <drepper@gmail.com>
31888
31889 Add integration with gcc's -ffinite-math-only and optimize wrapper
31890 functions in libm.
31891 * Versions.def: Define GLIBC_2.15 version for libm.
31892 * math/Makefile (headers): Add bits/math-finite.h.
31893 * math/bits/math-finite.h: New file.
31894 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
31895 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
31896 * math/e_acoshl.c: Add __*_finite alias.
31897 * math/e_acosl.c: Likewise.
31898 * math/e_asinl.c: Likewise.
31899 * math/e_atan2l.c: Likewise.
31900 * math/e_atanhl.c: Likewise.
31901 * math/e_coshl.c: Likewise.
31902 * math/e_exp10.c: Likewise.
31903 * math/e_exp10f.c: Likewise.
31904 * math/e_exp10l.c: Likewise.
31905 * math/e_exp2l.c: Likewise.
31906 * math/e_fmodl.c: Likewise.
31907 * math/e_gammal_r.c: Likewise.
31908 * math/e_hypotl.c: Likewise.
31909 * math/e_j0l.c: Likewise.
31910 * math/e_j1l.c: Likewise.
31911 * math/e_jnl.c: Likewise.
31912 * math/e_lgammal_r.c: Likewise.
31913 * math/e_log10l.c: Likewise.
31914 * math/e_log2l.c: Likewise.
31915 * math/e_logl.c: Likewise.
31916 * math/e_powl.c: Likewise.
31917 * math/e_sinhl.c: Likewise.
31918 * math/e_sqrtl.c: Likewise.
31919 * math/e_scalb.c: Completely rewritten and optimized.
31920 * math/e_scalbf.c: Likewise.
31921 * math/e_scalbl.c: Likewise.
31922 * math/w_acos.c: Likewise.
31923 * math/w_acosf.c: Likewise.
31924 * math/w_acosl.c: Likewise.
31925 * math/w_acosh.c: Likewise.
31926 * math/w_acoshf.c: Likewise.
31927 * math/w_acoshl.c: Likewise.
31928 * math/w_asin.c: Likewise.
31929 * math/w_asinf.c: Likewise.
31930 * math/w_asinl.c: Likewise.
31931 * math/w_atan2.c: Likewise.
31932 * math/w_atan2f.c: Likewise.
31933 * math/w_atan2l.c: Likewise.
31934 * math/w_atanh.c: Likewise.
31935 * math/w_atanhf.c: Likewise.
31936 * math/w_atanhl.c: Likewise.
31937 * math/w_exp10.c: Likewise.
31938 * math/w_exp10f.c: Likewise.
31939 * math/w_exp10l.c: Likewise.
31940 * math/w_fmod.c: Likewise.
31941 * math/w_fmodf.c: Likewise.
31942 * math/w_fmodl.c: Likewise.
31943 * math/w_j0.c: Likewise.
31944 * math/w_j0f.c: Likewise.
31945 * math/w_j0l.c: Likewise.
31946 * math/w_j1.c: Likewise.
31947 * math/w_j1f.c: Likewise.
31948 * math/w_j1l.c: Likewise.
31949 * math/w_jn.c: Likewise.
31950 * math/w_jnf.c: Likewise.
31951 * math/w_log.c: Likewise.
31952 * math/w_logf.c: Likewise.
31953 * math/w_logl.c: Likewise.
31954 * math/w_log10.c: Likewise.
31955 * math/w_log10f.c: Likewise.
31956 * math/w_log10l.c: Likewise.
31957 * math/w_log2.c: Likewise.
31958 * math/w_log2f.c: Likewise.
31959 * math/w_log2l.c: Likewise.
31960 * math/w_pow.c: Likewise.
31961 * math/w_powf.c: Likewise.
31962 * math/w_powl.c: Likewise.
31963 * math/w_remainder.c: Likewise.
31964 * math/w_remainderf.c: Likewise.
31965 * math/w_remainderl.c: Likewise.
31966 * math/w_scalb.c: Likewise.
31967 * math/w_scalbf.c: Likewise.
31968 * math/w_scalbl.c: Likewise.
31969 * math/w_sqrt.c: Likewise.
31970 * math/w_sqrtf.c: Likewise.
31971 * math/w_sqrtl.c: Likewise.
31972 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
31973 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
31974 used.
31975 * math/math_private.h: Declare __kernel_standard_f.
31976 * math/w_cosh.c: Remove cruft and optimize a bit.
31977 * math/w_coshf.c: Likewise.
31978 * math/w_coshl.c: Likewise.
31979 * math/w_exp2.c: Likewise.
31980 * math/w_exp2f.c: Likewise.
31981 * math/w_exp2l.c: Likewise.
31982 * math/w_hypot.c: Likewise.
31983 * math/w_hypotf.c: Likewise.
31984 * math/w_hypotl.c: Likewise.
31985 * math/w_lgamma.c: Likewise.
31986 * math/w_lgamma_r.c: Likewise.
31987 * math/w_lgammaf.c: Likewise.
31988 * math/w_lgammaf_r.c: Likewise.
31989 * math/w_lgammal.c: Likewise.
31990 * math/w_lgammal_r.c: Likewise.
31991 * math/w_sinh.c: Likewise.
31992 * math/w_sinhf.c: Likewise.
31993 * math/w_sinhl.c: Likewise.
31994 * math/w_tgamma.c: Likewise.
31995 * math/w_tgammaf.c: Likewise.
31996 * math/w_tgammal.c: Likewise.
31997 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31998 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31999 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
32000 Minor optimizations. Pretty printing. Remove cruft.
32001 * sysdeps/i386/fpu/e_acosf.S: Likewise.
32002 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32003 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32004 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32005 * sysdeps/i386/fpu/e_acosl.c: Likewise.
32006 * sysdeps/i386/fpu/e_asin.S: Likewise.
32007 * sysdeps/i386/fpu/e_asinf.S: Likewise.
32008 * sysdeps/i386/fpu/e_atan2.S: Likewise.
32009 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
32010 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
32011 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32012 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32013 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32014 * sysdeps/i386/fpu/e_exp10.S: Likewise.
32015 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
32016 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
32017 * sysdeps/i386/fpu/e_exp2.S: Likewise.
32018 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
32019 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
32020 * sysdeps/i386/fpu/e_fmod.S: Likewise.
32021 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
32022 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
32023 * sysdeps/i386/fpu/e_hypot.S: Likewise.
32024 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
32025 * sysdeps/i386/fpu/e_log.S: Likewise.
32026 * sysdeps/i386/fpu/e_log10.S: Likewise.
32027 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32028 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32029 * sysdeps/i386/fpu/e_log2.S: Likewise.
32030 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32031 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32032 * sysdeps/i386/fpu/e_logf.S: Likewise.
32033 * sysdeps/i386/fpu/e_logl.S: Likewise.
32034 * sysdeps/i386/fpu/e_pow.S: Likewise.
32035 * sysdeps/i386/fpu/e_powf.S: Likewise.
32036 * sysdeps/i386/fpu/e_powl.S: Likewise.
32037 * sysdeps/i386/fpu/e_remainder.S: Likewise.
32038 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
32039 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
32040 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32041 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32042 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32043 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
32044 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
32045 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
32046 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32047 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32048 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32049 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32050 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32051 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32052 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
32053 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32054 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32055 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32056 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32057 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32058 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32059 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32060 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32061 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32062 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32063 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32064 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32065 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32066 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32067 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32068 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32069 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32070 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32071 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32072 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32073 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32074 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
32075 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32076 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32077 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32078 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32079 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32080 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32081 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32082 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32083 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32084 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32085 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32086 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32087 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32088 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32089 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32090 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32091 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32092 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32093 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32094 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32095 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
32096 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32097 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32098 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32099 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32100 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32101 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
32102 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
32103 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
32104 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
32105 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
32106 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
32107 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
32108 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32109 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32110 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
32111 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
32112 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
32113 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
32114 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
32115 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
32116 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
32117 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
32118 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
32119 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
32120 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
32121 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32122 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32123 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
32124 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32125 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
32126 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32127 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
32128 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
32129 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32130 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32131 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32132 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32133 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
32134 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
32135 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
32136 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32137 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32138 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32139 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32140 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32141 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32142 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32143 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
32144 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
32145 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
32146 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
32147 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
32148 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
32149 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
32150 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32151 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32152 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32153 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32154 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
32155 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32156 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
32157 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
32158 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
32159 (__isnanf): Likewise.
32160 (__isinf_ns): Likewise.
32161 (__isinf_nsf): Likewise.
32162 (__finite): Likewise.
32163 (__finitef): Likewise.
32164 (__ieee754_sqrt): Define as macro.
32165 (__ieee754_sqrtf): Define as macro.
32166 (__ieee754_sqrtl): Define as macro.
32167 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
32168 inlined copy.
32169 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
32170 __FINITE_MATH_ONLY__ consistent.
32171 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
32172
12cc2fcd
AS
321732011-10-10 Andreas Schwab <schwab@linux-m68k.org>
32174
a843a204
AS
32175 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
32176 of rawmemchr.
32177
12cc2fcd
AS
32178 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
32179
c853acd5
UD
321802011-10-09 Ulrich Drepper <drepper@gmail.com>
32181
32182 * po/ja.po: Update from translation team.
32183
c658d255
RM
321842011-10-08 Roland McGrath <roland@hack.frob.com>
32185
110946e4
RM
32186 * locale/programs/locarchive.c (prepare_address_space): New function.
32187 (create_archive, enlarge_archive, open_archive): Use it.
32188
50604220
RM
32189 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
32190 inside [SHARED], where it is used.
32191
c658d255
RM
32192 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
32193
32194 * nss/getent.c (netgroup_keys): Remove unused variable.
32195 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32196
6a621eb7
UD
321972011-10-08 Ulrich Drepper <drepper@gmail.com>
32198
7edb55ce
UD
32199 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
32200 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
32201 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
32202 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
32203 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
32204 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
32205 * math/Makefile (libm-calls): Add s_isinf_ns.
32206 * math/divtc3.c: Use __isinf_nsl instead of isinf.
32207 * math/multc3.c: Likewise.
32208 * math/s_casin.c: Likewise.
32209 * math/s_casinf.c: Likewise.
32210 * math/s_casinl.c: Likewise.
32211 * math/s_ccos.c: Likewise.
32212 * math/s_ccosf.c: Likewise.
32213 * math/s_ccosl.c: Likewise.
32214 * math/s_ctan.c: Likewise.
32215 * math/s_ctanf.c: Likewise.
32216 * math/s_ctanh.c: Likewise.
32217 * math/s_ctanhf.c: Likewise.
32218 * math/s_ctanhl.c: Likewise.
32219 * math/s_ctanl.c: Likewise.
32220 * math/w_fmod.c: Likewise.
32221 * math/w_fmodf.c: Likewise.
32222 * math/w_fmodl.c: Likewise.
32223 * math/w_remainder.c: Likewise.
32224 * math/w_remainderf.c: Likewise.
32225 * math/w_remainderl.c: Likewise.
32226 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
32227 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
32228 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
32229 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
32230 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
32231 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
32232 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
32233 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
32234
187da0ae
UD
32235 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
32236 of the number.
32237 * stdio-common/printf_fphex.c: Likewise.
32238 * stdio-common/printf_size.c: Likewise.
32239
9277c064
UD
32240 * math/e_exp10.c: Include math_private.h using <...> not "...".
32241 * math/e_exp10f.c: Likewise.
32242 * math/e_exp10l.c: Likewise.
32243 * math/e_exp2l.c: Likewise.
32244 * math/e_j0l.c: Likewise.
32245 * math/e_j1l.c: Likewise.
32246 * math/e_jnl.c: Likewise.
32247 * math/e_lgammal_r.c: Likewise.
32248 * math/e_rem_pio2l.c: Likewise.
32249 * math/e_scalb.c: Likewise.
32250 * math/e_scalbf.c: Likewise.
32251 * math/e_scalbl.c: Likewise.
32252 * math/k_cosl.c: Likewise.
32253 * math/k_sinl.c: Likewise.
32254 * math/k_tanl.c: Likewise.
32255 * math/s_cacoshf.c: Likewise.
32256 * math/s_catan.c: Likewise.
32257 * math/s_catanf.c: Likewise.
32258 * math/s_catanh.c: Likewise.
32259 * math/s_catanhf.c: Likewise.
32260 * math/s_catanhl.c: Likewise.
32261 * math/s_catanl.c: Likewise.
32262 * math/s_ccosh.c: Likewise.
32263 * math/s_ccoshf.c: Likewise.
32264 * math/s_ccoshl.c: Likewise.
32265 * math/s_cexp.c: Likewise.
32266 * math/s_cexpf.c: Likewise.
32267 * math/s_cexpl.c: Likewise.
32268 * math/s_clog.c: Likewise.
32269 * math/s_clog10.c: Likewise.
32270 * math/s_clog10f.c: Likewise.
32271 * math/s_clog10l.c: Likewise.
32272 * math/s_clogf.c: Likewise.
32273 * math/s_clogl.c: Likewise.
32274 * math/s_csin.c: Likewise.
32275 * math/s_csinf.c: Likewise.
32276 * math/s_csinh.c: Likewise.
32277 * math/s_csinhf.c: Likewise.
32278 * math/s_csinhl.c: Likewise.
32279 * math/s_csinl.c: Likewise.
32280 * math/s_csqrt.c: Likewise.
32281 * math/s_csqrtf.c: Likewise.
32282 * math/s_csqrtl.c: Likewise.
32283 * math/s_ctan.c: Likewise.
32284 * math/s_ctanf.c: Likewise.
32285 * math/s_ctanh.c: Likewise.
32286 * math/s_ctanhf.c: Likewise.
32287 * math/s_ctanhl.c: Likewise.
32288 * math/s_ctanl.c: Likewise.
32289 * math/s_ldexp.c: Likewise.
32290 * math/s_ldexpf.c: Likewise.
32291 * math/s_ldexpl.c: Likewise.
32292 * math/s_significand.c: Likewise.
32293 * math/s_significandf.c: Likewise.
32294 * math/s_significandl.c: Likewise.
32295 * math/w_acos.c: Likewise.
32296 * math/w_acosf.c: Likewise.
32297 * math/w_acosh.c: Likewise.
32298 * math/w_acoshf.c: Likewise.
32299 * math/w_acoshl.c: Likewise.
32300 * math/w_acosl.c: Likewise.
32301 * math/w_asin.c: Likewise.
32302 * math/w_asinf.c: Likewise.
32303 * math/w_asinl.c: Likewise.
32304 * math/w_atan2.c: Likewise.
32305 * math/w_atan2f.c: Likewise.
32306 * math/w_atan2l.c: Likewise.
32307 * math/w_atanh.c: Likewise.
32308 * math/w_atanhf.c: Likewise.
32309 * math/w_atanhl.c: Likewise.
32310 * math/w_cosh.c: Likewise.
32311 * math/w_coshf.c: Likewise.
32312 * math/w_coshl.c: Likewise.
32313 * math/w_dremf.c: Likewise.
32314 * math/w_exp10.c: Likewise.
32315 * math/w_exp10f.c: Likewise.
32316 * math/w_exp10l.c: Likewise.
32317 * math/w_exp2.c: Likewise.
32318 * math/w_exp2f.c: Likewise.
32319 * math/w_fmod.c: Likewise.
32320 * math/w_fmodf.c: Likewise.
32321 * math/w_fmodl.c: Likewise.
32322 * math/w_hypot.c: Likewise.
32323 * math/w_hypotf.c: Likewise.
32324 * math/w_hypotl.c: Likewise.
32325 * math/w_j0.c: Likewise.
32326 * math/w_j0f.c: Likewise.
32327 * math/w_j0l.c: Likewise.
32328 * math/w_j1.c: Likewise.
32329 * math/w_j1f.c: Likewise.
32330 * math/w_j1l.c: Likewise.
32331 * math/w_jn.c: Likewise.
32332 * math/w_jnf.c: Likewise.
32333 * math/w_jnl.c: Likewise.
32334 * math/w_lgamma.c: Likewise.
32335 * math/w_lgamma_r.c: Likewise.
32336 * math/w_lgammaf.c: Likewise.
32337 * math/w_lgammaf_r.c: Likewise.
32338 * math/w_lgammal.c: Likewise.
32339 * math/w_lgammal_r.c: Likewise.
32340 * math/w_log.c: Likewise.
32341 * math/w_log10.c: Likewise.
32342 * math/w_log10f.c: Likewise.
32343 * math/w_log10l.c: Likewise.
32344 * math/w_log2.c: Likewise.
32345 * math/w_log2f.c: Likewise.
32346 * math/w_log2l.c: Likewise.
32347 * math/w_logf.c: Likewise.
32348 * math/w_logl.c: Likewise.
32349 * math/w_pow.c: Likewise.
32350 * math/w_powf.c: Likewise.
32351 * math/w_powl.c: Likewise.
32352 * math/w_remainder.c: Likewise.
32353 * math/w_remainderf.c: Likewise.
32354 * math/w_remainderl.c: Likewise.
32355 * math/w_scalb.c: Likewise.
32356 * math/w_scalbf.c: Likewise.
32357 * math/w_scalbl.c: Likewise.
32358 * math/w_sinh.c: Likewise.
32359 * math/w_sinhf.c: Likewise.
32360 * math/w_sinhl.c: Likewise.
32361 * math/w_sqrt.c: Likewise.
32362 * math/w_sqrtf.c: Likewise.
32363 * math/w_sqrtl.c: Likewise.
32364 * math/w_tgamma.c: Likewise.
32365 * math/w_tgammaf.c: Likewise.
32366 * math/w_tgammal.c: Likewise.
32367
6a621eb7
UD
32368 * po/ja.po: Update from translation team.
32369
bf582445
AJ
323702011-09-29 Andreas Jaeger <aj@suse.de>
32371
f9efbf3a
AJ
32372 [BZ #13179]
32373 * sunrpc/netname.c (netname2host): Fix logic.
32374
bf582445
AJ
32375 [BZ #6779]
32376 [BZ #6783]
32377 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
32378 correctly.
32379 * math/w_remainder.c (__remainder): Likewise.
32380 * math/w_remainderf.c (__remainderf): Likewise.
32381 * math/libm-test.inc (remainder_test): Add test cases.
32382
48693bea
AK
323832011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32384
32385 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
32386 sdiv_qrnnd.
32387
42622229
LD
323882011-10-07 Ulrich Drepper <drepper@gmail.com>
32389
32390 * string/test-memcmp.c: Avoid unncessary #defines.
32391 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32392
093ecf92
LD
323932011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32394
32395 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
32396 Use new sse2 version for core i3 - i7 as it's faster
32397 than sse42 version.
32398 (bit_Prefer_PMINUB_for_stringop): New.
32399 * sysdeps/x86_64/rawmemchr.S: Update.
32400 Replace with faster SSE2 version.
32401 * sysdeps/x86_64/memrchr.S: New file.
32402 * sysdeps/x86_64/memchr.S: Update.
32403 Replace with faster SSE2 version.
32404
fde56e5c
MP
324052011-09-12 Marek Polacek <mpolacek@redhat.com>
32406
32407 * elf/dl-load.c (lose): Add cast to avoid warning.
32408
21fd49a9
UD
324092011-10-07 Ulrich Drepper <drepper@gmail.com>
32410
5a06e643
UD
32411 * po/ca.po: Update from translation team.
32412
684ae515
UD
32413 * inet/getnetgrent_r.c: Hook up nscd.
32414 * nscd/Makefile (routines): Add nscd_netgroup.
32415 (nscd-modules): Add netgroupcache.
32416 (CFLAGS-netgroupcache.c): Define.
32417 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
32418 (cache_search): Add const to second parameter.
32419 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
32420 INNETGR.
32421 (dbs): Add netgrdb entry.
32422 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
32423 (verify_persistent_db): Handle netgrdb.
32424 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
32425 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
32426 GETFDNETGR.
32427 (netgroup_response_header): Define.
32428 (innetgroup_response_header): Define.
32429 (datahead): Add netgroup_response_header and innetgroup_response_header
32430 elements.
32431 * nscd/nscd.conf: Add entries for netgroup cache.
32432 * nscd/nscd.h (dbtype): Add netgrdb.
32433 (_PATH_NSCD_NETGROUP_DB): Define.
32434 (netgroup_iov_disabled): Declare.
32435 (xmalloc, xcalloc, xrealloc): Move declarations here.
32436 (cache_search): Adjust prototype.
32437 Add netgroup-related prototypes.
32438 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
32439 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
32440 (__nscd_innetgr): Declare.
32441 * nscd/selinux.c (perms): Use access_vector_t as element type and
32442 add netgroup-related initializers.
32443 * nscd/netgroupcache.c: New file.
32444 * nscd/nscd_netgroup.c: New file.
32445 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
32446 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
32447 For four parameters use innetgr.
32448 * nss/nss_files/files-init.c: Add definition and callback for netgr.
32449 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
32450 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
32451 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
32452
21fd49a9
UD
32453 * nscd/connections.c (register_traced_file): Don't register file
32454 for disabled databases.
32455
054c0457
UD
324562011-10-06 Ulrich Drepper <drepper@gmail.com>
32457
32b63198
UD
32458 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
32459
054c0457
UD
32460 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
32461 from tree and freeing node.
32462
64031225
JO
324632011-09-25 Jiri Olsa <jolsa@redhat.com>
32464
32465 * nss/nsswitch.c (__nss_database_lookup): Handle
32466 nss_parse_service_list out of memory case.
32467
0490345c
JO
324682011-09-15 Jiri Olsa <jolsa@redhat.com>
32469
32470 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
32471 out of memory case.
32472
3a62d00d
AS
324732011-10-04 Andreas Schwab <schwab@redhat.com>
32474
32475 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
32476 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
32477 pass it down.
32478 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
32479 elf_machine_rela, elf_machine_lazy_rel.
32480 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
32481 (ELF_DYNAMIC_DO_REL): Likewise.
32482 (ELF_DYNAMIC_DO_RELA): Likewise.
32483 (ELF_DYNAMIC_RELOCATE): Likewise.
32484 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
32485 to ELF_DYNAMIC_DO_REL.
32486 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
32487 (dl_main): In trace mode always set __RTLD_NOIFUNC.
32488 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
32489 elf_machine_rela.
32490 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
32491 skip_ifunc, don't call ifunc function if non-zero.
32492 (elf_machine_rela): Likewise.
32493 (elf_machine_lazy_rel): Likewise.
32494 (elf_machine_lazy_rela): Likewise.
32495 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
32496 (elf_machine_lazy_rel): Likewise.
32497 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
32498 Likewise.
32499 (elf_machine_lazy_rel): Likewise.
32500 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32501 Likewise.
32502 (elf_machine_lazy_rel): Likewise.
32503 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
32504 (elf_machine_lazy_rel): Likewise.
32505 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
32506 (elf_machine_lazy_rel): Likewise.
32507 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32508 (elf_machine_lazy_rel): Likewise.
32509 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
32510 (elf_machine_lazy_rel): Likewise.
32511 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
32512 (elf_machine_lazy_rel): Likewise.
32513 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32514 (elf_machine_lazy_rel): Likewise.
32515
68577918
UD
325162011-09-28 Ulrich Drepper <drepper@gmail.com>
32517
32518 * nss/nss_files/files-init.c (_nss_files_init): Use static
32519 initialization for all the *_traced_file variables.
32520
68822d74
AS
325212011-09-28 Andreas Schwab <schwab@redhat.com>
32522
32523 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32524
2056100b
RM
325252011-09-27 Roland McGrath <roland@hack.frob.com>
32526
32527 [BZ #13226]
32528 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
32529
32c76b63
AS
325302011-09-27 Andreas Schwab <schwab@redhat.com>
32531
32532 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32533 Reread the line before reparsing it.
32534
bf972c9d
AS
325352011-09-26 Andreas Schwab <schwab@redhat.com>
32536
32537 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
32538
e057a1b5
JM
325392011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
32540 Maxim Kuvyrkov <maxim@codesourcery.com>
32541 Joseph Myers <joseph@codesourcery.com>
32542
32543 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
32544 if needed for __stack_chk_guard.
32545
bc7e1c36
RM
325462011-09-19 Roland McGrath <roland@hack.frob.com>
32547
ecb1482f
RM
32548 * sysdeps/posix/spawni.c (script_execute): Always define it.
32549 It will be optimized away if unused.
32550 (maybe_script_execute): New function.
32551 (__spawni): Call it.
32552
bc7e1c36
RM
32553 * Makerules: Don't include tls.make.
32554 (config-tls): Always set to thread.
32555 * tls.make.c: File removed.
32556
1c3b002b
MF
325572011-09-19 Mike Frysinger <vapier@gentoo.org>
32558
32559 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
32560 * config.make.in (CPPFLAGS-config): New substituted variable.
32561
2840865d
UD
325622011-09-15 Ulrich Drepper <drepper@gmail.com>
32563
88738eb6
UD
32564 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
32565
cbf645a6 32566 [BZ #13192]
2840865d
UD
32567 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
32568 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
32569
b402e91a
RM
325702011-09-15 Roland McGrath <roland@hack.frob.com>
32571
32572 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
32573 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
32574 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32575 (CALL_FAIL): Likewise.
32576 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
32577 (CALL_FAIL): Macro removed.
32578 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
32579
4c1a1f71
UD
325802011-09-15 Ulrich Drepper <drepper@gmail.com>
32581
32582 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
32583 for __FINITE_MATH_ONLY__ == 1.
32584
edc121be
AS
325852011-09-15 Andreas Schwab <schwab@redhat.com>
32586
32587 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
32588 __ieee754_sqrt instead of sqrt.
32589 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
32590 __ieee754_sqrtf instead of sqrtf.
32591 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
32592 __floorf instead of floorf.
32593 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
32594 __floorf, __truncf instead of floorf, truncf.
32595
cd205654
UD
325962011-09-14 Ulrich Drepper <drepper@gmail.com>
32597
ee4d0315
UD
32598 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
32599
cd205654
UD
32600 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
32601 __extern_always_inline.
32602 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
32603 32-bit.
32604
48b67d71
AS
326052011-09-14 Andreas Schwab <schwab@redhat.com>
32606
32607 * elf/rtld.c (dl_main): Also relocate in dependency order when
32608 doing symbol dependency testing.
32609
1ae12c75
AS
326102011-09-13 Andreas Schwab <schwab@linux-m68k.org>
32611
32612 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32613 Always define `refsym'.
32614
995a80df
AS
326152011-09-13 Andreas Schwab <schwab@redhat.com>
32616
e529793b
AS
32617 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
32618 (__FD_ELT): Renamed from __FDELT.
32619 * misc/bits/select2.h (__FD_ELT): Likewise.
32620 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
32621 __FD_MASK instead of __FDELT, __FDMASK.
32622 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32623 Likewise.
32624 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32625 Likewise.
32626
52d4fef8
AS
32627 * elf/Makefile (gen-ldd): Fix pattern.
32628
995a80df
AS
32629 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
32630 (init_tls): Likewise.
32631
8682f8b0
UD
326322011-09-12 Ulrich Drepper <drepper@gmail.com>
32633
32634 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
32635
de82006d
AS
326362011-09-12 Andreas Schwab <schwab@redhat.com>
32637
a7c8e6a1
AS
32638 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
32639 `struct cmsghdr *' instead of `void *'.
32640 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
32641 Likewise.
32642
0f31fe77
AS
326432011-09-11 Andreas Schwab <schwab@linux-m68k.org>
32644
32645 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
32646 if non-absolute.
32647 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
32648 ldd_rewrite_script.
0f31fe77 32649
32b4c839
UD
326502011-09-11 Ulrich Drepper <drepper@gmail.com>
32651
83cd1420
UD
32652 * configure.in: Remove --with-tls option.
32653 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
32654 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
32655 out in case it is missing.
32656 * sysdeps/ia64/elf/configure.in: Likewise.
32657 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
32658 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
32659 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
32660 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
32661 * sysdeps/sh/elf/configure.in: Likewise.
32662 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
32663 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
32664 * sysdeps/x86_64/elf/configure.in: Likewise.
32665 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
32666 * sysdeps/mach/hurd/tls.h: Likewise.
32667
633f745d
UD
32668 [BZ #13067]
32669 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
32670
f318beb8
UD
32671 [BZ #13090]
32672 * configure.in: Fix use of AC_INIT.
32673
32b4c839
UD
32674 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
32675
3ce1f295
UD
326762011-09-10 Ulrich Drepper <drepper@gmail.com>
32677
bb016596
UD
32678 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
32679 __set_errno.
8e58439c
UD
32680 * malloc/hooks.c: Likewise.
32681
aebae053 32682 [BZ #11929]
02d46fc4
UD
32683 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
32684 variables statically.
32685 (narenas): Initialize.
32686 (list_lock): Initialize.
bb016596
UD
32687 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
32688 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
32689 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
32690 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
32691 Add initializers to main_arena and mp_.
32692 (malloc_state): Remove pagesize member. Change all users to use
32693 GLRO(dl_pagesize).
32694
32695 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
32696 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
32697 is always initialized.
32698
22a89187
UD
32699 * malloc/malloc.c: Removed unused configurations and dead code.
32700 * malloc/arena.c: Likewise.
32701 * malloc/hooks.c: Likewise.
02d46fc4 32702 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 32703
d063d164
UD
32704 * include/tls.h: Removed. USE___THREAD must always be defined.
32705 * bits/libc-tsd.h: Don't handle !USE___THREAD.
32706 * elf/dl-libc.c: Likewise.
32707 * elf/dl-tsd.c: Likewise.
32708 * include/errno.h: Likewise.
32709 * include/netdb.h: Likewise.
32710 * include/resolv.h: Likewise.
32711 * inet/herrno-loc.c: Likewise.
32712 * inet/herrno.c: Likewise.
32713 * malloc/arena.c: Likewise.
32714 * malloc/hooks.c: Likewise.
32715 * malloc/malloc.c: Likewise.
32716 * resolv/res-state.c: Likewise.
32717 * resolv/res_libc.c: Likewise.
32718 * sysdeps/i386/dl-machine.h: Likewise.
32719 * sysdeps/ia64/dl-machine.h: Likewise.
32720 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
32721 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32722 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
32723 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
32724 * sysdeps/sh/dl-machine.h: Likewise.
32725 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32726 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32727 * sysdeps/unix/i386/sysdep.S: Likewise.
32728 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32729 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
32730 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
32731 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32732 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
32733 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32734 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32735 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32736 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32737 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32738 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32739 * sysdeps/x86_64/dl-machine.h: Likewise.
32740 * tls.make.c: Likewise.
32741
3ce1f295
UD
32742 * configure.in: Remove --with-__thread option. Make tests for
32743 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
32744 tls_model attribute fail if no support is available. Remove
32745 USE_IN_LIBIO.
32746 * Makeconfig: Adjust for dropped configure option. All features are
32747 now mandatory.
32748 * Makerules: Likewise.
32749 * Versions.def: Likewise.
32750 * argp/argp-fmtstream.c: Likewise.
32751 * argp/argp-fmtstream.h: Likewise.
32752 * argp/argp-help.c: Likewise.
32753 * assert/assert.c: Likewise.
32754 * config.h.in: Likewise.
32755 * config.make.in: Likewise.
32756 * configure: Likewise.
32757 * configure.in: Likewise.
32758 * csu/Versions: Likewise.
32759 * csu/init.c: Likewise.
32760 * elf/tst-audit2.c: Likewise.
32761 * elf/tst-tls10.c: Likewise.
32762 * elf/tst-tls10.h: Likewise.
32763 * elf/tst-tls11.c: Likewise.
32764 * elf/tst-tls12.c: Likewise.
32765 * elf/tst-tls14.c: Likewise.
32766 * elf/tst-tlsmod11.c: Likewise.
32767 * elf/tst-tlsmod12.c: Likewise.
32768 * elf/tst-tlsmod13.c: Likewise.
32769 * elf/tst-tlsmod13a.c: Likewise.
32770 * elf/tst-tlsmod14a.c: Likewise.
32771 * elf/tst-tlsmod15b.c: Likewise.
32772 * elf/tst-tlsmod16a.c: Likewise.
32773 * elf/tst-tlsmod16b.c: Likewise.
32774 * elf/tst-tlsmod7.c: Likewise.
32775 * elf/tst-tlsmod8.c: Likewise.
32776 * elf/tst-tlsmod9.c: Likewise.
32777 * gmon/gmon.c: Likewise.
32778 * grp/fgetgrent_r.c: Likewise.
32779 * grp/putgrent.c: Likewise.
32780 * hurd/fopenport.c: Likewise.
32781 * include/libc-symbols.h: Likewise.
32782 * include/tls.h: Likewise.
32783 * intl/gettextP.h: Likewise.
32784 * intl/loadinfo.h: Likewise.
32785 * locale/global-locale.c: Likewise.
32786 * locale/localeinfo.h: Likewise.
32787 * mach/devstream.c: Likewise.
32788 * malloc/arena.c: Likewise.
32789 * malloc/set-freeres.c: Likewise.
32790 * misc/err.c: Likewise.
32791 * misc/getttyent.c: Likewise.
32792 * misc/mntent_r.c: Likewise.
32793 * posix/getopt.c: Likewise.
32794 * posix/wordexp.c: Likewise.
32795 * pwd/fgetpwent_r.c: Likewise.
32796 * resolv/Versions: Likewise.
32797 * resolv/res_hconf.c: Likewise.
32798 * shadow/fgetspent_r.c: Likewise.
32799 * shadow/putspent.c: Likewise.
32800 * stdio-common/printf_fphex.c: Likewise.
32801 * stdio-common/tmpfile.c: Likewise.
32802 * stdlib/abort.c: Likewise.
32803 * stdlib/fmtmsg.c: Likewise.
32804 * sunrpc/auth_unix.c: Likewise.
32805 * sunrpc/clnt_perr.c: Likewise.
32806 * sunrpc/clnt_tcp.c: Likewise.
32807 * sunrpc/clnt_udp.c: Likewise.
32808 * sunrpc/clnt_unix.c: Likewise.
32809 * sunrpc/openchild.c: Likewise.
32810 * sunrpc/svc_simple.c: Likewise.
32811 * sunrpc/svc_tcp.c: Likewise.
32812 * sunrpc/svc_udp.c: Likewise.
32813 * sunrpc/svc_unix.c: Likewise.
32814 * sunrpc/xdr.c: Likewise.
32815 * sunrpc/xdr_array.c: Likewise.
32816 * sunrpc/xdr_rec.c: Likewise.
32817 * sunrpc/xdr_ref.c: Likewise.
32818 * sunrpc/xdr_stdio.c: Likewise.
32819
1248c1c4
PB
328202011-09-09 Ulrich Drepper <drepper@gmail.com>
32821
32822 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32823
328242011-07-03 Andreas Jaeger <aj@suse.de>
32825
32826 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
32827 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
32828 regenerate with gen-libm-tests.pl.
32829
328302010-05-12 Petr Baudis <pasky@suse.cz>
32831
32832 [BZ #11589]
32833 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
32834 around j0() zero points by switching to j1().
32835 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32836 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32837 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32838 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32839
f22e1074
UD
328402011-09-09 Ulrich Drepper <drepper@gmail.com>
32841
f19009c1
UD
32842 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
32843 instead of 0.
32844 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 32845 instead of 0.
f19009c1
UD
32846 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32847 Patch in part by Pavel Roskin <proski@gnu.org>.
32848
3f8cc204
UD
32849 [BZ #13138]
32850 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
32851 realloc.
32852 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
32853 Free memory block if necessary.
32854
f22e1074
UD
32855 [BZ #12847]
32856 * libio/genops.c (INTDEF): For string streams the _lock pointer can
32857 be NULL. Don't lock in this case.
32858
0a2349f9
RM
328592011-09-09 Roland McGrath <roland@hack.frob.com>
32860
32861 * elf/elf.h (ELFOSABI_GNU): New macro.
32862 (ELFOSABI_LINUX): Define to that.
32863
f3cdd467
DZ
328642011-07-29 Denis Zaitceff <zaitceff@gmail.com>
32865
32866 * string/strncat.c (strncat): Undef the symbol in case it has been
32867 defined in bits/string.h.
32868
74718d13
UD
328692011-09-09 Ulrich Drepper <drepper@gmail.com>
32870
633e9e0f
UD
32871 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
32872
0a2349f9 32873 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
32874 link map.
32875
f9924780
AJ
328762011-08-17 Andreas Jaeger <aj@suse.de>
32877
32878 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
32879
7f5517aa
PP
328802011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
32881 Ian Lance Taylor <iant@google.com>
32882
32883 * math/libm-test.inc (lround_test): New testcase.
32884 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
32885
762011fe
UD
328862011-09-08 Ulrich Drepper <drepper@gmail.com>
32887
92963737
UD
32888 * Makefile: Remove support for automatic cvs check-ins.
32889 * Makerules: Likewise.
32890 * config.make.in: Likewise.
32891 * configure.in: Likewise.
32892 * intl/Makefile: Likewise.
32893 * locale/Makefile: Likewise.
32894 * po/Makefile: Likewise.
32895 * posix/Makefile: Likewise.
32896 * sysdeps/gnu/Makefile: Likewise.
32897 * sysdeps/mach/hurd/Makefile: Likewise.
32898 * sysdeps/sparc/sparc32/Makefile: Likewise.
32899
b0727fd8
JS
32900 [BZ #13118]
32901 * posix/Makefile (bug-regex32-ENV): Define.
32902 Patch by John Stanley <jpsinthemix@verizon.net>.
32903
a0f33f99
UD
32904 * misc/Makefile (headers): Add bits/select2.h.
32905 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
32906 * misc/bits/select2.h: New file.
32907 * include/bits/select2.h: New file.
32908 * debug/Makefile (routines): Add fdelt_chk.
32909 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
32910 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
32911 FD_ISSET.
32912 * debug/fdelt_chk.c: New file.
32913
762011fe
UD
32914 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
32915 * wcsmbs/test-wmemcmp.c: Likewise.
32916 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 32917 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
32918
329192011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32920
32921 * string/Makefile (strop-tests): Add memcmp.
32922 * string/test-wmemcmp.c: New file.
32923 * string/test-memcmp.c: Add wmemcmp support.
32924
7f513ec8
RM
329252011-09-08 Roland McGrath <roland@hack.frob.com>
32926
0442afb4
RM
32927 [BZ #13153]
32928 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
32929 2011-07-19 change.
32930
7f513ec8
RM
32931 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
32932 garbage value in a __mach_port_mod_refs call in the cases of the
32933 task-self and thread-self ports.
32934
a12b2239
ST
329352011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32936
32937 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
32938
610f9ab4
AS
329392011-09-08 Andreas Schwab <schwab@redhat.com>
32940
7f513ec8 32941 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 32942
48882a1a
LD
329432011-09-07 Ulrich Drepper <drepper@gmail.com>
32944
b49865be
UD
32945 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
32946
fdc86bc9
UD
32947 * elf/dl-libc.c (dlerror_run): Pass back error code from
32948 dl_catch_error.
32949
c966526a
UD
32950 [BZ #13123]
32951 * elf/dl-load.c (lose): Free l_origin if it is valid.
32952
48882a1a
LD
32953 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
32954 names.
32955 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
32956 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32957 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32958 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32959 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
32960 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
32961
77a2a8b4
AZ
329622011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32963
32964 * sysdeps/powerpc/fpu/e_hypot.c: New file.
32965 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
32966 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
32967 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
32968 * sysdeps/powerpc/fpu/k_cosf.c: New file.
32969 * sysdeps/powerpc/fpu/k_sinf.c: New file.
32970 * sysdeps/powerpc/fpu/s_cosf.c: New file.
32971 * sysdeps/powerpc/fpu/s_sinf.c: New file.
32972 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
32973 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
32974
24f579d8
AM
329752011-08-15 Alan Modra <amodra@gmail.com>
32976
32977 [BZ #13092]
32978 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
32979 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
32980 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
32981 ppc_mcount to static-only-routines.
32982 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
32983 __mcount_internal.
32984 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
32985 __mcount_internal with usual JUMPTARGET. Remove useless nop.
32986
3d4837df
UD
329872011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
32988
32989 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
32990 for finite and infinity parameters.
32991
22700377
WS
329922011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
32993
32994 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
32995 and add nop instructions for throughput optimization.
32996 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32997
5025581e
WS
329982011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
32999
33000 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
33001 aligned copy for power7 with vector-scalar instructions.
33002 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
33003
08a300c9
L
330042011-07-24 H.J. Lu <hongjiu.lu@intel.com>
33005
33006 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
33007 AVX check.
33008
59178ef9
AS
330092011-09-07 Andreas Schwab <schwab@redhat.com>
33010
33011 [BZ #13144]
33012 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
33013 last change.
33014
e38ba7ab
UD
330152011-09-07 Ulrich Drepper <drepper@gmail.com>
33016
33017 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33018 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
33019 syscall wrapper around clock_gettime in __vdso_clock_gettime.
33020 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
33021 clock_gettime.
33022
d53a73ac
UD
330232011-09-06 Ulrich Drepper <drepper@gmail.com>
33024
fc8bffcc
UD
33025 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
33026 Forgot to demangle the pointer.
33027
ceaa0c5d
UD
33028 * sysdeps/i386/sysdep.h: Define atom_text_section.
33029 * sysdeps/x86_64/sysdep.h: Likewise.
33030 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
33031 section with atom_text_section.
33032 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33033 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33034 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
33035 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33036 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
33037
a77d3c17
UD
33038 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
33039 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
33040 already be defined. Change to take two parameters and don't assign
33041 result to variable. Adjust all users.
33042 Define INTERNAL_GETTIME if not already defined.
33043 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
33044 call.
33045 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
33046 HAVE_CLOCK_GETTIME_VSYSCALL.
33047 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
33048
d53a73ac
UD
33049 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
33050 gettimeofday vsyscall, just use time.
33051
a8f84144
AS
330522011-09-06 Andreas Schwab <schwab@redhat.com>
33053
33054 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
33055 <errno.h>.
33056
ef606249
UD
330572011-09-06 Ulrich Drepper <drepper@gmail.com>
33058
33059 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
33060 syscall on x86-64.
33061 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
33062 syscall.
33063 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
33064 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
33065 syscall if possible.
33066
6585cb60
UD
330672011-09-05 Ulrich Drepper <drepper@gmail.com>
33068
33069 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
33070 e_ident. Don't pass to find_mapsXX.
33071 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
33072
a5f524e4
LD
330732011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33074
33075 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33076 strchr-sse2-no-bsf strrchr-sse2-no-bsf
33077 * sysdeps/x86_64/multiarch/strchr.S: Update.
33078 Check bit_slow_BSF bit.
33079 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33080 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
33081 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
33082
554881ef
UD
330832011-09-05 Ulrich Drepper <drepper@gmail.com>
33084
d96de963
UD
33085 [BZ #13134]
33086 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
33087 before glibc 2.15.
33088 (tryshell): Define.
33089 (__spawni): Change last parameter to be flag. Test
33090 SPAWN_XFLAGS_USE_PATH flag to use path or not.
33091 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
33092 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
33093 * posix/spawni.c: Likewise.
33094 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
33095 * posix/spawnp.c: Likewise. Change normal version to use
33096 SPAWN_XFLAGS_USE_PATH.
33097 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
33098 SPAWN_XFLAGS_TRY_SHELL.
33099
d48e5868
UD
33100 [BZ #13150]
33101 * posix/glob.h: Remove gcc 1.x support.
33102
554881ef
UD
33103 [BZ #13068]
33104 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
33105
693fb948
LD
331062011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33107
33108 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33109 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
33110 strrchr-sse2-bsf
33111 * sysdeps/i386/i686/multiarch/strchr.S: New file.
33112 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
33113 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
33114 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
33115 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
33116 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
33117
1b48c537
UD
331182011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33119
49d42c37
UD
33120 * sysdeps/x86_64/wcscmp.S: New file.
33121
1b48c537
UD
33122 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
33123 wcscmp-c wcscmp-sse2
33124 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
33125 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
33126 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
33127 * wcsmbs/wcscmp.c: Allow renaming.
33128
15c95c5d
DM
331292011-09-05 David S. Miller <davem@davemloft.net>
33130
33131 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
33132 stack slot, rather than the struct return pointer slot.
33133 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
33134 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
33135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
33136 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
33137
2f0ad8f3
UD
331382011-09-05 Ulrich Drepper <drepper@gmail.com>
33139
d88ae418
UD
33140 * po/ja.po: Update from translation team.
33141
2f0ad8f3
UD
33142 [BZ #13144]
33143 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
33144 kernel in 64-bit binaries.
33145
5f4318d1
DM
331462011-09-01 David S. Miller <davem@davemloft.net>
33147
33148 * elf/elf.h (HWCAP_SPARC_*): Move to..
33149 * sysdeps/sparc/sysdep.h: this new file and add new values.
33150 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
33151 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
33152 _DL_HWCAP_COUNT to 24.
33153 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33154 entries.
33155 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
33156 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
33157 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
33158 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
33159 instead of magic constants.
33160 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33161
3ba57516
DM
331622011-08-31 David S. Miller <davem@davemloft.net>
33163
33164 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
33165 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
33166 Reimplement to do errno handling inline.
33167 (SYSCALL_ERROR_HANDLER): New macro.
33168 (__SYSCALL_STRING): Do not do errno handling in asm.
33169 (__CLONE_SYSCALL_STRING): Delete.
33170 (__INTERNAL_SYSCALL_STRING): Delete.
33171 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
33172 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
33173 (PSEUDO): Reimplement to do errno handling inline.
33174 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
33175 (SYSCALL_ERROR_HANDLER): New macro.
33176 (__SYSCALL_STRING): Do not do errno handling in asm.
33177 (__CLONE_SYSCALL_STRING): Delete.
33178 (__INTERNAL_SYSCALL_STRING): Delete.
33179 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
33180 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
33181 i386.
33182 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
33183 (inline_syscall*): Add 'err' argument.
33184 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
33185 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
33186 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
33187 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
33188
33189 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
33190 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33191
2bc17433
AS
331922011-08-30 Andreas Schwab <schwab@redhat.com>
33193
33194 * elf/rtld.c (dl_main): Relocate objects in dependency order.
33195
fbeb5f4d
JO
331962011-08-29 Jiri Olsa <jolsa@redhat.com>
33197
33198 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
33199 directive.
33200
ad69cc26
DM
332012011-08-24 David S. Miller <davem@davemloft.net>
33202
33203 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
33204
39dd69df
AS
332052011-08-24 Andreas Schwab <schwab@redhat.com>
33206
33207 * elf/Makefile: Add rules to build and run unload8 test.
33208 * elf/unload8.c: New file.
33209 * elf/unload8mod1.c: New file.
33210 * elf/unload8mod1x.c: New file.
33211 * elf/unload8mod2.c: New file.
33212 * elf/unload8mod3.c: New file.
33213
33214 * elf/dl-close.c (_dl_close_worker): Reset private search list if
33215 it wasn't used.
33216
2c0b250a
DM
332172011-08-23 David S. Miller <davem@davemloft.net>
33218
33219 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
33220 subtract stack bias.
33221 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
33222 %sp not %fp in calculations.
33223 (_JMPBUF_UNWINDS_ADJ): Likewise.
33224
22044b48
DM
33225 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
33226 (aio_suspend): Call it to force an exception region around the
33227 AIO_MISC_WAIT() invocation.
33228
2cae4995
AS
332292011-08-23 Andreas Schwab <schwab@redhat.com>
33230
33231 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
33232 backslash.
33233
873a772e
AJ
332342011-07-04 Aurelien Jarno <aurelien@aurel32.net>
33235
33236 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
33237 protection macro.
33238 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
33239 and <dl-machine.h>.
33240 (Elf64_FuncDesc): Remove.
33241
25ad0df1
DM
332422011-08-22 David S. Miller <davem@davemloft.net>
33243
33244 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
33245 sigaltstack check, add missing cfi directives.
33246 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
33247 missing cfi directives, and sigaltstack handling.
33248
e888bcbe
AS
332492011-08-16 Andreas Schwab <schwab@redhat.com>
33250
33251 [BZ #11724]
33252 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
33253 object is seen twice.
33254 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33255
33256 * elf/Makefile (distribute): Add tst-initorder2.c.
33257 (tests): Add tst-initorder2.
33258 (modules-names): Add tst-initorder2a tst-initorder2b
33259 tst-initorder2c tst-initorder2d. Add rules to build them.
33260 ($(objpfx)tst-initorder2.out): New rule.
33261 * elf/tst-initorder2.c: New file.
33262 * elf/tst-initorder2.exp: New file.
33263
87162f46
AS
332642011-08-22 Andreas Schwab <schwab@redhat.com>
33265
70538b7f
AS
33266 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
33267
f55ffe58
AS
33268 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
33269 dependencies back to end of function.
33270
87162f46
AS
33271 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33272 $(elfobjdir)/ld.so.
33273
91b392a4
UD
332742011-08-21 Ulrich Drepper <drepper@gmail.com>
33275
33276 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
33277 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
33278 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
33279 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
33280 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
33281 of __vdso_gettimeofday.
33282 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
33283 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
33284 attribute_hidden.
33285 (_libc_vdso_platform_setup): Remove initialization of
33286 __vdso_gettimeofday and __vdso_time.
33287
5c43483f
UD
332882011-08-20 Ulrich Drepper <drepper@gmail.com>
33289
775a77e7
UD
33290 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
33291 and fgetc_unlocked.
33292 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
33293 getc_unlocked.
89f447ed 33294
49c74ba9
UD
33295 * elf/dl-open.c (add_to_global): Report additions to the global scope
33296 for LD_DEBUG=scopes.
33297 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 33298 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 33299
5c43483f
UD
33300 [BZ #13114]
33301 * stdio-common/Makefile (tests): Add bug24.
33302 * stdio-common/bug24.c: New file.
33303
a101b025
AJ
333042011-08-19 Andreas Jaeger <aj@suse.de>
33305
33306 [BZ #13114]
33307 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
33308 non-existant file when using close-on-exec mode.
33309
c88f1766
UD
333102011-08-20 Ulrich Drepper <drepper@gmail.com>
33311
0276a718
UD
33312 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
33313 the very first instruction.
33314
c88f1766
UD
33315 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
33316 the CFI state in the end.
33317 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
33318 inclusion of dl-trampoline.h.
33319 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
33320
51ccffa0
AS
333212011-08-19 Andreas Schwab <schwab@redhat.com>
33322
94d7165f
AS
33323 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
33324 expectations for long double.
33325
51ccffa0
AS
33326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
33327 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
33328
fd708658 333292011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
33330
33331 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
33332 artificual limit depends upon the system page size.
33333
44f0a71e
UD
333342011-08-17 Ulrich Drepper <drepper@gmail.com>
33335
33336 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
33337 * resolv/Makefile: Define CFLAGS-libresolv.
33338
8de79a24
AS
333392011-08-17 Andreas Schwab <schwab@redhat.com>
33340
33341 * nss/makedb.c (compute_tables): Make variables used in nested
33342 function static.
33343
27724598
UD
333442011-08-17 Ulrich Drepper <drepper@gmail.com>
33345
c5305d88
UD
33346 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
33347 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
33348 if buffer was too small.
33349
27724598
UD
33350 * elf/pldd.c (main): Attach to all threads in the process.
33351 Rewrite /proc handling to use *at functions.
33352
076fe015
UD
333532011-08-16 Ulrich Drepper <drepper@gmail.com>
33354
174baab3
UD
33355 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
33356 specifies first scope to show.
33357 (dl_open_worker): Update callers. Move printing scope of new
33358 object to before the relocation.
44f0a71e 33359 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
33360 * sysdeps/generic/ldsodefs.h: Update declaration.
33361
076fe015
UD
33362 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
33363 string for the scope number.
33364
a60df2c3
UD
333652011-08-14 Ulrich Drepper <drepper@gmail.com>
33366
33367 * nscd/servicescache.c (cache_addserv): Make sure written is always
33368 initialized.
33369
5e4287d1
RM
333702011-08-14 Roland McGrath <roland@hack.frob.com>
33371
85ae0589
RM
33372 * sysdeps/i386/i486/bits/atomic.h
33373 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
33374 statement expression, so as to suppress "set but not used" warning.
33375 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
33376
69f63097
RM
33377 * string/strncat.c (STRNCAT): Use prototype definition.
33378
675456ef
RM
33379 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
33380 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
33381 -Iprograms here.
33382 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
33383 (localedef-modules): Add localedef.
33384 (locale-modules): Add locale.
33385
5e4287d1
RM
33386 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
33387 * elf/rtld.c (dl_main): Invert order of assignment in last change,
33388 to avoid a warning.
33389
9c96ff23
DM
333902011-08-14 David S. Miller <davem@davemloft.net>
33391
33392 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
33393 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
33394
f9ddf089
UD
333952011-08-13 Ulrich Drepper <drepper@gmail.com>
33396
44f0a71e 33397 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
33398 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
33399 * elf/rtld.c (dl_main): Set l_name of vDSO.
33400 Call _dl_show_scope when DL_DEBUG_SCOPES.
33401 (process_dl_debug): Recognize scopes flag and also set it for all.
33402 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
33403 Declare _dl_show_scope.
33404
1dc27704
UD
33405 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
33406 (do_dlopen): Pass caller_dlopen to dl_open.
33407 (__libc_dlopen_mode): Initialize caller_dlopen.
33408
f9ddf089
UD
33409 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
33410 of libc. Make tolower call locale-independent. Optimize a bit by
33411 using isdigit instead of isalnum.
33412 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
33413
9ac533d3
UD
334142011-08-12 Ulrich Drepper <drepper@gmail.com>
33415
33416 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
33417 was a dependency or dynamically loaded.
33418
89edf2e9
UD
334192011-08-11 Ulrich Drepper <drepper@gmail.com>
33420
8e999d29
UD
33421 * intl/l10nflist.c: Allow architecture-specific pop function.
33422 * sysdeps/x86_64/l10nflist.c: New file.
33423
89edf2e9
UD
33424 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
33425 classification.
33426
14d96785
AS
334272011-08-10 Andreas Schwab <schwab@redhat.com>
33428
33429 * include/dirent.h: Add libc_hidden_proto for scandirat and
33430 scandirat64. Don't declare __scandirat64.
33431 * dirent/scandirat.c: Add libc_hidden_def.
33432 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
33433 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
33434
6761ac04
DM
334352011-08-10 David S. Miller <davem@davemloft.net>
33436
33437 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
33438 enum.
33439 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33440 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33441 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33442
c55fbd1e
UD
334432011-08-09 Ulrich Drepper <drepper@gmail.com>
33444
33445 * Versions.def [libc]: Add GLIBC_2.15.
33446 * dirent/Makefile (routines): Add scandirat and scandirat64.
33447 * dirent/Versions [libc]: Export scandirat and scandirat64 for
33448 GLIBC_2.15.
33449 * dirent/dirent.h: Declare scandirat and scandirat64.
33450 * dirent/scandirat.c: New file.
33451 * dirent/scandirat64.c: New file.
33452 * sysdeps/wordsize-64/scandirat.c: New file.
33453 * sysdeps/wordsize-64/scandirat64.c: New file.
33454 * dirent/opendir.c: Define opendirat.
33455 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
33456 using scandirat.
33457 * dirent/scandir64.c: Adjust for scandir.c change.
33458 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
33459 __scandirat64, and __scandir_cancel_handler.
33460 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
33461 additional parameter and use openat instead of open (outside of ld.so).
33462 Add new __opendir as wrapper around __opendirat.
33463 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
33464 here without requiring old scandirat implementation.
33465
879165f2
UD
334662011-08-08 Ulrich Drepper <drepper@gmail.com>
33467
33468 * dirent/scandir.c (cancel_handler): Renamed to
33469 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
33470 defined. Adjust users.
33471 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
33472 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
33473
cb7e923b
UD
334742011-08-04 Ulrich Drepper <drepper@gmail.com>
33475
16292edd
UD
33476 * string/test-string.h (IMPL): Use __STRING to expand name and then
33477 stringify it.
33478
cb7e923b
UD
33479 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
33480 of cleanups.
33481
cff82933
LD
334822011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33483
33484 * string/Makefile: Update.
33485 (strop-tests): Append strncat.
33486 * string/test-wcscmp.c: New file.
33487 New comprehensive test for wcscmp.
33488 * string/test-strcmp.c: Update.
33489 (WIDE): New define.
33490
9be9bfcc
AS
334912011-07-22 Andreas Schwab <schwab@redhat.com>
33492
33493 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
33494 line.
33495
2e96f1c7
AS
334962011-07-26 Andreas Schwab <schwab@redhat.com>
33497
33498 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33499 encoding to ACE if AI_IDN.
33500
85188888
JJ
335012011-08-01 Jakub Jelinek <jakub@redhat.com>
33502
33503 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
33504 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
33505
5fa16e9b
LD
335062011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33507
33508 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
33509 Fix overflow bug in strncat.
33510 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
33511
33512 * string/test-strncat.c: Update.
33513 Add new tests for checking overflow bugs.
33514
335152011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33516
33517 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33518 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
33519 * sysdeps/i386/i686/multiarch/strcat.S: New file.
33520 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
33521 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
33522 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
33523 * sysdeps/i386/i686/multiarch/strncat.S: New file.
33524 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
33525 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
33526
33527 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
33528 (USE_AS_STRCAT): Define.
33529 Add strcat and strncat support.
33530 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33531
8c1a459f
AS
335322011-07-25 Andreas Schwab <schwab@redhat.com>
33533
33534 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
33535 __n bigger than INT_MAX+1.
33536 (__strncmp_g): Likewise.
33537
bba33c28
UD
335382011-07-23 Ulrich Drepper <drepper@gmail.com>
33539
798be72d
UD
33540 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
33541 * libio/stido.h: Likewise.
33542
8accd4dc
UD
33543 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
33544 (AF_NFC): Define.
33545 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
33546 (AF_NFC): Define.
33547
cbff0d96
UD
33548 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
33549 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33550 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33551 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33552 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33553
9191c04a
UD
33554 [BZ #13021]
33555 * scripts/test-installation.pl: Don't expect libnss_test1 to be
33556 installed.
33557
bba33c28
UD
33558 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
33559 typo.
33560 (_dl_x86_64_save_sse): Likewise.
33561
90f139dd
UD
335622011-07-22 Ulrich Drepper <drepper@gmail.com>
33563
1aae088a
UD
33564 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
33565 OSXSAVE.
33566 (_dl_x86_64_save_sse): Likewise.
33567
8e2045f5
UD
33568 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
33569
90f139dd
UD
33570 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
33571
1d002f25
AS
335722011-07-21 Andreas Schwab <schwab@redhat.com>
33573
33574 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
33575 change.
33576 (_dl_x86_64_save_sse): Use correct AVX check.
33577
21137f89
UD
335782011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33579
33580 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
33581 bug in strncpy/strncat.
33582 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
33583
a65c0b7a
UD
335842011-07-21 Ulrich Drepper <drepper@gmail.com>
33585
33586 * string/tester.c (test_strcat): Add tests for different alignments
33587 of source and destination.
33588 (test_strncat): Likewise.
33589
6986b98a
UD
335902011-07-20 Ulrich Drepper <drepper@gmail.com>
33591
90bb2039
UD
33592 [BZ #12852]
33593 * posix/glob.c (glob): Check passed in values before using them in
33594 expressions to avoid some overflows.
33595 (glob_in_dir): Likewise.
33596
5644ef54
UD
33597 [BZ #13007]
33598 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
33599 check for AVX enablement so that we don't crash with old kernels and
33600 new hardware.
33601 * elf/tst-audit4.c: Add same checks here.
33602 * elf/tst-audit6.c: Likewise.
33603
33604 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 33605
bfc9dc9b
AS
336062011-07-09 Andreas Schwab <schwab@linux-m68k.org>
33607
33608 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
33609
702e64bb
UD
336102011-07-20 Ulrich Drepper <drepper@gmail.com>
33611
33612 * po/cs.po: Update from translation team.
33613 * po/bg.po: Likewise.
33614
295e904f
MP
336152011-07-12 Marek Polacek <mpolacek@redhat.com>
33616
33617 * misc/sys/cdefs.h: Add support for const attribute.
33618 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
33619 to gnu_dev_{major,minor,makedev} functions.
33620
3ff94596
MP
336212011-07-20 Marek Polacek <mpolacek@redhat.com>
33622
33623 * intl/dcigettext.c (get_output_charset): Add missing bracket.
33624
28b59fca
AS
336252011-07-20 Andreas Schwab <schwab@redhat.com>
33626
33627 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
33628 strlen results.
33629
19df733e
AK
336302011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33631
33632 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
33633 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
33634 register in order to avoid conflicts with the soft frame pointer
33635 being held in r11 when necessary.
33636 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
33637 (INTERNAL_VSYSCALL_NCS): Likewise.
33638
c8835729
MP
336392011-07-14 Marek Polacek <mpolacek@redhat.com>
33640
33641 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
33642 * elf/dl-fini.c (_dl_fini): Adjust caller.
33643 * elf/dl-close.c (_dl_close_worker): Likewise.
33644 * sysdeps/generic/ldsodefs.h: Adjust declaration.
33645
b902330c
MP
336462011-07-15 Marek Polacek <mpolacek@redhat.com>
33647
8991e135
MP
33648 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
33649 "aux_cache->nlibs < 0".
33650
b902330c
MP
33651 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
33652 in the reload-count case.
33653
99710781
LD
336542011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33655
33656 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33657 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
33658 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
33659 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
33660 * sysdeps/x86_64/multiarch/strcat.S: New file.
33661 * sysdeps/x86_64/multiarch/strncat.S: New file.
33662 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
33663 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
33664 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
33665 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
33666 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
33667 (USE_AS_STRCAT): Define.
33668 Add strcat and strncat support.
33669 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33670 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33671 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
33672 * string/strncat.c: Update.
33673 (USE_AS_STRNCAT): Define.
33674 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33675 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
33676 and i7.
33677 * sysdeps/x86_64/multiarch/init-arch.h
33678 (bit_Prefer_PMINUB_for_stringop): New.
33679 (index_Prefer_PMINUB_for_stringop): Likewise.
33680 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
33681 bit_Prefer_PMINUB_for_stringop.
33682
7dc6bd90
UD
336832011-07-19 Ulrich Drepper <drepper@gmail.com>
33684
33685 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
33686 buffer64.
33687 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
33688 of casting of buffer.
33689 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
33690 buffer32 and buffer64.
33691 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
33692 writes instead of casting of buffer.
33693 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
33694 buffer32.
33695 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
33696 casting of buffer.
33697
e0e72284
AS
336982011-07-19 Andreas Schwab <schwab@redhat.com>
33699
33700 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
33701
feb1eb0b
UD
337022011-07-19 Ulrich Drepper <drepper@gmail.com>
33703
33704 * nscd/nscd.c (termination_handler): Don't do anything for a database
33705 if it has not yet been initialized.
33706
298711ff
UD
337072011-07-18 Ulrich Drepper <drepper@gmail.com>
33708
33709 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33710
337112011-07-15 Marek Polacek <mpolacek@redhat.com>
33712
33713 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33714
f9d68389
UD
337152011-07-18 Ulrich Drepper <drepper@gmail.com>
33716
33717 * po/nl.po: Update from translation team.
33718 * po/sv.po: Likewise.
33719
db290cf5
RM
337202011-07-16 Roland McGrath <roland@hack.frob.com>
33721
33722 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
33723 now disallowed by GCC.
5c550700 33724
fd5e21c7
RM
33725 * configure.in (use-default-link): Default to yes if a test -shared
33726 link meets our qualifications.
33727 * configure: Regenerated.
33728
5c550700
RM
33729 * config.make.in (output-format): New variable.
33730 * configure.in: Check for ld --print-output-format support.
33731 * configure: Regenerated.
33732 * Makerules ($(common-objpfx)format.lds)
33733 [$(output-format) != unknown]: Just use $(output-format),
33734 instead of the linker-script munging.
33735
9fa2c032
RM
337362011-07-14 Roland McGrath <roland@hack.frob.com>
33737
a6928d51
RM
33738 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
33739 of $(common-objpfx)shlib.lds.
33740 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
33741
661607b3
RM
33742 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
33743 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
33744
9fa2c032
RM
33745 * configure.in (-z relro check): Adjust test code to add a large
33746 writable data section after it.
33747 * configure: Regenerated.
33748
defe9061
RM
337492011-07-11 Roland McGrath <roland@hack.frob.com>
33750
33751 * configure.in (-z relro check): Fix test code to make the variable
33752 truly const.
33753 * configure: Regenerated.
33754
319b9ad4
UD
337552011-07-11 Ulrich Drepper <drepper@gmail.com>
33756
33757 * nscd/nscd.h (struct traced_file): Define.
33758 (struct database_dyn): Remove inotify_descr, reset_res, and filename
33759 elements. Add traced_files.
33760 (inotify_fd): Declare.
33761 (register_traced_file): Declare.
33762 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
33763 (inotify_fd): Export.
33764 (resolv_conf_descr): Remove.
33765 (nscd_init): Move inotify descriptor creation to main.
33766 Don't register files for notification here.
33767 (register_traced_file): New function.
33768 (invalidate_cache): Don't use reset_res to determine whether to call
33769 res_init, go through the list of registered files.
33770 (main_loop_poll): The inotify descriptors are now stored in the
33771 structures for the traced files.
33772 (main_loop_epoll): Likewise
33773 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
33774 to __nss_disable_nscd.
33775 * nscd/cache.c (prune_cache): There is no single inotify descriptor
33776 for a database anymore. Check the records for all the registered
33777 files instead.
33778 * nss/Makefile (libnss_files-routines): Add files-init.
33779 (libnss_db-routines): Add db-init.
33780 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
33781 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
33782 * nss/nss_db/db-init.c: New file.
33783 * nss/nss_files/files-init.c: New file.
33784 * nss/nsswitch.c (nss_load_library): New function. Broken out of
33785 __nss_lookup_function.
33786 (__nss_lookup_function): Call nss_load_library.
33787 (nss_load_all_libraries): New function.
33788 (__nss_disable_nscd): Take parameter with callback function for files
33789 to register. Set is_nscd. Load all the DSOs for the NSS modules
33790 used for the cached services.
33791 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
33792 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
33793 options for features to all the files in nscd.
33794
33795 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
33796
23bee3e8
RM
337972011-07-10 Roland McGrath <roland@hack.frob.com>
33798
33799 * csu/elf-init.c (__libc_csu_init): Comment typo.
33800
46a5b7f0
UD
338012011-07-09 Ulrich Drepper <drepper@gmail.com>
33802
33803 * po/pl.po: Update from translation team.
33804 * po/ja.po: Likewise.
33805 * po/ru.po: Likewise.
33806 * po/ko.po: Likewise.
33807 * po/fr.po: Likewise.
33808
d30cf5bb
RM
338092011-07-09 Roland McGrath <roland@hack.frob.com>
33810
113ddea4
RM
33811 * configure.in (.ctors/.dtors header and trailer check):
33812 Use an empirical test on a built program.
33813 * configure: Regenerated.
33814
574920b4
RM
33815 * configure.in (-z relro check): Use an empirical test on a built DSO.
33816 Detect, but do not require, on ia64.
33817 * configure: Regenerated.
33818
d30cf5bb
RM
33819 * configure.in (READELF): Find it with AC_CHECK_TOOL.
33820 Update tests that use readelf to use $READELF instead.
33821 * configure: Regenerated.
33822
8538fdb3
UD
338232011-07-08 Ulrich Drepper <drepper@gmail.com>
33824
33825 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
33826 if the result is not used.
33827
04d08991
AJ
338282011-07-05 Andreas Jaeger <aj@suse.de>
33829
33830 [BZ#9696]
33831 * stdlib/tst-strtod.c: Add testcase.
33832
de283087
AD
338332011-07-07 Ulrich Drepper <drepper@gmail.com>
33834
4e5f31c8 33835 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 33836 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
33837 The latter has a higher limit. Take additional parameter to pass to
33838 the new function.
33839 (__pathconf): Pass file to __statfs_link_max.
33840 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
33841 __statfs_link_max.
33842 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
33843 __statfs_link_max.
33844
de283087
AD
33845 [BZ #12868]
33846 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
33847 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33848 Handle Lustre.
33849 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
33850 (__statfs_filesize_max): Likewise.
33851 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
33852
c75fa153
AJ
338532011-07-05 Andreas Jaeger <aj@suse.de>
33854
33855 * resolv/res_comp.c (dn_skipname): Remove unused variable.
33856
1a544854
UD
338572011-07-06 Marek Polacek <mpolacek@redhat.com>
33858
33859 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
33860 `status' variable.
33861 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
33862 Likewise.
33863
6f0eec67
UD
338642011-07-04 H.J. Lu <hongjiu.lu@intel.com>
33865
33866 * Makefile (strop-tests): Add strncat.
33867 * string/test-strncat.c: New file.
33868
aae30307
UD
338692011-06-30 Marek Polacek <mpolacek@redhat.com>
33870
33871 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
33872
c0cfb5eb
UD
338732011-06-21 Andreas Jaeger <aj@suse.de>
33874
33875 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
33876 Copy rule from iconvdata/Makefile.
33877
01636b21
UD
338782011-07-06 Ulrich Drepper <drepper@gmail.com>
33879
33880 [BZ #12922]
33881 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
33882 but no long options are defined, just return 'W'.
33883
9895c8bc
UD
338842011-06-22 Marek Polacek <mpolacek@redhat.com>
33885
33886 [BZ #9696]
33887 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
33888
5d4cf042
UD
338892011-07-06 Ulrich Drepper <drepper@gmail.com>
33890
33891 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
33892 netgroups to read.
960e5535 33893 (innetgr): Likewise.
5d4cf042 33894
751eb97e
RM
338952011-07-05 Roland McGrath <roland@hack.frob.com>
33896
33897 * config.make.in (install_root): Default to $(DESTDIR).
33898
f15f1e45
UD
338992011-07-05 Ulrich Drepper <drepper@gmail.com>
33900
33901 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
33902
4e34ac6a
RM
339032011-07-02 Roland McGrath <roland@hack.frob.com>
33904
5e9b6af4
RM
33905 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
33906
84f9ea0f
RM
33907 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
33908 containing directory rather than embedding absolute directory names.
33909
ea5ee9f7
RM
33910 * scripts/check-local-headers.sh: Rewritten using awk.
33911 Match by word, not by line. Print error messages for matches.
33912 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
33913
1b74661a
RM
33914 * Makerules [shlib-lds-flags empty]:
33915 ($(common-objpfx)libc_pic.opts): New target.
33916 ($(common-objpfx)libc_pic.os.clean): New target.
33917 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
33918
33919 * config.make.in (OBJCOPY): New variable.
33920 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
33921 * configure: Regenerated.
33922
f781ef40
RM
33923 * config.make.in (use-default-link): New variable.
33924 * configure.in (use_default_link): Grok --with-default-link to set it.
33925 * configure: Regenerated.
33926 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
33927 (shlib-lds, shlib-lds-flags): Define to empty.
33928
2d4fa81e
RM
33929 * Makerules (shlib-lds): New variable.
33930 (shlib-lds-flags): New variable.
33931 (build-shlib, build-moduile, build-module-asneeded): Use it.
33932 ($(common-objpfx)libc.so): Use $(shlib-lds).
33933 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
33934 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
33935
31fffa6b
RM
33936 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
33937 DT_FLAGS/DT_FLAGS_1 with zero flags.
33938
4e34ac6a
RM
33939 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
33940 linker script munging.
33941
fcfc776b
UD
339422011-07-02 Ulrich Drepper <drepper@gmail.com>
33943
33944 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
33945 as 128-bit value.
33946 * crypt/sha512.c (sha512_process_block): Perform total addition using
33947 128-bit if possible.
33948 (__sha512_finish_ctx): Likewise.
33949 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
33950 as 64-bit value.
33951 * crypt/sha256.c (SWAP64): Define.
33952 (sha256_process_block): Perform total addition using 64-bit if
33953 possible.
33954 (__sha256_finish_ctx): Likewise.
33955
99231d9a
UD
339562011-07-01 Ulrich Drepper <drepper@gmail.com>
33957
33958 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
33959 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33960 * nscd/hstcache.c (cache_addhst): Likewise.
33961 * nscd/grpcache.c (cache_addgr): Likewise.
33962 * nscd/aicache.c (addhstaiX): Likewise
33963 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
33964
445b4a53
TK
339652011-07-01 Thorsten Kukuk <kukuk@suse.de>
33966
33967 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
33968 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33969 * nscd/hstcache.c (cache_addhst): Likewise.
33970 * nscd/grpcache.c (cache_addgr): Likewise.
33971 * nscd/aicache.c (addhstaiX): Likewise
33972
6d4d8e8e
AS
339732011-07-01 Andreas Schwab <schwab@redhat.com>
33974
33975 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
33976 domain only when needed.
33977
89f654c5
AS
339782011-06-30 Andreas Schwab <schwab@redhat.com>
33979
33980 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
33981 is always restored.
33982
cf3b23ff
UD
339832011-06-29 Ulrich Drepper <drepper@gmail.com>
33984
33985 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
33986 are re-adding the entry.
33987 * nscd/servicescache.c (cache_addserv): Likewise.
33988
751626f9
AJ
339892011-06-30 Aurelien Jarno <aurelien@aurel32.net>
33990
33991 * sysdeps/generic/dl-irel.h: fix protection against multiple
33992 inclusions.
33993 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
33994
9113ea1f
UD
339952011-06-28 Ulrich Drepper <drepper@gmail.com>
33996
5c0b8d90
UD
33997 [BZ #12935]
33998 * malloc/memusage.sh: Fix quoting in message.
33999 * debug/xtrace.sh: Likewise.
34000
9113ea1f
UD
34001 * configure.in: Remove support for --experimental-malloc option, make
34002 it the default.
34003 * config.make.in: Likewise.
34004 * malloc/Makefile: Likewise.
34005
a4172181
AS
340062011-06-27 Andreas Schwab <schwab@redhat.com>
34007
34008 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
34009 two-byte characters.
34010
78a7eee7
RM
340112011-06-27 Roland McGrath <roland@hack.frob.com>
34012
62bede13
RM
34013 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
34014 AC_CACHE_CHECK invocation.
34015 * configure: Regenerated.
34016
78a7eee7
RM
34017 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
34018
5ce33a62
UD
340192011-06-27 Ulrich Drepper <drepper@gmail.com>
34020
034807a9
UD
34021 [BZ #12350]
34022 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
34023 bit from old_res_options.
34024
4902da17
UD
34025 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
34026
5ce33a62
UD
34027 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
34028 value type for setfct.
34029
c2344f56
L
340302011-06-23 H.J. Lu <hongjiu.lu@intel.com>
34031
34032 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34033 __gettimeofday instead of gettimeofday.
34034
68468076
UD
340352011-06-26 Ulrich Drepper <drepper@gmail.com>
34036
34037 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
34038
acb0d739
L
340392011-06-24 H.J. Lu <hongjiu.lu@intel.com>
34040
34041 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
34042
34043 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
34044 info.
34045
8912479f
L
340462011-06-22 H.J. Lu <hongjiu.lu@intel.com>
34047
34048 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34049 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34050 strcpy-sse2-unaligned strncpy-sse2-unaligned
34051 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
34052 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
34053 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
34054 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
34055 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
34056 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
34057 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
34058 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
34059 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
34060 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
34061 (STRCPY): Support SSE2 and SSSE3 versions.
34062
d5495a11
UD
340632011-06-24 Ulrich Drepper <drepper@gmail.com>
34064
34065 [BZ #12874]
34066 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
34067 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
34068 kernels which artificially limit size of requests.
34069
0b1cbaae
L
340702011-06-22 H.J. Lu <hongjiu.lu@intel.com>
34071
34072 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34073 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34074 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
34075 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
34076 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
34077 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
34078 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
34079 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
34080 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
34081 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
34082 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
34083 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
34084 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
34085 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
34086 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
34087 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34088 Enable unaligned load optimization for Intel Core i3, i5 and i7
34089 processors.
34090 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
34091 Define.
34092 (index_Fast_Unaligned_Load): Define.
34093 (HAS_FAST_UNALIGNED_LOAD): Define.
34094
07f494a0
MP
340952011-06-23 Marek Polacek <mpolacek@redhat.com>
34096
34097 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
34098
fa3fc0fe
UD
340992011-06-22 Ulrich Drepper <drepper@gmail.com>
34100
34101 [BZ #12907]
34102 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
34103 until it is clear that the information is realy needed.
34104 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
34105
e12df166
AS
341062011-06-22 Andreas Schwab <schwab@redhat.com>
34107
34108 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
34109
852eb34d
UD
341102011-06-22 Ulrich Drepper <drepper@gmail.com>
34111
84e2a551
UD
34112 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34113 /sys/devices/system/cpu/online if it is usable.
34114
852eb34d
UD
34115 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
34116 reading the information from the /proc filesystem to once a second.
34117
6e502e19
UD
341182011-06-21 Andreas Jaeger <aj@suse.de>
34119
34120 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
34121 NULL after inclusion of kernel headers.
34122
75d39ff2
UD
341232011-06-21 Ulrich Drepper <drepper@gmail.com>
34124
51f9aa6a
UD
34125 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
34126 calls to internal_setent.
34127
c0244a9d
UD
34128 [BZ #12885]
34129 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
34130 addresses using gethostbyname4_r ignore IPv4 addresses.
34131
c5e3c2ae
UD
34132 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
34133 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
34134
75d39ff2
UD
34135 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
34136
42675c6f
DM
341372011-06-20 David S. Miller <davem@davemloft.net>
34138
34139 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
34140 inclusions.
34141 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
34142
34143 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
34144 (elf_irel): Use it.
34145 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
34146 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
34147 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
34148 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
34149 * sysdeps/x86_64/dl-irel.h: Likewise.
34150
34151 * elf/dl-runtime.c: Use elf_ifunc_invoke.
34152 * elf/dl-sym.c: Likewise.
34153
57912a71
UD
341542011-06-15 Ulrich Drepper <drepper@gmail.com>
34155
34156 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
34157 need to dereference resplen2.
34158
ee22793d
AS
341592011-06-14 Andreas Schwab <schwab@redhat.com>
34160
34161 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
34162
a9e836b0
UD
341632011-06-15 Ulrich Drepper <drepper@gmail.com>
34164
77fb9117
UD
34165 * Makeconfig: Define vardbdir and inst_vardbdir.
34166 * nss/Makefile: Add rules to install db-Makefile.
34167
40c1b22c
UD
34168 * nss/nss_db/db-XXX.c: Cleanup.
34169
9f2da732
UD
34170 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
34171 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
34172 GLIBC_PRIVATE.
34173 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
34174 * nss/makedb.c: Implement -g option to specify that value strings
34175 are generated and should not be added to table iterated over for
34176 get*ent calls.
34177 * nss/nss_db/db-initgroups.c: New file.
34178
82e9a1f7
UD
34179 * nss/getent.c: Add support for initgroups lookups through getgrouplist
34180 interface.
34181
c41af17e
UD
34182 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
34183 (internal_getgrouplist): Adjust to name change.
34184 Update use_initgroups_entry if this is not the first call.
34185 * nss/databases.def: Add initgroups entry.
34186
a9e836b0
UD
34187 * nss/makedb.c (compute_tables): Check result of multiple hash table
34188 sizes to minimize maximum chain length.
34189
2666d441
UD
341902011-06-14 Ulrich Drepper <drepper@gmail.com>
34191
34192 * Versions.def: Add entry for libnss_db.
34193 * shlib-versions: Likewise.
34194 * nss/Makefile: Add rules to build libnss_db.
34195 * nss/Versions: Add libnss_db information. Organize libnss_files
34196 entries better.
34197 * nss/db-Makefile: Add gshadow support. Change rules for the new
34198 makedb progra. Some minor improvements to generate smaller files.
34199 * nss/nss_db/nss_db.h: Move NSS database header data structures to
34200 here from...
34201 * nss/makedb.c: ...here.
34202 Improve database format to be smaller and require less memory at
34203 runtime.
34204 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
34205 db anymore.
34206 * nss/nss_db/db-netgrp.c: Likewise.
34207 * nss/nss_db/db-open.c: Likewise.
34208 * nss/nss_files/flies-XXX.x: Adjust comments.
34209 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
34210 * nss/nss_files/files-grp.c: Likewise.
34211 * nss/nss_files/files-hosts.c: Likewise.
34212 * nss/nss_files/files-network.c: Likewise.
34213 * nss/nss_files/files-proto.c: Likewise.
34214 * nss/nss_files/files-pwd.c: Likewise.
34215 * nss/nss_files/files-rpc.c: Likewise.
34216 * nss/nss_files/files-service.c: Likewise.
34217 * nss/nss_files/files-sgrp.c: Likewise.
34218 * nss/nss_files/files-spwd.c: Likewise.
34219 * nss/nss_db/db-alias.c: Removed.
34220 * nss/nss_db/dummy-db.h: Removed.
34221
9ee76b5a
UD
342222011-06-02 Ulrich Drepper <drepper@gmail.com>
34223
34224 * nss/makedb.c: Rewritten to not use database library.
34225 * nss/Makefile: Update to build new makedb program.
34226
c71ca1f8
AJ
342272011-06-14 Andreas Jaeger <aj@suse.de>
34228
34229 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
34230 memset declaration.
34231
3154bfb8
UD
342322011-06-10 Andreas Schwab <schwab@redhat.com>
34233
34234 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
34235 tmpbuf.
34236
b350afab
RM
342372011-06-10 Roland McGrath <roland@hack.frob.com>
34238
decd4e50
RM
34239 * Makerules (shlib.lds): Fail if the linker script comes out empty.
34240 * elf/Makefile ($(objpfx)ld.so): Likewise.
34241
5615eaf2
RM
34242 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
34243 Don't list ld.so twice in dependencies.
34244
34245 * posix/bug-regex31.c: Include <stdlib.h>.
34246
34247 * nscd/hstcache.c (cache_addhst): Remove unused variable.
34248
34249 * nis/nss_compat/compat-spwd.c
34250 (getspent_next_nss_netgr): Remove unused variable.
34251 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
34252
34253 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
34254 nonmembers" output to use the right array.
34255
34256 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
34257
34258 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
34259
34260 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
34261 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
34262 * catgets/gencat.c (read_input_file): Likewise.
34263 * locale/programs/locarchive.c (enlarge_archive): Likewise.
34264
34265 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
34266 variable definition inside #if's controlling its use.
34267
34268 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
34269
34270 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
34271
34272 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
34273
34274 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
34275 unreachable code.
34276
34277 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
34278
b68e08db
RM
34279 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
34280 * configure: Regenerated.
34281
b350afab
RM
34282 * Makerules: Revert last change.
34283 * elf/Makefile: Likewise.
34284
28368601
RM
342852011-06-09 Roland McGrath <roland@hack.frob.com>
34286
34287 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
34288 * elf/Makefile ($(objpfx)librtld.os): Likewise.
34289 (reloc-link): Likewise.
34290
11988f8f
UD
342912011-06-09 Ulrich Drepper <drepper@gmail.com>
34292
34293 * elf/Makefile: Add rules to build pldd.
34294 * elf/pldd.c: New file.
34295 * elf/pldd-xx.c: New file.
34296
e80fab37
UD
342972011-06-07 Ulrich Drepper <drepper@gmail.com>
34298
34299 * version.h: Update for 2.15 development version.
34300
9b849836
DM
343012011-06-07 David S. Miller <davem@davemloft.net>
34302
34303 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
34304 ifuncs.
34305 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
34306 elf_machine_lazy_rel): Likewise.
34307 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
34308 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
34309 elf_machine_lazy_rel): Likewise.
34310 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
34311 dl_hwcap via passed in argument.
34312 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
34313 Likewise.
34314
5a31b283
AK
343152011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34316
34317 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
34318
069e52f8
RM
343192011-06-06 Roland McGrath <roland@hack.frob.com>
34320
34321 [BZ #12849]
34322 * manual/fdl-1.1.texi: New file, verbatim from:
34323 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
34324 * manual/lgpl-2.1.texi: New file, verbatim from:
34325 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
34326 * manual/Makefile (licenses): New variable, list those new file names.
34327 (texis): Use it.
34328 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
34329
34330 * manual/fdl.texi: File removed.
34331 * manual/lesser.texi: File removed.
34332 * manual/libc.texinfo (Copying, Documentation License):
34333 Use new @include file names, put @appendix directive before @include.
34334
f16846a5
JJ
343352011-06-04 Jakub Jelinek <jakub@redhat.com>
34336
34337 [BZ #12841]
34338 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
34339 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
34340 (mq_open): Add __NTH.
34341
3d29045b
L
343422011-06-02 H.J. Lu <hongjiu.lu@intel.com>
34343
34344 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34345 Assume Intel Core i3/i5/i7 processor if AVX is available.
34346
8c297311
UD
343472011-05-31 Ulrich Drepper <drepper@gmail.com>
34348
34349 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34350 typo.
34351
c8fc0c91
UD
343522011-05-31 Andreas Schwab <schwab@redhat.com>
34353
34354 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
34355 memory. Use alloca_account. Fix memory leak when retrying.
34356
5b27a807
UD
343572011-05-31 Ulrich Drepper <drepper@gmail.com>
34358
356f8bc6
UD
34359 * version.h (RELEASE): Bump for 2.14 release.
34360 * include/features.h (__GLIBC_MINOR__): Bump to 14.
34361
5b27a807
UD
34362 * config.make.in (RANLIB): Remove entry.
34363
01f16ab0
UD
343642011-05-30 Ulrich Drepper <drepper@gmail.com>
34365
41fce8bd
UD
34366 * po/Makefile (po-sed-cmd): Add ksh to extensions.
34367 (libc.pot): Work around missing support for .ksh extension in xgettext.
34368
4769ae77
UD
34369 [BZ #12684]
34370 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
34371 if both request failed.
34372 (send_dg): In case of server errors clear resplen or *resplen2.
34373
6b1e7d19
UD
34374 [BZ #12454]
34375 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
34376 when there are multiple maps.
34377 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
34378 (_dl_fini): Remove test here.
34379
01f16ab0
UD
34380 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
34381
b1ebd700
UD
343822011-05-29 Ulrich Drepper <drepper@gmail.com>
34383
7ae22829
UD
34384 [BZ #12350]
34385 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
34386 bit from old_res_options.
34387 (gaih_inet): Likewise.
34388
553149f6 34389 [BZ #11099]
18a84741 34390 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
34391 as signed.
34392
652ffab1
UD
34393 * resolv/res_init.c (res_setoptions): Make the code more compact.
34394
16985fd0
UD
34395 [BZ #11558]
34396 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
34397 set RES_USEVC.
34398
0464f746
UD
34399 [BZ #11634]
34400 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
34401
7d17596c
UD
34402 * malloc/malloc.h: Mark malloc hook variables as deprecated.
34403
cf6bbbd7
UD
34404 [BZ #11781]
34405 * malloc/malloc.h: Declare malloc hook variables as volatile.
34406
13f1ab36
UD
34407 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
34408 in last patch.
34409
b1ebd700
UD
34410 [BZ #11799]
34411 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 34412 raise in the comment.
80e2212d
UD
34413 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34414 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34415 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 34416
ce67228d
UD
344172011-05-28 Ulrich Drepper <drepper@gmail.com>
34418
8887a920
UD
34419 [BZ #12811]
34420 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
34421 grow the buffers more if it already has to be sufficient.
34422 (build_wcs_upper_buffer): Likewise.
34423 * posix/regexec.c (check_matching): Likewise.
34424 (clean_state_log_if_needed): Likewise.
34425 (extend_buffers): Don't enlarge buffers beyond size of the input
34426 buffer.
34427 Patches mostly by Emil Wojak <emil@wojak.eu>.
34428 * posix/bug-regex32.c: New file.
34429 * posix/Makefile (tests): Add bug-regex32.
34430
4f031072
UD
34431 * locale/findlocale.c (_nl_find_locale): Return right away if
34432 _nl_explode_name failed.
34433 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
34434
d0478f0c
UD
34435 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
34436
de81b246
UD
34437 * debug/xtrace.sh: Unify messages.
34438 * malloc/memusage.sh: Likewise.
34439
c738465a
UD
34440 [BZ #12813]
34441 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
34442 time symbol from vDSO. Substitute with vsyscall if not available.
34443 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
34444 __vdso_time.
34445
f1f929d7
UD
34446 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
34447 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
34448 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
34449 Add sendmmsg and internal_sendmmsg.
34450 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
34451 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
34452 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
34453
ce67228d
UD
34454 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
34455 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
34456 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
34457
e57420c6
UD
344582011-05-27 Ulrich Drepper <drepper@gmail.com>
34459
a8509ca5
UD
34460 [BZ #12813]
34461 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
34462 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
34463 available.
34464 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
34465 __vdso_getcpu.
34466
e57420c6
UD
34467 [BZ #12814]
34468 * iconvdata/Makefile (tests): Add bug-iconv9.
34469 * iconvdata/bug-iconv9.c: New file.
34470
4d07db15
AS
344712011-05-27 Andreas Schwab <schwab@redhat.com>
34472
34473 [BZ #12814]
34474 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
34475
ea486f69
JJ
344762011-05-25 Jakub Jelinek <jakub@redhat.com>
34477
34478 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34479 (struct user_regs_struct): Change intcs field back to cs.
34480
6f038433
UD
344812011-05-25 Ulrich Drepper <drepper@gmail.com>
34482
34483 * po/ja.po: Update from translation team.
34484
67f86a25
UD
344852011-05-23 Ulrich Drepper <drepper@gmail.com>
34486
34487 [BZ #12795]
34488 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
34489 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
34490
def7fbd6
AS
344912011-05-20 Andreas Schwab <schwab@redhat.com>
34492
34493 * stdlib/longlong.h: Update from GCC.
34494
f50ef8f1
AS
344952011-05-23 Andreas Schwab <schwab@redhat.com>
34496
34497 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
34498 parameter name.
34499 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
34500 Add parameter name.
34501 (__sysconf): Pass it down.
34502
de7ce8f1
UD
345032011-05-22 Ulrich Drepper <drepper@gmail.com>
34504
f2962a71
UD
34505 [BZ #12671]
34506 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
34507 some situations.
34508 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34509 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
34510 add in in __libc_use_alloca calls. Adjust callers.
34511 (glob): Use malloc in some situations.
34512
de7ce8f1
UD
34513 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
34514 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
34515 pltexit.
34516
aec84f53
UD
345172011-05-21 Ulrich Drepper <drepper@gmail.com>
34518
05bb4a68
UD
34519 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
34520 and CLOCK_BOOTTIME_ALARM.
34521
7ea72f99
UD
34522 [BZ #12782]
34523 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
34524 is returned.
34525
7e4afad5
UD
34526 * string/_strerror.c (__strerror_r): Print negative errors as signed
34527 numbers.
34528
8e211fec
UD
34529 [BZ #12777]
34530 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
34531 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
34532 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
34533
f7d82dc9
UD
34534 * configure.in: Fix typo in redirection and correct removal of test
34535 files in two cases.
34536
cc9e536d
UD
34537 [BZ #12788]
34538 * locale/setlocale.c (new_composite_name): Fix test to check for
34539 identical name of all categories.
34540
aec84f53
UD
34541 [BZ #12792]
34542 * libio/filedoalloc.c (local_isatty): New function.
34543 (_IO_file_doallocate): Use local_isatty.
34544 * stdio-common/perror.c (perror): In case a new stream is used
34545 forward the stream error.
34546 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
34547 error flag.
34548
78e64fdc
RT
345492011-05-20 Ulrich Drepper <drepper@gmail.com>
34550
34a9094f
UD
34551 [BZ #11869]
34552 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
34553 alloca.
34554 * include/alloca.h (extend_alloca_account): Define.
34555
78e64fdc
RT
34556 [BZ #11857]
34557 * posix/regex.h: Fix comments with documentation of user-accessible
34558 fields after compilation and describe correct free'ing of pattern
34559 after re_compile_pattern.
34560 Patch by Reuben Thomas <rrt@sc3d.org>.
34561
457bddfc
RA
345622011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
34563
34564 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
34565 and -mno-altivec to prevent the compiler from using Altivec and/or
34566 VSX instructions when the corresponding registers are not available.
34567
a4527b51
AS
345682011-05-19 Andreas Schwab <schwab@redhat.com>
34569
34570 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
34571
ed690b2f
UD
345722011-05-19 Ulrich Drepper <drepper@gmail.com>
34573
34574 * libio/freopen.c (freopen): Use __dup2, not dup2.
34575 * libio/freopen64.c (freopen64): Likewise.
34576
8db73634
L
345772011-05-17 H.J. Lu <hongjiu.lu@intel.com>
34578
34579 [BZ #12775]
34580 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
34581 * math/Makefile (tests): Add test-powl.
34582 (CFLAGS-test-powl.c): Define.
34583 * math/test-powl.c: New file.
34584
0a197a9d
L
345852011-05-16 H.J. Lu <hongjiu.lu@intel.com>
34586
34587 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
34588
ee30c380
UD
345892011-05-17 Ulrich Drepper <drepper@gmail.com>
34590
34591 [BZ #11837]
34592 * iconvdata/gb18030.c: Update to GB18020-2005.
34593
6ce75379
UD
345942011-05-16 Ulrich Drepper <drepper@gmail.com>
34595
a4b89fd8
AR
34596 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
34597 RE_SYNTAX_POSIX_AWK): Update to match recent development.
34598 Patch by Aharon Robbins <arnold@skeeve.com>.
34599
ea389b12
UD
34600 [BZ #11892]
34601 * stdlib/putenv.c (putenv): Don't always create copy of the variable
34602 on the stack.
34603
68a3f91f
UD
34604 [BZ #11895]
34605 * misc/pselect.c (__pselect): Handle timeout value errors hidden
34606 through underflows.
34607
15cc7dd1
UD
34608 [BZ #12766]
34609 * misc/error.c (error_at_line): Ensure file_name and old_file_name
34610 point to strings before performing equality test for error_one_per_line
34611 mode.
34612
f3799213
UD
34613 [BZ #11697]
34614 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
34615
d79a9c94
UD
34616 [BZ #11820]
34617 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34618 (struct user_fpregs_struct): Avoid __uint*_t types.
34619
56e5eb46
UD
34620 [BZ #6420]
34621 * malloc/mtrace.c (tr_where): Add additional parameter to point to
34622 symbol info. Use it instead of calling _dl_addr locally.
34623 (lock_and_info): New function.
34624 (tr_freehook): Call lock_and_info and pass symbol info as additional
34625 parameter to tr_where.
34626 (tr_mallochook): Likewise.
34627 (tr_reallochook): Likewise.
34628 (tr_memalignhook): Likewise.
34629
6ce75379
UD
34630 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
34631 used and couldn't be at all thread-safe.
34632
f8a3b5bf
UD
346332011-05-15 Ulrich Drepper <drepper@gmail.com>
34634
94b7cc37
UD
34635 * libio/freopen.c (freopen): Don't close old file descriptor
34636 before the new one is opened. Instead dup the new file descriptor
34637 to the old one after the new stream is created.
34638 * libio/freopen64.c (freopen64): Likewise.
34639 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
34640 * libio/fileops.c (_IO_new_file_close_it): Handle new
34641 _IO_FLAGS2_NOCLOSE flag.
34642 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
34643 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
34644 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
34645 _IO_FLAGS2_NOCLOSE flag.
34646 * include/unistd.h: Add hidden_proto for dup3.
34647 Define __have_dup3.
34648 * io/dup3.c: Define hidden symbol.
34649 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
34650
bd25564e
UD
34651 [BZ #7101]
34652 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
34653 when an incomplete long option is used.
34654 * posix/tst-getopt_long1.c: New file.
34655 * posix/Makefile (tests): Add tst-getopt_long1.
34656
c84cfef4
UD
34657 [BZ #10138]
34658 * scripts/config.guess: Update from autoconf-2.68.
34659 * scripts/config.sub: Likewise.
34660
3b85df27
UD
34661 [BZ #10157]
34662 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
34663 tests into ...
34664 (has_cpuclock): ...this. New function.
34665 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
34666 macro here based on has_cpuclock code.
34667
15a856b1
UD
34668 [BZ #10149]
34669 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34670 First byte (not low byte) is now always NUL.
34671 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
34672
05f399e6
UD
34673 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34674 Use non-cancelable interfaces.
34675
10a52685 34676 [BZ #9809]
94ecc67d
UD
34677 * locale/iso-639.def: Add entry for Sorani.
34678
f8a3b5bf
UD
34679 [BZ #11901]
34680 * include/stdlib.h: Move include protection to the right place.
34681 Define abort_msg_s. Declare __abort_msg with it.
34682 * stdlib/abort.c (__abort_msg): Adjust type.
34683 * assert/assert.c (__assert_fail_base): New function. Majority
34684 of code from __assert_fail. Allocate memory for __abort_msg with
34685 mmap.
34686 (__assert_fail): Now call __assert_fail_base.
34687 * assert/assert-perr.c: Remove bulk of implementation. Use
34688 __assert_fail_base.
34689 * include/assert.hL Declare __assert_fail_base.
34690 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
34691 mmap.
34692 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
34693
1af4e298
UD
346942011-05-14 Ulrich Drepper <drepper@gmail.com>
34695
f8a3b5bf 34696 [BZ #11952]
d26dfc60
MG
34697 [BZ #12453]
34698 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
34699 until all modules are registered in the DTV.
34700 * elf/Makefile: Add rules to build and run tst-tls19.
34701 * elf/tst-tls19.c: New file.
34702 * elf/tst-tls19mod1.c: New file.
34703 * elf/tst-tls19mod2.c: New file.
34704 * elf/tst-tls19mod3.c: New file.
34705 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
34706
2fc54d6f
UD
34707 [BZ #12083]
34708 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
34709 correctly.
34710
98d76b46
UD
34711 [BZ #12601]
34712 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
34713 two-byte sequence errors.
34714 * iconvdata/Makefile (tests): Add bug-iconv8.
34715 * iconvdata/bug-iconv8.c: New file.
34716
da3c19ef
UD
34717 [BZ #12626]
34718 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
34719 buf2 definition.
34720
ca408c15
UD
34721 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
34722
d6f67f7d
UD
34723 [BZ #12432]
34724 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
34725 (dummy_getcfa): New function.
34726 (init): Get _Unwind_GetCFA address, use dummy if not found.
34727 (backtrace_helper): In recursion check, also check whether CFA changes.
34728 (__backtrace): Completely initialize arg.
34729
1af4e298 34730 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
34731 storing incomplete byte sequence in state object. Avoid testing for
34732 guaranteed too small input if we know there is enough data available.
1af4e298 34733
da62f81b
AS
347342011-05-11 Andreas Schwab <schwab@redhat.com>
34735
34736 * Makeconfig (+link-pie): Indent.
34737 * Rules (binaries-pie): Define if $(have-fpie) and
34738 $(build-shared).
34739 (binaries-shared): Also filter out $(binaries-pie).
34740 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
34741 * nscd/Makefile (others-pie): Add nscd.
34742 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
34743 ($(objpfx)nscd): Remove command override.
34744 * login/Makefile (others-pie): Add pt_chown.
34745 ($(objpfx)pt_chown): Remove command override.
34746 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
34747 remove command overrides.
34748
fcabc0f8
UD
347492011-05-13 Ulrich Drepper <drepper@gmail.com>
34750
20030ae6
UD
34751 * libio/tst_putwc.c: Fix error messages.
34752
fcabc0f8
UD
34753 [BZ #12724]
34754 * libio/fileops.c (_IO_new_file_close_it): Always flush when
34755 currently writing and seek to current position when not.
34756 * libio/Makefile (tests): Add bug-fclose1.
34757 * libio/bug-fclose1.c: New file.
34758
320a5dc0
PB
347592011-05-12 Ulrich Drepper <drepper@gmail.com>
34760
34761 [BZ #12511]
34762 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
34763 don't set DF_1_NODELETE here.
34764 (do_lookup_x): When entering new entry test for copy relocation
34765 and if necessary set DF_1_NODELETE flag.
34766 * elf/tst-unique4.cc: New file.
34767 * elf/tst-unique4.h: New file.
34768 * elf/tst-unique4lib.cc: New file.
34769 * elf/Makefile: Add rules to build and run tst-unique4.
34770 Patch by Piotr Bury <pbury@goahead.com>.
34771
22836f52
UD
347722011-05-11 Ulrich Drepper <drepper@gmail.com>
34773
f574184a
UD
34774 [BZ #12052]
34775 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
34776
e1fb097f
UD
34777 [BZ #12625]
34778 * misc/mntent_r.c (addmntent): Flush the stream after the output
34779
22836f52
UD
34780 [BZ #12393]
34781 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
34782 (is_trusted_path_normalize): Skip initial colon. Append slash
34783 to empty buffer. Duplicate is_trusted_path code but allow
34784 constructed patch to be prefix.
34785 (is_dst): Allow $ORIGIN followed by /.
34786 (_dl_dst_substitute): Correct clearing of check_for_trusted.
34787 Correct testing of result of is_trusted_path_normalize
34788 (decompose_rpath): Fix warning.
34789
7b3b0b2a
UD
347902011-05-10 Ulrich Drepper <drepper@gmail.com>
34791
34792 [BZ #11257]
34793 * grp/initgroups.c (internal_getgrouplist): When we found the service
34794 list through the initgroups entry in nsswitch.conf do not always
34795 continue on a successful lookup. Don't always use the
eac80ce2 34796 __nss_group_database value if it is set.
7b3b0b2a
UD
34797 * nss/nsswitch.conf (initgroups): Change action for successful db
34798 lookup to continue for compatibility.
34799
2a81eaa5
UD
348002011-05-09 Ulrich Drepper <drepper@gmail.com>
34801
be97a69e
UD
34802 [BZ #11532]
34803 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
34804 and CP774 modules.
34805 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
34806 and CP774 modules.
34807 * iconvdata/tst-tables.sh: Likewise.
34808 * iconvdata/cp770.c: New file.
34809 * iconvdata/cp771.c: New file.
34810 * iconvdata/cp772.c: New file.
34811 * iconvdata/cp773.c: New file.
34812 * iconvdata/cp774.c: New file.
34813 * iconvdata/testdata/CP770: New file.
34814 * iconvdata/testdata/CP770..UTF8: New file.
34815 * iconvdata/testdata/CP771: New file.
34816 * iconvdata/testdata/CP771..UTF8: New file.
34817 * iconvdata/testdata/CP772: New file.
34818 * iconvdata/testdata/CP772..UTF8: New file.
34819 * iconvdata/testdata/CP773: New file.
34820 * iconvdata/testdata/CP773..UTF8: New file.
34821 * iconvdata/testdata/CP774: New file.
34822 * iconvdata/testdata/CP774..UTF8: New file.
34823
34824 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
34825 END CHARMAP line.
34826 * iconvdata/gen-8bit-gap.sh: Likewise.
34827 * iconvdata/gen-8bit.sh: Likewise.
34828
c1e9e399
UD
34829 * locale/iso-639.def: Add ary entry.
34830
24c55fb3 34831 [BZ #11258]
96b4b1b0
UD
34832 * locale/C-translit.h.in: Add U20A1 transliteration.
34833
bdc2f971
KB
34834 [BZ #12178]
34835 * locale/iso-639.def: Add wae entry.
34836 Patch by Kevin Bortis <bortis@translate-wae.ch>.
34837
2952b117
UD
34838 [BZ #12545]
34839 * locale/programs/localedef.c (construct_output_path): Use ssize_t
34840 for n.
34841
2a81eaa5
UD
34842 [BZ #12711]
34843 * locale/C-translit.h.in: Add entry for U20B9.
34844 Patch by pravin.d.s@gmail.com.
34845
28377d1b
UD
348462011-05-08 Ulrich Drepper <drepper@gmail.com>
34847
7fb90fb8
UD
34848 [BZ #12713]
34849 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
34850 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
34851 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
34852 in rtld. Use *stat64.
7fb90fb8 34853 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 34854 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 34855 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
34856 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
34857 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
34858 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
34859 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
34860 __fstatat64 macros.
7fb90fb8
UD
34861 * include/dirent.h: Add libc_hidden_proto for rewinddir.
34862 * dirent/rewinddir.c: Add libc_hidden_def.
34863 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 34864 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 34865
28377d1b
UD
34866 * include/dirent.h (__alloc_dir): Add flags parameter.
34867 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
34868 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
34869 __alloc_dir.
34870 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
34871 from fdopendir if O_CLOEXEC is already set.
34872
66bdbaa4
AM
348732011-03-15 Alan Modra <amodra@gmail.com>
34874
34875 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
34876 l_tls_firstbyte_offset non-zero. Save padding offset in
34877 l_tls_firstbyte_offset for later use.
34878 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
34879 freeing static tls block.
34880
95721191
JN
348812011-03-05 Jonathan Nieder <jrnieder@gmail.com>
34882
34883 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
34884 where #ifdef was intended. The intent is to prevent ARG_MAX from
34885 being defined by the kernel headers.
34886
f87dfb1f
UD
348872011-05-07 Ulrich Drepper <drepper@gmail.com>
34888
34889 [BZ #12734]
34890 * resolv/resolv.h: Define RES_NOTLDQUERY.
34891 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
34892 no-tld-query and set RES_NOTLDQUERY.
34893 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
34894 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
34895 modern BIND to search name as TLD unless forbidden.
34896
47c3cd7a
UD
348972011-05-07 Petr Baudis <pasky@suse.cz>
34898 Ulrich Drepper <drepper@gmail.com>
34899
34900 [BZ #12393]
34901 * elf/dl-load.c (fillin_rpath): Move trusted path check...
34902 (is_trusted_path): ...to here.
c1e9ea35 34903 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 34904 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 34905 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 34906
8a35c912
PP
349072011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34908
34909 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
34910 __BEGIN/__END_DECLS.
34911
acd41f47
UD
349122011-05-06 Ulrich Drepper <drepper@gmail.com>
34913
34914 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
34915 NSS_STATUS_NOTFOUND if no record was found.
34916
597df647
AS
349172011-05-05 Andreas Schwab <schwab@redhat.com>
34918
34919 * sunrpc/Makefile (headers): Add rpc/netdb.h.
34920 (headers-not-in-tirpc): Remove rpc/netdb.h
34921 * resolv/netdb.h: Revert last change.
34922
b9af1301
PP
349232011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
34924
34925 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
34926 circular dependency between libgcc.a and libc.a.
34927
4e34d5f5
AS
349282011-05-05 Andreas Schwab <schwab@redhat.com>
34929
34930 * resolv/netdb.h: Don't include <rpc/netdb.h>.
34931 * nis/Makefile: Don't install rpcsvc/*.
34932 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
34933 instead of <rpc/types.h>.
34934 (MAXHOSTNAMELEN): Define.
34935
00ee369c
AS
349362011-05-03 Andreas Schwab <schwab@redhat.com>
34937
34938 * elf/ldconfig.c (add_dir): Don't crash on empty path.
34939
0b592a30
MB
349402011-04-28 Maciej Babinski <mbabinski@google.com>
34941
34942 [BZ #12714]
34943 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
34944 gethostbyname4_r when IPv6 results are possible.
34945
6e04cbbe
UD
349462011-05-02 Ulrich Drepper <drepper@gmail.com>
34947
34948 [BZ #12723]
34949 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
34950 _PC_PIPE_BUF handling.
34951
e4ecafe0
BH
349522011-04-30 Bruno Haible <bruno@clisp.org>
34953
34954 [BZ #12717]
34955 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
34956 * resolv/netdb.h (getnameinfo): Change type of flags parameter
34957 to 'int'.
34958 * inet/getnameinfo.c (getnameinfo): Likewise.
34959
125ee683
UD
349602011-04-29 Ulrich Drepper <drepper@gmail.com>
34961
34962 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
34963 to groups setting in database lookup.
34964 * nss/nsswitch.conf: Add initgroups entry.
34965
b722481a
EB
349662011-04-22 Ulrich Drepper <drepper@gmail.com>
34967
34968 [BZ #12685]
34969 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
34970 mode string.
34971 Patch by Eric Blake <eblake@redhat.com>.
34972
4df46dbd
L
349732011-04-20 H.J. Lu <hongjiu.lu@intel.com>
34974
34975 * sunrpc/Makefile (need-export-routines): Add svc_run.
34976 (routines): Remove svc_run.
34977 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
34978 * sunrpc/clnt_perr.c (clnt_perrno): Export.
34979 * sunrpc/svc_run.c (svc_run): Likewise.
34980 * sunrpc/svc_udp.c (svcudp_create): Likewise.
34981
e84142d2
UD
349822011-04-21 Ulrich Drepper <drepper@gmail.com>
34983
34984 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
34985 problem in reallocation in last patch.
34986
877175d8
UD
349872011-04-20 Ulrich Drepper <drepper@gmail.com>
34988
34989 * sunrpc/Makefile: Move inclusion of Rules.
34990
ab8eed78
UD
349912011-04-19 Ulrich Drepper <drepper@gmail.com>
34992
34993 * nss/nss_files/files-initgroups.c: New file.
34994 * nss/Makefile (libnss_files-routines): Add files-initgroups.
34995 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
34996 _nss_files_initgroups_dyn.
34997
e3d8f584
RS
349982011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
34999
35000 * elf/elf.h (R_ARM_IRELATIVE): Define.
35001
af190f45
UD
350022011-04-19 Ulrich Drepper <drepper@gmail.com>
35003
35004 * po/ru.po: Update from translation team.
35005
53cf59ef
UD
350062011-04-17 Ulrich Drepper <drepper@gmail.com>
35007
35008 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
35009 dependencies.
35010
4c559bcd
MF
350112011-02-06 Mike Frysinger <vapier@gentoo.org>
35012
35013 [BZ #12653]
35014 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
35015 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
35016 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35017 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35018 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35019
4420675c
AS
350202011-03-28 Andreas Schwab <schwab@linux-m68k.org>
35021
35022 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
35023 differing bytes.
35024 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35025 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35026 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35027
75ea32ab
UD
350282011-04-17 Ulrich Drepper <drepper@gmail.com>
35029
35030 [BZ #12420]
35031 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
35032 storing it.
35033 * stdlib/bug-getcontext.c: New file.
35034 * stdlib/Makefile: Add rules to build and run bug-getcontext.
35035
27390476
AK
350362011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35037
35038 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
35039 instructions into .machine "z9-109".
35040 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
35041 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
35042
10442705
AK
350432011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35044
35045 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
35046 between environment variables and auxiliary vector.
35047
7b57bfe5
UD
350482011-04-16 Ulrich Drepper <drepper@gmail.com>
35049
35050 * Makefile: Add rules to build linkobj/libc.so.
35051 * include/libc-symbols.h: Define libc_hidden_nolink.
35052 * include/rpc/auth.h: Mark functions which are to be hidden.
35053 * include/rpc/auth_des.h: Likewise.
35054 * include/rpc/auth_unix.h: Likewise.
35055 * include/rpc/clnt.h: Likewise.
35056 * include/rpc/des_crypt.h: Likewise.
35057 * include/rpc/key_prot.h: Likewise.
35058 * include/rpc/pmap_clnt.h: Likewise.
35059 * include/rpc/pmap_prot.h: Likewise.
35060 * include/rpc/pmap_rmt.h: Likewise.
35061 * include/rpc/rpc_msg.h: Likewise.
35062 * include/rpc/svc.h: Likewise.
35063 * include/rpc/svc_auth.h: Likewise.
35064 * include/rpc/xdr.h: Likewise.
35065 * nis/Makefile: Link all DSOs against linkobj/libc.so.
35066 * nss/Makefile: Likewise.
35067 * sunrpc/Makefile: Don't install headers. Build library with normal
35068 entry points. Don't build rpcinfo. Link RPC tests appropriately.
35069 * sunrpc/auth_des.c: Hide exported symbols by default, export some
35070 for the compat linking library. Remove use of INTDEF/INTUSE.
35071 * sunrpc/auth_none.c: Likewise.
35072 * sunrpc/auth_unix.c: Likewise.
35073 * sunrpc/authdes_prot.c: Likewise.
35074 * sunrpc/authuxprot.c: Likewise.
35075 * sunrpc/clnt_gen.c: Likewise.
35076 * sunrpc/clnt_perr.c: Likewise.
35077 * sunrpc/clnt_raw.c: Likewise.
35078 * sunrpc/clnt_simp.c: Likewise.
35079 * sunrpc/clnt_tcp.c: Likewise.
35080 * sunrpc/clnt_udp.c: Likewise.
35081 * sunrpc/clnt_unix.c: Likewise.
35082 * sunrpc/des_crypt.c: Likewise.
35083 * sunrpc/des_soft.c: Likewise.
35084 * sunrpc/get_myaddr.c: Likewise.
35085 * sunrpc/key_call.c: Likewise.
35086 * sunrpc/key_prot.c: Likewise.
35087 * sunrpc/netname.c: Likewise.
35088 * sunrpc/pm_getmaps.c: Likewise.
35089 * sunrpc/pm_getport.c: Likewise.
35090 * sunrpc/pmap_clnt.c: Likewise.
35091 * sunrpc/pmap_prot.c: Likewise.
35092 * sunrpc/pmap_prot2.c: Likewise.
35093 * sunrpc/pmap_rmt.c: Likewise.
35094 * sunrpc/publickey.c: Likewise.
35095 * sunrpc/rpc_cmsg.c: Likewise.
35096 * sunrpc/rpc_common.c: Likewise.
35097 * sunrpc/rpc_dtable.c: Likewise.
35098 * sunrpc/rpc_prot.c: Likewise.
35099 * sunrpc/rpc_thread.c: Likewise.
35100 * sunrpc/rtime.c: Likewise.
35101 * sunrpc/svc.c: Likewise.
35102 * sunrpc/svc_auth.c: Likewise.
35103 * sunrpc/svc_authux.c: Likewise.
35104 * sunrpc/svc_raw.c: Likewise.
35105 * sunrpc/svc_run.c: Likewise.
35106 * sunrpc/svc_simple.c: Likewise.
35107 * sunrpc/svc_tcp.c: Likewise.
35108 * sunrpc/svc_udp.c: Likewise.
35109 * sunrpc/svc_unix.c: Likewise.
35110 * sunrpc/svcauth_des.c: Likewise.
35111 * sunrpc/xcrypt.c: Likewise.
35112 * sunrpc/xdr.c: Likewise.
35113 * sunrpc/xdr_array.c: Likewise.
35114 * sunrpc/xdr_float.c: Likewise.
35115 * sunrpc/xdr_intXX_t.c: Likewise.
35116 * sunrpc/xdr_mem.c: Likewise.
35117 * sunrpc/xdr_rec.c: Likewise.
35118 * sunrpc/xdr_ref.c: Likewise.
35119 * sunrpc/xdr_sizeof.c: Likewise.
35120 * sunrpc/xdr_stdio.c: Likewise.
35121
e6c61494
UD
351222011-04-10 Ulrich Drepper <drepper@gmail.com>
35123
35124 [BZ #12650]
35125 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
35126 * sysdeps/ia64/dl-tls.h: Likewise.
35127 * sysdeps/powerpc/dl-tls.h: Likewise.
35128 * sysdeps/s390/dl-tls.h: Likewise.
35129 * sysdeps/sh/dl-tls.h: Likewise.
35130 * sysdeps/sparc/dl-tls.h: Likewise.
35131 * sysdeps/x86_64/dl-tls.h: Likewise.
35132 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
35133
34fe483e
AS
351342011-03-14 Andreas Schwab <schwab@redhat.com>
35135
35136 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
35137 rpath element also skip the following colon.
35138 (expand_dynamic_string_token): Add is_path parameter and pass
35139 down to DL_DST_REQUIRED and _dl_dst_substitute.
35140 (decompose_rpath): Call expand_dynamic_string_token with
35141 non-zero is_path. Ignore empty rpaths.
35142 (_dl_map_object_from_fd): Call expand_dynamic_string_token
35143 with zero is_path.
35144
f12a32e6
AS
351452011-04-08 Andreas Schwab <schwab@linux-m68k.org>
35146
35147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35148 Make cancelable.
35149
38a7d692
UD
351502011-04-09 Ulrich Drepper <drepper@gmail.com>
35151
35152 [BZ #12655]
35153 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
35154 Patch by Filipe David Manana <fdmanana@apache.org>.
35155
e451d22b
AS
351562011-04-07 Andreas Schwab <schwab@redhat.com>
35157
35158 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
35159 Maintain aligned stack.
35160 (CHECK_RSP): Remove unused macro.
35161
dedc7c7b
UD
351622011-04-03 Ulrich Drepper <drepper@gmail.com>
35163
35164 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
35165 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
35166
94521213
UD
351672011-04-02 Ulrich Drepper <drepper@gmail.com>
35168
35169 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
35170
8cb700c0 35171 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 35172
0354e355
L
351732011-03-26 H.J. Lu <hongjiu.lu@intel.com>
35174
35175 [BZ #12518]
35176 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
35177 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
35178 * sysdeps/x86_64/memmove.c: New file.
35179 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
35180 (memcpy): Renamed to ...
35181 (__new_memcpy): This.
35182 (memcpy): Provide GLIBC_2_14 memcpy.
35183 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
35184 (memcpy): Provide GLIBC_2_2_5 memcpy.
35185
8593482f
UD
351862011-04-01 Ulrich Drepper <drepper@gmail.com>
35187
35188 [BZ #12631]
35189 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
35190
81a5726b
AS
351912011-03-30 Andreas Schwab <schwab@redhat.com>
35192
35193 * misc/syncfs.c: New file.
35194 * misc/Makefile (routines): Add syncfs.
35195 * posix/unistd.h: Declare syncfs.
35196 * sysdeps/unix/syscalls.list: Add syncfs.
35197
00e5419f
AS
351982011-04-01 Andreas Schwab <schwab@redhat.com>
35199
35200 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
35201 open_by_handle_at.
35202 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35203 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35204 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35205 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35206 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35207 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
35208 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35209
748876bf
UD
352102011-04-01 Ulrich Drepper <drepper@gmail.com>
35211
658e451d
UD
35212 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
35213 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35214 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
35215 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35216 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35217 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35218 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35219
748876bf
UD
35220 * io/Makefile: Compile fallocate.c, fallocate64.c, and
35221 sync_file_range.c with -fexceptions.
35222 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
35223 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
35224 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
35225 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
35226 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
35227 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35228 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
35229 sync_file_range as cancellation point
35230 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
35231 now a wrapper around __call_sync_file_range with cancellation handling.
35232 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
35233 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
35234 function name to __call_sync_file_range.
35235 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
35236 Add call_sync_file_range.
748876bf 35237
6e63d5e1
AS
352382011-04-01 Andreas Schwab <schwab@redhat.com>
35239
35240 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 35241 bits/timex.h.
6e63d5e1 35242
46998f74
UD
352432011-04-01 Ulrich Drepper <drepper@gmail.com>
35244
4c1423ed
UD
35245 * iconv/iconv.h: Fix typo in comment.
35246 * io/fcntl.h: Likewise.
35247 * libio/stdio.h: Likewise.
35248 * posix/spawn.h: Likewise.
35249 * posix/unistd.h: Likewise.
35250 * stdlib/stdlib.h: Likewise.
35251 * time/time.h: Likewise.
35252 * wcsmbs/wchar.h: Likewise.
35253
158648c0
UD
35254 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
35255 open_by_handle): Add.
35256 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
35257 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
35258 Augment a few comments.
35259 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35260 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35261 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35262 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35263 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35264 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
35265 open_by_handle.
35266
46998f74
UD
35267 * io/fcntl.h (AT_EMPTY_PATH): Define.
35268
83fe108b
UD
352692011-03-30 Ulrich Drepper <drepper@gmail.com>
35270
35271 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
35272 * sysdeps/unix/sysv/linux/bits/time.h: New file.
35273 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
35274 to...
35275 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
35276 * Versions.def: Add GLIBC_2.14.
35277 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
35278 Export.
83fe108b 35279
bb242059
UD
352802011-03-22 Ulrich Drepper <drepper@gmail.com>
35281
35282 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
35283 round counter.
35284 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35285
c97a1282
L
352862011-03-20 H.J. Lu <hongjiu.lu@intel.com>
35287
35288 [BZ #12597]
35289 * string/test-strncmp.c (do_page_test): New function.
35290 (check2): Likewise.
35291 (test_main): Call check2.
35292 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
35293
2a115601
UD
352942011-03-20 Ulrich Drepper <drepper@gmail.com>
35295
35296 [BZ #12587]
35297 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
35298 Handle cache information in CPU leaf 4.
35299 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35300
8126d904
UD
353012011-03-18 Ulrich Drepper <drepper@gmail.com>
35302
042c49c6 35303 [BZ #12583]
8126d904
UD
35304 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
35305 character representation.
35306 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
35307
ccfe366e
RA
353082011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
35309
35310 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
35311 END(__isnan) to END(__isnanf) to match function entry point/label
35312 EALIGN(__isnanf,...).
35313
c6e13027
JJ
353142011-03-10 Jakub Jelinek <jakub@redhat.com>
35315
35316 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
35317
33f85a3f
UD
353182011-03-10 Ulrich Drepper <drepper@gmail.com>
35319
028478fa
UD
35320 [BZ #12510]
35321 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
35322 copy from the symbol referenced in the relocation to initialize the
35323 used variable.
35324 Patch by Piotr Bury <pbury@goahead.com>.
35325 * elf/Makefile: Add rules to build and tst-unique3.
35326 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
35327 * elf/tst-unique3.cc: New file.
35328 * elf/tst-unique3.h: New file.
35329 * elf/tst-unique3lib.cc: New file.
35330 * elf/tst-unique3lib2.cc: New file.
35331
33f85a3f
UD
35332 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
35333
03592fc7
MF
353342011-03-10 Mike Frysinger <vapier@gentoo.org>
35335
35336 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
35337 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
35338 to _start.
03592fc7 35339
6a5ee102
UD
353402011-03-06 Ulrich Drepper <drepper@gmail.com>
35341
35342 * elf/dl-load.c (_dl_map_object): If we are looking for the first
35343 to-be-loaded object along a path to loader is ld.so.
35344
7e4ba49c
HJ
353452011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
35346 Ulrich Drepper <drepper@gmail.com>
35347
35348 * sysdeps/x86_64/memset.S: After aligning destination, code
35349 branches to different locations depending on the value of
35350 misalignment, when multiarch is enabled. Fix this.
35351
353522011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
35353
35354 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
35355 Set _x86_64_preferred_memory_instruction for AMD processsors.
35356 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35357 Set bit_Prefer_SSE_for_memop for AMD processors.
35358
13a804de
UD
353592011-03-04 Ulrich Drepper <drepper@gmail.com>
35360
35361 * libio/fmemopen.c (fmemopen): Optimize a bit.
35362
9d25c392
AS
353632011-03-03 Andreas Schwab <schwab@redhat.com>
35364
35365 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
35366
a5543c6a
RM
353672011-03-03 Roland McGrath <roland@redhat.com>
35368
35369 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
35370
012d35f7
DM
353712011-02-28 Aurelien Jarno <aurelien@aurel32.net>
35372
7e4ba49c 35373 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
35374 __bzero_ultra1 instead of __memset_ultra1.
35375
4bff6e01
AS
353762011-02-23 Andreas Schwab <schwab@redhat.com>
35377 Ulrich Drepper <drepper@gmail.com>
35378
35379 [BZ #12509]
35380 * include/link.h (struct link_map): Add l_orig_initfini.
35381 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
35382 returning unsuccessfully.
35383 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
35384 close of a file loaded at startup, restore the original l_initfini
35385 list.
35386 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
35387 list, store the pointer.
35388 * elf/Makefile ($(objpfx)noload-mem): New rule.
35389 (noload-ENV): Define.
35390 (tests): Add $(objpfx)noload-mem.
35391 * elf/noload.c: Include <memcheck.h>.
35392 (main): Call mtrace. Close all opened handles.
35393
f2092faf
AS
353942011-02-17 Andreas Schwab <schwab@redhat.com>
35395
35396 [BZ #12454]
35397 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
35398 dependencies are missing.
35399
6c8a2e88
ST
354002011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
35401
f2092faf 35402 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
35403 Hurd needs munmap.
35404 * sysdeps/mach/hurd/ifreq.h: New file.
35405
84a42118
PB
354062011-01-27 Petr Baudis <pasky@suse.cz>
35407 Ulrich Drepper <drepper@gmail.com>
35408
071f805e 35409 [BZ 12445]#
84a42118
PB
35410 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
35411 to extend_alloca().
35412 * stdio-common/bug23.c: New file.
35413 * stdio-common/Makefile (tests): Add bug23.
35414
e23fe25b
AS
354152010-09-28 Andreas Schwab <schwab@redhat.com>
35416 Ulrich Drepper <drepper@gmail.com>
35417
35418 [BZ #12489]
35419 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
35420 before performing relro protection. At old place add assertion
35421 to make sure nothing changed.
35422
d3f02e10
NS
354232011-02-17 Nathan Sidwell <nathan@codesourcery.com>
35424 Glauber de Oliveira Costa <glommer@gmail.com>
35425
35426 * elf/elf.h: Add new ARM TLS relocs.
35427
d55fd7a5
RA
354282011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
35429
35430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35431 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
35432 cast from r3.
35433 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
35434 'tests' variable.
35435 * sysdeps/wordsize-64/tst-writev.c: New file.
35436
2206397e
RA
354372011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
35438
35439 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
35440 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
35441 insns in _dl_start to prevent a TOC reference before relocs are
35442 resolved.
35443
e9433893
UD
354442011-02-15 Ulrich Drepper <drepper@gmail.com>
35445
35446 [BZ #12469]
35447 * Makeconfig: Remove RANLIB definition.
35448 * Makerules: Don't use RANLIB.
35449 * aclocal.m4: Remove ranlib test.
35450 * configure.in: No need to check for ranlib.
35451 * elf/rtld-Rules: Don't use RANLIB.
35452
f75286c6
ST
354532011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
35454
8e31c82d
ST
35455 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
35456 protection macro.
35457 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
35458 inclusion protection macro.
35459
f75286c6
ST
35460 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
35461 SIGRTMIN and SIGRTMAX and print information in that case only when
35462 SIGRTMIN is defined.
35463
c1d0e639
JJ
354642011-02-11 Jakub Jelinek <jakub@redhat.com>
35465
35466 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
35467 arginfo fn returning -1.
35468
35469 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
35470 and thousands string is zero terminated.
35471
edf9294e
AS
354722011-02-03 Andreas Schwab <schwab@redhat.com>
35473
35474 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
35475 sysdeps/unix/sysv/linux/bits/socket.h.
35476
2b7e92df
ST
354772011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
35478
edf9294e
AS
35479 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
35480 (__CPU_COUNT): Remove old macros.
35481 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
35482 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
35483 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
35484 (__sched_cpualloc, __sched_cpufree): Add declarations.
35485
a4c7ea7b
UD
354862011-02-05 Ulrich Drepper <drepper@gmail.com>
35487
35488 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
35489 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
35490 * nscd/aicache.c (addhstaiX): Return timeout of added value.
35491 (readdhstai): Return value of addhstaiX call.
35492 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
35493 (addgrbyX): Return value returned by cache_addgr.
35494 (readdgrbyname): Return value returned by addgrbyX.
35495 (readdgrbygid): Likewise.
35496 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
35497 (addpwbyX): Return value returned by cache_addpw.
35498 (readdpwbyname): Return value returned by addhstbyX.
35499 (readdpwbyuid): Likewise.
35500 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
35501 (addservbyX): Return value returned by cache_addserv.
35502 (readdservbyname): Return value returned by addservbyX:
35503 (readdservbyport): Likewise.
35504 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
35505 (addhstbyX): Return value returned by cache_addhst.
35506 (readdhstbyname): Return value returned by addhstbyX.
35507 (readdhstbyaddr): Likewise.
35508 (readdhstbynamev6): Likewise.
35509 (readdhstbyaddrv6): Likewise.
35510 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
35511 (readdinitgroups): Return value returned by addinitgroupsX.
35512 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
35513 (prune_cache): Keep track of timeout value of re-added entries.
35514 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
35515 * nscd/nscd.h: Adjust prototypes of readd* functions.
35516
a0bf67cc
RM
355172011-02-04 Roland McGrath <roland@redhat.com>
35518
35519 * nis/nis_server.c (nis_servstate): Use the right name for 0.
35520 (nis_stats): Likewise.
35521 * nis/nis_modify.c (nis_modify): Likewise.
35522 * nis/nis_remove.c (nis_remove): Likewise.
35523 * nis/nis_add.c (nis_add): Likewise.
35524
35525 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
35526
35527 * posix/fnmatch_loop.c: Add some consts.
35528
35529 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
35530
435b95eb
L
355312011-02-02 H.J. Lu <hongjiu.lu@intel.com>
35532
35533 [BZ #12460]
35534 * config.make.in (config-cflags-novzeroupper): Define.
35535 * configure.in: Substitute libc_cv_cc_novzeroupper.
35536 * elf/Makefile (AVX-CFLAGS): Define.
35537 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
35538 (CFLAGS-tst-auditmod4a.c): Likewise.
35539 (CFLAGS-tst-auditmod4b.c): Likewise.
35540 (CFLAGS-tst-auditmod6b.c): Likewise.
35541 (CFLAGS-tst-auditmod6c.c): Likewise.
35542 (CFLAGS-tst-auditmod7b.c): Likewise.
35543 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
35544
8517b15e
UD
355452011-02-02 Ulrich Drepper <drepper@gmail.com>
35546
35547 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
35548 function to the callback.
35549 Patch partly by Jiri Olsa <jolsa@redhat.com>.
35550
10a656fe
AS
355512011-02-02 Andreas Schwab <schwab@redhat.com>
35552
35553 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
35554 of errno.
35555
968dad0a
UD
355562011-01-19 Ulrich Drepper <drepper@gmail.com>
35557
9f94d2ea 35558 [BZ #11724]
968dad0a
UD
35559 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
35560 of constructors.
35561 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
35562 of destructors.
35563 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
35564
35565 [BZ #11724]
35566 * elf/Makefile: Add rules to build and run new test.
35567 * elf/tst-initorder.c: New file.
35568 * elf/tst-initorder.exp: New file.
35569 * elf/tst-initordera1.c: New file.
35570 * elf/tst-initordera2.c: New file.
35571 * elf/tst-initordera3.c: New file.
35572 * elf/tst-initordera4.c: New file.
35573 * elf/tst-initorderb1.c: New file.
35574 * elf/tst-initorderb2.c: New file.
35575 * elf/tst-order-a1.c: New file.
35576 * elf/tst-order-a2.c: New file.
35577 * elf/tst-order-a3.c: New file.
35578 * elf/tst-order-a4.c: New file.
35579 * elf/tst-order-b1.c: New file.
35580 * elf/tst-order-b2.c: New file.
35581 * elf/tst-order-main.c: New file.
35582 New test case by George Gensure <werkt0@gmail.com>.
35583
86e92359
UD
355842010-10-01 Andreas Schwab <schwab@redhat.com>
35585
35586 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35587 decoding ACE if AI_CANONIDN.
35588
5d5732b0
UD
355892011-01-18 Ulrich Drepper <drepper@gmail.com>
35590
35591 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
35592
a77e8cbc
UD
355932011-01-17 Ulrich Drepper <drepper@gmail.com>
35594
6392473f
UD
35595 * version.h (RELEASE): Bump for 2.13 release.
35596 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
35597
620a0529
UD
35598 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
35599
18ba70a5
UD
35600 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
35601 MADV_NOHUGEPAGE.
32465c3e
UD
35602 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
35603 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35604 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35605 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35606 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35607 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35608
c0dafcf1
UD
35609 * posix/getconf.c: Update copyright year.
35610 * catgets/gencat.c: Likewise.
35611 * csu/version.c: Likewise.
35612 * debug/catchsegv.sh: Likewise.
35613 * debug/xtrace.sh: Likewise.
35614 * elf/ldconfig.c: Likewise.
35615 * elf/ldd.bash.in: Likewise.
35616 * elf/sprof.c (print_version): Likewise.
35617 * iconv/iconv_prog.c: Likewise.
35618 * iconv/iconvconfig.c: Likewise.
35619 * locale/programs/locale.c: Likewise.
35620 * locale/programs/localedef.c: Likewise.
35621 * malloc/memusage.sh: Likewise.
35622 * malloc/mtrace.pl: Likewise.
35623 * nscd/nscd.c (print_version): Likewise.
35624 * nss/getent.c: Likewise.
35625
a77e8cbc
UD
35626 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
35627 PF_CAIF, and PF_ALG.
35628 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35629
77e8bddf
AS
356302011-01-16 Andreas Schwab <schwab@linux-m68k.org>
35631
1f20b93a
AS
35632 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
35633 (modules-names): Use them.
35634 (ifunc-test-modules, ifunc-pie-tests): Define.
35635 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
35636 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
35637 (test-extras): Likewise.
35638 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
35639 $(compile-command.c).
35640 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
35641 (all-built-dso): Define.
35642 (check-textrel.out, check-execstack.out): Depend on it.
35643
77e8bddf
AS
35644 * configure.in: Don't override --enable-multi-arch.
35645
bc425b33
UD
356462011-01-15 Ulrich Drepper <drepper@gmail.com>
35647
35648 [BZ #6812]
35649 * nscd/hstcache.c (tryagain): Define.
35650 (cache_addhst): Return tryagain not notfound for temporary errors.
35651 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
35652 failed.
35653
794c3ad3
UD
356542011-01-14 Ulrich Drepper <drepper@gmail.com>
35655
70181fdd
UD
35656 [BZ #10563]
35657 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
35658 to make the syscall.
35659 * sysdeps/unix/sysv/linux/setgroups.c: New file.
35660
794c3ad3
UD
35661 [BZ #12378]
35662 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
35663 and fall back to matching as normal character if the string ends before
35664 the matching ']' is found. This is what POSIX requires.
35665 * posix/testfnm.c: Adjust test result.
35666 * posix/globtest.sh: Adjust test result. Add new test.
35667 * posix/tst-fnmatch.input: Likewise.
35668 * posix/tst-fnmatch2.c: Add new test.
35669
68dc9497
AS
356702010-12-28 Andreas Schwab <schwab@linux-m68k.org>
35671
35672 * elf/Makefile (check-execstack): Revert last change. Depend on
35673 check-execstack.h.
35674 (check-execstack.h): New target.
35675 (generated): Add check-execstack.h.
35676 * elf/check-execstack.c: Include "check-execstack.h".
35677 (main): Revert last change.
35678 (handle_file): Return zero if GNU_STACK is absent and
35679 DEFAULT_STACK_PERMS doesn't include PF_X.
35680
451f001b
UD
356812011-01-13 Ulrich Drepper <drepper@gmail.com>
35682
cfa28e56
UD
35683 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
35684 in child fails because the descriptor is already closed.
8cf8ce17
UD
35685 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
35686 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
35687 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 35688
1086d70d
UD
35689 [BZ #12397]
35690 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
35691 syscall.
35692
451f001b
UD
35693 [BZ #10484]
35694 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
35695 temporary buffer used to handle multi lookups locally.
a85b5cb4 35696 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 35697
08769175
UD
356982011-01-12 Ulrich Drepper <drepper@gmail.com>
35699
35700 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
35701 loader is ld.so.
35702
5e49c52e
UD
357032011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
35704
35705 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
35706 alignment for SSE2.
35707
60522a5f
UD
357082011-01-12 Ulrich Drepper <drepper@gmail.com>
35709
35710 [BZ #12394]
35711 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
35712 characters. When rounding increased number of integer digits recompute
35713 number of groups.
35714 * stdio-common/tst-grouping.c: New file.
35715 * stdio-common/Makefile: Add rules to build and run tst-grouping.
35716
f257bbd7
UD
357172011-01-09 Ulrich Drepper <drepper@gmail.com>
35718
35719 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
35720 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
35721
35722 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
35723 void.
35724 * bits/select.h: Likewise.
35725
fa9c15cb
UD
357262011-01-08 Ulrich Drepper <drepper@gmail.com>
35727
35728 * po/ja.po: Update from translation team.
35729
16c2895f
DM
357302011-01-04 David S. Miller <davem@sunset.davemloft.net>
35731
35732 [BZ #11155]
35733 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
35734 implementation just like for lxstat, fxstatat, et al.
35735
2543fef2
JM
357362010-12-27 Jim Meyering <meyering@redhat.com>
35737
35738 [BZ #12348]
35739 * posix/regexec.c (build_trtable): Return failure indication upon
35740 calloc failure. Otherwise, re_search_internal could infloop on OOM.
35741
98727dbe
UD
357422010-12-25 Ulrich Drepper <drepper@gmail.com>
35743
5bd6dc5c
UD
35744 [BZ #12201]
35745 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
35746 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
35747 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
35748 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
35749
97983464
UD
35750 [BZ #12207]
35751 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
35752
98727dbe
UD
35753 [BZ #12204]
35754 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
35755 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
35756
4a531bb0
L
357572010-12-15 H.J. Lu <hongjiu.lu@intel.com>
35758
35759 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
35760 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
35761 script has SORT_BY_INIT_PRIORITY.
35762 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
35763 NO_CTORS_DTORS_SECTIONS is defined.
35764 * elf/soinit.c: Likewise.
35765 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
35766 NO_CTORS_DTORS_SECTIONS is defined.
35767 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
35768 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
35769 * sysdeps/sh/init-first.c: Likewise.
35770 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
35771
07eb4b71
UD
357722010-12-24 Ulrich Drepper <drepper@gmail.com>
35773
35774 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
35775 always use the slow path.
35776
30950a5f
RA
357772010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
35778
35779 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
35780 similar rule which adds the sysdep directories to the header search in
35781 order to pick up the correct platform stackinfo.h.
35782 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
35783 perform test if it is, otherwise return successfully without testing.
35784 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
35785 DEFAULT_STACK_PERMS define in stackinfo.h.
35786 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
35787 defined in stackinfo.h.
35788 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
35789 DEFAULT_STACK_PERMS defined in stackinfo.h.
35790 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
35791 * sysdeps/ia64/stackinfo.h: Likewise.
35792 * sysdeps/s390/stackinfo.h: Likewise.
35793 * sysdeps/sh/stackinfo.h: Likewise.
35794 * sysdeps/sparc/stackinfo.h: Likewise.
35795 * sysdeps/x86_64/stackinfo.h: Likewise.
35796 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
35797 PF_X for powerpc64. Retain PF_X for powerpc32.
35798
db753e2c
UD
357992010-12-19 Ulrich Drepper <drepper@gmail.com>
35800
14b697f7
UD
35801 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
35802 accurately.
db753e2c
UD
35803 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
35804 GETDENTS_64BIT_ALIGNED.
35805
28300719
UD
358062010-12-14 Ulrich Drepper <dreper@gmail.com>
35807
14b697f7 35808 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 35809
4f197237
AS
358102010-12-10 Andreas Schwab <schwab@redhat.com>
35811
dbb0472f
AS
35812 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
35813 _GNU_SOURCE.
35814
4f197237
AS
35815 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
35816 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
35817 Remove __restrict.
35818 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
35819 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
35820
fb88ac72
UD
358212010-12-09 Ulrich Drepper <drepper@gmail.com>
35822
35823 [BZ #11655]
35824 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
35825 are initialized.
35826
42acbb92
JJ
358272010-12-09 Jakub Jelinek <jakub@redhat.com>
35828
35829 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
35830
c038d98d
UD
358312010-12-03 Ulrich Drepper <drepper@gmail.com>
35832
35833 * po/it.po: Update from translation team.
35834
3a4a2499
L
358352010-12-01 H.J. Lu <hongjiu.lu@intel.com>
35836
35837 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
35838 unused codes.
35839
1e24cf6e
UD
358402010-11-30 Ulrich Drepper <drepper@gmail.com>
35841
35842 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
35843
a7690819
AS
358442010-11-24 Andreas Schwab <schwab@redhat.com>
35845
35846 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
35847 specially.
35848 (gaih_getanswer_slice): Likewise.
35849
3bf8d1b1
JJ
358502010-10-20 Jakub Jelinek <jakub@redhat.com>
35851
35852 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
35853
6db52fbb
PB
358542010-05-31 Petr Baudis <pasky@suse.cz>
35855
35856 [BZ #11149]
35857 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
35858 silently even in the chroot mode.
35859
eaca7569
UD
358602010-11-22 Ulrich Drepper <drepper@gmail.com>
35861
35862 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
35863 last patch a bit. Pretty printing
35864
3056dcdb
UD
358652010-05-31 Petr Baudis <pasky@suse.cz>
35866
35867 [BZ #10085]
35868 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
35869 initialization of skip_initgroups_dyn.
35870
cf7c9078
UD
358712010-11-19 Ulrich Drepper <drepper@gmail.com>
35872
35873 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
35874 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35875
a1fb5e3e
UD
358762010-11-16 Ulrich Drepper <drepper@gmail.com>
35877
35878 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
35879
3540d66b
AS
358802010-11-11 Andreas Schwab <schwab@redhat.com>
35881
35882 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
35883 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
35884 (tst-fnmatch-ENV): Set MALLOC_TRACE.
35885 ($(objpfx)tst-fnmatch-mem): New rule.
35886 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
35887 * posix/tst-fnmatch.c (main): Call mtrace.
35888
13b69574
L
358892010-11-11 H.J. Lu <hongjiu.lu@intel.com>
35890
35891 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35892 Support Intel processor model 6 and model 0x2c.
35893
da93d214
LM
358942010-11-10 Luis Machado <luisgpm@br.ibm.com>
35895
35896 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
35897 signed comparison.
35898
8ca52c6e
L
358992010-11-09 H.J. Lu <hongjiu.lu@intel.com>
35900
35901 [BZ #12205]
35902 * string/test-strncasecmp.c (check_result): New function.
35903 (do_one_test): Use it.
35904 (check1): New function.
35905 (test_main): Use it.
35906 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
35907 Support strcasecmp and strncasecmp.
35908
69da074d
UD
359092010-11-08 Ulrich Drepper <drepper@gmail.com>
35910
35911 [BZ #12194]
35912 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
35913 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35914
ff02d528
L
359152010-11-07 H.J. Lu <hongjiu.lu@intel.com>
35916
35917 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
35918 IFUNC support.
35919 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35920 memset-x86-64.
35921 * sysdeps/x86_64/multiarch/bzero.S: New file.
35922 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
35923 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
35924 * sysdeps/x86_64/multiarch/memset.S: New file.
35925 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
35926 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35927 Set bit_Prefer_SSE_for_memop for Intel processors.
35928 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
35929 Define.
35930 (index_Prefer_SSE_for_memop): Define.
35931 (HAS_PREFER_SSE_FOR_MEMOP): Define.
35932
344d0b54
LM
359332010-11-04 Luis Machado <luisgpm@br.ibm.com>
35934
35935 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
35936 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
35937
c0dde15b
UD
359382010-11-03 H.J. Lu <hongjiu.lu@intel.com>
35939
35940 [BZ #12191]
35941 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35942 (__x86_64_raw_data_cache_size_half): Likewise.
35943 (__x86_64_raw_shared_cache_size): Likewise.
35944 (__x86_64_raw_shared_cache_size_half): Likewise.
35945
35946 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35947 (__x86_64_raw_data_cache_size_half): Likewise.
35948 (__x86_64_raw_shared_cache_size): Likewise.
35949 (__x86_64_raw_shared_cache_size_half): Likewise.
35950 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
35951 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
35952 and __x86_64_raw_shared_cache_size_half. Round
35953 __x86_64_data_cache_size_half, __x86_64_data_cache_size
35954 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
35955 to multiple of 256 bytes.
35956
0e516e0e
MS
359572010-11-03 Ulrich Drepper <drepper@gmail.com>
35958
35959 [BZ #12167]
35960 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
35961 of inacessible symlinks. Verify result of symlink before returning it.
35962 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
35963 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
35964
0e012e87
ER
359652010-10-28 Erich Ritz <erichritz@gmail.com>
35966
35967 * math/math.h (isinf): Fix typo in comment.
35968
de0ff7bc
UD
359692010-11-01 Ulrich Drepper <drepper@gmail.com>
35970
35971 * po/da.po: Update from translation team.
35972
fa41c84d
UD
359732010-10-26 Ulrich Drepper <drepper@gmail.com>
35974
35975 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
35976 is added to the list.
35977
f0967738
AK
359782010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35979 Ulrich Drepper <drepper@gmail.com>
35980
35981 * elf/dl-object.c (_dl_new_object): Don't append the new object to
35982 the global list here. Move code to...
35983 (_dl_add_to_namespace_list): ...here. New function.
35984 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
35985 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
35986 * elf/dl-load.c (lose): Don't remove the element from the list.
35987 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
35988 (_dl_map_object): Likewise.
35989
359902010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
35991
35992 [BZ #12159]
35993 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
35994 into all bytes of SSE register.
35995 Patch by Richard Li <richardpku@gmail.com>.
35996
f0967738 359972010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
35998
35999 [BZ #12140]
36000 * malloc/malloc.c (_int_free): Fill correct number of bytes when
36001 perturbing.
36002
d0b9e94f
MB
360032010-10-20 Michael B. Brutman <brutman@us.ibm.com>
36004
36005 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
36006 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
36007 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
36008 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
36010 submachine.
36011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
36012
8e9f92e9
AS
360132010-10-22 Andreas Schwab <schwab@redhat.com>
36014
36015 * include/dlfcn.h (__RTLD_SECURE): Define.
36016 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
36017 mode & __RTLD_SECURE instead.
36018 (open_path): Rename preloaded parameter to secure.
36019 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
36020 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
36021 * elf/dl-deps.c (openaux): Likewise.
36022 * elf/rtld.c (struct map_args): Remove is_preloaded.
36023 (map_doit): Don't use it.
36024 (dl_main): Likewise.
36025 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
36026 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
36027
bc96fbda
AS
360282010-09-09 Andreas Schwab <schwab@redhat.com>
36029
36030 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
36031 (sysd-rules-targets): Remove duplicates.
36032 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
36033 rtld-%.$o dependency.
36034
22cd1c9b
AS
360352010-10-18 Andreas Schwab <schwab@redhat.com>
36036
36037 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
36038 _dl_map_object do it.
36039
18edac48
UD
360402010-10-19 Ulrich Drepper <drepper@gmail.com>
36041
36042 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
36043 fast fma builtins, define the macros in the C99 standard.
36044 (FP_FAST_FMAF): Likewise.
36045 (FP_FAST_FMAL): Likewise.
36046 * sysdeps/x86_64/bits/mathdef.h: Likewise.
36047
36048 * bits/mathdef.h: Update copyright year.
36049 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36050
d2050124
MM
360512010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
36052
36053 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
36054 builtins, define the macros in the C99 standard.
36055 (FP_FAST_FMAF): Likewise.
36056 (FP_FAST_FMAL): Likewise.
36057 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
36058 multiply/add.
36059 (FP_FAST_FMAF): Likewise.
36060
475facd1
JJ
360612010-10-15 Jakub Jelinek <jakub@redhat.com>
36062
36063 [BZ #3268]
36064 * math/libm-test.inc (fma_test): Some new testcases.
36065 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
36066 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
36067 y and infinite z. Do multiplication by C already in long double.
36068 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
36069 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
36070 y and infinite z. Do bitwise or of inexact bit into u.d.
36071 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
36072 * sysdeps/i386/fpu/s_fmaf.S: Removed.
36073 * sysdeps/i386/fpu/s_fma.S: Removed.
36074 * sysdeps/i386/fpu/s_fmal.S: Removed.
36075
7c08a05c
JJ
360762010-10-16 Jakub Jelinek <jakub@redhat.com>
36077
36078 [BZ #3268]
36079 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
36080 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
36081 computation is not scheduled after fetestexcept. Fix value
36082 of minimum denormal long double.
36083
f3f7372d
JJ
360842010-10-14 Jakub Jelinek <jakub@redhat.com>
36085
36086 [BZ #3268]
36087 * math/libm-test.inc (fma_test): Add some more tests.
36088 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
36089 correctly.
36090
14d43591
AS
360912010-10-15 Andreas Schwab <schwab@redhat.com>
36092
36093 * scripts/data/localplt-s390-linux-gnu.data: New file.
36094 * scripts/data/localplt-s390x-linux-gnu.data: New file.
36095
5e908464
JJ
360962010-10-13 Jakub Jelinek <jakub@redhat.com>
36097
36098 [BZ #3268]
36099 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
36100 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
36101 instead of dbl-64.
36102 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
36103 inlines.
36104 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
36105 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
36106 if one of x and y is very large and the other is subnormal.
36107 * sysdeps/s390/fpu/s_fmaf.c: New file.
36108 * sysdeps/s390/fpu/s_fma.c: New file.
36109 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
36110 * sysdeps/powerpc/fpu/s_fma.S: New file.
36111 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
36112 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
36113 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
36114
361152010-10-12 Jakub Jelinek <jakub@redhat.com>
36116
36117 [BZ #3268]
36118 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
36119 fma tests.
36120 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
36121 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
36122 * sysdeps/i386/i686/multiarch/s_fma.c: Include
36123 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
36124 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
36125 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
36126 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
36127
b833d51f
UD
361282010-10-12 Ulrich Drepper <drepper@redhat.com>
36129
36130 [BZ #12078]
36131 * posix/regcomp.c (parse_branch): One more memory leak plugged.
36132 * posix/bug-regex31.input: Add test case.
36133
1751705d
UD
361342010-10-11 Ulrich Drepper <drepper@gmail.com>
36135
e9b9cbf5
UD
36136 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
36137 * posix/bug-regex31.input: New file.
36138
36139 [BZ #12078]
36140 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
36141 (parse_sub_exp): Fix last change, use postorder.
36142
ef06edbe
UD
36143 * posix/bug-regex31.c: New file.
36144 * posix/Makefile: Add rules to build and run bug-regex31.
36145
a129c80d
UD
36146 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
36147
36148 [BZ #12078]
36149 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
36150
b76b818e
UD
36151 [BZ #12108]
36152 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
36153 to have entries in sys_siglist.
36154
1751705d
UD
36155 [BZ #12093]
36156 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
36157 be NULL.
36158
9ff8d36f
JJ
361592010-10-07 Jakub Jelinek <jakub@redhat.com>
36160
36161 [BZ #3268]
36162 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
36163 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
36164 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
36165 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
36166 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
36167 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
36168 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
36169 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
36170 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
36171 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
36172 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
36173 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
36174 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
36175 * math/ftestexcept.c (fetestexcept): Likewise.
36176 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
36177 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
36178 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
36179 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
36180 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
36181 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
36182 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36183
af325969
UD
361842010-10-11 Ulrich Drepper <drepper@gmail.com>
36185
c579b202 36186 [BZ #12107]
af325969
UD
36187 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
36188 newline.
36189
67a67b95
UD
361902010-10-06 Ulrich Drepper <drepper@gmail.com>
36191
36192 * string/bug-strstr1.c: New file.
36193 * string/Makefile: Add rules to build and run bug-strstr1.
36194
5fb308bc
EB
361952010-10-05 Eric Blake <eblake@redhat.com>
36196
36197 [BZ #12092]
36198 * string/str-two-way.h (two_way_long_needle): Always clear memory
36199 when skipping input due to the shift table.
36200
45db99c7
UD
362012010-10-03 Ulrich Drepper <drepper@gmail.com>
36202
3b111893
UD
36203 [BZ #12005]
36204 * malloc/mcheck.c: Handle large requests.
36205
45db99c7
UD
36206 [BZ #12077]
36207 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
36208 for strncmp and strncasecmp.
36209 * string/stratcliff.c: Add tests for strcmp and strncmp.
36210 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
36211
cf7a1eb8
NI
362122010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36213
36214 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
36215 __set_fpscr.
36216
6484ba5e
AJ
362172010-09-30 Andreas Jaeger <aj@suse.de>
36218
36219 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
36220 (CGROUP_SUPER_MAGIC): Define.
36221 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36222 Handle btrfs and cgroup file systems.
36223 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36224 Likewise.
36225
91c42559
LM
362262010-09-27 Luis Machado <luisgpm@br.ibm.com>
36227
36228 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
36229 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
36230
87a97932
AK
362312010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36232
36233 [BZ #12067]
36234 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
36235 trying to locate the ELF header.
36236
c21cc9bc
AS
362372010-09-27 Andreas Schwab <schwab@redhat.com>
36238
36239 [BZ #11611]
36240 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
36241 Mask out sign-bit copies when constructing f_fsid.
36242
315970f6
PB
362432010-09-24 Petr Baudis <pasky@suse.cz>
36244
36245 * debug/stack_chk_fail_local.c: Add missing licence exception.
36246 * debug/warning-nop.c: Likewise.
36247
1ac7a2c7
JM
362482010-09-15 Joseph Myers <joseph@codesourcery.com>
36249
36250 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
36251 implementing getdents64 using getdents syscall, set d_type if
36252 __ASSUME_GETDENTS32_D_TYPE.
36253
56801c50
AS
362542010-09-16 Andreas Schwab <schwab@redhat.com>
36255
36256 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
36257 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
36258
dda51327
UD
362592010-09-21 Ulrich Drepper <drepper@redhat.com>
36260
36261 [BZ #12037]
36262 * posix/unistd.h: Undo change of feature selection for ftruncate from
36263 2010-01-11.
36264
8ffcee4a
UD
362652010-09-20 Ulrich Drepper <drepper@redhat.com>
36266
a545ecd9 36267 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
36268 detection.
36269
e24f0a8b
AS
362702010-09-20 Andreas Schwab <schwab@redhat.com>
36271
36272 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
36273 fanotify_mark.
36274 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36275
7291c56f
AS
362762010-09-14 Andreas Schwab <schwab@redhat.com>
36277
36278 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
36279 variables after CHECK_SP call.
36280 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
36281
bc5fb037
AS
362822010-09-13 Andreas Schwab <schwab@redhat.com>
36283 Ulrich Drepper <drepper@redhat.com>
36284
36285 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
36286 re-relocationg ld.so.
36287 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
36288 _dl_init_paths call.
36289 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
36290 here anymore.
36291
e66e7419
UD
362922010-09-14 Ulrich Drepper <drepper@redhat.com>
36293
36294 * resolv/res_init.c (__res_vinit): Count the default server we added.
36295
c044aa75
CLT
362962010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
36297 Ulrich Drepper <drepper@redhat.com>
36298
36299 [BZ #11968]
36300 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
36301 (____longjmp_chk): Use %ebx for saving value across system call.
36302 Add unwind info.
36303
32cf4069
AS
363042010-09-06 Andreas Schwab <schwab@redhat.com>
36305
36306 * manual/Makefile: Don't mix pattern rules with normal rules.
36307
817328ee
AS
363082010-09-05 Andreas Schwab <schwab@linux-m68k.org>
36309
36310 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
36311 operation.
36312 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
36313 * libio/iofopncook.c (_IO_cookie_init): Likewise.
36314 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
36315 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
36316 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36317 Likewise.
36318
29fddf61
UD
363192010-09-04 Ulrich Drepper <drepper@redhat.com>
36320
36321 [BZ #11979]
36322 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
36323 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
36324
0959ffc9
UD
363252010-09-02 Ulrich Drepper <drepper@redhat.com>
36326
36327 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
36328 * sysdeps/x86_64/addmul_1.S: Likewise.
36329 * sysdeps/x86_64/lshift.S: Likewise.
36330 * sysdeps/x86_64/mul_1.S: Likewise.
36331 * sysdeps/x86_64/rshift.S: Likewise.
36332 * sysdeps/x86_64/sub_n.S: Likewise.
36333 * sysdeps/x86_64/submul_1.S: Likewise.
36334
ece29840
ST
363352010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
36336
0959ffc9
UD
36337 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
36338 Define __sched_param instead of SCHED_* and sched_param when
ece29840 36339 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 36340 * bits/sched.h [__need_schedparam]
ece29840 36341 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
36342 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
36343 (__defined_schedparam): Define to 1.
ece29840
ST
36344 (__sched_param): New structure, identical to sched_param.
36345 (__need_schedparam): Undefine.
36346
e53a31fe
MF
363472010-08-31 Mike Frysinger <vapier@gentoo.org>
36348
fdc0c10d
MF
36349 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
36350 (epoll_create1): Declare.
36351
e53a31fe
MF
36352 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
36353
a726d796
AS
363542010-08-31 Andreas Schwab <schwab@redhat.com>
36355
36356 [BZ #7066]
36357 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
36358 shifting retval into place.
36359
2f3e3dc7
UD
363602010-09-01 Ulrich Drepper <drepper@redhat.com>
36361
f2933da9
UD
36362 * nis/rpcsvc/nis.h: Update copyright notice.
36363 * nis/rpcsvc/nis.x: Likewise.
36364 * nis/rpcsvc/nis_callback.h: Likewise.
36365 * nis/rpcsvc/nis_callback.x: Likewise.
36366 * nis/rpcsvc/nis_object.x: Likewise.
36367 * nis/rpcsvc/nis_tags.h: Likewise.
36368 * nis/rpcsvc/yp.h: Likewise.
36369 * nis/rpcsvc/yp.x: Likewise.
36370 * nis/rpcsvc/ypupd.h: Likewise.
36371 * nis/yp_xdr.c: Likewise.
36372 * nis/ypupdate_xdr.c: Likewise.
36373
2f3e3dc7
UD
36374 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
36375 mainly the body of pmap_getport. Add parameters to specify timeouts.
36376 (pmap_getport): Use __libc_rpc_getport.
36377 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
36378 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
36379 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
36380
f3dcc2f9
AS
363812010-08-31 Andreas Schwab <schwab@linux-m68k.org>
36382
36383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
36384 fanotify_mark.
36385
6d34eb5b
RM
363862010-08-27 Roland McGrath <roland@redhat.com>
36387
36388 * sysdeps/i386/i686/multiarch/Makefile
36389 (CFLAGS-varshift.c): New variable.
36390
9ea3de11
UD
363912010-08-27 Ulrich Drepper <drepper@redhat.com>
36392
c96d23fc
UD
36393 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
36394 * sysdeps/i386/i686/multiarch/varshift.c: New file.
36395
9ea3de11
UD
36396 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
36397
36398 * sysdeps/x86_64/strlen.S: Minimal code improvement.
36399
623aac7f
L
364002010-08-26 H.J. Lu <hongjiu.lu@intel.com>
36401
36402 * sysdeps/x86_64/strlen.S: Unroll the loop.
36403 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36404 strlen-sse2 strlen-sse2-bsf.
36405 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
36406 __strlen_no_bsf if bit_Slow_BSF is set.
36407 (__strlen_sse42): Removed.
36408 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
36409 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
36410
8b2b7715
RM
364112010-08-25 Roland McGrath <roland@redhat.com>
36412
36413 * sysdeps/x86_64/multiarch/varshift.S: File removed.
36414 * sysdeps/x86_64/multiarch/varshift.c: New file.
36415 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
36416 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
36417 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
36418 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36419
e73015f2
L
364202010-08-25 H.J. Lu <hongjiu.lu@intel.com>
36421
36422 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36423 strlen-sse2 strlen-sse2-bsf.
36424 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
36425 __strlen_sse2_bsf if bit_Slow_BSF is unset.
36426 (__strlen_sse2): Removed.
36427 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
36428 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
36429 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
36430 bit_Slow_BSF for Atom.
36431 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
36432 (index_Slow_BSF): Define.
36433 (HAS_SLOW_BSF): Define.
36434
df24a73e
UD
364352010-08-25 Ulrich Drepper <drepper@redhat.com>
36436
36437 [BZ #10851]
36438 * resolv/res_init.c (__res_vinit): When no server address at all
36439 is given default to loopback.
36440
f2ac4868
RM
364412010-08-24 Roland McGrath <roland@redhat.com>
36442
09055553
RM
36443 * configure.in: Remove config-name.h generation.
36444 * configure: Regenerated.
36445 * config-name.in: File removed.
36446 * scripts/config-uname.sh: New file.
36447 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
36448 ($(objdir)config-name.h): New target.
36449
f2ac4868
RM
36450 * sunrpc/rpc_parse.h: Avoid nested comment.
36451
73f27d5e
RH
364522010-08-24 Richard Henderson <rth@redhat.com>
36453 Ulrich Drepper <drepper@redhat.com>
36454 H.J. Lu <hongjiu.lu@intel.com>
36455
36456 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
36457 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
36458 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
36459 Replace _mm_srli_si128 with __m128i_shift_right. Replace
36460 _mm_alignr_epi8 with _mm_loadu_si128.
36461 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
36462 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
36463 (__m128i_shift_right): Removed.
36464 * sysdeps/i386/i686/multiarch/varshift.h: New file.
36465 * sysdeps/i386/i686/multiarch/varshift.S: New file.
36466 * sysdeps/x86_64/multiarch/varshift.h: New file.
36467 * sysdeps/x86_64/multiarch/varshift.S: New file.
36468
84b9230c
MF
364692010-08-21 Mike Frysinger <vapier@gentoo.org>
36470
36471 * configure.in: Move assembler checks to before sysdep dir checking.
36472
9bbd0ddc
PB
364732010-08-20 Petr Baudis <pasky@suse.cz>
36474
36475 * LICENSES: Sync the sunrpc license.
36476
9da4bb31
UD
364772010-08-19 Ulrich Drepper <drepper@redhat.com>
36478
a7ab6ec8
UD
36479 * sunrpc/auth_des.c: Update copyright notice once again.
36480 * sunrpc/auth_none.c: Likewise.
36481 * sunrpc/auth_unix.c: Likewise.
36482 * sunrpc/authdes_prot.c: Likewise.
36483 * sunrpc/authuxprot.c: Likewise.
36484 * sunrpc/bindrsvprt.c: Likewise.
36485 * sunrpc/clnt_gen.c: Likewise.
36486 * sunrpc/clnt_perr.c: Likewise.
36487 * sunrpc/clnt_raw.c: Likewise.
36488 * sunrpc/clnt_simp.c: Likewise.
36489 * sunrpc/clnt_tcp.c: Likewise.
36490 * sunrpc/clnt_udp.c: Likewise.
36491 * sunrpc/clnt_unix.c: Likewise.
36492 * sunrpc/des_crypt.c: Likewise.
36493 * sunrpc/des_soft.c: Likewise.
36494 * sunrpc/get_myaddr.c: Likewise.
36495 * sunrpc/getrpcport.c: Likewise.
36496 * sunrpc/key_call.c: Likewise.
36497 * sunrpc/key_prot.c: Likewise.
36498 * sunrpc/openchild.c: Likewise.
36499 * sunrpc/pm_getmaps.c: Likewise.
36500 * sunrpc/pm_getport.c: Likewise.
36501 * sunrpc/pmap_clnt.c: Likewise.
36502 * sunrpc/pmap_prot.c: Likewise.
36503 * sunrpc/pmap_prot2.c: Likewise.
36504 * sunrpc/pmap_rmt.c: Likewise.
36505 * sunrpc/rpc/auth.h: Likewise.
36506 * sunrpc/rpc/auth_unix.h: Likewise.
36507 * sunrpc/rpc/clnt.h: Likewise.
36508 * sunrpc/rpc/des_crypt.h: Likewise.
36509 * sunrpc/rpc/key_prot.h: Likewise.
36510 * sunrpc/rpc/netdb.h: Likewise.
36511 * sunrpc/rpc/pmap_clnt.h: Likewise.
36512 * sunrpc/rpc/pmap_prot.h: Likewise.
36513 * sunrpc/rpc/pmap_rmt.h: Likewise.
36514 * sunrpc/rpc/rpc.h: Likewise.
36515 * sunrpc/rpc/rpc_des.h: Likewise.
36516 * sunrpc/rpc/rpc_msg.h: Likewise.
36517 * sunrpc/rpc/svc.h: Likewise.
36518 * sunrpc/rpc/svc_auth.h: Likewise.
36519 * sunrpc/rpc/types.h: Likewise.
36520 * sunrpc/rpc/xdr.h: Likewise.
36521 * sunrpc/rpc_clntout.c: Likewise.
36522 * sunrpc/rpc_cmsg.c: Likewise.
36523 * sunrpc/rpc_common.c: Likewise.
36524 * sunrpc/rpc_cout.c: Likewise.
36525 * sunrpc/rpc_dtable.c: Likewise.
36526 * sunrpc/rpc_hout.c: Likewise.
36527 * sunrpc/rpc_main.c: Likewise.
36528 * sunrpc/rpc_parse.c: Likewise.
36529 * sunrpc/rpc_parse.h: Likewise.
36530 * sunrpc/rpc_prot.c: Likewise.
36531 * sunrpc/rpc_sample.c: Likewise.
36532 * sunrpc/rpc_scan.c: Likewise.
36533 * sunrpc/rpc_scan.h: Likewise.
36534 * sunrpc/rpc_svcout.c: Likewise.
36535 * sunrpc/rpc_tblout.c: Likewise.
36536 * sunrpc/rpc_util.c: Likewise.
36537 * sunrpc/rpc_util.h: Likewise.
36538 * sunrpc/rpcinfo.c: Likewise.
36539 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
36540 * sunrpc/rpcsvc/key_prot.x: Likewise.
36541 * sunrpc/rpcsvc/klm_prot.x: Likewise.
36542 * sunrpc/rpcsvc/mount.x: Likewise.
36543 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
36544 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
36545 * sunrpc/rpcsvc/rex.x: Likewise.
36546 * sunrpc/rpcsvc/rstat.x: Likewise.
36547 * sunrpc/rpcsvc/rusers.x: Likewise.
36548 * sunrpc/rpcsvc/sm_inter.x: Likewise.
36549 * sunrpc/rpcsvc/spray.x: Likewise.
36550 * sunrpc/rpcsvc/yppasswd.x: Likewise.
36551 * sunrpc/rtime.c: Likewise.
36552 * sunrpc/svc.c: Likewise.
36553 * sunrpc/svc_auth.c: Likewise.
36554 * sunrpc/svc_authux.c: Likewise.
36555 * sunrpc/svc_raw.c: Likewise.
36556 * sunrpc/svc_run.c: Likewise.
36557 * sunrpc/svc_simple.c: Likewise.
36558 * sunrpc/svc_tcp.c: Likewise.
36559 * sunrpc/svc_udp.c: Likewise.
36560 * sunrpc/svc_unix.c: Likewise.
36561 * sunrpc/svcauth_des.c: Likewise.
36562 * sunrpc/xcrypt.c: Likewise.
36563 * sunrpc/xdr.c: Likewise.
36564 * sunrpc/xdr_array.c: Likewise.
36565 * sunrpc/xdr_float.c: Likewise.
36566 * sunrpc/xdr_mem.c: Likewise.
36567 * sunrpc/xdr_rec.c: Likewise.
36568 * sunrpc/xdr_ref.c: Likewise.
36569 * sunrpc/xdr_sizeof.c: Likewise.
36570 * sunrpc/xdr_stdio.c: Likewise.
36571
9da4bb31
UD
36572 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
36573 handling.
36574
bdaa77bc
AS
365752010-08-19 Andreas Schwab <schwab@redhat.com>
36576
36577 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
36578
fe2f79db
LM
365792010-08-19 Luis Machado <luisgpm@br.ibm.com>
36580
36581 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
36582 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
36583 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
36584 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
36585 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
36586 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
36587 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
36588 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
36589 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
36590 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
36591 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
36592 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
36593 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
36594 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
36595
b9b42ee0
AB
365962010-07-26 Anton Blanchard <anton@samba.org>
36597
36598 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
36599 * malloc/arena.c (heap_trim): Likewise.
36600
1c06ba31
UD
366012010-08-16 Ulrich Drepper <drepper@redhat.com>
36602
36603 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
36604 here. Not...
36605 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
36606 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
36607
f8392f40
L
366082010-08-12 H.J. Lu <hongjiu.lu@intel.com>
36609
36610 * sysdeps/i386/elf/Makefile: New file.
36611
3162f12e
AS
366122010-08-14 Andreas Schwab <schwab@linux-m68k.org>
36613
36614 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
36615 from fanotify_init.
36616 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
36617 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36618
28c90b2c
UD
366192010-08-15 Ulrich Drepper <drepper@redhat.com>
36620
36621 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
36622 of strncasecmp_l.
1feccb6c 36623 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 36624
ca6bb004
UD
366252010-08-14 Ulrich Drepper <drepper@redhat.com>
36626
e9f82e0d
UD
36627 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36628 strncase_l-nonascii.
36629 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36630 Add strncase_l-ssse3.
36631 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
36632 * sysdeps/x86_64/strcmp.S: Likewise.
36633 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
36634 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
36635 * sysdeps/x86_64/strncase.S: New file.
36636 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
36637 * sysdeps/x86_64/strncase_l.S: New file.
36638 * string/Makefile (strop-tests): Add strncasecmp.
36639 * string/test-strncasecmp.c: New file.
36640
36641 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
36642 warning.
36643
ca6bb004
UD
36644 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
36645 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
36646
052fa7b3
AS
366472010-08-14 Andreas Schwab <schwab@linux-m68k.org>
36648
36649 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
36650
962dba78
UD
366512010-08-12 Ulrich Drepper <drepper@redhat.com>
36652
36653 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
36654 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
36655 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
36656
bebff237
AM
366572010-05-01 Alan Modra <amodra@gmail.com>
36658
36659 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
36660 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
36661 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
36662 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
36663 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
36664 tidying. Don't tail-call __sigjmp_save for static lib.
36665 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
36666 save location.
36667 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
36668 (CALL_MCOUNT): Add eh info, and nop after bl.
36669 (TAIL_CALL_SYSCALL_ERROR): New macro.
36670 (PSEUDO_RET): Use it.
36671 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
36672 Correct save location of integer regs and cr.
36673 (_dl_profile_resolve): Correct cr save location. Delete nops
36674 after bl when SHARED. Reduce cfi size a little by better
36675 placement of cfi directives.
36676 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
36677 make a stack frame. Instead use parm save area as a temp.
36678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
36679 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
36680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
36681 Don't make a stack frame for parent, use parm save area.
36682 Increase child stack frame to 112 bytes. Don't save unused reg,
36683 and adjust reg usage. Set up cfi on error recovery and
36684 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
36685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36686 (__makecontext): Add dummy nop after jump to exit.
36687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
36688 Use correct parm save area and cr save, reduce stack frame.
36689 Correct cfi for possible PSEUDO_RET frame setup.
36690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
36691 Branch to local label emitted by PSEUDO_RET rather than
36692 __syscall_error.
36693
02637374
AS
366942010-08-12 Andreas Schwab <schwab@redhat.com>
36695
36696 [BZ #11904]
36697 * locale/programs/locale.c (print_assignment): New function.
36698 (show_locale_vars): Use it.
36699
c3e2f19b
UD
367002010-08-11 Ulrich Drepper <drepper@redhat.com>
36701
3cdaa6ad
UD
36702 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
36703 field.
36704 (struct statfs64): Likewise.
36705 (_STATFS_F_FLAGS): Define.
36706 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
36707 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36708 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
36709 (ST_VALID): Define locally.
36710 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
36711 __statvfs_getflags, use the provided value.
36712 * sysdeps/unix/sysv/linux/kernel-features.h: Define
36713 __ASSUME_STATFS_F_FLAGS.
36714
754f7da3
UD
36715 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
36716
10b3bedc
UD
36717 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
36718 Add sys/fanotify.h.
36719 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
36720 fanotify_mask for GLIBC_2.13.
36721 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
36722 fanotify_init and fanotify_mark.
36723 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36724 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
36725
c08fb0d7
UD
36726 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
36727 Add prlimit.
36728 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
36729 prlimit64 for GLIBC_2.13.
36730 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
36731 prlimit64.
36732 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
36733 syscall.
36734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
36735 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36736 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
36737 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
36738 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
36739 add prlimit alias.
36740 * sysdeps/unix/sysv/linux/prlimit.c: New file.
36741
15bac72b
UD
36742 [BZ #11903]
36743 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
36744 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
36745
c3e2f19b
UD
36746 * nss/Makefile: Add rules to build and run tst-nss-test1.
36747 * shlib-versions: Add entry for libnss_test1.
36748 * nss/nss_test1.c: New file.
36749 * nss/tst-nss-test1.c: New file.
36750
36751 * nss/nsswitch.c (__nss_database_custom): Define new variable.
36752 (__nss_configure_lookup): Set appropriate entry in
36753 __nss_configure_lookup to true.
36754 * nss/nsswitch.h: Define enum with indeces of databases in
36755 databases and __nss_database_custom arrays. Declare
36756 __nss_database_custom.
36757 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
36758 to avoid using nscd when custom rules are installed.
36759 * nss/getXXbyYY_r.c: Likewise.
36760 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
36761
36762 * nss/nss_files/files-parse.c: Whitespace fixes.
36763
f15ce4d8
UD
367642010-08-09 Ulrich Drepper <drepper@redhat.com>
36765
36766 [BZ #11883]
36767 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
36768 * posix/fnmatch_loop.c: Likewise.
36769
d22e4cc9
AK
367702010-07-17 Andi Kleen <ak@linux.intel.com>
36771
36772 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
36773 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
36774 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
36775 * Versions.def [GLIBC_2.13]: Add.
36776
805bc17d
UD
367772010-08-06 Ulrich Drepper <drepper@redhat.com>
36778
36779 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36780 Also fail if tpwd after pwuid call is NULL.
36781
5a42321d
ST
367822010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
36783
36784 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
36785 when converting to ms.
36786
fd3ebeda
ST
367872010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
36788
36789 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
36790 EOPNOTSUPP errors with ENOTTY.
36791 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
36792 EOPNOTSUPP errors with ENOTTY.
36793
73507d3a
UD
367942010-07-31 Ulrich Drepper <drepper@redhat.com>
36795
36796 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36797 Add strcasecmp_l-ssse3.
36798 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
36799 strcasecmp.
36800 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
36801 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
36802 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
36803
fe36dd02
UD
368042010-07-30 Ulrich Drepper <drepper@redhat.com>
36805
66f6765a
UD
36806 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
36807
42e08a54
UD
36808 * string/Makefile (strop-tests): Add strcasecmp.
36809 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36810 strcasecmp_l-nonascii.
36811 (gen-as-const-headers): Add locale-defines.sym.
36812 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
36813 * sysdeps/x86_64/strcasecmp.S: New file.
36814 * sysdeps/x86_64/strcasecmp_l.S: New file.
36815 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
36816 * sysdeps/x86_64/locale-defines.sym: New file.
36817 * string/test-strcasecmp.c: New file.
36818
fe36dd02
UD
36819 * string/test-strcasestr.c: Test both ends of the range of characters.
36820 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
36821
48cbc0d6
RM
368222010-07-29 Roland McGrath <roland@redhat.com>
36823
76e6d6bc 36824 [BZ #11856]
48cbc0d6
RM
36825 * manual/locale.texi (Yes-or-No Questions): Fix example code.
36826
880113d9
UD
368272010-07-27 Ulrich Drepper <drepper@redhat.com>
36828
36829 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
36830 for ld.so.
36831
deb9cabb
AS
368322010-07-27 Andreas Schwab <schwab@redhat.com>
36833
36834 * manual/memory.texi (Malloc Tunable Parameters): Document
36835 M_PERTURB.
36836
1c7570ff
RM
368372010-07-26 Roland McGrath <roland@redhat.com>
36838
36839 [BZ #11840]
36840 * configure.in (-fgnu89-inline check): Set and substitute
36841 gnu89_inline, not libc_cv_gnu89_inline.
36842 * configure: Regenerated.
36843 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
36844
24fb0f88
UD
368452010-07-26 Ulrich Drepper <drepper@redhat.com>
36846
36847 * string/test-strnlen.c: New file.
36848 * string/Makefile (strop-tests): Add strnlen.
36849 * string/tester.c (test_strnlen): Add a few more test cases.
36850 * string/tst-strlen.c: Better error reporting.
36851
36852 * sysdeps/x86_64/strnlen.S: New file.
36853
8e96b93a
UD
368542010-07-24 Ulrich Drepper <drepper@redhat.com>
36855
36856 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
36857 lower-latency instructions.
36858
dbc676d4
UD
368592010-07-23 Ulrich Drepper <drepper@redhat.com>
36860
36861 * string/test-strcasestr.c: New file.
36862 * string/test-strstr.c: New file.
36863 * string/Makefile (strop-tests): Add strstr and strcasestr.
36864 * string/str-two-way.h: Don't undefine MAX.
36865 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
36866
f6a31e0e
AS
368672010-07-21 Andreas Schwab <schwab@redhat.com>
36868
36869 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36870 strcasestr-nonascii.
36871 (CFLAGS-strcasestr-nonascii.c): Define.
36872 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
36873 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
36874 Remove unused attribute.
36875
5dbc3b6c
RM
368762010-07-20 Roland McGrath <roland@redhat.com>
36877
36878 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
36879 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
36880 ld.so.cache was broken. With it, there is no way to disable dsocaps
36881 like LD_HWCAP_MASK can disable hwcaps.
36882
23d101d8
EPM
368832010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
36884
36885 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
36886
cc9f2e47
UD
368872010-07-16 Ulrich Drepper <drepper@redhat.com>
36888
36889 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
36890 call in strcasestr.
36891 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
36892 __strcasestr_sse42_nonascii.
36893 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
36894 strcasestr-nonascii.c.
36895 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
36896
77c1b069
LM
368972010-06-15 Luis Machado <luisgpm@br.ibm.com>
36898
36899 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
36900 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
36901 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
36902 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
36903
440566c3
UD
369042010-07-09 Ulrich Drepper <drepper@redhat.com>
36905
36906 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
36907 fcntl.
36908
5be9d05d
AS
369092010-07-06 Andreas Schwab <schwab@redhat.com>
36910
c30b7ee2 36911 [BZ #11577]
5be9d05d
AS
36912 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
36913 dl_signal_cerror.
36914
8a492a67
UD
369152010-07-06 Ulrich Drepper <drepper@redhat.com>
36916
36917 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
36918 _PC_PIPE_BUF using F_GETPIPE_SZ.
36919
713df3d5
RM
369202010-07-05 Roland McGrath <roland@redhat.com>
36921
36922 * manual/arith.texi (Rounding Functions): Fix rint description
36923 implicit in round description.
36924
702e8f14
UD
369252010-07-02 Ulrich Drepper <drepper@redhat.com>
36926
36927 * elf/Makefile: Fix linking for a few tests to make recent linker
36928 happy.
36929
52ed8be9
AS
369302010-06-30 Andreas Schwab <schwab@redhat.com>
36931
36932 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
36933 $(common-objpfx)libc_nonshared.a.
36934
f47c9a11
LM
369352010-06-21 Luis Machado <luisgpm@br.ibm.com>
36936
36937 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
36938 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
36939 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
36940 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
36941 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
36942 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
36943 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
36944 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
36945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
36946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
36947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
36948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
36949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
36950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
36951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
36952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
36953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
36954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
36955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
36956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
36957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
36958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
36959 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
36960 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
36961 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
36962 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
36963 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
36964 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
36965 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
36966 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
36967 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
36968 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
36969 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
36970 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
36971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
36972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
36973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
36974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
36975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
36976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
36977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
36978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
36979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
36980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
36981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
36982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
36983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
36984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
36985
6fb8cbcb
L
369862010-06-25 H.J. Lu <hongjiu.lu@intel.com>
36987
36988 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
36989 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
36990 * string/memmove.c (memmove): Renamed to ...
36991 (MEMMOVE): ...this. Default to memmove.
36992 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
36993 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
36994 (END_CHK): Define.
36995 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36996 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
36997 mempcpy-ssse3-back memmove-ssse3-back.
36998 * sysdeps/x86_64/multiarch/bcopy.S: New file .
36999 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
37000 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
37001 * sysdeps/x86_64/multiarch/memcpy.S: New file.
37002 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
37003 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
37004 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
37005 * sysdeps/x86_64/multiarch/memmove.c: New file.
37006 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
37007 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
37008 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
37009 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
37010 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
37011 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
37012 Define.
37013 (index_Fast_Copy_Backward): Define.
37014 (HAS_ARCH_FEATURE): Define.
37015 (HAS_FAST_REP_STRING): Define.
37016 (HAS_FAST_COPY_BACKWARD): Define.
37017
4e733bac 370182010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
37019
37020 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37021 Restore proper fallback handling.
37022
63c4ed22
UD
370232010-06-19 Ulrich Drepper <drepper@redhat.com>
37024
ac2b484c
UD
37025 [BZ #11701]
37026 * posix/group_member.c (__group_member): Correct checking loop.
37027
63c4ed22
UD
37028 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
37029 OOM in getpwuid_r correctly. Return error number when the caller
37030 should return, otherwise -1.
37031 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
37032 call returning > 0 value.
37033 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
37034
765ade4b
AS
370352010-06-07 Andreas Schwab <schwab@redhat.com>
37036
37037 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
37038 libc_nonshared.a from targets in modules-names.
37039
80da2e09
KS
370402010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
37041
37042 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
37043 requires it.
37044
158db122
LM
370452010-06-10 Luis Machado <luisgpm@br.ibm.com>
37046
37047 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
37048 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
37049 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
37050 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
37051
caa78cf8
AS
370522010-06-02 Andreas Schwab <schwab@redhat.com>
37053
37054 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
37055
b2ef2c01
UD
370562010-06-14 Ulrich Drepper <drepper@redhat.com>
37057
37058 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
37059 and F_GETPIPE_SZ.
37060 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37061 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37062 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37063 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37064 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37065 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
37066
fbd643b6
RM
370672010-06-14 Roland McGrath <roland@redhat.com>
37068
37069 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
37070
f32f2869
JJ
370712010-06-07 Jakub Jelinek <jakub@redhat.com>
37072
37073 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
37074 __REDIRECT followed by __THROW.
37075 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
37076 * posix/getopt.h (getopt): Likewise.
37077
2a50c078
EPM
370782010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37079
37080 * hurd/lookup-at.c (__file_name_lookup_at): Accept
37081 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
37082 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
37083 in AT_FLAGS.
37084 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
37085 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
37086
eb5ad2eb
LM
370872010-05-28 Luis Machado <luisgpm@br.ibm.com>
37088
37089 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
37090
3c88fe1e
L
370912010-05-26 H.J. Lu <hongjiu.lu@intel.com>
37092
37093 [BZ #11640]
37094 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37095 Properly check family and model.
37096
d2f73151
TY
370972010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
37098
37099 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
37100
ebd2e13d
LM
371012010-05-24 Luis Machado <luisgpm@br.ibm.com>
37102
37103 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
37104
b32b8b45
UD
371052010-05-21 Ulrich Drepper <drepper@redhat.com>
37106
37107 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
37108 symbol reference.
37109
9acbe24d
AS
371102010-05-19 Andreas Schwab <schwab@redhat.com>
37111
37112 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
37113 symbol reference.
37114
f0ccf6ea
AS
371152010-05-21 Andreas Schwab <schwab@redhat.com>
37116
3d04ff3a
AS
37117 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
37118 and internal_recvmmsg.
37119 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
37120 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
37121 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
37122 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
37123
f0ccf6ea
AS
37124 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
37125 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
37126 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
37127
5b08ac57
AS
371282010-05-20 Andreas Schwab <schwab@redhat.com>
37129
37130 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
37131
4828935d
LM
371322010-05-17 Luis Machado <luisgpm@br.ibm.com>
37133
37134 POWER7 optimizations.
37135 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
37136 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
37137
373d545e
UD
371382010-05-19 Ulrich Drepper <drepper@redhat.com>
37139
37140 * version.h: Update for 2.13 development version.
37141
21a2b1ae
AS
371422010-05-12 Andrew Stubbs <ams@codesourcery.com>
37143
37144 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
37145 exceptions. Return 0.
37146
3f7dcb2b
RM
371472010-05-07 Roland McGrath <roland@redhat.com>
37148
37149 * elf/ldconfig.c (main): Add a const.
37150
5f24d53a 371512010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 37152
a160f8d8
UD
37153 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
37154 (args_options): Add no-idn option.
37155 (ahosts_keys_int): Add idn_flags to ai_flags.
37156 (parse_option): Handle 'i' option to clear idn_flags.
37157
5f24d53a
UD
37158 * malloc/malloc.c (_int_free): Possible race in the most recently
37159 added check. Only act on the data if no current modification
37160 happened.
265bb1ce
UD
37161
37162See ChangeLog.17 for earlier changes.